From 1b7d75e3244b74ab492ed4382ac751ea2ae67421 Mon Sep 17 00:00:00 2001 From: henribru <6639509+henribru@users.noreply.github.com> Date: Sat, 11 Nov 2023 15:48:03 +0100 Subject: [PATCH] Bump proto-plus-stubs to v0.3.0 --- .../googleads/v13/common/types/ad_asset.pyi | 26 +- .../v13/common/types/ad_type_infos.pyi | 127 ++++---- .../v13/common/types/asset_policy.pyi | 19 +- .../v13/common/types/asset_set_types.pyi | 47 +-- .../v13/common/types/asset_types.pyi | 147 ++++----- .../v13/common/types/asset_usage.pyi | 10 +- .../googleads/v13/common/types/audiences.pyi | 67 ++-- .../googleads/v13/common/types/bidding.pyi | 66 ++-- .../v13/common/types/click_location.pyi | 10 +- .../googleads/v13/common/types/criteria.pyi | 275 ++++++++-------- .../types/criterion_category_availability.pyi | 19 +- .../v13/common/types/custom_parameter.pyi | 10 +- .../v13/common/types/customizer_value.pyi | 10 +- .../ads/googleads/v13/common/types/dates.pyi | 18 +- .../googleads/v13/common/types/extensions.pyi | 59 ++-- .../v13/common/types/feed_common.pyi | 10 +- .../types/feed_item_set_filter_type_infos.pyi | 19 +- .../v13/common/types/final_app_url.pyi | 10 +- .../v13/common/types/frequency_cap.pyi | 14 +- .../v13/common/types/keyword_plan_common.pyi | 43 +-- .../v13/common/types/matching_function.pyi | 31 +- .../v13/common/types/metric_goal.pyi | 10 +- .../googleads/v13/common/types/metrics.pyi | 11 +- .../v13/common/types/offline_user_data.pyi | 59 ++-- .../ads/googleads/v13/common/types/policy.pyi | 59 ++-- .../v13/common/types/policy_summary.pyi | 11 +- .../types/real_time_bidding_setting.pyi | 10 +- .../googleads/v13/common/types/segments.pyi | 26 +- .../googleads/v13/common/types/simulation.pyi | 71 +++-- .../v13/common/types/tag_snippet.pyi | 10 +- .../v13/common/types/targeting_setting.pyi | 19 +- .../googleads/v13/common/types/text_label.pyi | 10 +- .../v13/common/types/url_collection.pyi | 11 +- .../googleads/v13/common/types/user_lists.pyi | 71 +++-- .../ads/googleads/v13/common/types/value.pyi | 10 +- .../enums/types/access_invitation_status.pyi | 10 +- .../v13/enums/types/access_reason.pyi | 10 +- .../googleads/v13/enums/types/access_role.pyi | 10 +- .../types/account_budget_proposal_status.pyi | 10 +- .../types/account_budget_proposal_type.pyi | 10 +- .../v13/enums/types/account_budget_status.pyi | 10 +- .../v13/enums/types/account_link_status.pyi | 10 +- .../types/ad_customizer_placeholder_field.pyi | 10 +- .../v13/enums/types/ad_destination_type.pyi | 10 +- .../enums/types/ad_group_ad_rotation_mode.pyi | 10 +- .../v13/enums/types/ad_group_ad_status.pyi | 10 +- .../ad_group_criterion_approval_status.pyi | 10 +- .../enums/types/ad_group_criterion_status.pyi | 10 +- .../v13/enums/types/ad_group_status.pyi | 10 +- .../v13/enums/types/ad_group_type.pyi | 10 +- .../v13/enums/types/ad_network_type.pyi | 10 +- .../types/ad_serving_optimization_status.pyi | 10 +- .../googleads/v13/enums/types/ad_strength.pyi | 10 +- .../ads/googleads/v13/enums/types/ad_type.pyi | 10 +- .../types/advertising_channel_sub_type.pyi | 10 +- .../enums/types/advertising_channel_type.pyi | 10 +- ...iliate_location_feed_relationship_type.pyi | 10 +- .../affiliate_location_placeholder_field.pyi | 10 +- .../v13/enums/types/age_range_type.pyi | 10 +- .../enums/types/app_campaign_app_store.pyi | 10 +- ...pp_campaign_bidding_strategy_goal_type.pyi | 10 +- .../enums/types/app_payment_model_type.pyi | 10 +- .../v13/enums/types/app_placeholder_field.pyi | 10 +- .../googleads/v13/enums/types/app_store.pyi | 10 +- .../types/app_url_operating_system_type.pyi | 10 +- .../v13/enums/types/asset_field_type.pyi | 10 +- .../v13/enums/types/asset_group_status.pyi | 10 +- .../enums/types/asset_link_primary_status.pyi | 10 +- .../asset_link_primary_status_reason.pyi | 10 +- .../v13/enums/types/asset_link_status.pyi | 10 +- ...asset_offline_evaluation_error_reasons.pyi | 10 +- .../enums/types/asset_performance_label.pyi | 10 +- .../enums/types/asset_set_asset_status.pyi | 10 +- .../v13/enums/types/asset_set_link_status.pyi | 10 +- .../v13/enums/types/asset_set_status.pyi | 10 +- .../v13/enums/types/asset_set_type.pyi | 10 +- .../v13/enums/types/asset_source.pyi | 10 +- .../googleads/v13/enums/types/asset_type.pyi | 10 +- .../v13/enums/types/async_action_status.pyi | 10 +- .../v13/enums/types/attribution_model.pyi | 10 +- .../types/audience_insights_dimension.pyi | 10 +- .../v13/enums/types/audience_status.pyi | 10 +- .../v13/enums/types/batch_job_status.pyi | 10 +- .../v13/enums/types/bid_modifier_source.pyi | 10 +- .../v13/enums/types/bidding_source.pyi | 10 +- .../enums/types/bidding_strategy_status.pyi | 10 +- .../types/bidding_strategy_system_status.pyi | 10 +- .../v13/enums/types/bidding_strategy_type.pyi | 10 +- .../v13/enums/types/billing_setup_status.pyi | 10 +- .../enums/types/brand_safety_suitability.pyi | 10 +- .../budget_campaign_association_status.pyi | 10 +- .../enums/types/budget_delivery_method.pyi | 10 +- .../v13/enums/types/budget_period.pyi | 10 +- .../v13/enums/types/budget_status.pyi | 10 +- .../googleads/v13/enums/types/budget_type.pyi | 10 +- .../types/call_conversion_reporting_state.pyi | 10 +- .../enums/types/call_placeholder_field.pyi | 10 +- .../v13/enums/types/call_to_action_type.pyi | 10 +- .../types/call_tracking_display_location.pyi | 10 +- .../googleads/v13/enums/types/call_type.pyi | 10 +- .../enums/types/callout_placeholder_field.pyi | 10 +- .../enums/types/campaign_criterion_status.pyi | 10 +- .../v13/enums/types/campaign_draft_status.pyi | 10 +- .../enums/types/campaign_experiment_type.pyi | 10 +- .../v13/enums/types/campaign_group_status.pyi | 10 +- .../enums/types/campaign_primary_status.pyi | 10 +- .../types/campaign_primary_status_reason.pyi | 10 +- .../enums/types/campaign_serving_status.pyi | 10 +- .../types/campaign_shared_set_status.pyi | 10 +- .../v13/enums/types/campaign_status.pyi | 10 +- .../enums/types/chain_relationship_type.pyi | 10 +- .../v13/enums/types/change_client_type.pyi | 10 +- .../types/change_event_resource_type.pyi | 10 +- .../enums/types/change_status_operation.pyi | 10 +- .../types/change_status_resource_type.pyi | 10 +- .../googleads/v13/enums/types/click_type.pyi | 10 +- .../enums/types/combined_audience_status.pyi | 10 +- .../v13/enums/types/content_label_type.pyi | 10 +- .../types/conversion_action_category.pyi | 10 +- .../types/conversion_action_counting_type.pyi | 10 +- .../enums/types/conversion_action_status.pyi | 10 +- .../enums/types/conversion_action_type.pyi | 10 +- .../types/conversion_adjustment_type.pyi | 10 +- .../conversion_attribution_event_type.pyi | 10 +- .../conversion_custom_variable_status.pyi | 10 +- .../types/conversion_environment_enum.pyi | 10 +- .../v13/enums/types/conversion_lag_bucket.pyi | 10 +- .../conversion_or_adjustment_lag_bucket.pyi | 10 +- .../v13/enums/types/conversion_origin.pyi | 10 +- .../types/conversion_tracking_status_enum.pyi | 10 +- ...onversion_value_rule_primary_dimension.pyi | 10 +- .../conversion_value_rule_set_status.pyi | 10 +- .../types/conversion_value_rule_status.pyi | 10 +- ...ion_category_channel_availability_mode.pyi | 10 +- ...rion_category_locale_availability_mode.pyi | 10 +- .../types/criterion_system_serving_status.pyi | 10 +- .../v13/enums/types/criterion_type.pyi | 10 +- .../types/custom_audience_member_type.pyi | 10 +- .../enums/types/custom_audience_status.pyi | 10 +- .../v13/enums/types/custom_audience_type.pyi | 10 +- .../types/custom_conversion_goal_status.pyi | 10 +- .../types/custom_interest_member_type.pyi | 10 +- .../enums/types/custom_interest_status.pyi | 10 +- .../v13/enums/types/custom_interest_type.pyi | 10 +- .../enums/types/custom_placeholder_field.pyi | 10 +- .../types/customer_match_upload_key_type.pyi | 10 +- ..._conversion_eligibility_failure_reason.pyi | 10 +- .../v13/enums/types/customer_status.pyi | 10 +- .../types/customizer_attribute_status.pyi | 10 +- .../enums/types/customizer_attribute_type.pyi | 10 +- .../enums/types/customizer_value_status.pyi | 10 +- .../enums/types/data_driven_model_status.pyi | 10 +- .../googleads/v13/enums/types/day_of_week.pyi | 10 +- .../ads/googleads/v13/enums/types/device.pyi | 10 +- .../enums/types/display_ad_format_setting.pyi | 10 +- .../types/display_upload_product_type.pyi | 10 +- .../v13/enums/types/distance_bucket.pyi | 10 +- .../types/dsa_page_feed_criterion_field.pyi | 10 +- .../types/education_placeholder_field.pyi | 10 +- .../v13/enums/types/experiment_metric.pyi | 10 +- .../types/experiment_metric_direction.pyi | 10 +- .../v13/enums/types/experiment_status.pyi | 10 +- .../v13/enums/types/experiment_type.pyi | 10 +- .../enums/types/extension_setting_device.pyi | 10 +- .../v13/enums/types/extension_type.pyi | 10 +- .../types/external_conversion_source.pyi | 10 +- .../v13/enums/types/feed_attribute_type.pyi | 10 +- .../feed_item_quality_approval_status.pyi | 10 +- .../feed_item_quality_disapproval_reason.pyi | 10 +- .../v13/enums/types/feed_item_set_status.pyi | 10 +- .../feed_item_set_string_filter_type.pyi | 10 +- .../v13/enums/types/feed_item_status.pyi | 10 +- .../enums/types/feed_item_target_device.pyi | 10 +- .../enums/types/feed_item_target_status.pyi | 10 +- .../v13/enums/types/feed_item_target_type.pyi | 10 +- .../types/feed_item_validation_status.pyi | 10 +- .../v13/enums/types/feed_link_status.pyi | 10 +- .../types/feed_mapping_criterion_type.pyi | 10 +- .../v13/enums/types/feed_mapping_status.pyi | 10 +- .../googleads/v13/enums/types/feed_origin.pyi | 10 +- .../googleads/v13/enums/types/feed_status.pyi | 10 +- .../enums/types/flight_placeholder_field.pyi | 10 +- .../enums/types/frequency_cap_event_type.pyi | 10 +- .../v13/enums/types/frequency_cap_level.pyi | 10 +- .../enums/types/frequency_cap_time_unit.pyi | 10 +- .../googleads/v13/enums/types/gender_type.pyi | 10 +- .../types/geo_target_constant_status.pyi | 10 +- .../enums/types/geo_targeting_restriction.pyi | 10 +- .../v13/enums/types/geo_targeting_type.pyi | 10 +- .../v13/enums/types/goal_config_level.pyi | 10 +- .../enums/types/google_ads_field_category.pyi | 10 +- .../types/google_ads_field_data_type.pyi | 10 +- .../enums/types/google_voice_call_status.pyi | 10 +- .../types/hotel_asset_suggestion_status.pyi | 10 +- .../enums/types/hotel_date_selection_type.pyi | 10 +- .../enums/types/hotel_placeholder_field.pyi | 10 +- .../v13/enums/types/hotel_price_bucket.pyi | 10 +- .../v13/enums/types/hotel_rate_type.pyi | 10 +- .../types/hotel_reconciliation_status.pyi | 10 +- .../enums/types/image_placeholder_field.pyi | 10 +- .../v13/enums/types/income_range_type.pyi | 10 +- .../enums/types/interaction_event_type.pyi | 10 +- .../v13/enums/types/interaction_type.pyi | 10 +- .../v13/enums/types/invoice_type.pyi | 10 +- .../v13/enums/types/job_placeholder_field.pyi | 10 +- .../v13/enums/types/keyword_match_type.pyi | 10 +- .../keyword_plan_aggregate_metric_type.pyi | 10 +- .../types/keyword_plan_competition_level.pyi | 10 +- .../types/keyword_plan_concept_group_type.pyi | 10 +- .../types/keyword_plan_forecast_interval.pyi | 10 +- .../types/keyword_plan_keyword_annotation.pyi | 10 +- .../v13/enums/types/keyword_plan_network.pyi | 10 +- .../v13/enums/types/label_status.pyi | 10 +- .../types/lead_form_call_to_action_type.pyi | 10 +- .../enums/types/lead_form_desired_intent.pyi | 10 +- .../types/lead_form_field_user_input_type.pyi | 10 +- ...d_form_post_submit_call_to_action_type.pyi | 10 +- .../types/legacy_app_install_ad_app_store.pyi | 10 +- .../v13/enums/types/linked_account_type.pyi | 10 +- .../v13/enums/types/linked_product_type.pyi | 10 +- ...ng_group_filter_bidding_category_level.pyi | 10 +- ...ng_group_filter_custom_attribute_index.pyi | 10 +- .../listing_group_filter_product_channel.pyi | 10 +- ...listing_group_filter_product_condition.pyi | 10 +- ...isting_group_filter_product_type_level.pyi | 10 +- .../types/listing_group_filter_type_enum.pyi | 10 +- .../types/listing_group_filter_vertical.pyi | 10 +- .../v13/enums/types/listing_group_type.pyi | 10 +- .../v13/enums/types/listing_type.pyi | 10 +- .../enums/types/local_placeholder_field.pyi | 10 +- ...on_extension_targeting_criterion_field.pyi | 10 +- .../types/location_group_radius_units.pyi | 10 +- .../enums/types/location_ownership_type.pyi | 10 +- .../types/location_placeholder_field.pyi | 10 +- .../v13/enums/types/location_source_type.pyi | 10 +- .../types/location_string_filter_type.pyi | 10 +- .../v13/enums/types/manager_link_status.pyi | 10 +- .../types/matching_function_context_type.pyi | 10 +- .../types/matching_function_operator.pyi | 10 +- .../googleads/v13/enums/types/media_type.pyi | 10 +- .../types/merchant_center_link_status.pyi | 10 +- .../enums/types/message_placeholder_field.pyi | 10 +- .../googleads/v13/enums/types/mime_type.pyi | 10 +- .../v13/enums/types/minute_of_hour.pyi | 10 +- .../v13/enums/types/mobile_app_vendor.pyi | 10 +- .../v13/enums/types/mobile_device_type.pyi | 10 +- .../v13/enums/types/month_of_year.pyi | 10 +- .../enums/types/negative_geo_target_type.pyi | 10 +- .../offline_user_data_job_failure_reason.pyi | 10 +- ...offline_user_data_job_match_rate_range.pyi | 10 +- .../types/offline_user_data_job_status.pyi | 10 +- .../types/offline_user_data_job_type.pyi | 10 +- ...operating_system_version_operator_type.pyi | 10 +- .../enums/types/optimization_goal_type.pyi | 10 +- .../v13/enums/types/parental_status_type.pyi | 10 +- .../v13/enums/types/payment_mode.pyi | 10 +- .../types/performance_max_upgrade_status.pyi | 10 +- .../v13/enums/types/placeholder_type.pyi | 10 +- .../v13/enums/types/placement_type.pyi | 10 +- .../enums/types/policy_approval_status.pyi | 10 +- .../v13/enums/types/policy_review_status.pyi | 10 +- .../enums/types/policy_topic_entry_type.pyi | 10 +- ...evidence_destination_mismatch_url_type.pyi | 10 +- ...vidence_destination_not_working_device.pyi | 10 +- ...destination_not_working_dns_error_type.pyi | 10 +- .../enums/types/positive_geo_target_type.pyi | 10 +- .../types/price_extension_price_qualifier.pyi | 10 +- .../types/price_extension_price_unit.pyi | 10 +- .../v13/enums/types/price_extension_type.pyi | 10 +- .../enums/types/price_placeholder_field.pyi | 10 +- .../types/product_bidding_category_level.pyi | 10 +- .../types/product_bidding_category_status.pyi | 10 +- .../v13/enums/types/product_channel.pyi | 10 +- .../types/product_channel_exclusivity.pyi | 10 +- .../v13/enums/types/product_condition.pyi | 10 +- .../types/product_custom_attribute_index.pyi | 10 +- .../v13/enums/types/product_type_level.pyi | 10 +- .../promotion_extension_discount_modifier.pyi | 10 +- .../types/promotion_extension_occasion.pyi | 10 +- .../types/promotion_placeholder_field.pyi | 10 +- .../enums/types/proximity_radius_units.pyi | 10 +- .../v13/enums/types/quality_score_bucket.pyi | 10 +- .../v13/enums/types/reach_plan_age_range.pyi | 10 +- .../v13/enums/types/reach_plan_network.pyi | 10 +- .../types/real_estate_placeholder_field.pyi | 10 +- .../v13/enums/types/recommendation_type.pyi | 10 +- .../enums/types/resource_change_operation.pyi | 10 +- .../v13/enums/types/resource_limit_type.pyi | 10 +- .../v13/enums/types/response_content_type.pyi | 10 +- .../types/search_engine_results_page_type.pyi | 10 +- .../enums/types/search_term_match_type.pyi | 10 +- .../types/search_term_targeting_status.pyi | 10 +- .../enums/types/seasonality_event_scope.pyi | 10 +- .../enums/types/seasonality_event_status.pyi | 10 +- .../enums/types/served_asset_field_type.pyi | 10 +- .../v13/enums/types/shared_set_status.pyi | 10 +- .../v13/enums/types/shared_set_type.pyi | 10 +- ...oducts_to_campaign_recommendation_enum.pyi | 10 +- .../types/simulation_modification_method.pyi | 10 +- .../v13/enums/types/simulation_type.pyi | 10 +- .../types/sitelink_placeholder_field.pyi | 10 +- .../types/sk_ad_network_ad_event_type.pyi | 10 +- .../sk_ad_network_attribution_credit.pyi | 10 +- .../enums/types/sk_ad_network_user_type.pyi | 10 +- .../ads/googleads/v13/enums/types/slot.pyi | 10 +- .../smart_campaign_not_eligible_reason.pyi | 10 +- .../v13/enums/types/smart_campaign_status.pyi | 10 +- .../v13/enums/types/spending_limit_type.pyi | 10 +- .../structured_snippet_placeholder_field.pyi | 10 +- .../v13/enums/types/summary_row_setting.pyi | 10 +- .../types/system_managed_entity_source.pyi | 10 +- .../target_cpa_opt_in_recommendation_goal.pyi | 10 +- .../types/target_frequency_time_unit.pyi | 10 +- .../target_impression_share_location.pyi | 10 +- .../v13/enums/types/targeting_dimension.pyi | 10 +- .../googleads/v13/enums/types/time_type.pyi | 10 +- .../enums/types/tracking_code_page_format.pyi | 10 +- .../v13/enums/types/tracking_code_type.pyi | 10 +- .../enums/types/travel_placeholder_field.pyi | 10 +- .../enums/types/user_identifier_source.pyi | 10 +- .../types/user_interest_taxonomy_type.pyi | 10 +- .../enums/types/user_list_access_status.pyi | 10 +- .../enums/types/user_list_closing_reason.pyi | 10 +- .../types/user_list_crm_data_source_type.pyi | 10 +- .../user_list_date_rule_item_operator.pyi | 10 +- .../user_list_flexible_rule_operator.pyi | 10 +- .../types/user_list_logical_rule_operator.pyi | 10 +- .../types/user_list_membership_status.pyi | 10 +- .../user_list_number_rule_item_operator.pyi | 10 +- .../types/user_list_prepopulation_status.pyi | 10 +- .../v13/enums/types/user_list_rule_type.pyi | 10 +- .../v13/enums/types/user_list_size_range.pyi | 10 +- .../user_list_string_rule_item_operator.pyi | 10 +- .../v13/enums/types/user_list_type.pyi | 10 +- .../enums/types/value_rule_device_type.pyi | 10 +- .../value_rule_geo_location_match_type.pyi | 10 +- .../v13/enums/types/value_rule_operation.pyi | 10 +- .../types/value_rule_set_attachment_type.pyi | 10 +- .../enums/types/value_rule_set_dimension.pyi | 10 +- .../types/vanity_pharma_display_url_mode.pyi | 10 +- .../v13/enums/types/vanity_pharma_text.pyi | 10 +- .../v13/enums/types/video_thumbnail.pyi | 10 +- .../enums/types/webpage_condition_operand.pyi | 10 +- .../types/webpage_condition_operator.pyi | 10 +- .../errors/types/access_invitation_error.pyi | 10 +- .../types/account_budget_proposal_error.pyi | 10 +- .../v13/errors/types/account_link_error.pyi | 10 +- .../v13/errors/types/ad_customizer_error.pyi | 10 +- .../googleads/v13/errors/types/ad_error.pyi | 10 +- .../v13/errors/types/ad_group_ad_error.pyi | 10 +- .../types/ad_group_bid_modifier_error.pyi | 10 +- .../ad_group_criterion_customizer_error.pyi | 10 +- .../errors/types/ad_group_criterion_error.pyi | 10 +- .../types/ad_group_customizer_error.pyi | 10 +- .../v13/errors/types/ad_group_error.pyi | 10 +- .../v13/errors/types/ad_group_feed_error.pyi | 10 +- .../v13/errors/types/ad_parameter_error.pyi | 10 +- .../v13/errors/types/ad_sharing_error.pyi | 10 +- .../googleads/v13/errors/types/adx_error.pyi | 10 +- .../v13/errors/types/asset_error.pyi | 10 +- .../errors/types/asset_group_asset_error.pyi | 10 +- .../v13/errors/types/asset_group_error.pyi | 10 +- ...asset_group_listing_group_filter_error.pyi | 10 +- .../v13/errors/types/asset_link_error.pyi | 10 +- .../errors/types/asset_set_asset_error.pyi | 10 +- .../v13/errors/types/asset_set_error.pyi | 10 +- .../v13/errors/types/asset_set_link_error.pyi | 10 +- .../v13/errors/types/audience_error.pyi | 10 +- .../errors/types/audience_insights_error.pyi | 10 +- .../v13/errors/types/authentication_error.pyi | 10 +- .../v13/errors/types/authorization_error.pyi | 10 +- .../v13/errors/types/batch_job_error.pyi | 10 +- .../v13/errors/types/bidding_error.pyi | 10 +- .../errors/types/bidding_strategy_error.pyi | 10 +- .../v13/errors/types/billing_setup_error.pyi | 10 +- .../errors/types/campaign_budget_error.pyi | 10 +- .../types/campaign_conversion_goal_error.pyi | 10 +- .../errors/types/campaign_criterion_error.pyi | 10 +- .../types/campaign_customizer_error.pyi | 10 +- .../v13/errors/types/campaign_draft_error.pyi | 10 +- .../v13/errors/types/campaign_error.pyi | 10 +- .../types/campaign_experiment_error.pyi | 10 +- .../v13/errors/types/campaign_feed_error.pyi | 10 +- .../types/campaign_shared_set_error.pyi | 10 +- .../v13/errors/types/change_event_error.pyi | 10 +- .../v13/errors/types/change_status_error.pyi | 10 +- .../errors/types/collection_size_error.pyi | 10 +- .../v13/errors/types/context_error.pyi | 10 +- .../errors/types/conversion_action_error.pyi | 10 +- .../conversion_adjustment_upload_error.pyi | 10 +- .../conversion_custom_variable_error.pyi | 10 +- .../conversion_goal_campaign_config_error.pyi | 10 +- .../errors/types/conversion_upload_error.pyi | 10 +- .../types/conversion_value_rule_error.pyi | 10 +- .../types/conversion_value_rule_set_error.pyi | 10 +- .../v13/errors/types/country_code_error.pyi | 10 +- .../v13/errors/types/criterion_error.pyi | 10 +- .../v13/errors/types/currency_code_error.pyi | 10 +- .../v13/errors/types/currency_error.pyi | 10 +- .../errors/types/custom_audience_error.pyi | 10 +- .../types/custom_conversion_goal_error.pyi | 10 +- .../errors/types/custom_interest_error.pyi | 10 +- .../types/customer_client_link_error.pyi | 10 +- .../types/customer_customizer_error.pyi | 10 +- .../v13/errors/types/customer_error.pyi | 10 +- .../v13/errors/types/customer_feed_error.pyi | 10 +- .../types/customer_manager_link_error.pyi | 10 +- ..._network_conversion_value_schema_error.pyi | 10 +- .../types/customer_user_access_error.pyi | 10 +- .../types/customizer_attribute_error.pyi | 10 +- .../v13/errors/types/database_error.pyi | 10 +- .../googleads/v13/errors/types/date_error.pyi | 10 +- .../v13/errors/types/date_range_error.pyi | 10 +- .../v13/errors/types/distinct_error.pyi | 10 +- .../googleads/v13/errors/types/enum_error.pyi | 10 +- .../ads/googleads/v13/errors/types/errors.pyi | 47 +-- .../v13/errors/types/experiment_arm_error.pyi | 10 +- .../v13/errors/types/experiment_error.pyi | 10 +- .../types/extension_feed_item_error.pyi | 10 +- .../errors/types/extension_setting_error.pyi | 10 +- .../types/feed_attribute_reference_error.pyi | 10 +- .../googleads/v13/errors/types/feed_error.pyi | 10 +- .../v13/errors/types/feed_item_error.pyi | 10 +- .../v13/errors/types/feed_item_set_error.pyi | 10 +- .../errors/types/feed_item_set_link_error.pyi | 10 +- .../errors/types/feed_item_target_error.pyi | 10 +- .../types/feed_item_validation_error.pyi | 10 +- .../v13/errors/types/feed_mapping_error.pyi | 10 +- .../v13/errors/types/field_error.pyi | 10 +- .../v13/errors/types/field_mask_error.pyi | 10 +- .../v13/errors/types/function_error.pyi | 10 +- .../errors/types/function_parsing_error.pyi | 10 +- .../geo_target_constant_suggestion_error.pyi | 10 +- .../v13/errors/types/header_error.pyi | 10 +- .../googleads/v13/errors/types/id_error.pyi | 10 +- .../v13/errors/types/image_error.pyi | 10 +- .../v13/errors/types/internal_error.pyi | 10 +- .../v13/errors/types/invoice_error.pyi | 10 +- .../types/keyword_plan_ad_group_error.pyi | 10 +- .../keyword_plan_ad_group_keyword_error.pyi | 10 +- .../types/keyword_plan_campaign_error.pyi | 10 +- .../keyword_plan_campaign_keyword_error.pyi | 10 +- .../v13/errors/types/keyword_plan_error.pyi | 10 +- .../errors/types/keyword_plan_idea_error.pyi | 10 +- .../v13/errors/types/label_error.pyi | 10 +- .../v13/errors/types/language_code_error.pyi | 10 +- .../v13/errors/types/list_operation_error.pyi | 10 +- .../v13/errors/types/manager_link_error.pyi | 10 +- .../v13/errors/types/media_bundle_error.pyi | 10 +- .../v13/errors/types/media_file_error.pyi | 10 +- .../v13/errors/types/media_upload_error.pyi | 10 +- .../errors/types/merchant_center_error.pyi | 10 +- .../v13/errors/types/multiplier_error.pyi | 10 +- .../v13/errors/types/mutate_error.pyi | 10 +- .../types/new_resource_creation_error.pyi | 10 +- .../errors/types/not_allowlisted_error.pyi | 10 +- .../v13/errors/types/not_empty_error.pyi | 10 +- .../googleads/v13/errors/types/null_error.pyi | 10 +- .../types/offline_user_data_job_error.pyi | 10 +- .../types/operation_access_denied_error.pyi | 10 +- .../v13/errors/types/operator_error.pyi | 10 +- .../errors/types/partial_failure_error.pyi | 10 +- .../errors/types/payments_account_error.pyi | 10 +- .../v13/errors/types/policy_finding_error.pyi | 10 +- .../policy_validation_parameter_error.pyi | 10 +- .../errors/types/policy_violation_error.pyi | 10 +- .../v13/errors/types/query_error.pyi | 10 +- .../v13/errors/types/quota_error.pyi | 10 +- .../v13/errors/types/range_error.pyi | 10 +- .../v13/errors/types/reach_plan_error.pyi | 10 +- .../v13/errors/types/recommendation_error.pyi | 10 +- .../v13/errors/types/region_code_error.pyi | 10 +- .../v13/errors/types/request_error.pyi | 10 +- .../types/resource_access_denied_error.pyi | 10 +- .../resource_count_limit_exceeded_error.pyi | 10 +- .../v13/errors/types/setting_error.pyi | 10 +- .../errors/types/shared_criterion_error.pyi | 10 +- .../v13/errors/types/shared_set_error.pyi | 10 +- .../v13/errors/types/size_limit_error.pyi | 10 +- .../v13/errors/types/smart_campaign_error.pyi | 10 +- .../v13/errors/types/string_format_error.pyi | 10 +- .../v13/errors/types/string_length_error.pyi | 10 +- .../third_party_app_analytics_link_error.pyi | 10 +- .../v13/errors/types/time_zone_error.pyi | 10 +- .../v13/errors/types/url_field_error.pyi | 10 +- .../v13/errors/types/user_data_error.pyi | 10 +- .../v13/errors/types/user_list_error.pyi | 10 +- .../youtube_video_registration_error.pyi | 10 +- .../types/accessible_bidding_strategy.pyi | 34 +- .../v13/resources/types/account_budget.pyi | 14 +- .../types/account_budget_proposal.pyi | 10 +- .../v13/resources/types/account_link.pyi | 30 +- .../ads/googleads/v13/resources/types/ad.pyi | 11 +- .../v13/resources/types/ad_group.pyi | 15 +- .../v13/resources/types/ad_group_ad.pyi | 15 +- .../ad_group_ad_asset_combination_view.pyi | 11 +- .../types/ad_group_ad_asset_view.pyi | 15 +- .../v13/resources/types/ad_group_ad_label.pyi | 10 +- .../v13/resources/types/ad_group_asset.pyi | 11 +- .../resources/types/ad_group_asset_set.pyi | 10 +- .../types/ad_group_audience_view.pyi | 10 +- .../resources/types/ad_group_bid_modifier.pyi | 10 +- .../resources/types/ad_group_criterion.pyi | 19 +- .../types/ad_group_criterion_customizer.pyi | 10 +- .../types/ad_group_criterion_label.pyi | 10 +- .../types/ad_group_criterion_simulation.pyi | 10 +- .../resources/types/ad_group_customizer.pyi | 10 +- .../types/ad_group_extension_setting.pyi | 11 +- .../v13/resources/types/ad_group_feed.pyi | 11 +- .../v13/resources/types/ad_group_label.pyi | 10 +- .../resources/types/ad_group_simulation.pyi | 10 +- .../v13/resources/types/ad_parameter.pyi | 10 +- .../v13/resources/types/ad_schedule_view.pyi | 10 +- .../v13/resources/types/age_range_view.pyi | 10 +- .../googleads/v13/resources/types/asset.pyi | 19 +- .../resources/types/asset_field_type_view.pyi | 10 +- .../v13/resources/types/asset_group.pyi | 11 +- .../v13/resources/types/asset_group_asset.pyi | 10 +- .../asset_group_listing_group_filter.pyi | 42 +-- .../types/asset_group_product_group_view.pyi | 10 +- .../resources/types/asset_group_signal.pyi | 10 +- .../v13/resources/types/asset_set.pyi | 18 +- .../v13/resources/types/asset_set_asset.pyi | 10 +- .../resources/types/asset_set_type_view.pyi | 10 +- .../v13/resources/types/audience.pyi | 11 +- .../v13/resources/types/batch_job.pyi | 14 +- .../types/bidding_data_exclusion.pyi | 11 +- .../types/bidding_seasonality_adjustment.pyi | 11 +- .../v13/resources/types/bidding_strategy.pyi | 10 +- .../types/bidding_strategy_simulation.pyi | 10 +- .../v13/resources/types/billing_setup.pyi | 14 +- .../v13/resources/types/call_view.pyi | 10 +- .../v13/resources/types/campaign.pyi | 75 ++--- .../v13/resources/types/campaign_asset.pyi | 11 +- .../resources/types/campaign_asset_set.pyi | 10 +- .../types/campaign_audience_view.pyi | 10 +- .../resources/types/campaign_bid_modifier.pyi | 10 +- .../v13/resources/types/campaign_budget.pyi | 10 +- .../types/campaign_conversion_goal.pyi | 10 +- .../resources/types/campaign_criterion.pyi | 10 +- .../types/campaign_criterion_simulation.pyi | 10 +- .../resources/types/campaign_customizer.pyi | 10 +- .../v13/resources/types/campaign_draft.pyi | 10 +- .../types/campaign_extension_setting.pyi | 11 +- .../v13/resources/types/campaign_feed.pyi | 11 +- .../v13/resources/types/campaign_group.pyi | 10 +- .../v13/resources/types/campaign_label.pyi | 10 +- .../resources/types/campaign_shared_set.pyi | 10 +- .../resources/types/campaign_simulation.pyi | 10 +- .../v13/resources/types/carrier_constant.pyi | 10 +- .../v13/resources/types/change_event.pyi | 14 +- .../v13/resources/types/change_status.pyi | 10 +- .../v13/resources/types/click_view.pyi | 10 +- .../v13/resources/types/combined_audience.pyi | 10 +- .../v13/resources/types/conversion_action.pyi | 27 +- .../types/conversion_custom_variable.pyi | 10 +- .../types/conversion_goal_campaign_config.pyi | 10 +- .../resources/types/conversion_value_rule.pyi | 27 +- .../types/conversion_value_rule_set.pyi | 11 +- .../v13/resources/types/currency_constant.pyi | 10 +- .../v13/resources/types/custom_audience.pyi | 15 +- .../types/custom_conversion_goal.pyi | 11 +- .../v13/resources/types/custom_interest.pyi | 15 +- .../v13/resources/types/customer.pyi | 23 +- .../v13/resources/types/customer_asset.pyi | 11 +- .../resources/types/customer_asset_set.pyi | 10 +- .../v13/resources/types/customer_client.pyi | 11 +- .../resources/types/customer_client_link.pyi | 10 +- .../types/customer_conversion_goal.pyi | 10 +- .../resources/types/customer_customizer.pyi | 10 +- .../types/customer_extension_setting.pyi | 11 +- .../v13/resources/types/customer_feed.pyi | 11 +- .../v13/resources/types/customer_label.pyi | 10 +- .../resources/types/customer_manager_link.pyi | 10 +- .../types/customer_negative_criterion.pyi | 10 +- ..._sk_ad_network_conversion_value_schema.pyi | 41 ++- .../resources/types/customer_user_access.pyi | 10 +- .../types/customer_user_access_invitation.pyi | 10 +- .../resources/types/customizer_attribute.pyi | 10 +- .../resources/types/detail_placement_view.pyi | 10 +- .../resources/types/detailed_demographic.pyi | 11 +- .../resources/types/display_keyword_view.pyi | 10 +- .../v13/resources/types/distance_view.pyi | 10 +- .../v13/resources/types/domain_category.pyi | 10 +- .../dynamic_search_ads_search_term_view.pyi | 10 +- .../types/expanded_landing_page_view.pyi | 10 +- .../v13/resources/types/experiment.pyi | 11 +- .../v13/resources/types/experiment_arm.pyi | 11 +- .../resources/types/extension_feed_item.pyi | 11 +- .../googleads/v13/resources/types/feed.pyi | 31 +- .../v13/resources/types/feed_item.pyi | 23 +- .../v13/resources/types/feed_item_set.pyi | 10 +- .../resources/types/feed_item_set_link.pyi | 10 +- .../v13/resources/types/feed_item_target.pyi | 10 +- .../v13/resources/types/feed_mapping.pyi | 15 +- .../resources/types/feed_placeholder_view.pyi | 10 +- .../v13/resources/types/gender_view.pyi | 10 +- .../resources/types/geo_target_constant.pyi | 10 +- .../v13/resources/types/geographic_view.pyi | 10 +- .../v13/resources/types/google_ads_field.pyi | 11 +- .../resources/types/group_placement_view.pyi | 10 +- .../v13/resources/types/hotel_group_view.pyi | 10 +- .../types/hotel_performance_view.pyi | 10 +- .../resources/types/hotel_reconciliation.pyi | 10 +- .../v13/resources/types/income_range_view.pyi | 10 +- .../googleads/v13/resources/types/invoice.pyi | 23 +- .../v13/resources/types/keyword_plan.pyi | 14 +- .../resources/types/keyword_plan_ad_group.pyi | 10 +- .../types/keyword_plan_ad_group_keyword.pyi | 10 +- .../resources/types/keyword_plan_campaign.pyi | 15 +- .../types/keyword_plan_campaign_keyword.pyi | 10 +- .../types/keyword_theme_constant.pyi | 10 +- .../v13/resources/types/keyword_view.pyi | 10 +- .../googleads/v13/resources/types/label.pyi | 10 +- .../v13/resources/types/landing_page_view.pyi | 10 +- .../v13/resources/types/language_constant.pyi | 10 +- .../types/lead_form_submission_data.pyi | 19 +- .../v13/resources/types/life_event.pyi | 11 +- .../v13/resources/types/location_view.pyi | 10 +- .../types/managed_placement_view.pyi | 10 +- .../v13/resources/types/media_file.pyi | 26 +- .../resources/types/merchant_center_link.pyi | 10 +- .../types/mobile_app_category_constant.pyi | 10 +- .../types/mobile_device_constant.pyi | 10 +- .../resources/types/offline_user_data_job.pyi | 14 +- .../operating_system_version_constant.pyi | 10 +- .../types/paid_organic_search_term_view.pyi | 10 +- .../resources/types/parental_status_view.pyi | 10 +- .../v13/resources/types/payments_account.pyi | 10 +- .../v13/resources/types/per_store_view.pyi | 10 +- .../product_bidding_category_constant.pyi | 10 +- .../resources/types/product_group_view.pyi | 10 +- .../v13/resources/types/product_link.pyi | 18 +- .../resources/types/qualifying_question.pyi | 10 +- .../v13/resources/types/recommendation.pyi | 155 ++++----- .../resources/types/remarketing_action.pyi | 11 +- .../v13/resources/types/search_term_view.pyi | 10 +- .../v13/resources/types/shared_criterion.pyi | 10 +- .../v13/resources/types/shared_set.pyi | 10 +- .../types/shopping_performance_view.pyi | 10 +- .../types/smart_campaign_search_term_view.pyi | 10 +- .../types/smart_campaign_setting.pyi | 18 +- .../types/third_party_app_analytics_link.pyi | 10 +- .../v13/resources/types/topic_constant.pyi | 11 +- .../v13/resources/types/topic_view.pyi | 10 +- .../types/travel_activity_group_view.pyi | 10 +- .../travel_activity_performance_view.pyi | 10 +- .../v13/resources/types/user_interest.pyi | 11 +- .../v13/resources/types/user_list.pyi | 10 +- .../resources/types/user_location_view.pyi | 10 +- .../googleads/v13/resources/types/video.pyi | 10 +- .../v13/resources/types/webpage_view.pyi | 10 +- .../types/account_budget_proposal_service.pyi | 22 +- .../services/types/account_link_service.pyi | 30 +- .../types/ad_group_ad_label_service.pyi | 23 +- .../services/types/ad_group_ad_service.pyi | 23 +- .../services/types/ad_group_asset_service.pyi | 23 +- .../types/ad_group_asset_set_service.pyi | 23 +- .../types/ad_group_bid_modifier_service.pyi | 23 +- .../ad_group_criterion_customizer_service.pyi | 23 +- .../ad_group_criterion_label_service.pyi | 23 +- .../types/ad_group_criterion_service.pyi | 23 +- .../types/ad_group_customizer_service.pyi | 23 +- .../ad_group_extension_setting_service.pyi | 23 +- .../services/types/ad_group_feed_service.pyi | 23 +- .../services/types/ad_group_label_service.pyi | 23 +- .../v13/services/types/ad_group_service.pyi | 23 +- .../services/types/ad_parameter_service.pyi | 23 +- .../v13/services/types/ad_service.pyi | 27 +- .../types/asset_group_asset_service.pyi | 23 +- ...set_group_listing_group_filter_service.pyi | 23 +- .../services/types/asset_group_service.pyi | 23 +- .../types/asset_group_signal_service.pyi | 23 +- .../v13/services/types/asset_service.pyi | 23 +- .../types/asset_set_asset_service.pyi | 23 +- .../v13/services/types/asset_set_service.pyi | 23 +- .../types/audience_insights_service.pyi | 103 +++--- .../v13/services/types/audience_service.pyi | 23 +- .../v13/services/types/batch_job_service.pyi | 47 +-- .../types/bidding_data_exclusion_service.pyi | 23 +- ...bidding_seasonality_adjustment_service.pyi | 23 +- .../types/bidding_strategy_service.pyi | 23 +- .../services/types/billing_setup_service.pyi | 22 +- .../services/types/campaign_asset_service.pyi | 23 +- .../types/campaign_asset_set_service.pyi | 23 +- .../types/campaign_bid_modifier_service.pyi | 23 +- .../types/campaign_budget_service.pyi | 23 +- .../campaign_conversion_goal_service.pyi | 23 +- .../types/campaign_criterion_service.pyi | 23 +- .../types/campaign_customizer_service.pyi | 23 +- .../services/types/campaign_draft_service.pyi | 35 ++- .../campaign_extension_setting_service.pyi | 23 +- .../services/types/campaign_feed_service.pyi | 23 +- .../services/types/campaign_group_service.pyi | 23 +- .../services/types/campaign_label_service.pyi | 23 +- .../v13/services/types/campaign_service.pyi | 23 +- .../types/campaign_shared_set_service.pyi | 23 +- .../types/conversion_action_service.pyi | 23 +- .../conversion_adjustment_upload_service.pyi | 31 +- .../conversion_custom_variable_service.pyi | 23 +- ...onversion_goal_campaign_config_service.pyi | 23 +- .../types/conversion_upload_service.pyi | 55 ++-- .../types/conversion_value_rule_service.pyi | 23 +- .../conversion_value_rule_set_service.pyi | 23 +- .../types/custom_audience_service.pyi | 23 +- .../types/custom_conversion_goal_service.pyi | 23 +- .../types/custom_interest_service.pyi | 23 +- .../services/types/customer_asset_service.pyi | 23 +- .../types/customer_asset_set_service.pyi | 23 +- .../types/customer_client_link_service.pyi | 22 +- .../customer_conversion_goal_service.pyi | 23 +- .../types/customer_customizer_service.pyi | 23 +- .../customer_extension_setting_service.pyi | 23 +- .../services/types/customer_feed_service.pyi | 23 +- .../services/types/customer_label_service.pyi | 23 +- .../types/customer_manager_link_service.pyi | 31 +- .../customer_negative_criterion_service.pyi | 23 +- .../v13/services/types/customer_service.pyi | 39 +-- ...etwork_conversion_value_schema_service.pyi | 22 +- ...ustomer_user_access_invitation_service.pyi | 22 +- .../types/customer_user_access_service.pyi | 22 +- .../types/customizer_attribute_service.pyi | 23 +- .../services/types/experiment_arm_service.pyi | 23 +- .../v13/services/types/experiment_service.pyi | 59 ++-- .../types/extension_feed_item_service.pyi | 23 +- .../v13/services/types/feed_item_service.pyi | 23 +- .../types/feed_item_set_link_service.pyi | 23 +- .../services/types/feed_item_set_service.pyi | 23 +- .../types/feed_item_target_service.pyi | 23 +- .../services/types/feed_mapping_service.pyi | 23 +- .../v13/services/types/feed_service.pyi | 23 +- .../types/geo_target_constant_service.pyi | 27 +- .../types/google_ads_field_service.pyi | 19 +- .../v13/services/types/google_ads_service.pyi | 43 +-- .../v13/services/types/invoice_service.pyi | 15 +- .../keyword_plan_ad_group_keyword_service.pyi | 23 +- .../types/keyword_plan_ad_group_service.pyi | 23 +- .../keyword_plan_campaign_keyword_service.pyi | 23 +- .../types/keyword_plan_campaign_service.pyi | 23 +- .../types/keyword_plan_idea_service.pyi | 63 ++-- .../services/types/keyword_plan_service.pyi | 95 +++--- .../types/keyword_theme_constant_service.pyi | 15 +- .../v13/services/types/label_service.pyi | 23 +- .../v13/services/types/media_file_service.pyi | 23 +- .../types/merchant_center_link_service.pyi | 35 ++- .../types/offline_user_data_job_service.pyi | 31 +- .../types/payments_account_service.pyi | 15 +- .../services/types/product_link_service.pyi | 22 +- .../v13/services/types/reach_plan_service.pyi | 111 +++---- .../services/types/recommendation_service.pyi | 115 +++---- .../types/remarketing_action_service.pyi | 23 +- .../types/shared_criterion_service.pyi | 23 +- .../v13/services/types/shared_set_service.pyi | 23 +- .../types/smart_campaign_setting_service.pyi | 51 +-- .../types/smart_campaign_suggest_service.pyi | 55 ++-- ...third_party_app_analytics_link_service.pyi | 14 +- .../types/travel_asset_suggestion_service.pyi | 27 +- .../v13/services/types/user_data_service.pyi | 19 +- .../v13/services/types/user_list_service.pyi | 23 +- .../googleads/v14/common/types/ad_asset.pyi | 30 +- .../v14/common/types/ad_type_infos.pyi | 131 ++++---- .../v14/common/types/asset_policy.pyi | 19 +- .../v14/common/types/asset_set_types.pyi | 47 +-- .../v14/common/types/asset_types.pyi | 147 ++++----- .../v14/common/types/asset_usage.pyi | 10 +- .../googleads/v14/common/types/audiences.pyi | 67 ++-- .../googleads/v14/common/types/bidding.pyi | 66 ++-- .../v14/common/types/click_location.pyi | 10 +- .../googleads/v14/common/types/criteria.pyi | 283 ++++++++--------- .../types/criterion_category_availability.pyi | 19 +- .../v14/common/types/custom_parameter.pyi | 10 +- .../v14/common/types/customizer_value.pyi | 10 +- .../ads/googleads/v14/common/types/dates.pyi | 18 +- .../googleads/v14/common/types/extensions.pyi | 59 ++-- .../v14/common/types/feed_common.pyi | 10 +- .../types/feed_item_set_filter_type_infos.pyi | 19 +- .../v14/common/types/final_app_url.pyi | 10 +- .../v14/common/types/frequency_cap.pyi | 14 +- .../v14/common/types/keyword_plan_common.pyi | 43 +-- .../v14/common/types/matching_function.pyi | 31 +- .../v14/common/types/metric_goal.pyi | 10 +- .../googleads/v14/common/types/metrics.pyi | 15 +- .../v14/common/types/offline_user_data.pyi | 59 ++-- .../ads/googleads/v14/common/types/policy.pyi | 59 ++-- .../v14/common/types/policy_summary.pyi | 11 +- .../types/real_time_bidding_setting.pyi | 10 +- .../googleads/v14/common/types/segments.pyi | 26 +- .../googleads/v14/common/types/simulation.pyi | 63 ++-- .../v14/common/types/tag_snippet.pyi | 10 +- .../v14/common/types/targeting_setting.pyi | 19 +- .../googleads/v14/common/types/text_label.pyi | 10 +- .../v14/common/types/url_collection.pyi | 11 +- .../googleads/v14/common/types/user_lists.pyi | 71 +++-- .../ads/googleads/v14/common/types/value.pyi | 10 +- .../enums/types/access_invitation_status.pyi | 10 +- .../v14/enums/types/access_reason.pyi | 10 +- .../googleads/v14/enums/types/access_role.pyi | 10 +- .../types/account_budget_proposal_status.pyi | 10 +- .../types/account_budget_proposal_type.pyi | 10 +- .../v14/enums/types/account_budget_status.pyi | 10 +- .../v14/enums/types/account_link_status.pyi | 10 +- .../types/ad_customizer_placeholder_field.pyi | 10 +- .../v14/enums/types/ad_destination_type.pyi | 10 +- .../enums/types/ad_group_ad_rotation_mode.pyi | 10 +- .../v14/enums/types/ad_group_ad_status.pyi | 10 +- .../ad_group_criterion_approval_status.pyi | 10 +- .../enums/types/ad_group_criterion_status.pyi | 10 +- .../v14/enums/types/ad_group_status.pyi | 10 +- .../v14/enums/types/ad_group_type.pyi | 10 +- .../v14/enums/types/ad_network_type.pyi | 10 +- .../types/ad_serving_optimization_status.pyi | 10 +- .../googleads/v14/enums/types/ad_strength.pyi | 10 +- .../ads/googleads/v14/enums/types/ad_type.pyi | 10 +- .../types/advertising_channel_sub_type.pyi | 10 +- .../enums/types/advertising_channel_type.pyi | 10 +- ...iliate_location_feed_relationship_type.pyi | 10 +- .../affiliate_location_placeholder_field.pyi | 10 +- .../v14/enums/types/age_range_type.pyi | 10 +- .../v14/enums/types/app_bidding_goal.pyi | 10 +- .../enums/types/app_campaign_app_store.pyi | 10 +- ...pp_campaign_bidding_strategy_goal_type.pyi | 10 +- .../enums/types/app_payment_model_type.pyi | 10 +- .../v14/enums/types/app_placeholder_field.pyi | 10 +- .../googleads/v14/enums/types/app_store.pyi | 10 +- .../types/app_url_operating_system_type.pyi | 10 +- .../v14/enums/types/asset_field_type.pyi | 10 +- .../types/asset_group_primary_status.pyi | 10 +- .../asset_group_primary_status_reason.pyi | 10 +- .../v14/enums/types/asset_group_status.pyi | 10 +- .../enums/types/asset_link_primary_status.pyi | 10 +- .../asset_link_primary_status_reason.pyi | 10 +- .../v14/enums/types/asset_link_status.pyi | 10 +- ...asset_offline_evaluation_error_reasons.pyi | 10 +- .../enums/types/asset_performance_label.pyi | 10 +- .../enums/types/asset_set_asset_status.pyi | 10 +- .../v14/enums/types/asset_set_link_status.pyi | 10 +- .../v14/enums/types/asset_set_status.pyi | 10 +- .../v14/enums/types/asset_set_type.pyi | 10 +- .../v14/enums/types/asset_source.pyi | 10 +- .../googleads/v14/enums/types/asset_type.pyi | 10 +- .../v14/enums/types/async_action_status.pyi | 10 +- .../v14/enums/types/attribution_model.pyi | 10 +- .../types/audience_insights_dimension.pyi | 10 +- .../v14/enums/types/audience_status.pyi | 10 +- .../v14/enums/types/batch_job_status.pyi | 10 +- .../v14/enums/types/bid_modifier_source.pyi | 10 +- .../v14/enums/types/bidding_source.pyi | 10 +- .../enums/types/bidding_strategy_status.pyi | 10 +- .../types/bidding_strategy_system_status.pyi | 10 +- .../v14/enums/types/bidding_strategy_type.pyi | 10 +- .../v14/enums/types/billing_setup_status.pyi | 10 +- .../enums/types/brand_safety_suitability.pyi | 10 +- .../budget_campaign_association_status.pyi | 10 +- .../enums/types/budget_delivery_method.pyi | 10 +- .../v14/enums/types/budget_period.pyi | 10 +- .../v14/enums/types/budget_status.pyi | 10 +- .../googleads/v14/enums/types/budget_type.pyi | 10 +- .../types/call_conversion_reporting_state.pyi | 10 +- .../enums/types/call_placeholder_field.pyi | 10 +- .../v14/enums/types/call_to_action_type.pyi | 10 +- .../types/call_tracking_display_location.pyi | 10 +- .../googleads/v14/enums/types/call_type.pyi | 10 +- .../enums/types/callout_placeholder_field.pyi | 10 +- .../enums/types/campaign_criterion_status.pyi | 10 +- .../v14/enums/types/campaign_draft_status.pyi | 10 +- .../enums/types/campaign_experiment_type.pyi | 10 +- .../v14/enums/types/campaign_group_status.pyi | 10 +- .../enums/types/campaign_primary_status.pyi | 10 +- .../types/campaign_primary_status_reason.pyi | 10 +- .../enums/types/campaign_serving_status.pyi | 10 +- .../types/campaign_shared_set_status.pyi | 10 +- .../v14/enums/types/campaign_status.pyi | 10 +- .../enums/types/chain_relationship_type.pyi | 10 +- .../v14/enums/types/change_client_type.pyi | 10 +- .../types/change_event_resource_type.pyi | 10 +- .../enums/types/change_status_operation.pyi | 10 +- .../types/change_status_resource_type.pyi | 10 +- .../googleads/v14/enums/types/click_type.pyi | 10 +- .../enums/types/combined_audience_status.pyi | 10 +- .../v14/enums/types/content_label_type.pyi | 10 +- .../types/conversion_action_category.pyi | 10 +- .../types/conversion_action_counting_type.pyi | 10 +- .../enums/types/conversion_action_status.pyi | 10 +- .../enums/types/conversion_action_type.pyi | 10 +- .../types/conversion_adjustment_type.pyi | 10 +- .../conversion_attribution_event_type.pyi | 10 +- .../conversion_custom_variable_status.pyi | 10 +- .../types/conversion_environment_enum.pyi | 10 +- .../v14/enums/types/conversion_lag_bucket.pyi | 10 +- .../conversion_or_adjustment_lag_bucket.pyi | 10 +- .../v14/enums/types/conversion_origin.pyi | 10 +- .../types/conversion_tracking_status_enum.pyi | 10 +- ...onversion_value_rule_primary_dimension.pyi | 10 +- .../conversion_value_rule_set_status.pyi | 10 +- .../types/conversion_value_rule_status.pyi | 10 +- ...r_prior_engagement_type_and_ltv_bucket.pyi | 10 +- ...ion_category_channel_availability_mode.pyi | 10 +- ...rion_category_locale_availability_mode.pyi | 10 +- .../types/criterion_system_serving_status.pyi | 10 +- .../v14/enums/types/criterion_type.pyi | 10 +- .../types/custom_audience_member_type.pyi | 10 +- .../enums/types/custom_audience_status.pyi | 10 +- .../v14/enums/types/custom_audience_type.pyi | 10 +- .../types/custom_conversion_goal_status.pyi | 10 +- .../types/custom_interest_member_type.pyi | 10 +- .../enums/types/custom_interest_status.pyi | 10 +- .../v14/enums/types/custom_interest_type.pyi | 10 +- .../enums/types/custom_placeholder_field.pyi | 10 +- .../types/customer_match_upload_key_type.pyi | 10 +- ..._conversion_eligibility_failure_reason.pyi | 10 +- .../v14/enums/types/customer_status.pyi | 10 +- .../types/customizer_attribute_status.pyi | 10 +- .../enums/types/customizer_attribute_type.pyi | 10 +- .../enums/types/customizer_value_status.pyi | 10 +- .../enums/types/data_driven_model_status.pyi | 10 +- .../googleads/v14/enums/types/day_of_week.pyi | 10 +- .../ads/googleads/v14/enums/types/device.pyi | 10 +- .../enums/types/display_ad_format_setting.pyi | 10 +- .../types/display_upload_product_type.pyi | 10 +- .../v14/enums/types/distance_bucket.pyi | 10 +- .../types/dsa_page_feed_criterion_field.pyi | 10 +- .../types/education_placeholder_field.pyi | 10 +- .../v14/enums/types/experiment_metric.pyi | 10 +- .../types/experiment_metric_direction.pyi | 10 +- .../v14/enums/types/experiment_status.pyi | 10 +- .../v14/enums/types/experiment_type.pyi | 10 +- .../enums/types/extension_setting_device.pyi | 10 +- .../v14/enums/types/extension_type.pyi | 10 +- .../types/external_conversion_source.pyi | 10 +- .../v14/enums/types/feed_attribute_type.pyi | 10 +- .../feed_item_quality_approval_status.pyi | 10 +- .../feed_item_quality_disapproval_reason.pyi | 10 +- .../v14/enums/types/feed_item_set_status.pyi | 10 +- .../feed_item_set_string_filter_type.pyi | 10 +- .../v14/enums/types/feed_item_status.pyi | 10 +- .../enums/types/feed_item_target_device.pyi | 10 +- .../enums/types/feed_item_target_status.pyi | 10 +- .../v14/enums/types/feed_item_target_type.pyi | 10 +- .../types/feed_item_validation_status.pyi | 10 +- .../v14/enums/types/feed_link_status.pyi | 10 +- .../types/feed_mapping_criterion_type.pyi | 10 +- .../v14/enums/types/feed_mapping_status.pyi | 10 +- .../googleads/v14/enums/types/feed_origin.pyi | 10 +- .../googleads/v14/enums/types/feed_status.pyi | 10 +- .../enums/types/flight_placeholder_field.pyi | 10 +- .../enums/types/frequency_cap_event_type.pyi | 10 +- .../v14/enums/types/frequency_cap_level.pyi | 10 +- .../enums/types/frequency_cap_time_unit.pyi | 10 +- .../googleads/v14/enums/types/gender_type.pyi | 10 +- .../types/geo_target_constant_status.pyi | 10 +- .../enums/types/geo_targeting_restriction.pyi | 10 +- .../v14/enums/types/geo_targeting_type.pyi | 10 +- .../v14/enums/types/goal_config_level.pyi | 10 +- .../enums/types/google_ads_field_category.pyi | 10 +- .../types/google_ads_field_data_type.pyi | 10 +- .../enums/types/google_voice_call_status.pyi | 10 +- .../types/hotel_asset_suggestion_status.pyi | 10 +- .../enums/types/hotel_date_selection_type.pyi | 10 +- .../enums/types/hotel_placeholder_field.pyi | 10 +- .../v14/enums/types/hotel_price_bucket.pyi | 10 +- .../v14/enums/types/hotel_rate_type.pyi | 10 +- .../types/hotel_reconciliation_status.pyi | 10 +- .../enums/types/image_placeholder_field.pyi | 10 +- .../v14/enums/types/income_range_type.pyi | 10 +- .../enums/types/interaction_event_type.pyi | 10 +- .../v14/enums/types/interaction_type.pyi | 10 +- .../v14/enums/types/invoice_type.pyi | 10 +- .../v14/enums/types/job_placeholder_field.pyi | 10 +- .../v14/enums/types/keyword_match_type.pyi | 10 +- .../keyword_plan_aggregate_metric_type.pyi | 10 +- .../types/keyword_plan_competition_level.pyi | 10 +- .../types/keyword_plan_concept_group_type.pyi | 10 +- .../types/keyword_plan_forecast_interval.pyi | 10 +- .../types/keyword_plan_keyword_annotation.pyi | 10 +- .../v14/enums/types/keyword_plan_network.pyi | 10 +- .../v14/enums/types/label_status.pyi | 10 +- .../types/lead_form_call_to_action_type.pyi | 10 +- .../enums/types/lead_form_desired_intent.pyi | 10 +- .../types/lead_form_field_user_input_type.pyi | 10 +- ...d_form_post_submit_call_to_action_type.pyi | 10 +- .../types/legacy_app_install_ad_app_store.pyi | 10 +- .../v14/enums/types/linked_account_type.pyi | 10 +- .../v14/enums/types/linked_product_type.pyi | 10 +- ...ng_group_filter_bidding_category_level.pyi | 10 +- ...ng_group_filter_custom_attribute_index.pyi | 10 +- .../listing_group_filter_product_channel.pyi | 10 +- ...listing_group_filter_product_condition.pyi | 10 +- ...isting_group_filter_product_type_level.pyi | 10 +- .../types/listing_group_filter_type_enum.pyi | 10 +- .../types/listing_group_filter_vertical.pyi | 10 +- .../v14/enums/types/listing_group_type.pyi | 10 +- .../v14/enums/types/listing_type.pyi | 10 +- .../enums/types/local_placeholder_field.pyi | 10 +- ...on_extension_targeting_criterion_field.pyi | 10 +- .../types/location_group_radius_units.pyi | 10 +- .../enums/types/location_ownership_type.pyi | 10 +- .../types/location_placeholder_field.pyi | 10 +- .../v14/enums/types/location_source_type.pyi | 10 +- .../types/location_string_filter_type.pyi | 10 +- .../v14/enums/types/manager_link_status.pyi | 10 +- .../types/matching_function_context_type.pyi | 10 +- .../types/matching_function_operator.pyi | 10 +- .../googleads/v14/enums/types/media_type.pyi | 10 +- .../types/merchant_center_link_status.pyi | 10 +- .../enums/types/message_placeholder_field.pyi | 10 +- .../googleads/v14/enums/types/mime_type.pyi | 10 +- .../v14/enums/types/minute_of_hour.pyi | 10 +- .../v14/enums/types/mobile_app_vendor.pyi | 10 +- .../v14/enums/types/mobile_device_type.pyi | 10 +- .../v14/enums/types/month_of_year.pyi | 10 +- .../enums/types/negative_geo_target_type.pyi | 10 +- ...line_conversion_diagnostic_status_enum.pyi | 10 +- .../offline_event_upload_client_enum.pyi | 10 +- .../offline_user_data_job_failure_reason.pyi | 10 +- ...offline_user_data_job_match_rate_range.pyi | 10 +- .../types/offline_user_data_job_status.pyi | 10 +- .../types/offline_user_data_job_type.pyi | 10 +- ...operating_system_version_operator_type.pyi | 10 +- .../enums/types/optimization_goal_type.pyi | 10 +- .../v14/enums/types/parental_status_type.pyi | 10 +- .../v14/enums/types/payment_mode.pyi | 10 +- .../types/performance_max_upgrade_status.pyi | 10 +- .../v14/enums/types/placeholder_type.pyi | 10 +- .../v14/enums/types/placement_type.pyi | 10 +- .../enums/types/policy_approval_status.pyi | 10 +- .../v14/enums/types/policy_review_status.pyi | 10 +- .../enums/types/policy_topic_entry_type.pyi | 10 +- ...evidence_destination_mismatch_url_type.pyi | 10 +- ...vidence_destination_not_working_device.pyi | 10 +- ...destination_not_working_dns_error_type.pyi | 10 +- .../enums/types/positive_geo_target_type.pyi | 10 +- .../types/price_extension_price_qualifier.pyi | 10 +- .../types/price_extension_price_unit.pyi | 10 +- .../v14/enums/types/price_extension_type.pyi | 10 +- .../enums/types/price_placeholder_field.pyi | 10 +- .../types/product_bidding_category_level.pyi | 10 +- .../types/product_bidding_category_status.pyi | 10 +- .../v14/enums/types/product_channel.pyi | 10 +- .../types/product_channel_exclusivity.pyi | 10 +- .../v14/enums/types/product_condition.pyi | 10 +- .../types/product_custom_attribute_index.pyi | 10 +- .../v14/enums/types/product_type_level.pyi | 10 +- .../promotion_extension_discount_modifier.pyi | 10 +- .../types/promotion_extension_occasion.pyi | 10 +- .../types/promotion_placeholder_field.pyi | 10 +- .../enums/types/proximity_radius_units.pyi | 10 +- .../v14/enums/types/quality_score_bucket.pyi | 10 +- .../v14/enums/types/reach_plan_age_range.pyi | 10 +- .../v14/enums/types/reach_plan_network.pyi | 10 +- .../types/real_estate_placeholder_field.pyi | 10 +- .../v14/enums/types/recommendation_type.pyi | 10 +- .../enums/types/resource_change_operation.pyi | 10 +- .../v14/enums/types/resource_limit_type.pyi | 10 +- .../v14/enums/types/response_content_type.pyi | 10 +- .../types/search_engine_results_page_type.pyi | 10 +- .../enums/types/search_term_match_type.pyi | 10 +- .../types/search_term_targeting_status.pyi | 10 +- .../enums/types/seasonality_event_scope.pyi | 10 +- .../enums/types/seasonality_event_status.pyi | 10 +- .../enums/types/served_asset_field_type.pyi | 10 +- .../v14/enums/types/shared_set_status.pyi | 10 +- .../v14/enums/types/shared_set_type.pyi | 10 +- ...oducts_to_campaign_recommendation_enum.pyi | 10 +- .../types/simulation_modification_method.pyi | 10 +- .../v14/enums/types/simulation_type.pyi | 10 +- .../types/sitelink_placeholder_field.pyi | 10 +- .../types/sk_ad_network_ad_event_type.pyi | 10 +- .../sk_ad_network_attribution_credit.pyi | 10 +- .../enums/types/sk_ad_network_user_type.pyi | 10 +- .../ads/googleads/v14/enums/types/slot.pyi | 10 +- .../smart_campaign_not_eligible_reason.pyi | 10 +- .../v14/enums/types/smart_campaign_status.pyi | 10 +- .../v14/enums/types/spending_limit_type.pyi | 10 +- .../structured_snippet_placeholder_field.pyi | 10 +- .../v14/enums/types/summary_row_setting.pyi | 10 +- .../types/system_managed_entity_source.pyi | 10 +- .../target_cpa_opt_in_recommendation_goal.pyi | 10 +- .../types/target_frequency_time_unit.pyi | 10 +- .../target_impression_share_location.pyi | 10 +- .../v14/enums/types/targeting_dimension.pyi | 10 +- .../googleads/v14/enums/types/time_type.pyi | 10 +- .../enums/types/tracking_code_page_format.pyi | 10 +- .../v14/enums/types/tracking_code_type.pyi | 10 +- .../enums/types/travel_placeholder_field.pyi | 10 +- .../enums/types/user_identifier_source.pyi | 10 +- .../types/user_interest_taxonomy_type.pyi | 10 +- .../enums/types/user_list_access_status.pyi | 10 +- .../enums/types/user_list_closing_reason.pyi | 10 +- .../types/user_list_crm_data_source_type.pyi | 10 +- .../user_list_date_rule_item_operator.pyi | 10 +- .../user_list_flexible_rule_operator.pyi | 10 +- .../types/user_list_logical_rule_operator.pyi | 10 +- .../types/user_list_membership_status.pyi | 10 +- .../user_list_number_rule_item_operator.pyi | 10 +- .../types/user_list_prepopulation_status.pyi | 10 +- .../v14/enums/types/user_list_rule_type.pyi | 10 +- .../v14/enums/types/user_list_size_range.pyi | 10 +- .../user_list_string_rule_item_operator.pyi | 10 +- .../v14/enums/types/user_list_type.pyi | 10 +- .../enums/types/value_rule_device_type.pyi | 10 +- .../value_rule_geo_location_match_type.pyi | 10 +- .../v14/enums/types/value_rule_operation.pyi | 10 +- .../types/value_rule_set_attachment_type.pyi | 10 +- .../enums/types/value_rule_set_dimension.pyi | 10 +- .../types/vanity_pharma_display_url_mode.pyi | 10 +- .../v14/enums/types/vanity_pharma_text.pyi | 10 +- .../v14/enums/types/video_thumbnail.pyi | 10 +- .../enums/types/webpage_condition_operand.pyi | 10 +- .../types/webpage_condition_operator.pyi | 10 +- .../errors/types/access_invitation_error.pyi | 10 +- .../types/account_budget_proposal_error.pyi | 10 +- .../v14/errors/types/account_link_error.pyi | 10 +- .../v14/errors/types/ad_customizer_error.pyi | 10 +- .../googleads/v14/errors/types/ad_error.pyi | 10 +- .../v14/errors/types/ad_group_ad_error.pyi | 10 +- .../types/ad_group_bid_modifier_error.pyi | 10 +- .../ad_group_criterion_customizer_error.pyi | 10 +- .../errors/types/ad_group_criterion_error.pyi | 10 +- .../types/ad_group_customizer_error.pyi | 10 +- .../v14/errors/types/ad_group_error.pyi | 10 +- .../v14/errors/types/ad_group_feed_error.pyi | 10 +- .../v14/errors/types/ad_parameter_error.pyi | 10 +- .../v14/errors/types/ad_sharing_error.pyi | 10 +- .../googleads/v14/errors/types/adx_error.pyi | 10 +- .../v14/errors/types/asset_error.pyi | 10 +- .../errors/types/asset_group_asset_error.pyi | 10 +- .../v14/errors/types/asset_group_error.pyi | 10 +- ...asset_group_listing_group_filter_error.pyi | 10 +- .../v14/errors/types/asset_link_error.pyi | 10 +- .../errors/types/asset_set_asset_error.pyi | 10 +- .../v14/errors/types/asset_set_error.pyi | 10 +- .../v14/errors/types/asset_set_link_error.pyi | 10 +- .../v14/errors/types/audience_error.pyi | 10 +- .../errors/types/audience_insights_error.pyi | 10 +- .../v14/errors/types/authentication_error.pyi | 10 +- .../v14/errors/types/authorization_error.pyi | 10 +- .../v14/errors/types/batch_job_error.pyi | 10 +- .../v14/errors/types/bidding_error.pyi | 10 +- .../errors/types/bidding_strategy_error.pyi | 10 +- .../v14/errors/types/billing_setup_error.pyi | 10 +- .../errors/types/campaign_budget_error.pyi | 10 +- .../types/campaign_conversion_goal_error.pyi | 10 +- .../errors/types/campaign_criterion_error.pyi | 10 +- .../types/campaign_customizer_error.pyi | 10 +- .../v14/errors/types/campaign_draft_error.pyi | 10 +- .../v14/errors/types/campaign_error.pyi | 10 +- .../types/campaign_experiment_error.pyi | 10 +- .../v14/errors/types/campaign_feed_error.pyi | 10 +- .../types/campaign_shared_set_error.pyi | 10 +- .../v14/errors/types/change_event_error.pyi | 10 +- .../v14/errors/types/change_status_error.pyi | 10 +- .../errors/types/collection_size_error.pyi | 10 +- .../v14/errors/types/context_error.pyi | 10 +- .../errors/types/conversion_action_error.pyi | 10 +- .../conversion_adjustment_upload_error.pyi | 10 +- .../conversion_custom_variable_error.pyi | 10 +- .../conversion_goal_campaign_config_error.pyi | 10 +- .../errors/types/conversion_upload_error.pyi | 10 +- .../types/conversion_value_rule_error.pyi | 10 +- .../types/conversion_value_rule_set_error.pyi | 10 +- .../v14/errors/types/country_code_error.pyi | 10 +- .../v14/errors/types/criterion_error.pyi | 10 +- .../v14/errors/types/currency_code_error.pyi | 10 +- .../v14/errors/types/currency_error.pyi | 10 +- .../errors/types/custom_audience_error.pyi | 10 +- .../types/custom_conversion_goal_error.pyi | 10 +- .../errors/types/custom_interest_error.pyi | 10 +- .../types/customer_client_link_error.pyi | 10 +- .../types/customer_customizer_error.pyi | 10 +- .../v14/errors/types/customer_error.pyi | 10 +- .../v14/errors/types/customer_feed_error.pyi | 10 +- .../types/customer_manager_link_error.pyi | 10 +- ..._network_conversion_value_schema_error.pyi | 10 +- .../types/customer_user_access_error.pyi | 10 +- .../types/customizer_attribute_error.pyi | 10 +- .../v14/errors/types/database_error.pyi | 10 +- .../googleads/v14/errors/types/date_error.pyi | 10 +- .../v14/errors/types/date_range_error.pyi | 10 +- .../v14/errors/types/distinct_error.pyi | 10 +- .../googleads/v14/errors/types/enum_error.pyi | 10 +- .../ads/googleads/v14/errors/types/errors.pyi | 47 +-- .../v14/errors/types/experiment_arm_error.pyi | 10 +- .../v14/errors/types/experiment_error.pyi | 10 +- .../types/extension_feed_item_error.pyi | 10 +- .../errors/types/extension_setting_error.pyi | 10 +- .../types/feed_attribute_reference_error.pyi | 10 +- .../googleads/v14/errors/types/feed_error.pyi | 10 +- .../v14/errors/types/feed_item_error.pyi | 10 +- .../v14/errors/types/feed_item_set_error.pyi | 10 +- .../errors/types/feed_item_set_link_error.pyi | 10 +- .../errors/types/feed_item_target_error.pyi | 10 +- .../types/feed_item_validation_error.pyi | 10 +- .../v14/errors/types/feed_mapping_error.pyi | 10 +- .../v14/errors/types/field_error.pyi | 10 +- .../v14/errors/types/field_mask_error.pyi | 10 +- .../v14/errors/types/function_error.pyi | 10 +- .../errors/types/function_parsing_error.pyi | 10 +- .../geo_target_constant_suggestion_error.pyi | 10 +- .../v14/errors/types/header_error.pyi | 10 +- .../googleads/v14/errors/types/id_error.pyi | 10 +- .../v14/errors/types/image_error.pyi | 10 +- .../v14/errors/types/internal_error.pyi | 10 +- .../v14/errors/types/invoice_error.pyi | 10 +- .../types/keyword_plan_ad_group_error.pyi | 10 +- .../keyword_plan_ad_group_keyword_error.pyi | 10 +- .../types/keyword_plan_campaign_error.pyi | 10 +- .../keyword_plan_campaign_keyword_error.pyi | 10 +- .../v14/errors/types/keyword_plan_error.pyi | 10 +- .../errors/types/keyword_plan_idea_error.pyi | 10 +- .../v14/errors/types/label_error.pyi | 10 +- .../v14/errors/types/language_code_error.pyi | 10 +- .../v14/errors/types/list_operation_error.pyi | 10 +- .../v14/errors/types/manager_link_error.pyi | 10 +- .../v14/errors/types/media_bundle_error.pyi | 10 +- .../v14/errors/types/media_file_error.pyi | 10 +- .../v14/errors/types/media_upload_error.pyi | 10 +- .../errors/types/merchant_center_error.pyi | 10 +- .../v14/errors/types/multiplier_error.pyi | 10 +- .../v14/errors/types/mutate_error.pyi | 10 +- .../types/new_resource_creation_error.pyi | 10 +- .../errors/types/not_allowlisted_error.pyi | 10 +- .../v14/errors/types/not_empty_error.pyi | 10 +- .../googleads/v14/errors/types/null_error.pyi | 10 +- .../types/offline_user_data_job_error.pyi | 10 +- .../types/operation_access_denied_error.pyi | 10 +- .../v14/errors/types/operator_error.pyi | 10 +- .../errors/types/partial_failure_error.pyi | 10 +- .../errors/types/payments_account_error.pyi | 10 +- .../v14/errors/types/policy_finding_error.pyi | 10 +- .../policy_validation_parameter_error.pyi | 10 +- .../errors/types/policy_violation_error.pyi | 10 +- .../v14/errors/types/query_error.pyi | 10 +- .../v14/errors/types/quota_error.pyi | 10 +- .../v14/errors/types/range_error.pyi | 10 +- .../v14/errors/types/reach_plan_error.pyi | 10 +- .../v14/errors/types/recommendation_error.pyi | 10 +- .../v14/errors/types/region_code_error.pyi | 10 +- .../v14/errors/types/request_error.pyi | 10 +- .../types/resource_access_denied_error.pyi | 10 +- .../resource_count_limit_exceeded_error.pyi | 10 +- .../types/search_term_insight_error.pyi | 10 +- .../v14/errors/types/setting_error.pyi | 10 +- .../errors/types/shared_criterion_error.pyi | 10 +- .../v14/errors/types/shared_set_error.pyi | 10 +- .../v14/errors/types/size_limit_error.pyi | 10 +- .../v14/errors/types/smart_campaign_error.pyi | 10 +- .../v14/errors/types/string_format_error.pyi | 10 +- .../v14/errors/types/string_length_error.pyi | 10 +- .../third_party_app_analytics_link_error.pyi | 10 +- .../v14/errors/types/time_zone_error.pyi | 10 +- .../v14/errors/types/url_field_error.pyi | 10 +- .../v14/errors/types/user_data_error.pyi | 10 +- .../v14/errors/types/user_list_error.pyi | 10 +- .../youtube_video_registration_error.pyi | 10 +- .../types/accessible_bidding_strategy.pyi | 34 +- .../v14/resources/types/account_budget.pyi | 14 +- .../types/account_budget_proposal.pyi | 10 +- .../v14/resources/types/account_link.pyi | 30 +- .../ads/googleads/v14/resources/types/ad.pyi | 11 +- .../v14/resources/types/ad_group.pyi | 15 +- .../v14/resources/types/ad_group_ad.pyi | 15 +- .../ad_group_ad_asset_combination_view.pyi | 11 +- .../types/ad_group_ad_asset_view.pyi | 15 +- .../v14/resources/types/ad_group_ad_label.pyi | 10 +- .../v14/resources/types/ad_group_asset.pyi | 11 +- .../resources/types/ad_group_asset_set.pyi | 10 +- .../types/ad_group_audience_view.pyi | 10 +- .../resources/types/ad_group_bid_modifier.pyi | 10 +- .../resources/types/ad_group_criterion.pyi | 19 +- .../types/ad_group_criterion_customizer.pyi | 10 +- .../types/ad_group_criterion_label.pyi | 10 +- .../types/ad_group_criterion_simulation.pyi | 10 +- .../resources/types/ad_group_customizer.pyi | 10 +- .../types/ad_group_extension_setting.pyi | 11 +- .../v14/resources/types/ad_group_feed.pyi | 11 +- .../v14/resources/types/ad_group_label.pyi | 10 +- .../resources/types/ad_group_simulation.pyi | 10 +- .../v14/resources/types/ad_parameter.pyi | 10 +- .../v14/resources/types/ad_schedule_view.pyi | 10 +- .../v14/resources/types/age_range_view.pyi | 10 +- .../googleads/v14/resources/types/asset.pyi | 19 +- .../resources/types/asset_field_type_view.pyi | 10 +- .../v14/resources/types/asset_group.pyi | 11 +- .../v14/resources/types/asset_group_asset.pyi | 11 +- .../asset_group_listing_group_filter.pyi | 47 +-- .../types/asset_group_product_group_view.pyi | 10 +- .../resources/types/asset_group_signal.pyi | 10 +- .../v14/resources/types/asset_set.pyi | 18 +- .../v14/resources/types/asset_set_asset.pyi | 10 +- .../resources/types/asset_set_type_view.pyi | 10 +- .../v14/resources/types/audience.pyi | 11 +- .../v14/resources/types/batch_job.pyi | 14 +- .../types/bidding_data_exclusion.pyi | 11 +- .../types/bidding_seasonality_adjustment.pyi | 11 +- .../v14/resources/types/bidding_strategy.pyi | 10 +- .../types/bidding_strategy_simulation.pyi | 10 +- .../v14/resources/types/billing_setup.pyi | 14 +- .../v14/resources/types/call_view.pyi | 10 +- .../v14/resources/types/campaign.pyi | 79 ++--- .../v14/resources/types/campaign_asset.pyi | 11 +- .../resources/types/campaign_asset_set.pyi | 10 +- .../types/campaign_audience_view.pyi | 10 +- .../resources/types/campaign_bid_modifier.pyi | 10 +- .../v14/resources/types/campaign_budget.pyi | 10 +- .../types/campaign_conversion_goal.pyi | 10 +- .../resources/types/campaign_criterion.pyi | 10 +- .../resources/types/campaign_customizer.pyi | 10 +- .../v14/resources/types/campaign_draft.pyi | 10 +- .../types/campaign_extension_setting.pyi | 11 +- .../v14/resources/types/campaign_feed.pyi | 11 +- .../v14/resources/types/campaign_group.pyi | 10 +- .../v14/resources/types/campaign_label.pyi | 10 +- .../types/campaign_search_term_insight.pyi | 10 +- .../resources/types/campaign_shared_set.pyi | 10 +- .../resources/types/campaign_simulation.pyi | 10 +- .../v14/resources/types/carrier_constant.pyi | 10 +- .../v14/resources/types/change_event.pyi | 14 +- .../v14/resources/types/change_status.pyi | 10 +- .../v14/resources/types/click_view.pyi | 10 +- .../v14/resources/types/combined_audience.pyi | 10 +- .../v14/resources/types/conversion_action.pyi | 31 +- .../types/conversion_custom_variable.pyi | 10 +- .../types/conversion_goal_campaign_config.pyi | 10 +- .../resources/types/conversion_value_rule.pyi | 27 +- .../types/conversion_value_rule_set.pyi | 11 +- .../v14/resources/types/currency_constant.pyi | 10 +- .../v14/resources/types/custom_audience.pyi | 15 +- .../types/custom_conversion_goal.pyi | 11 +- .../v14/resources/types/custom_interest.pyi | 15 +- .../v14/resources/types/customer.pyi | 43 +-- .../v14/resources/types/customer_asset.pyi | 11 +- .../resources/types/customer_asset_set.pyi | 10 +- .../v14/resources/types/customer_client.pyi | 11 +- .../resources/types/customer_client_link.pyi | 10 +- .../types/customer_conversion_goal.pyi | 10 +- .../resources/types/customer_customizer.pyi | 10 +- .../types/customer_extension_setting.pyi | 11 +- .../v14/resources/types/customer_feed.pyi | 11 +- .../v14/resources/types/customer_label.pyi | 10 +- .../resources/types/customer_manager_link.pyi | 10 +- .../types/customer_negative_criterion.pyi | 10 +- .../types/customer_search_term_insight.pyi | 10 +- ..._sk_ad_network_conversion_value_schema.pyi | 41 ++- .../resources/types/customer_user_access.pyi | 10 +- .../types/customer_user_access_invitation.pyi | 10 +- .../resources/types/customizer_attribute.pyi | 10 +- .../resources/types/detail_placement_view.pyi | 10 +- .../resources/types/detailed_demographic.pyi | 11 +- .../resources/types/display_keyword_view.pyi | 10 +- .../v14/resources/types/distance_view.pyi | 10 +- .../v14/resources/types/domain_category.pyi | 10 +- .../dynamic_search_ads_search_term_view.pyi | 10 +- .../types/expanded_landing_page_view.pyi | 10 +- .../v14/resources/types/experiment.pyi | 11 +- .../v14/resources/types/experiment_arm.pyi | 11 +- .../resources/types/extension_feed_item.pyi | 11 +- .../googleads/v14/resources/types/feed.pyi | 31 +- .../v14/resources/types/feed_item.pyi | 23 +- .../v14/resources/types/feed_item_set.pyi | 10 +- .../resources/types/feed_item_set_link.pyi | 10 +- .../v14/resources/types/feed_item_target.pyi | 10 +- .../v14/resources/types/feed_mapping.pyi | 15 +- .../resources/types/feed_placeholder_view.pyi | 10 +- .../v14/resources/types/gender_view.pyi | 10 +- .../resources/types/geo_target_constant.pyi | 10 +- .../v14/resources/types/geographic_view.pyi | 10 +- .../v14/resources/types/google_ads_field.pyi | 11 +- .../resources/types/group_placement_view.pyi | 10 +- .../v14/resources/types/hotel_group_view.pyi | 10 +- .../types/hotel_performance_view.pyi | 10 +- .../resources/types/hotel_reconciliation.pyi | 10 +- .../v14/resources/types/income_range_view.pyi | 10 +- .../googleads/v14/resources/types/invoice.pyi | 23 +- .../v14/resources/types/keyword_plan.pyi | 14 +- .../resources/types/keyword_plan_ad_group.pyi | 10 +- .../types/keyword_plan_ad_group_keyword.pyi | 10 +- .../resources/types/keyword_plan_campaign.pyi | 15 +- .../types/keyword_plan_campaign_keyword.pyi | 10 +- .../types/keyword_theme_constant.pyi | 10 +- .../v14/resources/types/keyword_view.pyi | 10 +- .../googleads/v14/resources/types/label.pyi | 10 +- .../v14/resources/types/landing_page_view.pyi | 10 +- .../v14/resources/types/language_constant.pyi | 10 +- .../types/lead_form_submission_data.pyi | 19 +- .../v14/resources/types/life_event.pyi | 11 +- .../v14/resources/types/location_view.pyi | 10 +- .../types/managed_placement_view.pyi | 10 +- .../v14/resources/types/media_file.pyi | 26 +- .../resources/types/merchant_center_link.pyi | 10 +- .../types/mobile_app_category_constant.pyi | 10 +- .../types/mobile_device_constant.pyi | 10 +- .../resources/types/offline_user_data_job.pyi | 14 +- .../operating_system_version_constant.pyi | 10 +- .../types/paid_organic_search_term_view.pyi | 10 +- .../resources/types/parental_status_view.pyi | 10 +- .../v14/resources/types/payments_account.pyi | 10 +- .../v14/resources/types/per_store_view.pyi | 10 +- .../product_bidding_category_constant.pyi | 10 +- .../resources/types/product_group_view.pyi | 10 +- .../v14/resources/types/product_link.pyi | 18 +- .../resources/types/qualifying_question.pyi | 10 +- .../v14/resources/types/recommendation.pyi | 187 +++++------ .../resources/types/remarketing_action.pyi | 11 +- .../v14/resources/types/search_term_view.pyi | 10 +- .../v14/resources/types/shared_criterion.pyi | 10 +- .../v14/resources/types/shared_set.pyi | 10 +- .../types/shopping_performance_view.pyi | 10 +- .../types/smart_campaign_search_term_view.pyi | 10 +- .../types/smart_campaign_setting.pyi | 18 +- .../types/third_party_app_analytics_link.pyi | 10 +- .../v14/resources/types/topic_constant.pyi | 11 +- .../v14/resources/types/topic_view.pyi | 10 +- .../types/travel_activity_group_view.pyi | 10 +- .../travel_activity_performance_view.pyi | 10 +- .../v14/resources/types/user_interest.pyi | 11 +- .../v14/resources/types/user_list.pyi | 10 +- .../resources/types/user_location_view.pyi | 10 +- .../googleads/v14/resources/types/video.pyi | 10 +- .../v14/resources/types/webpage_view.pyi | 10 +- .../types/account_budget_proposal_service.pyi | 22 +- .../services/types/account_link_service.pyi | 30 +- .../types/ad_group_ad_label_service.pyi | 23 +- .../services/types/ad_group_ad_service.pyi | 23 +- .../services/types/ad_group_asset_service.pyi | 23 +- .../types/ad_group_asset_set_service.pyi | 23 +- .../types/ad_group_bid_modifier_service.pyi | 23 +- .../ad_group_criterion_customizer_service.pyi | 23 +- .../ad_group_criterion_label_service.pyi | 23 +- .../types/ad_group_criterion_service.pyi | 23 +- .../types/ad_group_customizer_service.pyi | 23 +- .../ad_group_extension_setting_service.pyi | 23 +- .../services/types/ad_group_feed_service.pyi | 23 +- .../services/types/ad_group_label_service.pyi | 23 +- .../v14/services/types/ad_group_service.pyi | 23 +- .../services/types/ad_parameter_service.pyi | 23 +- .../v14/services/types/ad_service.pyi | 27 +- .../types/asset_group_asset_service.pyi | 23 +- ...set_group_listing_group_filter_service.pyi | 23 +- .../services/types/asset_group_service.pyi | 23 +- .../types/asset_group_signal_service.pyi | 23 +- .../v14/services/types/asset_service.pyi | 23 +- .../types/asset_set_asset_service.pyi | 23 +- .../v14/services/types/asset_set_service.pyi | 23 +- .../types/audience_insights_service.pyi | 107 ++++--- .../v14/services/types/audience_service.pyi | 23 +- .../v14/services/types/batch_job_service.pyi | 47 +-- .../types/bidding_data_exclusion_service.pyi | 23 +- ...bidding_seasonality_adjustment_service.pyi | 23 +- .../types/bidding_strategy_service.pyi | 23 +- .../services/types/billing_setup_service.pyi | 22 +- .../services/types/campaign_asset_service.pyi | 23 +- .../types/campaign_asset_set_service.pyi | 23 +- .../types/campaign_bid_modifier_service.pyi | 23 +- .../types/campaign_budget_service.pyi | 23 +- .../campaign_conversion_goal_service.pyi | 23 +- .../types/campaign_criterion_service.pyi | 23 +- .../types/campaign_customizer_service.pyi | 23 +- .../services/types/campaign_draft_service.pyi | 35 ++- .../campaign_extension_setting_service.pyi | 23 +- .../services/types/campaign_feed_service.pyi | 23 +- .../services/types/campaign_group_service.pyi | 23 +- .../services/types/campaign_label_service.pyi | 23 +- .../v14/services/types/campaign_service.pyi | 23 +- .../types/campaign_shared_set_service.pyi | 23 +- .../types/conversion_action_service.pyi | 23 +- .../conversion_adjustment_upload_service.pyi | 31 +- .../conversion_custom_variable_service.pyi | 23 +- ...onversion_goal_campaign_config_service.pyi | 23 +- .../types/conversion_upload_service.pyi | 55 ++-- .../types/conversion_value_rule_service.pyi | 23 +- .../conversion_value_rule_set_service.pyi | 23 +- .../types/custom_audience_service.pyi | 23 +- .../types/custom_conversion_goal_service.pyi | 23 +- .../types/custom_interest_service.pyi | 23 +- .../services/types/customer_asset_service.pyi | 23 +- .../types/customer_asset_set_service.pyi | 23 +- .../types/customer_client_link_service.pyi | 22 +- .../customer_conversion_goal_service.pyi | 23 +- .../types/customer_customizer_service.pyi | 23 +- .../customer_extension_setting_service.pyi | 23 +- .../services/types/customer_feed_service.pyi | 23 +- .../services/types/customer_label_service.pyi | 23 +- .../types/customer_manager_link_service.pyi | 31 +- .../customer_negative_criterion_service.pyi | 23 +- .../v14/services/types/customer_service.pyi | 39 +-- ...etwork_conversion_value_schema_service.pyi | 22 +- ...ustomer_user_access_invitation_service.pyi | 22 +- .../types/customer_user_access_service.pyi | 22 +- .../types/customizer_attribute_service.pyi | 23 +- .../services/types/experiment_arm_service.pyi | 23 +- .../v14/services/types/experiment_service.pyi | 59 ++-- .../types/extension_feed_item_service.pyi | 23 +- .../v14/services/types/feed_item_service.pyi | 23 +- .../types/feed_item_set_link_service.pyi | 23 +- .../services/types/feed_item_set_service.pyi | 23 +- .../types/feed_item_target_service.pyi | 23 +- .../services/types/feed_mapping_service.pyi | 23 +- .../v14/services/types/feed_service.pyi | 23 +- .../types/geo_target_constant_service.pyi | 27 +- .../types/google_ads_field_service.pyi | 19 +- .../v14/services/types/google_ads_service.pyi | 43 +-- .../v14/services/types/invoice_service.pyi | 15 +- .../keyword_plan_ad_group_keyword_service.pyi | 23 +- .../types/keyword_plan_ad_group_service.pyi | 23 +- .../keyword_plan_campaign_keyword_service.pyi | 23 +- .../types/keyword_plan_campaign_service.pyi | 23 +- .../types/keyword_plan_idea_service.pyi | 107 ++++--- .../services/types/keyword_plan_service.pyi | 23 +- .../types/keyword_theme_constant_service.pyi | 15 +- .../v14/services/types/label_service.pyi | 23 +- .../v14/services/types/media_file_service.pyi | 23 +- .../types/merchant_center_link_service.pyi | 35 ++- .../types/offline_user_data_job_service.pyi | 31 +- .../types/payments_account_service.pyi | 15 +- .../services/types/product_link_service.pyi | 22 +- .../v14/services/types/reach_plan_service.pyi | 111 +++---- .../services/types/recommendation_service.pyi | 123 ++++---- .../types/remarketing_action_service.pyi | 23 +- .../types/shared_criterion_service.pyi | 23 +- .../v14/services/types/shared_set_service.pyi | 23 +- .../types/smart_campaign_setting_service.pyi | 51 +-- .../types/smart_campaign_suggest_service.pyi | 55 ++-- ...third_party_app_analytics_link_service.pyi | 14 +- .../types/travel_asset_suggestion_service.pyi | 27 +- .../v14/services/types/user_data_service.pyi | 19 +- .../v14/services/types/user_list_service.pyi | 23 +- .../googleads/v15/common/types/ad_asset.pyi | 30 +- .../v15/common/types/ad_type_infos.pyi | 131 ++++---- .../v15/common/types/asset_policy.pyi | 19 +- .../v15/common/types/asset_set_types.pyi | 47 +-- .../v15/common/types/asset_types.pyi | 147 ++++----- .../v15/common/types/asset_usage.pyi | 10 +- .../googleads/v15/common/types/audiences.pyi | 67 ++-- .../googleads/v15/common/types/bidding.pyi | 66 ++-- .../v15/common/types/click_location.pyi | 10 +- .../googleads/v15/common/types/consent.pyi | 10 +- .../googleads/v15/common/types/criteria.pyi | 295 +++++++++--------- .../types/criterion_category_availability.pyi | 19 +- .../v15/common/types/custom_parameter.pyi | 10 +- .../v15/common/types/customizer_value.pyi | 10 +- .../ads/googleads/v15/common/types/dates.pyi | 18 +- .../googleads/v15/common/types/extensions.pyi | 59 ++-- .../v15/common/types/feed_common.pyi | 10 +- .../types/feed_item_set_filter_type_infos.pyi | 19 +- .../v15/common/types/final_app_url.pyi | 10 +- .../v15/common/types/frequency_cap.pyi | 14 +- .../v15/common/types/keyword_plan_common.pyi | 43 +-- .../v15/common/types/lifecycle_goals.pyi | 10 +- .../v15/common/types/local_services.pyi | 10 +- .../v15/common/types/matching_function.pyi | 31 +- .../v15/common/types/metric_goal.pyi | 10 +- .../googleads/v15/common/types/metrics.pyi | 15 +- .../v15/common/types/offline_user_data.pyi | 59 ++-- .../ads/googleads/v15/common/types/policy.pyi | 59 ++-- .../v15/common/types/policy_summary.pyi | 11 +- .../types/real_time_bidding_setting.pyi | 10 +- .../googleads/v15/common/types/segments.pyi | 26 +- .../googleads/v15/common/types/simulation.pyi | 63 ++-- .../v15/common/types/tag_snippet.pyi | 10 +- .../v15/common/types/targeting_setting.pyi | 19 +- .../googleads/v15/common/types/text_label.pyi | 10 +- .../v15/common/types/url_collection.pyi | 11 +- .../googleads/v15/common/types/user_lists.pyi | 75 ++--- .../ads/googleads/v15/common/types/value.pyi | 10 +- .../enums/types/access_invitation_status.pyi | 10 +- .../v15/enums/types/access_reason.pyi | 10 +- .../googleads/v15/enums/types/access_role.pyi | 10 +- .../types/account_budget_proposal_status.pyi | 10 +- .../types/account_budget_proposal_type.pyi | 10 +- .../v15/enums/types/account_budget_status.pyi | 10 +- .../v15/enums/types/account_link_status.pyi | 10 +- .../types/ad_customizer_placeholder_field.pyi | 10 +- .../v15/enums/types/ad_destination_type.pyi | 10 +- .../enums/types/ad_group_ad_rotation_mode.pyi | 10 +- .../v15/enums/types/ad_group_ad_status.pyi | 10 +- .../ad_group_criterion_approval_status.pyi | 10 +- .../enums/types/ad_group_criterion_status.pyi | 10 +- .../v15/enums/types/ad_group_status.pyi | 10 +- .../v15/enums/types/ad_group_type.pyi | 10 +- .../v15/enums/types/ad_network_type.pyi | 10 +- .../types/ad_serving_optimization_status.pyi | 10 +- .../googleads/v15/enums/types/ad_strength.pyi | 10 +- .../ads/googleads/v15/enums/types/ad_type.pyi | 10 +- .../types/advertising_channel_sub_type.pyi | 10 +- .../enums/types/advertising_channel_type.pyi | 10 +- ...iliate_location_feed_relationship_type.pyi | 10 +- .../affiliate_location_placeholder_field.pyi | 10 +- .../v15/enums/types/age_range_type.pyi | 10 +- .../android_privacy_interaction_type.pyi | 10 +- .../types/android_privacy_network_type.pyi | 10 +- .../v15/enums/types/app_bidding_goal.pyi | 10 +- .../enums/types/app_campaign_app_store.pyi | 10 +- ...pp_campaign_bidding_strategy_goal_type.pyi | 10 +- .../enums/types/app_payment_model_type.pyi | 10 +- .../v15/enums/types/app_placeholder_field.pyi | 10 +- .../googleads/v15/enums/types/app_store.pyi | 10 +- .../types/app_url_operating_system_type.pyi | 10 +- .../enums/types/asset_automation_status.pyi | 10 +- .../v15/enums/types/asset_automation_type.pyi | 10 +- .../v15/enums/types/asset_field_type.pyi | 10 +- .../types/asset_group_primary_status.pyi | 10 +- .../asset_group_primary_status_reason.pyi | 10 +- .../asset_group_signal_approval_status.pyi | 10 +- .../v15/enums/types/asset_group_status.pyi | 10 +- .../enums/types/asset_link_primary_status.pyi | 10 +- .../asset_link_primary_status_reason.pyi | 10 +- .../v15/enums/types/asset_link_status.pyi | 10 +- ...asset_offline_evaluation_error_reasons.pyi | 10 +- .../enums/types/asset_performance_label.pyi | 10 +- .../enums/types/asset_set_asset_status.pyi | 10 +- .../v15/enums/types/asset_set_link_status.pyi | 10 +- .../v15/enums/types/asset_set_status.pyi | 10 +- .../v15/enums/types/asset_set_type.pyi | 10 +- .../v15/enums/types/asset_source.pyi | 10 +- .../googleads/v15/enums/types/asset_type.pyi | 10 +- .../v15/enums/types/async_action_status.pyi | 10 +- .../v15/enums/types/attribution_model.pyi | 10 +- .../types/audience_insights_dimension.pyi | 10 +- .../v15/enums/types/audience_scope.pyi | 10 +- .../v15/enums/types/audience_status.pyi | 10 +- .../v15/enums/types/batch_job_status.pyi | 10 +- .../v15/enums/types/bid_modifier_source.pyi | 10 +- .../v15/enums/types/bidding_source.pyi | 10 +- .../enums/types/bidding_strategy_status.pyi | 10 +- .../types/bidding_strategy_system_status.pyi | 10 +- .../v15/enums/types/bidding_strategy_type.pyi | 10 +- .../v15/enums/types/billing_setup_status.pyi | 10 +- .../enums/types/brand_safety_suitability.pyi | 10 +- .../googleads/v15/enums/types/brand_state.pyi | 10 +- .../budget_campaign_association_status.pyi | 10 +- .../enums/types/budget_delivery_method.pyi | 10 +- .../v15/enums/types/budget_period.pyi | 10 +- .../v15/enums/types/budget_status.pyi | 10 +- .../googleads/v15/enums/types/budget_type.pyi | 10 +- .../types/call_conversion_reporting_state.pyi | 10 +- .../enums/types/call_placeholder_field.pyi | 10 +- .../v15/enums/types/call_to_action_type.pyi | 10 +- .../types/call_tracking_display_location.pyi | 10 +- .../googleads/v15/enums/types/call_type.pyi | 10 +- .../enums/types/callout_placeholder_field.pyi | 10 +- .../enums/types/campaign_criterion_status.pyi | 10 +- .../v15/enums/types/campaign_draft_status.pyi | 10 +- .../enums/types/campaign_experiment_type.pyi | 10 +- .../v15/enums/types/campaign_group_status.pyi | 10 +- .../enums/types/campaign_primary_status.pyi | 10 +- .../types/campaign_primary_status_reason.pyi | 10 +- .../enums/types/campaign_serving_status.pyi | 10 +- .../types/campaign_shared_set_status.pyi | 10 +- .../v15/enums/types/campaign_status.pyi | 10 +- .../enums/types/chain_relationship_type.pyi | 10 +- .../v15/enums/types/change_client_type.pyi | 10 +- .../types/change_event_resource_type.pyi | 10 +- .../enums/types/change_status_operation.pyi | 10 +- .../types/change_status_resource_type.pyi | 10 +- .../googleads/v15/enums/types/click_type.pyi | 10 +- .../enums/types/combined_audience_status.pyi | 10 +- .../v15/enums/types/consent_status.pyi | 10 +- .../v15/enums/types/content_label_type.pyi | 10 +- .../types/conversion_action_category.pyi | 10 +- .../types/conversion_action_counting_type.pyi | 10 +- .../enums/types/conversion_action_status.pyi | 10 +- .../enums/types/conversion_action_type.pyi | 10 +- .../types/conversion_adjustment_type.pyi | 10 +- .../conversion_attribution_event_type.pyi | 10 +- .../conversion_custom_variable_status.pyi | 10 +- .../types/conversion_environment_enum.pyi | 10 +- .../v15/enums/types/conversion_lag_bucket.pyi | 10 +- .../conversion_or_adjustment_lag_bucket.pyi | 10 +- .../v15/enums/types/conversion_origin.pyi | 10 +- .../types/conversion_tracking_status_enum.pyi | 10 +- ...onversion_value_rule_primary_dimension.pyi | 10 +- .../conversion_value_rule_set_status.pyi | 10 +- .../types/conversion_value_rule_status.pyi | 10 +- ...r_prior_engagement_type_and_ltv_bucket.pyi | 10 +- ...ion_category_channel_availability_mode.pyi | 10 +- ...rion_category_locale_availability_mode.pyi | 10 +- .../types/criterion_system_serving_status.pyi | 10 +- .../v15/enums/types/criterion_type.pyi | 10 +- .../types/custom_audience_member_type.pyi | 10 +- .../enums/types/custom_audience_status.pyi | 10 +- .../v15/enums/types/custom_audience_type.pyi | 10 +- .../types/custom_conversion_goal_status.pyi | 10 +- .../types/custom_interest_member_type.pyi | 10 +- .../enums/types/custom_interest_status.pyi | 10 +- .../v15/enums/types/custom_interest_type.pyi | 10 +- .../enums/types/custom_placeholder_field.pyi | 10 +- ...customer_acquisition_optimization_mode.pyi | 10 +- .../types/customer_match_upload_key_type.pyi | 10 +- ..._conversion_eligibility_failure_reason.pyi | 10 +- .../v15/enums/types/customer_status.pyi | 10 +- .../types/customizer_attribute_status.pyi | 10 +- .../enums/types/customizer_attribute_type.pyi | 10 +- .../enums/types/customizer_value_status.pyi | 10 +- .../enums/types/data_driven_model_status.pyi | 10 +- .../googleads/v15/enums/types/day_of_week.pyi | 10 +- .../ads/googleads/v15/enums/types/device.pyi | 10 +- .../enums/types/display_ad_format_setting.pyi | 10 +- .../types/display_upload_product_type.pyi | 10 +- .../v15/enums/types/distance_bucket.pyi | 10 +- .../types/dsa_page_feed_criterion_field.pyi | 10 +- .../types/education_placeholder_field.pyi | 10 +- .../v15/enums/types/experiment_metric.pyi | 10 +- .../types/experiment_metric_direction.pyi | 10 +- .../v15/enums/types/experiment_status.pyi | 10 +- .../v15/enums/types/experiment_type.pyi | 10 +- .../enums/types/extension_setting_device.pyi | 10 +- .../v15/enums/types/extension_type.pyi | 10 +- .../types/external_conversion_source.pyi | 10 +- .../v15/enums/types/feed_attribute_type.pyi | 10 +- .../feed_item_quality_approval_status.pyi | 10 +- .../feed_item_quality_disapproval_reason.pyi | 10 +- .../v15/enums/types/feed_item_set_status.pyi | 10 +- .../feed_item_set_string_filter_type.pyi | 10 +- .../v15/enums/types/feed_item_status.pyi | 10 +- .../enums/types/feed_item_target_device.pyi | 10 +- .../enums/types/feed_item_target_status.pyi | 10 +- .../v15/enums/types/feed_item_target_type.pyi | 10 +- .../types/feed_item_validation_status.pyi | 10 +- .../v15/enums/types/feed_link_status.pyi | 10 +- .../types/feed_mapping_criterion_type.pyi | 10 +- .../v15/enums/types/feed_mapping_status.pyi | 10 +- .../googleads/v15/enums/types/feed_origin.pyi | 10 +- .../googleads/v15/enums/types/feed_status.pyi | 10 +- .../enums/types/flight_placeholder_field.pyi | 10 +- .../enums/types/frequency_cap_event_type.pyi | 10 +- .../v15/enums/types/frequency_cap_level.pyi | 10 +- .../enums/types/frequency_cap_time_unit.pyi | 10 +- .../googleads/v15/enums/types/gender_type.pyi | 10 +- .../types/geo_target_constant_status.pyi | 10 +- .../enums/types/geo_targeting_restriction.pyi | 10 +- .../v15/enums/types/geo_targeting_type.pyi | 10 +- .../v15/enums/types/goal_config_level.pyi | 10 +- .../enums/types/google_ads_field_category.pyi | 10 +- .../types/google_ads_field_data_type.pyi | 10 +- .../enums/types/google_voice_call_status.pyi | 10 +- .../types/hotel_asset_suggestion_status.pyi | 10 +- .../enums/types/hotel_date_selection_type.pyi | 10 +- .../enums/types/hotel_placeholder_field.pyi | 10 +- .../v15/enums/types/hotel_price_bucket.pyi | 10 +- .../v15/enums/types/hotel_rate_type.pyi | 10 +- .../types/hotel_reconciliation_status.pyi | 10 +- .../enums/types/image_placeholder_field.pyi | 10 +- .../v15/enums/types/income_range_type.pyi | 10 +- .../enums/types/interaction_event_type.pyi | 10 +- .../v15/enums/types/interaction_type.pyi | 10 +- .../v15/enums/types/invoice_type.pyi | 10 +- .../v15/enums/types/job_placeholder_field.pyi | 10 +- .../v15/enums/types/keyword_match_type.pyi | 10 +- .../keyword_plan_aggregate_metric_type.pyi | 10 +- .../types/keyword_plan_competition_level.pyi | 10 +- .../types/keyword_plan_concept_group_type.pyi | 10 +- .../types/keyword_plan_forecast_interval.pyi | 10 +- .../types/keyword_plan_keyword_annotation.pyi | 10 +- .../v15/enums/types/keyword_plan_network.pyi | 10 +- .../v15/enums/types/label_status.pyi | 10 +- .../types/lead_form_call_to_action_type.pyi | 10 +- .../enums/types/lead_form_desired_intent.pyi | 10 +- .../types/lead_form_field_user_input_type.pyi | 10 +- ...d_form_post_submit_call_to_action_type.pyi | 10 +- .../types/legacy_app_install_ad_app_store.pyi | 10 +- .../v15/enums/types/linked_account_type.pyi | 10 +- .../v15/enums/types/linked_product_type.pyi | 10 +- ...ng_group_filter_custom_attribute_index.pyi | 10 +- .../listing_group_filter_listing_source.pyi | 10 +- ...ng_group_filter_product_category_level.pyi | 10 +- .../listing_group_filter_product_channel.pyi | 10 +- ...listing_group_filter_product_condition.pyi | 10 +- ...isting_group_filter_product_type_level.pyi | 10 +- .../types/listing_group_filter_type_enum.pyi | 10 +- .../v15/enums/types/listing_group_type.pyi | 10 +- .../v15/enums/types/listing_type.pyi | 10 +- .../enums/types/local_placeholder_field.pyi | 10 +- .../local_services_conversation_type.pyi | 10 +- ...al_services_insurance_rejection_reason.pyi | 10 +- .../types/local_services_lead_status.pyi | 10 +- .../enums/types/local_services_lead_type.pyi | 10 +- ...ocal_services_license_rejection_reason.pyi | 10 +- .../types/local_services_participant_type.pyi | 10 +- ..._services_verification_artifact_status.pyi | 10 +- ...al_services_verification_artifact_type.pyi | 10 +- .../local_services_verification_status.pyi | 10 +- ...on_extension_targeting_criterion_field.pyi | 10 +- .../types/location_group_radius_units.pyi | 10 +- .../enums/types/location_ownership_type.pyi | 10 +- .../types/location_placeholder_field.pyi | 10 +- .../v15/enums/types/location_source_type.pyi | 10 +- .../types/location_string_filter_type.pyi | 10 +- .../enums/types/lookalike_expansion_level.pyi | 10 +- .../v15/enums/types/manager_link_status.pyi | 10 +- .../types/matching_function_context_type.pyi | 10 +- .../types/matching_function_operator.pyi | 10 +- .../googleads/v15/enums/types/media_type.pyi | 10 +- .../enums/types/message_placeholder_field.pyi | 10 +- .../googleads/v15/enums/types/mime_type.pyi | 10 +- .../v15/enums/types/minute_of_hour.pyi | 10 +- .../v15/enums/types/mobile_app_vendor.pyi | 10 +- .../v15/enums/types/mobile_device_type.pyi | 10 +- .../v15/enums/types/month_of_year.pyi | 10 +- .../enums/types/negative_geo_target_type.pyi | 10 +- ...line_conversion_diagnostic_status_enum.pyi | 10 +- .../offline_event_upload_client_enum.pyi | 10 +- .../offline_user_data_job_failure_reason.pyi | 10 +- ...offline_user_data_job_match_rate_range.pyi | 10 +- .../types/offline_user_data_job_status.pyi | 10 +- .../types/offline_user_data_job_type.pyi | 10 +- ...operating_system_version_operator_type.pyi | 10 +- .../enums/types/optimization_goal_type.pyi | 10 +- .../v15/enums/types/parental_status_type.pyi | 10 +- .../v15/enums/types/payment_mode.pyi | 10 +- .../types/performance_max_upgrade_status.pyi | 10 +- .../v15/enums/types/placeholder_type.pyi | 10 +- .../v15/enums/types/placement_type.pyi | 10 +- .../enums/types/policy_approval_status.pyi | 10 +- .../v15/enums/types/policy_review_status.pyi | 10 +- .../enums/types/policy_topic_entry_type.pyi | 10 +- ...evidence_destination_mismatch_url_type.pyi | 10 +- ...vidence_destination_not_working_device.pyi | 10 +- ...destination_not_working_dns_error_type.pyi | 10 +- .../enums/types/positive_geo_target_type.pyi | 10 +- .../types/price_extension_price_qualifier.pyi | 10 +- .../types/price_extension_price_unit.pyi | 10 +- .../v15/enums/types/price_extension_type.pyi | 10 +- .../enums/types/price_placeholder_field.pyi | 10 +- .../enums/types/product_category_level.pyi | 10 +- .../enums/types/product_category_state.pyi | 10 +- .../v15/enums/types/product_channel.pyi | 10 +- .../types/product_channel_exclusivity.pyi | 10 +- .../v15/enums/types/product_condition.pyi | 10 +- .../types/product_custom_attribute_index.pyi | 10 +- .../types/product_link_invitation_status.pyi | 10 +- .../v15/enums/types/product_type_level.pyi | 10 +- .../promotion_extension_discount_modifier.pyi | 10 +- .../types/promotion_extension_occasion.pyi | 10 +- .../types/promotion_placeholder_field.pyi | 10 +- .../enums/types/proximity_radius_units.pyi | 10 +- .../v15/enums/types/quality_score_bucket.pyi | 10 +- .../v15/enums/types/reach_plan_age_range.pyi | 10 +- .../v15/enums/types/reach_plan_network.pyi | 10 +- .../v15/enums/types/reach_plan_surface.pyi | 10 +- .../types/real_estate_placeholder_field.pyi | 10 +- .../recommendation_subscription_status.pyi | 10 +- .../v15/enums/types/recommendation_type.pyi | 10 +- .../enums/types/resource_change_operation.pyi | 10 +- .../v15/enums/types/resource_limit_type.pyi | 10 +- .../v15/enums/types/response_content_type.pyi | 10 +- .../types/search_engine_results_page_type.pyi | 10 +- .../enums/types/search_term_match_type.pyi | 10 +- .../types/search_term_targeting_status.pyi | 10 +- .../enums/types/seasonality_event_scope.pyi | 10 +- .../enums/types/seasonality_event_status.pyi | 10 +- .../enums/types/served_asset_field_type.pyi | 10 +- .../v15/enums/types/shared_set_status.pyi | 10 +- .../v15/enums/types/shared_set_type.pyi | 10 +- ...oducts_to_campaign_recommendation_enum.pyi | 10 +- .../types/simulation_modification_method.pyi | 10 +- .../v15/enums/types/simulation_type.pyi | 10 +- .../types/sitelink_placeholder_field.pyi | 10 +- .../types/sk_ad_network_ad_event_type.pyi | 10 +- .../sk_ad_network_attribution_credit.pyi | 10 +- .../sk_ad_network_coarse_conversion_value.pyi | 10 +- .../enums/types/sk_ad_network_source_type.pyi | 10 +- .../enums/types/sk_ad_network_user_type.pyi | 10 +- .../ads/googleads/v15/enums/types/slot.pyi | 10 +- .../smart_campaign_not_eligible_reason.pyi | 10 +- .../v15/enums/types/smart_campaign_status.pyi | 10 +- .../v15/enums/types/spending_limit_type.pyi | 10 +- .../structured_snippet_placeholder_field.pyi | 10 +- .../v15/enums/types/summary_row_setting.pyi | 10 +- .../types/system_managed_entity_source.pyi | 10 +- .../target_cpa_opt_in_recommendation_goal.pyi | 10 +- .../types/target_frequency_time_unit.pyi | 10 +- .../target_impression_share_location.pyi | 10 +- .../v15/enums/types/targeting_dimension.pyi | 10 +- .../googleads/v15/enums/types/time_type.pyi | 10 +- .../enums/types/tracking_code_page_format.pyi | 10 +- .../v15/enums/types/tracking_code_type.pyi | 10 +- .../enums/types/travel_placeholder_field.pyi | 10 +- .../enums/types/user_identifier_source.pyi | 10 +- .../types/user_interest_taxonomy_type.pyi | 10 +- .../enums/types/user_list_access_status.pyi | 10 +- .../enums/types/user_list_closing_reason.pyi | 10 +- .../types/user_list_crm_data_source_type.pyi | 10 +- .../user_list_date_rule_item_operator.pyi | 10 +- .../user_list_flexible_rule_operator.pyi | 10 +- .../types/user_list_logical_rule_operator.pyi | 10 +- .../types/user_list_membership_status.pyi | 10 +- .../user_list_number_rule_item_operator.pyi | 10 +- .../types/user_list_prepopulation_status.pyi | 10 +- .../v15/enums/types/user_list_rule_type.pyi | 10 +- .../v15/enums/types/user_list_size_range.pyi | 10 +- .../user_list_string_rule_item_operator.pyi | 10 +- .../v15/enums/types/user_list_type.pyi | 10 +- .../enums/types/value_rule_device_type.pyi | 10 +- .../value_rule_geo_location_match_type.pyi | 10 +- .../v15/enums/types/value_rule_operation.pyi | 10 +- .../types/value_rule_set_attachment_type.pyi | 10 +- .../enums/types/value_rule_set_dimension.pyi | 10 +- .../types/vanity_pharma_display_url_mode.pyi | 10 +- .../v15/enums/types/vanity_pharma_text.pyi | 10 +- .../v15/enums/types/video_thumbnail.pyi | 10 +- .../enums/types/webpage_condition_operand.pyi | 10 +- .../types/webpage_condition_operator.pyi | 10 +- .../errors/types/access_invitation_error.pyi | 10 +- .../types/account_budget_proposal_error.pyi | 10 +- .../v15/errors/types/account_link_error.pyi | 10 +- .../v15/errors/types/ad_customizer_error.pyi | 10 +- .../googleads/v15/errors/types/ad_error.pyi | 10 +- .../v15/errors/types/ad_group_ad_error.pyi | 10 +- .../types/ad_group_bid_modifier_error.pyi | 10 +- .../ad_group_criterion_customizer_error.pyi | 10 +- .../errors/types/ad_group_criterion_error.pyi | 10 +- .../types/ad_group_customizer_error.pyi | 10 +- .../v15/errors/types/ad_group_error.pyi | 10 +- .../v15/errors/types/ad_group_feed_error.pyi | 10 +- .../v15/errors/types/ad_parameter_error.pyi | 10 +- .../v15/errors/types/ad_sharing_error.pyi | 10 +- .../googleads/v15/errors/types/adx_error.pyi | 10 +- .../v15/errors/types/asset_error.pyi | 10 +- .../errors/types/asset_group_asset_error.pyi | 10 +- .../v15/errors/types/asset_group_error.pyi | 10 +- ...asset_group_listing_group_filter_error.pyi | 10 +- .../errors/types/asset_group_signal_error.pyi | 10 +- .../v15/errors/types/asset_link_error.pyi | 10 +- .../errors/types/asset_set_asset_error.pyi | 10 +- .../v15/errors/types/asset_set_error.pyi | 10 +- .../v15/errors/types/asset_set_link_error.pyi | 10 +- .../v15/errors/types/audience_error.pyi | 10 +- .../errors/types/audience_insights_error.pyi | 10 +- .../v15/errors/types/authentication_error.pyi | 10 +- .../v15/errors/types/authorization_error.pyi | 10 +- .../v15/errors/types/batch_job_error.pyi | 10 +- .../v15/errors/types/bidding_error.pyi | 10 +- .../errors/types/bidding_strategy_error.pyi | 10 +- .../v15/errors/types/billing_setup_error.pyi | 10 +- .../errors/types/campaign_budget_error.pyi | 10 +- .../types/campaign_conversion_goal_error.pyi | 10 +- .../errors/types/campaign_criterion_error.pyi | 10 +- .../types/campaign_customizer_error.pyi | 10 +- .../v15/errors/types/campaign_draft_error.pyi | 10 +- .../v15/errors/types/campaign_error.pyi | 10 +- .../types/campaign_experiment_error.pyi | 10 +- .../v15/errors/types/campaign_feed_error.pyi | 10 +- .../types/campaign_lifecycle_goal_error.pyi | 10 +- .../types/campaign_shared_set_error.pyi | 10 +- .../v15/errors/types/change_event_error.pyi | 10 +- .../v15/errors/types/change_status_error.pyi | 10 +- .../errors/types/collection_size_error.pyi | 10 +- .../v15/errors/types/context_error.pyi | 10 +- .../errors/types/conversion_action_error.pyi | 10 +- .../conversion_adjustment_upload_error.pyi | 10 +- .../conversion_custom_variable_error.pyi | 10 +- .../conversion_goal_campaign_config_error.pyi | 10 +- .../errors/types/conversion_upload_error.pyi | 10 +- .../types/conversion_value_rule_error.pyi | 10 +- .../types/conversion_value_rule_set_error.pyi | 10 +- .../v15/errors/types/country_code_error.pyi | 10 +- .../v15/errors/types/criterion_error.pyi | 10 +- .../v15/errors/types/currency_code_error.pyi | 10 +- .../v15/errors/types/currency_error.pyi | 10 +- .../errors/types/custom_audience_error.pyi | 10 +- .../types/custom_conversion_goal_error.pyi | 10 +- .../errors/types/custom_interest_error.pyi | 10 +- .../types/customer_client_link_error.pyi | 10 +- .../types/customer_customizer_error.pyi | 10 +- .../v15/errors/types/customer_error.pyi | 10 +- .../v15/errors/types/customer_feed_error.pyi | 10 +- .../types/customer_lifecycle_goal_error.pyi | 10 +- .../types/customer_manager_link_error.pyi | 10 +- ..._network_conversion_value_schema_error.pyi | 10 +- .../types/customer_user_access_error.pyi | 10 +- .../types/customizer_attribute_error.pyi | 10 +- .../v15/errors/types/database_error.pyi | 10 +- .../googleads/v15/errors/types/date_error.pyi | 10 +- .../v15/errors/types/date_range_error.pyi | 10 +- .../v15/errors/types/distinct_error.pyi | 10 +- .../googleads/v15/errors/types/enum_error.pyi | 10 +- .../ads/googleads/v15/errors/types/errors.pyi | 47 +-- .../v15/errors/types/experiment_arm_error.pyi | 10 +- .../v15/errors/types/experiment_error.pyi | 10 +- .../types/extension_feed_item_error.pyi | 10 +- .../errors/types/extension_setting_error.pyi | 10 +- .../types/feed_attribute_reference_error.pyi | 10 +- .../googleads/v15/errors/types/feed_error.pyi | 10 +- .../v15/errors/types/feed_item_error.pyi | 10 +- .../v15/errors/types/feed_item_set_error.pyi | 10 +- .../errors/types/feed_item_set_link_error.pyi | 10 +- .../errors/types/feed_item_target_error.pyi | 10 +- .../types/feed_item_validation_error.pyi | 10 +- .../v15/errors/types/feed_mapping_error.pyi | 10 +- .../v15/errors/types/field_error.pyi | 10 +- .../v15/errors/types/field_mask_error.pyi | 10 +- .../v15/errors/types/function_error.pyi | 10 +- .../errors/types/function_parsing_error.pyi | 10 +- .../geo_target_constant_suggestion_error.pyi | 10 +- .../v15/errors/types/header_error.pyi | 10 +- .../googleads/v15/errors/types/id_error.pyi | 10 +- .../v15/errors/types/image_error.pyi | 10 +- .../v15/errors/types/internal_error.pyi | 10 +- .../v15/errors/types/invoice_error.pyi | 10 +- .../types/keyword_plan_ad_group_error.pyi | 10 +- .../keyword_plan_ad_group_keyword_error.pyi | 10 +- .../types/keyword_plan_campaign_error.pyi | 10 +- .../keyword_plan_campaign_keyword_error.pyi | 10 +- .../v15/errors/types/keyword_plan_error.pyi | 10 +- .../errors/types/keyword_plan_idea_error.pyi | 10 +- .../v15/errors/types/label_error.pyi | 10 +- .../v15/errors/types/language_code_error.pyi | 10 +- .../v15/errors/types/list_operation_error.pyi | 10 +- .../v15/errors/types/manager_link_error.pyi | 10 +- .../v15/errors/types/media_bundle_error.pyi | 10 +- .../v15/errors/types/media_file_error.pyi | 10 +- .../v15/errors/types/media_upload_error.pyi | 10 +- .../errors/types/merchant_center_error.pyi | 10 +- .../v15/errors/types/multiplier_error.pyi | 10 +- .../v15/errors/types/mutate_error.pyi | 10 +- .../types/new_resource_creation_error.pyi | 10 +- .../errors/types/not_allowlisted_error.pyi | 10 +- .../v15/errors/types/not_empty_error.pyi | 10 +- .../googleads/v15/errors/types/null_error.pyi | 10 +- .../types/offline_user_data_job_error.pyi | 10 +- .../types/operation_access_denied_error.pyi | 10 +- .../v15/errors/types/operator_error.pyi | 10 +- .../errors/types/partial_failure_error.pyi | 10 +- .../errors/types/payments_account_error.pyi | 10 +- .../v15/errors/types/policy_finding_error.pyi | 10 +- .../policy_validation_parameter_error.pyi | 10 +- .../errors/types/policy_violation_error.pyi | 10 +- .../v15/errors/types/product_link_error.pyi | 10 +- .../types/product_link_invitation_error.pyi | 10 +- .../v15/errors/types/query_error.pyi | 10 +- .../v15/errors/types/quota_error.pyi | 10 +- .../v15/errors/types/range_error.pyi | 10 +- .../v15/errors/types/reach_plan_error.pyi | 10 +- .../v15/errors/types/recommendation_error.pyi | 10 +- .../recommendation_subscription_error.pyi | 10 +- .../v15/errors/types/region_code_error.pyi | 10 +- .../v15/errors/types/request_error.pyi | 10 +- .../types/resource_access_denied_error.pyi | 10 +- .../resource_count_limit_exceeded_error.pyi | 10 +- .../types/search_term_insight_error.pyi | 10 +- .../v15/errors/types/setting_error.pyi | 10 +- .../errors/types/shared_criterion_error.pyi | 10 +- .../v15/errors/types/shared_set_error.pyi | 10 +- .../v15/errors/types/size_limit_error.pyi | 10 +- .../v15/errors/types/smart_campaign_error.pyi | 10 +- .../v15/errors/types/string_format_error.pyi | 10 +- .../v15/errors/types/string_length_error.pyi | 10 +- .../third_party_app_analytics_link_error.pyi | 10 +- .../v15/errors/types/time_zone_error.pyi | 10 +- .../v15/errors/types/url_field_error.pyi | 10 +- .../v15/errors/types/user_data_error.pyi | 10 +- .../v15/errors/types/user_list_error.pyi | 10 +- .../youtube_video_registration_error.pyi | 10 +- .../types/accessible_bidding_strategy.pyi | 34 +- .../v15/resources/types/account_budget.pyi | 14 +- .../types/account_budget_proposal.pyi | 10 +- .../v15/resources/types/account_link.pyi | 26 +- .../ads/googleads/v15/resources/types/ad.pyi | 11 +- .../v15/resources/types/ad_group.pyi | 15 +- .../v15/resources/types/ad_group_ad.pyi | 15 +- .../ad_group_ad_asset_combination_view.pyi | 11 +- .../types/ad_group_ad_asset_view.pyi | 15 +- .../v15/resources/types/ad_group_ad_label.pyi | 10 +- .../v15/resources/types/ad_group_asset.pyi | 11 +- .../resources/types/ad_group_asset_set.pyi | 10 +- .../types/ad_group_audience_view.pyi | 10 +- .../resources/types/ad_group_bid_modifier.pyi | 10 +- .../resources/types/ad_group_criterion.pyi | 19 +- .../types/ad_group_criterion_customizer.pyi | 10 +- .../types/ad_group_criterion_label.pyi | 10 +- .../types/ad_group_criterion_simulation.pyi | 10 +- .../resources/types/ad_group_customizer.pyi | 10 +- .../types/ad_group_extension_setting.pyi | 11 +- .../v15/resources/types/ad_group_feed.pyi | 11 +- .../v15/resources/types/ad_group_label.pyi | 10 +- .../resources/types/ad_group_simulation.pyi | 10 +- .../v15/resources/types/ad_parameter.pyi | 10 +- .../v15/resources/types/ad_schedule_view.pyi | 10 +- .../v15/resources/types/age_range_view.pyi | 10 +- ...oid_privacy_shared_key_google_ad_group.pyi | 10 +- ...oid_privacy_shared_key_google_campaign.pyi | 10 +- ...privacy_shared_key_google_network_type.pyi | 10 +- .../googleads/v15/resources/types/asset.pyi | 19 +- .../resources/types/asset_field_type_view.pyi | 10 +- .../v15/resources/types/asset_group.pyi | 11 +- .../v15/resources/types/asset_group_asset.pyi | 11 +- .../asset_group_listing_group_filter.pyi | 55 ++-- .../types/asset_group_product_group_view.pyi | 10 +- .../resources/types/asset_group_signal.pyi | 11 +- .../asset_group_top_combination_view.pyi | 15 +- .../v15/resources/types/asset_set.pyi | 18 +- .../v15/resources/types/asset_set_asset.pyi | 10 +- .../resources/types/asset_set_type_view.pyi | 10 +- .../v15/resources/types/audience.pyi | 11 +- .../v15/resources/types/batch_job.pyi | 14 +- .../types/bidding_data_exclusion.pyi | 11 +- .../types/bidding_seasonality_adjustment.pyi | 11 +- .../v15/resources/types/bidding_strategy.pyi | 10 +- .../types/bidding_strategy_simulation.pyi | 10 +- .../v15/resources/types/billing_setup.pyi | 14 +- .../v15/resources/types/call_view.pyi | 10 +- .../v15/resources/types/campaign.pyi | 83 ++--- .../v15/resources/types/campaign_asset.pyi | 11 +- .../resources/types/campaign_asset_set.pyi | 10 +- .../types/campaign_audience_view.pyi | 10 +- .../resources/types/campaign_bid_modifier.pyi | 10 +- .../v15/resources/types/campaign_budget.pyi | 10 +- .../types/campaign_conversion_goal.pyi | 10 +- .../resources/types/campaign_criterion.pyi | 10 +- .../resources/types/campaign_customizer.pyi | 10 +- .../v15/resources/types/campaign_draft.pyi | 10 +- .../types/campaign_extension_setting.pyi | 11 +- .../v15/resources/types/campaign_feed.pyi | 11 +- .../v15/resources/types/campaign_group.pyi | 10 +- .../v15/resources/types/campaign_label.pyi | 10 +- .../types/campaign_lifecycle_goal.pyi | 14 +- .../types/campaign_search_term_insight.pyi | 10 +- .../resources/types/campaign_shared_set.pyi | 10 +- .../resources/types/campaign_simulation.pyi | 10 +- .../v15/resources/types/carrier_constant.pyi | 10 +- .../v15/resources/types/change_event.pyi | 14 +- .../v15/resources/types/change_status.pyi | 10 +- .../v15/resources/types/click_view.pyi | 10 +- .../v15/resources/types/combined_audience.pyi | 10 +- .../v15/resources/types/conversion_action.pyi | 31 +- .../types/conversion_custom_variable.pyi | 10 +- .../types/conversion_goal_campaign_config.pyi | 10 +- .../resources/types/conversion_value_rule.pyi | 27 +- .../types/conversion_value_rule_set.pyi | 11 +- .../v15/resources/types/currency_constant.pyi | 10 +- .../v15/resources/types/custom_audience.pyi | 15 +- .../types/custom_conversion_goal.pyi | 11 +- .../v15/resources/types/custom_interest.pyi | 15 +- .../v15/resources/types/customer.pyi | 39 +-- .../v15/resources/types/customer_asset.pyi | 11 +- .../resources/types/customer_asset_set.pyi | 10 +- .../v15/resources/types/customer_client.pyi | 11 +- .../resources/types/customer_client_link.pyi | 10 +- .../types/customer_conversion_goal.pyi | 10 +- .../resources/types/customer_customizer.pyi | 10 +- .../types/customer_extension_setting.pyi | 11 +- .../v15/resources/types/customer_feed.pyi | 11 +- .../v15/resources/types/customer_label.pyi | 10 +- .../types/customer_lifecycle_goal.pyi | 15 +- .../resources/types/customer_manager_link.pyi | 10 +- .../types/customer_negative_criterion.pyi | 10 +- .../types/customer_search_term_insight.pyi | 10 +- ..._sk_ad_network_conversion_value_schema.pyi | 41 ++- .../resources/types/customer_user_access.pyi | 10 +- .../types/customer_user_access_invitation.pyi | 10 +- .../resources/types/customizer_attribute.pyi | 10 +- .../resources/types/detail_placement_view.pyi | 10 +- .../resources/types/detailed_demographic.pyi | 11 +- .../resources/types/display_keyword_view.pyi | 10 +- .../v15/resources/types/distance_view.pyi | 10 +- .../v15/resources/types/domain_category.pyi | 10 +- .../dynamic_search_ads_search_term_view.pyi | 10 +- .../types/expanded_landing_page_view.pyi | 10 +- .../v15/resources/types/experiment.pyi | 11 +- .../v15/resources/types/experiment_arm.pyi | 11 +- .../resources/types/extension_feed_item.pyi | 11 +- .../googleads/v15/resources/types/feed.pyi | 31 +- .../v15/resources/types/feed_item.pyi | 23 +- .../v15/resources/types/feed_item_set.pyi | 10 +- .../resources/types/feed_item_set_link.pyi | 10 +- .../v15/resources/types/feed_item_target.pyi | 10 +- .../v15/resources/types/feed_mapping.pyi | 15 +- .../resources/types/feed_placeholder_view.pyi | 10 +- .../v15/resources/types/gender_view.pyi | 10 +- .../resources/types/geo_target_constant.pyi | 10 +- .../v15/resources/types/geographic_view.pyi | 10 +- .../v15/resources/types/google_ads_field.pyi | 11 +- .../resources/types/group_placement_view.pyi | 10 +- .../v15/resources/types/hotel_group_view.pyi | 10 +- .../types/hotel_performance_view.pyi | 10 +- .../resources/types/hotel_reconciliation.pyi | 10 +- .../v15/resources/types/income_range_view.pyi | 10 +- .../googleads/v15/resources/types/invoice.pyi | 23 +- .../v15/resources/types/keyword_plan.pyi | 14 +- .../resources/types/keyword_plan_ad_group.pyi | 10 +- .../types/keyword_plan_ad_group_keyword.pyi | 10 +- .../resources/types/keyword_plan_campaign.pyi | 15 +- .../types/keyword_plan_campaign_keyword.pyi | 10 +- .../types/keyword_theme_constant.pyi | 10 +- .../v15/resources/types/keyword_view.pyi | 10 +- .../googleads/v15/resources/types/label.pyi | 10 +- .../v15/resources/types/landing_page_view.pyi | 10 +- .../v15/resources/types/language_constant.pyi | 10 +- .../types/lead_form_submission_data.pyi | 19 +- .../v15/resources/types/life_event.pyi | 11 +- .../resources/types/local_services_lead.pyi | 18 +- .../local_services_lead_conversation.pyi | 18 +- .../local_services_verification_artifact.pyi | 22 +- .../v15/resources/types/location_view.pyi | 10 +- .../types/managed_placement_view.pyi | 10 +- .../v15/resources/types/media_file.pyi | 26 +- .../types/mobile_app_category_constant.pyi | 10 +- .../types/mobile_device_constant.pyi | 10 +- ...fline_conversion_upload_client_summary.pyi | 23 +- .../resources/types/offline_user_data_job.pyi | 14 +- .../operating_system_version_constant.pyi | 10 +- .../types/paid_organic_search_term_view.pyi | 10 +- .../resources/types/parental_status_view.pyi | 10 +- .../v15/resources/types/payments_account.pyi | 10 +- .../v15/resources/types/per_store_view.pyi | 10 +- .../types/product_category_constant.pyi | 15 +- .../resources/types/product_group_view.pyi | 10 +- .../v15/resources/types/product_link.pyi | 22 +- .../types/product_link_invitation.pyi | 18 +- .../resources/types/qualifying_question.pyi | 10 +- .../v15/resources/types/recommendation.pyi | 191 ++++++------ .../types/recommendation_subscription.pyi | 10 +- .../resources/types/remarketing_action.pyi | 11 +- .../v15/resources/types/search_term_view.pyi | 10 +- .../v15/resources/types/shared_criterion.pyi | 10 +- .../v15/resources/types/shared_set.pyi | 10 +- .../types/shopping_performance_view.pyi | 10 +- .../types/smart_campaign_search_term_view.pyi | 10 +- .../types/smart_campaign_setting.pyi | 18 +- .../types/third_party_app_analytics_link.pyi | 10 +- .../v15/resources/types/topic_constant.pyi | 11 +- .../v15/resources/types/topic_view.pyi | 10 +- .../types/travel_activity_group_view.pyi | 10 +- .../travel_activity_performance_view.pyi | 10 +- .../v15/resources/types/user_interest.pyi | 11 +- .../v15/resources/types/user_list.pyi | 10 +- .../resources/types/user_location_view.pyi | 10 +- .../googleads/v15/resources/types/video.pyi | 10 +- .../v15/resources/types/webpage_view.pyi | 10 +- .../types/account_budget_proposal_service.pyi | 22 +- .../services/types/account_link_service.pyi | 30 +- .../types/ad_group_ad_label_service.pyi | 23 +- .../services/types/ad_group_ad_service.pyi | 23 +- .../services/types/ad_group_asset_service.pyi | 23 +- .../types/ad_group_asset_set_service.pyi | 23 +- .../types/ad_group_bid_modifier_service.pyi | 23 +- .../ad_group_criterion_customizer_service.pyi | 23 +- .../ad_group_criterion_label_service.pyi | 23 +- .../types/ad_group_criterion_service.pyi | 23 +- .../types/ad_group_customizer_service.pyi | 23 +- .../ad_group_extension_setting_service.pyi | 23 +- .../services/types/ad_group_feed_service.pyi | 23 +- .../services/types/ad_group_label_service.pyi | 23 +- .../v15/services/types/ad_group_service.pyi | 23 +- .../services/types/ad_parameter_service.pyi | 23 +- .../v15/services/types/ad_service.pyi | 27 +- .../types/asset_group_asset_service.pyi | 23 +- ...set_group_listing_group_filter_service.pyi | 23 +- .../services/types/asset_group_service.pyi | 23 +- .../types/asset_group_signal_service.pyi | 23 +- .../v15/services/types/asset_service.pyi | 23 +- .../types/asset_set_asset_service.pyi | 23 +- .../v15/services/types/asset_set_service.pyi | 23 +- .../types/audience_insights_service.pyi | 119 +++---- .../v15/services/types/audience_service.pyi | 23 +- .../v15/services/types/batch_job_service.pyi | 47 +-- .../types/bidding_data_exclusion_service.pyi | 23 +- ...bidding_seasonality_adjustment_service.pyi | 23 +- .../types/bidding_strategy_service.pyi | 23 +- .../services/types/billing_setup_service.pyi | 22 +- .../types/brand_suggestion_service.pyi | 19 +- .../services/types/campaign_asset_service.pyi | 23 +- .../types/campaign_asset_set_service.pyi | 23 +- .../types/campaign_bid_modifier_service.pyi | 23 +- .../types/campaign_budget_service.pyi | 23 +- .../campaign_conversion_goal_service.pyi | 23 +- .../types/campaign_criterion_service.pyi | 23 +- .../types/campaign_customizer_service.pyi | 23 +- .../services/types/campaign_draft_service.pyi | 35 ++- .../campaign_extension_setting_service.pyi | 23 +- .../services/types/campaign_feed_service.pyi | 23 +- .../services/types/campaign_group_service.pyi | 23 +- .../services/types/campaign_label_service.pyi | 23 +- .../types/campaign_lifecycle_goal_service.pyi | 22 +- .../v15/services/types/campaign_service.pyi | 23 +- .../types/campaign_shared_set_service.pyi | 23 +- .../types/conversion_action_service.pyi | 23 +- .../conversion_adjustment_upload_service.pyi | 31 +- .../conversion_custom_variable_service.pyi | 23 +- ...onversion_goal_campaign_config_service.pyi | 23 +- .../types/conversion_upload_service.pyi | 55 ++-- .../types/conversion_value_rule_service.pyi | 23 +- .../conversion_value_rule_set_service.pyi | 23 +- .../types/custom_audience_service.pyi | 23 +- .../types/custom_conversion_goal_service.pyi | 23 +- .../types/custom_interest_service.pyi | 23 +- .../services/types/customer_asset_service.pyi | 23 +- .../types/customer_asset_set_service.pyi | 23 +- .../types/customer_client_link_service.pyi | 22 +- .../customer_conversion_goal_service.pyi | 23 +- .../types/customer_customizer_service.pyi | 23 +- .../customer_extension_setting_service.pyi | 23 +- .../services/types/customer_feed_service.pyi | 23 +- .../services/types/customer_label_service.pyi | 23 +- .../types/customer_lifecycle_goal_service.pyi | 22 +- .../types/customer_manager_link_service.pyi | 31 +- .../customer_negative_criterion_service.pyi | 23 +- .../v15/services/types/customer_service.pyi | 39 +-- ...etwork_conversion_value_schema_service.pyi | 22 +- ...ustomer_user_access_invitation_service.pyi | 22 +- .../types/customer_user_access_service.pyi | 22 +- .../types/customizer_attribute_service.pyi | 23 +- .../services/types/experiment_arm_service.pyi | 23 +- .../v15/services/types/experiment_service.pyi | 59 ++-- .../types/extension_feed_item_service.pyi | 23 +- .../v15/services/types/feed_item_service.pyi | 23 +- .../types/feed_item_set_link_service.pyi | 23 +- .../services/types/feed_item_set_service.pyi | 23 +- .../types/feed_item_target_service.pyi | 23 +- .../services/types/feed_mapping_service.pyi | 23 +- .../v15/services/types/feed_service.pyi | 23 +- .../types/geo_target_constant_service.pyi | 27 +- .../types/google_ads_field_service.pyi | 19 +- .../v15/services/types/google_ads_service.pyi | 43 +-- .../v15/services/types/invoice_service.pyi | 15 +- .../keyword_plan_ad_group_keyword_service.pyi | 23 +- .../types/keyword_plan_ad_group_service.pyi | 23 +- .../keyword_plan_campaign_keyword_service.pyi | 23 +- .../types/keyword_plan_campaign_service.pyi | 23 +- .../types/keyword_plan_idea_service.pyi | 107 ++++--- .../services/types/keyword_plan_service.pyi | 23 +- .../types/keyword_theme_constant_service.pyi | 15 +- .../v15/services/types/label_service.pyi | 23 +- .../types/offline_user_data_job_service.pyi | 31 +- .../types/payments_account_service.pyi | 15 +- .../types/product_link_invitation_service.pyi | 14 +- .../services/types/product_link_service.pyi | 22 +- .../v15/services/types/reach_plan_service.pyi | 123 ++++---- .../services/types/recommendation_service.pyi | 127 ++++---- .../recommendation_subscription_service.pyi | 23 +- .../types/remarketing_action_service.pyi | 23 +- .../types/shared_criterion_service.pyi | 23 +- .../v15/services/types/shared_set_service.pyi | 23 +- .../types/smart_campaign_setting_service.pyi | 51 +-- .../types/smart_campaign_suggest_service.pyi | 55 ++-- ...third_party_app_analytics_link_service.pyi | 14 +- .../types/travel_asset_suggestion_service.pyi | 27 +- .../v15/services/types/user_data_service.pyi | 19 +- .../v15/services/types/user_list_service.pyi | 23 +- pyproject.toml | 2 +- 2340 files changed, 21732 insertions(+), 12859 deletions(-) diff --git a/google-stubs/ads/googleads/v13/common/types/ad_asset.pyi b/google-stubs/ads/googleads/v13/common/types/ad_asset.pyi index 157c2aec3..2e78e7eb9 100644 --- a/google-stubs/ads/googleads/v13/common/types/ad_asset.pyi +++ b/google-stubs/ads/googleads/v13/common/types/ad_asset.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.asset_policy import AdAssetPolicySummary @@ -10,11 +12,13 @@ from google.ads.googleads.v13.enums.types.served_asset_field_type import ( ServedAssetFieldTypeEnum, ) +_M = TypeVar("_M") + class AdDiscoveryCarouselCardAsset(proto.Message): asset: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., asset: str = ... @@ -23,8 +27,8 @@ class AdDiscoveryCarouselCardAsset(proto.Message): class AdImageAsset(proto.Message): asset: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., asset: str = ... @@ -33,8 +37,8 @@ class AdImageAsset(proto.Message): class AdMediaBundleAsset(proto.Message): asset: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., asset: str = ... @@ -46,8 +50,8 @@ class AdTextAsset(proto.Message): asset_performance_label: AssetPerformanceLabelEnum.AssetPerformanceLabel policy_summary_info: AdAssetPolicySummary def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., text: str = ..., @@ -59,8 +63,8 @@ class AdTextAsset(proto.Message): class AdVideoAsset(proto.Message): asset: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., asset: str = ... diff --git a/google-stubs/ads/googleads/v13/common/types/ad_type_infos.pyi b/google-stubs/ads/googleads/v13/common/types/ad_type_infos.pyi index e58118691..9bb241168 100644 --- a/google-stubs/ads/googleads/v13/common/types/ad_type_infos.pyi +++ b/google-stubs/ads/googleads/v13/common/types/ad_type_infos.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.ad_asset import ( @@ -25,6 +26,8 @@ from google.ads.googleads.v13.enums.types.legacy_app_install_ad_app_store import from google.ads.googleads.v13.enums.types.mime_type import MimeTypeEnum from google.ads.googleads.v13.enums.types.video_thumbnail import VideoThumbnailEnum +_M = TypeVar("_M") + class AppAdInfo(proto.Message): mandatory_ad_text: AdTextAsset headlines: MutableSequence[AdTextAsset] @@ -33,8 +36,8 @@ class AppAdInfo(proto.Message): youtube_videos: MutableSequence[AdVideoAsset] html5_media_bundles: MutableSequence[AdMediaBundleAsset] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., mandatory_ad_text: AdTextAsset = ..., @@ -51,8 +54,8 @@ class AppEngagementAdInfo(proto.Message): images: MutableSequence[AdImageAsset] videos: MutableSequence[AdVideoAsset] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., headlines: MutableSequence[AdTextAsset] = ..., @@ -67,8 +70,8 @@ class AppPreRegistrationAdInfo(proto.Message): images: MutableSequence[AdImageAsset] youtube_videos: MutableSequence[AdVideoAsset] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., headlines: MutableSequence[AdTextAsset] = ..., @@ -93,8 +96,8 @@ class CallAdInfo(proto.Message): path1: str path2: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., country_code: str = ..., @@ -121,8 +124,8 @@ class DiscoveryCarouselAdInfo(proto.Message): call_to_action_text: str carousel_cards: MutableSequence[AdDiscoveryCarouselCardAsset] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., business_name: str = ..., @@ -144,8 +147,8 @@ class DiscoveryMultiAssetAdInfo(proto.Message): call_to_action_text: str lead_form_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., marketing_images: MutableSequence[AdImageAsset] = ..., @@ -163,8 +166,8 @@ class DisplayUploadAdInfo(proto.Message): display_upload_product_type: DisplayUploadProductTypeEnum.DisplayUploadProductType media_bundle: AdMediaBundleAsset def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., display_upload_product_type: DisplayUploadProductTypeEnum.DisplayUploadProductType = ..., @@ -175,8 +178,8 @@ class ExpandedDynamicSearchAdInfo(proto.Message): description: str description2: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., description: str = ..., @@ -192,8 +195,8 @@ class ExpandedTextAdInfo(proto.Message): path1: str path2: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., headline_part1: str = ..., @@ -207,8 +210,8 @@ class ExpandedTextAdInfo(proto.Message): class HotelAdInfo(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -227,8 +230,8 @@ class ImageAdInfo(proto.Message): data: bytes ad_id_to_copy_image_from: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., pixel_width: int = ..., @@ -250,8 +253,8 @@ class InFeedVideoAdInfo(proto.Message): description2: str thumbnail: VideoThumbnailEnum.VideoThumbnail def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., headline: str = ..., @@ -267,8 +270,8 @@ class LegacyAppInstallAdInfo(proto.Message): description1: str description2: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., app_id: str = ..., @@ -295,8 +298,8 @@ class LegacyResponsiveDisplayAdInfo(proto.Message): price_prefix: str promo_text: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., short_headline: str = ..., @@ -326,8 +329,8 @@ class LocalAdInfo(proto.Message): path1: str path2: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., headlines: MutableSequence[AdTextAsset] = ..., @@ -344,8 +347,8 @@ class ResponsiveDisplayAdControlSpec(proto.Message): enable_asset_enhancements: bool enable_autogen_video: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., enable_asset_enhancements: bool = ..., @@ -371,8 +374,8 @@ class ResponsiveDisplayAdInfo(proto.Message): format_setting: DisplayAdFormatSettingEnum.DisplayAdFormatSetting control_spec: ResponsiveDisplayAdControlSpec def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., marketing_images: MutableSequence[AdImageAsset] = ..., @@ -400,8 +403,8 @@ class ResponsiveSearchAdInfo(proto.Message): path1: str path2: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., headlines: MutableSequence[AdTextAsset] = ..., @@ -413,8 +416,8 @@ class ResponsiveSearchAdInfo(proto.Message): class ShoppingComparisonListingAdInfo(proto.Message): headline: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., headline: str = ..., @@ -422,8 +425,8 @@ class ShoppingComparisonListingAdInfo(proto.Message): class ShoppingProductAdInfo(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -431,8 +434,8 @@ class ShoppingProductAdInfo(proto.Message): class ShoppingSmartAdInfo(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -442,8 +445,8 @@ class SmartCampaignAdInfo(proto.Message): headlines: MutableSequence[AdTextAsset] descriptions: MutableSequence[AdTextAsset] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., headlines: MutableSequence[AdTextAsset] = ..., @@ -455,8 +458,8 @@ class TextAdInfo(proto.Message): description1: str description2: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., headline: str = ..., @@ -466,8 +469,8 @@ class TextAdInfo(proto.Message): class TravelAdInfo(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -481,8 +484,8 @@ class VideoAdInfo(proto.Message): non_skippable: VideoNonSkippableInStreamAdInfo in_feed: InFeedVideoAdInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., video: AdVideoAsset = ..., @@ -498,8 +501,8 @@ class VideoBumperInStreamAdInfo(proto.Message): action_button_label: str action_headline: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., companion_banner: AdImageAsset = ..., @@ -512,8 +515,8 @@ class VideoNonSkippableInStreamAdInfo(proto.Message): action_button_label: str action_headline: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., companion_banner: AdImageAsset = ..., @@ -525,8 +528,8 @@ class VideoOutstreamAdInfo(proto.Message): headline: str description: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., headline: str = ..., @@ -543,8 +546,8 @@ class VideoResponsiveAdInfo(proto.Message): breadcrumb1: str breadcrumb2: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., headlines: MutableSequence[AdTextAsset] = ..., @@ -562,8 +565,8 @@ class VideoTrueViewInStreamAdInfo(proto.Message): action_headline: str companion_banner: AdImageAsset def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., action_button_label: str = ..., diff --git a/google-stubs/ads/googleads/v13/common/types/asset_policy.pyi b/google-stubs/ads/googleads/v13/common/types/asset_policy.pyi index 3e9dfff25..488542cdc 100644 --- a/google-stubs/ads/googleads/v13/common/types/asset_policy.pyi +++ b/google-stubs/ads/googleads/v13/common/types/asset_policy.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.policy import PolicyTopicEntry @@ -20,13 +21,15 @@ from google.ads.googleads.v13.enums.types.policy_review_status import ( PolicyReviewStatusEnum, ) +_M = TypeVar("_M") + class AdAssetPolicySummary(proto.Message): policy_topic_entries: MutableSequence[PolicyTopicEntry] review_status: PolicyReviewStatusEnum.PolicyReviewStatus approval_status: PolicyApprovalStatusEnum.PolicyApprovalStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., policy_topic_entries: MutableSequence[PolicyTopicEntry] = ..., @@ -39,8 +42,8 @@ class AssetDisapproved(proto.Message): AssetOfflineEvaluationErrorReasonsEnum.AssetOfflineEvaluationErrorReasons ] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., offline_evaluation_error_reasons: MutableSequence[ @@ -53,8 +56,8 @@ class AssetLinkPrimaryStatusDetails(proto.Message): status: AssetLinkPrimaryStatusEnum.AssetLinkPrimaryStatus asset_disapproved: AssetDisapproved def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., reason: AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason = ..., diff --git a/google-stubs/ads/googleads/v13/common/types/asset_set_types.pyi b/google-stubs/ads/googleads/v13/common/types/asset_set_types.pyi index 1c998d876..50cbeb290 100644 --- a/google-stubs/ads/googleads/v13/common/types/asset_set_types.pyi +++ b/google-stubs/ads/googleads/v13/common/types/asset_set_types.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.chain_relationship_type import ( @@ -13,12 +14,14 @@ from google.ads.googleads.v13.enums.types.location_string_filter_type import ( LocationStringFilterTypeEnum, ) +_M = TypeVar("_M") + class BusinessProfileBusinessNameFilter(proto.Message): business_name: str filter_type: LocationStringFilterTypeEnum.LocationStringFilterType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., business_name: str = ..., @@ -28,8 +31,8 @@ class BusinessProfileBusinessNameFilter(proto.Message): class BusinessProfileLocationGroup(proto.Message): dynamic_business_profile_location_group_filter: DynamicBusinessProfileLocationGroupFilter def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., dynamic_business_profile_location_group_filter: DynamicBusinessProfileLocationGroupFilter = ... @@ -43,8 +46,8 @@ class BusinessProfileLocationSet(proto.Message): listing_id_filters: MutableSequence[int] business_account_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., http_authorization_token: str = ..., @@ -59,8 +62,8 @@ class ChainFilter(proto.Message): chain_id: int location_attributes: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., chain_id: int = ..., @@ -70,8 +73,8 @@ class ChainFilter(proto.Message): class ChainLocationGroup(proto.Message): dynamic_chain_location_group_filters: MutableSequence[ChainFilter] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., dynamic_chain_location_group_filters: MutableSequence[ChainFilter] = ... @@ -81,8 +84,8 @@ class ChainSet(proto.Message): relationship_type: ChainRelationshipTypeEnum.ChainRelationshipType chains: MutableSequence[ChainFilter] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., relationship_type: ChainRelationshipTypeEnum.ChainRelationshipType = ..., @@ -94,8 +97,8 @@ class DynamicBusinessProfileLocationGroupFilter(proto.Message): business_name_filter: BusinessProfileBusinessNameFilter listing_id_filters: MutableSequence[int] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., label_filters: MutableSequence[str] = ..., @@ -109,8 +112,8 @@ class LocationSet(proto.Message): chain_location_set: ChainSet maps_location_set: MapsLocationSet def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., location_ownership_type: LocationOwnershipTypeEnum.LocationOwnershipType = ..., @@ -122,8 +125,8 @@ class LocationSet(proto.Message): class MapsLocationInfo(proto.Message): place_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., place_id: str = ... @@ -132,8 +135,8 @@ class MapsLocationInfo(proto.Message): class MapsLocationSet(proto.Message): maps_locations: MutableSequence[MapsLocationInfo] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., maps_locations: MutableSequence[MapsLocationInfo] = ... diff --git a/google-stubs/ads/googleads/v13/common/types/asset_types.pyi b/google-stubs/ads/googleads/v13/common/types/asset_types.pyi index 660e3d9e3..e9736d13d 100644 --- a/google-stubs/ads/googleads/v13/common/types/asset_types.pyi +++ b/google-stubs/ads/googleads/v13/common/types/asset_types.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.criteria import AdScheduleInfo @@ -44,10 +45,12 @@ from google.ads.googleads.v13.enums.types.promotion_extension_occasion import ( PromotionExtensionOccasionEnum, ) +_M = TypeVar("_M") + class BookOnGoogleAsset(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -58,8 +61,8 @@ class BusinessProfileLocation(proto.Message): store_code: str listing_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., labels: MutableSequence[str] = ..., @@ -74,8 +77,8 @@ class CallAsset(proto.Message): call_conversion_action: str ad_schedule_targets: MutableSequence[AdScheduleInfo] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., country_code: str = ..., @@ -88,8 +91,8 @@ class CallAsset(proto.Message): class CallToActionAsset(proto.Message): call_to_action: CallToActionTypeEnum.CallToActionType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., call_to_action: CallToActionTypeEnum.CallToActionType = ..., @@ -101,8 +104,8 @@ class CalloutAsset(proto.Message): end_date: str ad_schedule_targets: MutableSequence[AdScheduleInfo] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., callout_text: str = ..., @@ -118,8 +121,8 @@ class DiscoveryCarouselCardAsset(proto.Message): headline: str call_to_action_text: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., marketing_image_asset: str = ..., @@ -148,8 +151,8 @@ class DynamicCustomAsset(proto.Message): ios_app_store_id: int similar_ids: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., id: str = ..., @@ -187,8 +190,8 @@ class DynamicEducationAsset(proto.Message): thumbnail_image_url: str image_url: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., program_id: str = ..., @@ -224,8 +227,8 @@ class DynamicFlightsAsset(proto.Message): similar_destination_ids: MutableSequence[str] custom_mapping: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., destination_id: str = ..., @@ -264,8 +267,8 @@ class DynamicHotelsAndRentalsAsset(proto.Message): formatted_sale_price: str similar_property_ids: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., property_id: str = ..., @@ -303,8 +306,8 @@ class DynamicJobsAsset(proto.Message): ios_app_link: str ios_app_store_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., job_id: str = ..., @@ -341,8 +344,8 @@ class DynamicLocalAsset(proto.Message): ios_app_link: str ios_app_store_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., deal_id: str = ..., @@ -380,8 +383,8 @@ class DynamicRealEstateAsset(proto.Message): ios_app_store_id: int similar_listing_ids: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., listing_id: str = ..., @@ -420,8 +423,8 @@ class DynamicTravelAsset(proto.Message): ios_app_link: str ios_app_store_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., destination_id: str = ..., @@ -447,8 +450,8 @@ class HotelCalloutAsset(proto.Message): text: str language_code: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., text: str = ..., @@ -460,8 +463,8 @@ class HotelPropertyAsset(proto.Message): hotel_address: str hotel_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., place_id: str = ..., @@ -475,8 +478,8 @@ class ImageAsset(proto.Message): mime_type: MimeTypeEnum.MimeType full_size: ImageDimension def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., data: bytes = ..., @@ -490,8 +493,8 @@ class ImageDimension(proto.Message): width_pixels: int url: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., height_pixels: int = ..., @@ -516,8 +519,8 @@ class LeadFormAsset(proto.Message): desired_intent: LeadFormDesiredIntentEnum.LeadFormDesiredIntent custom_disclosure: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., business_name: str = ..., @@ -542,8 +545,8 @@ class LeadFormCustomQuestionField(proto.Message): single_choice_answers: LeadFormSingleChoiceAnswers has_location_answer: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., custom_question_text: str = ..., @@ -554,8 +557,8 @@ class LeadFormCustomQuestionField(proto.Message): class LeadFormDeliveryMethod(proto.Message): webhook: WebhookDelivery def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., webhook: WebhookDelivery = ..., @@ -566,8 +569,8 @@ class LeadFormField(proto.Message): single_choice_answers: LeadFormSingleChoiceAnswers has_location_answer: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., input_type: LeadFormFieldUserInputTypeEnum.LeadFormFieldUserInputType = ..., @@ -578,8 +581,8 @@ class LeadFormField(proto.Message): class LeadFormSingleChoiceAnswers(proto.Message): answers: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., answers: MutableSequence[str] = ..., @@ -590,8 +593,8 @@ class LocationAsset(proto.Message): business_profile_locations: MutableSequence[BusinessProfileLocation] location_ownership_type: LocationOwnershipTypeEnum.LocationOwnershipType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., place_id: str = ..., @@ -602,8 +605,8 @@ class LocationAsset(proto.Message): class MediaBundleAsset(proto.Message): data: bytes def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., data: bytes = ..., @@ -616,8 +619,8 @@ class MobileAppAsset(proto.Message): start_date: str end_date: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., app_id: str = ..., @@ -631,8 +634,8 @@ class PageFeedAsset(proto.Message): page_url: str labels: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., page_url: str = ..., @@ -645,8 +648,8 @@ class PriceAsset(proto.Message): language_code: str price_offerings: MutableSequence[PriceOffering] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., type_: PriceExtensionTypeEnum.PriceExtensionType = ..., @@ -663,8 +666,8 @@ class PriceOffering(proto.Message): final_url: str final_mobile_url: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., header: str = ..., @@ -690,8 +693,8 @@ class PromotionAsset(proto.Message): promotion_code: str orders_over_amount: Money def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., promotion_target: str = ..., @@ -717,8 +720,8 @@ class SitelinkAsset(proto.Message): end_date: str ad_schedule_targets: MutableSequence[AdScheduleInfo] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., link_text: str = ..., @@ -733,8 +736,8 @@ class StructuredSnippetAsset(proto.Message): header: str values: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., header: str = ..., @@ -744,8 +747,8 @@ class StructuredSnippetAsset(proto.Message): class TextAsset(proto.Message): text: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., text: str = ..., @@ -756,8 +759,8 @@ class WebhookDelivery(proto.Message): google_secret: str payload_schema_version: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., advertiser_webhook_url: str = ..., @@ -769,8 +772,8 @@ class YoutubeVideoAsset(proto.Message): youtube_video_id: str youtube_video_title: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., youtube_video_id: str = ..., diff --git a/google-stubs/ads/googleads/v13/common/types/asset_usage.pyi b/google-stubs/ads/googleads/v13/common/types/asset_usage.pyi index c4dac2a28..d8226b291 100644 --- a/google-stubs/ads/googleads/v13/common/types/asset_usage.pyi +++ b/google-stubs/ads/googleads/v13/common/types/asset_usage.pyi @@ -1,17 +1,21 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.served_asset_field_type import ( ServedAssetFieldTypeEnum, ) +_M = TypeVar("_M") + class AssetUsage(proto.Message): asset: str served_asset_field_type: ServedAssetFieldTypeEnum.ServedAssetFieldType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., asset: str = ..., diff --git a/google-stubs/ads/googleads/v13/common/types/audiences.pyi b/google-stubs/ads/googleads/v13/common/types/audiences.pyi index f460379a1..2ba3a5c5d 100644 --- a/google-stubs/ads/googleads/v13/common/types/audiences.pyi +++ b/google-stubs/ads/googleads/v13/common/types/audiences.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.gender_type import GenderTypeEnum @@ -9,12 +10,14 @@ from google.ads.googleads.v13.enums.types.parental_status_type import ( ParentalStatusTypeEnum, ) +_M = TypeVar("_M") + class AgeDimension(proto.Message): age_ranges: MutableSequence[AgeSegment] include_undetermined: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., age_ranges: MutableSequence[AgeSegment] = ..., @@ -25,8 +28,8 @@ class AgeSegment(proto.Message): min_age: int max_age: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., min_age: int = ..., @@ -40,8 +43,8 @@ class AudienceDimension(proto.Message): parental_status: ParentalStatusDimension audience_segments: AudienceSegmentDimension def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., age: AgeDimension = ..., @@ -54,8 +57,8 @@ class AudienceDimension(proto.Message): class AudienceExclusionDimension(proto.Message): exclusions: MutableSequence[ExclusionSegment] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., exclusions: MutableSequence[ExclusionSegment] = ... @@ -68,8 +71,8 @@ class AudienceSegment(proto.Message): detailed_demographic: DetailedDemographicSegment custom_audience: CustomAudienceSegment def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., user_list: UserListSegment = ..., @@ -82,8 +85,8 @@ class AudienceSegment(proto.Message): class AudienceSegmentDimension(proto.Message): segments: MutableSequence[AudienceSegment] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., segments: MutableSequence[AudienceSegment] = ... @@ -92,8 +95,8 @@ class AudienceSegmentDimension(proto.Message): class CustomAudienceSegment(proto.Message): custom_audience: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., custom_audience: str = ... @@ -102,8 +105,8 @@ class CustomAudienceSegment(proto.Message): class DetailedDemographicSegment(proto.Message): detailed_demographic: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., detailed_demographic: str = ... @@ -112,8 +115,8 @@ class DetailedDemographicSegment(proto.Message): class ExclusionSegment(proto.Message): user_list: UserListSegment def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., user_list: UserListSegment = ... @@ -123,8 +126,8 @@ class GenderDimension(proto.Message): genders: MutableSequence[GenderTypeEnum.GenderType] include_undetermined: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., genders: MutableSequence[GenderTypeEnum.GenderType] = ..., @@ -135,8 +138,8 @@ class HouseholdIncomeDimension(proto.Message): income_ranges: MutableSequence[IncomeRangeTypeEnum.IncomeRangeType] include_undetermined: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., income_ranges: MutableSequence[IncomeRangeTypeEnum.IncomeRangeType] = ..., @@ -146,8 +149,8 @@ class HouseholdIncomeDimension(proto.Message): class LifeEventSegment(proto.Message): life_event: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., life_event: str = ... @@ -157,8 +160,8 @@ class ParentalStatusDimension(proto.Message): parental_statuses: MutableSequence[ParentalStatusTypeEnum.ParentalStatusType] include_undetermined: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., parental_statuses: MutableSequence[ @@ -170,8 +173,8 @@ class ParentalStatusDimension(proto.Message): class UserInterestSegment(proto.Message): user_interest_category: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., user_interest_category: str = ... @@ -180,8 +183,8 @@ class UserInterestSegment(proto.Message): class UserListSegment(proto.Message): user_list: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., user_list: str = ... diff --git a/google-stubs/ads/googleads/v13/common/types/bidding.pyi b/google-stubs/ads/googleads/v13/common/types/bidding.pyi index 728fa7dfe..bc01292a4 100644 --- a/google-stubs/ads/googleads/v13/common/types/bidding.pyi +++ b/google-stubs/ads/googleads/v13/common/types/bidding.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.target_frequency_time_unit import ( @@ -9,11 +11,13 @@ from google.ads.googleads.v13.enums.types.target_impression_share_location impor TargetImpressionShareLocationEnum, ) +_M = TypeVar("_M") + class Commission(proto.Message): commission_rate_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., commission_rate_micros: int = ..., @@ -21,8 +25,8 @@ class Commission(proto.Message): class EnhancedCpc(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -30,8 +34,8 @@ class EnhancedCpc(proto.Message): class ManualCpa(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -40,8 +44,8 @@ class ManualCpa(proto.Message): class ManualCpc(proto.Message): enhanced_cpc_enabled: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., enhanced_cpc_enabled: bool = ..., @@ -49,8 +53,8 @@ class ManualCpc(proto.Message): class ManualCpm(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -58,8 +62,8 @@ class ManualCpm(proto.Message): class ManualCpv(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -70,8 +74,8 @@ class MaximizeConversionValue(proto.Message): cpc_bid_ceiling_micros: int cpc_bid_floor_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_roas: float = ..., @@ -84,8 +88,8 @@ class MaximizeConversions(proto.Message): cpc_bid_floor_micros: int target_cpa_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., cpc_bid_ceiling_micros: int = ..., @@ -97,8 +101,8 @@ class PercentCpc(proto.Message): cpc_bid_ceiling_micros: int enhanced_cpc_enabled: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., cpc_bid_ceiling_micros: int = ..., @@ -110,8 +114,8 @@ class TargetCpa(proto.Message): cpc_bid_ceiling_micros: int cpc_bid_floor_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_cpa_micros: int = ..., @@ -122,8 +126,8 @@ class TargetCpa(proto.Message): class TargetCpm(proto.Message): target_frequency_goal: TargetCpmTargetFrequencyGoal def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_frequency_goal: TargetCpmTargetFrequencyGoal = ..., @@ -133,8 +137,8 @@ class TargetCpmTargetFrequencyGoal(proto.Message): target_count: int time_unit: TargetFrequencyTimeUnitEnum.TargetFrequencyTimeUnit def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_count: int = ..., @@ -146,8 +150,8 @@ class TargetImpressionShare(proto.Message): location_fraction_micros: int cpc_bid_ceiling_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., location: TargetImpressionShareLocationEnum.TargetImpressionShareLocation = ..., @@ -160,8 +164,8 @@ class TargetRoas(proto.Message): cpc_bid_ceiling_micros: int cpc_bid_floor_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_roas: float = ..., @@ -173,8 +177,8 @@ class TargetSpend(proto.Message): target_spend_micros: int cpc_bid_ceiling_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_spend_micros: int = ..., diff --git a/google-stubs/ads/googleads/v13/common/types/click_location.pyi b/google-stubs/ads/googleads/v13/common/types/click_location.pyi index 542053fca..c2fbb2f75 100644 --- a/google-stubs/ads/googleads/v13/common/types/click_location.pyi +++ b/google-stubs/ads/googleads/v13/common/types/click_location.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ClickLocation(proto.Message): city: str country: str @@ -9,8 +13,8 @@ class ClickLocation(proto.Message): most_specific: str region: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., city: str = ..., diff --git a/google-stubs/ads/googleads/v13/common/types/criteria.pyi b/google-stubs/ads/googleads/v13/common/types/criteria.pyi index 73ab21b1d..f295bed9b 100644 --- a/google-stubs/ads/googleads/v13/common/types/criteria.pyi +++ b/google-stubs/ads/googleads/v13/common/types/criteria.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.age_range_type import AgeRangeTypeEnum @@ -47,11 +48,13 @@ from google.ads.googleads.v13.enums.types.webpage_condition_operator import ( WebpageConditionOperatorEnum, ) +_M = TypeVar("_M") + class ActivityCountryInfo(proto.Message): value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: str = ..., @@ -60,8 +63,8 @@ class ActivityCountryInfo(proto.Message): class ActivityIdInfo(proto.Message): value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: str = ..., @@ -70,8 +73,8 @@ class ActivityIdInfo(proto.Message): class ActivityRatingInfo(proto.Message): value: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: int = ..., @@ -84,8 +87,8 @@ class AdScheduleInfo(proto.Message): end_hour: int day_of_week: DayOfWeekEnum.DayOfWeek def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., start_minute: MinuteOfHourEnum.MinuteOfHour = ..., @@ -104,8 +107,8 @@ class AddressInfo(proto.Message): street_address2: str city_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., postal_code: str = ..., @@ -120,8 +123,8 @@ class AddressInfo(proto.Message): class AgeRangeInfo(proto.Message): type_: AgeRangeTypeEnum.AgeRangeType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., type_: AgeRangeTypeEnum.AgeRangeType = ..., @@ -130,8 +133,8 @@ class AgeRangeInfo(proto.Message): class AppPaymentModelInfo(proto.Message): type_: AppPaymentModelTypeEnum.AppPaymentModelType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., type_: AppPaymentModelTypeEnum.AppPaymentModelType = ..., @@ -140,8 +143,8 @@ class AppPaymentModelInfo(proto.Message): class AudienceInfo(proto.Message): audience: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., audience: str = ..., @@ -150,8 +153,8 @@ class AudienceInfo(proto.Message): class CarrierInfo(proto.Message): carrier_constant: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., carrier_constant: str = ..., @@ -160,8 +163,8 @@ class CarrierInfo(proto.Message): class CombinedAudienceInfo(proto.Message): combined_audience: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., combined_audience: str = ..., @@ -170,8 +173,8 @@ class CombinedAudienceInfo(proto.Message): class ContentLabelInfo(proto.Message): type_: ContentLabelTypeEnum.ContentLabelType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., type_: ContentLabelTypeEnum.ContentLabelType = ..., @@ -180,8 +183,8 @@ class ContentLabelInfo(proto.Message): class CustomAffinityInfo(proto.Message): custom_affinity: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., custom_affinity: str = ..., @@ -190,8 +193,8 @@ class CustomAffinityInfo(proto.Message): class CustomAudienceInfo(proto.Message): custom_audience: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., custom_audience: str = ..., @@ -200,8 +203,8 @@ class CustomAudienceInfo(proto.Message): class CustomIntentInfo(proto.Message): custom_intent: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., custom_intent: str = ..., @@ -210,8 +213,8 @@ class CustomIntentInfo(proto.Message): class DeviceInfo(proto.Message): type_: DeviceEnum.Device def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., type_: DeviceEnum.Device = ..., @@ -220,8 +223,8 @@ class DeviceInfo(proto.Message): class GenderInfo(proto.Message): type_: GenderTypeEnum.GenderType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., type_: GenderTypeEnum.GenderType = ..., @@ -231,8 +234,8 @@ class GeoPointInfo(proto.Message): longitude_in_micro_degrees: int latitude_in_micro_degrees: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., longitude_in_micro_degrees: int = ..., @@ -243,8 +246,8 @@ class HotelAdvanceBookingWindowInfo(proto.Message): min_days: int max_days: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., min_days: int = ..., @@ -255,8 +258,8 @@ class HotelCheckInDateRangeInfo(proto.Message): start_date: str end_date: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., start_date: str = ..., @@ -266,8 +269,8 @@ class HotelCheckInDateRangeInfo(proto.Message): class HotelCheckInDayInfo(proto.Message): day_of_week: DayOfWeekEnum.DayOfWeek def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., day_of_week: DayOfWeekEnum.DayOfWeek = ..., @@ -276,8 +279,8 @@ class HotelCheckInDayInfo(proto.Message): class HotelCityInfo(proto.Message): city_criterion: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., city_criterion: str = ..., @@ -286,8 +289,8 @@ class HotelCityInfo(proto.Message): class HotelClassInfo(proto.Message): value: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: int = ..., @@ -296,8 +299,8 @@ class HotelClassInfo(proto.Message): class HotelCountryRegionInfo(proto.Message): country_region_criterion: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., country_region_criterion: str = ..., @@ -306,8 +309,8 @@ class HotelCountryRegionInfo(proto.Message): class HotelDateSelectionTypeInfo(proto.Message): type_: HotelDateSelectionTypeEnum.HotelDateSelectionType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., type_: HotelDateSelectionTypeEnum.HotelDateSelectionType = ..., @@ -316,8 +319,8 @@ class HotelDateSelectionTypeInfo(proto.Message): class HotelIdInfo(proto.Message): value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: str = ..., @@ -327,8 +330,8 @@ class HotelLengthOfStayInfo(proto.Message): min_nights: int max_nights: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., min_nights: int = ..., @@ -338,8 +341,8 @@ class HotelLengthOfStayInfo(proto.Message): class HotelStateInfo(proto.Message): state_criterion: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., state_criterion: str = ..., @@ -348,8 +351,8 @@ class HotelStateInfo(proto.Message): class IncomeRangeInfo(proto.Message): type_: IncomeRangeTypeEnum.IncomeRangeType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., type_: IncomeRangeTypeEnum.IncomeRangeType = ..., @@ -358,8 +361,8 @@ class IncomeRangeInfo(proto.Message): class InteractionTypeInfo(proto.Message): type_: InteractionTypeEnum.InteractionType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., type_: InteractionTypeEnum.InteractionType = ..., @@ -368,8 +371,8 @@ class InteractionTypeInfo(proto.Message): class IpBlockInfo(proto.Message): ip_address: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ip_address: str = ..., @@ -379,8 +382,8 @@ class KeywordInfo(proto.Message): text: str match_type: KeywordMatchTypeEnum.KeywordMatchType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., text: str = ..., @@ -391,8 +394,8 @@ class KeywordThemeInfo(proto.Message): keyword_theme_constant: str free_form_keyword_theme: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., keyword_theme_constant: str = ..., @@ -402,8 +405,8 @@ class KeywordThemeInfo(proto.Message): class LanguageInfo(proto.Message): language_constant: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., language_constant: str = ..., @@ -432,8 +435,8 @@ class ListingDimensionInfo(proto.Message): activity_country: ActivityCountryInfo unknown_listing_dimension: UnknownListingDimensionInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., hotel_id: HotelIdInfo = ..., @@ -464,8 +467,8 @@ class ListingGroupInfo(proto.Message): case_value: ListingDimensionInfo parent_ad_group_criterion: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., type_: ListingGroupTypeEnum.ListingGroupType = ..., @@ -476,8 +479,8 @@ class ListingGroupInfo(proto.Message): class ListingScopeInfo(proto.Message): dimensions: MutableSequence[ListingDimensionInfo] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., dimensions: MutableSequence[ListingDimensionInfo] = ..., @@ -486,8 +489,8 @@ class ListingScopeInfo(proto.Message): class LocalServiceIdInfo(proto.Message): service_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., service_id: str = ..., @@ -502,8 +505,8 @@ class LocationGroupInfo(proto.Message): enable_customer_level_location_asset_set: bool location_group_asset_sets: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., feed: str = ..., @@ -518,8 +521,8 @@ class LocationGroupInfo(proto.Message): class LocationInfo(proto.Message): geo_target_constant: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., geo_target_constant: str = ..., @@ -528,8 +531,8 @@ class LocationInfo(proto.Message): class MobileAppCategoryInfo(proto.Message): mobile_app_category_constant: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., mobile_app_category_constant: str = ..., @@ -539,8 +542,8 @@ class MobileApplicationInfo(proto.Message): app_id: str name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., app_id: str = ..., @@ -550,8 +553,8 @@ class MobileApplicationInfo(proto.Message): class MobileDeviceInfo(proto.Message): mobile_device_constant: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., mobile_device_constant: str = ..., @@ -560,8 +563,8 @@ class MobileDeviceInfo(proto.Message): class OperatingSystemVersionInfo(proto.Message): operating_system_version_constant: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., operating_system_version_constant: str = ..., @@ -570,8 +573,8 @@ class OperatingSystemVersionInfo(proto.Message): class ParentalStatusInfo(proto.Message): type_: ParentalStatusTypeEnum.ParentalStatusType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., type_: ParentalStatusTypeEnum.ParentalStatusType = ..., @@ -580,8 +583,8 @@ class ParentalStatusInfo(proto.Message): class PlacementInfo(proto.Message): url: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., url: str = ..., @@ -591,8 +594,8 @@ class ProductBiddingCategoryInfo(proto.Message): id: int level: ProductBiddingCategoryLevelEnum.ProductBiddingCategoryLevel def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., id: int = ..., @@ -602,8 +605,8 @@ class ProductBiddingCategoryInfo(proto.Message): class ProductBrandInfo(proto.Message): value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: str = ..., @@ -612,8 +615,8 @@ class ProductBrandInfo(proto.Message): class ProductChannelExclusivityInfo(proto.Message): channel_exclusivity: ProductChannelExclusivityEnum.ProductChannelExclusivity def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., channel_exclusivity: ProductChannelExclusivityEnum.ProductChannelExclusivity = ..., @@ -622,8 +625,8 @@ class ProductChannelExclusivityInfo(proto.Message): class ProductChannelInfo(proto.Message): channel: ProductChannelEnum.ProductChannel def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., channel: ProductChannelEnum.ProductChannel = ..., @@ -632,8 +635,8 @@ class ProductChannelInfo(proto.Message): class ProductConditionInfo(proto.Message): condition: ProductConditionEnum.ProductCondition def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., condition: ProductConditionEnum.ProductCondition = ..., @@ -643,8 +646,8 @@ class ProductCustomAttributeInfo(proto.Message): value: str index: ProductCustomAttributeIndexEnum.ProductCustomAttributeIndex def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: str = ..., @@ -654,8 +657,8 @@ class ProductCustomAttributeInfo(proto.Message): class ProductGroupingInfo(proto.Message): value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: str = ..., @@ -664,8 +667,8 @@ class ProductGroupingInfo(proto.Message): class ProductItemIdInfo(proto.Message): value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: str = ..., @@ -674,8 +677,8 @@ class ProductItemIdInfo(proto.Message): class ProductLabelsInfo(proto.Message): value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: str = ..., @@ -684,8 +687,8 @@ class ProductLabelsInfo(proto.Message): class ProductLegacyConditionInfo(proto.Message): value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: str = ..., @@ -694,8 +697,8 @@ class ProductLegacyConditionInfo(proto.Message): class ProductTypeFullInfo(proto.Message): value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: str = ..., @@ -705,8 +708,8 @@ class ProductTypeInfo(proto.Message): value: str level: ProductTypeLevelEnum.ProductTypeLevel def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: str = ..., @@ -719,8 +722,8 @@ class ProximityInfo(proto.Message): radius_units: ProximityRadiusUnitsEnum.ProximityRadiusUnits address: AddressInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., geo_point: GeoPointInfo = ..., @@ -733,8 +736,8 @@ class TopicInfo(proto.Message): topic_constant: str path: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., topic_constant: str = ..., @@ -743,8 +746,8 @@ class TopicInfo(proto.Message): class UnknownListingDimensionInfo(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -753,8 +756,8 @@ class UnknownListingDimensionInfo(proto.Message): class UserInterestInfo(proto.Message): user_interest_category: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., user_interest_category: str = ..., @@ -763,8 +766,8 @@ class UserInterestInfo(proto.Message): class UserListInfo(proto.Message): user_list: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., user_list: str = ..., @@ -775,8 +778,8 @@ class WebpageConditionInfo(proto.Message): operator: WebpageConditionOperatorEnum.WebpageConditionOperator argument: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., operand: WebpageConditionOperandEnum.WebpageConditionOperand = ..., @@ -790,8 +793,8 @@ class WebpageInfo(proto.Message): coverage_percentage: float sample: WebpageSampleInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., criterion_name: str = ..., @@ -803,8 +806,8 @@ class WebpageInfo(proto.Message): class WebpageSampleInfo(proto.Message): sample_urls: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., sample_urls: MutableSequence[str] = ..., @@ -813,8 +816,8 @@ class WebpageSampleInfo(proto.Message): class YouTubeChannelInfo(proto.Message): channel_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., channel_id: str = ..., @@ -823,8 +826,8 @@ class YouTubeChannelInfo(proto.Message): class YouTubeVideoInfo(proto.Message): video_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., video_id: str = ..., diff --git a/google-stubs/ads/googleads/v13/common/types/criterion_category_availability.pyi b/google-stubs/ads/googleads/v13/common/types/criterion_category_availability.pyi index c17349d58..cf2e305cd 100644 --- a/google-stubs/ads/googleads/v13/common/types/criterion_category_availability.pyi +++ b/google-stubs/ads/googleads/v13/common/types/criterion_category_availability.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.advertising_channel_sub_type import ( @@ -16,12 +17,14 @@ from google.ads.googleads.v13.enums.types.criterion_category_locale_availability CriterionCategoryLocaleAvailabilityModeEnum, ) +_M = TypeVar("_M") + class CriterionCategoryAvailability(proto.Message): channel: CriterionCategoryChannelAvailability locale: MutableSequence[CriterionCategoryLocaleAvailability] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., channel: CriterionCategoryChannelAvailability = ..., @@ -36,8 +39,8 @@ class CriterionCategoryChannelAvailability(proto.Message): ] include_default_channel_sub_type: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., availability_mode: CriterionCategoryChannelAvailabilityModeEnum.CriterionCategoryChannelAvailabilityMode = ..., @@ -53,8 +56,8 @@ class CriterionCategoryLocaleAvailability(proto.Message): country_code: str language_code: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., availability_mode: CriterionCategoryLocaleAvailabilityModeEnum.CriterionCategoryLocaleAvailabilityMode = ..., diff --git a/google-stubs/ads/googleads/v13/common/types/custom_parameter.pyi b/google-stubs/ads/googleads/v13/common/types/custom_parameter.pyi index 2873198d2..a6e0359e9 100644 --- a/google-stubs/ads/googleads/v13/common/types/custom_parameter.pyi +++ b/google-stubs/ads/googleads/v13/common/types/custom_parameter.pyi @@ -1,13 +1,17 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomParameter(proto.Message): key: str value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., key: str = ..., diff --git a/google-stubs/ads/googleads/v13/common/types/customizer_value.pyi b/google-stubs/ads/googleads/v13/common/types/customizer_value.pyi index cb2e3b596..d5c29b0d3 100644 --- a/google-stubs/ads/googleads/v13/common/types/customizer_value.pyi +++ b/google-stubs/ads/googleads/v13/common/types/customizer_value.pyi @@ -1,17 +1,21 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.customizer_attribute_type import ( CustomizerAttributeTypeEnum, ) +_M = TypeVar("_M") + class CustomizerValue(proto.Message): type_: CustomizerAttributeTypeEnum.CustomizerAttributeType string_value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., type_: CustomizerAttributeTypeEnum.CustomizerAttributeType = ..., diff --git a/google-stubs/ads/googleads/v13/common/types/dates.pyi b/google-stubs/ads/googleads/v13/common/types/dates.pyi index 805ec20d6..27d23ffb6 100644 --- a/google-stubs/ads/googleads/v13/common/types/dates.pyi +++ b/google-stubs/ads/googleads/v13/common/types/dates.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.month_of_year import MonthOfYearEnum +_M = TypeVar("_M") + class DateRange(proto.Message): start_date: str end_date: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., start_date: str = ..., @@ -20,8 +24,8 @@ class YearMonth(proto.Message): year: int month: MonthOfYearEnum.MonthOfYear def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., year: int = ..., @@ -32,8 +36,8 @@ class YearMonthRange(proto.Message): start: YearMonth end: YearMonth def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., start: YearMonth = ..., diff --git a/google-stubs/ads/googleads/v13/common/types/extensions.pyi b/google-stubs/ads/googleads/v13/common/types/extensions.pyi index 793a0df6c..997d418f8 100644 --- a/google-stubs/ads/googleads/v13/common/types/extensions.pyi +++ b/google-stubs/ads/googleads/v13/common/types/extensions.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.custom_parameter import CustomParameter @@ -25,6 +26,8 @@ from google.ads.googleads.v13.enums.types.promotion_extension_occasion import ( PromotionExtensionOccasionEnum, ) +_M = TypeVar("_M") + class AffiliateLocationFeedItem(proto.Message): business_name: str address_line_1: str @@ -37,8 +40,8 @@ class AffiliateLocationFeedItem(proto.Message): chain_id: int chain_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., business_name: str = ..., @@ -63,8 +66,8 @@ class AppFeedItem(proto.Message): url_custom_parameters: MutableSequence[CustomParameter] final_url_suffix: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., link_text: str = ..., @@ -85,8 +88,8 @@ class CallFeedItem(proto.Message): call_conversion_tracking_disabled: bool call_conversion_reporting_state: CallConversionReportingStateEnum.CallConversionReportingState def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., phone_number: str = ..., @@ -100,8 +103,8 @@ class CallFeedItem(proto.Message): class CalloutFeedItem(proto.Message): callout_text: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., callout_text: str = ... @@ -111,8 +114,8 @@ class HotelCalloutFeedItem(proto.Message): text: str language_code: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., text: str = ..., @@ -122,8 +125,8 @@ class HotelCalloutFeedItem(proto.Message): class ImageFeedItem(proto.Message): image_asset: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., image_asset: str = ... @@ -139,8 +142,8 @@ class LocationFeedItem(proto.Message): country_code: str phone_number: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., business_name: str = ..., @@ -161,8 +164,8 @@ class PriceFeedItem(proto.Message): price_offerings: MutableSequence[PriceOffer] final_url_suffix: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., type_: PriceExtensionTypeEnum.PriceExtensionType = ..., @@ -181,8 +184,8 @@ class PriceOffer(proto.Message): final_urls: MutableSequence[str] final_mobile_urls: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., header: str = ..., @@ -210,8 +213,8 @@ class PromotionFeedItem(proto.Message): promotion_code: str orders_over_amount: Money def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., promotion_target: str = ..., @@ -241,8 +244,8 @@ class SitelinkFeedItem(proto.Message): url_custom_parameters: MutableSequence[CustomParameter] final_url_suffix: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., link_text: str = ..., @@ -259,8 +262,8 @@ class StructuredSnippetFeedItem(proto.Message): header: str values: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., header: str = ..., @@ -274,8 +277,8 @@ class TextMessageFeedItem(proto.Message): text: str extension_text: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., business_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/common/types/feed_common.pyi b/google-stubs/ads/googleads/v13/common/types/feed_common.pyi index 680ccbb5c..4a82676bf 100644 --- a/google-stubs/ads/googleads/v13/common/types/feed_common.pyi +++ b/google-stubs/ads/googleads/v13/common/types/feed_common.pyi @@ -1,13 +1,17 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class Money(proto.Message): currency_code: str amount_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., currency_code: str = ..., diff --git a/google-stubs/ads/googleads/v13/common/types/feed_item_set_filter_type_infos.pyi b/google-stubs/ads/googleads/v13/common/types/feed_item_set_filter_type_infos.pyi index 696b94874..6635ef6f0 100644 --- a/google-stubs/ads/googleads/v13/common/types/feed_item_set_filter_type_infos.pyi +++ b/google-stubs/ads/googleads/v13/common/types/feed_item_set_filter_type_infos.pyi @@ -1,18 +1,21 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.feed_item_set_string_filter_type import ( FeedItemSetStringFilterTypeEnum, ) +_M = TypeVar("_M") + class BusinessNameFilter(proto.Message): business_name: str filter_type: FeedItemSetStringFilterTypeEnum.FeedItemSetStringFilterType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., business_name: str = ..., @@ -22,8 +25,8 @@ class BusinessNameFilter(proto.Message): class DynamicAffiliateLocationSetFilter(proto.Message): chain_ids: MutableSequence[int] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., chain_ids: MutableSequence[int] = ... @@ -33,8 +36,8 @@ class DynamicLocationSetFilter(proto.Message): labels: MutableSequence[str] business_name_filter: BusinessNameFilter def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., labels: MutableSequence[str] = ..., diff --git a/google-stubs/ads/googleads/v13/common/types/final_app_url.pyi b/google-stubs/ads/googleads/v13/common/types/final_app_url.pyi index 64e58f7e4..f7e68ceb3 100644 --- a/google-stubs/ads/googleads/v13/common/types/final_app_url.pyi +++ b/google-stubs/ads/googleads/v13/common/types/final_app_url.pyi @@ -1,17 +1,21 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.app_url_operating_system_type import ( AppUrlOperatingSystemTypeEnum, ) +_M = TypeVar("_M") + class FinalAppUrl(proto.Message): os_type: AppUrlOperatingSystemTypeEnum.AppUrlOperatingSystemType url: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., os_type: AppUrlOperatingSystemTypeEnum.AppUrlOperatingSystemType = ..., diff --git a/google-stubs/ads/googleads/v13/common/types/frequency_cap.pyi b/google-stubs/ads/googleads/v13/common/types/frequency_cap.pyi index 0ce0c2c03..b5b923fd1 100644 --- a/google-stubs/ads/googleads/v13/common/types/frequency_cap.pyi +++ b/google-stubs/ads/googleads/v13/common/types/frequency_cap.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.frequency_cap_event_type import ( @@ -12,12 +14,14 @@ from google.ads.googleads.v13.enums.types.frequency_cap_time_unit import ( FrequencyCapTimeUnitEnum, ) +_M = TypeVar("_M") + class FrequencyCapEntry(proto.Message): key: FrequencyCapKey cap: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., key: FrequencyCapKey = ..., @@ -30,8 +34,8 @@ class FrequencyCapKey(proto.Message): time_unit: FrequencyCapTimeUnitEnum.FrequencyCapTimeUnit time_length: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., level: FrequencyCapLevelEnum.FrequencyCapLevel = ..., diff --git a/google-stubs/ads/googleads/v13/common/types/keyword_plan_common.pyi b/google-stubs/ads/googleads/v13/common/types/keyword_plan_common.pyi index 9b059e3a9..b94afb010 100644 --- a/google-stubs/ads/googleads/v13/common/types/keyword_plan_common.pyi +++ b/google-stubs/ads/googleads/v13/common/types/keyword_plan_common.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.dates import YearMonthRange @@ -16,12 +17,14 @@ from google.ads.googleads.v13.enums.types.keyword_plan_concept_group_type import ) from google.ads.googleads.v13.enums.types.month_of_year import MonthOfYearEnum +_M = TypeVar("_M") + class ConceptGroup(proto.Message): name: str type_: KeywordPlanConceptGroupTypeEnum.KeywordPlanConceptGroupType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., name: str = ..., @@ -32,8 +35,8 @@ class HistoricalMetricsOptions(proto.Message): year_month_range: YearMonthRange include_average_cpc: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., year_month_range: YearMonthRange = ..., @@ -43,8 +46,8 @@ class HistoricalMetricsOptions(proto.Message): class KeywordAnnotations(proto.Message): concepts: MutableSequence[KeywordConcept] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., concepts: MutableSequence[KeywordConcept] = ... @@ -54,8 +57,8 @@ class KeywordConcept(proto.Message): name: str concept_group: ConceptGroup def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., name: str = ..., @@ -65,8 +68,8 @@ class KeywordConcept(proto.Message): class KeywordPlanAggregateMetricResults(proto.Message): device_searches: MutableSequence[KeywordPlanDeviceSearches] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., device_searches: MutableSequence[KeywordPlanDeviceSearches] = ... @@ -77,8 +80,8 @@ class KeywordPlanAggregateMetrics(proto.Message): KeywordPlanAggregateMetricTypeEnum.KeywordPlanAggregateMetricType ] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., aggregate_metric_types: MutableSequence[ @@ -90,8 +93,8 @@ class KeywordPlanDeviceSearches(proto.Message): device: DeviceEnum.Device search_count: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., device: DeviceEnum.Device = ..., @@ -107,8 +110,8 @@ class KeywordPlanHistoricalMetrics(proto.Message): high_top_of_page_bid_micros: int average_cpc_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., avg_monthly_searches: int = ..., @@ -125,8 +128,8 @@ class MonthlySearchVolume(proto.Message): month: MonthOfYearEnum.MonthOfYear monthly_searches: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., year: int = ..., diff --git a/google-stubs/ads/googleads/v13/common/types/matching_function.pyi b/google-stubs/ads/googleads/v13/common/types/matching_function.pyi index 10094224e..f24278824 100644 --- a/google-stubs/ads/googleads/v13/common/types/matching_function.pyi +++ b/google-stubs/ads/googleads/v13/common/types/matching_function.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.matching_function_context_type import ( @@ -10,14 +11,16 @@ from google.ads.googleads.v13.enums.types.matching_function_operator import ( MatchingFunctionOperatorEnum, ) +_M = TypeVar("_M") + class MatchingFunction(proto.Message): function_string: str operator: MatchingFunctionOperatorEnum.MatchingFunctionOperator left_operands: MutableSequence[Operand] right_operands: MutableSequence[Operand] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., function_string: str = ..., @@ -33,8 +36,8 @@ class Operand(proto.Message): boolean_value: bool double_value: float def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., string_value: str = ..., @@ -47,8 +50,8 @@ class Operand(proto.Message): feed_id: int feed_attribute_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., feed_id: int = ..., @@ -58,8 +61,8 @@ class Operand(proto.Message): class FunctionOperand(proto.Message): matching_function: MatchingFunction def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., matching_function: MatchingFunction = ... @@ -68,8 +71,8 @@ class Operand(proto.Message): class RequestContextOperand(proto.Message): context_type: MatchingFunctionContextTypeEnum.MatchingFunctionContextType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., context_type: MatchingFunctionContextTypeEnum.MatchingFunctionContextType = ... @@ -79,8 +82,8 @@ class Operand(proto.Message): function_operand: Operand.FunctionOperand request_context_operand: Operand.RequestContextOperand def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., constant_operand: Operand.ConstantOperand = ..., diff --git a/google-stubs/ads/googleads/v13/common/types/metric_goal.pyi b/google-stubs/ads/googleads/v13/common/types/metric_goal.pyi index 22f263d47..504fd3d47 100644 --- a/google-stubs/ads/googleads/v13/common/types/metric_goal.pyi +++ b/google-stubs/ads/googleads/v13/common/types/metric_goal.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.experiment_metric import ExperimentMetricEnum @@ -7,12 +9,14 @@ from google.ads.googleads.v13.enums.types.experiment_metric_direction import ( ExperimentMetricDirectionEnum, ) +_M = TypeVar("_M") + class MetricGoal(proto.Message): metric: ExperimentMetricEnum.ExperimentMetric direction: ExperimentMetricDirectionEnum.ExperimentMetricDirection def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., metric: ExperimentMetricEnum.ExperimentMetric = ..., diff --git a/google-stubs/ads/googleads/v13/common/types/metrics.pyi b/google-stubs/ads/googleads/v13/common/types/metrics.pyi index e99fb0f76..e72387fc3 100644 --- a/google-stubs/ads/googleads/v13/common/types/metrics.pyi +++ b/google-stubs/ads/googleads/v13/common/types/metrics.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.interaction_event_type import ( @@ -10,6 +11,8 @@ from google.ads.googleads.v13.enums.types.quality_score_bucket import ( QualityScoreBucketEnum, ) +_M = TypeVar("_M") + class Metrics(proto.Message): absolute_top_impression_percentage: float active_view_cpm: float @@ -165,8 +168,8 @@ class Metrics(proto.Message): view_through_conversions_from_location_asset_store_visits: float view_through_conversions_from_location_asset_website: float def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., absolute_top_impression_percentage: float = ..., diff --git a/google-stubs/ads/googleads/v13/common/types/offline_user_data.pyi b/google-stubs/ads/googleads/v13/common/types/offline_user_data.pyi index ab8a3599a..8b1290171 100644 --- a/google-stubs/ads/googleads/v13/common/types/offline_user_data.pyi +++ b/google-stubs/ads/googleads/v13/common/types/offline_user_data.pyi @@ -1,17 +1,20 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.user_identifier_source import ( UserIdentifierSourceEnum, ) +_M = TypeVar("_M") + class CustomerMatchUserListMetadata(proto.Message): user_list: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., user_list: str = ... @@ -22,8 +25,8 @@ class EventAttribute(proto.Message): event_date_time: str item_attribute: MutableSequence[EventItemAttribute] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., event: str = ..., @@ -34,8 +37,8 @@ class EventAttribute(proto.Message): class EventItemAttribute(proto.Message): item_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., item_id: str = ... @@ -48,8 +51,8 @@ class ItemAttribute(proto.Message): language_code: str quantity: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., item_id: str = ..., @@ -68,8 +71,8 @@ class OfflineUserAddressInfo(proto.Message): postal_code: str hashed_street_address: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., hashed_first_name: str = ..., @@ -84,8 +87,8 @@ class OfflineUserAddressInfo(proto.Message): class ShoppingLoyalty(proto.Message): loyalty_tier: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., loyalty_tier: str = ... @@ -94,8 +97,8 @@ class ShoppingLoyalty(proto.Message): class StoreAttribute(proto.Message): store_code: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., store_code: str = ... @@ -107,8 +110,8 @@ class StoreSalesMetadata(proto.Message): custom_key: str third_party_metadata: StoreSalesThirdPartyMetadata def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., loyalty_fraction: float = ..., @@ -125,8 +128,8 @@ class StoreSalesThirdPartyMetadata(proto.Message): bridge_map_version_id: str partner_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., advertiser_upload_date_time: str = ..., @@ -147,8 +150,8 @@ class TransactionAttribute(proto.Message): custom_value: str item_attribute: ItemAttribute def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., transaction_date_time: str = ..., @@ -173,8 +176,8 @@ class UserAttribute(proto.Message): first_purchase_date_time: str event_attribute: MutableSequence[EventAttribute] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., lifetime_value_micros: int = ..., @@ -194,8 +197,8 @@ class UserData(proto.Message): transaction_attribute: TransactionAttribute user_attribute: UserAttribute def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., user_identifiers: MutableSequence[UserIdentifier] = ..., @@ -211,8 +214,8 @@ class UserIdentifier(proto.Message): third_party_user_id: str address_info: OfflineUserAddressInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., user_identifier_source: UserIdentifierSourceEnum.UserIdentifierSource = ..., diff --git a/google-stubs/ads/googleads/v13/common/types/policy.pyi b/google-stubs/ads/googleads/v13/common/types/policy.pyi index af96cd479..dec6be52e 100644 --- a/google-stubs/ads/googleads/v13/common/types/policy.pyi +++ b/google-stubs/ads/googleads/v13/common/types/policy.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.policy_topic_entry_type import ( @@ -16,12 +17,14 @@ from google.ads.googleads.v13.enums.types.policy_topic_evidence_destination_not_ PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum, ) +_M = TypeVar("_M") + class PolicyTopicConstraint(proto.Message): class CountryConstraint(proto.Message): country_criterion: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., country_criterion: str = ..., @@ -31,8 +34,8 @@ class PolicyTopicConstraint(proto.Message): total_targeted_countries: int countries: MutableSequence[PolicyTopicConstraint.CountryConstraint] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., total_targeted_countries: int = ..., @@ -41,8 +44,8 @@ class PolicyTopicConstraint(proto.Message): class ResellerConstraint(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -52,8 +55,8 @@ class PolicyTopicConstraint(proto.Message): certificate_missing_in_country_list: PolicyTopicConstraint.CountryConstraintList certificate_domain_mismatch_in_country_list: PolicyTopicConstraint.CountryConstraintList def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., country_constraint_list: PolicyTopicConstraint.CountryConstraintList = ..., @@ -68,8 +71,8 @@ class PolicyTopicEntry(proto.Message): evidences: MutableSequence[PolicyTopicEvidence] constraints: MutableSequence[PolicyTopicConstraint] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., topic: str = ..., @@ -84,8 +87,8 @@ class PolicyTopicEvidence(proto.Message): PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType ] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., url_types: MutableSequence[ @@ -100,8 +103,8 @@ class PolicyTopicEvidence(proto.Message): dns_error_type: PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum.PolicyTopicEvidenceDestinationNotWorkingDnsErrorType http_error_code: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., expanded_url: str = ..., @@ -114,8 +117,8 @@ class PolicyTopicEvidence(proto.Message): class DestinationTextList(proto.Message): destination_texts: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., destination_texts: MutableSequence[str] = ..., @@ -124,8 +127,8 @@ class PolicyTopicEvidence(proto.Message): class TextList(proto.Message): texts: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., texts: MutableSequence[str] = ..., @@ -134,8 +137,8 @@ class PolicyTopicEvidence(proto.Message): class WebsiteList(proto.Message): websites: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., websites: MutableSequence[str] = ..., @@ -147,8 +150,8 @@ class PolicyTopicEvidence(proto.Message): destination_mismatch: PolicyTopicEvidence.DestinationMismatch destination_not_working: PolicyTopicEvidence.DestinationNotWorking def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., website_list: PolicyTopicEvidence.WebsiteList = ..., @@ -163,8 +166,8 @@ class PolicyValidationParameter(proto.Message): ignorable_policy_topics: MutableSequence[str] exempt_policy_violation_keys: MutableSequence[PolicyViolationKey] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ignorable_policy_topics: MutableSequence[str] = ..., @@ -175,8 +178,8 @@ class PolicyViolationKey(proto.Message): policy_name: str violating_text: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., policy_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/common/types/policy_summary.pyi b/google-stubs/ads/googleads/v13/common/types/policy_summary.pyi index 980ecb50c..d26a29104 100644 --- a/google-stubs/ads/googleads/v13/common/types/policy_summary.pyi +++ b/google-stubs/ads/googleads/v13/common/types/policy_summary.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.policy import PolicyTopicEntry @@ -11,13 +12,15 @@ from google.ads.googleads.v13.enums.types.policy_review_status import ( PolicyReviewStatusEnum, ) +_M = TypeVar("_M") + class PolicySummary(proto.Message): policy_topic_entries: MutableSequence[PolicyTopicEntry] review_status: PolicyReviewStatusEnum.PolicyReviewStatus approval_status: PolicyApprovalStatusEnum.PolicyApprovalStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., policy_topic_entries: MutableSequence[PolicyTopicEntry] = ..., diff --git a/google-stubs/ads/googleads/v13/common/types/real_time_bidding_setting.pyi b/google-stubs/ads/googleads/v13/common/types/real_time_bidding_setting.pyi index f3e10ede5..598df1db3 100644 --- a/google-stubs/ads/googleads/v13/common/types/real_time_bidding_setting.pyi +++ b/google-stubs/ads/googleads/v13/common/types/real_time_bidding_setting.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class RealTimeBiddingSetting(proto.Message): opt_in: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., opt_in: bool = ... diff --git a/google-stubs/ads/googleads/v13/common/types/segments.pyi b/google-stubs/ads/googleads/v13/common/types/segments.pyi index 723289daa..8f5edf193 100644 --- a/google-stubs/ads/googleads/v13/common/types/segments.pyi +++ b/google-stubs/ads/googleads/v13/common/types/segments.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.criteria import KeywordInfo @@ -63,12 +65,14 @@ from google.ads.googleads.v13.enums.types.sk_ad_network_user_type import ( ) from google.ads.googleads.v13.enums.types.slot import SlotEnum +_M = TypeVar("_M") + class AssetInteractionTarget(proto.Message): asset: str interaction_on_this_asset: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., asset: str = ..., @@ -79,8 +83,8 @@ class BudgetCampaignAssociationStatus(proto.Message): campaign: str status: BudgetCampaignAssociationStatusEnum.BudgetCampaignAssociationStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., campaign: str = ..., @@ -91,8 +95,8 @@ class Keyword(proto.Message): ad_group_criterion: str info: KeywordInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad_group_criterion: str = ..., @@ -194,8 +198,8 @@ class Segments(proto.Message): sk_ad_network_attribution_credit: SkAdNetworkAttributionCreditEnum.SkAdNetworkAttributionCredit asset_interaction_target: AssetInteractionTarget def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., activity_account_id: int = ..., @@ -296,8 +300,8 @@ class Segments(proto.Message): class SkAdNetworkSourceApp(proto.Message): sk_ad_network_source_app_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., sk_ad_network_source_app_id: str = ... diff --git a/google-stubs/ads/googleads/v13/common/types/simulation.pyi b/google-stubs/ads/googleads/v13/common/types/simulation.pyi index a3cf914fa..1c51c958b 100644 --- a/google-stubs/ads/googleads/v13/common/types/simulation.pyi +++ b/google-stubs/ads/googleads/v13/common/types/simulation.pyi @@ -1,8 +1,11 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BidModifierSimulationPoint(proto.Message): bid_modifier: float biddable_conversions: float @@ -19,8 +22,8 @@ class BidModifierSimulationPoint(proto.Message): parent_top_slot_impressions: int parent_required_budget_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., bid_modifier: float = ..., @@ -42,8 +45,8 @@ class BidModifierSimulationPoint(proto.Message): class BidModifierSimulationPointList(proto.Message): points: MutableSequence[BidModifierSimulationPoint] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., points: MutableSequence[BidModifierSimulationPoint] = ... @@ -59,8 +62,8 @@ class BudgetSimulationPoint(proto.Message): impressions: int top_slot_impressions: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., budget_amount_micros: int = ..., @@ -76,8 +79,8 @@ class BudgetSimulationPoint(proto.Message): class BudgetSimulationPointList(proto.Message): points: MutableSequence[BudgetSimulationPoint] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., points: MutableSequence[BudgetSimulationPoint] = ... @@ -94,8 +97,8 @@ class CpcBidSimulationPoint(proto.Message): cpc_bid_micros: int cpc_bid_scaling_modifier: float def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., required_budget_amount_micros: int = ..., @@ -112,8 +115,8 @@ class CpcBidSimulationPoint(proto.Message): class CpcBidSimulationPointList(proto.Message): points: MutableSequence[CpcBidSimulationPoint] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., points: MutableSequence[CpcBidSimulationPoint] = ... @@ -125,8 +128,8 @@ class CpvBidSimulationPoint(proto.Message): impressions: int views: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., cpv_bid_micros: int = ..., @@ -138,8 +141,8 @@ class CpvBidSimulationPoint(proto.Message): class CpvBidSimulationPointList(proto.Message): points: MutableSequence[CpvBidSimulationPoint] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., points: MutableSequence[CpvBidSimulationPoint] = ... @@ -154,8 +157,8 @@ class PercentCpcBidSimulationPoint(proto.Message): impressions: int top_slot_impressions: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., percent_cpc_bid_micros: int = ..., @@ -170,8 +173,8 @@ class PercentCpcBidSimulationPoint(proto.Message): class PercentCpcBidSimulationPointList(proto.Message): points: MutableSequence[PercentCpcBidSimulationPoint] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., points: MutableSequence[PercentCpcBidSimulationPoint] = ... @@ -190,8 +193,8 @@ class TargetCpaSimulationPoint(proto.Message): target_cpa_micros: int target_cpa_scaling_modifier: float def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., required_budget_amount_micros: int = ..., @@ -210,8 +213,8 @@ class TargetCpaSimulationPoint(proto.Message): class TargetCpaSimulationPointList(proto.Message): points: MutableSequence[TargetCpaSimulationPoint] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., points: MutableSequence[TargetCpaSimulationPoint] = ... @@ -229,8 +232,8 @@ class TargetImpressionShareSimulationPoint(proto.Message): top_slot_impressions: int absolute_top_impressions: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_impression_share_micros: int = ..., @@ -248,8 +251,8 @@ class TargetImpressionShareSimulationPoint(proto.Message): class TargetImpressionShareSimulationPointList(proto.Message): points: MutableSequence[TargetImpressionShareSimulationPoint] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., points: MutableSequence[TargetImpressionShareSimulationPoint] = ... @@ -265,8 +268,8 @@ class TargetRoasSimulationPoint(proto.Message): impressions: int top_slot_impressions: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_roas: float = ..., @@ -282,8 +285,8 @@ class TargetRoasSimulationPoint(proto.Message): class TargetRoasSimulationPointList(proto.Message): points: MutableSequence[TargetRoasSimulationPoint] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., points: MutableSequence[TargetRoasSimulationPoint] = ... diff --git a/google-stubs/ads/googleads/v13/common/types/tag_snippet.pyi b/google-stubs/ads/googleads/v13/common/types/tag_snippet.pyi index 827a67fe8..7815a224a 100644 --- a/google-stubs/ads/googleads/v13/common/types/tag_snippet.pyi +++ b/google-stubs/ads/googleads/v13/common/types/tag_snippet.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.tracking_code_page_format import ( @@ -7,14 +9,16 @@ from google.ads.googleads.v13.enums.types.tracking_code_page_format import ( ) from google.ads.googleads.v13.enums.types.tracking_code_type import TrackingCodeTypeEnum +_M = TypeVar("_M") + class TagSnippet(proto.Message): type_: TrackingCodeTypeEnum.TrackingCodeType page_format: TrackingCodePageFormatEnum.TrackingCodePageFormat global_site_tag: str event_snippet: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., type_: TrackingCodeTypeEnum.TrackingCodeType = ..., diff --git a/google-stubs/ads/googleads/v13/common/types/targeting_setting.pyi b/google-stubs/ads/googleads/v13/common/types/targeting_setting.pyi index 85e7db022..9572778c8 100644 --- a/google-stubs/ads/googleads/v13/common/types/targeting_setting.pyi +++ b/google-stubs/ads/googleads/v13/common/types/targeting_setting.pyi @@ -1,18 +1,21 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.targeting_dimension import ( TargetingDimensionEnum, ) +_M = TypeVar("_M") + class TargetRestriction(proto.Message): targeting_dimension: TargetingDimensionEnum.TargetingDimension bid_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., targeting_dimension: TargetingDimensionEnum.TargetingDimension = ..., @@ -28,8 +31,8 @@ class TargetRestrictionOperation(proto.Message): operator: TargetRestrictionOperation.Operator value: TargetRestriction def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., operator: TargetRestrictionOperation.Operator = ..., @@ -40,8 +43,8 @@ class TargetingSetting(proto.Message): target_restrictions: MutableSequence[TargetRestriction] target_restriction_operations: MutableSequence[TargetRestrictionOperation] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_restrictions: MutableSequence[TargetRestriction] = ..., diff --git a/google-stubs/ads/googleads/v13/common/types/text_label.pyi b/google-stubs/ads/googleads/v13/common/types/text_label.pyi index 2163a0f56..f04bdc490 100644 --- a/google-stubs/ads/googleads/v13/common/types/text_label.pyi +++ b/google-stubs/ads/googleads/v13/common/types/text_label.pyi @@ -1,13 +1,17 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class TextLabel(proto.Message): background_color: str description: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., background_color: str = ..., diff --git a/google-stubs/ads/googleads/v13/common/types/url_collection.pyi b/google-stubs/ads/googleads/v13/common/types/url_collection.pyi index 3d66b0577..1deb6f8fa 100644 --- a/google-stubs/ads/googleads/v13/common/types/url_collection.pyi +++ b/google-stubs/ads/googleads/v13/common/types/url_collection.pyi @@ -1,16 +1,19 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UrlCollection(proto.Message): url_collection_id: str final_urls: MutableSequence[str] final_mobile_urls: MutableSequence[str] tracking_url_template: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., url_collection_id: str = ..., diff --git a/google-stubs/ads/googleads/v13/common/types/user_lists.pyi b/google-stubs/ads/googleads/v13/common/types/user_lists.pyi index ef79a3d0b..0d77c39ce 100644 --- a/google-stubs/ads/googleads/v13/common/types/user_lists.pyi +++ b/google-stubs/ads/googleads/v13/common/types/user_lists.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.customer_match_upload_key_type import ( @@ -31,11 +32,13 @@ from google.ads.googleads.v13.enums.types.user_list_string_rule_item_operator im UserListStringRuleItemOperatorEnum, ) +_M = TypeVar("_M") + class BasicUserListInfo(proto.Message): actions: MutableSequence[UserListActionInfo] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., actions: MutableSequence[UserListActionInfo] = ... @@ -46,8 +49,8 @@ class CrmBasedUserListInfo(proto.Message): upload_key_type: CustomerMatchUploadKeyTypeEnum.CustomerMatchUploadKeyType data_source_type: UserListCrmDataSourceTypeEnum.UserListCrmDataSourceType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., app_id: str = ..., @@ -59,8 +62,8 @@ class FlexibleRuleOperandInfo(proto.Message): rule: UserListRuleInfo lookback_window_days: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., rule: UserListRuleInfo = ..., @@ -72,8 +75,8 @@ class FlexibleRuleUserListInfo(proto.Message): inclusive_operands: MutableSequence[FlexibleRuleOperandInfo] exclusive_operands: MutableSequence[FlexibleRuleOperandInfo] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., inclusive_rule_operator: UserListFlexibleRuleOperatorEnum.UserListFlexibleRuleOperator = ..., @@ -84,8 +87,8 @@ class FlexibleRuleUserListInfo(proto.Message): class LogicalUserListInfo(proto.Message): rules: MutableSequence[UserListLogicalRuleInfo] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., rules: MutableSequence[UserListLogicalRuleInfo] = ... @@ -94,8 +97,8 @@ class LogicalUserListInfo(proto.Message): class LogicalUserListOperandInfo(proto.Message): user_list: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., user_list: str = ... @@ -105,8 +108,8 @@ class RuleBasedUserListInfo(proto.Message): prepopulation_status: UserListPrepopulationStatusEnum.UserListPrepopulationStatus flexible_rule_user_list: FlexibleRuleUserListInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., prepopulation_status: UserListPrepopulationStatusEnum.UserListPrepopulationStatus = ..., @@ -116,8 +119,8 @@ class RuleBasedUserListInfo(proto.Message): class SimilarUserListInfo(proto.Message): seed_user_list: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., seed_user_list: str = ... @@ -127,8 +130,8 @@ class UserListActionInfo(proto.Message): conversion_action: str remarketing_action: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., conversion_action: str = ..., @@ -140,8 +143,8 @@ class UserListDateRuleItemInfo(proto.Message): value: str offset_in_days: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., operator: UserListDateRuleItemOperatorEnum.UserListDateRuleItemOperator = ..., @@ -153,8 +156,8 @@ class UserListLogicalRuleInfo(proto.Message): operator: UserListLogicalRuleOperatorEnum.UserListLogicalRuleOperator rule_operands: MutableSequence[LogicalUserListOperandInfo] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., operator: UserListLogicalRuleOperatorEnum.UserListLogicalRuleOperator = ..., @@ -165,8 +168,8 @@ class UserListNumberRuleItemInfo(proto.Message): operator: UserListNumberRuleItemOperatorEnum.UserListNumberRuleItemOperator value: float def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., operator: UserListNumberRuleItemOperatorEnum.UserListNumberRuleItemOperator = ..., @@ -177,8 +180,8 @@ class UserListRuleInfo(proto.Message): rule_type: UserListRuleTypeEnum.UserListRuleType rule_item_groups: MutableSequence[UserListRuleItemGroupInfo] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., rule_type: UserListRuleTypeEnum.UserListRuleType = ..., @@ -188,8 +191,8 @@ class UserListRuleInfo(proto.Message): class UserListRuleItemGroupInfo(proto.Message): rule_items: MutableSequence[UserListRuleItemInfo] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., rule_items: MutableSequence[UserListRuleItemInfo] = ... @@ -201,8 +204,8 @@ class UserListRuleItemInfo(proto.Message): string_rule_item: UserListStringRuleItemInfo date_rule_item: UserListDateRuleItemInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., name: str = ..., @@ -215,8 +218,8 @@ class UserListStringRuleItemInfo(proto.Message): operator: UserListStringRuleItemOperatorEnum.UserListStringRuleItemOperator value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., operator: UserListStringRuleItemOperatorEnum.UserListStringRuleItemOperator = ..., diff --git a/google-stubs/ads/googleads/v13/common/types/value.pyi b/google-stubs/ads/googleads/v13/common/types/value.pyi index 85f782a86..413b08163 100644 --- a/google-stubs/ads/googleads/v13/common/types/value.pyi +++ b/google-stubs/ads/googleads/v13/common/types/value.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class Value(proto.Message): boolean_value: bool int64_value: int @@ -9,8 +13,8 @@ class Value(proto.Message): double_value: float string_value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., boolean_value: bool = ..., diff --git a/google-stubs/ads/googleads/v13/enums/types/access_invitation_status.pyi b/google-stubs/ads/googleads/v13/enums/types/access_invitation_status.pyi index 0144ef832..f1ef8d251 100644 --- a/google-stubs/ads/googleads/v13/enums/types/access_invitation_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/access_invitation_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AccessInvitationStatusEnum(proto.Message): class AccessInvitationStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class AccessInvitationStatusEnum(proto.Message): DECLINED = 3 EXPIRED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/access_reason.pyi b/google-stubs/ads/googleads/v13/enums/types/access_reason.pyi index 3baf8d3cd..8f03622f1 100644 --- a/google-stubs/ads/googleads/v13/enums/types/access_reason.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/access_reason.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AccessReasonEnum(proto.Message): class AccessReason(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class AccessReasonEnum(proto.Message): SUBSCRIBED = 5 AFFILIATED = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/access_role.pyi b/google-stubs/ads/googleads/v13/enums/types/access_role.pyi index 8325f47e5..84995e401 100644 --- a/google-stubs/ads/googleads/v13/enums/types/access_role.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/access_role.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AccessRoleEnum(proto.Message): class AccessRole(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class AccessRoleEnum(proto.Message): READ_ONLY = 4 EMAIL_ONLY = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/account_budget_proposal_status.pyi b/google-stubs/ads/googleads/v13/enums/types/account_budget_proposal_status.pyi index 04715bc20..a18e2cf75 100644 --- a/google-stubs/ads/googleads/v13/enums/types/account_budget_proposal_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/account_budget_proposal_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AccountBudgetProposalStatusEnum(proto.Message): class AccountBudgetProposalStatus(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class AccountBudgetProposalStatusEnum(proto.Message): CANCELLED = 5 REJECTED = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/account_budget_proposal_type.pyi b/google-stubs/ads/googleads/v13/enums/types/account_budget_proposal_type.pyi index a422f5b2c..1fe67f9a6 100644 --- a/google-stubs/ads/googleads/v13/enums/types/account_budget_proposal_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/account_budget_proposal_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AccountBudgetProposalTypeEnum(proto.Message): class AccountBudgetProposalType(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class AccountBudgetProposalTypeEnum(proto.Message): END = 4 REMOVE = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/account_budget_status.pyi b/google-stubs/ads/googleads/v13/enums/types/account_budget_status.pyi index 49502be64..93444f9cd 100644 --- a/google-stubs/ads/googleads/v13/enums/types/account_budget_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/account_budget_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AccountBudgetStatusEnum(proto.Message): class AccountBudgetStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class AccountBudgetStatusEnum(proto.Message): APPROVED = 3 CANCELLED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/account_link_status.pyi b/google-stubs/ads/googleads/v13/enums/types/account_link_status.pyi index 09519fa19..7f2124ffe 100644 --- a/google-stubs/ads/googleads/v13/enums/types/account_link_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/account_link_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AccountLinkStatusEnum(proto.Message): class AccountLinkStatus(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class AccountLinkStatusEnum(proto.Message): REJECTED = 6 REVOKED = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/ad_customizer_placeholder_field.pyi b/google-stubs/ads/googleads/v13/enums/types/ad_customizer_placeholder_field.pyi index 8ee21aa8c..d9349f7de 100644 --- a/google-stubs/ads/googleads/v13/enums/types/ad_customizer_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/ad_customizer_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdCustomizerPlaceholderFieldEnum(proto.Message): class AdCustomizerPlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class AdCustomizerPlaceholderFieldEnum(proto.Message): DATE = 4 STRING = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/ad_destination_type.pyi b/google-stubs/ads/googleads/v13/enums/types/ad_destination_type.pyi index 5dfce96f5..ef947f3b5 100644 --- a/google-stubs/ads/googleads/v13/enums/types/ad_destination_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/ad_destination_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdDestinationTypeEnum(proto.Message): class AdDestinationType(proto.Enum): UNSPECIFIED = 0 @@ -18,8 +22,8 @@ class AdDestinationTypeEnum(proto.Message): YOUTUBE = 11 UNMODELED_FOR_CONVERSIONS = 12 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/ad_group_ad_rotation_mode.pyi b/google-stubs/ads/googleads/v13/enums/types/ad_group_ad_rotation_mode.pyi index b09340880..c20df7a70 100644 --- a/google-stubs/ads/googleads/v13/enums/types/ad_group_ad_rotation_mode.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/ad_group_ad_rotation_mode.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupAdRotationModeEnum(proto.Message): class AdGroupAdRotationMode(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class AdGroupAdRotationModeEnum(proto.Message): OPTIMIZE = 2 ROTATE_FOREVER = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/ad_group_ad_status.pyi b/google-stubs/ads/googleads/v13/enums/types/ad_group_ad_status.pyi index 18736b645..55ad7217b 100644 --- a/google-stubs/ads/googleads/v13/enums/types/ad_group_ad_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/ad_group_ad_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupAdStatusEnum(proto.Message): class AdGroupAdStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class AdGroupAdStatusEnum(proto.Message): PAUSED = 3 REMOVED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/ad_group_criterion_approval_status.pyi b/google-stubs/ads/googleads/v13/enums/types/ad_group_criterion_approval_status.pyi index e5046a043..65eeb8e9d 100644 --- a/google-stubs/ads/googleads/v13/enums/types/ad_group_criterion_approval_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/ad_group_criterion_approval_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupCriterionApprovalStatusEnum(proto.Message): class AdGroupCriterionApprovalStatus(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class AdGroupCriterionApprovalStatusEnum(proto.Message): PENDING_REVIEW = 4 UNDER_REVIEW = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/ad_group_criterion_status.pyi b/google-stubs/ads/googleads/v13/enums/types/ad_group_criterion_status.pyi index a9e4f5217..b462d85a6 100644 --- a/google-stubs/ads/googleads/v13/enums/types/ad_group_criterion_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/ad_group_criterion_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupCriterionStatusEnum(proto.Message): class AdGroupCriterionStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class AdGroupCriterionStatusEnum(proto.Message): PAUSED = 3 REMOVED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/ad_group_status.pyi b/google-stubs/ads/googleads/v13/enums/types/ad_group_status.pyi index 5b1b65cc8..54d58bfed 100644 --- a/google-stubs/ads/googleads/v13/enums/types/ad_group_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/ad_group_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupStatusEnum(proto.Message): class AdGroupStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class AdGroupStatusEnum(proto.Message): PAUSED = 3 REMOVED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/ad_group_type.pyi b/google-stubs/ads/googleads/v13/enums/types/ad_group_type.pyi index 899a462d2..46160fd45 100644 --- a/google-stubs/ads/googleads/v13/enums/types/ad_group_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/ad_group_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupTypeEnum(proto.Message): class AdGroupType(proto.Enum): UNSPECIFIED = 0 @@ -24,8 +28,8 @@ class AdGroupTypeEnum(proto.Message): SMART_CAMPAIGN_ADS = 18 TRAVEL_ADS = 19 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/ad_network_type.pyi b/google-stubs/ads/googleads/v13/enums/types/ad_network_type.pyi index 549a99f54..2848a039d 100644 --- a/google-stubs/ads/googleads/v13/enums/types/ad_network_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/ad_network_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdNetworkTypeEnum(proto.Message): class AdNetworkType(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class AdNetworkTypeEnum(proto.Message): YOUTUBE_WATCH = 6 MIXED = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/ad_serving_optimization_status.pyi b/google-stubs/ads/googleads/v13/enums/types/ad_serving_optimization_status.pyi index fcba8268b..29388f428 100644 --- a/google-stubs/ads/googleads/v13/enums/types/ad_serving_optimization_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/ad_serving_optimization_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdServingOptimizationStatusEnum(proto.Message): class AdServingOptimizationStatus(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class AdServingOptimizationStatusEnum(proto.Message): ROTATE_INDEFINITELY = 5 UNAVAILABLE = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/ad_strength.pyi b/google-stubs/ads/googleads/v13/enums/types/ad_strength.pyi index 857bd3bae..e1a513354 100644 --- a/google-stubs/ads/googleads/v13/enums/types/ad_strength.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/ad_strength.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdStrengthEnum(proto.Message): class AdStrength(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class AdStrengthEnum(proto.Message): GOOD = 6 EXCELLENT = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/ad_type.pyi b/google-stubs/ads/googleads/v13/enums/types/ad_type.pyi index 9bb224cfd..f5524d8ef 100644 --- a/google-stubs/ads/googleads/v13/enums/types/ad_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/ad_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdTypeEnum(proto.Message): class AdType(proto.Enum): UNSPECIFIED = 0 @@ -37,8 +41,8 @@ class AdTypeEnum(proto.Message): DISCOVERY_CAROUSEL_AD = 36 TRAVEL_AD = 37 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/advertising_channel_sub_type.pyi b/google-stubs/ads/googleads/v13/enums/types/advertising_channel_sub_type.pyi index c216a9353..4c0c9dedc 100644 --- a/google-stubs/ads/googleads/v13/enums/types/advertising_channel_sub_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/advertising_channel_sub_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdvertisingChannelSubTypeEnum(proto.Message): class AdvertisingChannelSubType(proto.Enum): UNSPECIFIED = 0 @@ -26,8 +30,8 @@ class AdvertisingChannelSubTypeEnum(proto.Message): VIDEO_REACH_TARGET_FREQUENCY = 19 TRAVEL_ACTIVITIES = 20 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/advertising_channel_type.pyi b/google-stubs/ads/googleads/v13/enums/types/advertising_channel_type.pyi index 8650bfb12..31088a341 100644 --- a/google-stubs/ads/googleads/v13/enums/types/advertising_channel_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/advertising_channel_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdvertisingChannelTypeEnum(proto.Message): class AdvertisingChannelType(proto.Enum): UNSPECIFIED = 0 @@ -19,8 +23,8 @@ class AdvertisingChannelTypeEnum(proto.Message): DISCOVERY = 12 TRAVEL = 13 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/affiliate_location_feed_relationship_type.pyi b/google-stubs/ads/googleads/v13/enums/types/affiliate_location_feed_relationship_type.pyi index 060a68a28..9e07f6b4a 100644 --- a/google-stubs/ads/googleads/v13/enums/types/affiliate_location_feed_relationship_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/affiliate_location_feed_relationship_type.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AffiliateLocationFeedRelationshipTypeEnum(proto.Message): class AffiliateLocationFeedRelationshipType(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 GENERAL_RETAILER = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/affiliate_location_placeholder_field.pyi b/google-stubs/ads/googleads/v13/enums/types/affiliate_location_placeholder_field.pyi index 79d5b8637..d7f9e5b55 100644 --- a/google-stubs/ads/googleads/v13/enums/types/affiliate_location_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/affiliate_location_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AffiliateLocationPlaceholderFieldEnum(proto.Message): class AffiliateLocationPlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -18,8 +22,8 @@ class AffiliateLocationPlaceholderFieldEnum(proto.Message): CHAIN_ID = 11 CHAIN_NAME = 12 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/age_range_type.pyi b/google-stubs/ads/googleads/v13/enums/types/age_range_type.pyi index 56eb21dcc..8bf34e197 100644 --- a/google-stubs/ads/googleads/v13/enums/types/age_range_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/age_range_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AgeRangeTypeEnum(proto.Message): class AgeRangeType(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class AgeRangeTypeEnum(proto.Message): AGE_RANGE_65_UP = 503006 AGE_RANGE_UNDETERMINED = 503999 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/app_campaign_app_store.pyi b/google-stubs/ads/googleads/v13/enums/types/app_campaign_app_store.pyi index 998b5aff4..cbcdd1b9a 100644 --- a/google-stubs/ads/googleads/v13/enums/types/app_campaign_app_store.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/app_campaign_app_store.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AppCampaignAppStoreEnum(proto.Message): class AppCampaignAppStore(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class AppCampaignAppStoreEnum(proto.Message): APPLE_APP_STORE = 2 GOOGLE_APP_STORE = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/app_campaign_bidding_strategy_goal_type.pyi b/google-stubs/ads/googleads/v13/enums/types/app_campaign_bidding_strategy_goal_type.pyi index d74de383a..1a6788451 100644 --- a/google-stubs/ads/googleads/v13/enums/types/app_campaign_bidding_strategy_goal_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/app_campaign_bidding_strategy_goal_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AppCampaignBiddingStrategyGoalTypeEnum(proto.Message): class AppCampaignBiddingStrategyGoalType(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class AppCampaignBiddingStrategyGoalTypeEnum(proto.Message): OPTIMIZE_PRE_REGISTRATION_CONVERSION_VOLUME = 6 OPTIMIZE_INSTALLS_WITHOUT_TARGET_INSTALL_COST = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/app_payment_model_type.pyi b/google-stubs/ads/googleads/v13/enums/types/app_payment_model_type.pyi index 677dcd1f0..03c16d568 100644 --- a/google-stubs/ads/googleads/v13/enums/types/app_payment_model_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/app_payment_model_type.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AppPaymentModelTypeEnum(proto.Message): class AppPaymentModelType(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 PAID = 30 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/app_placeholder_field.pyi b/google-stubs/ads/googleads/v13/enums/types/app_placeholder_field.pyi index 4d9546068..a3ff99379 100644 --- a/google-stubs/ads/googleads/v13/enums/types/app_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/app_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AppPlaceholderFieldEnum(proto.Message): class AppPlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -15,8 +19,8 @@ class AppPlaceholderFieldEnum(proto.Message): TRACKING_URL = 8 FINAL_URL_SUFFIX = 9 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/app_store.pyi b/google-stubs/ads/googleads/v13/enums/types/app_store.pyi index a5c494875..855600e03 100644 --- a/google-stubs/ads/googleads/v13/enums/types/app_store.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/app_store.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AppStoreEnum(proto.Message): class AppStore(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class AppStoreEnum(proto.Message): APPLE_ITUNES = 2 GOOGLE_PLAY = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/app_url_operating_system_type.pyi b/google-stubs/ads/googleads/v13/enums/types/app_url_operating_system_type.pyi index 3fa7f4bba..9d040802a 100644 --- a/google-stubs/ads/googleads/v13/enums/types/app_url_operating_system_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/app_url_operating_system_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AppUrlOperatingSystemTypeEnum(proto.Message): class AppUrlOperatingSystemType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class AppUrlOperatingSystemTypeEnum(proto.Message): IOS = 2 ANDROID = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/asset_field_type.pyi b/google-stubs/ads/googleads/v13/enums/types/asset_field_type.pyi index e677fd10e..3d4badb98 100644 --- a/google-stubs/ads/googleads/v13/enums/types/asset_field_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/asset_field_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetFieldTypeEnum(proto.Message): class AssetFieldType(proto.Enum): UNSPECIFIED = 0 @@ -34,8 +38,8 @@ class AssetFieldTypeEnum(proto.Message): BUSINESS_LOGO = 27 HOTEL_PROPERTY = 28 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/asset_group_status.pyi b/google-stubs/ads/googleads/v13/enums/types/asset_group_status.pyi index b5d694a23..4a8daa7a9 100644 --- a/google-stubs/ads/googleads/v13/enums/types/asset_group_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/asset_group_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetGroupStatusEnum(proto.Message): class AssetGroupStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class AssetGroupStatusEnum(proto.Message): PAUSED = 3 REMOVED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/asset_link_primary_status.pyi b/google-stubs/ads/googleads/v13/enums/types/asset_link_primary_status.pyi index abac7c911..ebaedcb66 100644 --- a/google-stubs/ads/googleads/v13/enums/types/asset_link_primary_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/asset_link_primary_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetLinkPrimaryStatusEnum(proto.Message): class AssetLinkPrimaryStatus(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class AssetLinkPrimaryStatusEnum(proto.Message): LIMITED = 6 NOT_ELIGIBLE = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/asset_link_primary_status_reason.pyi b/google-stubs/ads/googleads/v13/enums/types/asset_link_primary_status_reason.pyi index 34d93bf0b..3458b8c2c 100644 --- a/google-stubs/ads/googleads/v13/enums/types/asset_link_primary_status_reason.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/asset_link_primary_status_reason.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetLinkPrimaryStatusReasonEnum(proto.Message): class AssetLinkPrimaryStatusReason(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class AssetLinkPrimaryStatusReasonEnum(proto.Message): ASSET_UNDER_REVIEW = 5 ASSET_APPROVED_LABELED = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/asset_link_status.pyi b/google-stubs/ads/googleads/v13/enums/types/asset_link_status.pyi index 2025c1b96..02908f8b8 100644 --- a/google-stubs/ads/googleads/v13/enums/types/asset_link_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/asset_link_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetLinkStatusEnum(proto.Message): class AssetLinkStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class AssetLinkStatusEnum(proto.Message): REMOVED = 3 PAUSED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/asset_offline_evaluation_error_reasons.pyi b/google-stubs/ads/googleads/v13/enums/types/asset_offline_evaluation_error_reasons.pyi index 591cdc8bd..f93830924 100644 --- a/google-stubs/ads/googleads/v13/enums/types/asset_offline_evaluation_error_reasons.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/asset_offline_evaluation_error_reasons.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetOfflineEvaluationErrorReasonsEnum(proto.Message): class AssetOfflineEvaluationErrorReasons(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class AssetOfflineEvaluationErrorReasonsEnum(proto.Message): PRICE_ASSET_UNSUPPORTED_LANGUAGE = 7 PRICE_ASSET_OTHER_ERROR = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/asset_performance_label.pyi b/google-stubs/ads/googleads/v13/enums/types/asset_performance_label.pyi index fa17d02a2..262997b23 100644 --- a/google-stubs/ads/googleads/v13/enums/types/asset_performance_label.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/asset_performance_label.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetPerformanceLabelEnum(proto.Message): class AssetPerformanceLabel(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class AssetPerformanceLabelEnum(proto.Message): GOOD = 5 BEST = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/asset_set_asset_status.pyi b/google-stubs/ads/googleads/v13/enums/types/asset_set_asset_status.pyi index 3b93c6240..009ec5b4a 100644 --- a/google-stubs/ads/googleads/v13/enums/types/asset_set_asset_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/asset_set_asset_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetSetAssetStatusEnum(proto.Message): class AssetSetAssetStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class AssetSetAssetStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/asset_set_link_status.pyi b/google-stubs/ads/googleads/v13/enums/types/asset_set_link_status.pyi index d4523ea22..a8c21d4f2 100644 --- a/google-stubs/ads/googleads/v13/enums/types/asset_set_link_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/asset_set_link_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetSetLinkStatusEnum(proto.Message): class AssetSetLinkStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class AssetSetLinkStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/asset_set_status.pyi b/google-stubs/ads/googleads/v13/enums/types/asset_set_status.pyi index 06bc41a5b..79e27474f 100644 --- a/google-stubs/ads/googleads/v13/enums/types/asset_set_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/asset_set_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetSetStatusEnum(proto.Message): class AssetSetStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class AssetSetStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/asset_set_type.pyi b/google-stubs/ads/googleads/v13/enums/types/asset_set_type.pyi index 9d75e314c..a6a87ddb2 100644 --- a/google-stubs/ads/googleads/v13/enums/types/asset_set_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/asset_set_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetSetTypeEnum(proto.Message): class AssetSetType(proto.Enum): UNSPECIFIED = 0 @@ -22,8 +26,8 @@ class AssetSetTypeEnum(proto.Message): STATIC_LOCATION_GROUP = 15 HOTEL_PROPERTY = 16 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/asset_source.pyi b/google-stubs/ads/googleads/v13/enums/types/asset_source.pyi index 652542393..5fd0f9c95 100644 --- a/google-stubs/ads/googleads/v13/enums/types/asset_source.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/asset_source.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetSourceEnum(proto.Message): class AssetSource(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class AssetSourceEnum(proto.Message): ADVERTISER = 2 AUTOMATICALLY_CREATED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/asset_type.pyi b/google-stubs/ads/googleads/v13/enums/types/asset_type.pyi index 8562ee419..870c65049 100644 --- a/google-stubs/ads/googleads/v13/enums/types/asset_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/asset_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetTypeEnum(proto.Message): class AssetType(proto.Enum): UNSPECIFIED = 0 @@ -34,8 +38,8 @@ class AssetTypeEnum(proto.Message): LOCATION = 27 HOTEL_PROPERTY = 28 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/async_action_status.pyi b/google-stubs/ads/googleads/v13/enums/types/async_action_status.pyi index 9988a8d52..332523ec5 100644 --- a/google-stubs/ads/googleads/v13/enums/types/async_action_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/async_action_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AsyncActionStatusEnum(proto.Message): class AsyncActionStatus(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class AsyncActionStatusEnum(proto.Message): FAILED = 5 COMPLETED_WITH_WARNING = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/attribution_model.pyi b/google-stubs/ads/googleads/v13/enums/types/attribution_model.pyi index 5c9cebc34..25ec22ba0 100644 --- a/google-stubs/ads/googleads/v13/enums/types/attribution_model.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/attribution_model.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AttributionModelEnum(proto.Message): class AttributionModel(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class AttributionModelEnum(proto.Message): GOOGLE_SEARCH_ATTRIBUTION_POSITION_BASED = 105 GOOGLE_SEARCH_ATTRIBUTION_DATA_DRIVEN = 106 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/audience_insights_dimension.pyi b/google-stubs/ads/googleads/v13/enums/types/audience_insights_dimension.pyi index ee01f2646..05c0284bb 100644 --- a/google-stubs/ads/googleads/v13/enums/types/audience_insights_dimension.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/audience_insights_dimension.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AudienceInsightsDimensionEnum(proto.Message): class AudienceInsightsDimension(proto.Enum): UNSPECIFIED = 0 @@ -19,8 +23,8 @@ class AudienceInsightsDimensionEnum(proto.Message): AGE_RANGE = 12 GENDER = 13 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/audience_status.pyi b/google-stubs/ads/googleads/v13/enums/types/audience_status.pyi index bfb5e8170..c1755088f 100644 --- a/google-stubs/ads/googleads/v13/enums/types/audience_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/audience_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AudienceStatusEnum(proto.Message): class AudienceStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class AudienceStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/batch_job_status.pyi b/google-stubs/ads/googleads/v13/enums/types/batch_job_status.pyi index a2f46c5ea..e9940345f 100644 --- a/google-stubs/ads/googleads/v13/enums/types/batch_job_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/batch_job_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BatchJobStatusEnum(proto.Message): class BatchJobStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class BatchJobStatusEnum(proto.Message): RUNNING = 3 DONE = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/bid_modifier_source.pyi b/google-stubs/ads/googleads/v13/enums/types/bid_modifier_source.pyi index cad024985..54ffd35c3 100644 --- a/google-stubs/ads/googleads/v13/enums/types/bid_modifier_source.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/bid_modifier_source.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BidModifierSourceEnum(proto.Message): class BidModifierSource(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class BidModifierSourceEnum(proto.Message): CAMPAIGN = 2 AD_GROUP = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/bidding_source.pyi b/google-stubs/ads/googleads/v13/enums/types/bidding_source.pyi index e4edf91d1..3fccb8467 100644 --- a/google-stubs/ads/googleads/v13/enums/types/bidding_source.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/bidding_source.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BiddingSourceEnum(proto.Message): class BiddingSource(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class BiddingSourceEnum(proto.Message): AD_GROUP = 6 AD_GROUP_CRITERION = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/bidding_strategy_status.pyi b/google-stubs/ads/googleads/v13/enums/types/bidding_strategy_status.pyi index d566603f8..a135b1c32 100644 --- a/google-stubs/ads/googleads/v13/enums/types/bidding_strategy_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/bidding_strategy_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BiddingStrategyStatusEnum(proto.Message): class BiddingStrategyStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class BiddingStrategyStatusEnum(proto.Message): ENABLED = 2 REMOVED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/bidding_strategy_system_status.pyi b/google-stubs/ads/googleads/v13/enums/types/bidding_strategy_system_status.pyi index c22919c6a..26be3af2c 100644 --- a/google-stubs/ads/googleads/v13/enums/types/bidding_strategy_system_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/bidding_strategy_system_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BiddingStrategySystemStatusEnum(proto.Message): class BiddingStrategySystemStatus(proto.Enum): UNSPECIFIED = 0 @@ -32,8 +36,8 @@ class BiddingStrategySystemStatusEnum(proto.Message): MULTIPLE_MISCONFIGURED = 25 MULTIPLE = 26 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/bidding_strategy_type.pyi b/google-stubs/ads/googleads/v13/enums/types/bidding_strategy_type.pyi index 293877f8c..e0be67b63 100644 --- a/google-stubs/ads/googleads/v13/enums/types/bidding_strategy_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/bidding_strategy_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BiddingStrategyTypeEnum(proto.Message): class BiddingStrategyType(proto.Enum): UNSPECIFIED = 0 @@ -24,8 +28,8 @@ class BiddingStrategyTypeEnum(proto.Message): TARGET_ROAS = 8 TARGET_SPEND = 9 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/billing_setup_status.pyi b/google-stubs/ads/googleads/v13/enums/types/billing_setup_status.pyi index cbc45cd09..6d581e5c8 100644 --- a/google-stubs/ads/googleads/v13/enums/types/billing_setup_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/billing_setup_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BillingSetupStatusEnum(proto.Message): class BillingSetupStatus(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class BillingSetupStatusEnum(proto.Message): APPROVED = 4 CANCELLED = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/brand_safety_suitability.pyi b/google-stubs/ads/googleads/v13/enums/types/brand_safety_suitability.pyi index bf0599bb0..d53277195 100644 --- a/google-stubs/ads/googleads/v13/enums/types/brand_safety_suitability.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/brand_safety_suitability.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BrandSafetySuitabilityEnum(proto.Message): class BrandSafetySuitability(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class BrandSafetySuitabilityEnum(proto.Message): STANDARD_INVENTORY = 3 LIMITED_INVENTORY = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/budget_campaign_association_status.pyi b/google-stubs/ads/googleads/v13/enums/types/budget_campaign_association_status.pyi index 7533917f9..27fd9be2d 100644 --- a/google-stubs/ads/googleads/v13/enums/types/budget_campaign_association_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/budget_campaign_association_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BudgetCampaignAssociationStatusEnum(proto.Message): class BudgetCampaignAssociationStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class BudgetCampaignAssociationStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/budget_delivery_method.pyi b/google-stubs/ads/googleads/v13/enums/types/budget_delivery_method.pyi index 733fc1805..45d24a947 100644 --- a/google-stubs/ads/googleads/v13/enums/types/budget_delivery_method.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/budget_delivery_method.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BudgetDeliveryMethodEnum(proto.Message): class BudgetDeliveryMethod(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class BudgetDeliveryMethodEnum(proto.Message): STANDARD = 2 ACCELERATED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/budget_period.pyi b/google-stubs/ads/googleads/v13/enums/types/budget_period.pyi index f1038f474..c6aa00df0 100644 --- a/google-stubs/ads/googleads/v13/enums/types/budget_period.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/budget_period.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BudgetPeriodEnum(proto.Message): class BudgetPeriod(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class BudgetPeriodEnum(proto.Message): DAILY = 2 CUSTOM_PERIOD = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/budget_status.pyi b/google-stubs/ads/googleads/v13/enums/types/budget_status.pyi index f51b6d3fa..9dada6790 100644 --- a/google-stubs/ads/googleads/v13/enums/types/budget_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/budget_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BudgetStatusEnum(proto.Message): class BudgetStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class BudgetStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/budget_type.pyi b/google-stubs/ads/googleads/v13/enums/types/budget_type.pyi index a414891f7..26cc0b18a 100644 --- a/google-stubs/ads/googleads/v13/enums/types/budget_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/budget_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BudgetTypeEnum(proto.Message): class BudgetType(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class BudgetTypeEnum(proto.Message): SMART_CAMPAIGN = 5 LOCAL_SERVICES = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/call_conversion_reporting_state.pyi b/google-stubs/ads/googleads/v13/enums/types/call_conversion_reporting_state.pyi index ac5d688c9..c0276202b 100644 --- a/google-stubs/ads/googleads/v13/enums/types/call_conversion_reporting_state.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/call_conversion_reporting_state.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CallConversionReportingStateEnum(proto.Message): class CallConversionReportingState(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class CallConversionReportingStateEnum(proto.Message): USE_ACCOUNT_LEVEL_CALL_CONVERSION_ACTION = 3 USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/call_placeholder_field.pyi b/google-stubs/ads/googleads/v13/enums/types/call_placeholder_field.pyi index b606606cf..9d78457f5 100644 --- a/google-stubs/ads/googleads/v13/enums/types/call_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/call_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CallPlaceholderFieldEnum(proto.Message): class CallPlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class CallPlaceholderFieldEnum(proto.Message): CONVERSION_TYPE_ID = 5 CONVERSION_REPORTING_STATE = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/call_to_action_type.pyi b/google-stubs/ads/googleads/v13/enums/types/call_to_action_type.pyi index 7f0ce3989..519b71868 100644 --- a/google-stubs/ads/googleads/v13/enums/types/call_to_action_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/call_to_action_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CallToActionTypeEnum(proto.Message): class CallToActionType(proto.Enum): UNSPECIFIED = 0 @@ -16,8 +20,8 @@ class CallToActionTypeEnum(proto.Message): BOOK_NOW = 9 SHOP_NOW = 10 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/call_tracking_display_location.pyi b/google-stubs/ads/googleads/v13/enums/types/call_tracking_display_location.pyi index 0ca454109..393d6c499 100644 --- a/google-stubs/ads/googleads/v13/enums/types/call_tracking_display_location.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/call_tracking_display_location.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CallTrackingDisplayLocationEnum(proto.Message): class CallTrackingDisplayLocation(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class CallTrackingDisplayLocationEnum(proto.Message): AD = 2 LANDING_PAGE = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/call_type.pyi b/google-stubs/ads/googleads/v13/enums/types/call_type.pyi index d4884852d..52a427d35 100644 --- a/google-stubs/ads/googleads/v13/enums/types/call_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/call_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CallTypeEnum(proto.Message): class CallType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class CallTypeEnum(proto.Message): MANUALLY_DIALED = 2 HIGH_END_MOBILE_SEARCH = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/callout_placeholder_field.pyi b/google-stubs/ads/googleads/v13/enums/types/callout_placeholder_field.pyi index eb865b088..d611a5efb 100644 --- a/google-stubs/ads/googleads/v13/enums/types/callout_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/callout_placeholder_field.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CalloutPlaceholderFieldEnum(proto.Message): class CalloutPlaceholderField(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 CALLOUT_TEXT = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/campaign_criterion_status.pyi b/google-stubs/ads/googleads/v13/enums/types/campaign_criterion_status.pyi index 723a1ef1a..7573390da 100644 --- a/google-stubs/ads/googleads/v13/enums/types/campaign_criterion_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/campaign_criterion_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignCriterionStatusEnum(proto.Message): class CampaignCriterionStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class CampaignCriterionStatusEnum(proto.Message): PAUSED = 3 REMOVED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/campaign_draft_status.pyi b/google-stubs/ads/googleads/v13/enums/types/campaign_draft_status.pyi index e30985695..be864c70e 100644 --- a/google-stubs/ads/googleads/v13/enums/types/campaign_draft_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/campaign_draft_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignDraftStatusEnum(proto.Message): class CampaignDraftStatus(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class CampaignDraftStatusEnum(proto.Message): PROMOTED = 4 PROMOTE_FAILED = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/campaign_experiment_type.pyi b/google-stubs/ads/googleads/v13/enums/types/campaign_experiment_type.pyi index 284046ea4..13fdc661d 100644 --- a/google-stubs/ads/googleads/v13/enums/types/campaign_experiment_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/campaign_experiment_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignExperimentTypeEnum(proto.Message): class CampaignExperimentType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class CampaignExperimentTypeEnum(proto.Message): DRAFT = 3 EXPERIMENT = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/campaign_group_status.pyi b/google-stubs/ads/googleads/v13/enums/types/campaign_group_status.pyi index b30989e6e..f1c62c749 100644 --- a/google-stubs/ads/googleads/v13/enums/types/campaign_group_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/campaign_group_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignGroupStatusEnum(proto.Message): class CampaignGroupStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class CampaignGroupStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/campaign_primary_status.pyi b/google-stubs/ads/googleads/v13/enums/types/campaign_primary_status.pyi index f950bbef0..e958a6ede 100644 --- a/google-stubs/ads/googleads/v13/enums/types/campaign_primary_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/campaign_primary_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignPrimaryStatusEnum(proto.Message): class CampaignPrimaryStatus(proto.Enum): UNSPECIFIED = 0 @@ -16,8 +20,8 @@ class CampaignPrimaryStatusEnum(proto.Message): LEARNING = 9 NOT_ELIGIBLE = 10 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/campaign_primary_status_reason.pyi b/google-stubs/ads/googleads/v13/enums/types/campaign_primary_status_reason.pyi index 75f41f330..d3be18179 100644 --- a/google-stubs/ads/googleads/v13/enums/types/campaign_primary_status_reason.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/campaign_primary_status_reason.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignPrimaryStatusReasonEnum(proto.Message): class CampaignPrimaryStatusReason(proto.Enum): UNSPECIFIED = 0 @@ -39,8 +43,8 @@ class CampaignPrimaryStatusReasonEnum(proto.Message): APP_NOT_RELEASED = 32 APP_PARTIALLY_RELEASED = 33 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/campaign_serving_status.pyi b/google-stubs/ads/googleads/v13/enums/types/campaign_serving_status.pyi index 804032bdc..a3a4af519 100644 --- a/google-stubs/ads/googleads/v13/enums/types/campaign_serving_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/campaign_serving_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignServingStatusEnum(proto.Message): class CampaignServingStatus(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class CampaignServingStatusEnum(proto.Message): PENDING = 5 SUSPENDED = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/campaign_shared_set_status.pyi b/google-stubs/ads/googleads/v13/enums/types/campaign_shared_set_status.pyi index 64b803cb2..2036bc2ca 100644 --- a/google-stubs/ads/googleads/v13/enums/types/campaign_shared_set_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/campaign_shared_set_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignSharedSetStatusEnum(proto.Message): class CampaignSharedSetStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class CampaignSharedSetStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/campaign_status.pyi b/google-stubs/ads/googleads/v13/enums/types/campaign_status.pyi index b11ade9c4..54e899d07 100644 --- a/google-stubs/ads/googleads/v13/enums/types/campaign_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/campaign_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignStatusEnum(proto.Message): class CampaignStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class CampaignStatusEnum(proto.Message): PAUSED = 3 REMOVED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/chain_relationship_type.pyi b/google-stubs/ads/googleads/v13/enums/types/chain_relationship_type.pyi index 6dde3c8c6..74f395601 100644 --- a/google-stubs/ads/googleads/v13/enums/types/chain_relationship_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/chain_relationship_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ChainRelationshipTypeEnum(proto.Message): class ChainRelationshipType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class ChainRelationshipTypeEnum(proto.Message): AUTO_DEALERS = 2 GENERAL_RETAILERS = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/change_client_type.pyi b/google-stubs/ads/googleads/v13/enums/types/change_client_type.pyi index 8162724d3..53928bb7e 100644 --- a/google-stubs/ads/googleads/v13/enums/types/change_client_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/change_client_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ChangeClientTypeEnum(proto.Message): class ChangeClientType(proto.Enum): UNSPECIFIED = 0 @@ -19,8 +23,8 @@ class ChangeClientTypeEnum(proto.Message): INTERNAL_TOOL = 12 OTHER = 13 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/change_event_resource_type.pyi b/google-stubs/ads/googleads/v13/enums/types/change_event_resource_type.pyi index f78321337..b153ac94a 100644 --- a/google-stubs/ads/googleads/v13/enums/types/change_event_resource_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/change_event_resource_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ChangeEventResourceTypeEnum(proto.Message): class ChangeEventResourceType(proto.Enum): UNSPECIFIED = 0 @@ -26,8 +30,8 @@ class ChangeEventResourceTypeEnum(proto.Message): ASSET_SET_ASSET = 19 CAMPAIGN_ASSET_SET = 20 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/change_status_operation.pyi b/google-stubs/ads/googleads/v13/enums/types/change_status_operation.pyi index e4f80a138..14a2a186f 100644 --- a/google-stubs/ads/googleads/v13/enums/types/change_status_operation.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/change_status_operation.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ChangeStatusOperationEnum(proto.Message): class ChangeStatusOperation(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ChangeStatusOperationEnum(proto.Message): CHANGED = 3 REMOVED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/change_status_resource_type.pyi b/google-stubs/ads/googleads/v13/enums/types/change_status_resource_type.pyi index ce97a9be5..ef33f50d7 100644 --- a/google-stubs/ads/googleads/v13/enums/types/change_status_resource_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/change_status_resource_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ChangeStatusResourceTypeEnum(proto.Message): class ChangeStatusResourceType(proto.Enum): UNSPECIFIED = 0 @@ -24,8 +28,8 @@ class ChangeStatusResourceTypeEnum(proto.Message): AD_GROUP_ASSET = 19 COMBINED_AUDIENCE = 20 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/click_type.pyi b/google-stubs/ads/googleads/v13/enums/types/click_type.pyi index baf12b00e..606b5a35a 100644 --- a/google-stubs/ads/googleads/v13/enums/types/click_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/click_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ClickTypeEnum(proto.Message): class ClickType(proto.Enum): UNSPECIFIED = 0 @@ -61,8 +65,8 @@ class ClickTypeEnum(proto.Message): SHOPPING_COMPARISON_LISTING = 56 CROSS_NETWORK = 57 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/combined_audience_status.pyi b/google-stubs/ads/googleads/v13/enums/types/combined_audience_status.pyi index 14ee414e7..2d38c87d4 100644 --- a/google-stubs/ads/googleads/v13/enums/types/combined_audience_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/combined_audience_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CombinedAudienceStatusEnum(proto.Message): class CombinedAudienceStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class CombinedAudienceStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/content_label_type.pyi b/google-stubs/ads/googleads/v13/enums/types/content_label_type.pyi index 3e8b30d78..ce3b815f8 100644 --- a/google-stubs/ads/googleads/v13/enums/types/content_label_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/content_label_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ContentLabelTypeEnum(proto.Message): class ContentLabelType(proto.Enum): UNSPECIFIED = 0 @@ -22,8 +26,8 @@ class ContentLabelTypeEnum(proto.Message): LIVE_STREAMING_VIDEO = 16 SOCIAL_ISSUES = 17 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/conversion_action_category.pyi b/google-stubs/ads/googleads/v13/enums/types/conversion_action_category.pyi index e8fbff9f7..c7d474d88 100644 --- a/google-stubs/ads/googleads/v13/enums/types/conversion_action_category.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/conversion_action_category.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionActionCategoryEnum(proto.Message): class ConversionActionCategory(proto.Enum): UNSPECIFIED = 0 @@ -28,8 +32,8 @@ class ConversionActionCategoryEnum(proto.Message): QUALIFIED_LEAD = 22 CONVERTED_LEAD = 23 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/conversion_action_counting_type.pyi b/google-stubs/ads/googleads/v13/enums/types/conversion_action_counting_type.pyi index d4160a8ce..a59e926d6 100644 --- a/google-stubs/ads/googleads/v13/enums/types/conversion_action_counting_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/conversion_action_counting_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionActionCountingTypeEnum(proto.Message): class ConversionActionCountingType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class ConversionActionCountingTypeEnum(proto.Message): ONE_PER_CLICK = 2 MANY_PER_CLICK = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/conversion_action_status.pyi b/google-stubs/ads/googleads/v13/enums/types/conversion_action_status.pyi index 29c72e4bd..41d3b997a 100644 --- a/google-stubs/ads/googleads/v13/enums/types/conversion_action_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/conversion_action_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionActionStatusEnum(proto.Message): class ConversionActionStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ConversionActionStatusEnum(proto.Message): REMOVED = 3 HIDDEN = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/conversion_action_type.pyi b/google-stubs/ads/googleads/v13/enums/types/conversion_action_type.pyi index 37ea0f928..4fac8a85a 100644 --- a/google-stubs/ads/googleads/v13/enums/types/conversion_action_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/conversion_action_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionActionTypeEnum(proto.Message): class ConversionActionType(proto.Enum): UNSPECIFIED = 0 @@ -43,8 +47,8 @@ class ConversionActionTypeEnum(proto.Message): STORE_VISITS = 36 WEBPAGE_CODELESS = 37 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/conversion_adjustment_type.pyi b/google-stubs/ads/googleads/v13/enums/types/conversion_adjustment_type.pyi index 8ffd703dc..60b929555 100644 --- a/google-stubs/ads/googleads/v13/enums/types/conversion_adjustment_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/conversion_adjustment_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionAdjustmentTypeEnum(proto.Message): class ConversionAdjustmentType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ConversionAdjustmentTypeEnum(proto.Message): RESTATEMENT = 3 ENHANCEMENT = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/conversion_attribution_event_type.pyi b/google-stubs/ads/googleads/v13/enums/types/conversion_attribution_event_type.pyi index a6dea4f2a..aeaa536c7 100644 --- a/google-stubs/ads/googleads/v13/enums/types/conversion_attribution_event_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/conversion_attribution_event_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionAttributionEventTypeEnum(proto.Message): class ConversionAttributionEventType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class ConversionAttributionEventTypeEnum(proto.Message): IMPRESSION = 2 INTERACTION = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/conversion_custom_variable_status.pyi b/google-stubs/ads/googleads/v13/enums/types/conversion_custom_variable_status.pyi index cadccdcbc..9c461c37a 100644 --- a/google-stubs/ads/googleads/v13/enums/types/conversion_custom_variable_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/conversion_custom_variable_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionCustomVariableStatusEnum(proto.Message): class ConversionCustomVariableStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ConversionCustomVariableStatusEnum(proto.Message): ENABLED = 3 PAUSED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/conversion_environment_enum.pyi b/google-stubs/ads/googleads/v13/enums/types/conversion_environment_enum.pyi index a41b0cbd9..133165865 100644 --- a/google-stubs/ads/googleads/v13/enums/types/conversion_environment_enum.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/conversion_environment_enum.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionEnvironmentEnum(proto.Message): class ConversionEnvironment(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class ConversionEnvironmentEnum(proto.Message): APP = 2 WEB = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/conversion_lag_bucket.pyi b/google-stubs/ads/googleads/v13/enums/types/conversion_lag_bucket.pyi index 5b9daddb3..e01e7997f 100644 --- a/google-stubs/ads/googleads/v13/enums/types/conversion_lag_bucket.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/conversion_lag_bucket.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionLagBucketEnum(proto.Message): class ConversionLagBucket(proto.Enum): UNSPECIFIED = 0 @@ -26,8 +30,8 @@ class ConversionLagBucketEnum(proto.Message): FORTY_FIVE_TO_SIXTY_DAYS = 19 SIXTY_TO_NINETY_DAYS = 20 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/conversion_or_adjustment_lag_bucket.pyi b/google-stubs/ads/googleads/v13/enums/types/conversion_or_adjustment_lag_bucket.pyi index fa1eba25d..a02deb23b 100644 --- a/google-stubs/ads/googleads/v13/enums/types/conversion_or_adjustment_lag_bucket.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/conversion_or_adjustment_lag_bucket.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionOrAdjustmentLagBucketEnum(proto.Message): class ConversionOrAdjustmentLagBucket(proto.Enum): UNSPECIFIED = 0 @@ -48,8 +52,8 @@ class ConversionOrAdjustmentLagBucketEnum(proto.Message): CONVERSION_UNKNOWN = 41 ADJUSTMENT_UNKNOWN = 42 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/conversion_origin.pyi b/google-stubs/ads/googleads/v13/enums/types/conversion_origin.pyi index d8efcfaab..fb3cb751f 100644 --- a/google-stubs/ads/googleads/v13/enums/types/conversion_origin.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/conversion_origin.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionOriginEnum(proto.Message): class ConversionOrigin(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class ConversionOriginEnum(proto.Message): STORE = 6 YOUTUBE_HOSTED = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/conversion_tracking_status_enum.pyi b/google-stubs/ads/googleads/v13/enums/types/conversion_tracking_status_enum.pyi index 9bf9684d2..330269e23 100644 --- a/google-stubs/ads/googleads/v13/enums/types/conversion_tracking_status_enum.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/conversion_tracking_status_enum.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionTrackingStatusEnum(proto.Message): class ConversionTrackingStatus(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class ConversionTrackingStatusEnum(proto.Message): CONVERSION_TRACKING_MANAGED_BY_THIS_MANAGER = 4 CONVERSION_TRACKING_MANAGED_BY_ANOTHER_MANAGER = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/conversion_value_rule_primary_dimension.pyi b/google-stubs/ads/googleads/v13/enums/types/conversion_value_rule_primary_dimension.pyi index 4b6bb81d3..2652647d3 100644 --- a/google-stubs/ads/googleads/v13/enums/types/conversion_value_rule_primary_dimension.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/conversion_value_rule_primary_dimension.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionValueRulePrimaryDimensionEnum(proto.Message): class ConversionValueRulePrimaryDimension(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class ConversionValueRulePrimaryDimensionEnum(proto.Message): AUDIENCE = 7 MULTIPLE = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/conversion_value_rule_set_status.pyi b/google-stubs/ads/googleads/v13/enums/types/conversion_value_rule_set_status.pyi index c9a5a0556..319287803 100644 --- a/google-stubs/ads/googleads/v13/enums/types/conversion_value_rule_set_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/conversion_value_rule_set_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionValueRuleSetStatusEnum(proto.Message): class ConversionValueRuleSetStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ConversionValueRuleSetStatusEnum(proto.Message): REMOVED = 3 PAUSED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/conversion_value_rule_status.pyi b/google-stubs/ads/googleads/v13/enums/types/conversion_value_rule_status.pyi index 86cc55bde..187562fc0 100644 --- a/google-stubs/ads/googleads/v13/enums/types/conversion_value_rule_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/conversion_value_rule_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionValueRuleStatusEnum(proto.Message): class ConversionValueRuleStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ConversionValueRuleStatusEnum(proto.Message): REMOVED = 3 PAUSED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/criterion_category_channel_availability_mode.pyi b/google-stubs/ads/googleads/v13/enums/types/criterion_category_channel_availability_mode.pyi index ea7d0a2a8..d1c3af4c6 100644 --- a/google-stubs/ads/googleads/v13/enums/types/criterion_category_channel_availability_mode.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/criterion_category_channel_availability_mode.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CriterionCategoryChannelAvailabilityModeEnum(proto.Message): class CriterionCategoryChannelAvailabilityMode(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class CriterionCategoryChannelAvailabilityModeEnum(proto.Message): CHANNEL_TYPE_AND_ALL_SUBTYPES = 3 CHANNEL_TYPE_AND_SUBSET_SUBTYPES = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/criterion_category_locale_availability_mode.pyi b/google-stubs/ads/googleads/v13/enums/types/criterion_category_locale_availability_mode.pyi index f53743b32..d42ac04e0 100644 --- a/google-stubs/ads/googleads/v13/enums/types/criterion_category_locale_availability_mode.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/criterion_category_locale_availability_mode.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CriterionCategoryLocaleAvailabilityModeEnum(proto.Message): class CriterionCategoryLocaleAvailabilityMode(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class CriterionCategoryLocaleAvailabilityModeEnum(proto.Message): LANGUAGE_AND_ALL_COUNTRIES = 4 COUNTRY_AND_LANGUAGE = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/criterion_system_serving_status.pyi b/google-stubs/ads/googleads/v13/enums/types/criterion_system_serving_status.pyi index 1c5d30d88..234a78280 100644 --- a/google-stubs/ads/googleads/v13/enums/types/criterion_system_serving_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/criterion_system_serving_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CriterionSystemServingStatusEnum(proto.Message): class CriterionSystemServingStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class CriterionSystemServingStatusEnum(proto.Message): ELIGIBLE = 2 RARELY_SERVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/criterion_type.pyi b/google-stubs/ads/googleads/v13/enums/types/criterion_type.pyi index 52fd6a6ac..c4f421d4f 100644 --- a/google-stubs/ads/googleads/v13/enums/types/criterion_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/criterion_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CriterionTypeEnum(proto.Message): class CriterionType(proto.Enum): UNSPECIFIED = 0 @@ -42,8 +46,8 @@ class CriterionTypeEnum(proto.Message): AUDIENCE = 35 LOCAL_SERVICE_ID = 37 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/custom_audience_member_type.pyi b/google-stubs/ads/googleads/v13/enums/types/custom_audience_member_type.pyi index c815ec93e..0858e7ca0 100644 --- a/google-stubs/ads/googleads/v13/enums/types/custom_audience_member_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/custom_audience_member_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomAudienceMemberTypeEnum(proto.Message): class CustomAudienceMemberType(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class CustomAudienceMemberTypeEnum(proto.Message): PLACE_CATEGORY = 4 APP = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/custom_audience_status.pyi b/google-stubs/ads/googleads/v13/enums/types/custom_audience_status.pyi index df40ee3a6..79b0176b6 100644 --- a/google-stubs/ads/googleads/v13/enums/types/custom_audience_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/custom_audience_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomAudienceStatusEnum(proto.Message): class CustomAudienceStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class CustomAudienceStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/custom_audience_type.pyi b/google-stubs/ads/googleads/v13/enums/types/custom_audience_type.pyi index 5a1554ae5..bdb63a6b2 100644 --- a/google-stubs/ads/googleads/v13/enums/types/custom_audience_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/custom_audience_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomAudienceTypeEnum(proto.Message): class CustomAudienceType(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class CustomAudienceTypeEnum(proto.Message): PURCHASE_INTENT = 4 SEARCH = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/custom_conversion_goal_status.pyi b/google-stubs/ads/googleads/v13/enums/types/custom_conversion_goal_status.pyi index 4d00c62e4..9f81fd41d 100644 --- a/google-stubs/ads/googleads/v13/enums/types/custom_conversion_goal_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/custom_conversion_goal_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomConversionGoalStatusEnum(proto.Message): class CustomConversionGoalStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class CustomConversionGoalStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/custom_interest_member_type.pyi b/google-stubs/ads/googleads/v13/enums/types/custom_interest_member_type.pyi index b14b194ad..18595c0f2 100644 --- a/google-stubs/ads/googleads/v13/enums/types/custom_interest_member_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/custom_interest_member_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomInterestMemberTypeEnum(proto.Message): class CustomInterestMemberType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class CustomInterestMemberTypeEnum(proto.Message): KEYWORD = 2 URL = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/custom_interest_status.pyi b/google-stubs/ads/googleads/v13/enums/types/custom_interest_status.pyi index 5769e5d88..25c109b5b 100644 --- a/google-stubs/ads/googleads/v13/enums/types/custom_interest_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/custom_interest_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomInterestStatusEnum(proto.Message): class CustomInterestStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class CustomInterestStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/custom_interest_type.pyi b/google-stubs/ads/googleads/v13/enums/types/custom_interest_type.pyi index 299fee7ab..086611913 100644 --- a/google-stubs/ads/googleads/v13/enums/types/custom_interest_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/custom_interest_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomInterestTypeEnum(proto.Message): class CustomInterestType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class CustomInterestTypeEnum(proto.Message): CUSTOM_AFFINITY = 2 CUSTOM_INTENT = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/custom_placeholder_field.pyi b/google-stubs/ads/googleads/v13/enums/types/custom_placeholder_field.pyi index aaa97296d..b070e24a4 100644 --- a/google-stubs/ads/googleads/v13/enums/types/custom_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/custom_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomPlaceholderFieldEnum(proto.Message): class CustomPlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -27,8 +31,8 @@ class CustomPlaceholderFieldEnum(proto.Message): IOS_APP_LINK = 20 IOS_APP_STORE_ID = 21 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/customer_match_upload_key_type.pyi b/google-stubs/ads/googleads/v13/enums/types/customer_match_upload_key_type.pyi index c4d0d7010..a144e7a4c 100644 --- a/google-stubs/ads/googleads/v13/enums/types/customer_match_upload_key_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/customer_match_upload_key_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomerMatchUploadKeyTypeEnum(proto.Message): class CustomerMatchUploadKeyType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class CustomerMatchUploadKeyTypeEnum(proto.Message): CRM_ID = 3 MOBILE_ADVERTISING_ID = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/customer_pay_per_conversion_eligibility_failure_reason.pyi b/google-stubs/ads/googleads/v13/enums/types/customer_pay_per_conversion_eligibility_failure_reason.pyi index 9b31e561b..3969176e0 100644 --- a/google-stubs/ads/googleads/v13/enums/types/customer_pay_per_conversion_eligibility_failure_reason.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/customer_pay_per_conversion_eligibility_failure_reason.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomerPayPerConversionEligibilityFailureReasonEnum(proto.Message): class CustomerPayPerConversionEligibilityFailureReason(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class CustomerPayPerConversionEligibilityFailureReasonEnum(proto.Message): ANALYSIS_NOT_COMPLETE = 7 OTHER = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/customer_status.pyi b/google-stubs/ads/googleads/v13/enums/types/customer_status.pyi index 51081fee7..b5339c446 100644 --- a/google-stubs/ads/googleads/v13/enums/types/customer_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/customer_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomerStatusEnum(proto.Message): class CustomerStatus(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class CustomerStatusEnum(proto.Message): SUSPENDED = 4 CLOSED = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/customizer_attribute_status.pyi b/google-stubs/ads/googleads/v13/enums/types/customizer_attribute_status.pyi index 1ee7d9484..08e4c03c8 100644 --- a/google-stubs/ads/googleads/v13/enums/types/customizer_attribute_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/customizer_attribute_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomizerAttributeStatusEnum(proto.Message): class CustomizerAttributeStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class CustomizerAttributeStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/customizer_attribute_type.pyi b/google-stubs/ads/googleads/v13/enums/types/customizer_attribute_type.pyi index c7ebfc38a..439f41282 100644 --- a/google-stubs/ads/googleads/v13/enums/types/customizer_attribute_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/customizer_attribute_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomizerAttributeTypeEnum(proto.Message): class CustomizerAttributeType(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class CustomizerAttributeTypeEnum(proto.Message): PRICE = 4 PERCENT = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/customizer_value_status.pyi b/google-stubs/ads/googleads/v13/enums/types/customizer_value_status.pyi index 10d376205..74951655a 100644 --- a/google-stubs/ads/googleads/v13/enums/types/customizer_value_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/customizer_value_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomizerValueStatusEnum(proto.Message): class CustomizerValueStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class CustomizerValueStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/data_driven_model_status.pyi b/google-stubs/ads/googleads/v13/enums/types/data_driven_model_status.pyi index 9df461fc8..050e96cd7 100644 --- a/google-stubs/ads/googleads/v13/enums/types/data_driven_model_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/data_driven_model_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class DataDrivenModelStatusEnum(proto.Message): class DataDrivenModelStatus(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class DataDrivenModelStatusEnum(proto.Message): EXPIRED = 4 NEVER_GENERATED = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/day_of_week.pyi b/google-stubs/ads/googleads/v13/enums/types/day_of_week.pyi index 32c1249fd..d2a7abf1c 100644 --- a/google-stubs/ads/googleads/v13/enums/types/day_of_week.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/day_of_week.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class DayOfWeekEnum(proto.Message): class DayOfWeek(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class DayOfWeekEnum(proto.Message): SATURDAY = 7 SUNDAY = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/device.pyi b/google-stubs/ads/googleads/v13/enums/types/device.pyi index 8b3e2d1ed..c520251d9 100644 --- a/google-stubs/ads/googleads/v13/enums/types/device.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/device.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class DeviceEnum(proto.Message): class Device(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class DeviceEnum(proto.Message): CONNECTED_TV = 6 OTHER = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/display_ad_format_setting.pyi b/google-stubs/ads/googleads/v13/enums/types/display_ad_format_setting.pyi index 48ad30c3c..d9da4965e 100644 --- a/google-stubs/ads/googleads/v13/enums/types/display_ad_format_setting.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/display_ad_format_setting.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class DisplayAdFormatSettingEnum(proto.Message): class DisplayAdFormatSetting(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class DisplayAdFormatSettingEnum(proto.Message): NON_NATIVE = 3 NATIVE = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/display_upload_product_type.pyi b/google-stubs/ads/googleads/v13/enums/types/display_upload_product_type.pyi index dc8e5cc73..6d00fabbd 100644 --- a/google-stubs/ads/googleads/v13/enums/types/display_upload_product_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/display_upload_product_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class DisplayUploadProductTypeEnum(proto.Message): class DisplayUploadProductType(proto.Enum): UNSPECIFIED = 0 @@ -17,8 +21,8 @@ class DisplayUploadProductTypeEnum(proto.Message): DYNAMIC_HTML5_TRAVEL_AD = 10 DYNAMIC_HTML5_HOTEL_AD = 11 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/distance_bucket.pyi b/google-stubs/ads/googleads/v13/enums/types/distance_bucket.pyi index 772dfa2b4..6ab0e9bd0 100644 --- a/google-stubs/ads/googleads/v13/enums/types/distance_bucket.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/distance_bucket.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class DistanceBucketEnum(proto.Message): class DistanceBucket(proto.Enum): UNSPECIFIED = 0 @@ -34,8 +38,8 @@ class DistanceBucketEnum(proto.Message): WITHIN_40MILES = 27 BEYOND_40MILES = 28 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/dsa_page_feed_criterion_field.pyi b/google-stubs/ads/googleads/v13/enums/types/dsa_page_feed_criterion_field.pyi index ea89e4530..18a326f10 100644 --- a/google-stubs/ads/googleads/v13/enums/types/dsa_page_feed_criterion_field.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/dsa_page_feed_criterion_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class DsaPageFeedCriterionFieldEnum(proto.Message): class DsaPageFeedCriterionField(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class DsaPageFeedCriterionFieldEnum(proto.Message): PAGE_URL = 2 LABEL = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/education_placeholder_field.pyi b/google-stubs/ads/googleads/v13/enums/types/education_placeholder_field.pyi index facf7ae63..130366cb1 100644 --- a/google-stubs/ads/googleads/v13/enums/types/education_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/education_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class EducationPlaceholderFieldEnum(proto.Message): class EducationPlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -24,8 +28,8 @@ class EducationPlaceholderFieldEnum(proto.Message): IOS_APP_LINK = 17 IOS_APP_STORE_ID = 18 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/experiment_metric.pyi b/google-stubs/ads/googleads/v13/enums/types/experiment_metric.pyi index 191dc4af2..56c56f03f 100644 --- a/google-stubs/ads/googleads/v13/enums/types/experiment_metric.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/experiment_metric.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ExperimentMetricEnum(proto.Message): class ExperimentMetric(proto.Enum): UNSPECIFIED = 0 @@ -20,8 +24,8 @@ class ExperimentMetricEnum(proto.Message): CONVERSIONS = 13 CONVERSION_VALUE = 14 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/experiment_metric_direction.pyi b/google-stubs/ads/googleads/v13/enums/types/experiment_metric_direction.pyi index 92d48d78d..a5c418488 100644 --- a/google-stubs/ads/googleads/v13/enums/types/experiment_metric_direction.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/experiment_metric_direction.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ExperimentMetricDirectionEnum(proto.Message): class ExperimentMetricDirection(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class ExperimentMetricDirectionEnum(proto.Message): NO_CHANGE_OR_INCREASE = 5 NO_CHANGE_OR_DECREASE = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/experiment_status.pyi b/google-stubs/ads/googleads/v13/enums/types/experiment_status.pyi index 60c06c18d..699508789 100644 --- a/google-stubs/ads/googleads/v13/enums/types/experiment_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/experiment_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ExperimentStatusEnum(proto.Message): class ExperimentStatus(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class ExperimentStatusEnum(proto.Message): INITIATED = 7 GRADUATED = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/experiment_type.pyi b/google-stubs/ads/googleads/v13/enums/types/experiment_type.pyi index 70b704a33..ed5dfdda9 100644 --- a/google-stubs/ads/googleads/v13/enums/types/experiment_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/experiment_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ExperimentTypeEnum(proto.Message): class ExperimentType(proto.Enum): UNSPECIFIED = 0 @@ -17,8 +21,8 @@ class ExperimentTypeEnum(proto.Message): SMART_MATCHING = 11 HOTEL_CUSTOM = 12 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/extension_setting_device.pyi b/google-stubs/ads/googleads/v13/enums/types/extension_setting_device.pyi index 32afeae2f..9e95ed754 100644 --- a/google-stubs/ads/googleads/v13/enums/types/extension_setting_device.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/extension_setting_device.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ExtensionSettingDeviceEnum(proto.Message): class ExtensionSettingDevice(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class ExtensionSettingDeviceEnum(proto.Message): MOBILE = 2 DESKTOP = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/extension_type.pyi b/google-stubs/ads/googleads/v13/enums/types/extension_type.pyi index 03d958d4e..ecd2c595b 100644 --- a/google-stubs/ads/googleads/v13/enums/types/extension_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/extension_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ExtensionTypeEnum(proto.Message): class ExtensionType(proto.Enum): UNSPECIFIED = 0 @@ -20,8 +24,8 @@ class ExtensionTypeEnum(proto.Message): HOTEL_CALLOUT = 15 IMAGE = 16 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/external_conversion_source.pyi b/google-stubs/ads/googleads/v13/enums/types/external_conversion_source.pyi index bffc6a14e..1dacac2d6 100644 --- a/google-stubs/ads/googleads/v13/enums/types/external_conversion_source.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/external_conversion_source.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ExternalConversionSourceEnum(proto.Message): class ExternalConversionSource(proto.Enum): UNSPECIFIED = 0 @@ -35,8 +39,8 @@ class ExternalConversionSourceEnum(proto.Message): FIREBASE_SEARCH_ADS_360 = 33 DISPLAY_AND_VIDEO_360_FLOODLIGHT = 34 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/feed_attribute_type.pyi b/google-stubs/ads/googleads/v13/enums/types/feed_attribute_type.pyi index d6d126300..c15c66c0d 100644 --- a/google-stubs/ads/googleads/v13/enums/types/feed_attribute_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/feed_attribute_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedAttributeTypeEnum(proto.Message): class FeedAttributeType(proto.Enum): UNSPECIFIED = 0 @@ -20,8 +24,8 @@ class FeedAttributeTypeEnum(proto.Message): DATE_TIME_LIST = 13 PRICE = 14 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/feed_item_quality_approval_status.pyi b/google-stubs/ads/googleads/v13/enums/types/feed_item_quality_approval_status.pyi index 96f027f04..f52a36e88 100644 --- a/google-stubs/ads/googleads/v13/enums/types/feed_item_quality_approval_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/feed_item_quality_approval_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedItemQualityApprovalStatusEnum(proto.Message): class FeedItemQualityApprovalStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class FeedItemQualityApprovalStatusEnum(proto.Message): APPROVED = 2 DISAPPROVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/feed_item_quality_disapproval_reason.pyi b/google-stubs/ads/googleads/v13/enums/types/feed_item_quality_disapproval_reason.pyi index 328b39057..573200fa0 100644 --- a/google-stubs/ads/googleads/v13/enums/types/feed_item_quality_disapproval_reason.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/feed_item_quality_disapproval_reason.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedItemQualityDisapprovalReasonEnum(proto.Message): class FeedItemQualityDisapprovalReason(proto.Enum): UNSPECIFIED = 0 @@ -25,8 +29,8 @@ class FeedItemQualityDisapprovalReasonEnum(proto.Message): STRUCTURED_SNIPPETS_EDITORIAL_GUIDELINES = 18 STRUCTURED_SNIPPETS_HAS_PROMOTIONAL_TEXT = 19 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/feed_item_set_status.pyi b/google-stubs/ads/googleads/v13/enums/types/feed_item_set_status.pyi index 6da0bae0b..b4f7afd21 100644 --- a/google-stubs/ads/googleads/v13/enums/types/feed_item_set_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/feed_item_set_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedItemSetStatusEnum(proto.Message): class FeedItemSetStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class FeedItemSetStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/feed_item_set_string_filter_type.pyi b/google-stubs/ads/googleads/v13/enums/types/feed_item_set_string_filter_type.pyi index 2165733f9..a1f715f65 100644 --- a/google-stubs/ads/googleads/v13/enums/types/feed_item_set_string_filter_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/feed_item_set_string_filter_type.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedItemSetStringFilterTypeEnum(proto.Message): class FeedItemSetStringFilterType(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 EXACT = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/feed_item_status.pyi b/google-stubs/ads/googleads/v13/enums/types/feed_item_status.pyi index c0ba7cfc1..357b5a8b0 100644 --- a/google-stubs/ads/googleads/v13/enums/types/feed_item_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/feed_item_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedItemStatusEnum(proto.Message): class FeedItemStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class FeedItemStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/feed_item_target_device.pyi b/google-stubs/ads/googleads/v13/enums/types/feed_item_target_device.pyi index f6af739ca..f4331aa9f 100644 --- a/google-stubs/ads/googleads/v13/enums/types/feed_item_target_device.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/feed_item_target_device.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedItemTargetDeviceEnum(proto.Message): class FeedItemTargetDevice(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 MOBILE = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/feed_item_target_status.pyi b/google-stubs/ads/googleads/v13/enums/types/feed_item_target_status.pyi index f277df47b..0a716c26e 100644 --- a/google-stubs/ads/googleads/v13/enums/types/feed_item_target_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/feed_item_target_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedItemTargetStatusEnum(proto.Message): class FeedItemTargetStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class FeedItemTargetStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/feed_item_target_type.pyi b/google-stubs/ads/googleads/v13/enums/types/feed_item_target_type.pyi index bf4d3d898..44a9de572 100644 --- a/google-stubs/ads/googleads/v13/enums/types/feed_item_target_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/feed_item_target_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedItemTargetTypeEnum(proto.Message): class FeedItemTargetType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class FeedItemTargetTypeEnum(proto.Message): AD_GROUP = 3 CRITERION = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/feed_item_validation_status.pyi b/google-stubs/ads/googleads/v13/enums/types/feed_item_validation_status.pyi index 2d9fdf3f5..59821405a 100644 --- a/google-stubs/ads/googleads/v13/enums/types/feed_item_validation_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/feed_item_validation_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedItemValidationStatusEnum(proto.Message): class FeedItemValidationStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class FeedItemValidationStatusEnum(proto.Message): INVALID = 3 VALID = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/feed_link_status.pyi b/google-stubs/ads/googleads/v13/enums/types/feed_link_status.pyi index 732887804..84ffd0d40 100644 --- a/google-stubs/ads/googleads/v13/enums/types/feed_link_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/feed_link_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedLinkStatusEnum(proto.Message): class FeedLinkStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class FeedLinkStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/feed_mapping_criterion_type.pyi b/google-stubs/ads/googleads/v13/enums/types/feed_mapping_criterion_type.pyi index 7f274de76..257924db8 100644 --- a/google-stubs/ads/googleads/v13/enums/types/feed_mapping_criterion_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/feed_mapping_criterion_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedMappingCriterionTypeEnum(proto.Message): class FeedMappingCriterionType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class FeedMappingCriterionTypeEnum(proto.Message): LOCATION_EXTENSION_TARGETING = 4 DSA_PAGE_FEED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/feed_mapping_status.pyi b/google-stubs/ads/googleads/v13/enums/types/feed_mapping_status.pyi index 2d07ff3bf..0791c0564 100644 --- a/google-stubs/ads/googleads/v13/enums/types/feed_mapping_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/feed_mapping_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedMappingStatusEnum(proto.Message): class FeedMappingStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class FeedMappingStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/feed_origin.pyi b/google-stubs/ads/googleads/v13/enums/types/feed_origin.pyi index 9e8c6fc5d..99ac40fd1 100644 --- a/google-stubs/ads/googleads/v13/enums/types/feed_origin.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/feed_origin.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedOriginEnum(proto.Message): class FeedOrigin(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class FeedOriginEnum(proto.Message): USER = 2 GOOGLE = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/feed_status.pyi b/google-stubs/ads/googleads/v13/enums/types/feed_status.pyi index 303d4a0a0..faacfd05b 100644 --- a/google-stubs/ads/googleads/v13/enums/types/feed_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/feed_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedStatusEnum(proto.Message): class FeedStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class FeedStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/flight_placeholder_field.pyi b/google-stubs/ads/googleads/v13/enums/types/flight_placeholder_field.pyi index 67aac5c1a..0e6f5430c 100644 --- a/google-stubs/ads/googleads/v13/enums/types/flight_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/flight_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FlightPlaceholderFieldEnum(proto.Message): class FlightPlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -24,8 +28,8 @@ class FlightPlaceholderFieldEnum(proto.Message): IOS_APP_LINK = 17 IOS_APP_STORE_ID = 18 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/frequency_cap_event_type.pyi b/google-stubs/ads/googleads/v13/enums/types/frequency_cap_event_type.pyi index 38bfcea18..a74f7b450 100644 --- a/google-stubs/ads/googleads/v13/enums/types/frequency_cap_event_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/frequency_cap_event_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FrequencyCapEventTypeEnum(proto.Message): class FrequencyCapEventType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class FrequencyCapEventTypeEnum(proto.Message): IMPRESSION = 2 VIDEO_VIEW = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/frequency_cap_level.pyi b/google-stubs/ads/googleads/v13/enums/types/frequency_cap_level.pyi index b5baa1243..51635bbb0 100644 --- a/google-stubs/ads/googleads/v13/enums/types/frequency_cap_level.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/frequency_cap_level.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FrequencyCapLevelEnum(proto.Message): class FrequencyCapLevel(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class FrequencyCapLevelEnum(proto.Message): AD_GROUP = 3 CAMPAIGN = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/frequency_cap_time_unit.pyi b/google-stubs/ads/googleads/v13/enums/types/frequency_cap_time_unit.pyi index b69c09e28..7dbc3bdf9 100644 --- a/google-stubs/ads/googleads/v13/enums/types/frequency_cap_time_unit.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/frequency_cap_time_unit.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FrequencyCapTimeUnitEnum(proto.Message): class FrequencyCapTimeUnit(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class FrequencyCapTimeUnitEnum(proto.Message): WEEK = 3 MONTH = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/gender_type.pyi b/google-stubs/ads/googleads/v13/enums/types/gender_type.pyi index e8f001217..50c5e5775 100644 --- a/google-stubs/ads/googleads/v13/enums/types/gender_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/gender_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class GenderTypeEnum(proto.Message): class GenderType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class GenderTypeEnum(proto.Message): FEMALE = 11 UNDETERMINED = 20 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/geo_target_constant_status.pyi b/google-stubs/ads/googleads/v13/enums/types/geo_target_constant_status.pyi index 4a1a57deb..f35bce078 100644 --- a/google-stubs/ads/googleads/v13/enums/types/geo_target_constant_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/geo_target_constant_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class GeoTargetConstantStatusEnum(proto.Message): class GeoTargetConstantStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class GeoTargetConstantStatusEnum(proto.Message): ENABLED = 2 REMOVAL_PLANNED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/geo_targeting_restriction.pyi b/google-stubs/ads/googleads/v13/enums/types/geo_targeting_restriction.pyi index 63267842f..d6b839e54 100644 --- a/google-stubs/ads/googleads/v13/enums/types/geo_targeting_restriction.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/geo_targeting_restriction.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class GeoTargetingRestrictionEnum(proto.Message): class GeoTargetingRestriction(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 LOCATION_OF_PRESENCE = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/geo_targeting_type.pyi b/google-stubs/ads/googleads/v13/enums/types/geo_targeting_type.pyi index 062679e5e..ed6018515 100644 --- a/google-stubs/ads/googleads/v13/enums/types/geo_targeting_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/geo_targeting_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class GeoTargetingTypeEnum(proto.Message): class GeoTargetingType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class GeoTargetingTypeEnum(proto.Message): AREA_OF_INTEREST = 2 LOCATION_OF_PRESENCE = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/goal_config_level.pyi b/google-stubs/ads/googleads/v13/enums/types/goal_config_level.pyi index dca97e242..8ec50898c 100644 --- a/google-stubs/ads/googleads/v13/enums/types/goal_config_level.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/goal_config_level.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class GoalConfigLevelEnum(proto.Message): class GoalConfigLevel(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class GoalConfigLevelEnum(proto.Message): CUSTOMER = 2 CAMPAIGN = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/google_ads_field_category.pyi b/google-stubs/ads/googleads/v13/enums/types/google_ads_field_category.pyi index f4b43e060..710d6ea9b 100644 --- a/google-stubs/ads/googleads/v13/enums/types/google_ads_field_category.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/google_ads_field_category.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class GoogleAdsFieldCategoryEnum(proto.Message): class GoogleAdsFieldCategory(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class GoogleAdsFieldCategoryEnum(proto.Message): SEGMENT = 5 METRIC = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/google_ads_field_data_type.pyi b/google-stubs/ads/googleads/v13/enums/types/google_ads_field_data_type.pyi index 0cea2e86b..970d885bd 100644 --- a/google-stubs/ads/googleads/v13/enums/types/google_ads_field_data_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/google_ads_field_data_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class GoogleAdsFieldDataTypeEnum(proto.Message): class GoogleAdsFieldDataType(proto.Enum): UNSPECIFIED = 0 @@ -18,8 +22,8 @@ class GoogleAdsFieldDataTypeEnum(proto.Message): STRING = 11 UINT64 = 12 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/google_voice_call_status.pyi b/google-stubs/ads/googleads/v13/enums/types/google_voice_call_status.pyi index 80afba629..01eaf7900 100644 --- a/google-stubs/ads/googleads/v13/enums/types/google_voice_call_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/google_voice_call_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class GoogleVoiceCallStatusEnum(proto.Message): class GoogleVoiceCallStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class GoogleVoiceCallStatusEnum(proto.Message): MISSED = 2 RECEIVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/hotel_asset_suggestion_status.pyi b/google-stubs/ads/googleads/v13/enums/types/hotel_asset_suggestion_status.pyi index 60409fa55..899ea62a3 100644 --- a/google-stubs/ads/googleads/v13/enums/types/hotel_asset_suggestion_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/hotel_asset_suggestion_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class HotelAssetSuggestionStatusEnum(proto.Message): class HotelAssetSuggestionStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class HotelAssetSuggestionStatusEnum(proto.Message): HOTEL_NOT_FOUND = 3 INVALID_PLACE_ID = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/hotel_date_selection_type.pyi b/google-stubs/ads/googleads/v13/enums/types/hotel_date_selection_type.pyi index b869169bd..6b486407a 100644 --- a/google-stubs/ads/googleads/v13/enums/types/hotel_date_selection_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/hotel_date_selection_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class HotelDateSelectionTypeEnum(proto.Message): class HotelDateSelectionType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class HotelDateSelectionTypeEnum(proto.Message): DEFAULT_SELECTION = 50 USER_SELECTED = 51 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/hotel_placeholder_field.pyi b/google-stubs/ads/googleads/v13/enums/types/hotel_placeholder_field.pyi index dc7d1ddd9..e6c85ff22 100644 --- a/google-stubs/ads/googleads/v13/enums/types/hotel_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/hotel_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class HotelPlaceholderFieldEnum(proto.Message): class HotelPlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -27,8 +31,8 @@ class HotelPlaceholderFieldEnum(proto.Message): IOS_APP_LINK = 20 IOS_APP_STORE_ID = 21 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/hotel_price_bucket.pyi b/google-stubs/ads/googleads/v13/enums/types/hotel_price_bucket.pyi index 110e6b481..1c50f55bc 100644 --- a/google-stubs/ads/googleads/v13/enums/types/hotel_price_bucket.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/hotel_price_bucket.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class HotelPriceBucketEnum(proto.Message): class HotelPriceBucket(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class HotelPriceBucketEnum(proto.Message): NOT_LOWEST = 4 ONLY_PARTNER_SHOWN = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/hotel_rate_type.pyi b/google-stubs/ads/googleads/v13/enums/types/hotel_rate_type.pyi index b82f5e0fb..7a7e9de26 100644 --- a/google-stubs/ads/googleads/v13/enums/types/hotel_rate_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/hotel_rate_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class HotelRateTypeEnum(proto.Message): class HotelRateType(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class HotelRateTypeEnum(proto.Message): QUALIFIED_RATE = 4 PRIVATE_RATE = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/hotel_reconciliation_status.pyi b/google-stubs/ads/googleads/v13/enums/types/hotel_reconciliation_status.pyi index fed37ddcd..aa6081c7c 100644 --- a/google-stubs/ads/googleads/v13/enums/types/hotel_reconciliation_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/hotel_reconciliation_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class HotelReconciliationStatusEnum(proto.Message): class HotelReconciliationStatus(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class HotelReconciliationStatusEnum(proto.Message): RECONCILED = 4 CANCELED = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/image_placeholder_field.pyi b/google-stubs/ads/googleads/v13/enums/types/image_placeholder_field.pyi index 69df0b39c..f53a1dada 100644 --- a/google-stubs/ads/googleads/v13/enums/types/image_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/image_placeholder_field.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ImagePlaceholderFieldEnum(proto.Message): class ImagePlaceholderField(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 ASSET_ID = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/income_range_type.pyi b/google-stubs/ads/googleads/v13/enums/types/income_range_type.pyi index b3dbcb71e..1ef0814b5 100644 --- a/google-stubs/ads/googleads/v13/enums/types/income_range_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/income_range_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class IncomeRangeTypeEnum(proto.Message): class IncomeRangeType(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class IncomeRangeTypeEnum(proto.Message): INCOME_RANGE_90_UP = 510006 INCOME_RANGE_UNDETERMINED = 510000 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/interaction_event_type.pyi b/google-stubs/ads/googleads/v13/enums/types/interaction_event_type.pyi index b3de7ebdf..3560d05b3 100644 --- a/google-stubs/ads/googleads/v13/enums/types/interaction_event_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/interaction_event_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class InteractionEventTypeEnum(proto.Message): class InteractionEventType(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class InteractionEventTypeEnum(proto.Message): VIDEO_VIEW = 4 NONE = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/interaction_type.pyi b/google-stubs/ads/googleads/v13/enums/types/interaction_type.pyi index 29e08b2f7..8f614418d 100644 --- a/google-stubs/ads/googleads/v13/enums/types/interaction_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/interaction_type.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class InteractionTypeEnum(proto.Message): class InteractionType(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 CALLS = 8000 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/invoice_type.pyi b/google-stubs/ads/googleads/v13/enums/types/invoice_type.pyi index 2720d54de..a95af83f8 100644 --- a/google-stubs/ads/googleads/v13/enums/types/invoice_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/invoice_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class InvoiceTypeEnum(proto.Message): class InvoiceType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class InvoiceTypeEnum(proto.Message): CREDIT_MEMO = 2 INVOICE = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/job_placeholder_field.pyi b/google-stubs/ads/googleads/v13/enums/types/job_placeholder_field.pyi index 2e470be17..dc24e2964 100644 --- a/google-stubs/ads/googleads/v13/enums/types/job_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/job_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class JobPlaceholderFieldEnum(proto.Message): class JobPlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -24,8 +28,8 @@ class JobPlaceholderFieldEnum(proto.Message): IOS_APP_LINK = 18 IOS_APP_STORE_ID = 19 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/keyword_match_type.pyi b/google-stubs/ads/googleads/v13/enums/types/keyword_match_type.pyi index d0a602236..4d6e39c19 100644 --- a/google-stubs/ads/googleads/v13/enums/types/keyword_match_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/keyword_match_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class KeywordMatchTypeEnum(proto.Message): class KeywordMatchType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class KeywordMatchTypeEnum(proto.Message): PHRASE = 3 BROAD = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/keyword_plan_aggregate_metric_type.pyi b/google-stubs/ads/googleads/v13/enums/types/keyword_plan_aggregate_metric_type.pyi index 6a5e2b87b..d80b099ce 100644 --- a/google-stubs/ads/googleads/v13/enums/types/keyword_plan_aggregate_metric_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/keyword_plan_aggregate_metric_type.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class KeywordPlanAggregateMetricTypeEnum(proto.Message): class KeywordPlanAggregateMetricType(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 DEVICE = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/keyword_plan_competition_level.pyi b/google-stubs/ads/googleads/v13/enums/types/keyword_plan_competition_level.pyi index 0c9ca77ce..bd9e05b13 100644 --- a/google-stubs/ads/googleads/v13/enums/types/keyword_plan_competition_level.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/keyword_plan_competition_level.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class KeywordPlanCompetitionLevelEnum(proto.Message): class KeywordPlanCompetitionLevel(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class KeywordPlanCompetitionLevelEnum(proto.Message): MEDIUM = 3 HIGH = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/keyword_plan_concept_group_type.pyi b/google-stubs/ads/googleads/v13/enums/types/keyword_plan_concept_group_type.pyi index 66b65ec88..f3fd64b7d 100644 --- a/google-stubs/ads/googleads/v13/enums/types/keyword_plan_concept_group_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/keyword_plan_concept_group_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class KeywordPlanConceptGroupTypeEnum(proto.Message): class KeywordPlanConceptGroupType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class KeywordPlanConceptGroupTypeEnum(proto.Message): OTHER_BRANDS = 3 NON_BRAND = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/keyword_plan_forecast_interval.pyi b/google-stubs/ads/googleads/v13/enums/types/keyword_plan_forecast_interval.pyi index e7a140a55..0605d21aa 100644 --- a/google-stubs/ads/googleads/v13/enums/types/keyword_plan_forecast_interval.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/keyword_plan_forecast_interval.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class KeywordPlanForecastIntervalEnum(proto.Message): class KeywordPlanForecastInterval(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class KeywordPlanForecastIntervalEnum(proto.Message): NEXT_MONTH = 4 NEXT_QUARTER = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/keyword_plan_keyword_annotation.pyi b/google-stubs/ads/googleads/v13/enums/types/keyword_plan_keyword_annotation.pyi index 459c4c4df..e3a9d9923 100644 --- a/google-stubs/ads/googleads/v13/enums/types/keyword_plan_keyword_annotation.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/keyword_plan_keyword_annotation.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class KeywordPlanKeywordAnnotationEnum(proto.Message): class KeywordPlanKeywordAnnotation(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 KEYWORD_CONCEPT = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/keyword_plan_network.pyi b/google-stubs/ads/googleads/v13/enums/types/keyword_plan_network.pyi index 7e992b2a4..eeb819087 100644 --- a/google-stubs/ads/googleads/v13/enums/types/keyword_plan_network.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/keyword_plan_network.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class KeywordPlanNetworkEnum(proto.Message): class KeywordPlanNetwork(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class KeywordPlanNetworkEnum(proto.Message): GOOGLE_SEARCH = 2 GOOGLE_SEARCH_AND_PARTNERS = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/label_status.pyi b/google-stubs/ads/googleads/v13/enums/types/label_status.pyi index 37b3c59e2..3502de1ea 100644 --- a/google-stubs/ads/googleads/v13/enums/types/label_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/label_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LabelStatusEnum(proto.Message): class LabelStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class LabelStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/lead_form_call_to_action_type.pyi b/google-stubs/ads/googleads/v13/enums/types/lead_form_call_to_action_type.pyi index 4451a48b5..c0b7d8aad 100644 --- a/google-stubs/ads/googleads/v13/enums/types/lead_form_call_to_action_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/lead_form_call_to_action_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LeadFormCallToActionTypeEnum(proto.Message): class LeadFormCallToActionType(proto.Enum): UNSPECIFIED = 0 @@ -21,8 +25,8 @@ class LeadFormCallToActionTypeEnum(proto.Message): JOIN_NOW = 14 GET_STARTED = 15 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/lead_form_desired_intent.pyi b/google-stubs/ads/googleads/v13/enums/types/lead_form_desired_intent.pyi index d2d2c429e..6f81aacc5 100644 --- a/google-stubs/ads/googleads/v13/enums/types/lead_form_desired_intent.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/lead_form_desired_intent.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LeadFormDesiredIntentEnum(proto.Message): class LeadFormDesiredIntent(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class LeadFormDesiredIntentEnum(proto.Message): LOW_INTENT = 2 HIGH_INTENT = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/lead_form_field_user_input_type.pyi b/google-stubs/ads/googleads/v13/enums/types/lead_form_field_user_input_type.pyi index 2bec929db..b13672a10 100644 --- a/google-stubs/ads/googleads/v13/enums/types/lead_form_field_user_input_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/lead_form_field_user_input_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LeadFormFieldUserInputTypeEnum(proto.Message): class LeadFormFieldUserInputType(proto.Enum): UNSPECIFIED = 0 @@ -123,8 +127,8 @@ class LeadFormFieldUserInputTypeEnum(proto.Message): TRAVEL_BUDGET = 1046 TRAVEL_ACCOMMODATION = 1047 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/lead_form_post_submit_call_to_action_type.pyi b/google-stubs/ads/googleads/v13/enums/types/lead_form_post_submit_call_to_action_type.pyi index be0af8fc2..b5316784b 100644 --- a/google-stubs/ads/googleads/v13/enums/types/lead_form_post_submit_call_to_action_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/lead_form_post_submit_call_to_action_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LeadFormPostSubmitCallToActionTypeEnum(proto.Message): class LeadFormPostSubmitCallToActionType(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class LeadFormPostSubmitCallToActionTypeEnum(proto.Message): LEARN_MORE = 4 SHOP_NOW = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/legacy_app_install_ad_app_store.pyi b/google-stubs/ads/googleads/v13/enums/types/legacy_app_install_ad_app_store.pyi index 43fd41d2d..53c10ec0e 100644 --- a/google-stubs/ads/googleads/v13/enums/types/legacy_app_install_ad_app_store.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/legacy_app_install_ad_app_store.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LegacyAppInstallAdAppStoreEnum(proto.Message): class LegacyAppInstallAdAppStore(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class LegacyAppInstallAdAppStoreEnum(proto.Message): WINDOWS_PHONE_STORE = 5 CN_APP_STORE = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/linked_account_type.pyi b/google-stubs/ads/googleads/v13/enums/types/linked_account_type.pyi index 1f1de7fd1..8dbf8c583 100644 --- a/google-stubs/ads/googleads/v13/enums/types/linked_account_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/linked_account_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LinkedAccountTypeEnum(proto.Message): class LinkedAccountType(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class LinkedAccountTypeEnum(proto.Message): HOTEL_CENTER = 5 ADVERTISING_PARTNER = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/linked_product_type.pyi b/google-stubs/ads/googleads/v13/enums/types/linked_product_type.pyi index 0617a3fd8..b590bc4ac 100644 --- a/google-stubs/ads/googleads/v13/enums/types/linked_product_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/linked_product_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LinkedProductTypeEnum(proto.Message): class LinkedProductType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class LinkedProductTypeEnum(proto.Message): DATA_PARTNER = 2 GOOGLE_ADS = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/listing_group_filter_bidding_category_level.pyi b/google-stubs/ads/googleads/v13/enums/types/listing_group_filter_bidding_category_level.pyi index bdfeff090..2bd0c9679 100644 --- a/google-stubs/ads/googleads/v13/enums/types/listing_group_filter_bidding_category_level.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/listing_group_filter_bidding_category_level.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ListingGroupFilterBiddingCategoryLevelEnum(proto.Message): class ListingGroupFilterBiddingCategoryLevel(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class ListingGroupFilterBiddingCategoryLevelEnum(proto.Message): LEVEL4 = 5 LEVEL5 = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/listing_group_filter_custom_attribute_index.pyi b/google-stubs/ads/googleads/v13/enums/types/listing_group_filter_custom_attribute_index.pyi index 7bc7cc683..722028ce5 100644 --- a/google-stubs/ads/googleads/v13/enums/types/listing_group_filter_custom_attribute_index.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/listing_group_filter_custom_attribute_index.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ListingGroupFilterCustomAttributeIndexEnum(proto.Message): class ListingGroupFilterCustomAttributeIndex(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class ListingGroupFilterCustomAttributeIndexEnum(proto.Message): INDEX3 = 5 INDEX4 = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/listing_group_filter_product_channel.pyi b/google-stubs/ads/googleads/v13/enums/types/listing_group_filter_product_channel.pyi index fb4aa5a59..5b60633f7 100644 --- a/google-stubs/ads/googleads/v13/enums/types/listing_group_filter_product_channel.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/listing_group_filter_product_channel.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ListingGroupFilterProductChannelEnum(proto.Message): class ListingGroupFilterProductChannel(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class ListingGroupFilterProductChannelEnum(proto.Message): ONLINE = 2 LOCAL = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/listing_group_filter_product_condition.pyi b/google-stubs/ads/googleads/v13/enums/types/listing_group_filter_product_condition.pyi index fe1abe2bf..f810a37ab 100644 --- a/google-stubs/ads/googleads/v13/enums/types/listing_group_filter_product_condition.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/listing_group_filter_product_condition.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ListingGroupFilterProductConditionEnum(proto.Message): class ListingGroupFilterProductCondition(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ListingGroupFilterProductConditionEnum(proto.Message): REFURBISHED = 3 USED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/listing_group_filter_product_type_level.pyi b/google-stubs/ads/googleads/v13/enums/types/listing_group_filter_product_type_level.pyi index 10d7af085..93a41c12b 100644 --- a/google-stubs/ads/googleads/v13/enums/types/listing_group_filter_product_type_level.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/listing_group_filter_product_type_level.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ListingGroupFilterProductTypeLevelEnum(proto.Message): class ListingGroupFilterProductTypeLevel(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class ListingGroupFilterProductTypeLevelEnum(proto.Message): LEVEL4 = 5 LEVEL5 = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/listing_group_filter_type_enum.pyi b/google-stubs/ads/googleads/v13/enums/types/listing_group_filter_type_enum.pyi index 495fb901f..9ffedcdcf 100644 --- a/google-stubs/ads/googleads/v13/enums/types/listing_group_filter_type_enum.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/listing_group_filter_type_enum.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ListingGroupFilterTypeEnum(proto.Message): class ListingGroupFilterType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ListingGroupFilterTypeEnum(proto.Message): UNIT_INCLUDED = 3 UNIT_EXCLUDED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/listing_group_filter_vertical.pyi b/google-stubs/ads/googleads/v13/enums/types/listing_group_filter_vertical.pyi index a07bbda5a..8c172c003 100644 --- a/google-stubs/ads/googleads/v13/enums/types/listing_group_filter_vertical.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/listing_group_filter_vertical.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ListingGroupFilterVerticalEnum(proto.Message): class ListingGroupFilterVertical(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 SHOPPING = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/listing_group_type.pyi b/google-stubs/ads/googleads/v13/enums/types/listing_group_type.pyi index 8a98fe529..d6430741e 100644 --- a/google-stubs/ads/googleads/v13/enums/types/listing_group_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/listing_group_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ListingGroupTypeEnum(proto.Message): class ListingGroupType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class ListingGroupTypeEnum(proto.Message): SUBDIVISION = 2 UNIT = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/listing_type.pyi b/google-stubs/ads/googleads/v13/enums/types/listing_type.pyi index 24ebffdec..86446b776 100644 --- a/google-stubs/ads/googleads/v13/enums/types/listing_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/listing_type.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ListingTypeEnum(proto.Message): class ListingType(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 VEHICLES = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/local_placeholder_field.pyi b/google-stubs/ads/googleads/v13/enums/types/local_placeholder_field.pyi index 7979139b2..469a6f042 100644 --- a/google-stubs/ads/googleads/v13/enums/types/local_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/local_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LocalPlaceholderFieldEnum(proto.Message): class LocalPlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -26,8 +30,8 @@ class LocalPlaceholderFieldEnum(proto.Message): IOS_APP_LINK = 19 IOS_APP_STORE_ID = 20 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/location_extension_targeting_criterion_field.pyi b/google-stubs/ads/googleads/v13/enums/types/location_extension_targeting_criterion_field.pyi index 2f3ef814c..9a2881491 100644 --- a/google-stubs/ads/googleads/v13/enums/types/location_extension_targeting_criterion_field.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/location_extension_targeting_criterion_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LocationExtensionTargetingCriterionFieldEnum(proto.Message): class LocationExtensionTargetingCriterionField(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class LocationExtensionTargetingCriterionFieldEnum(proto.Message): POSTAL_CODE = 6 COUNTRY_CODE = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/location_group_radius_units.pyi b/google-stubs/ads/googleads/v13/enums/types/location_group_radius_units.pyi index bd921c7c3..5ac186010 100644 --- a/google-stubs/ads/googleads/v13/enums/types/location_group_radius_units.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/location_group_radius_units.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LocationGroupRadiusUnitsEnum(proto.Message): class LocationGroupRadiusUnits(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class LocationGroupRadiusUnitsEnum(proto.Message): MILES = 3 MILLI_MILES = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/location_ownership_type.pyi b/google-stubs/ads/googleads/v13/enums/types/location_ownership_type.pyi index 0a3348e10..cf72bba91 100644 --- a/google-stubs/ads/googleads/v13/enums/types/location_ownership_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/location_ownership_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LocationOwnershipTypeEnum(proto.Message): class LocationOwnershipType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class LocationOwnershipTypeEnum(proto.Message): BUSINESS_OWNER = 2 AFFILIATE = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/location_placeholder_field.pyi b/google-stubs/ads/googleads/v13/enums/types/location_placeholder_field.pyi index 7eb7285ec..029fb0937 100644 --- a/google-stubs/ads/googleads/v13/enums/types/location_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/location_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LocationPlaceholderFieldEnum(proto.Message): class LocationPlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -15,8 +19,8 @@ class LocationPlaceholderFieldEnum(proto.Message): COUNTRY_CODE = 8 PHONE_NUMBER = 9 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/location_source_type.pyi b/google-stubs/ads/googleads/v13/enums/types/location_source_type.pyi index 0f98220f2..7f1b2ca20 100644 --- a/google-stubs/ads/googleads/v13/enums/types/location_source_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/location_source_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LocationSourceTypeEnum(proto.Message): class LocationSourceType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class LocationSourceTypeEnum(proto.Message): GOOGLE_MY_BUSINESS = 2 AFFILIATE = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/location_string_filter_type.pyi b/google-stubs/ads/googleads/v13/enums/types/location_string_filter_type.pyi index 9ba7329ab..7535e42f7 100644 --- a/google-stubs/ads/googleads/v13/enums/types/location_string_filter_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/location_string_filter_type.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LocationStringFilterTypeEnum(proto.Message): class LocationStringFilterType(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 EXACT = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/manager_link_status.pyi b/google-stubs/ads/googleads/v13/enums/types/manager_link_status.pyi index aac6dffa4..03fbf1d25 100644 --- a/google-stubs/ads/googleads/v13/enums/types/manager_link_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/manager_link_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ManagerLinkStatusEnum(proto.Message): class ManagerLinkStatus(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class ManagerLinkStatusEnum(proto.Message): REFUSED = 5 CANCELED = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/matching_function_context_type.pyi b/google-stubs/ads/googleads/v13/enums/types/matching_function_context_type.pyi index c6edebf08..6b75917b7 100644 --- a/google-stubs/ads/googleads/v13/enums/types/matching_function_context_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/matching_function_context_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MatchingFunctionContextTypeEnum(proto.Message): class MatchingFunctionContextType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class MatchingFunctionContextTypeEnum(proto.Message): DEVICE_NAME = 3 FEED_ITEM_SET_ID = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/matching_function_operator.pyi b/google-stubs/ads/googleads/v13/enums/types/matching_function_operator.pyi index b0a8045b1..d617d77ee 100644 --- a/google-stubs/ads/googleads/v13/enums/types/matching_function_operator.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/matching_function_operator.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MatchingFunctionOperatorEnum(proto.Message): class MatchingFunctionOperator(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class MatchingFunctionOperatorEnum(proto.Message): AND = 5 CONTAINS_ANY = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/media_type.pyi b/google-stubs/ads/googleads/v13/enums/types/media_type.pyi index a2dad9a19..174c372a7 100644 --- a/google-stubs/ads/googleads/v13/enums/types/media_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/media_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MediaTypeEnum(proto.Message): class MediaType(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class MediaTypeEnum(proto.Message): VIDEO = 6 DYNAMIC_IMAGE = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/merchant_center_link_status.pyi b/google-stubs/ads/googleads/v13/enums/types/merchant_center_link_status.pyi index eafbefc17..6313c8e90 100644 --- a/google-stubs/ads/googleads/v13/enums/types/merchant_center_link_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/merchant_center_link_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MerchantCenterLinkStatusEnum(proto.Message): class MerchantCenterLinkStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class MerchantCenterLinkStatusEnum(proto.Message): ENABLED = 2 PENDING = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/message_placeholder_field.pyi b/google-stubs/ads/googleads/v13/enums/types/message_placeholder_field.pyi index e37429a3e..4efa61100 100644 --- a/google-stubs/ads/googleads/v13/enums/types/message_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/message_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MessagePlaceholderFieldEnum(proto.Message): class MessagePlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class MessagePlaceholderFieldEnum(proto.Message): MESSAGE_EXTENSION_TEXT = 5 MESSAGE_TEXT = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/mime_type.pyi b/google-stubs/ads/googleads/v13/enums/types/mime_type.pyi index ba290806a..a59fd8f9d 100644 --- a/google-stubs/ads/googleads/v13/enums/types/mime_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/mime_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MimeTypeEnum(proto.Message): class MimeType(proto.Enum): UNSPECIFIED = 0 @@ -19,8 +23,8 @@ class MimeTypeEnum(proto.Message): AUDIO_MP3 = 12 HTML5_AD_ZIP = 13 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/minute_of_hour.pyi b/google-stubs/ads/googleads/v13/enums/types/minute_of_hour.pyi index b632119b4..dcbec75ed 100644 --- a/google-stubs/ads/googleads/v13/enums/types/minute_of_hour.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/minute_of_hour.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MinuteOfHourEnum(proto.Message): class MinuteOfHour(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class MinuteOfHourEnum(proto.Message): THIRTY = 4 FORTY_FIVE = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/mobile_app_vendor.pyi b/google-stubs/ads/googleads/v13/enums/types/mobile_app_vendor.pyi index 6d028233e..3eb29d58a 100644 --- a/google-stubs/ads/googleads/v13/enums/types/mobile_app_vendor.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/mobile_app_vendor.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MobileAppVendorEnum(proto.Message): class MobileAppVendor(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class MobileAppVendorEnum(proto.Message): APPLE_APP_STORE = 2 GOOGLE_APP_STORE = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/mobile_device_type.pyi b/google-stubs/ads/googleads/v13/enums/types/mobile_device_type.pyi index 8b8e31766..d05b6c703 100644 --- a/google-stubs/ads/googleads/v13/enums/types/mobile_device_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/mobile_device_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MobileDeviceTypeEnum(proto.Message): class MobileDeviceType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class MobileDeviceTypeEnum(proto.Message): MOBILE = 2 TABLET = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/month_of_year.pyi b/google-stubs/ads/googleads/v13/enums/types/month_of_year.pyi index 58b44faea..345d6c82d 100644 --- a/google-stubs/ads/googleads/v13/enums/types/month_of_year.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/month_of_year.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MonthOfYearEnum(proto.Message): class MonthOfYear(proto.Enum): UNSPECIFIED = 0 @@ -19,8 +23,8 @@ class MonthOfYearEnum(proto.Message): NOVEMBER = 12 DECEMBER = 13 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/negative_geo_target_type.pyi b/google-stubs/ads/googleads/v13/enums/types/negative_geo_target_type.pyi index e7dd157a8..b57bd4333 100644 --- a/google-stubs/ads/googleads/v13/enums/types/negative_geo_target_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/negative_geo_target_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class NegativeGeoTargetTypeEnum(proto.Message): class NegativeGeoTargetType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class NegativeGeoTargetTypeEnum(proto.Message): PRESENCE_OR_INTEREST = 4 PRESENCE = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/offline_user_data_job_failure_reason.pyi b/google-stubs/ads/googleads/v13/enums/types/offline_user_data_job_failure_reason.pyi index 696180968..2688ed086 100644 --- a/google-stubs/ads/googleads/v13/enums/types/offline_user_data_job_failure_reason.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/offline_user_data_job_failure_reason.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class OfflineUserDataJobFailureReasonEnum(proto.Message): class OfflineUserDataJobFailureReason(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class OfflineUserDataJobFailureReasonEnum(proto.Message): LOW_AVERAGE_TRANSACTION_VALUE = 5 NEWLY_OBSERVED_CURRENCY_CODE = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/offline_user_data_job_match_rate_range.pyi b/google-stubs/ads/googleads/v13/enums/types/offline_user_data_job_match_rate_range.pyi index 9f736d8e2..7e0f30878 100644 --- a/google-stubs/ads/googleads/v13/enums/types/offline_user_data_job_match_rate_range.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/offline_user_data_job_match_rate_range.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class OfflineUserDataJobMatchRateRangeEnum(proto.Message): class OfflineUserDataJobMatchRateRange(proto.Enum): UNSPECIFIED = 0 @@ -16,8 +20,8 @@ class OfflineUserDataJobMatchRateRangeEnum(proto.Message): MATCH_RANGE_81_TO_90 = 9 MATCH_RANGE_91_TO_100 = 10 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/offline_user_data_job_status.pyi b/google-stubs/ads/googleads/v13/enums/types/offline_user_data_job_status.pyi index 2c577b1d9..aad0bfdf4 100644 --- a/google-stubs/ads/googleads/v13/enums/types/offline_user_data_job_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/offline_user_data_job_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class OfflineUserDataJobStatusEnum(proto.Message): class OfflineUserDataJobStatus(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class OfflineUserDataJobStatusEnum(proto.Message): SUCCESS = 4 FAILED = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/offline_user_data_job_type.pyi b/google-stubs/ads/googleads/v13/enums/types/offline_user_data_job_type.pyi index a6fa2b98d..60ea339c6 100644 --- a/google-stubs/ads/googleads/v13/enums/types/offline_user_data_job_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/offline_user_data_job_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class OfflineUserDataJobTypeEnum(proto.Message): class OfflineUserDataJobType(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class OfflineUserDataJobTypeEnum(proto.Message): CUSTOMER_MATCH_USER_LIST = 4 CUSTOMER_MATCH_WITH_ATTRIBUTES = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/operating_system_version_operator_type.pyi b/google-stubs/ads/googleads/v13/enums/types/operating_system_version_operator_type.pyi index 4810ca55b..000074f0e 100644 --- a/google-stubs/ads/googleads/v13/enums/types/operating_system_version_operator_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/operating_system_version_operator_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class OperatingSystemVersionOperatorTypeEnum(proto.Message): class OperatingSystemVersionOperatorType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class OperatingSystemVersionOperatorTypeEnum(proto.Message): EQUALS_TO = 2 GREATER_THAN_EQUALS_TO = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/optimization_goal_type.pyi b/google-stubs/ads/googleads/v13/enums/types/optimization_goal_type.pyi index d7658fe4d..e3c398c2d 100644 --- a/google-stubs/ads/googleads/v13/enums/types/optimization_goal_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/optimization_goal_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class OptimizationGoalTypeEnum(proto.Message): class OptimizationGoalType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class OptimizationGoalTypeEnum(proto.Message): DRIVING_DIRECTIONS = 3 APP_PRE_REGISTRATION = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/parental_status_type.pyi b/google-stubs/ads/googleads/v13/enums/types/parental_status_type.pyi index a6c025e3d..7f1d956b1 100644 --- a/google-stubs/ads/googleads/v13/enums/types/parental_status_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/parental_status_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ParentalStatusTypeEnum(proto.Message): class ParentalStatusType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ParentalStatusTypeEnum(proto.Message): NOT_A_PARENT = 301 UNDETERMINED = 302 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/payment_mode.pyi b/google-stubs/ads/googleads/v13/enums/types/payment_mode.pyi index 3a3cfcfd0..e5530b2e6 100644 --- a/google-stubs/ads/googleads/v13/enums/types/payment_mode.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/payment_mode.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PaymentModeEnum(proto.Message): class PaymentMode(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class PaymentModeEnum(proto.Message): CONVERSIONS = 6 GUEST_STAY = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/performance_max_upgrade_status.pyi b/google-stubs/ads/googleads/v13/enums/types/performance_max_upgrade_status.pyi index 4003dcef8..04b3d2408 100644 --- a/google-stubs/ads/googleads/v13/enums/types/performance_max_upgrade_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/performance_max_upgrade_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PerformanceMaxUpgradeStatusEnum(proto.Message): class PerformanceMaxUpgradeStatus(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class PerformanceMaxUpgradeStatusEnum(proto.Message): UPGRADE_COMPLETE = 4 UPGRADE_FAILED = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/placeholder_type.pyi b/google-stubs/ads/googleads/v13/enums/types/placeholder_type.pyi index 468c0134a..db8c0502b 100644 --- a/google-stubs/ads/googleads/v13/enums/types/placeholder_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/placeholder_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PlaceholderTypeEnum(proto.Message): class PlaceholderType(proto.Enum): UNSPECIFIED = 0 @@ -27,8 +31,8 @@ class PlaceholderTypeEnum(proto.Message): DYNAMIC_JOB = 20 IMAGE = 21 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/placement_type.pyi b/google-stubs/ads/googleads/v13/enums/types/placement_type.pyi index 488ffcd87..664e74ca0 100644 --- a/google-stubs/ads/googleads/v13/enums/types/placement_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/placement_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PlacementTypeEnum(proto.Message): class PlacementType(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class PlacementTypeEnum(proto.Message): YOUTUBE_CHANNEL = 6 GOOGLE_PRODUCTS = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/policy_approval_status.pyi b/google-stubs/ads/googleads/v13/enums/types/policy_approval_status.pyi index 92df527dc..8e4324dda 100644 --- a/google-stubs/ads/googleads/v13/enums/types/policy_approval_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/policy_approval_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PolicyApprovalStatusEnum(proto.Message): class PolicyApprovalStatus(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class PolicyApprovalStatusEnum(proto.Message): APPROVED = 4 AREA_OF_INTEREST_ONLY = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/policy_review_status.pyi b/google-stubs/ads/googleads/v13/enums/types/policy_review_status.pyi index 4ae953777..6d5763b3f 100644 --- a/google-stubs/ads/googleads/v13/enums/types/policy_review_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/policy_review_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PolicyReviewStatusEnum(proto.Message): class PolicyReviewStatus(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class PolicyReviewStatusEnum(proto.Message): UNDER_APPEAL = 4 ELIGIBLE_MAY_SERVE = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/policy_topic_entry_type.pyi b/google-stubs/ads/googleads/v13/enums/types/policy_topic_entry_type.pyi index 3f1a1343d..fbf72fb43 100644 --- a/google-stubs/ads/googleads/v13/enums/types/policy_topic_entry_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/policy_topic_entry_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PolicyTopicEntryTypeEnum(proto.Message): class PolicyTopicEntryType(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class PolicyTopicEntryTypeEnum(proto.Message): BROADENING = 6 AREA_OF_INTEREST_ONLY = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/policy_topic_evidence_destination_mismatch_url_type.pyi b/google-stubs/ads/googleads/v13/enums/types/policy_topic_evidence_destination_mismatch_url_type.pyi index 469631383..ebc7ccdab 100644 --- a/google-stubs/ads/googleads/v13/enums/types/policy_topic_evidence_destination_mismatch_url_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/policy_topic_evidence_destination_mismatch_url_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PolicyTopicEvidenceDestinationMismatchUrlTypeEnum(proto.Message): class PolicyTopicEvidenceDestinationMismatchUrlType(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class PolicyTopicEvidenceDestinationMismatchUrlTypeEnum(proto.Message): TRACKING_URL = 5 MOBILE_TRACKING_URL = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/policy_topic_evidence_destination_not_working_device.pyi b/google-stubs/ads/googleads/v13/enums/types/policy_topic_evidence_destination_not_working_device.pyi index 0d5c22dbe..cc8fb5a35 100644 --- a/google-stubs/ads/googleads/v13/enums/types/policy_topic_evidence_destination_not_working_device.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/policy_topic_evidence_destination_not_working_device.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PolicyTopicEvidenceDestinationNotWorkingDeviceEnum(proto.Message): class PolicyTopicEvidenceDestinationNotWorkingDevice(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class PolicyTopicEvidenceDestinationNotWorkingDeviceEnum(proto.Message): ANDROID = 3 IOS = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/policy_topic_evidence_destination_not_working_dns_error_type.pyi b/google-stubs/ads/googleads/v13/enums/types/policy_topic_evidence_destination_not_working_dns_error_type.pyi index 0e6b1fa35..01eae9b2a 100644 --- a/google-stubs/ads/googleads/v13/enums/types/policy_topic_evidence_destination_not_working_dns_error_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/policy_topic_evidence_destination_not_working_dns_error_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum(proto.Message): class PolicyTopicEvidenceDestinationNotWorkingDnsErrorType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum(proto.Message): HOSTNAME_NOT_FOUND = 2 GOOGLE_CRAWLER_DNS_ISSUE = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/positive_geo_target_type.pyi b/google-stubs/ads/googleads/v13/enums/types/positive_geo_target_type.pyi index f8106cf4c..e2d454c44 100644 --- a/google-stubs/ads/googleads/v13/enums/types/positive_geo_target_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/positive_geo_target_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PositiveGeoTargetTypeEnum(proto.Message): class PositiveGeoTargetType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class PositiveGeoTargetTypeEnum(proto.Message): SEARCH_INTEREST = 6 PRESENCE = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/price_extension_price_qualifier.pyi b/google-stubs/ads/googleads/v13/enums/types/price_extension_price_qualifier.pyi index 884922570..ba4303389 100644 --- a/google-stubs/ads/googleads/v13/enums/types/price_extension_price_qualifier.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/price_extension_price_qualifier.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PriceExtensionPriceQualifierEnum(proto.Message): class PriceExtensionPriceQualifier(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class PriceExtensionPriceQualifierEnum(proto.Message): UP_TO = 3 AVERAGE = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/price_extension_price_unit.pyi b/google-stubs/ads/googleads/v13/enums/types/price_extension_price_unit.pyi index 127e443bd..b5ca6e0b1 100644 --- a/google-stubs/ads/googleads/v13/enums/types/price_extension_price_unit.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/price_extension_price_unit.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PriceExtensionPriceUnitEnum(proto.Message): class PriceExtensionPriceUnit(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class PriceExtensionPriceUnitEnum(proto.Message): PER_YEAR = 6 PER_NIGHT = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/price_extension_type.pyi b/google-stubs/ads/googleads/v13/enums/types/price_extension_type.pyi index 20e2dcfb4..46b74a61a 100644 --- a/google-stubs/ads/googleads/v13/enums/types/price_extension_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/price_extension_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PriceExtensionTypeEnum(proto.Message): class PriceExtensionType(proto.Enum): UNSPECIFIED = 0 @@ -16,8 +20,8 @@ class PriceExtensionTypeEnum(proto.Message): SERVICE_CATEGORIES = 9 SERVICE_TIERS = 10 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/price_placeholder_field.pyi b/google-stubs/ads/googleads/v13/enums/types/price_placeholder_field.pyi index 6165716f6..d819c2874 100644 --- a/google-stubs/ads/googleads/v13/enums/types/price_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/price_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PricePlaceholderFieldEnum(proto.Message): class PricePlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -60,8 +64,8 @@ class PricePlaceholderFieldEnum(proto.Message): ITEM_8_FINAL_URLS = 804 ITEM_8_FINAL_MOBILE_URLS = 805 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/product_bidding_category_level.pyi b/google-stubs/ads/googleads/v13/enums/types/product_bidding_category_level.pyi index 3b3c0a167..97669225a 100644 --- a/google-stubs/ads/googleads/v13/enums/types/product_bidding_category_level.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/product_bidding_category_level.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ProductBiddingCategoryLevelEnum(proto.Message): class ProductBiddingCategoryLevel(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class ProductBiddingCategoryLevelEnum(proto.Message): LEVEL4 = 5 LEVEL5 = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/product_bidding_category_status.pyi b/google-stubs/ads/googleads/v13/enums/types/product_bidding_category_status.pyi index 1400af6f6..f0da85506 100644 --- a/google-stubs/ads/googleads/v13/enums/types/product_bidding_category_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/product_bidding_category_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ProductBiddingCategoryStatusEnum(proto.Message): class ProductBiddingCategoryStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class ProductBiddingCategoryStatusEnum(proto.Message): ACTIVE = 2 OBSOLETE = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/product_channel.pyi b/google-stubs/ads/googleads/v13/enums/types/product_channel.pyi index 7691b87da..75bfbe001 100644 --- a/google-stubs/ads/googleads/v13/enums/types/product_channel.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/product_channel.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ProductChannelEnum(proto.Message): class ProductChannel(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class ProductChannelEnum(proto.Message): ONLINE = 2 LOCAL = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/product_channel_exclusivity.pyi b/google-stubs/ads/googleads/v13/enums/types/product_channel_exclusivity.pyi index c37808121..aaa3f9028 100644 --- a/google-stubs/ads/googleads/v13/enums/types/product_channel_exclusivity.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/product_channel_exclusivity.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ProductChannelExclusivityEnum(proto.Message): class ProductChannelExclusivity(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class ProductChannelExclusivityEnum(proto.Message): SINGLE_CHANNEL = 2 MULTI_CHANNEL = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/product_condition.pyi b/google-stubs/ads/googleads/v13/enums/types/product_condition.pyi index d2634be84..1106dbb39 100644 --- a/google-stubs/ads/googleads/v13/enums/types/product_condition.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/product_condition.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ProductConditionEnum(proto.Message): class ProductCondition(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ProductConditionEnum(proto.Message): REFURBISHED = 4 USED = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/product_custom_attribute_index.pyi b/google-stubs/ads/googleads/v13/enums/types/product_custom_attribute_index.pyi index 053fb583b..9382d0ad7 100644 --- a/google-stubs/ads/googleads/v13/enums/types/product_custom_attribute_index.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/product_custom_attribute_index.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ProductCustomAttributeIndexEnum(proto.Message): class ProductCustomAttributeIndex(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class ProductCustomAttributeIndexEnum(proto.Message): INDEX3 = 10 INDEX4 = 11 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/product_type_level.pyi b/google-stubs/ads/googleads/v13/enums/types/product_type_level.pyi index 1077c7930..45b6b42c1 100644 --- a/google-stubs/ads/googleads/v13/enums/types/product_type_level.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/product_type_level.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ProductTypeLevelEnum(proto.Message): class ProductTypeLevel(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class ProductTypeLevelEnum(proto.Message): LEVEL4 = 10 LEVEL5 = 11 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/promotion_extension_discount_modifier.pyi b/google-stubs/ads/googleads/v13/enums/types/promotion_extension_discount_modifier.pyi index a40f2d2e3..ee8aef5a3 100644 --- a/google-stubs/ads/googleads/v13/enums/types/promotion_extension_discount_modifier.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/promotion_extension_discount_modifier.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PromotionExtensionDiscountModifierEnum(proto.Message): class PromotionExtensionDiscountModifier(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 UP_TO = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/promotion_extension_occasion.pyi b/google-stubs/ads/googleads/v13/enums/types/promotion_extension_occasion.pyi index 9c7071a25..2dd102f62 100644 --- a/google-stubs/ads/googleads/v13/enums/types/promotion_extension_occasion.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/promotion_extension_occasion.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PromotionExtensionOccasionEnum(proto.Message): class PromotionExtensionOccasion(proto.Enum): UNSPECIFIED = 0 @@ -44,8 +48,8 @@ class PromotionExtensionOccasionEnum(proto.Message): SONGKRAN = 37 YEAR_END_GIFT = 38 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/promotion_placeholder_field.pyi b/google-stubs/ads/googleads/v13/enums/types/promotion_placeholder_field.pyi index d062b6474..84d3e72d6 100644 --- a/google-stubs/ads/googleads/v13/enums/types/promotion_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/promotion_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PromotionPlaceholderFieldEnum(proto.Message): class PromotionPlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -21,8 +25,8 @@ class PromotionPlaceholderFieldEnum(proto.Message): LANGUAGE = 14 FINAL_URL_SUFFIX = 15 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/proximity_radius_units.pyi b/google-stubs/ads/googleads/v13/enums/types/proximity_radius_units.pyi index 0719757e0..0bdd69d55 100644 --- a/google-stubs/ads/googleads/v13/enums/types/proximity_radius_units.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/proximity_radius_units.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ProximityRadiusUnitsEnum(proto.Message): class ProximityRadiusUnits(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class ProximityRadiusUnitsEnum(proto.Message): MILES = 2 KILOMETERS = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/quality_score_bucket.pyi b/google-stubs/ads/googleads/v13/enums/types/quality_score_bucket.pyi index 70602e523..348604c17 100644 --- a/google-stubs/ads/googleads/v13/enums/types/quality_score_bucket.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/quality_score_bucket.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class QualityScoreBucketEnum(proto.Message): class QualityScoreBucket(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class QualityScoreBucketEnum(proto.Message): AVERAGE = 3 ABOVE_AVERAGE = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/reach_plan_age_range.pyi b/google-stubs/ads/googleads/v13/enums/types/reach_plan_age_range.pyi index 166e5ad19..e76378d44 100644 --- a/google-stubs/ads/googleads/v13/enums/types/reach_plan_age_range.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/reach_plan_age_range.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ReachPlanAgeRangeEnum(proto.Message): class ReachPlanAgeRange(proto.Enum): UNSPECIFIED = 0 @@ -33,8 +37,8 @@ class ReachPlanAgeRangeEnum(proto.Message): AGE_RANGE_55_65_UP = 21 AGE_RANGE_65_UP = 503006 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/reach_plan_network.pyi b/google-stubs/ads/googleads/v13/enums/types/reach_plan_network.pyi index d989eb8e5..9eb69d864 100644 --- a/google-stubs/ads/googleads/v13/enums/types/reach_plan_network.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/reach_plan_network.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ReachPlanNetworkEnum(proto.Message): class ReachPlanNetwork(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ReachPlanNetworkEnum(proto.Message): GOOGLE_VIDEO_PARTNERS = 3 YOUTUBE_AND_GOOGLE_VIDEO_PARTNERS = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/real_estate_placeholder_field.pyi b/google-stubs/ads/googleads/v13/enums/types/real_estate_placeholder_field.pyi index 5b912679c..600598f9b 100644 --- a/google-stubs/ads/googleads/v13/enums/types/real_estate_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/real_estate_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class RealEstatePlaceholderFieldEnum(proto.Message): class RealEstatePlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -25,8 +29,8 @@ class RealEstatePlaceholderFieldEnum(proto.Message): IOS_APP_LINK = 18 IOS_APP_STORE_ID = 19 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/recommendation_type.pyi b/google-stubs/ads/googleads/v13/enums/types/recommendation_type.pyi index 9cb8b0e03..e9479ab8a 100644 --- a/google-stubs/ads/googleads/v13/enums/types/recommendation_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/recommendation_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class RecommendationTypeEnum(proto.Message): class RecommendationType(proto.Enum): UNSPECIFIED = 0 @@ -45,8 +49,8 @@ class RecommendationTypeEnum(proto.Message): SHOPPING_FIX_MERCHANT_CENTER_ACCOUNT_SUSPENSION_WARNING = 41 SHOPPING_MIGRATE_REGULAR_SHOPPING_CAMPAIGN_OFFERS_TO_PERFORMANCE_MAX = 42 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/resource_change_operation.pyi b/google-stubs/ads/googleads/v13/enums/types/resource_change_operation.pyi index 12d697349..3cd278d2f 100644 --- a/google-stubs/ads/googleads/v13/enums/types/resource_change_operation.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/resource_change_operation.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ResourceChangeOperationEnum(proto.Message): class ResourceChangeOperation(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ResourceChangeOperationEnum(proto.Message): UPDATE = 3 REMOVE = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/resource_limit_type.pyi b/google-stubs/ads/googleads/v13/enums/types/resource_limit_type.pyi index 53c8ce531..509693e74 100644 --- a/google-stubs/ads/googleads/v13/enums/types/resource_limit_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/resource_limit_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ResourceLimitTypeEnum(proto.Message): class ResourceLimitType(proto.Enum): UNSPECIFIED = 0 @@ -143,8 +147,8 @@ class ResourceLimitTypeEnum(proto.Message): ENABLED_ASSET_PER_HOTEL_PROPERTY_ASSET_SET = 181 ENABLED_HOTEL_PROPERTY_ASSET_LINKS_PER_ASSET_GROUP = 182 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/response_content_type.pyi b/google-stubs/ads/googleads/v13/enums/types/response_content_type.pyi index c955a392b..e710036c6 100644 --- a/google-stubs/ads/googleads/v13/enums/types/response_content_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/response_content_type.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ResponseContentTypeEnum(proto.Message): class ResponseContentType(proto.Enum): UNSPECIFIED = 0 RESOURCE_NAME_ONLY = 1 MUTABLE_RESOURCE = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/search_engine_results_page_type.pyi b/google-stubs/ads/googleads/v13/enums/types/search_engine_results_page_type.pyi index 6c05cece7..7ef06d97a 100644 --- a/google-stubs/ads/googleads/v13/enums/types/search_engine_results_page_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/search_engine_results_page_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SearchEngineResultsPageTypeEnum(proto.Message): class SearchEngineResultsPageType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class SearchEngineResultsPageTypeEnum(proto.Message): ORGANIC_ONLY = 3 ADS_AND_ORGANIC = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/search_term_match_type.pyi b/google-stubs/ads/googleads/v13/enums/types/search_term_match_type.pyi index 8cb50b03d..6dd7a961d 100644 --- a/google-stubs/ads/googleads/v13/enums/types/search_term_match_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/search_term_match_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SearchTermMatchTypeEnum(proto.Message): class SearchTermMatchType(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class SearchTermMatchTypeEnum(proto.Message): NEAR_EXACT = 5 NEAR_PHRASE = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/search_term_targeting_status.pyi b/google-stubs/ads/googleads/v13/enums/types/search_term_targeting_status.pyi index 156395bb5..20adbe350 100644 --- a/google-stubs/ads/googleads/v13/enums/types/search_term_targeting_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/search_term_targeting_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SearchTermTargetingStatusEnum(proto.Message): class SearchTermTargetingStatus(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class SearchTermTargetingStatusEnum(proto.Message): ADDED_EXCLUDED = 4 NONE = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/seasonality_event_scope.pyi b/google-stubs/ads/googleads/v13/enums/types/seasonality_event_scope.pyi index 679d98d75..d72555ea8 100644 --- a/google-stubs/ads/googleads/v13/enums/types/seasonality_event_scope.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/seasonality_event_scope.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SeasonalityEventScopeEnum(proto.Message): class SeasonalityEventScope(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class SeasonalityEventScopeEnum(proto.Message): CAMPAIGN = 4 CHANNEL = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/seasonality_event_status.pyi b/google-stubs/ads/googleads/v13/enums/types/seasonality_event_status.pyi index 3d65b5284..e71c4c1b0 100644 --- a/google-stubs/ads/googleads/v13/enums/types/seasonality_event_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/seasonality_event_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SeasonalityEventStatusEnum(proto.Message): class SeasonalityEventStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class SeasonalityEventStatusEnum(proto.Message): ENABLED = 2 REMOVED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/served_asset_field_type.pyi b/google-stubs/ads/googleads/v13/enums/types/served_asset_field_type.pyi index e7c5d2af8..5bf3052a5 100644 --- a/google-stubs/ads/googleads/v13/enums/types/served_asset_field_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/served_asset_field_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ServedAssetFieldTypeEnum(proto.Message): class ServedAssetFieldType(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class ServedAssetFieldTypeEnum(proto.Message): DESCRIPTION_1 = 5 DESCRIPTION_2 = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/shared_set_status.pyi b/google-stubs/ads/googleads/v13/enums/types/shared_set_status.pyi index 96cbe7970..0a0a25e51 100644 --- a/google-stubs/ads/googleads/v13/enums/types/shared_set_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/shared_set_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SharedSetStatusEnum(proto.Message): class SharedSetStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class SharedSetStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/shared_set_type.pyi b/google-stubs/ads/googleads/v13/enums/types/shared_set_type.pyi index d2c37565d..2a971549a 100644 --- a/google-stubs/ads/googleads/v13/enums/types/shared_set_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/shared_set_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SharedSetTypeEnum(proto.Message): class SharedSetType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class SharedSetTypeEnum(proto.Message): NEGATIVE_KEYWORDS = 2 NEGATIVE_PLACEMENTS = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/shopping_add_products_to_campaign_recommendation_enum.pyi b/google-stubs/ads/googleads/v13/enums/types/shopping_add_products_to_campaign_recommendation_enum.pyi index 8a315b246..443a224be 100644 --- a/google-stubs/ads/googleads/v13/enums/types/shopping_add_products_to_campaign_recommendation_enum.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/shopping_add_products_to_campaign_recommendation_enum.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ShoppingAddProductsToCampaignRecommendationEnum(proto.Message): class Reason(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class ShoppingAddProductsToCampaignRecommendationEnum(proto.Message): ADS_ACCOUNT_EXCLUDES_OFFERS_FROM_CAMPAIGN = 4 ALL_PRODUCTS_ARE_EXCLUDED_FROM_CAMPAIGN = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/simulation_modification_method.pyi b/google-stubs/ads/googleads/v13/enums/types/simulation_modification_method.pyi index f1114e379..85d63db17 100644 --- a/google-stubs/ads/googleads/v13/enums/types/simulation_modification_method.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/simulation_modification_method.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SimulationModificationMethodEnum(proto.Message): class SimulationModificationMethod(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class SimulationModificationMethodEnum(proto.Message): DEFAULT = 3 SCALING = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/simulation_type.pyi b/google-stubs/ads/googleads/v13/enums/types/simulation_type.pyi index e8832011b..076d32f73 100644 --- a/google-stubs/ads/googleads/v13/enums/types/simulation_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/simulation_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SimulationTypeEnum(proto.Message): class SimulationType(proto.Enum): UNSPECIFIED = 0 @@ -15,8 +19,8 @@ class SimulationTypeEnum(proto.Message): TARGET_IMPRESSION_SHARE = 8 BUDGET = 9 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/sitelink_placeholder_field.pyi b/google-stubs/ads/googleads/v13/enums/types/sitelink_placeholder_field.pyi index 6d5307bf5..2a8cc3197 100644 --- a/google-stubs/ads/googleads/v13/enums/types/sitelink_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/sitelink_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SitelinkPlaceholderFieldEnum(proto.Message): class SitelinkPlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class SitelinkPlaceholderFieldEnum(proto.Message): TRACKING_URL = 7 FINAL_URL_SUFFIX = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/sk_ad_network_ad_event_type.pyi b/google-stubs/ads/googleads/v13/enums/types/sk_ad_network_ad_event_type.pyi index a7c403e97..9c82cfe2c 100644 --- a/google-stubs/ads/googleads/v13/enums/types/sk_ad_network_ad_event_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/sk_ad_network_ad_event_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SkAdNetworkAdEventTypeEnum(proto.Message): class SkAdNetworkAdEventType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class SkAdNetworkAdEventTypeEnum(proto.Message): INTERACTION = 3 VIEW = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/sk_ad_network_attribution_credit.pyi b/google-stubs/ads/googleads/v13/enums/types/sk_ad_network_attribution_credit.pyi index 95b32d501..7d299e726 100644 --- a/google-stubs/ads/googleads/v13/enums/types/sk_ad_network_attribution_credit.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/sk_ad_network_attribution_credit.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SkAdNetworkAttributionCreditEnum(proto.Message): class SkAdNetworkAttributionCredit(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class SkAdNetworkAttributionCreditEnum(proto.Message): WON = 3 CONTRIBUTED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/sk_ad_network_user_type.pyi b/google-stubs/ads/googleads/v13/enums/types/sk_ad_network_user_type.pyi index 66deafefe..fb87cd489 100644 --- a/google-stubs/ads/googleads/v13/enums/types/sk_ad_network_user_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/sk_ad_network_user_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SkAdNetworkUserTypeEnum(proto.Message): class SkAdNetworkUserType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class SkAdNetworkUserTypeEnum(proto.Message): NEW_INSTALLER = 3 REINSTALLER = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/slot.pyi b/google-stubs/ads/googleads/v13/enums/types/slot.pyi index f46e9e531..cf6cc239f 100644 --- a/google-stubs/ads/googleads/v13/enums/types/slot.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/slot.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SlotEnum(proto.Message): class Slot(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class SlotEnum(proto.Message): SEARCH_PARTNER_OTHER = 7 MIXED = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/smart_campaign_not_eligible_reason.pyi b/google-stubs/ads/googleads/v13/enums/types/smart_campaign_not_eligible_reason.pyi index 28a97469c..e75d7e633 100644 --- a/google-stubs/ads/googleads/v13/enums/types/smart_campaign_not_eligible_reason.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/smart_campaign_not_eligible_reason.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SmartCampaignNotEligibleReasonEnum(proto.Message): class SmartCampaignNotEligibleReason(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class SmartCampaignNotEligibleReasonEnum(proto.Message): BUSINESS_PROFILE_LOCATION_REMOVED = 4 ALL_ADS_DISAPPROVED = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/smart_campaign_status.pyi b/google-stubs/ads/googleads/v13/enums/types/smart_campaign_status.pyi index 8c34e5c5b..f62f97028 100644 --- a/google-stubs/ads/googleads/v13/enums/types/smart_campaign_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/smart_campaign_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SmartCampaignStatusEnum(proto.Message): class SmartCampaignStatus(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class SmartCampaignStatusEnum(proto.Message): REMOVED = 6 ENDED = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/spending_limit_type.pyi b/google-stubs/ads/googleads/v13/enums/types/spending_limit_type.pyi index 6fcf3e986..dccc3e8aa 100644 --- a/google-stubs/ads/googleads/v13/enums/types/spending_limit_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/spending_limit_type.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SpendingLimitTypeEnum(proto.Message): class SpendingLimitType(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 INFINITE = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/structured_snippet_placeholder_field.pyi b/google-stubs/ads/googleads/v13/enums/types/structured_snippet_placeholder_field.pyi index 0823c571f..232276dc7 100644 --- a/google-stubs/ads/googleads/v13/enums/types/structured_snippet_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/structured_snippet_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class StructuredSnippetPlaceholderFieldEnum(proto.Message): class StructuredSnippetPlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class StructuredSnippetPlaceholderFieldEnum(proto.Message): HEADER = 2 SNIPPETS = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/summary_row_setting.pyi b/google-stubs/ads/googleads/v13/enums/types/summary_row_setting.pyi index 80110abb5..b0b9f2fee 100644 --- a/google-stubs/ads/googleads/v13/enums/types/summary_row_setting.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/summary_row_setting.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SummaryRowSettingEnum(proto.Message): class SummaryRowSetting(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class SummaryRowSettingEnum(proto.Message): SUMMARY_ROW_WITH_RESULTS = 3 SUMMARY_ROW_ONLY = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/system_managed_entity_source.pyi b/google-stubs/ads/googleads/v13/enums/types/system_managed_entity_source.pyi index d2c83ec29..fa94a4225 100644 --- a/google-stubs/ads/googleads/v13/enums/types/system_managed_entity_source.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/system_managed_entity_source.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SystemManagedResourceSourceEnum(proto.Message): class SystemManagedResourceSource(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 AD_VARIATIONS = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/target_cpa_opt_in_recommendation_goal.pyi b/google-stubs/ads/googleads/v13/enums/types/target_cpa_opt_in_recommendation_goal.pyi index 9b70b9bc7..95c91ee51 100644 --- a/google-stubs/ads/googleads/v13/enums/types/target_cpa_opt_in_recommendation_goal.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/target_cpa_opt_in_recommendation_goal.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class TargetCpaOptInRecommendationGoalEnum(proto.Message): class TargetCpaOptInRecommendationGoal(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class TargetCpaOptInRecommendationGoalEnum(proto.Message): SAME_CPA = 4 CLOSEST_CPA = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/target_frequency_time_unit.pyi b/google-stubs/ads/googleads/v13/enums/types/target_frequency_time_unit.pyi index 5e6136876..867259677 100644 --- a/google-stubs/ads/googleads/v13/enums/types/target_frequency_time_unit.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/target_frequency_time_unit.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class TargetFrequencyTimeUnitEnum(proto.Message): class TargetFrequencyTimeUnit(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 WEEKLY = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/target_impression_share_location.pyi b/google-stubs/ads/googleads/v13/enums/types/target_impression_share_location.pyi index 2c6eab970..0d4edad19 100644 --- a/google-stubs/ads/googleads/v13/enums/types/target_impression_share_location.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/target_impression_share_location.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class TargetImpressionShareLocationEnum(proto.Message): class TargetImpressionShareLocation(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class TargetImpressionShareLocationEnum(proto.Message): TOP_OF_PAGE = 3 ABSOLUTE_TOP_OF_PAGE = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/targeting_dimension.pyi b/google-stubs/ads/googleads/v13/enums/types/targeting_dimension.pyi index a7804b2a1..59ce943b3 100644 --- a/google-stubs/ads/googleads/v13/enums/types/targeting_dimension.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/targeting_dimension.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class TargetingDimensionEnum(proto.Message): class TargetingDimension(proto.Enum): UNSPECIFIED = 0 @@ -15,8 +19,8 @@ class TargetingDimensionEnum(proto.Message): PARENTAL_STATUS = 8 INCOME_RANGE = 9 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/time_type.pyi b/google-stubs/ads/googleads/v13/enums/types/time_type.pyi index 76b00af9a..3dc487733 100644 --- a/google-stubs/ads/googleads/v13/enums/types/time_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/time_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class TimeTypeEnum(proto.Message): class TimeType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class TimeTypeEnum(proto.Message): NOW = 2 FOREVER = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/tracking_code_page_format.pyi b/google-stubs/ads/googleads/v13/enums/types/tracking_code_page_format.pyi index 061d6eefa..3124b20b7 100644 --- a/google-stubs/ads/googleads/v13/enums/types/tracking_code_page_format.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/tracking_code_page_format.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class TrackingCodePageFormatEnum(proto.Message): class TrackingCodePageFormat(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class TrackingCodePageFormatEnum(proto.Message): HTML = 2 AMP = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/tracking_code_type.pyi b/google-stubs/ads/googleads/v13/enums/types/tracking_code_type.pyi index 032f26580..d20c820e6 100644 --- a/google-stubs/ads/googleads/v13/enums/types/tracking_code_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/tracking_code_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class TrackingCodeTypeEnum(proto.Message): class TrackingCodeType(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class TrackingCodeTypeEnum(proto.Message): CLICK_TO_CALL = 4 WEBSITE_CALL = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/travel_placeholder_field.pyi b/google-stubs/ads/googleads/v13/enums/types/travel_placeholder_field.pyi index 4639b404a..af01e6dff 100644 --- a/google-stubs/ads/googleads/v13/enums/types/travel_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/travel_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class TravelPlaceholderFieldEnum(proto.Message): class TravelPlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -27,8 +31,8 @@ class TravelPlaceholderFieldEnum(proto.Message): IOS_APP_LINK = 20 IOS_APP_STORE_ID = 21 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/user_identifier_source.pyi b/google-stubs/ads/googleads/v13/enums/types/user_identifier_source.pyi index 9dfcca521..f1b68ee5b 100644 --- a/google-stubs/ads/googleads/v13/enums/types/user_identifier_source.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/user_identifier_source.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserIdentifierSourceEnum(proto.Message): class UserIdentifierSource(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class UserIdentifierSourceEnum(proto.Message): FIRST_PARTY = 2 THIRD_PARTY = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/user_interest_taxonomy_type.pyi b/google-stubs/ads/googleads/v13/enums/types/user_interest_taxonomy_type.pyi index c72e6a4f3..c2afaf459 100644 --- a/google-stubs/ads/googleads/v13/enums/types/user_interest_taxonomy_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/user_interest_taxonomy_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserInterestTaxonomyTypeEnum(proto.Message): class UserInterestTaxonomyType(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class UserInterestTaxonomyTypeEnum(proto.Message): VERTICAL_GEO = 5 NEW_SMART_PHONE_USER = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/user_list_access_status.pyi b/google-stubs/ads/googleads/v13/enums/types/user_list_access_status.pyi index 81f0f912c..f1dee3a2a 100644 --- a/google-stubs/ads/googleads/v13/enums/types/user_list_access_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/user_list_access_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserListAccessStatusEnum(proto.Message): class UserListAccessStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class UserListAccessStatusEnum(proto.Message): ENABLED = 2 DISABLED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/user_list_closing_reason.pyi b/google-stubs/ads/googleads/v13/enums/types/user_list_closing_reason.pyi index 7286a4fa3..0c45eac42 100644 --- a/google-stubs/ads/googleads/v13/enums/types/user_list_closing_reason.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/user_list_closing_reason.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserListClosingReasonEnum(proto.Message): class UserListClosingReason(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 UNUSED = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/user_list_crm_data_source_type.pyi b/google-stubs/ads/googleads/v13/enums/types/user_list_crm_data_source_type.pyi index d15007d84..6bb1bd825 100644 --- a/google-stubs/ads/googleads/v13/enums/types/user_list_crm_data_source_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/user_list_crm_data_source_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserListCrmDataSourceTypeEnum(proto.Message): class UserListCrmDataSourceType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class UserListCrmDataSourceTypeEnum(proto.Message): THIRD_PARTY_CREDIT_BUREAU = 3 THIRD_PARTY_VOTER_FILE = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/user_list_date_rule_item_operator.pyi b/google-stubs/ads/googleads/v13/enums/types/user_list_date_rule_item_operator.pyi index 40b7d95f6..ff78cf01d 100644 --- a/google-stubs/ads/googleads/v13/enums/types/user_list_date_rule_item_operator.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/user_list_date_rule_item_operator.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserListDateRuleItemOperatorEnum(proto.Message): class UserListDateRuleItemOperator(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class UserListDateRuleItemOperatorEnum(proto.Message): BEFORE = 4 AFTER = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/user_list_flexible_rule_operator.pyi b/google-stubs/ads/googleads/v13/enums/types/user_list_flexible_rule_operator.pyi index 77dfe9c1e..74396a64e 100644 --- a/google-stubs/ads/googleads/v13/enums/types/user_list_flexible_rule_operator.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/user_list_flexible_rule_operator.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserListFlexibleRuleOperatorEnum(proto.Message): class UserListFlexibleRuleOperator(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class UserListFlexibleRuleOperatorEnum(proto.Message): AND = 2 OR = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/user_list_logical_rule_operator.pyi b/google-stubs/ads/googleads/v13/enums/types/user_list_logical_rule_operator.pyi index 8f8adef81..a5a689c8e 100644 --- a/google-stubs/ads/googleads/v13/enums/types/user_list_logical_rule_operator.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/user_list_logical_rule_operator.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserListLogicalRuleOperatorEnum(proto.Message): class UserListLogicalRuleOperator(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class UserListLogicalRuleOperatorEnum(proto.Message): ANY = 3 NONE = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/user_list_membership_status.pyi b/google-stubs/ads/googleads/v13/enums/types/user_list_membership_status.pyi index fe854d086..8120d8552 100644 --- a/google-stubs/ads/googleads/v13/enums/types/user_list_membership_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/user_list_membership_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserListMembershipStatusEnum(proto.Message): class UserListMembershipStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class UserListMembershipStatusEnum(proto.Message): OPEN = 2 CLOSED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/user_list_number_rule_item_operator.pyi b/google-stubs/ads/googleads/v13/enums/types/user_list_number_rule_item_operator.pyi index 203d84686..d29be1be6 100644 --- a/google-stubs/ads/googleads/v13/enums/types/user_list_number_rule_item_operator.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/user_list_number_rule_item_operator.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserListNumberRuleItemOperatorEnum(proto.Message): class UserListNumberRuleItemOperator(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class UserListNumberRuleItemOperatorEnum(proto.Message): LESS_THAN = 6 LESS_THAN_OR_EQUAL = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/user_list_prepopulation_status.pyi b/google-stubs/ads/googleads/v13/enums/types/user_list_prepopulation_status.pyi index 05ac39109..916d34fb9 100644 --- a/google-stubs/ads/googleads/v13/enums/types/user_list_prepopulation_status.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/user_list_prepopulation_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserListPrepopulationStatusEnum(proto.Message): class UserListPrepopulationStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class UserListPrepopulationStatusEnum(proto.Message): FINISHED = 3 FAILED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/user_list_rule_type.pyi b/google-stubs/ads/googleads/v13/enums/types/user_list_rule_type.pyi index 17502113f..a8ca00138 100644 --- a/google-stubs/ads/googleads/v13/enums/types/user_list_rule_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/user_list_rule_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserListRuleTypeEnum(proto.Message): class UserListRuleType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class UserListRuleTypeEnum(proto.Message): AND_OF_ORS = 2 OR_OF_ANDS = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/user_list_size_range.pyi b/google-stubs/ads/googleads/v13/enums/types/user_list_size_range.pyi index 02a9bb5fa..7327b9ad0 100644 --- a/google-stubs/ads/googleads/v13/enums/types/user_list_size_range.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/user_list_size_range.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserListSizeRangeEnum(proto.Message): class UserListSizeRange(proto.Enum): UNSPECIFIED = 0 @@ -23,8 +27,8 @@ class UserListSizeRangeEnum(proto.Message): THIRTY_MILLION_TO_FIFTY_MILLION = 16 OVER_FIFTY_MILLION = 17 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/user_list_string_rule_item_operator.pyi b/google-stubs/ads/googleads/v13/enums/types/user_list_string_rule_item_operator.pyi index c26e8b4f2..bb41dbd75 100644 --- a/google-stubs/ads/googleads/v13/enums/types/user_list_string_rule_item_operator.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/user_list_string_rule_item_operator.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserListStringRuleItemOperatorEnum(proto.Message): class UserListStringRuleItemOperator(proto.Enum): UNSPECIFIED = 0 @@ -15,8 +19,8 @@ class UserListStringRuleItemOperatorEnum(proto.Message): NOT_STARTS_WITH = 8 NOT_ENDS_WITH = 9 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/user_list_type.pyi b/google-stubs/ads/googleads/v13/enums/types/user_list_type.pyi index c1bc17eb3..f085a476e 100644 --- a/google-stubs/ads/googleads/v13/enums/types/user_list_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/user_list_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserListTypeEnum(proto.Message): class UserListType(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class UserListTypeEnum(proto.Message): SIMILAR = 6 CRM_BASED = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/value_rule_device_type.pyi b/google-stubs/ads/googleads/v13/enums/types/value_rule_device_type.pyi index 5a2dbb505..d48468969 100644 --- a/google-stubs/ads/googleads/v13/enums/types/value_rule_device_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/value_rule_device_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ValueRuleDeviceTypeEnum(proto.Message): class ValueRuleDeviceType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ValueRuleDeviceTypeEnum(proto.Message): DESKTOP = 3 TABLET = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/value_rule_geo_location_match_type.pyi b/google-stubs/ads/googleads/v13/enums/types/value_rule_geo_location_match_type.pyi index 6bd41c2b3..16385e6e7 100644 --- a/google-stubs/ads/googleads/v13/enums/types/value_rule_geo_location_match_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/value_rule_geo_location_match_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ValueRuleGeoLocationMatchTypeEnum(proto.Message): class ValueRuleGeoLocationMatchType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class ValueRuleGeoLocationMatchTypeEnum(proto.Message): ANY = 2 LOCATION_OF_PRESENCE = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/value_rule_operation.pyi b/google-stubs/ads/googleads/v13/enums/types/value_rule_operation.pyi index f1bef1479..eabd62514 100644 --- a/google-stubs/ads/googleads/v13/enums/types/value_rule_operation.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/value_rule_operation.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ValueRuleOperationEnum(proto.Message): class ValueRuleOperation(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ValueRuleOperationEnum(proto.Message): MULTIPLY = 3 SET = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/value_rule_set_attachment_type.pyi b/google-stubs/ads/googleads/v13/enums/types/value_rule_set_attachment_type.pyi index 508fe8a40..3095a5426 100644 --- a/google-stubs/ads/googleads/v13/enums/types/value_rule_set_attachment_type.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/value_rule_set_attachment_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ValueRuleSetAttachmentTypeEnum(proto.Message): class ValueRuleSetAttachmentType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class ValueRuleSetAttachmentTypeEnum(proto.Message): CUSTOMER = 2 CAMPAIGN = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/value_rule_set_dimension.pyi b/google-stubs/ads/googleads/v13/enums/types/value_rule_set_dimension.pyi index 67d6830a6..a4f01ed90 100644 --- a/google-stubs/ads/googleads/v13/enums/types/value_rule_set_dimension.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/value_rule_set_dimension.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ValueRuleSetDimensionEnum(proto.Message): class ValueRuleSetDimension(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class ValueRuleSetDimensionEnum(proto.Message): AUDIENCE = 4 NO_CONDITION = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/vanity_pharma_display_url_mode.pyi b/google-stubs/ads/googleads/v13/enums/types/vanity_pharma_display_url_mode.pyi index 9ddee7872..13e5c26ae 100644 --- a/google-stubs/ads/googleads/v13/enums/types/vanity_pharma_display_url_mode.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/vanity_pharma_display_url_mode.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class VanityPharmaDisplayUrlModeEnum(proto.Message): class VanityPharmaDisplayUrlMode(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class VanityPharmaDisplayUrlModeEnum(proto.Message): MANUFACTURER_WEBSITE_URL = 2 WEBSITE_DESCRIPTION = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/vanity_pharma_text.pyi b/google-stubs/ads/googleads/v13/enums/types/vanity_pharma_text.pyi index 8bae7f236..0ccdfa50a 100644 --- a/google-stubs/ads/googleads/v13/enums/types/vanity_pharma_text.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/vanity_pharma_text.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class VanityPharmaTextEnum(proto.Message): class VanityPharmaText(proto.Enum): UNSPECIFIED = 0 @@ -19,8 +23,8 @@ class VanityPharmaTextEnum(proto.Message): PRESCRIPTION_VACCINE_WEBSITE_EN = 12 PRESCRIPTION_VACCINE_WEBSITE_ES = 13 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/video_thumbnail.pyi b/google-stubs/ads/googleads/v13/enums/types/video_thumbnail.pyi index b6fa14389..5ce423cd5 100644 --- a/google-stubs/ads/googleads/v13/enums/types/video_thumbnail.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/video_thumbnail.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class VideoThumbnailEnum(proto.Message): class VideoThumbnail(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class VideoThumbnailEnum(proto.Message): THUMBNAIL_2 = 4 THUMBNAIL_3 = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/webpage_condition_operand.pyi b/google-stubs/ads/googleads/v13/enums/types/webpage_condition_operand.pyi index 3c9773e10..62e403644 100644 --- a/google-stubs/ads/googleads/v13/enums/types/webpage_condition_operand.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/webpage_condition_operand.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class WebpageConditionOperandEnum(proto.Message): class WebpageConditionOperand(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class WebpageConditionOperandEnum(proto.Message): PAGE_CONTENT = 5 CUSTOM_LABEL = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/enums/types/webpage_condition_operator.pyi b/google-stubs/ads/googleads/v13/enums/types/webpage_condition_operator.pyi index f619b08a3..7e415c55f 100644 --- a/google-stubs/ads/googleads/v13/enums/types/webpage_condition_operator.pyi +++ b/google-stubs/ads/googleads/v13/enums/types/webpage_condition_operator.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class WebpageConditionOperatorEnum(proto.Message): class WebpageConditionOperator(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class WebpageConditionOperatorEnum(proto.Message): EQUALS = 2 CONTAINS = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/access_invitation_error.pyi b/google-stubs/ads/googleads/v13/errors/types/access_invitation_error.pyi index e449a6f07..470985698 100644 --- a/google-stubs/ads/googleads/v13/errors/types/access_invitation_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/access_invitation_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AccessInvitationErrorEnum(proto.Message): class AccessInvitationError(proto.Enum): UNSPECIFIED = 0 @@ -15,8 +19,8 @@ class AccessInvitationErrorEnum(proto.Message): PENDING_INVITATIONS_LIMIT_EXCEEDED = 8 EMAIL_DOMAIN_POLICY_VIOLATED = 9 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/account_budget_proposal_error.pyi b/google-stubs/ads/googleads/v13/errors/types/account_budget_proposal_error.pyi index 54a68522c..9c2aae695 100644 --- a/google-stubs/ads/googleads/v13/errors/types/account_budget_proposal_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/account_budget_proposal_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AccountBudgetProposalErrorEnum(proto.Message): class AccountBudgetProposalError(proto.Enum): UNSPECIFIED = 0 @@ -33,8 +37,8 @@ class AccountBudgetProposalErrorEnum(proto.Message): INVALID_MASTER_SERVICE_AGREEMENT = 26 CANCELED_BILLING_SETUP = 27 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/account_link_error.pyi b/google-stubs/ads/googleads/v13/errors/types/account_link_error.pyi index 626f451aa..c06df694a 100644 --- a/google-stubs/ads/googleads/v13/errors/types/account_link_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/account_link_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AccountLinkErrorEnum(proto.Message): class AccountLinkError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class AccountLinkErrorEnum(proto.Message): INVALID_STATUS = 2 PERMISSION_DENIED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/ad_customizer_error.pyi b/google-stubs/ads/googleads/v13/errors/types/ad_customizer_error.pyi index ffdea484c..e7e10bfa5 100644 --- a/google-stubs/ads/googleads/v13/errors/types/ad_customizer_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/ad_customizer_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdCustomizerErrorEnum(proto.Message): class AdCustomizerError(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class AdCustomizerErrorEnum(proto.Message): COUNTDOWN_INVALID_START_DAYS_BEFORE = 5 UNKNOWN_USER_LIST = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/ad_error.pyi b/google-stubs/ads/googleads/v13/errors/types/ad_error.pyi index 7ddbdf515..fb21e9c7b 100644 --- a/google-stubs/ads/googleads/v13/errors/types/ad_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/ad_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdErrorEnum(proto.Message): class AdError(proto.Enum): UNSPECIFIED = 0 @@ -159,8 +163,8 @@ class AdErrorEnum(proto.Message): MISMATCHED_ASPECT_RATIOS = 155 DUPLICATE_IMAGE_ACROSS_CAROUSEL_CARDS = 156 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/ad_group_ad_error.pyi b/google-stubs/ads/googleads/v13/errors/types/ad_group_ad_error.pyi index 583380be3..f7d3213f4 100644 --- a/google-stubs/ads/googleads/v13/errors/types/ad_group_ad_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/ad_group_ad_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupAdErrorEnum(proto.Message): class AdGroupAdError(proto.Enum): UNSPECIFIED = 0 @@ -18,8 +22,8 @@ class AdGroupAdErrorEnum(proto.Message): AD_TYPE_CANNOT_BE_REMOVED = 11 CANNOT_UPDATE_DEPRECATED_ADS = 12 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/ad_group_bid_modifier_error.pyi b/google-stubs/ads/googleads/v13/errors/types/ad_group_bid_modifier_error.pyi index 2e396271b..afeebf03d 100644 --- a/google-stubs/ads/googleads/v13/errors/types/ad_group_bid_modifier_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/ad_group_bid_modifier_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupBidModifierErrorEnum(proto.Message): class AdGroupBidModifierError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class AdGroupBidModifierErrorEnum(proto.Message): CRITERION_ID_NOT_SUPPORTED = 2 CANNOT_OVERRIDE_OPTED_OUT_CAMPAIGN_CRITERION_BID_MODIFIER = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/ad_group_criterion_customizer_error.pyi b/google-stubs/ads/googleads/v13/errors/types/ad_group_criterion_customizer_error.pyi index f0b34cf7b..a56a7431d 100644 --- a/google-stubs/ads/googleads/v13/errors/types/ad_group_criterion_customizer_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/ad_group_criterion_customizer_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupCriterionCustomizerErrorEnum(proto.Message): class AdGroupCriterionCustomizerError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 CRITERION_IS_NOT_KEYWORD = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/ad_group_criterion_error.pyi b/google-stubs/ads/googleads/v13/errors/types/ad_group_criterion_error.pyi index 424a186a5..df814dac2 100644 --- a/google-stubs/ads/googleads/v13/errors/types/ad_group_criterion_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/ad_group_criterion_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupCriterionErrorEnum(proto.Message): class AdGroupCriterionError(proto.Enum): UNSPECIFIED = 0 @@ -35,8 +39,8 @@ class AdGroupCriterionErrorEnum(proto.Message): FINAL_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE = 37 FINAL_MOBILE_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE = 38 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/ad_group_customizer_error.pyi b/google-stubs/ads/googleads/v13/errors/types/ad_group_customizer_error.pyi index f785c0dec..446d8ce5f 100644 --- a/google-stubs/ads/googleads/v13/errors/types/ad_group_customizer_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/ad_group_customizer_error.pyi @@ -1,14 +1,18 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupCustomizerErrorEnum(proto.Message): class AdGroupCustomizerError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/ad_group_error.pyi b/google-stubs/ads/googleads/v13/errors/types/ad_group_error.pyi index 43c270008..9faaf9328 100644 --- a/google-stubs/ads/googleads/v13/errors/types/ad_group_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/ad_group_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupErrorEnum(proto.Message): class AdGroupError(proto.Enum): UNSPECIFIED = 0 @@ -22,8 +26,8 @@ class AdGroupErrorEnum(proto.Message): INVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPE = 16 INVALID_EXCLUDED_PARENT_ASSET_SET_TYPE = 17 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/ad_group_feed_error.pyi b/google-stubs/ads/googleads/v13/errors/types/ad_group_feed_error.pyi index a14dd3fda..00b182beb 100644 --- a/google-stubs/ads/googleads/v13/errors/types/ad_group_feed_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/ad_group_feed_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupFeedErrorEnum(proto.Message): class AdGroupFeedError(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class AdGroupFeedErrorEnum(proto.Message): MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE = 7 NO_EXISTING_LOCATION_CUSTOMER_FEED = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/ad_parameter_error.pyi b/google-stubs/ads/googleads/v13/errors/types/ad_parameter_error.pyi index 5537c8f31..45377171b 100644 --- a/google-stubs/ads/googleads/v13/errors/types/ad_parameter_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/ad_parameter_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdParameterErrorEnum(proto.Message): class AdParameterError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class AdParameterErrorEnum(proto.Message): AD_GROUP_CRITERION_MUST_BE_KEYWORD = 2 INVALID_INSERTION_TEXT_FORMAT = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/ad_sharing_error.pyi b/google-stubs/ads/googleads/v13/errors/types/ad_sharing_error.pyi index 1d6388308..f78c81a31 100644 --- a/google-stubs/ads/googleads/v13/errors/types/ad_sharing_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/ad_sharing_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdSharingErrorEnum(proto.Message): class AdSharingError(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class AdSharingErrorEnum(proto.Message): INCOMPATIBLE_AD_UNDER_AD_GROUP = 3 CANNOT_SHARE_INACTIVE_AD = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/adx_error.pyi b/google-stubs/ads/googleads/v13/errors/types/adx_error.pyi index e93cd1b26..be5cb98e6 100644 --- a/google-stubs/ads/googleads/v13/errors/types/adx_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/adx_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdxErrorEnum(proto.Message): class AdxError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 UNSUPPORTED_FEATURE = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/asset_error.pyi b/google-stubs/ads/googleads/v13/errors/types/asset_error.pyi index 59c666f62..07e0b97bf 100644 --- a/google-stubs/ads/googleads/v13/errors/types/asset_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/asset_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetErrorEnum(proto.Message): class AssetError(proto.Enum): UNSPECIFIED = 0 @@ -42,8 +46,8 @@ class AssetErrorEnum(proto.Message): CANNOT_MODIFY_AUTOMATICALLY_CREATED_ASSET = 36 LEAD_FORM_LOCATION_ANSWER_TYPE_DISALLOWED = 37 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/asset_group_asset_error.pyi b/google-stubs/ads/googleads/v13/errors/types/asset_group_asset_error.pyi index 9844fd568..1ef11cc8f 100644 --- a/google-stubs/ads/googleads/v13/errors/types/asset_group_asset_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/asset_group_asset_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetGroupAssetErrorEnum(proto.Message): class AssetGroupAssetError(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class AssetGroupAssetErrorEnum(proto.Message): AD_CUSTOMIZER_NOT_SUPPORTED = 4 HOTEL_PROPERTY_ASSET_NOT_LINKED_TO_CAMPAIGN = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/asset_group_error.pyi b/google-stubs/ads/googleads/v13/errors/types/asset_group_error.pyi index 5b30a95ab..cb3468834 100644 --- a/google-stubs/ads/googleads/v13/errors/types/asset_group_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/asset_group_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetGroupErrorEnum(proto.Message): class AssetGroupError(proto.Enum): UNSPECIFIED = 0 @@ -23,8 +27,8 @@ class AssetGroupErrorEnum(proto.Message): AD_CUSTOMIZER_NOT_SUPPORTED = 16 CANNOT_MUTATE_ASSET_GROUP_FOR_REMOVED_CAMPAIGN = 17 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/asset_group_listing_group_filter_error.pyi b/google-stubs/ads/googleads/v13/errors/types/asset_group_listing_group_filter_error.pyi index 20dd7df99..595c4b8bb 100644 --- a/google-stubs/ads/googleads/v13/errors/types/asset_group_listing_group_filter_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/asset_group_listing_group_filter_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetGroupListingGroupFilterErrorEnum(proto.Message): class AssetGroupListingGroupFilterError(proto.Enum): UNSPECIFIED = 0 @@ -20,8 +24,8 @@ class AssetGroupListingGroupFilterErrorEnum(proto.Message): SUBDIVISION_HAS_CHILDREN = 13 CANNOT_REFINE_HIERARCHICAL_EVERYTHING_ELSE = 14 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/asset_link_error.pyi b/google-stubs/ads/googleads/v13/errors/types/asset_link_error.pyi index a199e901e..175036f7e 100644 --- a/google-stubs/ads/googleads/v13/errors/types/asset_link_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/asset_link_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetLinkErrorEnum(proto.Message): class AssetLinkError(proto.Enum): UNSPECIFIED = 0 @@ -28,8 +32,8 @@ class AssetLinkErrorEnum(proto.Message): CANNOT_MODIFY_ASSET_LINK_SOURCE = 21 CANNOT_LINK_LOCATION_LEAD_FORM_WITHOUT_LOCATION_ASSET = 22 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/asset_set_asset_error.pyi b/google-stubs/ads/googleads/v13/errors/types/asset_set_asset_error.pyi index 6335487ca..39b070906 100644 --- a/google-stubs/ads/googleads/v13/errors/types/asset_set_asset_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/asset_set_asset_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetSetAssetErrorEnum(proto.Message): class AssetSetAssetError(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class AssetSetAssetErrorEnum(proto.Message): DUPLICATE_EXTERNAL_KEY = 4 PARENT_LINKAGE_DOES_NOT_EXIST = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/asset_set_error.pyi b/google-stubs/ads/googleads/v13/errors/types/asset_set_error.pyi index e61f9ad1e..4ae87a556 100644 --- a/google-stubs/ads/googleads/v13/errors/types/asset_set_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/asset_set_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetSetErrorEnum(proto.Message): class AssetSetError(proto.Enum): UNSPECIFIED = 0 @@ -18,8 +22,8 @@ class AssetSetErrorEnum(proto.Message): OAUTH_INFO_MISSING = 12 CANNOT_DELETE_AS_ENABLED_LINKAGES_EXIST = 10 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/asset_set_link_error.pyi b/google-stubs/ads/googleads/v13/errors/types/asset_set_link_error.pyi index 8682c24b7..73d92a12f 100644 --- a/google-stubs/ads/googleads/v13/errors/types/asset_set_link_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/asset_set_link_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetSetLinkErrorEnum(proto.Message): class AssetSetLinkError(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class AssetSetLinkErrorEnum(proto.Message): DUPLICATE_ASSET_SET_LINK = 5 ASSET_SET_LINK_CANNOT_BE_REMOVED = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/audience_error.pyi b/google-stubs/ads/googleads/v13/errors/types/audience_error.pyi index 7ba5a98a1..f75823caf 100644 --- a/google-stubs/ads/googleads/v13/errors/types/audience_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/audience_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AudienceErrorEnum(proto.Message): class AudienceError(proto.Enum): UNSPECIFIED = 0 @@ -15,8 +19,8 @@ class AudienceErrorEnum(proto.Message): TOO_MANY_DIMENSIONS_OF_SAME_TYPE = 8 IN_USE = 9 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/audience_insights_error.pyi b/google-stubs/ads/googleads/v13/errors/types/audience_insights_error.pyi index 91b012e35..cd5d01aa5 100644 --- a/google-stubs/ads/googleads/v13/errors/types/audience_insights_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/audience_insights_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AudienceInsightsErrorEnum(proto.Message): class AudienceInsightsError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 DIMENSION_INCOMPATIBLE_WITH_TOPIC_AUDIENCE_COMBINATIONS = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/authentication_error.pyi b/google-stubs/ads/googleads/v13/errors/types/authentication_error.pyi index 424440a0e..a59eb43ae 100644 --- a/google-stubs/ads/googleads/v13/errors/types/authentication_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/authentication_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AuthenticationErrorEnum(proto.Message): class AuthenticationError(proto.Enum): UNSPECIFIED = 0 @@ -25,8 +29,8 @@ class AuthenticationErrorEnum(proto.Message): TWO_STEP_VERIFICATION_NOT_ENROLLED = 23 ADVANCED_PROTECTION_NOT_ENROLLED = 24 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/authorization_error.pyi b/google-stubs/ads/googleads/v13/errors/types/authorization_error.pyi index 389784654..7ec1c07f8 100644 --- a/google-stubs/ads/googleads/v13/errors/types/authorization_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/authorization_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AuthorizationErrorEnum(proto.Message): class AuthorizationError(proto.Enum): UNSPECIFIED = 0 @@ -21,8 +25,8 @@ class AuthorizationErrorEnum(proto.Message): ACCESS_DENIED_FOR_ACCOUNT_TYPE = 25 METRIC_ACCESS_DENIED = 26 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/batch_job_error.pyi b/google-stubs/ads/googleads/v13/errors/types/batch_job_error.pyi index 6daa3813e..8145e4b15 100644 --- a/google-stubs/ads/googleads/v13/errors/types/batch_job_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/batch_job_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BatchJobErrorEnum(proto.Message): class BatchJobError(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class BatchJobErrorEnum(proto.Message): INVALID_PAGE_SIZE = 6 CAN_ONLY_REMOVE_PENDING_JOB = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/bidding_error.pyi b/google-stubs/ads/googleads/v13/errors/types/bidding_error.pyi index c9616fdce..25519e4b6 100644 --- a/google-stubs/ads/googleads/v13/errors/types/bidding_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/bidding_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BiddingErrorEnum(proto.Message): class BiddingError(proto.Enum): UNSPECIFIED = 0 @@ -31,8 +35,8 @@ class BiddingErrorEnum(proto.Message): BIDDING_STRATEGY_AND_BUDGET_MUST_BE_REMOVED_TOGETHER = 40 CPC_BID_FLOOR_MICROS_GREATER_THAN_CPC_BID_CEILING_MICROS = 41 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/bidding_strategy_error.pyi b/google-stubs/ads/googleads/v13/errors/types/bidding_strategy_error.pyi index cb240f23c..e77a0ca60 100644 --- a/google-stubs/ads/googleads/v13/errors/types/bidding_strategy_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/bidding_strategy_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BiddingStrategyErrorEnum(proto.Message): class BiddingStrategyError(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class BiddingStrategyErrorEnum(proto.Message): BIDDING_STRATEGY_NOT_SUPPORTED = 5 INCOMPATIBLE_BIDDING_STRATEGY_AND_BIDDING_STRATEGY_GOAL_TYPE = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/billing_setup_error.pyi b/google-stubs/ads/googleads/v13/errors/types/billing_setup_error.pyi index 257ddf6cc..557e575a1 100644 --- a/google-stubs/ads/googleads/v13/errors/types/billing_setup_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/billing_setup_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BillingSetupErrorEnum(proto.Message): class BillingSetupError(proto.Enum): UNSPECIFIED = 0 @@ -27,8 +31,8 @@ class BillingSetupErrorEnum(proto.Message): FUTURE_START_TIME_PROHIBITED = 20 TOO_MANY_BILLING_SETUPS_FOR_PAYMENTS_ACCOUNT = 21 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/campaign_budget_error.pyi b/google-stubs/ads/googleads/v13/errors/types/campaign_budget_error.pyi index 6f28cb323..85a3e6ff0 100644 --- a/google-stubs/ads/googleads/v13/errors/types/campaign_budget_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/campaign_budget_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignBudgetErrorEnum(proto.Message): class CampaignBudgetError(proto.Enum): UNSPECIFIED = 0 @@ -25,8 +29,8 @@ class CampaignBudgetErrorEnum(proto.Message): INVALID_PERIOD = 19 CANNOT_USE_ACCELERATED_DELIVERY_MODE = 20 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/campaign_conversion_goal_error.pyi b/google-stubs/ads/googleads/v13/errors/types/campaign_conversion_goal_error.pyi index 3c26c8c27..db6efd2d5 100644 --- a/google-stubs/ads/googleads/v13/errors/types/campaign_conversion_goal_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/campaign_conversion_goal_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignConversionGoalErrorEnum(proto.Message): class CampaignConversionGoalError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 CANNOT_USE_CAMPAIGN_GOAL_FOR_SEARCH_ADS_360_MANAGED_CAMPAIGN = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/campaign_criterion_error.pyi b/google-stubs/ads/googleads/v13/errors/types/campaign_criterion_error.pyi index 685ac94c1..3ef6e62d9 100644 --- a/google-stubs/ads/googleads/v13/errors/types/campaign_criterion_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/campaign_criterion_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignCriterionErrorEnum(proto.Message): class CampaignCriterionError(proto.Enum): UNSPECIFIED = 0 @@ -33,8 +37,8 @@ class CampaignCriterionErrorEnum(proto.Message): ) LOCAL_SERVICE_ID_NOT_FOUND_FOR_CATEGORY = 25 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/campaign_customizer_error.pyi b/google-stubs/ads/googleads/v13/errors/types/campaign_customizer_error.pyi index 0595f3223..e44225407 100644 --- a/google-stubs/ads/googleads/v13/errors/types/campaign_customizer_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/campaign_customizer_error.pyi @@ -1,14 +1,18 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignCustomizerErrorEnum(proto.Message): class CampaignCustomizerError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/campaign_draft_error.pyi b/google-stubs/ads/googleads/v13/errors/types/campaign_draft_error.pyi index b7fe0836a..1d0dd6699 100644 --- a/google-stubs/ads/googleads/v13/errors/types/campaign_draft_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/campaign_draft_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignDraftErrorEnum(proto.Message): class CampaignDraftError(proto.Enum): UNSPECIFIED = 0 @@ -17,8 +21,8 @@ class CampaignDraftErrorEnum(proto.Message): MAX_NUMBER_OF_DRAFTS_PER_CAMPAIGN_REACHED = 10 LIST_ERRORS_FOR_PROMOTED_DRAFT_ONLY = 11 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/campaign_error.pyi b/google-stubs/ads/googleads/v13/errors/types/campaign_error.pyi index b27e83dac..6e6426626 100644 --- a/google-stubs/ads/googleads/v13/errors/types/campaign_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/campaign_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignErrorEnum(proto.Message): class CampaignError(proto.Enum): UNSPECIFIED = 0 @@ -77,8 +81,8 @@ class CampaignErrorEnum(proto.Message): NOT_COMPATIBLE_WITH_GOOGLE_ATTRIBUTION_CONVERSIONS = 81 CONVERSION_LAG_TOO_HIGH = 82 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/campaign_experiment_error.pyi b/google-stubs/ads/googleads/v13/errors/types/campaign_experiment_error.pyi index fac3c6a3d..30dae9500 100644 --- a/google-stubs/ads/googleads/v13/errors/types/campaign_experiment_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/campaign_experiment_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignExperimentErrorEnum(proto.Message): class CampaignExperimentError(proto.Enum): UNSPECIFIED = 0 @@ -17,8 +21,8 @@ class CampaignExperimentErrorEnum(proto.Message): EXPERIMENT_DURATION_MUST_BE_WITHIN_CAMPAIGN_DURATION = 10 CANNOT_MUTATE_EXPERIMENT_DUE_TO_STATUS = 11 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/campaign_feed_error.pyi b/google-stubs/ads/googleads/v13/errors/types/campaign_feed_error.pyi index dd04ba57b..4af608d47 100644 --- a/google-stubs/ads/googleads/v13/errors/types/campaign_feed_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/campaign_feed_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignFeedErrorEnum(proto.Message): class CampaignFeedError(proto.Enum): UNSPECIFIED = 0 @@ -15,8 +19,8 @@ class CampaignFeedErrorEnum(proto.Message): NO_EXISTING_LOCATION_CUSTOMER_FEED = 9 LEGACY_FEED_TYPE_READ_ONLY = 10 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/campaign_shared_set_error.pyi b/google-stubs/ads/googleads/v13/errors/types/campaign_shared_set_error.pyi index 737e4b670..de118c89b 100644 --- a/google-stubs/ads/googleads/v13/errors/types/campaign_shared_set_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/campaign_shared_set_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignSharedSetErrorEnum(proto.Message): class CampaignSharedSetError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 SHARED_SET_ACCESS_DENIED = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/change_event_error.pyi b/google-stubs/ads/googleads/v13/errors/types/change_event_error.pyi index cde38dadd..7397fa450 100644 --- a/google-stubs/ads/googleads/v13/errors/types/change_event_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/change_event_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ChangeEventErrorEnum(proto.Message): class ChangeEventError(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class ChangeEventErrorEnum(proto.Message): LIMIT_NOT_SPECIFIED = 5 INVALID_LIMIT_CLAUSE = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/change_status_error.pyi b/google-stubs/ads/googleads/v13/errors/types/change_status_error.pyi index 26ab02949..f214d7a33 100644 --- a/google-stubs/ads/googleads/v13/errors/types/change_status_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/change_status_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ChangeStatusErrorEnum(proto.Message): class ChangeStatusError(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class ChangeStatusErrorEnum(proto.Message): LIMIT_NOT_SPECIFIED = 6 INVALID_LIMIT_CLAUSE = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/collection_size_error.pyi b/google-stubs/ads/googleads/v13/errors/types/collection_size_error.pyi index 160b7d102..ab895ad90 100644 --- a/google-stubs/ads/googleads/v13/errors/types/collection_size_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/collection_size_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CollectionSizeErrorEnum(proto.Message): class CollectionSizeError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class CollectionSizeErrorEnum(proto.Message): TOO_FEW = 2 TOO_MANY = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/context_error.pyi b/google-stubs/ads/googleads/v13/errors/types/context_error.pyi index d9287174a..033eaeee0 100644 --- a/google-stubs/ads/googleads/v13/errors/types/context_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/context_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ContextErrorEnum(proto.Message): class ContextError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class ContextErrorEnum(proto.Message): OPERATION_NOT_PERMITTED_FOR_CONTEXT = 2 OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/conversion_action_error.pyi b/google-stubs/ads/googleads/v13/errors/types/conversion_action_error.pyi index 2b620a1a5..bc2748184 100644 --- a/google-stubs/ads/googleads/v13/errors/types/conversion_action_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/conversion_action_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionActionErrorEnum(proto.Message): class ConversionActionError(proto.Enum): UNSPECIFIED = 0 @@ -17,8 +21,8 @@ class ConversionActionErrorEnum(proto.Message): CREATION_NOT_SUPPORTED = 10 UPDATE_NOT_SUPPORTED = 11 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/conversion_adjustment_upload_error.pyi b/google-stubs/ads/googleads/v13/errors/types/conversion_adjustment_upload_error.pyi index fae89c583..d2bdb3da3 100644 --- a/google-stubs/ads/googleads/v13/errors/types/conversion_adjustment_upload_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/conversion_adjustment_upload_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionAdjustmentUploadErrorEnum(proto.Message): class ConversionAdjustmentUploadError(proto.Enum): UNSPECIFIED = 0 @@ -30,8 +34,8 @@ class ConversionAdjustmentUploadErrorEnum(proto.Message): MISSING_ORDER_ID_FOR_WEBPAGE = 24 ORDER_ID_CONTAINS_PII = 25 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/conversion_custom_variable_error.pyi b/google-stubs/ads/googleads/v13/errors/types/conversion_custom_variable_error.pyi index 9675a8e18..10f81f166 100644 --- a/google-stubs/ads/googleads/v13/errors/types/conversion_custom_variable_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/conversion_custom_variable_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionCustomVariableErrorEnum(proto.Message): class ConversionCustomVariableError(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ConversionCustomVariableErrorEnum(proto.Message): DUPLICATE_TAG = 3 RESERVED_TAG = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/conversion_goal_campaign_config_error.pyi b/google-stubs/ads/googleads/v13/errors/types/conversion_goal_campaign_config_error.pyi index 6a35d2a56..f7b873435 100644 --- a/google-stubs/ads/googleads/v13/errors/types/conversion_goal_campaign_config_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/conversion_goal_campaign_config_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionGoalCampaignConfigErrorEnum(proto.Message): class ConversionGoalCampaignConfigError(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ConversionGoalCampaignConfigErrorEnum(proto.Message): CUSTOM_GOAL_DOES_NOT_BELONG_TO_GOOGLE_ADS_CONVERSION_CUSTOMER = 3 CAMPAIGN_CANNOT_USE_UNIFIED_GOALS = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/conversion_upload_error.pyi b/google-stubs/ads/googleads/v13/errors/types/conversion_upload_error.pyi index 7197ec9d7..5d9eb610f 100644 --- a/google-stubs/ads/googleads/v13/errors/types/conversion_upload_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/conversion_upload_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionUploadErrorEnum(proto.Message): class ConversionUploadError(proto.Enum): UNSPECIFIED = 0 @@ -53,8 +57,8 @@ class ConversionUploadErrorEnum(proto.Message): ORDER_ID_CONTAINS_PII = 49 CUSTOMER_NOT_ENABLED_ENHANCED_CONVERSIONS_FOR_LEADS = 50 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/conversion_value_rule_error.pyi b/google-stubs/ads/googleads/v13/errors/types/conversion_value_rule_error.pyi index 9d2a01f0b..3de824214 100644 --- a/google-stubs/ads/googleads/v13/errors/types/conversion_value_rule_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/conversion_value_rule_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionValueRuleErrorEnum(proto.Message): class ConversionValueRuleError(proto.Enum): UNSPECIFIED = 0 @@ -19,8 +23,8 @@ class ConversionValueRuleErrorEnum(proto.Message): INVALID_AUDIENCE_USER_INTEREST = 12 CANNOT_ADD_RULE_WITH_STATUS_REMOVED = 13 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/conversion_value_rule_set_error.pyi b/google-stubs/ads/googleads/v13/errors/types/conversion_value_rule_set_error.pyi index df65ec11e..ef386ed66 100644 --- a/google-stubs/ads/googleads/v13/errors/types/conversion_value_rule_set_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/conversion_value_rule_set_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionValueRuleSetErrorEnum(proto.Message): class ConversionValueRuleSetError(proto.Enum): UNSPECIFIED = 0 @@ -20,8 +24,8 @@ class ConversionValueRuleSetErrorEnum(proto.Message): DIMENSION_NO_CONDITION_NOT_ALLOWED = 13 UNSUPPORTED_CONVERSION_ACTION_CATEGORIES = 14 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/country_code_error.pyi b/google-stubs/ads/googleads/v13/errors/types/country_code_error.pyi index fe7425d25..64fcb6fce 100644 --- a/google-stubs/ads/googleads/v13/errors/types/country_code_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/country_code_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CountryCodeErrorEnum(proto.Message): class CountryCodeError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 INVALID_COUNTRY_CODE = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/criterion_error.pyi b/google-stubs/ads/googleads/v13/errors/types/criterion_error.pyi index a68e2e734..aac44c1ee 100644 --- a/google-stubs/ads/googleads/v13/errors/types/criterion_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/criterion_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CriterionErrorEnum(proto.Message): class CriterionError(proto.Enum): UNSPECIFIED = 0 @@ -143,8 +147,8 @@ class CriterionErrorEnum(proto.Message): AUDIENCE_NOT_ALLOWED_TO_ATTACH_WHEN_AUDIENCE_GROUPED_SET_TO_FALSE = 138 CANNOT_TARGET_CUSTOMER_MATCH_USER_LIST = 139 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/currency_code_error.pyi b/google-stubs/ads/googleads/v13/errors/types/currency_code_error.pyi index 771422a6d..862785d0e 100644 --- a/google-stubs/ads/googleads/v13/errors/types/currency_code_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/currency_code_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CurrencyCodeErrorEnum(proto.Message): class CurrencyCodeError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 UNSUPPORTED = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/currency_error.pyi b/google-stubs/ads/googleads/v13/errors/types/currency_error.pyi index 240f3409f..8797e2d05 100644 --- a/google-stubs/ads/googleads/v13/errors/types/currency_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/currency_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CurrencyErrorEnum(proto.Message): class CurrencyError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 VALUE_NOT_MULTIPLE_OF_BILLABLE_UNIT = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/custom_audience_error.pyi b/google-stubs/ads/googleads/v13/errors/types/custom_audience_error.pyi index 5022b5e06..d5d54df73 100644 --- a/google-stubs/ads/googleads/v13/errors/types/custom_audience_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/custom_audience_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomAudienceErrorEnum(proto.Message): class CustomAudienceError(proto.Enum): UNSPECIFIED = 0 @@ -15,8 +19,8 @@ class CustomAudienceErrorEnum(proto.Message): POLICY_VIOLATION = 8 INVALID_TYPE_CHANGE = 9 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/custom_conversion_goal_error.pyi b/google-stubs/ads/googleads/v13/errors/types/custom_conversion_goal_error.pyi index 95ed00ee2..b40a68f36 100644 --- a/google-stubs/ads/googleads/v13/errors/types/custom_conversion_goal_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/custom_conversion_goal_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomConversionGoalErrorEnum(proto.Message): class CustomConversionGoalError(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class CustomConversionGoalErrorEnum(proto.Message): DUPLICATE_CONVERSION_ACTION_LIST = 6 NON_BIDDABLE_CONVERSION_ACTION_NOT_ELIGIBLE_FOR_CUSTOM_GOAL = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/custom_interest_error.pyi b/google-stubs/ads/googleads/v13/errors/types/custom_interest_error.pyi index ae8ee848f..31dc90883 100644 --- a/google-stubs/ads/googleads/v13/errors/types/custom_interest_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/custom_interest_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomInterestErrorEnum(proto.Message): class CustomInterestError(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class CustomInterestErrorEnum(proto.Message): CANNOT_REMOVE_WHILE_IN_USE = 7 CANNOT_CHANGE_TYPE = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/customer_client_link_error.pyi b/google-stubs/ads/googleads/v13/errors/types/customer_client_link_error.pyi index 7f2bdc553..b47254072 100644 --- a/google-stubs/ads/googleads/v13/errors/types/customer_client_link_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/customer_client_link_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomerClientLinkErrorEnum(proto.Message): class CustomerClientLinkError(proto.Enum): UNSPECIFIED = 0 @@ -15,8 +19,8 @@ class CustomerClientLinkErrorEnum(proto.Message): CUSTOMER_HAS_TOO_MANY_ACCOUNTS_AT_MANAGER = 8 CLIENT_HAS_TOO_MANY_MANAGERS = 9 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/customer_customizer_error.pyi b/google-stubs/ads/googleads/v13/errors/types/customer_customizer_error.pyi index 12082a4ca..2e1d735ad 100644 --- a/google-stubs/ads/googleads/v13/errors/types/customer_customizer_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/customer_customizer_error.pyi @@ -1,14 +1,18 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomerCustomizerErrorEnum(proto.Message): class CustomerCustomizerError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/customer_error.pyi b/google-stubs/ads/googleads/v13/errors/types/customer_error.pyi index e3683863d..ed394dcc7 100644 --- a/google-stubs/ads/googleads/v13/errors/types/customer_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/customer_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomerErrorEnum(proto.Message): class CustomerError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class CustomerErrorEnum(proto.Message): STATUS_CHANGE_DISALLOWED = 2 ACCOUNT_NOT_SET_UP = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/customer_feed_error.pyi b/google-stubs/ads/googleads/v13/errors/types/customer_feed_error.pyi index e3d279c46..3fb1a4669 100644 --- a/google-stubs/ads/googleads/v13/errors/types/customer_feed_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/customer_feed_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomerFeedErrorEnum(proto.Message): class CustomerFeedError(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class CustomerFeedErrorEnum(proto.Message): MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE = 7 PLACEHOLDER_TYPE_NOT_ALLOWED_ON_CUSTOMER_FEED = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/customer_manager_link_error.pyi b/google-stubs/ads/googleads/v13/errors/types/customer_manager_link_error.pyi index 990bd4494..5993e714f 100644 --- a/google-stubs/ads/googleads/v13/errors/types/customer_manager_link_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/customer_manager_link_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomerManagerLinkErrorEnum(proto.Message): class CustomerManagerLinkError(proto.Enum): UNSPECIFIED = 0 @@ -16,8 +20,8 @@ class CustomerManagerLinkErrorEnum(proto.Message): DUPLICATE_CHILD_FOUND = 9 TEST_ACCOUNT_LINKS_TOO_MANY_CHILD_ACCOUNTS = 10 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/customer_sk_ad_network_conversion_value_schema_error.pyi b/google-stubs/ads/googleads/v13/errors/types/customer_sk_ad_network_conversion_value_schema_error.pyi index d42924684..d186225e3 100644 --- a/google-stubs/ads/googleads/v13/errors/types/customer_sk_ad_network_conversion_value_schema_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/customer_sk_ad_network_conversion_value_schema_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomerSkAdNetworkConversionValueSchemaErrorEnum(proto.Message): class CustomerSkAdNetworkConversionValueSchemaError(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class CustomerSkAdNetworkConversionValueSchemaErrorEnum(proto.Message): INVALID_SCHEMA = 4 LINK_CODE_NOT_FOUND = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/customer_user_access_error.pyi b/google-stubs/ads/googleads/v13/errors/types/customer_user_access_error.pyi index fc98ce712..0f65ae95e 100644 --- a/google-stubs/ads/googleads/v13/errors/types/customer_user_access_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/customer_user_access_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomerUserAccessErrorEnum(proto.Message): class CustomerUserAccessError(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class CustomerUserAccessErrorEnum(proto.Message): LAST_ADMIN_USER_OF_SERVING_CUSTOMER = 5 LAST_ADMIN_USER_OF_MANAGER = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/customizer_attribute_error.pyi b/google-stubs/ads/googleads/v13/errors/types/customizer_attribute_error.pyi index 22b9ae0df..8c51c67a6 100644 --- a/google-stubs/ads/googleads/v13/errors/types/customizer_attribute_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/customizer_attribute_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomizerAttributeErrorEnum(proto.Message): class CustomizerAttributeError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 DUPLICATE_CUSTOMIZER_ATTRIBUTE_NAME = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/database_error.pyi b/google-stubs/ads/googleads/v13/errors/types/database_error.pyi index b2c56bfc5..9f7a374b7 100644 --- a/google-stubs/ads/googleads/v13/errors/types/database_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/database_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class DatabaseErrorEnum(proto.Message): class DatabaseError(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class DatabaseErrorEnum(proto.Message): DATA_CONSTRAINT_VIOLATION = 3 REQUEST_TOO_LARGE = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/date_error.pyi b/google-stubs/ads/googleads/v13/errors/types/date_error.pyi index 510f83e37..ebe09dcaa 100644 --- a/google-stubs/ads/googleads/v13/errors/types/date_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/date_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class DateErrorEnum(proto.Message): class DateError(proto.Enum): UNSPECIFIED = 0 @@ -17,8 +21,8 @@ class DateErrorEnum(proto.Message): DATE_RANGE_MINIMUM_DATE_LATER_THAN_MAXIMUM_DATE = 9 DATE_RANGE_MINIMUM_AND_MAXIMUM_DATES_BOTH_NULL = 10 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/date_range_error.pyi b/google-stubs/ads/googleads/v13/errors/types/date_range_error.pyi index 4bfc8a944..44f0e1a3f 100644 --- a/google-stubs/ads/googleads/v13/errors/types/date_range_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/date_range_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class DateRangeErrorEnum(proto.Message): class DateRangeError(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class DateRangeErrorEnum(proto.Message): AFTER_MAXIMUM_ALLOWABLE_DATE = 5 CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/distinct_error.pyi b/google-stubs/ads/googleads/v13/errors/types/distinct_error.pyi index d3e3ab805..36a4a6701 100644 --- a/google-stubs/ads/googleads/v13/errors/types/distinct_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/distinct_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class DistinctErrorEnum(proto.Message): class DistinctError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class DistinctErrorEnum(proto.Message): DUPLICATE_ELEMENT = 2 DUPLICATE_TYPE = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/enum_error.pyi b/google-stubs/ads/googleads/v13/errors/types/enum_error.pyi index 0d51287f1..f0a147085 100644 --- a/google-stubs/ads/googleads/v13/errors/types/enum_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/enum_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class EnumErrorEnum(proto.Message): class EnumError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 ENUM_VALUE_NOT_PERMITTED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/errors.pyi b/google-stubs/ads/googleads/v13/errors/types/errors.pyi index 24916e2c3..4e2b1cddd 100644 --- a/google-stubs/ads/googleads/v13/errors/types/errors.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/errors.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.duration_pb2 import Duration @@ -336,6 +337,8 @@ from google.ads.googleads.v13.errors.types.youtube_video_registration_error impo YoutubeVideoRegistrationErrorEnum, ) +_M = TypeVar("_M") + class ErrorCode(proto.Message): request_error: RequestErrorEnum.RequestError bidding_strategy_error: BiddingStrategyErrorEnum.BiddingStrategyError @@ -481,8 +484,8 @@ class ErrorCode(proto.Message): customer_sk_ad_network_conversion_value_schema_error: CustomerSkAdNetworkConversionValueSchemaErrorEnum.CustomerSkAdNetworkConversionValueSchemaError currency_error: CurrencyErrorEnum.CurrencyError def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., request_error: RequestErrorEnum.RequestError = ..., @@ -637,8 +640,8 @@ class ErrorDetails(proto.Message): quota_error_details: QuotaErrorDetails resource_count_details: ResourceCountDetails def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., unpublished_error_code: str = ..., @@ -653,8 +656,8 @@ class ErrorLocation(proto.Message): field_name: str index: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., field_name: str = ..., @@ -662,8 +665,8 @@ class ErrorLocation(proto.Message): ) -> None: ... field_path_elements: MutableSequence[ErrorLocation.FieldPathElement] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., field_path_elements: MutableSequence[ErrorLocation.FieldPathElement] = ... @@ -676,8 +679,8 @@ class GoogleAdsError(proto.Message): location: ErrorLocation details: ErrorDetails def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., error_code: ErrorCode = ..., @@ -691,8 +694,8 @@ class GoogleAdsFailure(proto.Message): errors: MutableSequence[GoogleAdsError] request_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., errors: MutableSequence[GoogleAdsError] = ..., @@ -702,8 +705,8 @@ class GoogleAdsFailure(proto.Message): class PolicyFindingDetails(proto.Message): policy_topic_entries: MutableSequence[PolicyTopicEntry] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., policy_topic_entries: MutableSequence[PolicyTopicEntry] = ... @@ -715,8 +718,8 @@ class PolicyViolationDetails(proto.Message): external_policy_name: str is_exemptible: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., external_policy_description: str = ..., @@ -735,8 +738,8 @@ class QuotaErrorDetails(proto.Message): rate_name: str retry_delay: Duration def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., rate_scope: QuotaErrorDetails.QuotaRateScope = ..., @@ -751,8 +754,8 @@ class ResourceCountDetails(proto.Message): limit_type: ResourceLimitTypeEnum.ResourceLimitType existing_count: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., enclosing_id: str = ..., diff --git a/google-stubs/ads/googleads/v13/errors/types/experiment_arm_error.pyi b/google-stubs/ads/googleads/v13/errors/types/experiment_arm_error.pyi index 68dd5576f..cf51a8fce 100644 --- a/google-stubs/ads/googleads/v13/errors/types/experiment_arm_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/experiment_arm_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ExperimentArmErrorEnum(proto.Message): class ExperimentArmError(proto.Enum): UNSPECIFIED = 0 @@ -21,8 +25,8 @@ class ExperimentArmErrorEnum(proto.Message): BIDDING_STRATEGY_NOT_SUPPORTED_IN_EXPERIMENTS = 14 TRAFFIC_SPLIT_NOT_SUPPORTED_FOR_CHANNEL_TYPE = 15 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/experiment_error.pyi b/google-stubs/ads/googleads/v13/errors/types/experiment_error.pyi index 5db0293cf..cd70cfbb5 100644 --- a/google-stubs/ads/googleads/v13/errors/types/experiment_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/experiment_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ExperimentErrorEnum(proto.Message): class ExperimentError(proto.Enum): UNSPECIFIED = 0 @@ -31,8 +35,8 @@ class ExperimentErrorEnum(proto.Message): CANNOT_CREATE_EXPERIMENT_CAMPAIGN_WITH_CUSTOM_BUDGET = 24 STATUS_TRANSITION_INVALID = 25 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/extension_feed_item_error.pyi b/google-stubs/ads/googleads/v13/errors/types/extension_feed_item_error.pyi index 75062086a..bace6103a 100644 --- a/google-stubs/ads/googleads/v13/errors/types/extension_feed_item_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/extension_feed_item_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ExtensionFeedItemErrorEnum(proto.Message): class ExtensionFeedItemError(proto.Enum): UNSPECIFIED = 0 @@ -52,8 +56,8 @@ class ExtensionFeedItemErrorEnum(proto.Message): CONCRETE_EXTENSION_TYPE_REQUIRED = 45 SCHEDULE_END_NOT_AFTER_START = 46 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/extension_setting_error.pyi b/google-stubs/ads/googleads/v13/errors/types/extension_setting_error.pyi index d19ec78c5..9f0fb58fe 100644 --- a/google-stubs/ads/googleads/v13/errors/types/extension_setting_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/extension_setting_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ExtensionSettingErrorEnum(proto.Message): class ExtensionSettingError(proto.Enum): UNSPECIFIED = 0 @@ -72,8 +76,8 @@ class ExtensionSettingErrorEnum(proto.Message): EXTENSION_SETTING_UPDATE_IS_A_NOOP = 67 DISALLOWED_TEXT = 68 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/feed_attribute_reference_error.pyi b/google-stubs/ads/googleads/v13/errors/types/feed_attribute_reference_error.pyi index 90dcc90ef..105883e1f 100644 --- a/google-stubs/ads/googleads/v13/errors/types/feed_attribute_reference_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/feed_attribute_reference_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedAttributeReferenceErrorEnum(proto.Message): class FeedAttributeReferenceError(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class FeedAttributeReferenceErrorEnum(proto.Message): INVALID_FEED_NAME = 3 INVALID_FEED_ATTRIBUTE_NAME = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/feed_error.pyi b/google-stubs/ads/googleads/v13/errors/types/feed_error.pyi index c31999db2..7a8a523c7 100644 --- a/google-stubs/ads/googleads/v13/errors/types/feed_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/feed_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedErrorEnum(proto.Message): class FeedError(proto.Enum): UNSPECIFIED = 0 @@ -30,8 +34,8 @@ class FeedErrorEnum(proto.Message): CANNOT_HAVE_LOCATION_AND_AFFILIATE_LOCATION_FEEDS = 23 LEGACY_EXTENSION_TYPE_READ_ONLY = 24 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/feed_item_error.pyi b/google-stubs/ads/googleads/v13/errors/types/feed_item_error.pyi index df6b746ce..dfbc19a2d 100644 --- a/google-stubs/ads/googleads/v13/errors/types/feed_item_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/feed_item_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedItemErrorEnum(proto.Message): class FeedItemError(proto.Enum): UNSPECIFIED = 0 @@ -17,8 +21,8 @@ class FeedItemErrorEnum(proto.Message): SIZE_TOO_LARGE_FOR_MULTI_VALUE_ATTRIBUTE = 10 LEGACY_FEED_TYPE_READ_ONLY = 11 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/feed_item_set_error.pyi b/google-stubs/ads/googleads/v13/errors/types/feed_item_set_error.pyi index 3c08af59f..334cd61ed 100644 --- a/google-stubs/ads/googleads/v13/errors/types/feed_item_set_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/feed_item_set_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedItemSetErrorEnum(proto.Message): class FeedItemSetError(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class FeedItemSetErrorEnum(proto.Message): WRONG_DYNAMIC_FILTER_FOR_FEED_TYPE = 7 DYNAMIC_FILTER_INVALID_CHAIN_IDS = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/feed_item_set_link_error.pyi b/google-stubs/ads/googleads/v13/errors/types/feed_item_set_link_error.pyi index cf09206d1..256ee23c2 100644 --- a/google-stubs/ads/googleads/v13/errors/types/feed_item_set_link_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/feed_item_set_link_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedItemSetLinkErrorEnum(proto.Message): class FeedItemSetLinkError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class FeedItemSetLinkErrorEnum(proto.Message): FEED_ID_MISMATCH = 2 NO_MUTATE_ALLOWED_FOR_DYNAMIC_SET = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/feed_item_target_error.pyi b/google-stubs/ads/googleads/v13/errors/types/feed_item_target_error.pyi index a920b704e..3bfc13b61 100644 --- a/google-stubs/ads/googleads/v13/errors/types/feed_item_target_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/feed_item_target_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedItemTargetErrorEnum(proto.Message): class FeedItemTargetError(proto.Enum): UNSPECIFIED = 0 @@ -15,8 +19,8 @@ class FeedItemTargetErrorEnum(proto.Message): DUPLICATE_AD_SCHEDULE = 8 DUPLICATE_KEYWORD = 9 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/feed_item_validation_error.pyi b/google-stubs/ads/googleads/v13/errors/types/feed_item_validation_error.pyi index 34b1a3e29..6750522f4 100644 --- a/google-stubs/ads/googleads/v13/errors/types/feed_item_validation_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/feed_item_validation_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedItemValidationErrorEnum(proto.Message): class FeedItemValidationError(proto.Enum): UNSPECIFIED = 0 @@ -112,8 +116,8 @@ class FeedItemValidationErrorEnum(proto.Message): IMAGE_ERROR_CONSTRAINTS_VIOLATED = 106 IMAGE_ERROR_SERVER_ERROR = 107 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/feed_mapping_error.pyi b/google-stubs/ads/googleads/v13/errors/types/feed_mapping_error.pyi index 52d6acc83..2f5bd13b7 100644 --- a/google-stubs/ads/googleads/v13/errors/types/feed_mapping_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/feed_mapping_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedMappingErrorEnum(proto.Message): class FeedMappingError(proto.Enum): UNSPECIFIED = 0 @@ -25,8 +29,8 @@ class FeedMappingErrorEnum(proto.Message): ATTRIBUTE_FIELD_MAPPING_MISSING_FIELD = 19 LEGACY_FEED_TYPE_READ_ONLY = 20 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/field_error.pyi b/google-stubs/ads/googleads/v13/errors/types/field_error.pyi index 4f6e4fd47..9d1b8ec93 100644 --- a/google-stubs/ads/googleads/v13/errors/types/field_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/field_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FieldErrorEnum(proto.Message): class FieldError(proto.Enum): UNSPECIFIED = 0 @@ -15,8 +19,8 @@ class FieldErrorEnum(proto.Message): BLOCKED_VALUE = 9 FIELD_CAN_ONLY_BE_CLEARED = 10 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/field_mask_error.pyi b/google-stubs/ads/googleads/v13/errors/types/field_mask_error.pyi index ac20091e5..2713485c7 100644 --- a/google-stubs/ads/googleads/v13/errors/types/field_mask_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/field_mask_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FieldMaskErrorEnum(proto.Message): class FieldMaskError(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class FieldMaskErrorEnum(proto.Message): FIELD_NOT_FOUND = 2 FIELD_HAS_SUBFIELDS = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/function_error.pyi b/google-stubs/ads/googleads/v13/errors/types/function_error.pyi index f99e8c76e..86b5f59bc 100644 --- a/google-stubs/ads/googleads/v13/errors/types/function_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/function_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FunctionErrorEnum(proto.Message): class FunctionError(proto.Enum): UNSPECIFIED = 0 @@ -23,8 +27,8 @@ class FunctionErrorEnum(proto.Message): INVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA = 16 INVALID_ATTRIBUTE_NAME = 17 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/function_parsing_error.pyi b/google-stubs/ads/googleads/v13/errors/types/function_parsing_error.pyi index 39a65a19b..34787a22b 100644 --- a/google-stubs/ads/googleads/v13/errors/types/function_parsing_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/function_parsing_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FunctionParsingErrorEnum(proto.Message): class FunctionParsingError(proto.Enum): UNSPECIFIED = 0 @@ -18,8 +22,8 @@ class FunctionParsingErrorEnum(proto.Message): NO_OPERANDS = 11 TOO_MANY_OPERANDS = 12 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/geo_target_constant_suggestion_error.pyi b/google-stubs/ads/googleads/v13/errors/types/geo_target_constant_suggestion_error.pyi index 58d5a3d3f..3ed4dc1a9 100644 --- a/google-stubs/ads/googleads/v13/errors/types/geo_target_constant_suggestion_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/geo_target_constant_suggestion_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class GeoTargetConstantSuggestionErrorEnum(proto.Message): class GeoTargetConstantSuggestionError(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class GeoTargetConstantSuggestionErrorEnum(proto.Message): INVALID_COUNTRY_CODE = 4 REQUEST_PARAMETERS_UNSET = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/header_error.pyi b/google-stubs/ads/googleads/v13/errors/types/header_error.pyi index d880d6d37..5d2239436 100644 --- a/google-stubs/ads/googleads/v13/errors/types/header_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/header_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class HeaderErrorEnum(proto.Message): class HeaderError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class HeaderErrorEnum(proto.Message): INVALID_LOGIN_CUSTOMER_ID = 3 INVALID_LINKED_CUSTOMER_ID = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/id_error.pyi b/google-stubs/ads/googleads/v13/errors/types/id_error.pyi index ce3d0c6b4..27d303276 100644 --- a/google-stubs/ads/googleads/v13/errors/types/id_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/id_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class IdErrorEnum(proto.Message): class IdError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 NOT_FOUND = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/image_error.pyi b/google-stubs/ads/googleads/v13/errors/types/image_error.pyi index b2eba91f6..eceecab1d 100644 --- a/google-stubs/ads/googleads/v13/errors/types/image_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/image_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ImageErrorEnum(proto.Message): class ImageError(proto.Enum): UNSPECIFIED = 0 @@ -46,8 +50,8 @@ class ImageErrorEnum(proto.Message): IMAGE_CONSTRAINTS_VIOLATED = 39 FORMAT_NOT_ALLOWED = 40 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/internal_error.pyi b/google-stubs/ads/googleads/v13/errors/types/internal_error.pyi index db0faa58f..14b607589 100644 --- a/google-stubs/ads/googleads/v13/errors/types/internal_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/internal_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class InternalErrorEnum(proto.Message): class InternalError(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class InternalErrorEnum(proto.Message): TRANSIENT_ERROR = 4 DEADLINE_EXCEEDED = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/invoice_error.pyi b/google-stubs/ads/googleads/v13/errors/types/invoice_error.pyi index d18769636..7685c23ef 100644 --- a/google-stubs/ads/googleads/v13/errors/types/invoice_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/invoice_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class InvoiceErrorEnum(proto.Message): class InvoiceError(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class InvoiceErrorEnum(proto.Message): BILLING_SETUP_NOT_ON_MONTHLY_INVOICING = 5 NON_SERVING_CUSTOMER = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/keyword_plan_ad_group_error.pyi b/google-stubs/ads/googleads/v13/errors/types/keyword_plan_ad_group_error.pyi index 599095df9..8abed8ee2 100644 --- a/google-stubs/ads/googleads/v13/errors/types/keyword_plan_ad_group_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/keyword_plan_ad_group_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class KeywordPlanAdGroupErrorEnum(proto.Message): class KeywordPlanAdGroupError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class KeywordPlanAdGroupErrorEnum(proto.Message): INVALID_NAME = 2 DUPLICATE_NAME = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/keyword_plan_ad_group_keyword_error.pyi b/google-stubs/ads/googleads/v13/errors/types/keyword_plan_ad_group_keyword_error.pyi index e84505178..baa1ca73b 100644 --- a/google-stubs/ads/googleads/v13/errors/types/keyword_plan_ad_group_keyword_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/keyword_plan_ad_group_keyword_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class KeywordPlanAdGroupKeywordErrorEnum(proto.Message): class KeywordPlanAdGroupKeywordError(proto.Enum): UNSPECIFIED = 0 @@ -15,8 +19,8 @@ class KeywordPlanAdGroupKeywordErrorEnum(proto.Message): NEGATIVE_KEYWORD_HAS_CPC_BID = 8 NEW_BMM_KEYWORDS_NOT_ALLOWED = 9 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/keyword_plan_campaign_error.pyi b/google-stubs/ads/googleads/v13/errors/types/keyword_plan_campaign_error.pyi index d03e01156..f9b8c3ea6 100644 --- a/google-stubs/ads/googleads/v13/errors/types/keyword_plan_campaign_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/keyword_plan_campaign_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class KeywordPlanCampaignErrorEnum(proto.Message): class KeywordPlanCampaignError(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class KeywordPlanCampaignErrorEnum(proto.Message): MAX_GEOS_EXCEEDED = 6 MAX_LANGUAGES_EXCEEDED = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/keyword_plan_campaign_keyword_error.pyi b/google-stubs/ads/googleads/v13/errors/types/keyword_plan_campaign_keyword_error.pyi index ba301b897..9ff1bbab1 100644 --- a/google-stubs/ads/googleads/v13/errors/types/keyword_plan_campaign_keyword_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/keyword_plan_campaign_keyword_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class KeywordPlanCampaignKeywordErrorEnum(proto.Message): class KeywordPlanCampaignKeywordError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 CAMPAIGN_KEYWORD_IS_POSITIVE = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/keyword_plan_error.pyi b/google-stubs/ads/googleads/v13/errors/types/keyword_plan_error.pyi index bbd4c02fe..8431c0f69 100644 --- a/google-stubs/ads/googleads/v13/errors/types/keyword_plan_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/keyword_plan_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class KeywordPlanErrorEnum(proto.Message): class KeywordPlanError(proto.Enum): UNSPECIFIED = 0 @@ -21,8 +25,8 @@ class KeywordPlanErrorEnum(proto.Message): INVALID_FORECAST_DATE_RANGE = 15 INVALID_NAME = 16 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/keyword_plan_idea_error.pyi b/google-stubs/ads/googleads/v13/errors/types/keyword_plan_idea_error.pyi index 0bea5157b..cbccaaf60 100644 --- a/google-stubs/ads/googleads/v13/errors/types/keyword_plan_idea_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/keyword_plan_idea_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class KeywordPlanIdeaErrorEnum(proto.Message): class KeywordPlanIdeaError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class KeywordPlanIdeaErrorEnum(proto.Message): URL_CRAWL_ERROR = 2 INVALID_VALUE = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/label_error.pyi b/google-stubs/ads/googleads/v13/errors/types/label_error.pyi index d8207fe5b..d1648ace3 100644 --- a/google-stubs/ads/googleads/v13/errors/types/label_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/label_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LabelErrorEnum(proto.Message): class LabelError(proto.Enum): UNSPECIFIED = 0 @@ -16,8 +20,8 @@ class LabelErrorEnum(proto.Message): CANNOT_ATTACH_LABEL_TO_DRAFT = 9 CANNOT_ATTACH_NON_MANAGER_LABEL_TO_CUSTOMER = 10 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/language_code_error.pyi b/google-stubs/ads/googleads/v13/errors/types/language_code_error.pyi index 2bce8afb0..857ef1991 100644 --- a/google-stubs/ads/googleads/v13/errors/types/language_code_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/language_code_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LanguageCodeErrorEnum(proto.Message): class LanguageCodeError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class LanguageCodeErrorEnum(proto.Message): LANGUAGE_CODE_NOT_FOUND = 2 INVALID_LANGUAGE_CODE = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/list_operation_error.pyi b/google-stubs/ads/googleads/v13/errors/types/list_operation_error.pyi index 532872bc7..4eb66d7a9 100644 --- a/google-stubs/ads/googleads/v13/errors/types/list_operation_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/list_operation_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ListOperationErrorEnum(proto.Message): class ListOperationError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class ListOperationErrorEnum(proto.Message): REQUIRED_FIELD_MISSING = 7 DUPLICATE_VALUES = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/manager_link_error.pyi b/google-stubs/ads/googleads/v13/errors/types/manager_link_error.pyi index 01c1a0f23..d4acda6c2 100644 --- a/google-stubs/ads/googleads/v13/errors/types/manager_link_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/manager_link_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ManagerLinkErrorEnum(proto.Message): class ManagerLinkError(proto.Enum): UNSPECIFIED = 0 @@ -26,8 +30,8 @@ class ManagerLinkErrorEnum(proto.Message): CUSTOMER_CANNOT_MANAGE_SELF = 19 CREATING_ENABLED_LINK_NOT_ALLOWED = 20 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/media_bundle_error.pyi b/google-stubs/ads/googleads/v13/errors/types/media_bundle_error.pyi index 801fc656e..aab91c4b9 100644 --- a/google-stubs/ads/googleads/v13/errors/types/media_bundle_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/media_bundle_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MediaBundleErrorEnum(proto.Message): class MediaBundleError(proto.Enum): UNSPECIFIED = 0 @@ -29,8 +33,8 @@ class MediaBundleErrorEnum(proto.Message): URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT = 23 CUSTOM_EXIT_NOT_ALLOWED = 24 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/media_file_error.pyi b/google-stubs/ads/googleads/v13/errors/types/media_file_error.pyi index 45a44b8a0..e116834a8 100644 --- a/google-stubs/ads/googleads/v13/errors/types/media_file_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/media_file_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MediaFileErrorEnum(proto.Message): class MediaFileError(proto.Enum): UNSPECIFIED = 0 @@ -30,8 +34,8 @@ class MediaFileErrorEnum(proto.Message): YOU_TUBE_VIDEO_HAS_NON_POSITIVE_DURATION = 23 YOU_TUBE_VIDEO_NOT_FOUND = 24 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/media_upload_error.pyi b/google-stubs/ads/googleads/v13/errors/types/media_upload_error.pyi index af97b7194..7a670c216 100644 --- a/google-stubs/ads/googleads/v13/errors/types/media_upload_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/media_upload_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MediaUploadErrorEnum(proto.Message): class MediaUploadError(proto.Enum): UNSPECIFIED = 0 @@ -41,8 +45,8 @@ class MediaUploadErrorEnum(proto.Message): CANNOT_UPLOAD_MEDIA_TYPE_THROUGH_API = 34 DIMENSIONS_NOT_ALLOWED = 35 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/merchant_center_error.pyi b/google-stubs/ads/googleads/v13/errors/types/merchant_center_error.pyi index 5034598f0..f8acb4528 100644 --- a/google-stubs/ads/googleads/v13/errors/types/merchant_center_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/merchant_center_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MerchantCenterErrorEnum(proto.Message): class MerchantCenterError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class MerchantCenterErrorEnum(proto.Message): MERCHANT_ID_CANNOT_BE_ACCESSED = 2 CUSTOMER_NOT_ALLOWED_FOR_SHOPPING_PERFORMANCE_MAX = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/multiplier_error.pyi b/google-stubs/ads/googleads/v13/errors/types/multiplier_error.pyi index 36cf77cba..84dd85e53 100644 --- a/google-stubs/ads/googleads/v13/errors/types/multiplier_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/multiplier_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MultiplierErrorEnum(proto.Message): class MultiplierError(proto.Enum): UNSPECIFIED = 0 @@ -19,8 +23,8 @@ class MultiplierErrorEnum(proto.Message): BID_LESS_THAN_MIN_ALLOWED_BID_WITH_MULTIPLIER = 12 MULTIPLIER_AND_BIDDING_STRATEGY_TYPE_MISMATCH = 13 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/mutate_error.pyi b/google-stubs/ads/googleads/v13/errors/types/mutate_error.pyi index 7f1591eae..7225986e3 100644 --- a/google-stubs/ads/googleads/v13/errors/types/mutate_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/mutate_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MutateErrorEnum(proto.Message): class MutateError(proto.Enum): UNSPECIFIED = 0 @@ -16,8 +20,8 @@ class MutateErrorEnum(proto.Message): OPERATION_DOES_NOT_SUPPORT_PARTIAL_FAILURE = 16 RESOURCE_READ_ONLY = 13 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/new_resource_creation_error.pyi b/google-stubs/ads/googleads/v13/errors/types/new_resource_creation_error.pyi index bbae6c65e..5bc7d94f9 100644 --- a/google-stubs/ads/googleads/v13/errors/types/new_resource_creation_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/new_resource_creation_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class NewResourceCreationErrorEnum(proto.Message): class NewResourceCreationError(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class NewResourceCreationErrorEnum(proto.Message): DUPLICATE_TEMP_IDS = 3 TEMP_ID_RESOURCE_HAD_ERRORS = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/not_allowlisted_error.pyi b/google-stubs/ads/googleads/v13/errors/types/not_allowlisted_error.pyi index 980794065..23698cc90 100644 --- a/google-stubs/ads/googleads/v13/errors/types/not_allowlisted_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/not_allowlisted_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class NotAllowlistedErrorEnum(proto.Message): class NotAllowlistedError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 CUSTOMER_NOT_ALLOWLISTED_FOR_THIS_FEATURE = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/not_empty_error.pyi b/google-stubs/ads/googleads/v13/errors/types/not_empty_error.pyi index 95ff3420a..ae56769b3 100644 --- a/google-stubs/ads/googleads/v13/errors/types/not_empty_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/not_empty_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class NotEmptyErrorEnum(proto.Message): class NotEmptyError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 EMPTY_LIST = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/null_error.pyi b/google-stubs/ads/googleads/v13/errors/types/null_error.pyi index 5895335a1..70609249e 100644 --- a/google-stubs/ads/googleads/v13/errors/types/null_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/null_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class NullErrorEnum(proto.Message): class NullError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 NULL_CONTENT = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/offline_user_data_job_error.pyi b/google-stubs/ads/googleads/v13/errors/types/offline_user_data_job_error.pyi index d38a2c449..b69eedcf9 100644 --- a/google-stubs/ads/googleads/v13/errors/types/offline_user_data_job_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/offline_user_data_job_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class OfflineUserDataJobErrorEnum(proto.Message): class OfflineUserDataJobError(proto.Enum): UNSPECIFIED = 0 @@ -45,8 +49,8 @@ class OfflineUserDataJobErrorEnum(proto.Message): INVALID_EVENT_VALUE = 44 EVENT_ATTRIBUTE_ALL_FIELDS_ARE_REQUIRED = 45 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/operation_access_denied_error.pyi b/google-stubs/ads/googleads/v13/errors/types/operation_access_denied_error.pyi index 5e558f7ef..efa19ff83 100644 --- a/google-stubs/ads/googleads/v13/errors/types/operation_access_denied_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/operation_access_denied_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class OperationAccessDeniedErrorEnum(proto.Message): class OperationAccessDeniedError(proto.Enum): UNSPECIFIED = 0 @@ -17,8 +21,8 @@ class OperationAccessDeniedErrorEnum(proto.Message): OPERATION_NOT_PERMITTED_FOR_AD_GROUP_TYPE = 10 MUTATE_NOT_PERMITTED_FOR_CUSTOMER = 11 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/operator_error.pyi b/google-stubs/ads/googleads/v13/errors/types/operator_error.pyi index c8fe2fe28..4b730af5c 100644 --- a/google-stubs/ads/googleads/v13/errors/types/operator_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/operator_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class OperatorErrorEnum(proto.Message): class OperatorError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 OPERATOR_NOT_SUPPORTED = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/partial_failure_error.pyi b/google-stubs/ads/googleads/v13/errors/types/partial_failure_error.pyi index 8eae8768e..1e5edc93d 100644 --- a/google-stubs/ads/googleads/v13/errors/types/partial_failure_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/partial_failure_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PartialFailureErrorEnum(proto.Message): class PartialFailureError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 PARTIAL_FAILURE_MODE_REQUIRED = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/payments_account_error.pyi b/google-stubs/ads/googleads/v13/errors/types/payments_account_error.pyi index c5ccc044d..2bcc37a84 100644 --- a/google-stubs/ads/googleads/v13/errors/types/payments_account_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/payments_account_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PaymentsAccountErrorEnum(proto.Message): class PaymentsAccountError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 NOT_SUPPORTED_FOR_MANAGER_CUSTOMER = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/policy_finding_error.pyi b/google-stubs/ads/googleads/v13/errors/types/policy_finding_error.pyi index 157f2dc22..456962e8d 100644 --- a/google-stubs/ads/googleads/v13/errors/types/policy_finding_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/policy_finding_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PolicyFindingErrorEnum(proto.Message): class PolicyFindingError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class PolicyFindingErrorEnum(proto.Message): POLICY_FINDING = 2 POLICY_TOPIC_NOT_FOUND = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/policy_validation_parameter_error.pyi b/google-stubs/ads/googleads/v13/errors/types/policy_validation_parameter_error.pyi index db1bf2a84..46b9d4dd2 100644 --- a/google-stubs/ads/googleads/v13/errors/types/policy_validation_parameter_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/policy_validation_parameter_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PolicyValidationParameterErrorEnum(proto.Message): class PolicyValidationParameterError(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class PolicyValidationParameterErrorEnum(proto.Message): UNSUPPORTED_AD_TYPE_FOR_EXEMPT_POLICY_VIOLATION_KEYS = 3 CANNOT_SET_BOTH_IGNORABLE_POLICY_TOPICS_AND_EXEMPT_POLICY_VIOLATION_KEYS = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/policy_violation_error.pyi b/google-stubs/ads/googleads/v13/errors/types/policy_violation_error.pyi index 358590000..85259e732 100644 --- a/google-stubs/ads/googleads/v13/errors/types/policy_violation_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/policy_violation_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PolicyViolationErrorEnum(proto.Message): class PolicyViolationError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 POLICY_ERROR = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/query_error.pyi b/google-stubs/ads/googleads/v13/errors/types/query_error.pyi index 79e17cb1f..90721f404 100644 --- a/google-stubs/ads/googleads/v13/errors/types/query_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/query_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class QueryErrorEnum(proto.Message): class QueryError(proto.Enum): UNSPECIFIED = 0 @@ -62,8 +66,8 @@ class QueryErrorEnum(proto.Message): REQUESTED_METRICS_FOR_MANAGER = 59 FILTER_HAS_TOO_MANY_VALUES = 63 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/quota_error.pyi b/google-stubs/ads/googleads/v13/errors/types/quota_error.pyi index 0a6248e38..43f75ed77 100644 --- a/google-stubs/ads/googleads/v13/errors/types/quota_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/quota_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class QuotaErrorEnum(proto.Message): class QuotaError(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class QuotaErrorEnum(proto.Message): ACCESS_PROHIBITED = 3 RESOURCE_TEMPORARILY_EXHAUSTED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/range_error.pyi b/google-stubs/ads/googleads/v13/errors/types/range_error.pyi index 859b69ef8..c025f726e 100644 --- a/google-stubs/ads/googleads/v13/errors/types/range_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/range_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class RangeErrorEnum(proto.Message): class RangeError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class RangeErrorEnum(proto.Message): TOO_LOW = 2 TOO_HIGH = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/reach_plan_error.pyi b/google-stubs/ads/googleads/v13/errors/types/reach_plan_error.pyi index be100a938..19b4e9816 100644 --- a/google-stubs/ads/googleads/v13/errors/types/reach_plan_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/reach_plan_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ReachPlanErrorEnum(proto.Message): class ReachPlanError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 NOT_FORECASTABLE_MISSING_RATE = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/recommendation_error.pyi b/google-stubs/ads/googleads/v13/errors/types/recommendation_error.pyi index fd5e87b8a..bf1a8bd8b 100644 --- a/google-stubs/ads/googleads/v13/errors/types/recommendation_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/recommendation_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class RecommendationErrorEnum(proto.Message): class RecommendationError(proto.Enum): UNSPECIFIED = 0 @@ -22,8 +26,8 @@ class RecommendationErrorEnum(proto.Message): INVALID_APPLY_REQUEST = 15 RECOMMENDATION_TYPE_APPLY_NOT_SUPPORTED = 17 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/region_code_error.pyi b/google-stubs/ads/googleads/v13/errors/types/region_code_error.pyi index 2a6f21dec..49fd29ff2 100644 --- a/google-stubs/ads/googleads/v13/errors/types/region_code_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/region_code_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class RegionCodeErrorEnum(proto.Message): class RegionCodeError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 INVALID_REGION_CODE = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/request_error.pyi b/google-stubs/ads/googleads/v13/errors/types/request_error.pyi index beaf710b4..8a31810b7 100644 --- a/google-stubs/ads/googleads/v13/errors/types/request_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/request_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class RequestErrorEnum(proto.Message): class RequestError(proto.Enum): UNSPECIFIED = 0 @@ -31,8 +35,8 @@ class RequestErrorEnum(proto.Message): RPC_DEADLINE_TOO_SHORT = 33 UNSUPPORTED_VERSION = 38 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/resource_access_denied_error.pyi b/google-stubs/ads/googleads/v13/errors/types/resource_access_denied_error.pyi index bca8554c2..03c253af6 100644 --- a/google-stubs/ads/googleads/v13/errors/types/resource_access_denied_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/resource_access_denied_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ResourceAccessDeniedErrorEnum(proto.Message): class ResourceAccessDeniedError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 WRITE_ACCESS_DENIED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/resource_count_limit_exceeded_error.pyi b/google-stubs/ads/googleads/v13/errors/types/resource_count_limit_exceeded_error.pyi index 89e0efb0e..fbac68c12 100644 --- a/google-stubs/ads/googleads/v13/errors/types/resource_count_limit_exceeded_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/resource_count_limit_exceeded_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ResourceCountLimitExceededErrorEnum(proto.Message): class ResourceCountLimitExceededError(proto.Enum): UNSPECIFIED = 0 @@ -16,8 +20,8 @@ class ResourceCountLimitExceededErrorEnum(proto.Message): RESPONSE_ROW_LIMIT_EXCEEDED = 9 RESOURCE_LIMIT = 10 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/setting_error.pyi b/google-stubs/ads/googleads/v13/errors/types/setting_error.pyi index 93217c866..0037dcce1 100644 --- a/google-stubs/ads/googleads/v13/errors/types/setting_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/setting_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SettingErrorEnum(proto.Message): class SettingError(proto.Enum): UNSPECIFIED = 0 @@ -23,8 +27,8 @@ class SettingErrorEnum(proto.Message): SETTING_VALUE_NOT_COMPATIBLE_WITH_CAMPAIGN = 20 BID_ONLY_IS_NOT_ALLOWED_TO_BE_MODIFIED_WITH_CUSTOMER_MATCH_TARGETING = 21 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/shared_criterion_error.pyi b/google-stubs/ads/googleads/v13/errors/types/shared_criterion_error.pyi index f00c2c7e1..8909cff48 100644 --- a/google-stubs/ads/googleads/v13/errors/types/shared_criterion_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/shared_criterion_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SharedCriterionErrorEnum(proto.Message): class SharedCriterionError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 CRITERION_TYPE_NOT_ALLOWED_FOR_SHARED_SET_TYPE = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/shared_set_error.pyi b/google-stubs/ads/googleads/v13/errors/types/shared_set_error.pyi index bf3a2a346..6d3dd53b9 100644 --- a/google-stubs/ads/googleads/v13/errors/types/shared_set_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/shared_set_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SharedSetErrorEnum(proto.Message): class SharedSetError(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class SharedSetErrorEnum(proto.Message): SHARED_SET_REMOVED = 4 SHARED_SET_IN_USE = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/size_limit_error.pyi b/google-stubs/ads/googleads/v13/errors/types/size_limit_error.pyi index 9dfc78703..61df7d4a8 100644 --- a/google-stubs/ads/googleads/v13/errors/types/size_limit_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/size_limit_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SizeLimitErrorEnum(proto.Message): class SizeLimitError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class SizeLimitErrorEnum(proto.Message): REQUEST_SIZE_LIMIT_EXCEEDED = 2 RESPONSE_SIZE_LIMIT_EXCEEDED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/smart_campaign_error.pyi b/google-stubs/ads/googleads/v13/errors/types/smart_campaign_error.pyi index 173c3edb1..10095a2bd 100644 --- a/google-stubs/ads/googleads/v13/errors/types/smart_campaign_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/smart_campaign_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SmartCampaignErrorEnum(proto.Message): class SmartCampaignError(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class SmartCampaignErrorEnum(proto.Message): CANNOT_DETERMINE_SUGGESTION_LOCALE = 7 FINAL_URL_NOT_CRAWLABLE = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/string_format_error.pyi b/google-stubs/ads/googleads/v13/errors/types/string_format_error.pyi index d20fc6ae9..596b13696 100644 --- a/google-stubs/ads/googleads/v13/errors/types/string_format_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/string_format_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class StringFormatErrorEnum(proto.Message): class StringFormatError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class StringFormatErrorEnum(proto.Message): ILLEGAL_CHARS = 2 INVALID_FORMAT = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/string_length_error.pyi b/google-stubs/ads/googleads/v13/errors/types/string_length_error.pyi index 8beb0ac1c..d91ad821f 100644 --- a/google-stubs/ads/googleads/v13/errors/types/string_length_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/string_length_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class StringLengthErrorEnum(proto.Message): class StringLengthError(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class StringLengthErrorEnum(proto.Message): TOO_SHORT = 2 TOO_LONG = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/third_party_app_analytics_link_error.pyi b/google-stubs/ads/googleads/v13/errors/types/third_party_app_analytics_link_error.pyi index df48fe954..aa681dff7 100644 --- a/google-stubs/ads/googleads/v13/errors/types/third_party_app_analytics_link_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/third_party_app_analytics_link_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ThirdPartyAppAnalyticsLinkErrorEnum(proto.Message): class ThirdPartyAppAnalyticsLinkError(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class ThirdPartyAppAnalyticsLinkErrorEnum(proto.Message): MOBILE_APP_IS_NOT_ENABLED = 4 CANNOT_REGENERATE_SHAREABLE_LINK_ID_FOR_REMOVED_LINK = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/time_zone_error.pyi b/google-stubs/ads/googleads/v13/errors/types/time_zone_error.pyi index a7954a497..0ecdd3962 100644 --- a/google-stubs/ads/googleads/v13/errors/types/time_zone_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/time_zone_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class TimeZoneErrorEnum(proto.Message): class TimeZoneError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 INVALID_TIME_ZONE = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/url_field_error.pyi b/google-stubs/ads/googleads/v13/errors/types/url_field_error.pyi index 1ceae7042..ce39628dc 100644 --- a/google-stubs/ads/googleads/v13/errors/types/url_field_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/url_field_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UrlFieldErrorEnum(proto.Message): class UrlFieldError(proto.Enum): UNSPECIFIED = 0 @@ -60,8 +64,8 @@ class UrlFieldErrorEnum(proto.Message): NULL_CUSTOM_PARAMETER_VALUE = 57 VALUE_TRACK_PARAMETER_NOT_SUPPORTED = 58 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/user_data_error.pyi b/google-stubs/ads/googleads/v13/errors/types/user_data_error.pyi index cd773b236..872a37e9a 100644 --- a/google-stubs/ads/googleads/v13/errors/types/user_data_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/user_data_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserDataErrorEnum(proto.Message): class UserDataError(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class UserDataErrorEnum(proto.Message): TOO_MANY_USER_IDENTIFIERS = 3 USER_LIST_NOT_APPLICABLE = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/user_list_error.pyi b/google-stubs/ads/googleads/v13/errors/types/user_list_error.pyi index 73a4d5e9c..78bb0b8ce 100644 --- a/google-stubs/ads/googleads/v13/errors/types/user_list_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/user_list_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserListErrorEnum(proto.Message): class UserListError(proto.Enum): UNSPECIFIED = 0 @@ -36,8 +40,8 @@ class UserListErrorEnum(proto.Message): CANNOT_MUTATE_SYSTEM_LIST = 40 MOBILE_APP_IS_SENSITIVE = 41 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/errors/types/youtube_video_registration_error.pyi b/google-stubs/ads/googleads/v13/errors/types/youtube_video_registration_error.pyi index c59513eaf..da2dbeae7 100644 --- a/google-stubs/ads/googleads/v13/errors/types/youtube_video_registration_error.pyi +++ b/google-stubs/ads/googleads/v13/errors/types/youtube_video_registration_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class YoutubeVideoRegistrationErrorEnum(proto.Message): class YoutubeVideoRegistrationError(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class YoutubeVideoRegistrationErrorEnum(proto.Message): VIDEO_NOT_ACCESSIBLE = 3 VIDEO_NOT_ELIGIBLE = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/resources/types/accessible_bidding_strategy.pyi b/google-stubs/ads/googleads/v13/resources/types/accessible_bidding_strategy.pyi index 5ab40ac56..3265fe735 100644 --- a/google-stubs/ads/googleads/v13/resources/types/accessible_bidding_strategy.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/accessible_bidding_strategy.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.bidding_strategy_type import ( @@ -9,12 +11,14 @@ from google.ads.googleads.v13.enums.types.target_impression_share_location impor TargetImpressionShareLocationEnum, ) +_M = TypeVar("_M") + class AccessibleBiddingStrategy(proto.Message): class MaximizeConversionValue(proto.Message): target_roas: float def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_roas: float = ... @@ -23,8 +27,8 @@ class AccessibleBiddingStrategy(proto.Message): class MaximizeConversions(proto.Message): target_cpa_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_cpa_micros: int = ... @@ -33,8 +37,8 @@ class AccessibleBiddingStrategy(proto.Message): class TargetCpa(proto.Message): target_cpa_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_cpa_micros: int = ... @@ -45,8 +49,8 @@ class AccessibleBiddingStrategy(proto.Message): location_fraction_micros: int cpc_bid_ceiling_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., location: TargetImpressionShareLocationEnum.TargetImpressionShareLocation = ..., @@ -57,8 +61,8 @@ class AccessibleBiddingStrategy(proto.Message): class TargetRoas(proto.Message): target_roas: float def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_roas: float = ... @@ -68,8 +72,8 @@ class AccessibleBiddingStrategy(proto.Message): target_spend_micros: int cpc_bid_ceiling_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_spend_micros: int = ..., @@ -88,8 +92,8 @@ class AccessibleBiddingStrategy(proto.Message): target_roas: AccessibleBiddingStrategy.TargetRoas target_spend: AccessibleBiddingStrategy.TargetSpend def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/account_budget.pyi b/google-stubs/ads/googleads/v13/resources/types/account_budget.pyi index 7b2260bcb..a6a014dbb 100644 --- a/google-stubs/ads/googleads/v13/resources/types/account_budget.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/account_budget.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.account_budget_proposal_type import ( @@ -13,6 +15,8 @@ from google.ads.googleads.v13.enums.types.spending_limit_type import ( ) from google.ads.googleads.v13.enums.types.time_type import TimeTypeEnum +_M = TypeVar("_M") + class AccountBudget(proto.Message): class PendingAccountBudgetProposal(proto.Message): account_budget_proposal: str @@ -27,8 +31,8 @@ class AccountBudget(proto.Message): spending_limit_micros: int spending_limit_type: SpendingLimitTypeEnum.SpendingLimitType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., account_budget_proposal: str = ..., @@ -66,8 +70,8 @@ class AccountBudget(proto.Message): adjusted_spending_limit_micros: int adjusted_spending_limit_type: SpendingLimitTypeEnum.SpendingLimitType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/account_budget_proposal.pyi b/google-stubs/ads/googleads/v13/resources/types/account_budget_proposal.pyi index daf8cf1ee..3c3ec7441 100644 --- a/google-stubs/ads/googleads/v13/resources/types/account_budget_proposal.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/account_budget_proposal.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.account_budget_proposal_status import ( @@ -13,6 +15,8 @@ from google.ads.googleads.v13.enums.types.spending_limit_type import ( ) from google.ads.googleads.v13.enums.types.time_type import TimeTypeEnum +_M = TypeVar("_M") + class AccountBudgetProposal(proto.Message): resource_name: str id: int @@ -37,8 +41,8 @@ class AccountBudgetProposal(proto.Message): approved_spending_limit_micros: int approved_spending_limit_type: SpendingLimitTypeEnum.SpendingLimitType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/account_link.pyi b/google-stubs/ads/googleads/v13/resources/types/account_link.pyi index 306e341d4..4f938c834 100644 --- a/google-stubs/ads/googleads/v13/resources/types/account_link.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/account_link.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.account_link_status import ( @@ -10,6 +12,8 @@ from google.ads.googleads.v13.enums.types.linked_account_type import ( ) from google.ads.googleads.v13.enums.types.mobile_app_vendor import MobileAppVendorEnum +_M = TypeVar("_M") + class AccountLink(proto.Message): resource_name: str account_link_id: int @@ -21,8 +25,8 @@ class AccountLink(proto.Message): hotel_center: HotelCenterLinkIdentifier advertising_partner: AdvertisingPartnerLinkIdentifier def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -39,8 +43,8 @@ class AccountLink(proto.Message): class AdvertisingPartnerLinkIdentifier(proto.Message): customer: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer: str = ... @@ -49,8 +53,8 @@ class AdvertisingPartnerLinkIdentifier(proto.Message): class DataPartnerLinkIdentifier(proto.Message): data_partner_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., data_partner_id: int = ... @@ -59,8 +63,8 @@ class DataPartnerLinkIdentifier(proto.Message): class GoogleAdsLinkIdentifier(proto.Message): customer: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer: str = ... @@ -69,8 +73,8 @@ class GoogleAdsLinkIdentifier(proto.Message): class HotelCenterLinkIdentifier(proto.Message): hotel_center_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., hotel_center_id: int = ... @@ -81,8 +85,8 @@ class ThirdPartyAppAnalyticsLinkIdentifier(proto.Message): app_id: str app_vendor: MobileAppVendorEnum.MobileAppVendor def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., app_analytics_provider_id: int = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/ad.pyi b/google-stubs/ads/googleads/v13/resources/types/ad.pyi index 51d9c2261..29c2fab51 100644 --- a/google-stubs/ads/googleads/v13/resources/types/ad.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/ad.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.ad_type_infos import ( @@ -38,6 +39,8 @@ from google.ads.googleads.v13.enums.types.system_managed_entity_source import ( SystemManagedResourceSourceEnum, ) +_M = TypeVar("_M") + class Ad(proto.Message): resource_name: str id: int @@ -79,8 +82,8 @@ class Ad(proto.Message): discovery_carousel_ad: DiscoveryCarouselAdInfo travel_ad: TravelAdInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/ad_group.pyi b/google-stubs/ads/googleads/v13/resources/types/ad_group.pyi index 84f81b455..2705d8f54 100644 --- a/google-stubs/ads/googleads/v13/resources/types/ad_group.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/ad_group.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.custom_parameter import CustomParameter @@ -17,12 +18,14 @@ from google.ads.googleads.v13.enums.types.targeting_dimension import ( TargetingDimensionEnum, ) +_M = TypeVar("_M") + class AdGroup(proto.Message): class AudienceSetting(proto.Message): use_audience_grouped: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., use_audience_grouped: bool = ... @@ -60,8 +63,8 @@ class AdGroup(proto.Message): ] excluded_parent_asset_set_types: MutableSequence[AssetSetTypeEnum.AssetSetType] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/ad_group_ad.pyi b/google-stubs/ads/googleads/v13/resources/types/ad_group_ad.pyi index abf059b78..51a752caf 100644 --- a/google-stubs/ads/googleads/v13/resources/types/ad_group_ad.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/ad_group_ad.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.policy import PolicyTopicEntry @@ -14,6 +15,8 @@ from google.ads.googleads.v13.enums.types.policy_review_status import ( ) from google.ads.googleads.v13.resources.types.ad import Ad +_M = TypeVar("_M") + class AdGroupAd(proto.Message): resource_name: str status: AdGroupAdStatusEnum.AdGroupAdStatus @@ -24,8 +27,8 @@ class AdGroupAd(proto.Message): action_items: MutableSequence[str] labels: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -43,8 +46,8 @@ class AdGroupAdPolicySummary(proto.Message): review_status: PolicyReviewStatusEnum.PolicyReviewStatus approval_status: PolicyApprovalStatusEnum.PolicyApprovalStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., policy_topic_entries: MutableSequence[PolicyTopicEntry] = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/ad_group_ad_asset_combination_view.pyi b/google-stubs/ads/googleads/v13/resources/types/ad_group_ad_asset_combination_view.pyi index 313c35ff3..254a281aa 100644 --- a/google-stubs/ads/googleads/v13/resources/types/ad_group_ad_asset_combination_view.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/ad_group_ad_asset_combination_view.pyi @@ -1,17 +1,20 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.asset_usage import AssetUsage +_M = TypeVar("_M") + class AdGroupAdAssetCombinationView(proto.Message): resource_name: str served_assets: MutableSequence[AssetUsage] enabled: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/ad_group_ad_asset_view.pyi b/google-stubs/ads/googleads/v13/resources/types/ad_group_ad_asset_view.pyi index 1e296b982..fe3472368 100644 --- a/google-stubs/ads/googleads/v13/resources/types/ad_group_ad_asset_view.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/ad_group_ad_asset_view.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.policy import PolicyTopicEntry @@ -18,13 +19,15 @@ from google.ads.googleads.v13.enums.types.served_asset_field_type import ( ServedAssetFieldTypeEnum, ) +_M = TypeVar("_M") + class AdGroupAdAssetPolicySummary(proto.Message): policy_topic_entries: MutableSequence[PolicyTopicEntry] review_status: PolicyReviewStatusEnum.PolicyReviewStatus approval_status: PolicyApprovalStatusEnum.PolicyApprovalStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., policy_topic_entries: MutableSequence[PolicyTopicEntry] = ..., @@ -42,8 +45,8 @@ class AdGroupAdAssetView(proto.Message): performance_label: AssetPerformanceLabelEnum.AssetPerformanceLabel pinned_field: ServedAssetFieldTypeEnum.ServedAssetFieldType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/ad_group_ad_label.pyi b/google-stubs/ads/googleads/v13/resources/types/ad_group_ad_label.pyi index f58ecfedc..793b78a9d 100644 --- a/google-stubs/ads/googleads/v13/resources/types/ad_group_ad_label.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/ad_group_ad_label.pyi @@ -1,14 +1,18 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupAdLabel(proto.Message): resource_name: str ad_group_ad: str label: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/ad_group_asset.pyi b/google-stubs/ads/googleads/v13/resources/types/ad_group_asset.pyi index 65bb0a053..613199246 100644 --- a/google-stubs/ads/googleads/v13/resources/types/ad_group_asset.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/ad_group_asset.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.asset_policy import ( @@ -16,6 +17,8 @@ from google.ads.googleads.v13.enums.types.asset_link_primary_status_reason impor from google.ads.googleads.v13.enums.types.asset_link_status import AssetLinkStatusEnum from google.ads.googleads.v13.enums.types.asset_source import AssetSourceEnum +_M = TypeVar("_M") + class AdGroupAsset(proto.Message): resource_name: str ad_group: str @@ -29,8 +32,8 @@ class AdGroupAsset(proto.Message): AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason ] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/ad_group_asset_set.pyi b/google-stubs/ads/googleads/v13/resources/types/ad_group_asset_set.pyi index 0bbbc6050..1ab4160ab 100644 --- a/google-stubs/ads/googleads/v13/resources/types/ad_group_asset_set.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/ad_group_asset_set.pyi @@ -1,19 +1,23 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.asset_set_link_status import ( AssetSetLinkStatusEnum, ) +_M = TypeVar("_M") + class AdGroupAssetSet(proto.Message): resource_name: str ad_group: str asset_set: str status: AssetSetLinkStatusEnum.AssetSetLinkStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/ad_group_audience_view.pyi b/google-stubs/ads/googleads/v13/resources/types/ad_group_audience_view.pyi index ee52c397a..eac5aa03e 100644 --- a/google-stubs/ads/googleads/v13/resources/types/ad_group_audience_view.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/ad_group_audience_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupAudienceView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v13/resources/types/ad_group_bid_modifier.pyi b/google-stubs/ads/googleads/v13/resources/types/ad_group_bid_modifier.pyi index 4b326e7e7..4db00d202 100644 --- a/google-stubs/ads/googleads/v13/resources/types/ad_group_bid_modifier.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/ad_group_bid_modifier.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.criteria import ( @@ -14,6 +16,8 @@ from google.ads.googleads.v13.enums.types.bid_modifier_source import ( BidModifierSourceEnum, ) +_M = TypeVar("_M") + class AdGroupBidModifier(proto.Message): resource_name: str ad_group: str @@ -28,8 +32,8 @@ class AdGroupBidModifier(proto.Message): device: DeviceInfo hotel_check_in_date_range: HotelCheckInDateRangeInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/ad_group_criterion.pyi b/google-stubs/ads/googleads/v13/resources/types/ad_group_criterion.pyi index 014cb2bec..c6c1477b0 100644 --- a/google-stubs/ads/googleads/v13/resources/types/ad_group_criterion.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/ad_group_criterion.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.criteria import ( @@ -42,6 +43,8 @@ from google.ads.googleads.v13.enums.types.quality_score_bucket import ( QualityScoreBucketEnum, ) +_M = TypeVar("_M") + class AdGroupCriterion(proto.Message): class PositionEstimates(proto.Message): first_page_cpc_micros: int @@ -50,8 +53,8 @@ class AdGroupCriterion(proto.Message): estimated_add_clicks_at_first_position_cpc: int estimated_add_cost_at_first_position_cpc: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., first_page_cpc_micros: int = ..., @@ -67,8 +70,8 @@ class AdGroupCriterion(proto.Message): post_click_quality_score: QualityScoreBucketEnum.QualityScoreBucket search_predicted_ctr: QualityScoreBucketEnum.QualityScoreBucket def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., quality_score: int = ..., @@ -129,8 +132,8 @@ class AdGroupCriterion(proto.Message): combined_audience: CombinedAudienceInfo audience: AudienceInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/ad_group_criterion_customizer.pyi b/google-stubs/ads/googleads/v13/resources/types/ad_group_criterion_customizer.pyi index b0a509d9a..3b0854d12 100644 --- a/google-stubs/ads/googleads/v13/resources/types/ad_group_criterion_customizer.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/ad_group_criterion_customizer.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.customizer_value import CustomizerValue @@ -7,6 +9,8 @@ from google.ads.googleads.v13.enums.types.customizer_value_status import ( CustomizerValueStatusEnum, ) +_M = TypeVar("_M") + class AdGroupCriterionCustomizer(proto.Message): resource_name: str ad_group_criterion: str @@ -14,8 +18,8 @@ class AdGroupCriterionCustomizer(proto.Message): status: CustomizerValueStatusEnum.CustomizerValueStatus value: CustomizerValue def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/ad_group_criterion_label.pyi b/google-stubs/ads/googleads/v13/resources/types/ad_group_criterion_label.pyi index 94a5cf50b..5a131423d 100644 --- a/google-stubs/ads/googleads/v13/resources/types/ad_group_criterion_label.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/ad_group_criterion_label.pyi @@ -1,14 +1,18 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupCriterionLabel(proto.Message): resource_name: str ad_group_criterion: str label: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/ad_group_criterion_simulation.pyi b/google-stubs/ads/googleads/v13/resources/types/ad_group_criterion_simulation.pyi index 10ce5e666..8f582f2b7 100644 --- a/google-stubs/ads/googleads/v13/resources/types/ad_group_criterion_simulation.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/ad_group_criterion_simulation.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.simulation import ( @@ -11,6 +13,8 @@ from google.ads.googleads.v13.enums.types.simulation_modification_method import ) from google.ads.googleads.v13.enums.types.simulation_type import SimulationTypeEnum +_M = TypeVar("_M") + class AdGroupCriterionSimulation(proto.Message): resource_name: str ad_group_id: int @@ -22,8 +26,8 @@ class AdGroupCriterionSimulation(proto.Message): cpc_bid_point_list: CpcBidSimulationPointList percent_cpc_bid_point_list: PercentCpcBidSimulationPointList def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/ad_group_customizer.pyi b/google-stubs/ads/googleads/v13/resources/types/ad_group_customizer.pyi index 2433ffd1e..37e32707e 100644 --- a/google-stubs/ads/googleads/v13/resources/types/ad_group_customizer.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/ad_group_customizer.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.customizer_value import CustomizerValue @@ -7,6 +9,8 @@ from google.ads.googleads.v13.enums.types.customizer_value_status import ( CustomizerValueStatusEnum, ) +_M = TypeVar("_M") + class AdGroupCustomizer(proto.Message): resource_name: str ad_group: str @@ -14,8 +18,8 @@ class AdGroupCustomizer(proto.Message): status: CustomizerValueStatusEnum.CustomizerValueStatus value: CustomizerValue def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/ad_group_extension_setting.pyi b/google-stubs/ads/googleads/v13/resources/types/ad_group_extension_setting.pyi index 2cc75a7f1..c3b22730b 100644 --- a/google-stubs/ads/googleads/v13/resources/types/ad_group_extension_setting.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/ad_group_extension_setting.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.extension_setting_device import ( @@ -8,6 +9,8 @@ from google.ads.googleads.v13.enums.types.extension_setting_device import ( ) from google.ads.googleads.v13.enums.types.extension_type import ExtensionTypeEnum +_M = TypeVar("_M") + class AdGroupExtensionSetting(proto.Message): resource_name: str extension_type: ExtensionTypeEnum.ExtensionType @@ -15,8 +18,8 @@ class AdGroupExtensionSetting(proto.Message): extension_feed_items: MutableSequence[str] device: ExtensionSettingDeviceEnum.ExtensionSettingDevice def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/ad_group_feed.pyi b/google-stubs/ads/googleads/v13/resources/types/ad_group_feed.pyi index 92d12e90f..d3b5fa7f3 100644 --- a/google-stubs/ads/googleads/v13/resources/types/ad_group_feed.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/ad_group_feed.pyi @@ -1,12 +1,15 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.matching_function import MatchingFunction from google.ads.googleads.v13.enums.types.feed_link_status import FeedLinkStatusEnum from google.ads.googleads.v13.enums.types.placeholder_type import PlaceholderTypeEnum +_M = TypeVar("_M") + class AdGroupFeed(proto.Message): resource_name: str feed: str @@ -15,8 +18,8 @@ class AdGroupFeed(proto.Message): matching_function: MatchingFunction status: FeedLinkStatusEnum.FeedLinkStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/ad_group_label.pyi b/google-stubs/ads/googleads/v13/resources/types/ad_group_label.pyi index 8251db0a9..11c2ab2bf 100644 --- a/google-stubs/ads/googleads/v13/resources/types/ad_group_label.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/ad_group_label.pyi @@ -1,14 +1,18 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupLabel(proto.Message): resource_name: str ad_group: str label: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/ad_group_simulation.pyi b/google-stubs/ads/googleads/v13/resources/types/ad_group_simulation.pyi index 89cb8e327..c366ab140 100644 --- a/google-stubs/ads/googleads/v13/resources/types/ad_group_simulation.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/ad_group_simulation.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.simulation import ( @@ -13,6 +15,8 @@ from google.ads.googleads.v13.enums.types.simulation_modification_method import ) from google.ads.googleads.v13.enums.types.simulation_type import SimulationTypeEnum +_M = TypeVar("_M") + class AdGroupSimulation(proto.Message): resource_name: str ad_group_id: int @@ -25,8 +29,8 @@ class AdGroupSimulation(proto.Message): target_cpa_point_list: TargetCpaSimulationPointList target_roas_point_list: TargetRoasSimulationPointList def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/ad_parameter.pyi b/google-stubs/ads/googleads/v13/resources/types/ad_parameter.pyi index 2c60207d0..637f1bed9 100644 --- a/google-stubs/ads/googleads/v13/resources/types/ad_parameter.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/ad_parameter.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdParameter(proto.Message): resource_name: str ad_group_criterion: str parameter_index: int insertion_text: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/ad_schedule_view.pyi b/google-stubs/ads/googleads/v13/resources/types/ad_schedule_view.pyi index 2ec05d006..62864cf5a 100644 --- a/google-stubs/ads/googleads/v13/resources/types/ad_schedule_view.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/ad_schedule_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdScheduleView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v13/resources/types/age_range_view.pyi b/google-stubs/ads/googleads/v13/resources/types/age_range_view.pyi index 91060cdf8..a3a6e669f 100644 --- a/google-stubs/ads/googleads/v13/resources/types/age_range_view.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/age_range_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AgeRangeView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v13/resources/types/asset.pyi b/google-stubs/ads/googleads/v13/resources/types/asset.pyi index 55c255dc1..824bd0f5a 100644 --- a/google-stubs/ads/googleads/v13/resources/types/asset.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/asset.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.asset_types import ( @@ -44,6 +45,8 @@ from google.ads.googleads.v13.enums.types.policy_review_status import ( PolicyReviewStatusEnum, ) +_M = TypeVar("_M") + class Asset(proto.Message): resource_name: str id: int @@ -85,8 +88,8 @@ class Asset(proto.Message): location_asset: LocationAsset hotel_property_asset: HotelPropertyAsset def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -135,8 +138,8 @@ class AssetFieldTypePolicySummary(proto.Message): asset_source: AssetSourceEnum.AssetSource policy_summary_info: AssetPolicySummary def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., asset_field_type: AssetFieldTypeEnum.AssetFieldType = ..., @@ -149,8 +152,8 @@ class AssetPolicySummary(proto.Message): review_status: PolicyReviewStatusEnum.PolicyReviewStatus approval_status: PolicyApprovalStatusEnum.PolicyApprovalStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., policy_topic_entries: MutableSequence[PolicyTopicEntry] = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/asset_field_type_view.pyi b/google-stubs/ads/googleads/v13/resources/types/asset_field_type_view.pyi index 1ca538bd7..ed4918f2c 100644 --- a/google-stubs/ads/googleads/v13/resources/types/asset_field_type_view.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/asset_field_type_view.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.asset_field_type import AssetFieldTypeEnum +_M = TypeVar("_M") + class AssetFieldTypeView(proto.Message): resource_name: str field_type: AssetFieldTypeEnum.AssetFieldType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/asset_group.pyi b/google-stubs/ads/googleads/v13/resources/types/asset_group.pyi index fc1ff945a..f2ec279ba 100644 --- a/google-stubs/ads/googleads/v13/resources/types/asset_group.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/asset_group.pyi @@ -1,11 +1,14 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.ad_strength import AdStrengthEnum from google.ads.googleads.v13.enums.types.asset_group_status import AssetGroupStatusEnum +_M = TypeVar("_M") + class AssetGroup(proto.Message): resource_name: str id: int @@ -18,8 +21,8 @@ class AssetGroup(proto.Message): path2: str ad_strength: AdStrengthEnum.AdStrength def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/asset_group_asset.pyi b/google-stubs/ads/googleads/v13/resources/types/asset_group_asset.pyi index 158d2b3d8..67f6e5eb1 100644 --- a/google-stubs/ads/googleads/v13/resources/types/asset_group_asset.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/asset_group_asset.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.policy_summary import PolicySummary @@ -9,6 +11,8 @@ from google.ads.googleads.v13.enums.types.asset_performance_label import ( AssetPerformanceLabelEnum, ) +_M = TypeVar("_M") + class AssetGroupAsset(proto.Message): resource_name: str asset_group: str @@ -18,8 +22,8 @@ class AssetGroupAsset(proto.Message): performance_label: AssetPerformanceLabelEnum.AssetPerformanceLabel policy_summary: PolicySummary def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/asset_group_listing_group_filter.pyi b/google-stubs/ads/googleads/v13/resources/types/asset_group_listing_group_filter.pyi index 30251fa73..8b4fe9c2c 100644 --- a/google-stubs/ads/googleads/v13/resources/types/asset_group_listing_group_filter.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/asset_group_listing_group_filter.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.listing_group_filter_bidding_category_level import ( @@ -24,6 +26,8 @@ from google.ads.googleads.v13.enums.types.listing_group_filter_vertical import ( ListingGroupFilterVerticalEnum, ) +_M = TypeVar("_M") + class AssetGroupListingGroupFilter(proto.Message): resource_name: str asset_group: str @@ -33,8 +37,8 @@ class AssetGroupListingGroupFilter(proto.Message): case_value: ListingGroupFilterDimension parent_listing_group_filter: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -51,8 +55,8 @@ class ListingGroupFilterDimension(proto.Message): id: int level: ListingGroupFilterBiddingCategoryLevelEnum.ListingGroupFilterBiddingCategoryLevel def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., id: int = ..., @@ -62,8 +66,8 @@ class ListingGroupFilterDimension(proto.Message): class ProductBrand(proto.Message): value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: str = ... @@ -72,8 +76,8 @@ class ListingGroupFilterDimension(proto.Message): class ProductChannel(proto.Message): channel: ListingGroupFilterProductChannelEnum.ListingGroupFilterProductChannel def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., channel: ListingGroupFilterProductChannelEnum.ListingGroupFilterProductChannel = ... @@ -82,8 +86,8 @@ class ListingGroupFilterDimension(proto.Message): class ProductCondition(proto.Message): condition: ListingGroupFilterProductConditionEnum.ListingGroupFilterProductCondition def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., condition: ListingGroupFilterProductConditionEnum.ListingGroupFilterProductCondition = ... @@ -93,8 +97,8 @@ class ListingGroupFilterDimension(proto.Message): value: str index: ListingGroupFilterCustomAttributeIndexEnum.ListingGroupFilterCustomAttributeIndex def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: str = ..., @@ -104,8 +108,8 @@ class ListingGroupFilterDimension(proto.Message): class ProductItemId(proto.Message): value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: str = ... @@ -115,8 +119,8 @@ class ListingGroupFilterDimension(proto.Message): value: str level: ListingGroupFilterProductTypeLevelEnum.ListingGroupFilterProductTypeLevel def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: str = ..., @@ -130,8 +134,8 @@ class ListingGroupFilterDimension(proto.Message): product_item_id: ListingGroupFilterDimension.ProductItemId product_type: ListingGroupFilterDimension.ProductType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., product_bidding_category: ListingGroupFilterDimension.ProductBiddingCategory = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/asset_group_product_group_view.pyi b/google-stubs/ads/googleads/v13/resources/types/asset_group_product_group_view.pyi index f3214ec6f..160f1c8fc 100644 --- a/google-stubs/ads/googleads/v13/resources/types/asset_group_product_group_view.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/asset_group_product_group_view.pyi @@ -1,14 +1,18 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetGroupProductGroupView(proto.Message): resource_name: str asset_group: str asset_group_listing_group_filter: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/asset_group_signal.pyi b/google-stubs/ads/googleads/v13/resources/types/asset_group_signal.pyi index b671c4c31..5519d268e 100644 --- a/google-stubs/ads/googleads/v13/resources/types/asset_group_signal.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/asset_group_signal.pyi @@ -1,16 +1,20 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.criteria import AudienceInfo +_M = TypeVar("_M") + class AssetGroupSignal(proto.Message): resource_name: str asset_group: str audience: AudienceInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/asset_set.pyi b/google-stubs/ads/googleads/v13/resources/types/asset_set.pyi index c4fb5f204..a24394af5 100644 --- a/google-stubs/ads/googleads/v13/resources/types/asset_set.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/asset_set.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.asset_set_types import ( @@ -10,13 +12,15 @@ from google.ads.googleads.v13.common.types.asset_set_types import ( from google.ads.googleads.v13.enums.types.asset_set_status import AssetSetStatusEnum from google.ads.googleads.v13.enums.types.asset_set_type import AssetSetTypeEnum +_M = TypeVar("_M") + class AssetSet(proto.Message): class HotelPropertyData(proto.Message): hotel_center_id: int partner_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., hotel_center_id: int = ..., @@ -27,8 +31,8 @@ class AssetSet(proto.Message): merchant_id: int feed_label: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., merchant_id: int = ..., @@ -46,8 +50,8 @@ class AssetSet(proto.Message): business_profile_location_group: BusinessProfileLocationGroup chain_location_group: ChainLocationGroup def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., id: int = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/asset_set_asset.pyi b/google-stubs/ads/googleads/v13/resources/types/asset_set_asset.pyi index baebab85a..b4a226cd8 100644 --- a/google-stubs/ads/googleads/v13/resources/types/asset_set_asset.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/asset_set_asset.pyi @@ -1,19 +1,23 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.asset_set_asset_status import ( AssetSetAssetStatusEnum, ) +_M = TypeVar("_M") + class AssetSetAsset(proto.Message): resource_name: str asset_set: str asset: str status: AssetSetAssetStatusEnum.AssetSetAssetStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/asset_set_type_view.pyi b/google-stubs/ads/googleads/v13/resources/types/asset_set_type_view.pyi index 2d37f9a71..c27bb147a 100644 --- a/google-stubs/ads/googleads/v13/resources/types/asset_set_type_view.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/asset_set_type_view.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.asset_set_type import AssetSetTypeEnum +_M = TypeVar("_M") + class AssetSetTypeView(proto.Message): resource_name: str asset_set_type: AssetSetTypeEnum.AssetSetType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/audience.pyi b/google-stubs/ads/googleads/v13/resources/types/audience.pyi index b94a84795..8f80ba8f5 100644 --- a/google-stubs/ads/googleads/v13/resources/types/audience.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/audience.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.audiences import ( @@ -9,6 +10,8 @@ from google.ads.googleads.v13.common.types.audiences import ( ) from google.ads.googleads.v13.enums.types.audience_status import AudienceStatusEnum +_M = TypeVar("_M") + class Audience(proto.Message): resource_name: str id: int @@ -18,8 +21,8 @@ class Audience(proto.Message): dimensions: MutableSequence[AudienceDimension] exclusion_dimension: AudienceExclusionDimension def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/batch_job.pyi b/google-stubs/ads/googleads/v13/resources/types/batch_job.pyi index 8d67a1d45..62926fa69 100644 --- a/google-stubs/ads/googleads/v13/resources/types/batch_job.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/batch_job.pyi @@ -1,9 +1,13 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.batch_job_status import BatchJobStatusEnum +_M = TypeVar("_M") + class BatchJob(proto.Message): class BatchJobMetadata(proto.Message): creation_date_time: str @@ -14,8 +18,8 @@ class BatchJob(proto.Message): executed_operation_count: int execution_limit_seconds: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., creation_date_time: str = ..., @@ -33,8 +37,8 @@ class BatchJob(proto.Message): status: BatchJobStatusEnum.BatchJobStatus long_running_operation: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/bidding_data_exclusion.pyi b/google-stubs/ads/googleads/v13/resources/types/bidding_data_exclusion.pyi index f24afb5c8..b8dbfaa98 100644 --- a/google-stubs/ads/googleads/v13/resources/types/bidding_data_exclusion.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/bidding_data_exclusion.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.advertising_channel_type import ( @@ -14,6 +15,8 @@ from google.ads.googleads.v13.enums.types.seasonality_event_status import ( SeasonalityEventStatusEnum, ) +_M = TypeVar("_M") + class BiddingDataExclusion(proto.Message): resource_name: str data_exclusion_id: int @@ -29,8 +32,8 @@ class BiddingDataExclusion(proto.Message): AdvertisingChannelTypeEnum.AdvertisingChannelType ] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/bidding_seasonality_adjustment.pyi b/google-stubs/ads/googleads/v13/resources/types/bidding_seasonality_adjustment.pyi index 8a70a098e..ea68f0dab 100644 --- a/google-stubs/ads/googleads/v13/resources/types/bidding_seasonality_adjustment.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/bidding_seasonality_adjustment.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.advertising_channel_type import ( @@ -14,6 +15,8 @@ from google.ads.googleads.v13.enums.types.seasonality_event_status import ( SeasonalityEventStatusEnum, ) +_M = TypeVar("_M") + class BiddingSeasonalityAdjustment(proto.Message): resource_name: str seasonality_adjustment_id: int @@ -30,8 +33,8 @@ class BiddingSeasonalityAdjustment(proto.Message): AdvertisingChannelTypeEnum.AdvertisingChannelType ] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/bidding_strategy.pyi b/google-stubs/ads/googleads/v13/resources/types/bidding_strategy.pyi index e6a999ad3..c9226cc65 100644 --- a/google-stubs/ads/googleads/v13/resources/types/bidding_strategy.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/bidding_strategy.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.bidding import ( @@ -18,6 +20,8 @@ from google.ads.googleads.v13.enums.types.bidding_strategy_type import ( BiddingStrategyTypeEnum, ) +_M = TypeVar("_M") + class BiddingStrategy(proto.Message): resource_name: str id: int @@ -37,8 +41,8 @@ class BiddingStrategy(proto.Message): target_roas: TargetRoas target_spend: TargetSpend def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/bidding_strategy_simulation.pyi b/google-stubs/ads/googleads/v13/resources/types/bidding_strategy_simulation.pyi index 862007d60..e3b31f454 100644 --- a/google-stubs/ads/googleads/v13/resources/types/bidding_strategy_simulation.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/bidding_strategy_simulation.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.simulation import ( @@ -11,6 +13,8 @@ from google.ads.googleads.v13.enums.types.simulation_modification_method import ) from google.ads.googleads.v13.enums.types.simulation_type import SimulationTypeEnum +_M = TypeVar("_M") + class BiddingStrategySimulation(proto.Message): resource_name: str bidding_strategy_id: int @@ -21,8 +25,8 @@ class BiddingStrategySimulation(proto.Message): target_cpa_point_list: TargetCpaSimulationPointList target_roas_point_list: TargetRoasSimulationPointList def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/billing_setup.pyi b/google-stubs/ads/googleads/v13/resources/types/billing_setup.pyi index aab5f09f8..604d300f9 100644 --- a/google-stubs/ads/googleads/v13/resources/types/billing_setup.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/billing_setup.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.billing_setup_status import ( @@ -7,6 +9,8 @@ from google.ads.googleads.v13.enums.types.billing_setup_status import ( ) from google.ads.googleads.v13.enums.types.time_type import TimeTypeEnum +_M = TypeVar("_M") + class BillingSetup(proto.Message): class PaymentsAccountInfo(proto.Message): payments_account_id: str @@ -15,8 +19,8 @@ class BillingSetup(proto.Message): payments_profile_name: str secondary_payments_profile_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., payments_account_id: str = ..., @@ -35,8 +39,8 @@ class BillingSetup(proto.Message): end_date_time: str end_time_type: TimeTypeEnum.TimeType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/call_view.pyi b/google-stubs/ads/googleads/v13/resources/types/call_view.pyi index 4cb48535e..962be8075 100644 --- a/google-stubs/ads/googleads/v13/resources/types/call_view.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/call_view.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.call_tracking_display_location import ( @@ -10,6 +12,8 @@ from google.ads.googleads.v13.enums.types.google_voice_call_status import ( GoogleVoiceCallStatusEnum, ) +_M = TypeVar("_M") + class CallView(proto.Message): resource_name: str caller_country_code: str @@ -21,8 +25,8 @@ class CallView(proto.Message): type_: CallTypeEnum.CallType call_status: GoogleVoiceCallStatusEnum.GoogleVoiceCallStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/campaign.pyi b/google-stubs/ads/googleads/v13/resources/types/campaign.pyi index b8c6945b0..14cb674c3 100644 --- a/google-stubs/ads/googleads/v13/resources/types/campaign.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/campaign.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.bidding import ( @@ -85,14 +86,16 @@ from google.ads.googleads.v13.enums.types.vanity_pharma_display_url_mode import ) from google.ads.googleads.v13.enums.types.vanity_pharma_text import VanityPharmaTextEnum +_M = TypeVar("_M") + class Campaign(proto.Message): class AppCampaignSetting(proto.Message): bidding_strategy_goal_type: AppCampaignBiddingStrategyGoalTypeEnum.AppCampaignBiddingStrategyGoalType app_id: str app_store: AppCampaignAppStoreEnum.AppCampaignAppStore def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., bidding_strategy_goal_type: AppCampaignBiddingStrategyGoalTypeEnum.AppCampaignBiddingStrategyGoalType = ..., @@ -103,8 +106,8 @@ class Campaign(proto.Message): class AudienceSetting(proto.Message): use_audience_grouped: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., use_audience_grouped: bool = ... @@ -114,8 +117,8 @@ class Campaign(proto.Message): category_id: str manual_cpa_bid_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., category_id: str = ..., @@ -128,8 +131,8 @@ class Campaign(proto.Message): use_supplied_urls_only: bool feeds: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., domain_name: str = ..., @@ -142,8 +145,8 @@ class Campaign(proto.Message): positive_geo_target_type: PositiveGeoTargetTypeEnum.PositiveGeoTargetType negative_geo_target_type: NegativeGeoTargetTypeEnum.NegativeGeoTargetType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., positive_geo_target_type: PositiveGeoTargetTypeEnum.PositiveGeoTargetType = ..., @@ -153,8 +156,8 @@ class Campaign(proto.Message): class HotelSettingInfo(proto.Message): hotel_center_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., hotel_center_id: int = ... @@ -163,8 +166,8 @@ class Campaign(proto.Message): class LocalCampaignSetting(proto.Message): location_source_type: LocationSourceTypeEnum.LocationSourceType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., location_source_type: LocationSourceTypeEnum.LocationSourceType = ... @@ -173,8 +176,8 @@ class Campaign(proto.Message): class LocalServicesCampaignSettings(proto.Message): category_bids: MutableSequence[Campaign.CategoryBid] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., category_bids: MutableSequence[Campaign.CategoryBid] = ... @@ -186,8 +189,8 @@ class Campaign(proto.Message): target_content_network: bool target_partner_search_network: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_google_search: bool = ..., @@ -201,8 +204,8 @@ class Campaign(proto.Message): OptimizationGoalTypeEnum.OptimizationGoalType ] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., optimization_goal_types: MutableSequence[ @@ -215,8 +218,8 @@ class Campaign(proto.Message): pre_upgrade_campaign: str status: PerformanceMaxUpgradeStatusEnum.PerformanceMaxUpgradeStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., performance_max_campaign: str = ..., @@ -227,8 +230,8 @@ class Campaign(proto.Message): class SelectiveOptimization(proto.Message): conversion_actions: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., conversion_actions: MutableSequence[str] = ... @@ -242,8 +245,8 @@ class Campaign(proto.Message): enable_local: bool use_vehicle_inventory: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., merchant_id: int = ..., @@ -257,8 +260,8 @@ class Campaign(proto.Message): class TrackingSetting(proto.Message): tracking_url: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., tracking_url: str = ... @@ -267,8 +270,8 @@ class Campaign(proto.Message): class TravelCampaignSettings(proto.Message): travel_account_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., travel_account_id: int = ... @@ -278,8 +281,8 @@ class Campaign(proto.Message): vanity_pharma_display_url_mode: VanityPharmaDisplayUrlModeEnum.VanityPharmaDisplayUrlMode vanity_pharma_text: VanityPharmaTextEnum.VanityPharmaText def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., vanity_pharma_display_url_mode: VanityPharmaDisplayUrlModeEnum.VanityPharmaDisplayUrlMode = ..., @@ -353,8 +356,8 @@ class Campaign(proto.Message): percent_cpc: PercentCpc target_cpm: TargetCpm def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/campaign_asset.pyi b/google-stubs/ads/googleads/v13/resources/types/campaign_asset.pyi index 17783346e..6a3726d81 100644 --- a/google-stubs/ads/googleads/v13/resources/types/campaign_asset.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/campaign_asset.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.asset_policy import ( @@ -16,6 +17,8 @@ from google.ads.googleads.v13.enums.types.asset_link_primary_status_reason impor from google.ads.googleads.v13.enums.types.asset_link_status import AssetLinkStatusEnum from google.ads.googleads.v13.enums.types.asset_source import AssetSourceEnum +_M = TypeVar("_M") + class CampaignAsset(proto.Message): resource_name: str campaign: str @@ -29,8 +32,8 @@ class CampaignAsset(proto.Message): AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason ] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/campaign_asset_set.pyi b/google-stubs/ads/googleads/v13/resources/types/campaign_asset_set.pyi index 339191b5c..c7a659c9b 100644 --- a/google-stubs/ads/googleads/v13/resources/types/campaign_asset_set.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/campaign_asset_set.pyi @@ -1,19 +1,23 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.asset_set_link_status import ( AssetSetLinkStatusEnum, ) +_M = TypeVar("_M") + class CampaignAssetSet(proto.Message): resource_name: str campaign: str asset_set: str status: AssetSetLinkStatusEnum.AssetSetLinkStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/campaign_audience_view.pyi b/google-stubs/ads/googleads/v13/resources/types/campaign_audience_view.pyi index 46c78802a..f646c4a70 100644 --- a/google-stubs/ads/googleads/v13/resources/types/campaign_audience_view.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/campaign_audience_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignAudienceView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v13/resources/types/campaign_bid_modifier.pyi b/google-stubs/ads/googleads/v13/resources/types/campaign_bid_modifier.pyi index 987ec1d8a..7ca6aea6e 100644 --- a/google-stubs/ads/googleads/v13/resources/types/campaign_bid_modifier.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/campaign_bid_modifier.pyi @@ -1,9 +1,13 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.criteria import InteractionTypeInfo +_M = TypeVar("_M") + class CampaignBidModifier(proto.Message): resource_name: str campaign: str @@ -11,8 +15,8 @@ class CampaignBidModifier(proto.Message): bid_modifier: float interaction_type: InteractionTypeInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/campaign_budget.pyi b/google-stubs/ads/googleads/v13/resources/types/campaign_budget.pyi index 5f1c39145..6e9714127 100644 --- a/google-stubs/ads/googleads/v13/resources/types/campaign_budget.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/campaign_budget.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.budget_delivery_method import ( @@ -9,6 +11,8 @@ from google.ads.googleads.v13.enums.types.budget_period import BudgetPeriodEnum from google.ads.googleads.v13.enums.types.budget_status import BudgetStatusEnum from google.ads.googleads.v13.enums.types.budget_type import BudgetTypeEnum +_M = TypeVar("_M") + class CampaignBudget(proto.Message): resource_name: str id: int @@ -29,8 +33,8 @@ class CampaignBudget(proto.Message): type_: BudgetTypeEnum.BudgetType aligned_bidding_strategy_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/campaign_conversion_goal.pyi b/google-stubs/ads/googleads/v13/resources/types/campaign_conversion_goal.pyi index 52d0881a7..2a8f5a1d9 100644 --- a/google-stubs/ads/googleads/v13/resources/types/campaign_conversion_goal.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/campaign_conversion_goal.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.conversion_action_category import ( @@ -7,6 +9,8 @@ from google.ads.googleads.v13.enums.types.conversion_action_category import ( ) from google.ads.googleads.v13.enums.types.conversion_origin import ConversionOriginEnum +_M = TypeVar("_M") + class CampaignConversionGoal(proto.Message): resource_name: str campaign: str @@ -14,8 +18,8 @@ class CampaignConversionGoal(proto.Message): origin: ConversionOriginEnum.ConversionOrigin biddable: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/campaign_criterion.pyi b/google-stubs/ads/googleads/v13/resources/types/campaign_criterion.pyi index 31b6c6fdf..8859811c3 100644 --- a/google-stubs/ads/googleads/v13/resources/types/campaign_criterion.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/campaign_criterion.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.criteria import ( @@ -40,6 +42,8 @@ from google.ads.googleads.v13.enums.types.campaign_criterion_status import ( ) from google.ads.googleads.v13.enums.types.criterion_type import CriterionTypeEnum +_M = TypeVar("_M") + class CampaignCriterion(proto.Message): resource_name: str campaign: str @@ -81,8 +85,8 @@ class CampaignCriterion(proto.Message): keyword_theme: KeywordThemeInfo local_service_id: LocalServiceIdInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/campaign_criterion_simulation.pyi b/google-stubs/ads/googleads/v13/resources/types/campaign_criterion_simulation.pyi index 0e11907fe..e2f95f9d1 100644 --- a/google-stubs/ads/googleads/v13/resources/types/campaign_criterion_simulation.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/campaign_criterion_simulation.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.simulation import ( @@ -10,6 +12,8 @@ from google.ads.googleads.v13.enums.types.simulation_modification_method import ) from google.ads.googleads.v13.enums.types.simulation_type import SimulationTypeEnum +_M = TypeVar("_M") + class CampaignCriterionSimulation(proto.Message): resource_name: str campaign_id: int @@ -20,8 +24,8 @@ class CampaignCriterionSimulation(proto.Message): end_date: str bid_modifier_point_list: BidModifierSimulationPointList def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/campaign_customizer.pyi b/google-stubs/ads/googleads/v13/resources/types/campaign_customizer.pyi index 1da9f7ba6..9a31d2def 100644 --- a/google-stubs/ads/googleads/v13/resources/types/campaign_customizer.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/campaign_customizer.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.customizer_value import CustomizerValue @@ -7,6 +9,8 @@ from google.ads.googleads.v13.enums.types.customizer_value_status import ( CustomizerValueStatusEnum, ) +_M = TypeVar("_M") + class CampaignCustomizer(proto.Message): resource_name: str campaign: str @@ -14,8 +18,8 @@ class CampaignCustomizer(proto.Message): status: CustomizerValueStatusEnum.CustomizerValueStatus value: CustomizerValue def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/campaign_draft.pyi b/google-stubs/ads/googleads/v13/resources/types/campaign_draft.pyi index b04a66b2b..b6ef07351 100644 --- a/google-stubs/ads/googleads/v13/resources/types/campaign_draft.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/campaign_draft.pyi @@ -1,11 +1,15 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.campaign_draft_status import ( CampaignDraftStatusEnum, ) +_M = TypeVar("_M") + class CampaignDraft(proto.Message): resource_name: str draft_id: int @@ -16,8 +20,8 @@ class CampaignDraft(proto.Message): has_experiment_running: bool long_running_operation: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/campaign_extension_setting.pyi b/google-stubs/ads/googleads/v13/resources/types/campaign_extension_setting.pyi index b6eaab16e..ccd468580 100644 --- a/google-stubs/ads/googleads/v13/resources/types/campaign_extension_setting.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/campaign_extension_setting.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.extension_setting_device import ( @@ -8,6 +9,8 @@ from google.ads.googleads.v13.enums.types.extension_setting_device import ( ) from google.ads.googleads.v13.enums.types.extension_type import ExtensionTypeEnum +_M = TypeVar("_M") + class CampaignExtensionSetting(proto.Message): resource_name: str extension_type: ExtensionTypeEnum.ExtensionType @@ -15,8 +18,8 @@ class CampaignExtensionSetting(proto.Message): extension_feed_items: MutableSequence[str] device: ExtensionSettingDeviceEnum.ExtensionSettingDevice def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/campaign_feed.pyi b/google-stubs/ads/googleads/v13/resources/types/campaign_feed.pyi index 24f467d30..00486e572 100644 --- a/google-stubs/ads/googleads/v13/resources/types/campaign_feed.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/campaign_feed.pyi @@ -1,12 +1,15 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.matching_function import MatchingFunction from google.ads.googleads.v13.enums.types.feed_link_status import FeedLinkStatusEnum from google.ads.googleads.v13.enums.types.placeholder_type import PlaceholderTypeEnum +_M = TypeVar("_M") + class CampaignFeed(proto.Message): resource_name: str feed: str @@ -15,8 +18,8 @@ class CampaignFeed(proto.Message): matching_function: MatchingFunction status: FeedLinkStatusEnum.FeedLinkStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/campaign_group.pyi b/google-stubs/ads/googleads/v13/resources/types/campaign_group.pyi index f0d3fcdf0..bfabef08b 100644 --- a/google-stubs/ads/googleads/v13/resources/types/campaign_group.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/campaign_group.pyi @@ -1,19 +1,23 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.campaign_group_status import ( CampaignGroupStatusEnum, ) +_M = TypeVar("_M") + class CampaignGroup(proto.Message): resource_name: str id: int name: str status: CampaignGroupStatusEnum.CampaignGroupStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/campaign_label.pyi b/google-stubs/ads/googleads/v13/resources/types/campaign_label.pyi index 947a41a57..97a4dd365 100644 --- a/google-stubs/ads/googleads/v13/resources/types/campaign_label.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/campaign_label.pyi @@ -1,14 +1,18 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignLabel(proto.Message): resource_name: str campaign: str label: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/campaign_shared_set.pyi b/google-stubs/ads/googleads/v13/resources/types/campaign_shared_set.pyi index b12c0566a..c2ef7a774 100644 --- a/google-stubs/ads/googleads/v13/resources/types/campaign_shared_set.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/campaign_shared_set.pyi @@ -1,19 +1,23 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.campaign_shared_set_status import ( CampaignSharedSetStatusEnum, ) +_M = TypeVar("_M") + class CampaignSharedSet(proto.Message): resource_name: str campaign: str shared_set: str status: CampaignSharedSetStatusEnum.CampaignSharedSetStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/campaign_simulation.pyi b/google-stubs/ads/googleads/v13/resources/types/campaign_simulation.pyi index cfea0552c..94ef157c5 100644 --- a/google-stubs/ads/googleads/v13/resources/types/campaign_simulation.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/campaign_simulation.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.simulation import ( @@ -14,6 +16,8 @@ from google.ads.googleads.v13.enums.types.simulation_modification_method import ) from google.ads.googleads.v13.enums.types.simulation_type import SimulationTypeEnum +_M = TypeVar("_M") + class CampaignSimulation(proto.Message): resource_name: str campaign_id: int @@ -27,8 +31,8 @@ class CampaignSimulation(proto.Message): target_impression_share_point_list: TargetImpressionShareSimulationPointList budget_point_list: BudgetSimulationPointList def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/carrier_constant.pyi b/google-stubs/ads/googleads/v13/resources/types/carrier_constant.pyi index 596a1987d..f9f6328a3 100644 --- a/google-stubs/ads/googleads/v13/resources/types/carrier_constant.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/carrier_constant.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CarrierConstant(proto.Message): resource_name: str id: int name: str country_code: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/change_event.pyi b/google-stubs/ads/googleads/v13/resources/types/change_event.pyi index bb793f431..c02958e48 100644 --- a/google-stubs/ads/googleads/v13/resources/types/change_event.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/change_event.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask @@ -34,6 +36,8 @@ from google.ads.googleads.v13.resources.types.customer_asset import CustomerAsse from google.ads.googleads.v13.resources.types.feed import Feed from google.ads.googleads.v13.resources.types.feed_item import FeedItem +_M = TypeVar("_M") + class ChangeEvent(proto.Message): class ChangedResource(proto.Message): ad: Ad @@ -56,8 +60,8 @@ class ChangeEvent(proto.Message): asset_set_asset: AssetSetAsset campaign_asset_set: CampaignAssetSet def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad: Ad = ..., @@ -96,8 +100,8 @@ class ChangeEvent(proto.Message): feed_item: str asset: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/change_status.pyi b/google-stubs/ads/googleads/v13/resources/types/change_status.pyi index fcb5ccbb9..1eb04e0a8 100644 --- a/google-stubs/ads/googleads/v13/resources/types/change_status.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/change_status.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.change_status_operation import ( @@ -9,6 +11,8 @@ from google.ads.googleads.v13.enums.types.change_status_resource_type import ( ChangeStatusResourceTypeEnum, ) +_M = TypeVar("_M") + class ChangeStatus(proto.Message): resource_name: str last_change_date_time: str @@ -32,8 +36,8 @@ class ChangeStatus(proto.Message): ad_group_asset: str combined_audience: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/click_view.pyi b/google-stubs/ads/googleads/v13/resources/types/click_view.pyi index 28c558263..91b0fcd06 100644 --- a/google-stubs/ads/googleads/v13/resources/types/click_view.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/click_view.pyi @@ -1,10 +1,14 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.click_location import ClickLocation from google.ads.googleads.v13.common.types.criteria import KeywordInfo +_M = TypeVar("_M") + class ClickView(proto.Message): resource_name: str gclid: str @@ -17,8 +21,8 @@ class ClickView(proto.Message): keyword: str keyword_info: KeywordInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/combined_audience.pyi b/google-stubs/ads/googleads/v13/resources/types/combined_audience.pyi index bce5208fd..d7d16f3c8 100644 --- a/google-stubs/ads/googleads/v13/resources/types/combined_audience.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/combined_audience.pyi @@ -1,11 +1,15 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.combined_audience_status import ( CombinedAudienceStatusEnum, ) +_M = TypeVar("_M") + class CombinedAudience(proto.Message): resource_name: str id: int @@ -13,8 +17,8 @@ class CombinedAudience(proto.Message): name: str description: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/conversion_action.pyi b/google-stubs/ads/googleads/v13/resources/types/conversion_action.pyi index 13cc9837b..fd5487717 100644 --- a/google-stubs/ads/googleads/v13/resources/types/conversion_action.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/conversion_action.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.tag_snippet import TagSnippet @@ -23,13 +24,15 @@ from google.ads.googleads.v13.enums.types.data_driven_model_status import ( ) from google.ads.googleads.v13.enums.types.mobile_app_vendor import MobileAppVendorEnum +_M = TypeVar("_M") + class ConversionAction(proto.Message): class AttributionModelSettings(proto.Message): attribution_model: AttributionModelEnum.AttributionModel data_driven_model_status: DataDrivenModelStatusEnum.DataDrivenModelStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., attribution_model: AttributionModelEnum.AttributionModel = ..., @@ -42,8 +45,8 @@ class ConversionAction(proto.Message): property_id: int property_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., event_name: str = ..., @@ -56,8 +59,8 @@ class ConversionAction(proto.Message): event_name: str provider_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., event_name: str = ..., @@ -69,8 +72,8 @@ class ConversionAction(proto.Message): default_currency_code: str always_use_default_value: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., default_value: float = ..., @@ -99,8 +102,8 @@ class ConversionAction(proto.Message): firebase_settings: ConversionAction.FirebaseSettings third_party_app_analytics_settings: ConversionAction.ThirdPartyAppAnalyticsSettings def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/conversion_custom_variable.pyi b/google-stubs/ads/googleads/v13/resources/types/conversion_custom_variable.pyi index 59f89dde9..e4ad8e357 100644 --- a/google-stubs/ads/googleads/v13/resources/types/conversion_custom_variable.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/conversion_custom_variable.pyi @@ -1,11 +1,15 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.conversion_custom_variable_status import ( ConversionCustomVariableStatusEnum, ) +_M = TypeVar("_M") + class ConversionCustomVariable(proto.Message): resource_name: str id: int @@ -14,8 +18,8 @@ class ConversionCustomVariable(proto.Message): status: ConversionCustomVariableStatusEnum.ConversionCustomVariableStatus owner_customer: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/conversion_goal_campaign_config.pyi b/google-stubs/ads/googleads/v13/resources/types/conversion_goal_campaign_config.pyi index 723cfae25..6ca86ec9a 100644 --- a/google-stubs/ads/googleads/v13/resources/types/conversion_goal_campaign_config.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/conversion_goal_campaign_config.pyi @@ -1,17 +1,21 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.goal_config_level import GoalConfigLevelEnum +_M = TypeVar("_M") + class ConversionGoalCampaignConfig(proto.Message): resource_name: str campaign: str goal_config_level: GoalConfigLevelEnum.GoalConfigLevel custom_conversion_goal: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/conversion_value_rule.pyi b/google-stubs/ads/googleads/v13/resources/types/conversion_value_rule.pyi index 02055c451..ac7aa0303 100644 --- a/google-stubs/ads/googleads/v13/resources/types/conversion_value_rule.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/conversion_value_rule.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.conversion_value_rule_status import ( @@ -16,13 +17,15 @@ from google.ads.googleads.v13.enums.types.value_rule_operation import ( ValueRuleOperationEnum, ) +_M = TypeVar("_M") + class ConversionValueRule(proto.Message): class ValueRuleAction(proto.Message): operation: ValueRuleOperationEnum.ValueRuleOperation value: float def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., operation: ValueRuleOperationEnum.ValueRuleOperation = ..., @@ -33,8 +36,8 @@ class ConversionValueRule(proto.Message): user_lists: MutableSequence[str] user_interests: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., user_lists: MutableSequence[str] = ..., @@ -44,8 +47,8 @@ class ConversionValueRule(proto.Message): class ValueRuleDeviceCondition(proto.Message): device_types: MutableSequence[ValueRuleDeviceTypeEnum.ValueRuleDeviceType] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., device_types: MutableSequence[ @@ -59,8 +62,8 @@ class ConversionValueRule(proto.Message): geo_target_constants: MutableSequence[str] geo_match_type: ValueRuleGeoLocationMatchTypeEnum.ValueRuleGeoLocationMatchType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., excluded_geo_target_constants: MutableSequence[str] = ..., @@ -77,8 +80,8 @@ class ConversionValueRule(proto.Message): owner_customer: str status: ConversionValueRuleStatusEnum.ConversionValueRuleStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/conversion_value_rule_set.pyi b/google-stubs/ads/googleads/v13/resources/types/conversion_value_rule_set.pyi index df08c0956..78d079f16 100644 --- a/google-stubs/ads/googleads/v13/resources/types/conversion_value_rule_set.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/conversion_value_rule_set.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.conversion_action_category import ( @@ -16,6 +17,8 @@ from google.ads.googleads.v13.enums.types.value_rule_set_dimension import ( ValueRuleSetDimensionEnum, ) +_M = TypeVar("_M") + class ConversionValueRuleSet(proto.Message): resource_name: str id: int @@ -29,8 +32,8 @@ class ConversionValueRuleSet(proto.Message): ConversionActionCategoryEnum.ConversionActionCategory ] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/currency_constant.pyi b/google-stubs/ads/googleads/v13/resources/types/currency_constant.pyi index 90578cea6..d05f7ec3b 100644 --- a/google-stubs/ads/googleads/v13/resources/types/currency_constant.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/currency_constant.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CurrencyConstant(proto.Message): resource_name: str code: str @@ -9,8 +13,8 @@ class CurrencyConstant(proto.Message): symbol: str billable_unit_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/custom_audience.pyi b/google-stubs/ads/googleads/v13/resources/types/custom_audience.pyi index a0372f854..fe9e7971a 100644 --- a/google-stubs/ads/googleads/v13/resources/types/custom_audience.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/custom_audience.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.custom_audience_member_type import ( @@ -13,6 +14,8 @@ from google.ads.googleads.v13.enums.types.custom_audience_type import ( CustomAudienceTypeEnum, ) +_M = TypeVar("_M") + class CustomAudience(proto.Message): resource_name: str id: int @@ -22,8 +25,8 @@ class CustomAudience(proto.Message): description: str members: MutableSequence[CustomAudienceMember] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -42,8 +45,8 @@ class CustomAudienceMember(proto.Message): place_category: int app: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., member_type: CustomAudienceMemberTypeEnum.CustomAudienceMemberType = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/custom_conversion_goal.pyi b/google-stubs/ads/googleads/v13/resources/types/custom_conversion_goal.pyi index 3d607c4fd..d633a723c 100644 --- a/google-stubs/ads/googleads/v13/resources/types/custom_conversion_goal.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/custom_conversion_goal.pyi @@ -1,12 +1,15 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.custom_conversion_goal_status import ( CustomConversionGoalStatusEnum, ) +_M = TypeVar("_M") + class CustomConversionGoal(proto.Message): resource_name: str id: int @@ -14,8 +17,8 @@ class CustomConversionGoal(proto.Message): conversion_actions: MutableSequence[str] status: CustomConversionGoalStatusEnum.CustomConversionGoalStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/custom_interest.pyi b/google-stubs/ads/googleads/v13/resources/types/custom_interest.pyi index b2444b99b..e444fee82 100644 --- a/google-stubs/ads/googleads/v13/resources/types/custom_interest.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/custom_interest.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.custom_interest_member_type import ( @@ -13,6 +14,8 @@ from google.ads.googleads.v13.enums.types.custom_interest_type import ( CustomInterestTypeEnum, ) +_M = TypeVar("_M") + class CustomInterest(proto.Message): resource_name: str id: int @@ -22,8 +25,8 @@ class CustomInterest(proto.Message): description: str members: MutableSequence[CustomInterestMember] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -39,8 +42,8 @@ class CustomInterestMember(proto.Message): member_type: CustomInterestMemberTypeEnum.CustomInterestMemberType parameter: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., member_type: CustomInterestMemberTypeEnum.CustomInterestMemberType = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/customer.pyi b/google-stubs/ads/googleads/v13/resources/types/customer.pyi index 765f99ade..5ccf0a3bd 100644 --- a/google-stubs/ads/googleads/v13/resources/types/customer.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/customer.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.conversion_tracking_status_enum import ( @@ -11,13 +12,15 @@ from google.ads.googleads.v13.enums.types.customer_pay_per_conversion_eligibilit ) from google.ads.googleads.v13.enums.types.customer_status import CustomerStatusEnum +_M = TypeVar("_M") + class CallReportingSetting(proto.Message): call_reporting_enabled: bool call_conversion_reporting_enabled: bool call_conversion_action: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., call_reporting_enabled: bool = ..., @@ -33,8 +36,8 @@ class ConversionTrackingSetting(proto.Message): enhanced_conversions_for_leads_enabled: bool google_ads_conversion_customer: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., conversion_tracking_id: int = ..., @@ -71,8 +74,8 @@ class Customer(proto.Message): location_asset_auto_migration_done_date_time: str image_asset_auto_migration_done_date_time: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -104,8 +107,8 @@ class Customer(proto.Message): class RemarketingSetting(proto.Message): google_global_site_tag: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., google_global_site_tag: str = ... diff --git a/google-stubs/ads/googleads/v13/resources/types/customer_asset.pyi b/google-stubs/ads/googleads/v13/resources/types/customer_asset.pyi index 5a4c37071..5a81b1260 100644 --- a/google-stubs/ads/googleads/v13/resources/types/customer_asset.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/customer_asset.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.asset_policy import ( @@ -16,6 +17,8 @@ from google.ads.googleads.v13.enums.types.asset_link_primary_status_reason impor from google.ads.googleads.v13.enums.types.asset_link_status import AssetLinkStatusEnum from google.ads.googleads.v13.enums.types.asset_source import AssetSourceEnum +_M = TypeVar("_M") + class CustomerAsset(proto.Message): resource_name: str asset: str @@ -28,8 +31,8 @@ class CustomerAsset(proto.Message): AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason ] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/customer_asset_set.pyi b/google-stubs/ads/googleads/v13/resources/types/customer_asset_set.pyi index 0065b52e1..84dab4f3d 100644 --- a/google-stubs/ads/googleads/v13/resources/types/customer_asset_set.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/customer_asset_set.pyi @@ -1,19 +1,23 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.asset_set_link_status import ( AssetSetLinkStatusEnum, ) +_M = TypeVar("_M") + class CustomerAssetSet(proto.Message): resource_name: str asset_set: str customer: str status: AssetSetLinkStatusEnum.AssetSetLinkStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/customer_client.pyi b/google-stubs/ads/googleads/v13/resources/types/customer_client.pyi index a84b0ccba..79825f0aa 100644 --- a/google-stubs/ads/googleads/v13/resources/types/customer_client.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/customer_client.pyi @@ -1,10 +1,13 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.customer_status import CustomerStatusEnum +_M = TypeVar("_M") + class CustomerClient(proto.Message): resource_name: str client_customer: str @@ -19,8 +22,8 @@ class CustomerClient(proto.Message): applied_labels: MutableSequence[str] status: CustomerStatusEnum.CustomerStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/customer_client_link.pyi b/google-stubs/ads/googleads/v13/resources/types/customer_client_link.pyi index 75c08a448..b7751cc70 100644 --- a/google-stubs/ads/googleads/v13/resources/types/customer_client_link.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/customer_client_link.pyi @@ -1,11 +1,15 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.manager_link_status import ( ManagerLinkStatusEnum, ) +_M = TypeVar("_M") + class CustomerClientLink(proto.Message): resource_name: str client_customer: str @@ -13,8 +17,8 @@ class CustomerClientLink(proto.Message): status: ManagerLinkStatusEnum.ManagerLinkStatus hidden: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/customer_conversion_goal.pyi b/google-stubs/ads/googleads/v13/resources/types/customer_conversion_goal.pyi index 48f534ecc..ef8f1682f 100644 --- a/google-stubs/ads/googleads/v13/resources/types/customer_conversion_goal.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/customer_conversion_goal.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.conversion_action_category import ( @@ -7,14 +9,16 @@ from google.ads.googleads.v13.enums.types.conversion_action_category import ( ) from google.ads.googleads.v13.enums.types.conversion_origin import ConversionOriginEnum +_M = TypeVar("_M") + class CustomerConversionGoal(proto.Message): resource_name: str category: ConversionActionCategoryEnum.ConversionActionCategory origin: ConversionOriginEnum.ConversionOrigin biddable: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/customer_customizer.pyi b/google-stubs/ads/googleads/v13/resources/types/customer_customizer.pyi index a33d25043..469d52919 100644 --- a/google-stubs/ads/googleads/v13/resources/types/customer_customizer.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/customer_customizer.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.customizer_value import CustomizerValue @@ -7,14 +9,16 @@ from google.ads.googleads.v13.enums.types.customizer_value_status import ( CustomizerValueStatusEnum, ) +_M = TypeVar("_M") + class CustomerCustomizer(proto.Message): resource_name: str customizer_attribute: str status: CustomizerValueStatusEnum.CustomizerValueStatus value: CustomizerValue def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/customer_extension_setting.pyi b/google-stubs/ads/googleads/v13/resources/types/customer_extension_setting.pyi index 5dbf4b958..6e19ebd20 100644 --- a/google-stubs/ads/googleads/v13/resources/types/customer_extension_setting.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/customer_extension_setting.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.extension_setting_device import ( @@ -8,14 +9,16 @@ from google.ads.googleads.v13.enums.types.extension_setting_device import ( ) from google.ads.googleads.v13.enums.types.extension_type import ExtensionTypeEnum +_M = TypeVar("_M") + class CustomerExtensionSetting(proto.Message): resource_name: str extension_type: ExtensionTypeEnum.ExtensionType extension_feed_items: MutableSequence[str] device: ExtensionSettingDeviceEnum.ExtensionSettingDevice def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/customer_feed.pyi b/google-stubs/ads/googleads/v13/resources/types/customer_feed.pyi index a04e27c55..5df5260ec 100644 --- a/google-stubs/ads/googleads/v13/resources/types/customer_feed.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/customer_feed.pyi @@ -1,12 +1,15 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.matching_function import MatchingFunction from google.ads.googleads.v13.enums.types.feed_link_status import FeedLinkStatusEnum from google.ads.googleads.v13.enums.types.placeholder_type import PlaceholderTypeEnum +_M = TypeVar("_M") + class CustomerFeed(proto.Message): resource_name: str feed: str @@ -14,8 +17,8 @@ class CustomerFeed(proto.Message): matching_function: MatchingFunction status: FeedLinkStatusEnum.FeedLinkStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/customer_label.pyi b/google-stubs/ads/googleads/v13/resources/types/customer_label.pyi index dcaeaa60f..12ec6c8f4 100644 --- a/google-stubs/ads/googleads/v13/resources/types/customer_label.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/customer_label.pyi @@ -1,14 +1,18 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomerLabel(proto.Message): resource_name: str customer: str label: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/customer_manager_link.pyi b/google-stubs/ads/googleads/v13/resources/types/customer_manager_link.pyi index dd2eae7b4..08fdaeb2c 100644 --- a/google-stubs/ads/googleads/v13/resources/types/customer_manager_link.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/customer_manager_link.pyi @@ -1,19 +1,23 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.manager_link_status import ( ManagerLinkStatusEnum, ) +_M = TypeVar("_M") + class CustomerManagerLink(proto.Message): resource_name: str manager_customer: str manager_link_id: int status: ManagerLinkStatusEnum.ManagerLinkStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/customer_negative_criterion.pyi b/google-stubs/ads/googleads/v13/resources/types/customer_negative_criterion.pyi index 39ed76e26..60acced50 100644 --- a/google-stubs/ads/googleads/v13/resources/types/customer_negative_criterion.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/customer_negative_criterion.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.criteria import ( @@ -12,6 +14,8 @@ from google.ads.googleads.v13.common.types.criteria import ( ) from google.ads.googleads.v13.enums.types.criterion_type import CriterionTypeEnum +_M = TypeVar("_M") + class CustomerNegativeCriterion(proto.Message): resource_name: str id: int @@ -23,8 +27,8 @@ class CustomerNegativeCriterion(proto.Message): youtube_video: YouTubeVideoInfo youtube_channel: YouTubeChannelInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/customer_sk_ad_network_conversion_value_schema.pyi b/google-stubs/ads/googleads/v13/resources/types/customer_sk_ad_network_conversion_value_schema.pyi index 9a3758526..10c188627 100644 --- a/google-stubs/ads/googleads/v13/resources/types/customer_sk_ad_network_conversion_value_schema.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/customer_sk_ad_network_conversion_value_schema.pyi @@ -1,8 +1,11 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomerSkAdNetworkConversionValueSchema(proto.Message): class SkAdNetworkConversionValueSchema(proto.Message): class ConversionValueMapping(proto.Message): @@ -12,8 +15,8 @@ class CustomerSkAdNetworkConversionValueSchema(proto.Message): CustomerSkAdNetworkConversionValueSchema.SkAdNetworkConversionValueSchema.Event ] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., min_time_post_install_hours: int = ..., @@ -28,8 +31,11 @@ class CustomerSkAdNetworkConversionValueSchema(proto.Message): min_event_count: int max_event_count: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M + | Mapping + | google.protobuf.message.Message + | None = ..., *, ignore_unknown_fields: bool = ..., min_event_count: int = ..., @@ -40,8 +46,11 @@ class CustomerSkAdNetworkConversionValueSchema(proto.Message): min_event_revenue: float max_event_revenue: float def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M + | Mapping + | google.protobuf.message.Message + | None = ..., *, ignore_unknown_fields: bool = ..., min_event_revenue: float = ..., @@ -54,8 +63,8 @@ class CustomerSkAdNetworkConversionValueSchema(proto.Message): event_occurrence_range: CustomerSkAdNetworkConversionValueSchema.SkAdNetworkConversionValueSchema.Event.EventOccurrenceRange event_counter: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., mapped_event_name: str = ..., @@ -70,8 +79,8 @@ class CustomerSkAdNetworkConversionValueSchema(proto.Message): fine_grained_conversion_value: int conversion_value_mapping: CustomerSkAdNetworkConversionValueSchema.SkAdNetworkConversionValueSchema.ConversionValueMapping def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., fine_grained_conversion_value: int = ..., @@ -83,8 +92,8 @@ class CustomerSkAdNetworkConversionValueSchema(proto.Message): CustomerSkAdNetworkConversionValueSchema.SkAdNetworkConversionValueSchema.FineGrainedConversionValueMappings ] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., app_id: str = ..., @@ -96,8 +105,8 @@ class CustomerSkAdNetworkConversionValueSchema(proto.Message): resource_name: str schema: CustomerSkAdNetworkConversionValueSchema.SkAdNetworkConversionValueSchema def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/customer_user_access.pyi b/google-stubs/ads/googleads/v13/resources/types/customer_user_access.pyi index 925fac603..7472b4beb 100644 --- a/google-stubs/ads/googleads/v13/resources/types/customer_user_access.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/customer_user_access.pyi @@ -1,9 +1,13 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.access_role import AccessRoleEnum +_M = TypeVar("_M") + class CustomerUserAccess(proto.Message): resource_name: str user_id: int @@ -12,8 +16,8 @@ class CustomerUserAccess(proto.Message): access_creation_date_time: str inviter_user_email_address: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/customer_user_access_invitation.pyi b/google-stubs/ads/googleads/v13/resources/types/customer_user_access_invitation.pyi index 12a169434..b110f4a87 100644 --- a/google-stubs/ads/googleads/v13/resources/types/customer_user_access_invitation.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/customer_user_access_invitation.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.access_invitation_status import ( @@ -7,6 +9,8 @@ from google.ads.googleads.v13.enums.types.access_invitation_status import ( ) from google.ads.googleads.v13.enums.types.access_role import AccessRoleEnum +_M = TypeVar("_M") + class CustomerUserAccessInvitation(proto.Message): resource_name: str invitation_id: int @@ -15,8 +19,8 @@ class CustomerUserAccessInvitation(proto.Message): creation_date_time: str invitation_status: AccessInvitationStatusEnum.AccessInvitationStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/customizer_attribute.pyi b/google-stubs/ads/googleads/v13/resources/types/customizer_attribute.pyi index d1a1440cf..b2133f896 100644 --- a/google-stubs/ads/googleads/v13/resources/types/customizer_attribute.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/customizer_attribute.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.customizer_attribute_status import ( @@ -9,6 +11,8 @@ from google.ads.googleads.v13.enums.types.customizer_attribute_type import ( CustomizerAttributeTypeEnum, ) +_M = TypeVar("_M") + class CustomizerAttribute(proto.Message): resource_name: str id: int @@ -16,8 +20,8 @@ class CustomizerAttribute(proto.Message): type_: CustomizerAttributeTypeEnum.CustomizerAttributeType status: CustomizerAttributeStatusEnum.CustomizerAttributeStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/detail_placement_view.pyi b/google-stubs/ads/googleads/v13/resources/types/detail_placement_view.pyi index 976f7b01a..a80bb7949 100644 --- a/google-stubs/ads/googleads/v13/resources/types/detail_placement_view.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/detail_placement_view.pyi @@ -1,9 +1,13 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.placement_type import PlacementTypeEnum +_M = TypeVar("_M") + class DetailPlacementView(proto.Message): resource_name: str placement: str @@ -12,8 +16,8 @@ class DetailPlacementView(proto.Message): target_url: str placement_type: PlacementTypeEnum.PlacementType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/detailed_demographic.pyi b/google-stubs/ads/googleads/v13/resources/types/detailed_demographic.pyi index 85eea8bd1..83c724241 100644 --- a/google-stubs/ads/googleads/v13/resources/types/detailed_demographic.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/detailed_demographic.pyi @@ -1,12 +1,15 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.criterion_category_availability import ( CriterionCategoryAvailability, ) +_M = TypeVar("_M") + class DetailedDemographic(proto.Message): resource_name: str id: int @@ -15,8 +18,8 @@ class DetailedDemographic(proto.Message): launched_to_all: bool availabilities: MutableSequence[CriterionCategoryAvailability] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/display_keyword_view.pyi b/google-stubs/ads/googleads/v13/resources/types/display_keyword_view.pyi index 4808af26f..fb262da23 100644 --- a/google-stubs/ads/googleads/v13/resources/types/display_keyword_view.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/display_keyword_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class DisplayKeywordView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v13/resources/types/distance_view.pyi b/google-stubs/ads/googleads/v13/resources/types/distance_view.pyi index 9213876fa..10e0d65ad 100644 --- a/google-stubs/ads/googleads/v13/resources/types/distance_view.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/distance_view.pyi @@ -1,16 +1,20 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.distance_bucket import DistanceBucketEnum +_M = TypeVar("_M") + class DistanceView(proto.Message): resource_name: str distance_bucket: DistanceBucketEnum.DistanceBucket metric_system: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/domain_category.pyi b/google-stubs/ads/googleads/v13/resources/types/domain_category.pyi index 5006c9904..fffe80165 100644 --- a/google-stubs/ads/googleads/v13/resources/types/domain_category.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/domain_category.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class DomainCategory(proto.Message): resource_name: str campaign: str @@ -13,8 +17,8 @@ class DomainCategory(proto.Message): has_children: bool recommended_cpc_bid_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/dynamic_search_ads_search_term_view.pyi b/google-stubs/ads/googleads/v13/resources/types/dynamic_search_ads_search_term_view.pyi index 4ed7efa29..dad1d47e2 100644 --- a/google-stubs/ads/googleads/v13/resources/types/dynamic_search_ads_search_term_view.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/dynamic_search_ads_search_term_view.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class DynamicSearchAdsSearchTermView(proto.Message): resource_name: str search_term: str @@ -12,8 +16,8 @@ class DynamicSearchAdsSearchTermView(proto.Message): has_matching_keyword: bool has_negative_url: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/expanded_landing_page_view.pyi b/google-stubs/ads/googleads/v13/resources/types/expanded_landing_page_view.pyi index 952d175b0..508cf151b 100644 --- a/google-stubs/ads/googleads/v13/resources/types/expanded_landing_page_view.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/expanded_landing_page_view.pyi @@ -1,13 +1,17 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ExpandedLandingPageView(proto.Message): resource_name: str expanded_final_url: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/experiment.pyi b/google-stubs/ads/googleads/v13/resources/types/experiment.pyi index 85be86aeb..e52faa9eb 100644 --- a/google-stubs/ads/googleads/v13/resources/types/experiment.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/experiment.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.metric_goal import MetricGoal @@ -10,6 +11,8 @@ from google.ads.googleads.v13.enums.types.async_action_status import ( from google.ads.googleads.v13.enums.types.experiment_status import ExperimentStatusEnum from google.ads.googleads.v13.enums.types.experiment_type import ExperimentTypeEnum +_M = TypeVar("_M") + class Experiment(proto.Message): resource_name: str experiment_id: int @@ -24,8 +27,8 @@ class Experiment(proto.Message): long_running_operation: str promote_status: AsyncActionStatusEnum.AsyncActionStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/experiment_arm.pyi b/google-stubs/ads/googleads/v13/resources/types/experiment_arm.pyi index 0a2d9b210..57e75d7df 100644 --- a/google-stubs/ads/googleads/v13/resources/types/experiment_arm.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/experiment_arm.pyi @@ -1,8 +1,11 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ExperimentArm(proto.Message): resource_name: str experiment: str @@ -12,8 +15,8 @@ class ExperimentArm(proto.Message): campaigns: MutableSequence[str] in_design_campaigns: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/extension_feed_item.pyi b/google-stubs/ads/googleads/v13/resources/types/extension_feed_item.pyi index df8ac8aef..04fb095d7 100644 --- a/google-stubs/ads/googleads/v13/resources/types/extension_feed_item.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/extension_feed_item.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.criteria import AdScheduleInfo, KeywordInfo @@ -24,6 +25,8 @@ from google.ads.googleads.v13.enums.types.feed_item_target_device import ( FeedItemTargetDeviceEnum, ) +_M = TypeVar("_M") + class ExtensionFeedItem(proto.Message): resource_name: str id: int @@ -50,8 +53,8 @@ class ExtensionFeedItem(proto.Message): targeted_campaign: str targeted_ad_group: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/feed.pyi b/google-stubs/ads/googleads/v13/resources/types/feed.pyi index a64a19978..fa2338164 100644 --- a/google-stubs/ads/googleads/v13/resources/types/feed.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/feed.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.affiliate_location_feed_relationship_type import ( @@ -12,13 +13,15 @@ from google.ads.googleads.v13.enums.types.feed_attribute_type import ( from google.ads.googleads.v13.enums.types.feed_origin import FeedOriginEnum from google.ads.googleads.v13.enums.types.feed_status import FeedStatusEnum +_M = TypeVar("_M") + class Feed(proto.Message): class AffiliateLocationFeedData(proto.Message): chain_ids: MutableSequence[int] relationship_type: AffiliateLocationFeedRelationshipTypeEnum.AffiliateLocationFeedRelationshipType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., chain_ids: MutableSequence[int] = ..., @@ -31,8 +34,8 @@ class Feed(proto.Message): http_request_url: str http_authorization_header: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., http_method: str = ..., @@ -46,8 +49,8 @@ class Feed(proto.Message): category_filters: MutableSequence[str] label_filters: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., oauth_info: Feed.PlacesLocationFeedData.OAuthInfo = ..., @@ -67,8 +70,8 @@ class Feed(proto.Message): places_location_feed_data: Feed.PlacesLocationFeedData affiliate_location_feed_data: Feed.AffiliateLocationFeedData def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -88,8 +91,8 @@ class FeedAttribute(proto.Message): type_: FeedAttributeTypeEnum.FeedAttributeType is_part_of_key: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., id: int = ..., @@ -106,8 +109,8 @@ class FeedAttributeOperation(proto.Message): operator: FeedAttributeOperation.Operator value: FeedAttribute def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., operator: FeedAttributeOperation.Operator = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/feed_item.pyi b/google-stubs/ads/googleads/v13/resources/types/feed_item.pyi index 2d7d48bb4..ee03ab61e 100644 --- a/google-stubs/ads/googleads/v13/resources/types/feed_item.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/feed_item.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.custom_parameter import CustomParameter @@ -30,6 +31,8 @@ from google.ads.googleads.v13.errors.types.feed_item_validation_error import ( FeedItemValidationErrorEnum, ) +_M = TypeVar("_M") + class FeedItem(proto.Message): resource_name: str feed: str @@ -42,8 +45,8 @@ class FeedItem(proto.Message): status: FeedItemStatusEnum.FeedItemStatus policy_infos: MutableSequence[FeedItemPlaceholderPolicyInfo] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -70,8 +73,8 @@ class FeedItemAttributeValue(proto.Message): string_values: MutableSequence[str] double_values: MutableSequence[float] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., feed_attribute_id: int = ..., @@ -99,8 +102,8 @@ class FeedItemPlaceholderPolicyInfo(proto.Message): FeedItemQualityDisapprovalReasonEnum.FeedItemQualityDisapprovalReason ] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., placeholder_type_enum: PlaceholderTypeEnum.PlaceholderType = ..., @@ -122,8 +125,8 @@ class FeedItemValidationError(proto.Message): feed_attribute_ids: MutableSequence[int] extra_info: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., validation_error: FeedItemValidationErrorEnum.FeedItemValidationError = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/feed_item_set.pyi b/google-stubs/ads/googleads/v13/resources/types/feed_item_set.pyi index 587c6df70..35a811782 100644 --- a/google-stubs/ads/googleads/v13/resources/types/feed_item_set.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/feed_item_set.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.feed_item_set_filter_type_infos import ( @@ -10,6 +12,8 @@ from google.ads.googleads.v13.enums.types.feed_item_set_status import ( FeedItemSetStatusEnum, ) +_M = TypeVar("_M") + class FeedItemSet(proto.Message): resource_name: str feed: str @@ -19,8 +23,8 @@ class FeedItemSet(proto.Message): dynamic_location_set_filter: DynamicLocationSetFilter dynamic_affiliate_location_set_filter: DynamicAffiliateLocationSetFilter def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/feed_item_set_link.pyi b/google-stubs/ads/googleads/v13/resources/types/feed_item_set_link.pyi index 1304eaad5..19c9bb22a 100644 --- a/google-stubs/ads/googleads/v13/resources/types/feed_item_set_link.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/feed_item_set_link.pyi @@ -1,14 +1,18 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedItemSetLink(proto.Message): resource_name: str feed_item: str feed_item_set: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/feed_item_target.pyi b/google-stubs/ads/googleads/v13/resources/types/feed_item_target.pyi index 2167c5863..407711b3b 100644 --- a/google-stubs/ads/googleads/v13/resources/types/feed_item_target.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/feed_item_target.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.criteria import AdScheduleInfo, KeywordInfo @@ -13,6 +15,8 @@ from google.ads.googleads.v13.enums.types.feed_item_target_type import ( FeedItemTargetTypeEnum, ) +_M = TypeVar("_M") + class FeedItemTarget(proto.Message): resource_name: str feed_item: str @@ -26,8 +30,8 @@ class FeedItemTarget(proto.Message): device: FeedItemTargetDeviceEnum.FeedItemTargetDevice ad_schedule: AdScheduleInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/feed_mapping.pyi b/google-stubs/ads/googleads/v13/resources/types/feed_mapping.pyi index c522c1077..c58f5fc11 100644 --- a/google-stubs/ads/googleads/v13/resources/types/feed_mapping.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/feed_mapping.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.ad_customizer_placeholder_field import ( @@ -77,6 +78,8 @@ from google.ads.googleads.v13.enums.types.travel_placeholder_field import ( TravelPlaceholderFieldEnum, ) +_M = TypeVar("_M") + class AttributeFieldMapping(proto.Message): feed_attribute_id: int field_id: int @@ -103,8 +106,8 @@ class AttributeFieldMapping(proto.Message): job_field: JobPlaceholderFieldEnum.JobPlaceholderField image_field: ImagePlaceholderFieldEnum.ImagePlaceholderField def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., feed_attribute_id: int = ..., @@ -141,8 +144,8 @@ class FeedMapping(proto.Message): placeholder_type: PlaceholderTypeEnum.PlaceholderType criterion_type: FeedMappingCriterionTypeEnum.FeedMappingCriterionType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/feed_placeholder_view.pyi b/google-stubs/ads/googleads/v13/resources/types/feed_placeholder_view.pyi index 235991601..dee46a96c 100644 --- a/google-stubs/ads/googleads/v13/resources/types/feed_placeholder_view.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/feed_placeholder_view.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.placeholder_type import PlaceholderTypeEnum +_M = TypeVar("_M") + class FeedPlaceholderView(proto.Message): resource_name: str placeholder_type: PlaceholderTypeEnum.PlaceholderType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/gender_view.pyi b/google-stubs/ads/googleads/v13/resources/types/gender_view.pyi index c4ad696f0..ee2ce34b3 100644 --- a/google-stubs/ads/googleads/v13/resources/types/gender_view.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/gender_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class GenderView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v13/resources/types/geo_target_constant.pyi b/google-stubs/ads/googleads/v13/resources/types/geo_target_constant.pyi index 46e31831f..220373492 100644 --- a/google-stubs/ads/googleads/v13/resources/types/geo_target_constant.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/geo_target_constant.pyi @@ -1,11 +1,15 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.geo_target_constant_status import ( GeoTargetConstantStatusEnum, ) +_M = TypeVar("_M") + class GeoTargetConstant(proto.Message): resource_name: str id: int @@ -16,8 +20,8 @@ class GeoTargetConstant(proto.Message): canonical_name: str parent_geo_target: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/geographic_view.pyi b/google-stubs/ads/googleads/v13/resources/types/geographic_view.pyi index e75427f6b..3187418f7 100644 --- a/google-stubs/ads/googleads/v13/resources/types/geographic_view.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/geographic_view.pyi @@ -1,16 +1,20 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.geo_targeting_type import GeoTargetingTypeEnum +_M = TypeVar("_M") + class GeographicView(proto.Message): resource_name: str location_type: GeoTargetingTypeEnum.GeoTargetingType country_criterion_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/google_ads_field.pyi b/google-stubs/ads/googleads/v13/resources/types/google_ads_field.pyi index b64b20180..6f75aedd5 100644 --- a/google-stubs/ads/googleads/v13/resources/types/google_ads_field.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/google_ads_field.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.google_ads_field_category import ( @@ -10,6 +11,8 @@ from google.ads.googleads.v13.enums.types.google_ads_field_data_type import ( GoogleAdsFieldDataTypeEnum, ) +_M = TypeVar("_M") + class GoogleAdsField(proto.Message): resource_name: str name: str @@ -26,8 +29,8 @@ class GoogleAdsField(proto.Message): type_url: str is_repeated: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/group_placement_view.pyi b/google-stubs/ads/googleads/v13/resources/types/group_placement_view.pyi index 58c635d05..7958b0476 100644 --- a/google-stubs/ads/googleads/v13/resources/types/group_placement_view.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/group_placement_view.pyi @@ -1,9 +1,13 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.placement_type import PlacementTypeEnum +_M = TypeVar("_M") + class GroupPlacementView(proto.Message): resource_name: str placement: str @@ -11,8 +15,8 @@ class GroupPlacementView(proto.Message): target_url: str placement_type: PlacementTypeEnum.PlacementType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/hotel_group_view.pyi b/google-stubs/ads/googleads/v13/resources/types/hotel_group_view.pyi index b6e3a1632..3be6e1810 100644 --- a/google-stubs/ads/googleads/v13/resources/types/hotel_group_view.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/hotel_group_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class HotelGroupView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v13/resources/types/hotel_performance_view.pyi b/google-stubs/ads/googleads/v13/resources/types/hotel_performance_view.pyi index d4dfc2125..e8866b806 100644 --- a/google-stubs/ads/googleads/v13/resources/types/hotel_performance_view.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/hotel_performance_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class HotelPerformanceView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v13/resources/types/hotel_reconciliation.pyi b/google-stubs/ads/googleads/v13/resources/types/hotel_reconciliation.pyi index 6fcfa62d7..3d79ee225 100644 --- a/google-stubs/ads/googleads/v13/resources/types/hotel_reconciliation.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/hotel_reconciliation.pyi @@ -1,11 +1,15 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.hotel_reconciliation_status import ( HotelReconciliationStatusEnum, ) +_M = TypeVar("_M") + class HotelReconciliation(proto.Message): resource_name: str commission_id: str @@ -19,8 +23,8 @@ class HotelReconciliation(proto.Message): billed: bool status: HotelReconciliationStatusEnum.HotelReconciliationStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/income_range_view.pyi b/google-stubs/ads/googleads/v13/resources/types/income_range_view.pyi index cb66892b2..040c44c60 100644 --- a/google-stubs/ads/googleads/v13/resources/types/income_range_view.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/income_range_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class IncomeRangeView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v13/resources/types/invoice.pyi b/google-stubs/ads/googleads/v13/resources/types/invoice.pyi index a1b502d61..809a08424 100644 --- a/google-stubs/ads/googleads/v13/resources/types/invoice.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/invoice.pyi @@ -1,12 +1,15 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.dates import DateRange from google.ads.googleads.v13.enums.types.invoice_type import InvoiceTypeEnum from google.ads.googleads.v13.enums.types.month_of_year import MonthOfYearEnum +_M = TypeVar("_M") + class Invoice(proto.Message): class AccountBudgetSummary(proto.Message): customer: str @@ -24,8 +27,8 @@ class Invoice(proto.Message): invalid_activity_amount_micros: int invalid_activity_summaries: MutableSequence[Invoice.InvalidActivitySummary] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer: str = ..., @@ -64,8 +67,8 @@ class Invoice(proto.Message): tax_amount_micros: int total_amount_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer: str = ..., @@ -94,8 +97,8 @@ class Invoice(proto.Message): original_purchase_order_number: str amount_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., original_month_of_service: MonthOfYearEnum.MonthOfYear = ..., @@ -130,8 +133,8 @@ class Invoice(proto.Message): account_budget_summaries: MutableSequence[Invoice.AccountBudgetSummary] account_summaries: MutableSequence[Invoice.AccountSummary] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/keyword_plan.pyi b/google-stubs/ads/googleads/v13/resources/types/keyword_plan.pyi index 52a82bdc2..160b24a2d 100644 --- a/google-stubs/ads/googleads/v13/resources/types/keyword_plan.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/keyword_plan.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.dates import DateRange @@ -7,14 +9,16 @@ from google.ads.googleads.v13.enums.types.keyword_plan_forecast_interval import KeywordPlanForecastIntervalEnum, ) +_M = TypeVar("_M") + class KeywordPlan(proto.Message): resource_name: str id: int name: str forecast_period: KeywordPlanForecastPeriod def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -27,8 +31,8 @@ class KeywordPlanForecastPeriod(proto.Message): date_interval: KeywordPlanForecastIntervalEnum.KeywordPlanForecastInterval date_range: DateRange def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., date_interval: KeywordPlanForecastIntervalEnum.KeywordPlanForecastInterval = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/keyword_plan_ad_group.pyi b/google-stubs/ads/googleads/v13/resources/types/keyword_plan_ad_group.pyi index 24b16d9a3..e5b927559 100644 --- a/google-stubs/ads/googleads/v13/resources/types/keyword_plan_ad_group.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/keyword_plan_ad_group.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class KeywordPlanAdGroup(proto.Message): resource_name: str keyword_plan_campaign: str @@ -9,8 +13,8 @@ class KeywordPlanAdGroup(proto.Message): name: str cpc_bid_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/keyword_plan_ad_group_keyword.pyi b/google-stubs/ads/googleads/v13/resources/types/keyword_plan_ad_group_keyword.pyi index 888cd0434..5a4db2323 100644 --- a/google-stubs/ads/googleads/v13/resources/types/keyword_plan_ad_group_keyword.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/keyword_plan_ad_group_keyword.pyi @@ -1,9 +1,13 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.keyword_match_type import KeywordMatchTypeEnum +_M = TypeVar("_M") + class KeywordPlanAdGroupKeyword(proto.Message): resource_name: str keyword_plan_ad_group: str @@ -13,8 +17,8 @@ class KeywordPlanAdGroupKeyword(proto.Message): cpc_bid_micros: int negative: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/keyword_plan_campaign.pyi b/google-stubs/ads/googleads/v13/resources/types/keyword_plan_campaign.pyi index 940f61387..8a613cf8f 100644 --- a/google-stubs/ads/googleads/v13/resources/types/keyword_plan_campaign.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/keyword_plan_campaign.pyi @@ -1,12 +1,15 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.keyword_plan_network import ( KeywordPlanNetworkEnum, ) +_M = TypeVar("_M") + class KeywordPlanCampaign(proto.Message): resource_name: str keyword_plan: str @@ -17,8 +20,8 @@ class KeywordPlanCampaign(proto.Message): cpc_bid_micros: int geo_targets: MutableSequence[KeywordPlanGeoTarget] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -34,8 +37,8 @@ class KeywordPlanCampaign(proto.Message): class KeywordPlanGeoTarget(proto.Message): geo_target_constant: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., geo_target_constant: str = ... diff --git a/google-stubs/ads/googleads/v13/resources/types/keyword_plan_campaign_keyword.pyi b/google-stubs/ads/googleads/v13/resources/types/keyword_plan_campaign_keyword.pyi index 4687da6ca..07935d1d0 100644 --- a/google-stubs/ads/googleads/v13/resources/types/keyword_plan_campaign_keyword.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/keyword_plan_campaign_keyword.pyi @@ -1,9 +1,13 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.keyword_match_type import KeywordMatchTypeEnum +_M = TypeVar("_M") + class KeywordPlanCampaignKeyword(proto.Message): resource_name: str keyword_plan_campaign: str @@ -12,8 +16,8 @@ class KeywordPlanCampaignKeyword(proto.Message): match_type: KeywordMatchTypeEnum.KeywordMatchType negative: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/keyword_theme_constant.pyi b/google-stubs/ads/googleads/v13/resources/types/keyword_theme_constant.pyi index 2104253ec..4b8f24f1e 100644 --- a/google-stubs/ads/googleads/v13/resources/types/keyword_theme_constant.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/keyword_theme_constant.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class KeywordThemeConstant(proto.Message): resource_name: str country_code: str language_code: str display_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/keyword_view.pyi b/google-stubs/ads/googleads/v13/resources/types/keyword_view.pyi index a6ed8f2d8..256ecfdbb 100644 --- a/google-stubs/ads/googleads/v13/resources/types/keyword_view.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/keyword_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class KeywordView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v13/resources/types/label.pyi b/google-stubs/ads/googleads/v13/resources/types/label.pyi index 695451d14..1c4a7bf04 100644 --- a/google-stubs/ads/googleads/v13/resources/types/label.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/label.pyi @@ -1,10 +1,14 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.text_label import TextLabel from google.ads.googleads.v13.enums.types.label_status import LabelStatusEnum +_M = TypeVar("_M") + class Label(proto.Message): resource_name: str id: int @@ -12,8 +16,8 @@ class Label(proto.Message): status: LabelStatusEnum.LabelStatus text_label: TextLabel def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/landing_page_view.pyi b/google-stubs/ads/googleads/v13/resources/types/landing_page_view.pyi index b2752128d..e3f799e12 100644 --- a/google-stubs/ads/googleads/v13/resources/types/landing_page_view.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/landing_page_view.pyi @@ -1,13 +1,17 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LandingPageView(proto.Message): resource_name: str unexpanded_final_url: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/language_constant.pyi b/google-stubs/ads/googleads/v13/resources/types/language_constant.pyi index cb762b073..721b4ff92 100644 --- a/google-stubs/ads/googleads/v13/resources/types/language_constant.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/language_constant.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LanguageConstant(proto.Message): resource_name: str id: int @@ -9,8 +13,8 @@ class LanguageConstant(proto.Message): name: str targetable: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/lead_form_submission_data.pyi b/google-stubs/ads/googleads/v13/resources/types/lead_form_submission_data.pyi index 6868f49b4..b76d44db6 100644 --- a/google-stubs/ads/googleads/v13/resources/types/lead_form_submission_data.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/lead_form_submission_data.pyi @@ -1,18 +1,21 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.lead_form_field_user_input_type import ( LeadFormFieldUserInputTypeEnum, ) +_M = TypeVar("_M") + class CustomLeadFormSubmissionField(proto.Message): question_text: str field_value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., question_text: str = ..., @@ -31,8 +34,8 @@ class LeadFormSubmissionData(proto.Message): gclid: str submission_date_time: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -53,8 +56,8 @@ class LeadFormSubmissionField(proto.Message): field_type: LeadFormFieldUserInputTypeEnum.LeadFormFieldUserInputType field_value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., field_type: LeadFormFieldUserInputTypeEnum.LeadFormFieldUserInputType = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/life_event.pyi b/google-stubs/ads/googleads/v13/resources/types/life_event.pyi index 22dfcd291..6092c67f6 100644 --- a/google-stubs/ads/googleads/v13/resources/types/life_event.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/life_event.pyi @@ -1,12 +1,15 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.criterion_category_availability import ( CriterionCategoryAvailability, ) +_M = TypeVar("_M") + class LifeEvent(proto.Message): resource_name: str id: int @@ -15,8 +18,8 @@ class LifeEvent(proto.Message): launched_to_all: bool availabilities: MutableSequence[CriterionCategoryAvailability] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/location_view.pyi b/google-stubs/ads/googleads/v13/resources/types/location_view.pyi index a250dd34d..5aa3c843b 100644 --- a/google-stubs/ads/googleads/v13/resources/types/location_view.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/location_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LocationView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v13/resources/types/managed_placement_view.pyi b/google-stubs/ads/googleads/v13/resources/types/managed_placement_view.pyi index 07e369bf6..fc77870c2 100644 --- a/google-stubs/ads/googleads/v13/resources/types/managed_placement_view.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/managed_placement_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ManagedPlacementView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v13/resources/types/media_file.pyi b/google-stubs/ads/googleads/v13/resources/types/media_file.pyi index 0e9dad42d..c8b059d1d 100644 --- a/google-stubs/ads/googleads/v13/resources/types/media_file.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/media_file.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.media_type import MediaTypeEnum from google.ads.googleads.v13.enums.types.mime_type import MimeTypeEnum +_M = TypeVar("_M") + class MediaAudio(proto.Message): ad_duration_millis: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad_duration_millis: int = ... @@ -19,8 +23,8 @@ class MediaBundle(proto.Message): data: bytes url: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., data: bytes = ..., @@ -40,8 +44,8 @@ class MediaFile(proto.Message): audio: MediaAudio video: MediaVideo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -62,8 +66,8 @@ class MediaImage(proto.Message): full_size_image_url: str preview_size_image_url: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., data: bytes = ..., @@ -77,8 +81,8 @@ class MediaVideo(proto.Message): advertising_id_code: str isci_code: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad_duration_millis: int = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/merchant_center_link.pyi b/google-stubs/ads/googleads/v13/resources/types/merchant_center_link.pyi index 1671300f7..b5ddd8ee0 100644 --- a/google-stubs/ads/googleads/v13/resources/types/merchant_center_link.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/merchant_center_link.pyi @@ -1,19 +1,23 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.merchant_center_link_status import ( MerchantCenterLinkStatusEnum, ) +_M = TypeVar("_M") + class MerchantCenterLink(proto.Message): resource_name: str id: int merchant_center_account_name: str status: MerchantCenterLinkStatusEnum.MerchantCenterLinkStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/mobile_app_category_constant.pyi b/google-stubs/ads/googleads/v13/resources/types/mobile_app_category_constant.pyi index 8836379a5..56a525d7d 100644 --- a/google-stubs/ads/googleads/v13/resources/types/mobile_app_category_constant.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/mobile_app_category_constant.pyi @@ -1,14 +1,18 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MobileAppCategoryConstant(proto.Message): resource_name: str id: int name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/mobile_device_constant.pyi b/google-stubs/ads/googleads/v13/resources/types/mobile_device_constant.pyi index aae85bccd..62fdd24dc 100644 --- a/google-stubs/ads/googleads/v13/resources/types/mobile_device_constant.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/mobile_device_constant.pyi @@ -1,9 +1,13 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.mobile_device_type import MobileDeviceTypeEnum +_M = TypeVar("_M") + class MobileDeviceConstant(proto.Message): resource_name: str id: int @@ -12,8 +16,8 @@ class MobileDeviceConstant(proto.Message): operating_system_name: str type_: MobileDeviceTypeEnum.MobileDeviceType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/offline_user_data_job.pyi b/google-stubs/ads/googleads/v13/resources/types/offline_user_data_job.pyi index 900cfc0c5..bf39dcc4c 100644 --- a/google-stubs/ads/googleads/v13/resources/types/offline_user_data_job.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/offline_user_data_job.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.offline_user_data import ( @@ -19,6 +21,8 @@ from google.ads.googleads.v13.enums.types.offline_user_data_job_type import ( OfflineUserDataJobTypeEnum, ) +_M = TypeVar("_M") + class OfflineUserDataJob(proto.Message): resource_name: str id: int @@ -30,8 +34,8 @@ class OfflineUserDataJob(proto.Message): customer_match_user_list_metadata: CustomerMatchUserListMetadata store_sales_metadata: StoreSalesMetadata def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -48,8 +52,8 @@ class OfflineUserDataJob(proto.Message): class OfflineUserDataJobMetadata(proto.Message): match_rate_range: OfflineUserDataJobMatchRateRangeEnum.OfflineUserDataJobMatchRateRange def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., match_rate_range: OfflineUserDataJobMatchRateRangeEnum.OfflineUserDataJobMatchRateRange = ... diff --git a/google-stubs/ads/googleads/v13/resources/types/operating_system_version_constant.pyi b/google-stubs/ads/googleads/v13/resources/types/operating_system_version_constant.pyi index 487eb41a9..f372e6cac 100644 --- a/google-stubs/ads/googleads/v13/resources/types/operating_system_version_constant.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/operating_system_version_constant.pyi @@ -1,11 +1,15 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.operating_system_version_operator_type import ( OperatingSystemVersionOperatorTypeEnum, ) +_M = TypeVar("_M") + class OperatingSystemVersionConstant(proto.Message): resource_name: str id: int @@ -14,8 +18,8 @@ class OperatingSystemVersionConstant(proto.Message): os_minor_version: int operator_type: OperatingSystemVersionOperatorTypeEnum.OperatingSystemVersionOperatorType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/paid_organic_search_term_view.pyi b/google-stubs/ads/googleads/v13/resources/types/paid_organic_search_term_view.pyi index 2c16a0c38..75021aa0d 100644 --- a/google-stubs/ads/googleads/v13/resources/types/paid_organic_search_term_view.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/paid_organic_search_term_view.pyi @@ -1,13 +1,17 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PaidOrganicSearchTermView(proto.Message): resource_name: str search_term: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/parental_status_view.pyi b/google-stubs/ads/googleads/v13/resources/types/parental_status_view.pyi index 62706fb8a..519486ee9 100644 --- a/google-stubs/ads/googleads/v13/resources/types/parental_status_view.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/parental_status_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ParentalStatusView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v13/resources/types/payments_account.pyi b/google-stubs/ads/googleads/v13/resources/types/payments_account.pyi index 4c86dd996..05a72c828 100644 --- a/google-stubs/ads/googleads/v13/resources/types/payments_account.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/payments_account.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PaymentsAccount(proto.Message): resource_name: str payments_account_id: str @@ -11,8 +15,8 @@ class PaymentsAccount(proto.Message): secondary_payments_profile_id: str paying_manager_customer: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/per_store_view.pyi b/google-stubs/ads/googleads/v13/resources/types/per_store_view.pyi index 6bd1c396a..4620611b3 100644 --- a/google-stubs/ads/googleads/v13/resources/types/per_store_view.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/per_store_view.pyi @@ -1,13 +1,17 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PerStoreView(proto.Message): resource_name: str place_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/product_bidding_category_constant.pyi b/google-stubs/ads/googleads/v13/resources/types/product_bidding_category_constant.pyi index 8a976078b..f999b4b79 100644 --- a/google-stubs/ads/googleads/v13/resources/types/product_bidding_category_constant.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/product_bidding_category_constant.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.product_bidding_category_level import ( @@ -9,6 +11,8 @@ from google.ads.googleads.v13.enums.types.product_bidding_category_status import ProductBiddingCategoryStatusEnum, ) +_M = TypeVar("_M") + class ProductBiddingCategoryConstant(proto.Message): resource_name: str id: int @@ -19,8 +23,8 @@ class ProductBiddingCategoryConstant(proto.Message): language_code: str localized_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/product_group_view.pyi b/google-stubs/ads/googleads/v13/resources/types/product_group_view.pyi index 6f82f4f65..3b358fcb9 100644 --- a/google-stubs/ads/googleads/v13/resources/types/product_group_view.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/product_group_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ProductGroupView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v13/resources/types/product_link.pyi b/google-stubs/ads/googleads/v13/resources/types/product_link.pyi index bc0be41db..f4a30879d 100644 --- a/google-stubs/ads/googleads/v13/resources/types/product_link.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/product_link.pyi @@ -1,16 +1,20 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.linked_product_type import ( LinkedProductTypeEnum, ) +_M = TypeVar("_M") + class DataPartnerIdentifier(proto.Message): data_partner_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., data_partner_id: int = ... @@ -19,8 +23,8 @@ class DataPartnerIdentifier(proto.Message): class GoogleAdsIdentifier(proto.Message): customer: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer: str = ... @@ -33,8 +37,8 @@ class ProductLink(proto.Message): data_partner: DataPartnerIdentifier google_ads: GoogleAdsIdentifier def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/qualifying_question.pyi b/google-stubs/ads/googleads/v13/resources/types/qualifying_question.pyi index ec2eec511..091d623b0 100644 --- a/google-stubs/ads/googleads/v13/resources/types/qualifying_question.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/qualifying_question.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class QualifyingQuestion(proto.Message): resource_name: str qualifying_question_id: int locale: str text: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/recommendation.pyi b/google-stubs/ads/googleads/v13/resources/types/recommendation.pyi index 4af09c8e0..da1251072 100644 --- a/google-stubs/ads/googleads/v13/resources/types/recommendation.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/recommendation.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.criteria import KeywordInfo @@ -17,11 +18,13 @@ from google.ads.googleads.v13.enums.types.target_cpa_opt_in_recommendation_goal from google.ads.googleads.v13.resources.types.ad import Ad from google.ads.googleads.v13.resources.types.asset import Asset +_M = TypeVar("_M") + class Recommendation(proto.Message): class CallAssetRecommendation(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -31,8 +34,8 @@ class Recommendation(proto.Message): recommended_campaign_callout_assets: MutableSequence[Asset] recommended_customer_callout_assets: MutableSequence[Asset] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., recommended_campaign_callout_assets: MutableSequence[Asset] = ..., @@ -44,8 +47,8 @@ class Recommendation(proto.Message): recommended_new_amount_micros: int new_start_date: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., current_amount_micros: int = ..., @@ -58,8 +61,8 @@ class Recommendation(proto.Message): budget_amount_micros: int impact: Recommendation.RecommendationImpact def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., budget_amount_micros: int = ..., @@ -71,8 +74,8 @@ class Recommendation(proto.Message): Recommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOption ] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., current_budget_amount_micros: int = ..., @@ -84,8 +87,8 @@ class Recommendation(proto.Message): class DisplayExpansionOptInRecommendation(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -93,8 +96,8 @@ class Recommendation(proto.Message): class EnhancedCpcOptInRecommendation(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -104,8 +107,8 @@ class Recommendation(proto.Message): recommended_target_roas: float campaign_budget: Recommendation.CampaignBudget def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., recommended_target_roas: float = ..., @@ -116,8 +119,8 @@ class Recommendation(proto.Message): keyword: KeywordInfo recommended_match_type: KeywordMatchTypeEnum.KeywordMatchType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., keyword: KeywordInfo = ..., @@ -128,8 +131,8 @@ class Recommendation(proto.Message): keyword: KeywordInfo recommended_cpc_bid_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., keyword: KeywordInfo = ..., @@ -139,8 +142,8 @@ class Recommendation(proto.Message): class MaximizeClicksOptInRecommendation(proto.Message): recommended_budget_amount_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., recommended_budget_amount_micros: int = ..., @@ -149,8 +152,8 @@ class Recommendation(proto.Message): class MaximizeConversionsOptInRecommendation(proto.Message): recommended_budget_amount_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., recommended_budget_amount_micros: int = ..., @@ -161,8 +164,8 @@ class Recommendation(proto.Message): name: str multi_client: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., id: int = ..., @@ -174,8 +177,8 @@ class Recommendation(proto.Message): excess_campaign_budget: str budget_recommendation: Recommendation.CampaignBudgetRecommendation def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., excess_campaign_budget: str = ..., @@ -184,8 +187,8 @@ class Recommendation(proto.Message): class OptimizeAdRotationRecommendation(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -195,8 +198,8 @@ class Recommendation(proto.Message): recommended_target_multiplier: float average_target_cpa_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., recommended_target_multiplier: float = ..., @@ -207,8 +210,8 @@ class Recommendation(proto.Message): base_metrics: Recommendation.RecommendationMetrics potential_metrics: Recommendation.RecommendationMetrics def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., base_metrics: Recommendation.RecommendationMetrics = ..., @@ -222,8 +225,8 @@ class Recommendation(proto.Message): conversions: float video_views: float def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., impressions: float = ..., @@ -236,8 +239,8 @@ class Recommendation(proto.Message): class ResponsiveSearchAdAssetRecommendation(proto.Message): recommended_assets: Ad def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., recommended_assets: Ad = ..., @@ -247,8 +250,8 @@ class Recommendation(proto.Message): current_ad: Ad recommended_ad: Ad def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., current_ad: Ad = ..., @@ -258,8 +261,8 @@ class Recommendation(proto.Message): class ResponsiveSearchAdRecommendation(proto.Message): ad: Ad def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad: Ad = ..., @@ -267,8 +270,8 @@ class Recommendation(proto.Message): class SearchPartnersOptInRecommendation(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -279,8 +282,8 @@ class Recommendation(proto.Message): feed_label: str reason: ShoppingAddProductsToCampaignRecommendationEnum.Reason def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., merchant: Recommendation.MerchantInfo = ..., @@ -294,8 +297,8 @@ class Recommendation(proto.Message): products_count: int disapproved_products_count: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., merchant: Recommendation.MerchantInfo = ..., @@ -308,8 +311,8 @@ class Recommendation(proto.Message): merchant: Recommendation.MerchantInfo feed_label: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., merchant: Recommendation.MerchantInfo = ..., @@ -322,8 +325,8 @@ class Recommendation(proto.Message): merchant: Recommendation.MerchantInfo feed_label: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., merchant: Recommendation.MerchantInfo = ..., @@ -336,8 +339,8 @@ class Recommendation(proto.Message): offers_count: int demoted_offers_count: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., merchant: Recommendation.MerchantInfo = ..., @@ -351,8 +354,8 @@ class Recommendation(proto.Message): untargeted_offers_count: int feed_label: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., merchant: Recommendation.MerchantInfo = ..., @@ -364,8 +367,8 @@ class Recommendation(proto.Message): recommended_campaign_sitelink_assets: MutableSequence[Asset] recommended_customer_sitelink_assets: MutableSequence[Asset] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., recommended_campaign_sitelink_assets: MutableSequence[Asset] = ..., @@ -379,8 +382,8 @@ class Recommendation(proto.Message): required_campaign_budget_amount_micros: int impact: Recommendation.RecommendationImpact def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., goal: TargetCpaOptInRecommendationGoalEnum.TargetCpaOptInRecommendationGoal = ..., @@ -393,8 +396,8 @@ class Recommendation(proto.Message): ] recommended_target_cpa_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., options: MutableSequence[ @@ -407,8 +410,8 @@ class Recommendation(proto.Message): recommended_target_roas: float required_campaign_budget_amount_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., recommended_target_roas: float = ..., @@ -420,8 +423,8 @@ class Recommendation(proto.Message): creation_date: str auto_apply_date: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad: Ad = ..., @@ -431,8 +434,8 @@ class Recommendation(proto.Message): class UpgradeLocalCampaignToPerformanceMaxRecommendation(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -442,8 +445,8 @@ class Recommendation(proto.Message): merchant_id: int sales_country_code: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., merchant_id: int = ..., @@ -457,8 +460,8 @@ class Recommendation(proto.Message): campaign_uses_shared_budget: bool required_campaign_budget_amount_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., keyword: MutableSequence[KeywordInfo] = ..., @@ -514,8 +517,8 @@ class Recommendation(proto.Message): shopping_fix_merchant_center_account_suspension_warning_recommendation: Recommendation.ShoppingMerchantCenterAccountSuspensionRecommendation shopping_migrate_regular_shopping_campaign_offers_to_performance_max_recommendation: Recommendation.ShoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/remarketing_action.pyi b/google-stubs/ads/googleads/v13/resources/types/remarketing_action.pyi index 275d257a1..8433cb185 100644 --- a/google-stubs/ads/googleads/v13/resources/types/remarketing_action.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/remarketing_action.pyi @@ -1,18 +1,21 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.tag_snippet import TagSnippet +_M = TypeVar("_M") + class RemarketingAction(proto.Message): resource_name: str id: int name: str tag_snippets: MutableSequence[TagSnippet] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/search_term_view.pyi b/google-stubs/ads/googleads/v13/resources/types/search_term_view.pyi index 8a737583f..33bc7ba61 100644 --- a/google-stubs/ads/googleads/v13/resources/types/search_term_view.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/search_term_view.pyi @@ -1,19 +1,23 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.search_term_targeting_status import ( SearchTermTargetingStatusEnum, ) +_M = TypeVar("_M") + class SearchTermView(proto.Message): resource_name: str search_term: str ad_group: str status: SearchTermTargetingStatusEnum.SearchTermTargetingStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/shared_criterion.pyi b/google-stubs/ads/googleads/v13/resources/types/shared_criterion.pyi index b1bb7d1cb..554ef88b6 100644 --- a/google-stubs/ads/googleads/v13/resources/types/shared_criterion.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/shared_criterion.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.criteria import ( @@ -12,6 +14,8 @@ from google.ads.googleads.v13.common.types.criteria import ( ) from google.ads.googleads.v13.enums.types.criterion_type import CriterionTypeEnum +_M = TypeVar("_M") + class SharedCriterion(proto.Message): resource_name: str shared_set: str @@ -24,8 +28,8 @@ class SharedCriterion(proto.Message): mobile_app_category: MobileAppCategoryInfo mobile_application: MobileApplicationInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/shared_set.pyi b/google-stubs/ads/googleads/v13/resources/types/shared_set.pyi index 79df4d027..f0671adcd 100644 --- a/google-stubs/ads/googleads/v13/resources/types/shared_set.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/shared_set.pyi @@ -1,10 +1,14 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.shared_set_status import SharedSetStatusEnum from google.ads.googleads.v13.enums.types.shared_set_type import SharedSetTypeEnum +_M = TypeVar("_M") + class SharedSet(proto.Message): resource_name: str id: int @@ -14,8 +18,8 @@ class SharedSet(proto.Message): member_count: int reference_count: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/shopping_performance_view.pyi b/google-stubs/ads/googleads/v13/resources/types/shopping_performance_view.pyi index 1e8af2db1..f55bfd55b 100644 --- a/google-stubs/ads/googleads/v13/resources/types/shopping_performance_view.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/shopping_performance_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ShoppingPerformanceView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v13/resources/types/smart_campaign_search_term_view.pyi b/google-stubs/ads/googleads/v13/resources/types/smart_campaign_search_term_view.pyi index 63341d65f..10365a45f 100644 --- a/google-stubs/ads/googleads/v13/resources/types/smart_campaign_search_term_view.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/smart_campaign_search_term_view.pyi @@ -1,14 +1,18 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SmartCampaignSearchTermView(proto.Message): resource_name: str search_term: str campaign: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/smart_campaign_setting.pyi b/google-stubs/ads/googleads/v13/resources/types/smart_campaign_setting.pyi index 255bdd553..30069da4b 100644 --- a/google-stubs/ads/googleads/v13/resources/types/smart_campaign_setting.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/smart_campaign_setting.pyi @@ -1,13 +1,17 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SmartCampaignSetting(proto.Message): class AdOptimizedBusinessProfileSetting(proto.Message): include_lead_form: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., include_lead_form: bool = ... @@ -17,8 +21,8 @@ class SmartCampaignSetting(proto.Message): phone_number: str country_code: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., phone_number: str = ..., @@ -33,8 +37,8 @@ class SmartCampaignSetting(proto.Message): business_name: str business_profile_location: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/third_party_app_analytics_link.pyi b/google-stubs/ads/googleads/v13/resources/types/third_party_app_analytics_link.pyi index d941e0a11..cfd2fba3f 100644 --- a/google-stubs/ads/googleads/v13/resources/types/third_party_app_analytics_link.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/third_party_app_analytics_link.pyi @@ -1,13 +1,17 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ThirdPartyAppAnalyticsLink(proto.Message): resource_name: str shareable_link_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/topic_constant.pyi b/google-stubs/ads/googleads/v13/resources/types/topic_constant.pyi index a8978f2f9..48e7d23b4 100644 --- a/google-stubs/ads/googleads/v13/resources/types/topic_constant.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/topic_constant.pyi @@ -1,16 +1,19 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class TopicConstant(proto.Message): resource_name: str id: int topic_constant_parent: str path: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/topic_view.pyi b/google-stubs/ads/googleads/v13/resources/types/topic_view.pyi index 9c0ce6219..b1f5f932e 100644 --- a/google-stubs/ads/googleads/v13/resources/types/topic_view.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/topic_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class TopicView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v13/resources/types/travel_activity_group_view.pyi b/google-stubs/ads/googleads/v13/resources/types/travel_activity_group_view.pyi index c866aac4c..f7f3526a7 100644 --- a/google-stubs/ads/googleads/v13/resources/types/travel_activity_group_view.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/travel_activity_group_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class TravelActivityGroupView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v13/resources/types/travel_activity_performance_view.pyi b/google-stubs/ads/googleads/v13/resources/types/travel_activity_performance_view.pyi index 121c4d458..147bf6301 100644 --- a/google-stubs/ads/googleads/v13/resources/types/travel_activity_performance_view.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/travel_activity_performance_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class TravelActivityPerformanceView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v13/resources/types/user_interest.pyi b/google-stubs/ads/googleads/v13/resources/types/user_interest.pyi index c1508427e..7faaa8ac1 100644 --- a/google-stubs/ads/googleads/v13/resources/types/user_interest.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/user_interest.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.criterion_category_availability import ( @@ -10,6 +11,8 @@ from google.ads.googleads.v13.enums.types.user_interest_taxonomy_type import ( UserInterestTaxonomyTypeEnum, ) +_M = TypeVar("_M") + class UserInterest(proto.Message): resource_name: str taxonomy_type: UserInterestTaxonomyTypeEnum.UserInterestTaxonomyType @@ -19,8 +22,8 @@ class UserInterest(proto.Message): launched_to_all: bool availabilities: MutableSequence[CriterionCategoryAvailability] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/user_list.pyi b/google-stubs/ads/googleads/v13/resources/types/user_list.pyi index b0c82e86d..c0fcf0bbb 100644 --- a/google-stubs/ads/googleads/v13/resources/types/user_list.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/user_list.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.user_lists import ( @@ -24,6 +26,8 @@ from google.ads.googleads.v13.enums.types.user_list_size_range import ( ) from google.ads.googleads.v13.enums.types.user_list_type import UserListTypeEnum +_M = TypeVar("_M") + class UserList(proto.Message): resource_name: str id: int @@ -50,8 +54,8 @@ class UserList(proto.Message): logical_user_list: LogicalUserListInfo basic_user_list: BasicUserListInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/user_location_view.pyi b/google-stubs/ads/googleads/v13/resources/types/user_location_view.pyi index ece0a7d91..4093d91b2 100644 --- a/google-stubs/ads/googleads/v13/resources/types/user_location_view.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/user_location_view.pyi @@ -1,14 +1,18 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserLocationView(proto.Message): resource_name: str country_criterion_id: int targeting_location: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/video.pyi b/google-stubs/ads/googleads/v13/resources/types/video.pyi index 1bca0c3d3..92cce03dd 100644 --- a/google-stubs/ads/googleads/v13/resources/types/video.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/video.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class Video(proto.Message): resource_name: str id: str @@ -9,8 +13,8 @@ class Video(proto.Message): duration_millis: int title: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/resources/types/webpage_view.pyi b/google-stubs/ads/googleads/v13/resources/types/webpage_view.pyi index 4fee73d99..515d03ed9 100644 --- a/google-stubs/ads/googleads/v13/resources/types/webpage_view.pyi +++ b/google-stubs/ads/googleads/v13/resources/types/webpage_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class WebpageView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v13/services/types/account_budget_proposal_service.pyi b/google-stubs/ads/googleads/v13/services/types/account_budget_proposal_service.pyi index 5e84ac703..245088070 100644 --- a/google-stubs/ads/googleads/v13/services/types/account_budget_proposal_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/account_budget_proposal_service.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask @@ -7,13 +9,15 @@ from google.ads.googleads.v13.resources.types.account_budget_proposal import ( AccountBudgetProposal, ) +_M = TypeVar("_M") + class AccountBudgetProposalOperation(proto.Message): update_mask: FieldMask create: AccountBudgetProposal remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -26,8 +30,8 @@ class MutateAccountBudgetProposalRequest(proto.Message): operation: AccountBudgetProposalOperation validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -38,8 +42,8 @@ class MutateAccountBudgetProposalRequest(proto.Message): class MutateAccountBudgetProposalResponse(proto.Message): result: MutateAccountBudgetProposalResult def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., result: MutateAccountBudgetProposalResult = ... @@ -48,8 +52,8 @@ class MutateAccountBudgetProposalResponse(proto.Message): class MutateAccountBudgetProposalResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v13/services/types/account_link_service.pyi b/google-stubs/ads/googleads/v13/services/types/account_link_service.pyi index 45e85ce8a..6fca4df51 100644 --- a/google-stubs/ads/googleads/v13/services/types/account_link_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/account_link_service.pyi @@ -1,18 +1,22 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status from google.ads.googleads.v13.resources.types.account_link import AccountLink +_M = TypeVar("_M") + class AccountLinkOperation(proto.Message): update_mask: FieldMask update: AccountLink remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -24,8 +28,8 @@ class CreateAccountLinkRequest(proto.Message): customer_id: str account_link: AccountLink def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -35,8 +39,8 @@ class CreateAccountLinkRequest(proto.Message): class CreateAccountLinkResponse(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -48,8 +52,8 @@ class MutateAccountLinkRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -62,8 +66,8 @@ class MutateAccountLinkResponse(proto.Message): result: MutateAccountLinkResult partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., result: MutateAccountLinkResult = ..., @@ -73,8 +77,8 @@ class MutateAccountLinkResponse(proto.Message): class MutateAccountLinkResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v13/services/types/ad_group_ad_label_service.pyi b/google-stubs/ads/googleads/v13/services/types/ad_group_ad_label_service.pyi index 3d0644ed6..a15d54e77 100644 --- a/google-stubs/ads/googleads/v13/services/types/ad_group_ad_label_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/ad_group_ad_label_service.pyi @@ -1,17 +1,20 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status from google.ads.googleads.v13.resources.types.ad_group_ad_label import AdGroupAdLabel +_M = TypeVar("_M") + class AdGroupAdLabelOperation(proto.Message): create: AdGroupAdLabel remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: AdGroupAdLabel = ..., @@ -21,8 +24,8 @@ class AdGroupAdLabelOperation(proto.Message): class MutateAdGroupAdLabelResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -34,8 +37,8 @@ class MutateAdGroupAdLabelsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -48,8 +51,8 @@ class MutateAdGroupAdLabelsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateAdGroupAdLabelResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/ad_group_ad_service.pyi b/google-stubs/ads/googleads/v13/services/types/ad_group_ad_service.pyi index 988203719..9a32b7a1d 100644 --- a/google-stubs/ads/googleads/v13/services/types/ad_group_ad_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/ad_group_ad_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -11,6 +12,8 @@ from google.ads.googleads.v13.enums.types.response_content_type import ( ) from google.ads.googleads.v13.resources.types.ad_group_ad import AdGroupAd +_M = TypeVar("_M") + class AdGroupAdOperation(proto.Message): update_mask: FieldMask policy_validation_parameter: PolicyValidationParameter @@ -18,8 +21,8 @@ class AdGroupAdOperation(proto.Message): update: AdGroupAd remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -33,8 +36,8 @@ class MutateAdGroupAdResult(proto.Message): resource_name: str ad_group_ad: AdGroupAd def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -48,8 +51,8 @@ class MutateAdGroupAdsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -63,8 +66,8 @@ class MutateAdGroupAdsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateAdGroupAdResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/ad_group_asset_service.pyi b/google-stubs/ads/googleads/v13/services/types/ad_group_asset_service.pyi index 9b038c685..4920551f2 100644 --- a/google-stubs/ads/googleads/v13/services/types/ad_group_asset_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/ad_group_asset_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v13.enums.types.response_content_type import ( ) from google.ads.googleads.v13.resources.types.ad_group_asset import AdGroupAsset +_M = TypeVar("_M") + class AdGroupAssetOperation(proto.Message): update_mask: FieldMask create: AdGroupAsset update: AdGroupAsset remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateAdGroupAssetResult(proto.Message): resource_name: str ad_group_asset: AdGroupAsset def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateAdGroupAssetsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateAdGroupAssetsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateAdGroupAssetResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/ad_group_asset_set_service.pyi b/google-stubs/ads/googleads/v13/services/types/ad_group_asset_set_service.pyi index 1f6d06f4f..7bfa8a439 100644 --- a/google-stubs/ads/googleads/v13/services/types/ad_group_asset_set_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/ad_group_asset_set_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -9,12 +10,14 @@ from google.ads.googleads.v13.enums.types.response_content_type import ( ) from google.ads.googleads.v13.resources.types.ad_group_asset_set import AdGroupAssetSet +_M = TypeVar("_M") + class AdGroupAssetSetOperation(proto.Message): create: AdGroupAssetSet remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: AdGroupAssetSet = ..., @@ -25,8 +28,8 @@ class MutateAdGroupAssetSetResult(proto.Message): resource_name: str ad_group_asset_set: AdGroupAssetSet def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -40,8 +43,8 @@ class MutateAdGroupAssetSetsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -55,8 +58,8 @@ class MutateAdGroupAssetSetsResponse(proto.Message): results: MutableSequence[MutateAdGroupAssetSetResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateAdGroupAssetSetResult] = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/ad_group_bid_modifier_service.pyi b/google-stubs/ads/googleads/v13/services/types/ad_group_bid_modifier_service.pyi index 79ec58605..8542b76e8 100644 --- a/google-stubs/ads/googleads/v13/services/types/ad_group_bid_modifier_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/ad_group_bid_modifier_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -12,14 +13,16 @@ from google.ads.googleads.v13.resources.types.ad_group_bid_modifier import ( AdGroupBidModifier, ) +_M = TypeVar("_M") + class AdGroupBidModifierOperation(proto.Message): update_mask: FieldMask create: AdGroupBidModifier update: AdGroupBidModifier remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -32,8 +35,8 @@ class MutateAdGroupBidModifierResult(proto.Message): resource_name: str ad_group_bid_modifier: AdGroupBidModifier def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -47,8 +50,8 @@ class MutateAdGroupBidModifiersRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -62,8 +65,8 @@ class MutateAdGroupBidModifiersResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateAdGroupBidModifierResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/ad_group_criterion_customizer_service.pyi b/google-stubs/ads/googleads/v13/services/types/ad_group_criterion_customizer_service.pyi index 6383c50f2..70c09e90d 100644 --- a/google-stubs/ads/googleads/v13/services/types/ad_group_criterion_customizer_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/ad_group_criterion_customizer_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -11,12 +12,14 @@ from google.ads.googleads.v13.resources.types.ad_group_criterion_customizer impo AdGroupCriterionCustomizer, ) +_M = TypeVar("_M") + class AdGroupCriterionCustomizerOperation(proto.Message): create: AdGroupCriterionCustomizer remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: AdGroupCriterionCustomizer = ..., @@ -27,8 +30,8 @@ class MutateAdGroupCriterionCustomizerResult(proto.Message): resource_name: str ad_group_criterion_customizer: AdGroupCriterionCustomizer def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -42,8 +45,8 @@ class MutateAdGroupCriterionCustomizersRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -57,8 +60,8 @@ class MutateAdGroupCriterionCustomizersResponse(proto.Message): results: MutableSequence[MutateAdGroupCriterionCustomizerResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateAdGroupCriterionCustomizerResult] = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/ad_group_criterion_label_service.pyi b/google-stubs/ads/googleads/v13/services/types/ad_group_criterion_label_service.pyi index 92017d8c4..e8dccce3a 100644 --- a/google-stubs/ads/googleads/v13/services/types/ad_group_criterion_label_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/ad_group_criterion_label_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -8,12 +9,14 @@ from google.ads.googleads.v13.resources.types.ad_group_criterion_label import ( AdGroupCriterionLabel, ) +_M = TypeVar("_M") + class AdGroupCriterionLabelOperation(proto.Message): create: AdGroupCriterionLabel remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: AdGroupCriterionLabel = ..., @@ -23,8 +26,8 @@ class AdGroupCriterionLabelOperation(proto.Message): class MutateAdGroupCriterionLabelResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -36,8 +39,8 @@ class MutateAdGroupCriterionLabelsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -50,8 +53,8 @@ class MutateAdGroupCriterionLabelsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateAdGroupCriterionLabelResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/ad_group_criterion_service.pyi b/google-stubs/ads/googleads/v13/services/types/ad_group_criterion_service.pyi index bf1c3ae76..6a592a70a 100644 --- a/google-stubs/ads/googleads/v13/services/types/ad_group_criterion_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/ad_group_criterion_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -11,6 +12,8 @@ from google.ads.googleads.v13.enums.types.response_content_type import ( ) from google.ads.googleads.v13.resources.types.ad_group_criterion import AdGroupCriterion +_M = TypeVar("_M") + class AdGroupCriterionOperation(proto.Message): update_mask: FieldMask exempt_policy_violation_keys: MutableSequence[PolicyViolationKey] @@ -18,8 +21,8 @@ class AdGroupCriterionOperation(proto.Message): update: AdGroupCriterion remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -36,8 +39,8 @@ class MutateAdGroupCriteriaRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -51,8 +54,8 @@ class MutateAdGroupCriteriaResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateAdGroupCriterionResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -63,8 +66,8 @@ class MutateAdGroupCriterionResult(proto.Message): resource_name: str ad_group_criterion: AdGroupCriterion def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/ad_group_customizer_service.pyi b/google-stubs/ads/googleads/v13/services/types/ad_group_customizer_service.pyi index 635bfc37d..ed10902e2 100644 --- a/google-stubs/ads/googleads/v13/services/types/ad_group_customizer_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/ad_group_customizer_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -11,12 +12,14 @@ from google.ads.googleads.v13.resources.types.ad_group_customizer import ( AdGroupCustomizer, ) +_M = TypeVar("_M") + class AdGroupCustomizerOperation(proto.Message): create: AdGroupCustomizer remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: AdGroupCustomizer = ..., @@ -27,8 +30,8 @@ class MutateAdGroupCustomizerResult(proto.Message): resource_name: str ad_group_customizer: AdGroupCustomizer def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -42,8 +45,8 @@ class MutateAdGroupCustomizersRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -57,8 +60,8 @@ class MutateAdGroupCustomizersResponse(proto.Message): results: MutableSequence[MutateAdGroupCustomizerResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateAdGroupCustomizerResult] = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/ad_group_extension_setting_service.pyi b/google-stubs/ads/googleads/v13/services/types/ad_group_extension_setting_service.pyi index 25f4a3430..f32e634bb 100644 --- a/google-stubs/ads/googleads/v13/services/types/ad_group_extension_setting_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/ad_group_extension_setting_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -12,6 +13,8 @@ from google.ads.googleads.v13.resources.types.ad_group_extension_setting import AdGroupExtensionSetting, ) +_M = TypeVar("_M") + class AdGroupExtensionSettingOperation(proto.Message): update_mask: FieldMask response_content_type: ResponseContentTypeEnum.ResponseContentType @@ -19,8 +22,8 @@ class AdGroupExtensionSettingOperation(proto.Message): update: AdGroupExtensionSetting remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -34,8 +37,8 @@ class MutateAdGroupExtensionSettingResult(proto.Message): resource_name: str ad_group_extension_setting: AdGroupExtensionSetting def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -48,8 +51,8 @@ class MutateAdGroupExtensionSettingsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -62,8 +65,8 @@ class MutateAdGroupExtensionSettingsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateAdGroupExtensionSettingResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/ad_group_feed_service.pyi b/google-stubs/ads/googleads/v13/services/types/ad_group_feed_service.pyi index 641974658..356708d9d 100644 --- a/google-stubs/ads/googleads/v13/services/types/ad_group_feed_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/ad_group_feed_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v13.enums.types.response_content_type import ( ) from google.ads.googleads.v13.resources.types.ad_group_feed import AdGroupFeed +_M = TypeVar("_M") + class AdGroupFeedOperation(proto.Message): update_mask: FieldMask create: AdGroupFeed update: AdGroupFeed remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateAdGroupFeedResult(proto.Message): resource_name: str ad_group_feed: AdGroupFeed def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateAdGroupFeedsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateAdGroupFeedsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateAdGroupFeedResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/ad_group_label_service.pyi b/google-stubs/ads/googleads/v13/services/types/ad_group_label_service.pyi index bba6ddf89..61fcb5fe8 100644 --- a/google-stubs/ads/googleads/v13/services/types/ad_group_label_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/ad_group_label_service.pyi @@ -1,17 +1,20 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status from google.ads.googleads.v13.resources.types.ad_group_label import AdGroupLabel +_M = TypeVar("_M") + class AdGroupLabelOperation(proto.Message): create: AdGroupLabel remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: AdGroupLabel = ..., @@ -21,8 +24,8 @@ class AdGroupLabelOperation(proto.Message): class MutateAdGroupLabelResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -34,8 +37,8 @@ class MutateAdGroupLabelsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -48,8 +51,8 @@ class MutateAdGroupLabelsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateAdGroupLabelResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/ad_group_service.pyi b/google-stubs/ads/googleads/v13/services/types/ad_group_service.pyi index 178397855..49757d268 100644 --- a/google-stubs/ads/googleads/v13/services/types/ad_group_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/ad_group_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v13.enums.types.response_content_type import ( ) from google.ads.googleads.v13.resources.types.ad_group import AdGroup +_M = TypeVar("_M") + class AdGroupOperation(proto.Message): update_mask: FieldMask create: AdGroup update: AdGroup remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateAdGroupResult(proto.Message): resource_name: str ad_group: AdGroup def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateAdGroupsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateAdGroupsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateAdGroupResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/ad_parameter_service.pyi b/google-stubs/ads/googleads/v13/services/types/ad_parameter_service.pyi index c4b3bbddb..81f6b9019 100644 --- a/google-stubs/ads/googleads/v13/services/types/ad_parameter_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/ad_parameter_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v13.enums.types.response_content_type import ( ) from google.ads.googleads.v13.resources.types.ad_parameter import AdParameter +_M = TypeVar("_M") + class AdParameterOperation(proto.Message): update_mask: FieldMask create: AdParameter update: AdParameter remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateAdParameterResult(proto.Message): resource_name: str ad_parameter: AdParameter def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateAdParametersRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateAdParametersResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateAdParameterResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/ad_service.pyi b/google-stubs/ads/googleads/v13/services/types/ad_service.pyi index fed5b9dce..07b285683 100644 --- a/google-stubs/ads/googleads/v13/services/types/ad_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/ad_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -11,13 +12,15 @@ from google.ads.googleads.v13.enums.types.response_content_type import ( ) from google.ads.googleads.v13.resources.types.ad import Ad +_M = TypeVar("_M") + class AdOperation(proto.Message): update_mask: FieldMask policy_validation_parameter: PolicyValidationParameter update: Ad def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -28,8 +31,8 @@ class AdOperation(proto.Message): class GetAdRequest(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -39,8 +42,8 @@ class MutateAdResult(proto.Message): resource_name: str ad: Ad def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -54,8 +57,8 @@ class MutateAdsRequest(proto.Message): response_content_type: ResponseContentTypeEnum.ResponseContentType validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -69,8 +72,8 @@ class MutateAdsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateAdResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/asset_group_asset_service.pyi b/google-stubs/ads/googleads/v13/services/types/asset_group_asset_service.pyi index b8e1b6531..51667eee1 100644 --- a/google-stubs/ads/googleads/v13/services/types/asset_group_asset_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/asset_group_asset_service.pyi @@ -1,20 +1,23 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status from google.ads.googleads.v13.resources.types.asset_group_asset import AssetGroupAsset +_M = TypeVar("_M") + class AssetGroupAssetOperation(proto.Message): update_mask: FieldMask create: AssetGroupAsset update: AssetGroupAsset remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -26,8 +29,8 @@ class AssetGroupAssetOperation(proto.Message): class MutateAssetGroupAssetResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -39,8 +42,8 @@ class MutateAssetGroupAssetsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -53,8 +56,8 @@ class MutateAssetGroupAssetsResponse(proto.Message): results: MutableSequence[MutateAssetGroupAssetResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateAssetGroupAssetResult] = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/asset_group_listing_group_filter_service.pyi b/google-stubs/ads/googleads/v13/services/types/asset_group_listing_group_filter_service.pyi index 0253bb27b..78c15e24a 100644 --- a/google-stubs/ads/googleads/v13/services/types/asset_group_listing_group_filter_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/asset_group_listing_group_filter_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask @@ -11,14 +12,16 @@ from google.ads.googleads.v13.resources.types.asset_group_listing_group_filter i AssetGroupListingGroupFilter, ) +_M = TypeVar("_M") + class AssetGroupListingGroupFilterOperation(proto.Message): update_mask: FieldMask create: AssetGroupListingGroupFilter update: AssetGroupListingGroupFilter remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -31,8 +34,8 @@ class MutateAssetGroupListingGroupFilterResult(proto.Message): resource_name: str asset_group_listing_group_filter: AssetGroupListingGroupFilter def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateAssetGroupListingGroupFiltersRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -58,8 +61,8 @@ class MutateAssetGroupListingGroupFiltersRequest(proto.Message): class MutateAssetGroupListingGroupFiltersResponse(proto.Message): results: MutableSequence[MutateAssetGroupListingGroupFilterResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateAssetGroupListingGroupFilterResult] = ... diff --git a/google-stubs/ads/googleads/v13/services/types/asset_group_service.pyi b/google-stubs/ads/googleads/v13/services/types/asset_group_service.pyi index 898306b08..69f9998c8 100644 --- a/google-stubs/ads/googleads/v13/services/types/asset_group_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/asset_group_service.pyi @@ -1,20 +1,23 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status from google.ads.googleads.v13.resources.types.asset_group import AssetGroup +_M = TypeVar("_M") + class AssetGroupOperation(proto.Message): update_mask: FieldMask create: AssetGroup update: AssetGroup remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -26,8 +29,8 @@ class AssetGroupOperation(proto.Message): class MutateAssetGroupResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -38,8 +41,8 @@ class MutateAssetGroupsRequest(proto.Message): operations: MutableSequence[AssetGroupOperation] validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -51,8 +54,8 @@ class MutateAssetGroupsResponse(proto.Message): results: MutableSequence[MutateAssetGroupResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateAssetGroupResult] = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/asset_group_signal_service.pyi b/google-stubs/ads/googleads/v13/services/types/asset_group_signal_service.pyi index 1886dd0b4..af3f1f5df 100644 --- a/google-stubs/ads/googleads/v13/services/types/asset_group_signal_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/asset_group_signal_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -9,12 +10,14 @@ from google.ads.googleads.v13.enums.types.response_content_type import ( ) from google.ads.googleads.v13.resources.types.asset_group_signal import AssetGroupSignal +_M = TypeVar("_M") + class AssetGroupSignalOperation(proto.Message): create: AssetGroupSignal remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: AssetGroupSignal = ..., @@ -25,8 +28,8 @@ class MutateAssetGroupSignalResult(proto.Message): resource_name: str asset_group_signal: AssetGroupSignal def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -40,8 +43,8 @@ class MutateAssetGroupSignalsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -55,8 +58,8 @@ class MutateAssetGroupSignalsResponse(proto.Message): results: MutableSequence[MutateAssetGroupSignalResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateAssetGroupSignalResult] = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/asset_service.pyi b/google-stubs/ads/googleads/v13/services/types/asset_service.pyi index 43f55acce..03a36a05c 100644 --- a/google-stubs/ads/googleads/v13/services/types/asset_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/asset_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,13 +11,15 @@ from google.ads.googleads.v13.enums.types.response_content_type import ( ) from google.ads.googleads.v13.resources.types.asset import Asset +_M = TypeVar("_M") + class AssetOperation(proto.Message): update_mask: FieldMask create: Asset update: Asset def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -28,8 +31,8 @@ class MutateAssetResult(proto.Message): resource_name: str asset: Asset def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -43,8 +46,8 @@ class MutateAssetsRequest(proto.Message): response_content_type: ResponseContentTypeEnum.ResponseContentType validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -58,8 +61,8 @@ class MutateAssetsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateAssetResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/asset_set_asset_service.pyi b/google-stubs/ads/googleads/v13/services/types/asset_set_asset_service.pyi index 400fd1c38..963447d5d 100644 --- a/google-stubs/ads/googleads/v13/services/types/asset_set_asset_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/asset_set_asset_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -9,12 +10,14 @@ from google.ads.googleads.v13.enums.types.response_content_type import ( ) from google.ads.googleads.v13.resources.types.asset_set_asset import AssetSetAsset +_M = TypeVar("_M") + class AssetSetAssetOperation(proto.Message): create: AssetSetAsset remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: AssetSetAsset = ..., @@ -25,8 +28,8 @@ class MutateAssetSetAssetResult(proto.Message): resource_name: str asset_set_asset: AssetSetAsset def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -40,8 +43,8 @@ class MutateAssetSetAssetsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -55,8 +58,8 @@ class MutateAssetSetAssetsResponse(proto.Message): results: MutableSequence[MutateAssetSetAssetResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateAssetSetAssetResult] = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/asset_set_service.pyi b/google-stubs/ads/googleads/v13/services/types/asset_set_service.pyi index 2281e6886..2e3c0ab01 100644 --- a/google-stubs/ads/googleads/v13/services/types/asset_set_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/asset_set_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v13.enums.types.response_content_type import ( ) from google.ads.googleads.v13.resources.types.asset_set import AssetSet +_M = TypeVar("_M") + class AssetSetOperation(proto.Message): update_mask: FieldMask create: AssetSet update: AssetSet remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateAssetSetResult(proto.Message): resource_name: str asset_set: AssetSet def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateAssetSetsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateAssetSetsResponse(proto.Message): results: MutableSequence[MutateAssetSetResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateAssetSetResult] = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/audience_insights_service.pyi b/google-stubs/ads/googleads/v13/services/types/audience_insights_service.pyi index 54a6b804e..2727744fe 100644 --- a/google-stubs/ads/googleads/v13/services/types/audience_insights_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/audience_insights_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.criteria import ( @@ -17,12 +18,14 @@ from google.ads.googleads.v13.enums.types.audience_insights_dimension import ( AudienceInsightsDimensionEnum, ) +_M = TypeVar("_M") + class AudienceCompositionAttribute(proto.Message): attribute_metadata: AudienceInsightsAttributeMetadata metrics: AudienceCompositionMetrics def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., attribute_metadata: AudienceInsightsAttributeMetadata = ..., @@ -34,8 +37,8 @@ class AudienceCompositionAttributeCluster(proto.Message): cluster_metrics: AudienceCompositionMetrics attributes: MutableSequence[AudienceCompositionAttribute] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., cluster_display_name: str = ..., @@ -49,8 +52,8 @@ class AudienceCompositionMetrics(proto.Message): index: float score: float def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., baseline_audience_share: float = ..., @@ -64,8 +67,8 @@ class AudienceCompositionSection(proto.Message): top_attributes: MutableSequence[AudienceCompositionAttribute] clustered_attributes: MutableSequence[AudienceCompositionAttributeCluster] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., dimension: AudienceInsightsDimensionEnum.AudienceInsightsDimension = ..., @@ -87,8 +90,8 @@ class AudienceInsightsAttribute(proto.Message): income_range: IncomeRangeInfo youtube_channel: YouTubeChannelInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., age_range: AgeRangeInfo = ..., @@ -113,8 +116,8 @@ class AudienceInsightsAttributeMetadata(proto.Message): dynamic_attribute_metadata: DynamicLineupAttributeMetadata location_attribute_metadata: LocationAttributeMetadata def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., dimension: AudienceInsightsDimensionEnum.AudienceInsightsDimension = ..., @@ -130,8 +133,8 @@ class AudienceInsightsAttributeMetadata(proto.Message): class AudienceInsightsCategory(proto.Message): category_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., category_id: str = ..., @@ -140,8 +143,8 @@ class AudienceInsightsCategory(proto.Message): class AudienceInsightsDynamicLineup(proto.Message): dynamic_lineup_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., dynamic_lineup_id: str = ..., @@ -150,8 +153,8 @@ class AudienceInsightsDynamicLineup(proto.Message): class AudienceInsightsEntity(proto.Message): knowledge_graph_machine_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., knowledge_graph_machine_id: str = ..., @@ -161,8 +164,8 @@ class AudienceInsightsTopic(proto.Message): entity: AudienceInsightsEntity category: AudienceInsightsCategory def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., entity: AudienceInsightsEntity = ..., @@ -177,8 +180,8 @@ class BasicInsightsAudience(proto.Message): user_interests: MutableSequence[UserInterestInfo] topics: MutableSequence[AudienceInsightsTopic] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., country_location: MutableSequence[LocationInfo] = ..., @@ -195,8 +198,8 @@ class DynamicLineupAttributeMetadata(proto.Message): channel_count_lower_bound: int channel_count_upper_bound: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., inventory_country: LocationInfo = ..., @@ -213,8 +216,8 @@ class GenerateAudienceCompositionInsightsRequest(proto.Message): dimensions: MutableSequence[AudienceInsightsDimensionEnum.AudienceInsightsDimension] customer_insights_group: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -230,8 +233,8 @@ class GenerateAudienceCompositionInsightsRequest(proto.Message): class GenerateAudienceCompositionInsightsResponse(proto.Message): sections: MutableSequence[AudienceCompositionSection] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., sections: MutableSequence[AudienceCompositionSection] = ..., @@ -243,8 +246,8 @@ class GenerateInsightsFinderReportRequest(proto.Message): specific_audience: BasicInsightsAudience customer_insights_group: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -256,8 +259,8 @@ class GenerateInsightsFinderReportRequest(proto.Message): class GenerateInsightsFinderReportResponse(proto.Message): saved_report_url: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., saved_report_url: str = ..., @@ -273,8 +276,8 @@ class InsightsAudience(proto.Message): dynamic_lineups: MutableSequence[AudienceInsightsDynamicLineup] topic_audience_combinations: MutableSequence[InsightsAudienceAttributeGroup] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., country_locations: MutableSequence[LocationInfo] = ..., @@ -292,8 +295,8 @@ class InsightsAudience(proto.Message): class InsightsAudienceAttributeGroup(proto.Message): attributes: MutableSequence[AudienceInsightsAttribute] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., attributes: MutableSequence[AudienceInsightsAttribute] = ..., @@ -306,8 +309,8 @@ class ListAudienceInsightsAttributesRequest(proto.Message): customer_insights_group: str location_country_filters: MutableSequence[LocationInfo] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -322,8 +325,8 @@ class ListAudienceInsightsAttributesRequest(proto.Message): class ListAudienceInsightsAttributesResponse(proto.Message): attributes: MutableSequence[AudienceInsightsAttributeMetadata] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., attributes: MutableSequence[AudienceInsightsAttributeMetadata] = ..., @@ -331,8 +334,8 @@ class ListAudienceInsightsAttributesResponse(proto.Message): class ListInsightsEligibleDatesRequest(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -342,8 +345,8 @@ class ListInsightsEligibleDatesResponse(proto.Message): data_months: MutableSequence[str] last_thirty_days: DateRange def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., data_months: MutableSequence[str] = ..., @@ -353,8 +356,8 @@ class ListInsightsEligibleDatesResponse(proto.Message): class LocationAttributeMetadata(proto.Message): country_location: LocationInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., country_location: LocationInfo = ..., @@ -363,8 +366,8 @@ class LocationAttributeMetadata(proto.Message): class YouTubeChannelAttributeMetadata(proto.Message): subscriber_count: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., subscriber_count: int = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/audience_service.pyi b/google-stubs/ads/googleads/v13/services/types/audience_service.pyi index 8135392f8..2960d5003 100644 --- a/google-stubs/ads/googleads/v13/services/types/audience_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/audience_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,13 +11,15 @@ from google.ads.googleads.v13.enums.types.response_content_type import ( ) from google.ads.googleads.v13.resources.types.audience import Audience +_M = TypeVar("_M") + class AudienceOperation(proto.Message): update_mask: FieldMask create: Audience update: Audience def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -28,8 +31,8 @@ class MutateAudienceResult(proto.Message): resource_name: str audience: Audience def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -43,8 +46,8 @@ class MutateAudiencesRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -58,8 +61,8 @@ class MutateAudiencesResponse(proto.Message): results: MutableSequence[MutateAudienceResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateAudienceResult] = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/batch_job_service.pyi b/google-stubs/ads/googleads/v13/services/types/batch_job_service.pyi index 5292eb5d8..556937117 100644 --- a/google-stubs/ads/googleads/v13/services/types/batch_job_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/batch_job_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -13,13 +14,15 @@ from google.ads.googleads.v13.services.types.google_ads_service import ( MutateOperationResponse, ) +_M = TypeVar("_M") + class AddBatchJobOperationsRequest(proto.Message): resource_name: str sequence_token: str mutate_operations: MutableSequence[MutateOperation] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -31,8 +34,8 @@ class AddBatchJobOperationsResponse(proto.Message): total_operations: int next_sequence_token: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., total_operations: int = ..., @@ -43,8 +46,8 @@ class BatchJobOperation(proto.Message): create: BatchJob remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: BatchJob = ..., @@ -56,8 +59,8 @@ class BatchJobResult(proto.Message): mutate_operation_response: MutateOperationResponse status: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., operation_index: int = ..., @@ -71,8 +74,8 @@ class ListBatchJobResultsRequest(proto.Message): page_size: int response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -85,8 +88,8 @@ class ListBatchJobResultsResponse(proto.Message): results: MutableSequence[BatchJobResult] next_page_token: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[BatchJobResult] = ..., @@ -97,8 +100,8 @@ class MutateBatchJobRequest(proto.Message): customer_id: str operation: BatchJobOperation def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -108,8 +111,8 @@ class MutateBatchJobRequest(proto.Message): class MutateBatchJobResponse(proto.Message): result: MutateBatchJobResult def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., result: MutateBatchJobResult = ... @@ -118,8 +121,8 @@ class MutateBatchJobResponse(proto.Message): class MutateBatchJobResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -128,8 +131,8 @@ class MutateBatchJobResult(proto.Message): class RunBatchJobRequest(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v13/services/types/bidding_data_exclusion_service.pyi b/google-stubs/ads/googleads/v13/services/types/bidding_data_exclusion_service.pyi index dd26d1725..17cc5a99b 100644 --- a/google-stubs/ads/googleads/v13/services/types/bidding_data_exclusion_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/bidding_data_exclusion_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -12,14 +13,16 @@ from google.ads.googleads.v13.resources.types.bidding_data_exclusion import ( BiddingDataExclusion, ) +_M = TypeVar("_M") + class BiddingDataExclusionOperation(proto.Message): update_mask: FieldMask create: BiddingDataExclusion update: BiddingDataExclusion remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -35,8 +38,8 @@ class MutateBiddingDataExclusionsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -50,8 +53,8 @@ class MutateBiddingDataExclusionsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateBiddingDataExclusionsResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -62,8 +65,8 @@ class MutateBiddingDataExclusionsResult(proto.Message): resource_name: str bidding_data_exclusion: BiddingDataExclusion def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/bidding_seasonality_adjustment_service.pyi b/google-stubs/ads/googleads/v13/services/types/bidding_seasonality_adjustment_service.pyi index d1bc03e57..69bc91930 100644 --- a/google-stubs/ads/googleads/v13/services/types/bidding_seasonality_adjustment_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/bidding_seasonality_adjustment_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -12,14 +13,16 @@ from google.ads.googleads.v13.resources.types.bidding_seasonality_adjustment imp BiddingSeasonalityAdjustment, ) +_M = TypeVar("_M") + class BiddingSeasonalityAdjustmentOperation(proto.Message): update_mask: FieldMask create: BiddingSeasonalityAdjustment update: BiddingSeasonalityAdjustment remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -35,8 +38,8 @@ class MutateBiddingSeasonalityAdjustmentsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -50,8 +53,8 @@ class MutateBiddingSeasonalityAdjustmentsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateBiddingSeasonalityAdjustmentsResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -62,8 +65,8 @@ class MutateBiddingSeasonalityAdjustmentsResult(proto.Message): resource_name: str bidding_seasonality_adjustment: BiddingSeasonalityAdjustment def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/bidding_strategy_service.pyi b/google-stubs/ads/googleads/v13/services/types/bidding_strategy_service.pyi index 8cff1827c..34df5fb87 100644 --- a/google-stubs/ads/googleads/v13/services/types/bidding_strategy_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/bidding_strategy_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v13.enums.types.response_content_type import ( ) from google.ads.googleads.v13.resources.types.bidding_strategy import BiddingStrategy +_M = TypeVar("_M") + class BiddingStrategyOperation(proto.Message): update_mask: FieldMask create: BiddingStrategy update: BiddingStrategy remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -33,8 +36,8 @@ class MutateBiddingStrategiesRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -48,8 +51,8 @@ class MutateBiddingStrategiesResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateBiddingStrategyResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -60,8 +63,8 @@ class MutateBiddingStrategyResult(proto.Message): resource_name: str bidding_strategy: BiddingStrategy def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/billing_setup_service.pyi b/google-stubs/ads/googleads/v13/services/types/billing_setup_service.pyi index bc08ead84..b0a3a3b18 100644 --- a/google-stubs/ads/googleads/v13/services/types/billing_setup_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/billing_setup_service.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.resources.types.billing_setup import BillingSetup +_M = TypeVar("_M") + class BillingSetupOperation(proto.Message): create: BillingSetup remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: BillingSetup = ..., @@ -20,8 +24,8 @@ class MutateBillingSetupRequest(proto.Message): customer_id: str operation: BillingSetupOperation def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -31,8 +35,8 @@ class MutateBillingSetupRequest(proto.Message): class MutateBillingSetupResponse(proto.Message): result: MutateBillingSetupResult def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., result: MutateBillingSetupResult = ... @@ -41,8 +45,8 @@ class MutateBillingSetupResponse(proto.Message): class MutateBillingSetupResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v13/services/types/campaign_asset_service.pyi b/google-stubs/ads/googleads/v13/services/types/campaign_asset_service.pyi index 0b843e3b1..401c984a5 100644 --- a/google-stubs/ads/googleads/v13/services/types/campaign_asset_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/campaign_asset_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v13.enums.types.response_content_type import ( ) from google.ads.googleads.v13.resources.types.campaign_asset import CampaignAsset +_M = TypeVar("_M") + class CampaignAssetOperation(proto.Message): update_mask: FieldMask create: CampaignAsset update: CampaignAsset remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateCampaignAssetResult(proto.Message): resource_name: str campaign_asset: CampaignAsset def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateCampaignAssetsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateCampaignAssetsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateCampaignAssetResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/campaign_asset_set_service.pyi b/google-stubs/ads/googleads/v13/services/types/campaign_asset_set_service.pyi index 27b520f59..e78c83590 100644 --- a/google-stubs/ads/googleads/v13/services/types/campaign_asset_set_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/campaign_asset_set_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -9,12 +10,14 @@ from google.ads.googleads.v13.enums.types.response_content_type import ( ) from google.ads.googleads.v13.resources.types.campaign_asset_set import CampaignAssetSet +_M = TypeVar("_M") + class CampaignAssetSetOperation(proto.Message): create: CampaignAssetSet remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: CampaignAssetSet = ..., @@ -25,8 +28,8 @@ class MutateCampaignAssetSetResult(proto.Message): resource_name: str campaign_asset_set: CampaignAssetSet def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -40,8 +43,8 @@ class MutateCampaignAssetSetsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -55,8 +58,8 @@ class MutateCampaignAssetSetsResponse(proto.Message): results: MutableSequence[MutateCampaignAssetSetResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateCampaignAssetSetResult] = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/campaign_bid_modifier_service.pyi b/google-stubs/ads/googleads/v13/services/types/campaign_bid_modifier_service.pyi index 2cc930cac..8bb130896 100644 --- a/google-stubs/ads/googleads/v13/services/types/campaign_bid_modifier_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/campaign_bid_modifier_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -12,14 +13,16 @@ from google.ads.googleads.v13.resources.types.campaign_bid_modifier import ( CampaignBidModifier, ) +_M = TypeVar("_M") + class CampaignBidModifierOperation(proto.Message): update_mask: FieldMask create: CampaignBidModifier update: CampaignBidModifier remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -32,8 +35,8 @@ class MutateCampaignBidModifierResult(proto.Message): resource_name: str campaign_bid_modifier: CampaignBidModifier def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -47,8 +50,8 @@ class MutateCampaignBidModifiersRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -62,8 +65,8 @@ class MutateCampaignBidModifiersResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateCampaignBidModifierResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/campaign_budget_service.pyi b/google-stubs/ads/googleads/v13/services/types/campaign_budget_service.pyi index 0ff12e267..4f1a23c1e 100644 --- a/google-stubs/ads/googleads/v13/services/types/campaign_budget_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/campaign_budget_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v13.enums.types.response_content_type import ( ) from google.ads.googleads.v13.resources.types.campaign_budget import CampaignBudget +_M = TypeVar("_M") + class CampaignBudgetOperation(proto.Message): update_mask: FieldMask create: CampaignBudget update: CampaignBudget remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateCampaignBudgetResult(proto.Message): resource_name: str campaign_budget: CampaignBudget def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateCampaignBudgetsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateCampaignBudgetsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateCampaignBudgetResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/campaign_conversion_goal_service.pyi b/google-stubs/ads/googleads/v13/services/types/campaign_conversion_goal_service.pyi index ee055644a..354abb4be 100644 --- a/google-stubs/ads/googleads/v13/services/types/campaign_conversion_goal_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/campaign_conversion_goal_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask @@ -8,12 +9,14 @@ from google.ads.googleads.v13.resources.types.campaign_conversion_goal import ( CampaignConversionGoal, ) +_M = TypeVar("_M") + class CampaignConversionGoalOperation(proto.Message): update_mask: FieldMask update: CampaignConversionGoal def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -23,8 +26,8 @@ class CampaignConversionGoalOperation(proto.Message): class MutateCampaignConversionGoalResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -35,8 +38,8 @@ class MutateCampaignConversionGoalsRequest(proto.Message): operations: MutableSequence[CampaignConversionGoalOperation] validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -47,8 +50,8 @@ class MutateCampaignConversionGoalsRequest(proto.Message): class MutateCampaignConversionGoalsResponse(proto.Message): results: MutableSequence[MutateCampaignConversionGoalResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateCampaignConversionGoalResult] = ... diff --git a/google-stubs/ads/googleads/v13/services/types/campaign_criterion_service.pyi b/google-stubs/ads/googleads/v13/services/types/campaign_criterion_service.pyi index a09f1205d..d616606a6 100644 --- a/google-stubs/ads/googleads/v13/services/types/campaign_criterion_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/campaign_criterion_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -12,14 +13,16 @@ from google.ads.googleads.v13.resources.types.campaign_criterion import ( CampaignCriterion, ) +_M = TypeVar("_M") + class CampaignCriterionOperation(proto.Message): update_mask: FieldMask create: CampaignCriterion update: CampaignCriterion remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -35,8 +38,8 @@ class MutateCampaignCriteriaRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -50,8 +53,8 @@ class MutateCampaignCriteriaResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateCampaignCriterionResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -62,8 +65,8 @@ class MutateCampaignCriterionResult(proto.Message): resource_name: str campaign_criterion: CampaignCriterion def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/campaign_customizer_service.pyi b/google-stubs/ads/googleads/v13/services/types/campaign_customizer_service.pyi index 63499b056..29ccb293a 100644 --- a/google-stubs/ads/googleads/v13/services/types/campaign_customizer_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/campaign_customizer_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -11,12 +12,14 @@ from google.ads.googleads.v13.resources.types.campaign_customizer import ( CampaignCustomizer, ) +_M = TypeVar("_M") + class CampaignCustomizerOperation(proto.Message): create: CampaignCustomizer remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: CampaignCustomizer = ..., @@ -27,8 +30,8 @@ class MutateCampaignCustomizerResult(proto.Message): resource_name: str campaign_customizer: CampaignCustomizer def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -42,8 +45,8 @@ class MutateCampaignCustomizersRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -57,8 +60,8 @@ class MutateCampaignCustomizersResponse(proto.Message): results: MutableSequence[MutateCampaignCustomizerResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateCampaignCustomizerResult] = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/campaign_draft_service.pyi b/google-stubs/ads/googleads/v13/services/types/campaign_draft_service.pyi index d85652902..9aec6d619 100644 --- a/google-stubs/ads/googleads/v13/services/types/campaign_draft_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/campaign_draft_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v13.enums.types.response_content_type import ( ) from google.ads.googleads.v13.resources.types.campaign_draft import CampaignDraft +_M = TypeVar("_M") + class CampaignDraftOperation(proto.Message): update_mask: FieldMask create: CampaignDraft update: CampaignDraft remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -31,8 +34,8 @@ class ListCampaignDraftAsyncErrorsRequest(proto.Message): page_token: str page_size: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -44,8 +47,8 @@ class ListCampaignDraftAsyncErrorsResponse(proto.Message): errors: MutableSequence[Status] next_page_token: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., errors: MutableSequence[Status] = ..., @@ -56,8 +59,8 @@ class MutateCampaignDraftResult(proto.Message): resource_name: str campaign_draft: CampaignDraft def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -71,8 +74,8 @@ class MutateCampaignDraftsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -86,8 +89,8 @@ class MutateCampaignDraftsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateCampaignDraftResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -98,8 +101,8 @@ class PromoteCampaignDraftRequest(proto.Message): campaign_draft: str validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., campaign_draft: str = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/campaign_extension_setting_service.pyi b/google-stubs/ads/googleads/v13/services/types/campaign_extension_setting_service.pyi index 508bdcc70..82966d93b 100644 --- a/google-stubs/ads/googleads/v13/services/types/campaign_extension_setting_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/campaign_extension_setting_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -12,14 +13,16 @@ from google.ads.googleads.v13.resources.types.campaign_extension_setting import CampaignExtensionSetting, ) +_M = TypeVar("_M") + class CampaignExtensionSettingOperation(proto.Message): update_mask: FieldMask create: CampaignExtensionSetting update: CampaignExtensionSetting remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -32,8 +35,8 @@ class MutateCampaignExtensionSettingResult(proto.Message): resource_name: str campaign_extension_setting: CampaignExtensionSetting def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -47,8 +50,8 @@ class MutateCampaignExtensionSettingsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -62,8 +65,8 @@ class MutateCampaignExtensionSettingsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateCampaignExtensionSettingResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/campaign_feed_service.pyi b/google-stubs/ads/googleads/v13/services/types/campaign_feed_service.pyi index a42cd8b57..9d701ae54 100644 --- a/google-stubs/ads/googleads/v13/services/types/campaign_feed_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/campaign_feed_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v13.enums.types.response_content_type import ( ) from google.ads.googleads.v13.resources.types.campaign_feed import CampaignFeed +_M = TypeVar("_M") + class CampaignFeedOperation(proto.Message): update_mask: FieldMask create: CampaignFeed update: CampaignFeed remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateCampaignFeedResult(proto.Message): resource_name: str campaign_feed: CampaignFeed def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateCampaignFeedsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateCampaignFeedsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateCampaignFeedResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/campaign_group_service.pyi b/google-stubs/ads/googleads/v13/services/types/campaign_group_service.pyi index b3587ec68..6cc826841 100644 --- a/google-stubs/ads/googleads/v13/services/types/campaign_group_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/campaign_group_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v13.enums.types.response_content_type import ( ) from google.ads.googleads.v13.resources.types.campaign_group import CampaignGroup +_M = TypeVar("_M") + class CampaignGroupOperation(proto.Message): update_mask: FieldMask create: CampaignGroup update: CampaignGroup remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateCampaignGroupResult(proto.Message): resource_name: str campaign_group: CampaignGroup def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateCampaignGroupsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateCampaignGroupsResponse(proto.Message): results: MutableSequence[MutateCampaignGroupResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateCampaignGroupResult] = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/campaign_label_service.pyi b/google-stubs/ads/googleads/v13/services/types/campaign_label_service.pyi index fc911128d..630c20949 100644 --- a/google-stubs/ads/googleads/v13/services/types/campaign_label_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/campaign_label_service.pyi @@ -1,17 +1,20 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status from google.ads.googleads.v13.resources.types.campaign_label import CampaignLabel +_M = TypeVar("_M") + class CampaignLabelOperation(proto.Message): create: CampaignLabel remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: CampaignLabel = ..., @@ -21,8 +24,8 @@ class CampaignLabelOperation(proto.Message): class MutateCampaignLabelResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -34,8 +37,8 @@ class MutateCampaignLabelsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -48,8 +51,8 @@ class MutateCampaignLabelsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateCampaignLabelResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/campaign_service.pyi b/google-stubs/ads/googleads/v13/services/types/campaign_service.pyi index 817fdb1d1..9f67d887f 100644 --- a/google-stubs/ads/googleads/v13/services/types/campaign_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/campaign_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v13.enums.types.response_content_type import ( ) from google.ads.googleads.v13.resources.types.campaign import Campaign +_M = TypeVar("_M") + class CampaignOperation(proto.Message): update_mask: FieldMask create: Campaign update: Campaign remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateCampaignResult(proto.Message): resource_name: str campaign: Campaign def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateCampaignsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateCampaignsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateCampaignResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/campaign_shared_set_service.pyi b/google-stubs/ads/googleads/v13/services/types/campaign_shared_set_service.pyi index c8ce12404..48e49ab2b 100644 --- a/google-stubs/ads/googleads/v13/services/types/campaign_shared_set_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/campaign_shared_set_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -11,12 +12,14 @@ from google.ads.googleads.v13.resources.types.campaign_shared_set import ( CampaignSharedSet, ) +_M = TypeVar("_M") + class CampaignSharedSetOperation(proto.Message): create: CampaignSharedSet remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: CampaignSharedSet = ..., @@ -27,8 +30,8 @@ class MutateCampaignSharedSetResult(proto.Message): resource_name: str campaign_shared_set: CampaignSharedSet def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -42,8 +45,8 @@ class MutateCampaignSharedSetsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -57,8 +60,8 @@ class MutateCampaignSharedSetsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateCampaignSharedSetResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/conversion_action_service.pyi b/google-stubs/ads/googleads/v13/services/types/conversion_action_service.pyi index d895026bf..534405f5b 100644 --- a/google-stubs/ads/googleads/v13/services/types/conversion_action_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/conversion_action_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v13.enums.types.response_content_type import ( ) from google.ads.googleads.v13.resources.types.conversion_action import ConversionAction +_M = TypeVar("_M") + class ConversionActionOperation(proto.Message): update_mask: FieldMask create: ConversionAction update: ConversionAction remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateConversionActionResult(proto.Message): resource_name: str conversion_action: ConversionAction def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateConversionActionsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateConversionActionsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateConversionActionResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/conversion_adjustment_upload_service.pyi b/google-stubs/ads/googleads/v13/services/types/conversion_adjustment_upload_service.pyi index c1d6b1432..7b45b9e96 100644 --- a/google-stubs/ads/googleads/v13/services/types/conversion_adjustment_upload_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/conversion_adjustment_upload_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -9,6 +10,8 @@ from google.ads.googleads.v13.enums.types.conversion_adjustment_type import ( ConversionAdjustmentTypeEnum, ) +_M = TypeVar("_M") + class ConversionAdjustment(proto.Message): gclid_date_time_pair: GclidDateTimePair order_id: str @@ -19,8 +22,8 @@ class ConversionAdjustment(proto.Message): user_identifiers: MutableSequence[UserIdentifier] user_agent: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., gclid_date_time_pair: GclidDateTimePair = ..., @@ -40,8 +43,8 @@ class ConversionAdjustmentResult(proto.Message): adjustment_date_time: str adjustment_type: ConversionAdjustmentTypeEnum.ConversionAdjustmentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., gclid_date_time_pair: GclidDateTimePair = ..., @@ -55,8 +58,8 @@ class GclidDateTimePair(proto.Message): gclid: str conversion_date_time: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., gclid: str = ..., @@ -67,8 +70,8 @@ class RestatementValue(proto.Message): adjusted_value: float currency_code: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., adjusted_value: float = ..., @@ -81,8 +84,8 @@ class UploadConversionAdjustmentsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -95,8 +98,8 @@ class UploadConversionAdjustmentsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[ConversionAdjustmentResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/conversion_custom_variable_service.pyi b/google-stubs/ads/googleads/v13/services/types/conversion_custom_variable_service.pyi index f1f399968..bc8d8208c 100644 --- a/google-stubs/ads/googleads/v13/services/types/conversion_custom_variable_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/conversion_custom_variable_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -12,13 +13,15 @@ from google.ads.googleads.v13.resources.types.conversion_custom_variable import ConversionCustomVariable, ) +_M = TypeVar("_M") + class ConversionCustomVariableOperation(proto.Message): update_mask: FieldMask create: ConversionCustomVariable update: ConversionCustomVariable def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateConversionCustomVariableResult(proto.Message): resource_name: str conversion_custom_variable: ConversionCustomVariable def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateConversionCustomVariablesRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateConversionCustomVariablesResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateConversionCustomVariableResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/conversion_goal_campaign_config_service.pyi b/google-stubs/ads/googleads/v13/services/types/conversion_goal_campaign_config_service.pyi index 8ae6c009d..ce83dc68a 100644 --- a/google-stubs/ads/googleads/v13/services/types/conversion_goal_campaign_config_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/conversion_goal_campaign_config_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask @@ -11,12 +12,14 @@ from google.ads.googleads.v13.resources.types.conversion_goal_campaign_config im ConversionGoalCampaignConfig, ) +_M = TypeVar("_M") + class ConversionGoalCampaignConfigOperation(proto.Message): update_mask: FieldMask update: ConversionGoalCampaignConfig def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -27,8 +30,8 @@ class MutateConversionGoalCampaignConfigResult(proto.Message): resource_name: str conversion_goal_campaign_config: ConversionGoalCampaignConfig def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -41,8 +44,8 @@ class MutateConversionGoalCampaignConfigsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -54,8 +57,8 @@ class MutateConversionGoalCampaignConfigsRequest(proto.Message): class MutateConversionGoalCampaignConfigsResponse(proto.Message): results: MutableSequence[MutateConversionGoalCampaignConfigResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateConversionGoalCampaignConfigResult] = ... diff --git a/google-stubs/ads/googleads/v13/services/types/conversion_upload_service.pyi b/google-stubs/ads/googleads/v13/services/types/conversion_upload_service.pyi index 6b7632f53..7e313004b 100644 --- a/google-stubs/ads/googleads/v13/services/types/conversion_upload_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/conversion_upload_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -9,6 +10,8 @@ from google.ads.googleads.v13.enums.types.conversion_environment_enum import ( ConversionEnvironmentEnum, ) +_M = TypeVar("_M") + class CallConversion(proto.Message): caller_id: str call_start_date_time: str @@ -18,8 +21,8 @@ class CallConversion(proto.Message): currency_code: str custom_variables: MutableSequence[CustomVariable] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., caller_id: str = ..., @@ -37,8 +40,8 @@ class CallConversionResult(proto.Message): conversion_action: str conversion_date_time: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., caller_id: str = ..., @@ -53,8 +56,8 @@ class CartData(proto.Message): quantity: int unit_price: float def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., product_id: str = ..., @@ -67,8 +70,8 @@ class CartData(proto.Message): local_transaction_cost: float items: MutableSequence[CartData.Item] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., merchant_id: int = ..., @@ -93,8 +96,8 @@ class ClickConversion(proto.Message): user_identifiers: MutableSequence[UserIdentifier] conversion_environment: ConversionEnvironmentEnum.ConversionEnvironment def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., gclid: str = ..., @@ -120,8 +123,8 @@ class ClickConversionResult(proto.Message): conversion_date_time: str user_identifiers: MutableSequence[UserIdentifier] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., gclid: str = ..., @@ -136,8 +139,8 @@ class CustomVariable(proto.Message): conversion_custom_variable: str value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., conversion_custom_variable: str = ..., @@ -148,8 +151,8 @@ class ExternalAttributionData(proto.Message): external_attribution_credit: float external_attribution_model: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., external_attribution_credit: float = ..., @@ -162,8 +165,8 @@ class UploadCallConversionsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -176,8 +179,8 @@ class UploadCallConversionsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[CallConversionResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -191,8 +194,8 @@ class UploadClickConversionsRequest(proto.Message): validate_only: bool debug_enabled: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -206,8 +209,8 @@ class UploadClickConversionsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[ClickConversionResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/conversion_value_rule_service.pyi b/google-stubs/ads/googleads/v13/services/types/conversion_value_rule_service.pyi index b0e560dec..7e90c3f47 100644 --- a/google-stubs/ads/googleads/v13/services/types/conversion_value_rule_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/conversion_value_rule_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -12,14 +13,16 @@ from google.ads.googleads.v13.resources.types.conversion_value_rule import ( ConversionValueRule, ) +_M = TypeVar("_M") + class ConversionValueRuleOperation(proto.Message): update_mask: FieldMask create: ConversionValueRule update: ConversionValueRule remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -32,8 +35,8 @@ class MutateConversionValueRuleResult(proto.Message): resource_name: str conversion_value_rule: ConversionValueRule def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -47,8 +50,8 @@ class MutateConversionValueRulesRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -62,8 +65,8 @@ class MutateConversionValueRulesResponse(proto.Message): results: MutableSequence[MutateConversionValueRuleResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateConversionValueRuleResult] = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/conversion_value_rule_set_service.pyi b/google-stubs/ads/googleads/v13/services/types/conversion_value_rule_set_service.pyi index 702bf593e..0a1e12e88 100644 --- a/google-stubs/ads/googleads/v13/services/types/conversion_value_rule_set_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/conversion_value_rule_set_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -12,14 +13,16 @@ from google.ads.googleads.v13.resources.types.conversion_value_rule_set import ( ConversionValueRuleSet, ) +_M = TypeVar("_M") + class ConversionValueRuleSetOperation(proto.Message): update_mask: FieldMask create: ConversionValueRuleSet update: ConversionValueRuleSet remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -32,8 +35,8 @@ class MutateConversionValueRuleSetResult(proto.Message): resource_name: str conversion_value_rule_set: ConversionValueRuleSet def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -47,8 +50,8 @@ class MutateConversionValueRuleSetsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -62,8 +65,8 @@ class MutateConversionValueRuleSetsResponse(proto.Message): results: MutableSequence[MutateConversionValueRuleSetResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateConversionValueRuleSetResult] = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/custom_audience_service.pyi b/google-stubs/ads/googleads/v13/services/types/custom_audience_service.pyi index 475371ab9..ddb405e88 100644 --- a/google-stubs/ads/googleads/v13/services/types/custom_audience_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/custom_audience_service.pyi @@ -1,19 +1,22 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.ads.googleads.v13.resources.types.custom_audience import CustomAudience +_M = TypeVar("_M") + class CustomAudienceOperation(proto.Message): update_mask: FieldMask create: CustomAudience update: CustomAudience remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -25,8 +28,8 @@ class CustomAudienceOperation(proto.Message): class MutateCustomAudienceResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -37,8 +40,8 @@ class MutateCustomAudiencesRequest(proto.Message): operations: MutableSequence[CustomAudienceOperation] validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -49,8 +52,8 @@ class MutateCustomAudiencesRequest(proto.Message): class MutateCustomAudiencesResponse(proto.Message): results: MutableSequence[MutateCustomAudienceResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateCustomAudienceResult] = ... diff --git a/google-stubs/ads/googleads/v13/services/types/custom_conversion_goal_service.pyi b/google-stubs/ads/googleads/v13/services/types/custom_conversion_goal_service.pyi index a64e544c4..4b5f36d22 100644 --- a/google-stubs/ads/googleads/v13/services/types/custom_conversion_goal_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/custom_conversion_goal_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask @@ -11,14 +12,16 @@ from google.ads.googleads.v13.resources.types.custom_conversion_goal import ( CustomConversionGoal, ) +_M = TypeVar("_M") + class CustomConversionGoalOperation(proto.Message): update_mask: FieldMask create: CustomConversionGoal update: CustomConversionGoal remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -31,8 +34,8 @@ class MutateCustomConversionGoalResult(proto.Message): resource_name: str custom_conversion_goal: CustomConversionGoal def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateCustomConversionGoalsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -58,8 +61,8 @@ class MutateCustomConversionGoalsRequest(proto.Message): class MutateCustomConversionGoalsResponse(proto.Message): results: MutableSequence[MutateCustomConversionGoalResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateCustomConversionGoalResult] = ... diff --git a/google-stubs/ads/googleads/v13/services/types/custom_interest_service.pyi b/google-stubs/ads/googleads/v13/services/types/custom_interest_service.pyi index a2df9affd..ae46e1d0c 100644 --- a/google-stubs/ads/googleads/v13/services/types/custom_interest_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/custom_interest_service.pyi @@ -1,18 +1,21 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.ads.googleads.v13.resources.types.custom_interest import CustomInterest +_M = TypeVar("_M") + class CustomInterestOperation(proto.Message): update_mask: FieldMask create: CustomInterest update: CustomInterest def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -23,8 +26,8 @@ class CustomInterestOperation(proto.Message): class MutateCustomInterestResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -35,8 +38,8 @@ class MutateCustomInterestsRequest(proto.Message): operations: MutableSequence[CustomInterestOperation] validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -47,8 +50,8 @@ class MutateCustomInterestsRequest(proto.Message): class MutateCustomInterestsResponse(proto.Message): results: MutableSequence[MutateCustomInterestResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateCustomInterestResult] = ... diff --git a/google-stubs/ads/googleads/v13/services/types/customer_asset_service.pyi b/google-stubs/ads/googleads/v13/services/types/customer_asset_service.pyi index ea814b37e..7e04966ce 100644 --- a/google-stubs/ads/googleads/v13/services/types/customer_asset_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/customer_asset_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v13.enums.types.response_content_type import ( ) from google.ads.googleads.v13.resources.types.customer_asset import CustomerAsset +_M = TypeVar("_M") + class CustomerAssetOperation(proto.Message): update_mask: FieldMask create: CustomerAsset update: CustomerAsset remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateCustomerAssetResult(proto.Message): resource_name: str customer_asset: CustomerAsset def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateCustomerAssetsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateCustomerAssetsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateCustomerAssetResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/customer_asset_set_service.pyi b/google-stubs/ads/googleads/v13/services/types/customer_asset_set_service.pyi index adde9f985..d381bbd8d 100644 --- a/google-stubs/ads/googleads/v13/services/types/customer_asset_set_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/customer_asset_set_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -9,12 +10,14 @@ from google.ads.googleads.v13.enums.types.response_content_type import ( ) from google.ads.googleads.v13.resources.types.customer_asset_set import CustomerAssetSet +_M = TypeVar("_M") + class CustomerAssetSetOperation(proto.Message): create: CustomerAssetSet remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: CustomerAssetSet = ..., @@ -25,8 +28,8 @@ class MutateCustomerAssetSetResult(proto.Message): resource_name: str customer_asset_set: CustomerAssetSet def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -40,8 +43,8 @@ class MutateCustomerAssetSetsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -55,8 +58,8 @@ class MutateCustomerAssetSetsResponse(proto.Message): results: MutableSequence[MutateCustomerAssetSetResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateCustomerAssetSetResult] = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/customer_client_link_service.pyi b/google-stubs/ads/googleads/v13/services/types/customer_client_link_service.pyi index 7bea80113..63038fc74 100644 --- a/google-stubs/ads/googleads/v13/services/types/customer_client_link_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/customer_client_link_service.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask @@ -7,13 +9,15 @@ from google.ads.googleads.v13.resources.types.customer_client_link import ( CustomerClientLink, ) +_M = TypeVar("_M") + class CustomerClientLinkOperation(proto.Message): update_mask: FieldMask create: CustomerClientLink update: CustomerClientLink def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -26,8 +30,8 @@ class MutateCustomerClientLinkRequest(proto.Message): operation: CustomerClientLinkOperation validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -38,8 +42,8 @@ class MutateCustomerClientLinkRequest(proto.Message): class MutateCustomerClientLinkResponse(proto.Message): result: MutateCustomerClientLinkResult def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., result: MutateCustomerClientLinkResult = ... @@ -48,8 +52,8 @@ class MutateCustomerClientLinkResponse(proto.Message): class MutateCustomerClientLinkResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v13/services/types/customer_conversion_goal_service.pyi b/google-stubs/ads/googleads/v13/services/types/customer_conversion_goal_service.pyi index 9cb3bdad9..4271f38a4 100644 --- a/google-stubs/ads/googleads/v13/services/types/customer_conversion_goal_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/customer_conversion_goal_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask @@ -8,12 +9,14 @@ from google.ads.googleads.v13.resources.types.customer_conversion_goal import ( CustomerConversionGoal, ) +_M = TypeVar("_M") + class CustomerConversionGoalOperation(proto.Message): update_mask: FieldMask update: CustomerConversionGoal def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -23,8 +26,8 @@ class CustomerConversionGoalOperation(proto.Message): class MutateCustomerConversionGoalResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -35,8 +38,8 @@ class MutateCustomerConversionGoalsRequest(proto.Message): operations: MutableSequence[CustomerConversionGoalOperation] validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -47,8 +50,8 @@ class MutateCustomerConversionGoalsRequest(proto.Message): class MutateCustomerConversionGoalsResponse(proto.Message): results: MutableSequence[MutateCustomerConversionGoalResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateCustomerConversionGoalResult] = ... diff --git a/google-stubs/ads/googleads/v13/services/types/customer_customizer_service.pyi b/google-stubs/ads/googleads/v13/services/types/customer_customizer_service.pyi index 3000bef3d..b9db1c848 100644 --- a/google-stubs/ads/googleads/v13/services/types/customer_customizer_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/customer_customizer_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -11,12 +12,14 @@ from google.ads.googleads.v13.resources.types.customer_customizer import ( CustomerCustomizer, ) +_M = TypeVar("_M") + class CustomerCustomizerOperation(proto.Message): create: CustomerCustomizer remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: CustomerCustomizer = ..., @@ -27,8 +30,8 @@ class MutateCustomerCustomizerResult(proto.Message): resource_name: str customer_customizer: CustomerCustomizer def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -42,8 +45,8 @@ class MutateCustomerCustomizersRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -57,8 +60,8 @@ class MutateCustomerCustomizersResponse(proto.Message): results: MutableSequence[MutateCustomerCustomizerResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateCustomerCustomizerResult] = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/customer_extension_setting_service.pyi b/google-stubs/ads/googleads/v13/services/types/customer_extension_setting_service.pyi index 38aec2763..365f534cf 100644 --- a/google-stubs/ads/googleads/v13/services/types/customer_extension_setting_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/customer_extension_setting_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -12,14 +13,16 @@ from google.ads.googleads.v13.resources.types.customer_extension_setting import CustomerExtensionSetting, ) +_M = TypeVar("_M") + class CustomerExtensionSettingOperation(proto.Message): update_mask: FieldMask create: CustomerExtensionSetting update: CustomerExtensionSetting remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -32,8 +35,8 @@ class MutateCustomerExtensionSettingResult(proto.Message): resource_name: str customer_extension_setting: CustomerExtensionSetting def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -47,8 +50,8 @@ class MutateCustomerExtensionSettingsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -62,8 +65,8 @@ class MutateCustomerExtensionSettingsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateCustomerExtensionSettingResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/customer_feed_service.pyi b/google-stubs/ads/googleads/v13/services/types/customer_feed_service.pyi index cba1a023c..70cd733a6 100644 --- a/google-stubs/ads/googleads/v13/services/types/customer_feed_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/customer_feed_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v13.enums.types.response_content_type import ( ) from google.ads.googleads.v13.resources.types.customer_feed import CustomerFeed +_M = TypeVar("_M") + class CustomerFeedOperation(proto.Message): update_mask: FieldMask create: CustomerFeed update: CustomerFeed remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateCustomerFeedResult(proto.Message): resource_name: str customer_feed: CustomerFeed def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateCustomerFeedsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateCustomerFeedsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateCustomerFeedResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/customer_label_service.pyi b/google-stubs/ads/googleads/v13/services/types/customer_label_service.pyi index 204df5828..09537634c 100644 --- a/google-stubs/ads/googleads/v13/services/types/customer_label_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/customer_label_service.pyi @@ -1,17 +1,20 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status from google.ads.googleads.v13.resources.types.customer_label import CustomerLabel +_M = TypeVar("_M") + class CustomerLabelOperation(proto.Message): create: CustomerLabel remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: CustomerLabel = ..., @@ -21,8 +24,8 @@ class CustomerLabelOperation(proto.Message): class MutateCustomerLabelResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -34,8 +37,8 @@ class MutateCustomerLabelsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -48,8 +51,8 @@ class MutateCustomerLabelsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateCustomerLabelResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/customer_manager_link_service.pyi b/google-stubs/ads/googleads/v13/services/types/customer_manager_link_service.pyi index c8fffe3ce..eb8bdd4e0 100644 --- a/google-stubs/ads/googleads/v13/services/types/customer_manager_link_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/customer_manager_link_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask @@ -8,12 +9,14 @@ from google.ads.googleads.v13.resources.types.customer_manager_link import ( CustomerManagerLink, ) +_M = TypeVar("_M") + class CustomerManagerLinkOperation(proto.Message): update_mask: FieldMask update: CustomerManagerLink def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -26,8 +29,8 @@ class MoveManagerLinkRequest(proto.Message): new_manager: str validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -39,8 +42,8 @@ class MoveManagerLinkRequest(proto.Message): class MoveManagerLinkResponse(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -51,8 +54,8 @@ class MutateCustomerManagerLinkRequest(proto.Message): operations: MutableSequence[CustomerManagerLinkOperation] validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -63,8 +66,8 @@ class MutateCustomerManagerLinkRequest(proto.Message): class MutateCustomerManagerLinkResponse(proto.Message): results: MutableSequence[MutateCustomerManagerLinkResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateCustomerManagerLinkResult] = ... @@ -73,8 +76,8 @@ class MutateCustomerManagerLinkResponse(proto.Message): class MutateCustomerManagerLinkResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v13/services/types/customer_negative_criterion_service.pyi b/google-stubs/ads/googleads/v13/services/types/customer_negative_criterion_service.pyi index 7aaa1353f..57d31233d 100644 --- a/google-stubs/ads/googleads/v13/services/types/customer_negative_criterion_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/customer_negative_criterion_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -11,12 +12,14 @@ from google.ads.googleads.v13.resources.types.customer_negative_criterion import CustomerNegativeCriterion, ) +_M = TypeVar("_M") + class CustomerNegativeCriterionOperation(proto.Message): create: CustomerNegativeCriterion remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: CustomerNegativeCriterion = ..., @@ -30,8 +33,8 @@ class MutateCustomerNegativeCriteriaRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -45,8 +48,8 @@ class MutateCustomerNegativeCriteriaResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateCustomerNegativeCriteriaResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -57,8 +60,8 @@ class MutateCustomerNegativeCriteriaResult(proto.Message): resource_name: str customer_negative_criterion: CustomerNegativeCriterion def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/customer_service.pyi b/google-stubs/ads/googleads/v13/services/types/customer_service.pyi index 037b1e93d..7e04c6a8c 100644 --- a/google-stubs/ads/googleads/v13/services/types/customer_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/customer_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask @@ -10,6 +11,8 @@ from google.ads.googleads.v13.enums.types.response_content_type import ( ) from google.ads.googleads.v13.resources.types.customer import Customer +_M = TypeVar("_M") + class CreateCustomerClientRequest(proto.Message): customer_id: str customer_client: Customer @@ -17,8 +20,8 @@ class CreateCustomerClientRequest(proto.Message): access_role: AccessRoleEnum.AccessRole validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -32,8 +35,8 @@ class CreateCustomerClientResponse(proto.Message): resource_name: str invitation_link: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -44,8 +47,8 @@ class CustomerOperation(proto.Message): update: Customer update_mask: FieldMask def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update: Customer = ..., @@ -54,8 +57,8 @@ class CustomerOperation(proto.Message): class ListAccessibleCustomersRequest(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -64,8 +67,8 @@ class ListAccessibleCustomersRequest(proto.Message): class ListAccessibleCustomersResponse(proto.Message): resource_names: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_names: MutableSequence[str] = ..., @@ -77,8 +80,8 @@ class MutateCustomerRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -90,8 +93,8 @@ class MutateCustomerRequest(proto.Message): class MutateCustomerResponse(proto.Message): result: MutateCustomerResult def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., result: MutateCustomerResult = ..., @@ -101,8 +104,8 @@ class MutateCustomerResult(proto.Message): resource_name: str customer: Customer def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/customer_sk_ad_network_conversion_value_schema_service.pyi b/google-stubs/ads/googleads/v13/services/types/customer_sk_ad_network_conversion_value_schema_service.pyi index 92e0a8794..eb093d667 100644 --- a/google-stubs/ads/googleads/v13/services/types/customer_sk_ad_network_conversion_value_schema_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/customer_sk_ad_network_conversion_value_schema_service.pyi @@ -1,16 +1,20 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.resources.types.customer_sk_ad_network_conversion_value_schema import ( CustomerSkAdNetworkConversionValueSchema, ) +_M = TypeVar("_M") + class CustomerSkAdNetworkConversionValueSchemaOperation(proto.Message): update: CustomerSkAdNetworkConversionValueSchema def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update: CustomerSkAdNetworkConversionValueSchema = ... @@ -21,8 +25,8 @@ class MutateCustomerSkAdNetworkConversionValueSchemaRequest(proto.Message): operation: CustomerSkAdNetworkConversionValueSchemaOperation validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -33,8 +37,8 @@ class MutateCustomerSkAdNetworkConversionValueSchemaRequest(proto.Message): class MutateCustomerSkAdNetworkConversionValueSchemaResponse(proto.Message): result: MutateCustomerSkAdNetworkConversionValueSchemaResult def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., result: MutateCustomerSkAdNetworkConversionValueSchemaResult = ... @@ -44,8 +48,8 @@ class MutateCustomerSkAdNetworkConversionValueSchemaResult(proto.Message): resource_name: str app_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/customer_user_access_invitation_service.pyi b/google-stubs/ads/googleads/v13/services/types/customer_user_access_invitation_service.pyi index de3ba52ab..8dfcf1300 100644 --- a/google-stubs/ads/googleads/v13/services/types/customer_user_access_invitation_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/customer_user_access_invitation_service.pyi @@ -1,17 +1,21 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.resources.types.customer_user_access_invitation import ( CustomerUserAccessInvitation, ) +_M = TypeVar("_M") + class CustomerUserAccessInvitationOperation(proto.Message): create: CustomerUserAccessInvitation remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: CustomerUserAccessInvitation = ..., @@ -22,8 +26,8 @@ class MutateCustomerUserAccessInvitationRequest(proto.Message): customer_id: str operation: CustomerUserAccessInvitationOperation def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -33,8 +37,8 @@ class MutateCustomerUserAccessInvitationRequest(proto.Message): class MutateCustomerUserAccessInvitationResponse(proto.Message): result: MutateCustomerUserAccessInvitationResult def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., result: MutateCustomerUserAccessInvitationResult = ... @@ -43,8 +47,8 @@ class MutateCustomerUserAccessInvitationResponse(proto.Message): class MutateCustomerUserAccessInvitationResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v13/services/types/customer_user_access_service.pyi b/google-stubs/ads/googleads/v13/services/types/customer_user_access_service.pyi index 611937d56..de3d05e8e 100644 --- a/google-stubs/ads/googleads/v13/services/types/customer_user_access_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/customer_user_access_service.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask @@ -7,13 +9,15 @@ from google.ads.googleads.v13.resources.types.customer_user_access import ( CustomerUserAccess, ) +_M = TypeVar("_M") + class CustomerUserAccessOperation(proto.Message): update_mask: FieldMask update: CustomerUserAccess remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -25,8 +29,8 @@ class MutateCustomerUserAccessRequest(proto.Message): customer_id: str operation: CustomerUserAccessOperation def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -36,8 +40,8 @@ class MutateCustomerUserAccessRequest(proto.Message): class MutateCustomerUserAccessResponse(proto.Message): result: MutateCustomerUserAccessResult def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., result: MutateCustomerUserAccessResult = ... @@ -46,8 +50,8 @@ class MutateCustomerUserAccessResponse(proto.Message): class MutateCustomerUserAccessResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v13/services/types/customizer_attribute_service.pyi b/google-stubs/ads/googleads/v13/services/types/customizer_attribute_service.pyi index 85896d3f1..aa011710a 100644 --- a/google-stubs/ads/googleads/v13/services/types/customizer_attribute_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/customizer_attribute_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -12,13 +13,15 @@ from google.ads.googleads.v13.resources.types.customizer_attribute import ( CustomizerAttribute, ) +_M = TypeVar("_M") + class CustomizerAttributeOperation(proto.Message): update_mask: FieldMask create: CustomizerAttribute remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateCustomizerAttributeResult(proto.Message): resource_name: str customizer_attribute: CustomizerAttribute def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateCustomizerAttributesRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateCustomizerAttributesResponse(proto.Message): results: MutableSequence[MutateCustomizerAttributeResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateCustomizerAttributeResult] = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/experiment_arm_service.pyi b/google-stubs/ads/googleads/v13/services/types/experiment_arm_service.pyi index a6f338325..9061ec336 100644 --- a/google-stubs/ads/googleads/v13/services/types/experiment_arm_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/experiment_arm_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v13.enums.types.response_content_type import ( ) from google.ads.googleads.v13.resources.types.experiment_arm import ExperimentArm +_M = TypeVar("_M") + class ExperimentArmOperation(proto.Message): update_mask: FieldMask create: ExperimentArm update: ExperimentArm remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateExperimentArmResult(proto.Message): resource_name: str experiment_arm: ExperimentArm def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateExperimentArmsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateExperimentArmsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateExperimentArmResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/experiment_service.pyi b/google-stubs/ads/googleads/v13/services/types/experiment_service.pyi index c6630446e..509f8c60e 100644 --- a/google-stubs/ads/googleads/v13/services/types/experiment_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/experiment_service.pyi @@ -1,18 +1,21 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status from google.ads.googleads.v13.resources.types.experiment import Experiment +_M = TypeVar("_M") + class CampaignBudgetMapping(proto.Message): experiment_campaign: str campaign_budget: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., experiment_campaign: str = ..., @@ -23,8 +26,8 @@ class EndExperimentRequest(proto.Message): experiment: str validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., experiment: str = ..., @@ -37,8 +40,8 @@ class ExperimentOperation(proto.Message): update: Experiment remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -52,8 +55,8 @@ class GraduateExperimentRequest(proto.Message): campaign_budget_mappings: MutableSequence[CampaignBudgetMapping] validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., experiment: str = ..., @@ -66,8 +69,8 @@ class ListExperimentAsyncErrorsRequest(proto.Message): page_token: str page_size: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -79,8 +82,8 @@ class ListExperimentAsyncErrorsResponse(proto.Message): errors: MutableSequence[Status] next_page_token: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., errors: MutableSequence[Status] = ..., @@ -90,8 +93,8 @@ class ListExperimentAsyncErrorsResponse(proto.Message): class MutateExperimentResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -103,8 +106,8 @@ class MutateExperimentsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -117,8 +120,8 @@ class MutateExperimentsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateExperimentResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -128,8 +131,8 @@ class MutateExperimentsResponse(proto.Message): class PromoteExperimentMetadata(proto.Message): experiment: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., experiment: str = ... @@ -139,8 +142,8 @@ class PromoteExperimentRequest(proto.Message): resource_name: str validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -150,8 +153,8 @@ class PromoteExperimentRequest(proto.Message): class ScheduleExperimentMetadata(proto.Message): experiment: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., experiment: str = ... @@ -161,8 +164,8 @@ class ScheduleExperimentRequest(proto.Message): resource_name: str validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/extension_feed_item_service.pyi b/google-stubs/ads/googleads/v13/services/types/extension_feed_item_service.pyi index b389815da..dd254d390 100644 --- a/google-stubs/ads/googleads/v13/services/types/extension_feed_item_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/extension_feed_item_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -12,14 +13,16 @@ from google.ads.googleads.v13.resources.types.extension_feed_item import ( ExtensionFeedItem, ) +_M = TypeVar("_M") + class ExtensionFeedItemOperation(proto.Message): update_mask: FieldMask create: ExtensionFeedItem update: ExtensionFeedItem remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -32,8 +35,8 @@ class MutateExtensionFeedItemResult(proto.Message): resource_name: str extension_feed_item: ExtensionFeedItem def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -47,8 +50,8 @@ class MutateExtensionFeedItemsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -62,8 +65,8 @@ class MutateExtensionFeedItemsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateExtensionFeedItemResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/feed_item_service.pyi b/google-stubs/ads/googleads/v13/services/types/feed_item_service.pyi index b35f9a995..ba35b95fc 100644 --- a/google-stubs/ads/googleads/v13/services/types/feed_item_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/feed_item_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v13.enums.types.response_content_type import ( ) from google.ads.googleads.v13.resources.types.feed_item import FeedItem +_M = TypeVar("_M") + class FeedItemOperation(proto.Message): update_mask: FieldMask create: FeedItem update: FeedItem remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateFeedItemResult(proto.Message): resource_name: str feed_item: FeedItem def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateFeedItemsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateFeedItemsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateFeedItemResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/feed_item_set_link_service.pyi b/google-stubs/ads/googleads/v13/services/types/feed_item_set_link_service.pyi index 5bd651033..68b7bf8ad 100644 --- a/google-stubs/ads/googleads/v13/services/types/feed_item_set_link_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/feed_item_set_link_service.pyi @@ -1,17 +1,20 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status from google.ads.googleads.v13.resources.types.feed_item_set_link import FeedItemSetLink +_M = TypeVar("_M") + class FeedItemSetLinkOperation(proto.Message): create: FeedItemSetLink remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: FeedItemSetLink = ..., @@ -21,8 +24,8 @@ class FeedItemSetLinkOperation(proto.Message): class MutateFeedItemSetLinkResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -34,8 +37,8 @@ class MutateFeedItemSetLinksRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -48,8 +51,8 @@ class MutateFeedItemSetLinksResponse(proto.Message): results: MutableSequence[MutateFeedItemSetLinkResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateFeedItemSetLinkResult] = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/feed_item_set_service.pyi b/google-stubs/ads/googleads/v13/services/types/feed_item_set_service.pyi index 89b610275..cd81b139f 100644 --- a/google-stubs/ads/googleads/v13/services/types/feed_item_set_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/feed_item_set_service.pyi @@ -1,20 +1,23 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status from google.ads.googleads.v13.resources.types.feed_item_set import FeedItemSet +_M = TypeVar("_M") + class FeedItemSetOperation(proto.Message): update_mask: FieldMask create: FeedItemSet update: FeedItemSet remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -26,8 +29,8 @@ class FeedItemSetOperation(proto.Message): class MutateFeedItemSetResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -39,8 +42,8 @@ class MutateFeedItemSetsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -53,8 +56,8 @@ class MutateFeedItemSetsResponse(proto.Message): results: MutableSequence[MutateFeedItemSetResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateFeedItemSetResult] = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/feed_item_target_service.pyi b/google-stubs/ads/googleads/v13/services/types/feed_item_target_service.pyi index 494af376a..99ad3cd74 100644 --- a/google-stubs/ads/googleads/v13/services/types/feed_item_target_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/feed_item_target_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -9,12 +10,14 @@ from google.ads.googleads.v13.enums.types.response_content_type import ( ) from google.ads.googleads.v13.resources.types.feed_item_target import FeedItemTarget +_M = TypeVar("_M") + class FeedItemTargetOperation(proto.Message): create: FeedItemTarget remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: FeedItemTarget = ..., @@ -25,8 +28,8 @@ class MutateFeedItemTargetResult(proto.Message): resource_name: str feed_item_target: FeedItemTarget def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -40,8 +43,8 @@ class MutateFeedItemTargetsRequest(proto.Message): response_content_type: ResponseContentTypeEnum.ResponseContentType validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -55,8 +58,8 @@ class MutateFeedItemTargetsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateFeedItemTargetResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/feed_mapping_service.pyi b/google-stubs/ads/googleads/v13/services/types/feed_mapping_service.pyi index c47d4e9af..072c182bf 100644 --- a/google-stubs/ads/googleads/v13/services/types/feed_mapping_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/feed_mapping_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -9,12 +10,14 @@ from google.ads.googleads.v13.enums.types.response_content_type import ( ) from google.ads.googleads.v13.resources.types.feed_mapping import FeedMapping +_M = TypeVar("_M") + class FeedMappingOperation(proto.Message): create: FeedMapping remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: FeedMapping = ..., @@ -25,8 +28,8 @@ class MutateFeedMappingResult(proto.Message): resource_name: str feed_mapping: FeedMapping def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -40,8 +43,8 @@ class MutateFeedMappingsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -55,8 +58,8 @@ class MutateFeedMappingsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateFeedMappingResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/feed_service.pyi b/google-stubs/ads/googleads/v13/services/types/feed_service.pyi index 6f17a34dc..d191374bf 100644 --- a/google-stubs/ads/googleads/v13/services/types/feed_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/feed_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v13.enums.types.response_content_type import ( ) from google.ads.googleads.v13.resources.types.feed import Feed +_M = TypeVar("_M") + class FeedOperation(proto.Message): update_mask: FieldMask create: Feed update: Feed remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateFeedResult(proto.Message): resource_name: str feed: Feed def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateFeedsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateFeedsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateFeedResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/geo_target_constant_service.pyi b/google-stubs/ads/googleads/v13/services/types/geo_target_constant_service.pyi index aca63733a..9dc4765b3 100644 --- a/google-stubs/ads/googleads/v13/services/types/geo_target_constant_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/geo_target_constant_service.pyi @@ -1,12 +1,15 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.resources.types.geo_target_constant import ( GeoTargetConstant, ) +_M = TypeVar("_M") + class GeoTargetConstantSuggestion(proto.Message): locale: str reach: int @@ -14,8 +17,8 @@ class GeoTargetConstantSuggestion(proto.Message): geo_target_constant: GeoTargetConstant geo_target_constant_parents: MutableSequence[GeoTargetConstant] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., locale: str = ..., @@ -29,8 +32,8 @@ class SuggestGeoTargetConstantsRequest(proto.Message): class GeoTargets(proto.Message): geo_target_constants: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., geo_target_constants: MutableSequence[str] = ... @@ -39,8 +42,8 @@ class SuggestGeoTargetConstantsRequest(proto.Message): class LocationNames(proto.Message): names: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., names: MutableSequence[str] = ... @@ -50,8 +53,8 @@ class SuggestGeoTargetConstantsRequest(proto.Message): location_names: SuggestGeoTargetConstantsRequest.LocationNames geo_targets: SuggestGeoTargetConstantsRequest.GeoTargets def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., locale: str = ..., @@ -63,8 +66,8 @@ class SuggestGeoTargetConstantsRequest(proto.Message): class SuggestGeoTargetConstantsResponse(proto.Message): geo_target_constant_suggestions: MutableSequence[GeoTargetConstantSuggestion] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., geo_target_constant_suggestions: MutableSequence[ diff --git a/google-stubs/ads/googleads/v13/services/types/google_ads_field_service.pyi b/google-stubs/ads/googleads/v13/services/types/google_ads_field_service.pyi index e73b74311..70c1a47f9 100644 --- a/google-stubs/ads/googleads/v13/services/types/google_ads_field_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/google_ads_field_service.pyi @@ -1,15 +1,18 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.resources.types.google_ads_field import GoogleAdsField +_M = TypeVar("_M") + class GetGoogleAdsFieldRequest(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -20,8 +23,8 @@ class SearchGoogleAdsFieldsRequest(proto.Message): page_token: str page_size: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., query: str = ..., @@ -34,8 +37,8 @@ class SearchGoogleAdsFieldsResponse(proto.Message): next_page_token: str total_results_count: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[GoogleAdsField] = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/google_ads_service.pyi b/google-stubs/ads/googleads/v13/services/types/google_ads_service.pyi index ffc5dd254..3e462133d 100644 --- a/google-stubs/ads/googleads/v13/services/types/google_ads_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/google_ads_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -622,6 +623,8 @@ from google.ads.googleads.v13.services.types.user_list_service import ( UserListOperation, ) +_M = TypeVar("_M") + class GoogleAdsRow(proto.Message): account_budget: AccountBudget account_budget_proposal: AccountBudgetProposal @@ -784,8 +787,8 @@ class GoogleAdsRow(proto.Message): metrics: Metrics segments: Segments def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., account_budget: AccountBudget = ..., @@ -957,8 +960,8 @@ class MutateGoogleAdsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -972,8 +975,8 @@ class MutateGoogleAdsResponse(proto.Message): partial_failure_error: Status mutate_operation_responses: MutableSequence[MutateOperationResponse] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -1057,8 +1060,8 @@ class MutateOperation(proto.Message): smart_campaign_setting_operation: SmartCampaignSettingOperation user_list_operation: UserListOperation def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad_group_ad_label_operation: AdGroupAdLabelOperation = ..., @@ -1215,8 +1218,8 @@ class MutateOperationResponse(proto.Message): smart_campaign_setting_result: MutateSmartCampaignSettingResult user_list_result: MutateUserListResult def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad_group_ad_label_result: MutateAdGroupAdLabelResult = ..., @@ -1305,8 +1308,8 @@ class SearchGoogleAdsRequest(proto.Message): return_total_results_count: bool summary_row_setting: SummaryRowSettingEnum.SummaryRowSetting def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -1325,8 +1328,8 @@ class SearchGoogleAdsResponse(proto.Message): field_mask: FieldMask summary_row: GoogleAdsRow def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[GoogleAdsRow] = ..., @@ -1341,8 +1344,8 @@ class SearchGoogleAdsStreamRequest(proto.Message): query: str summary_row_setting: SummaryRowSettingEnum.SummaryRowSetting def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -1356,8 +1359,8 @@ class SearchGoogleAdsStreamResponse(proto.Message): summary_row: GoogleAdsRow request_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[GoogleAdsRow] = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/invoice_service.pyi b/google-stubs/ads/googleads/v13/services/types/invoice_service.pyi index 1d223d211..c364a25d3 100644 --- a/google-stubs/ads/googleads/v13/services/types/invoice_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/invoice_service.pyi @@ -1,19 +1,22 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.month_of_year import MonthOfYearEnum from google.ads.googleads.v13.resources.types.invoice import Invoice +_M = TypeVar("_M") + class ListInvoicesRequest(proto.Message): customer_id: str billing_setup: str issue_year: str issue_month: MonthOfYearEnum.MonthOfYear def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -25,8 +28,8 @@ class ListInvoicesRequest(proto.Message): class ListInvoicesResponse(proto.Message): invoices: MutableSequence[Invoice] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., invoices: MutableSequence[Invoice] = ... diff --git a/google-stubs/ads/googleads/v13/services/types/keyword_plan_ad_group_keyword_service.pyi b/google-stubs/ads/googleads/v13/services/types/keyword_plan_ad_group_keyword_service.pyi index 5263d61c5..63ad2e6be 100644 --- a/google-stubs/ads/googleads/v13/services/types/keyword_plan_ad_group_keyword_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/keyword_plan_ad_group_keyword_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -9,14 +10,16 @@ from google.ads.googleads.v13.resources.types.keyword_plan_ad_group_keyword impo KeywordPlanAdGroupKeyword, ) +_M = TypeVar("_M") + class KeywordPlanAdGroupKeywordOperation(proto.Message): update_mask: FieldMask create: KeywordPlanAdGroupKeyword update: KeywordPlanAdGroupKeyword remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -28,8 +31,8 @@ class KeywordPlanAdGroupKeywordOperation(proto.Message): class MutateKeywordPlanAdGroupKeywordResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -41,8 +44,8 @@ class MutateKeywordPlanAdGroupKeywordsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -55,8 +58,8 @@ class MutateKeywordPlanAdGroupKeywordsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateKeywordPlanAdGroupKeywordResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/keyword_plan_ad_group_service.pyi b/google-stubs/ads/googleads/v13/services/types/keyword_plan_ad_group_service.pyi index 7d9207161..6cdee04a5 100644 --- a/google-stubs/ads/googleads/v13/services/types/keyword_plan_ad_group_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/keyword_plan_ad_group_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -9,14 +10,16 @@ from google.ads.googleads.v13.resources.types.keyword_plan_ad_group import ( KeywordPlanAdGroup, ) +_M = TypeVar("_M") + class KeywordPlanAdGroupOperation(proto.Message): update_mask: FieldMask create: KeywordPlanAdGroup update: KeywordPlanAdGroup remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -28,8 +31,8 @@ class KeywordPlanAdGroupOperation(proto.Message): class MutateKeywordPlanAdGroupResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -41,8 +44,8 @@ class MutateKeywordPlanAdGroupsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -55,8 +58,8 @@ class MutateKeywordPlanAdGroupsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateKeywordPlanAdGroupResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/keyword_plan_campaign_keyword_service.pyi b/google-stubs/ads/googleads/v13/services/types/keyword_plan_campaign_keyword_service.pyi index 7eec7be61..e3eaee5f5 100644 --- a/google-stubs/ads/googleads/v13/services/types/keyword_plan_campaign_keyword_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/keyword_plan_campaign_keyword_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -9,14 +10,16 @@ from google.ads.googleads.v13.resources.types.keyword_plan_campaign_keyword impo KeywordPlanCampaignKeyword, ) +_M = TypeVar("_M") + class KeywordPlanCampaignKeywordOperation(proto.Message): update_mask: FieldMask create: KeywordPlanCampaignKeyword update: KeywordPlanCampaignKeyword remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -28,8 +31,8 @@ class KeywordPlanCampaignKeywordOperation(proto.Message): class MutateKeywordPlanCampaignKeywordResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -41,8 +44,8 @@ class MutateKeywordPlanCampaignKeywordsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -55,8 +58,8 @@ class MutateKeywordPlanCampaignKeywordsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateKeywordPlanCampaignKeywordResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/keyword_plan_campaign_service.pyi b/google-stubs/ads/googleads/v13/services/types/keyword_plan_campaign_service.pyi index e77ed116b..4955e60c2 100644 --- a/google-stubs/ads/googleads/v13/services/types/keyword_plan_campaign_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/keyword_plan_campaign_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -9,14 +10,16 @@ from google.ads.googleads.v13.resources.types.keyword_plan_campaign import ( KeywordPlanCampaign, ) +_M = TypeVar("_M") + class KeywordPlanCampaignOperation(proto.Message): update_mask: FieldMask create: KeywordPlanCampaign update: KeywordPlanCampaign remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -28,8 +31,8 @@ class KeywordPlanCampaignOperation(proto.Message): class MutateKeywordPlanCampaignResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -41,8 +44,8 @@ class MutateKeywordPlanCampaignsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -55,8 +58,8 @@ class MutateKeywordPlanCampaignsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateKeywordPlanCampaignResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/keyword_plan_idea_service.pyi b/google-stubs/ads/googleads/v13/services/types/keyword_plan_idea_service.pyi index 2a72b5fe6..39ffc162c 100644 --- a/google-stubs/ads/googleads/v13/services/types/keyword_plan_idea_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/keyword_plan_idea_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.keyword_plan_common import ( @@ -18,6 +19,8 @@ from google.ads.googleads.v13.enums.types.keyword_plan_network import ( KeywordPlanNetworkEnum, ) +_M = TypeVar("_M") + class AdGroupKeywordSuggestion(proto.Message): keyword_text: str suggested_keyword_text: str @@ -25,8 +28,8 @@ class AdGroupKeywordSuggestion(proto.Message): suggested_ad_group: str suggested_campaign: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., keyword_text: str = ..., @@ -41,8 +44,8 @@ class GenerateAdGroupThemesRequest(proto.Message): keywords: MutableSequence[str] ad_groups: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -54,8 +57,8 @@ class GenerateAdGroupThemesResponse(proto.Message): ad_group_keyword_suggestions: MutableSequence[AdGroupKeywordSuggestion] unusable_ad_groups: MutableSequence[UnusableAdGroup] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad_group_keyword_suggestions: MutableSequence[AdGroupKeywordSuggestion] = ..., @@ -72,8 +75,8 @@ class GenerateKeywordHistoricalMetricsRequest(proto.Message): aggregate_metrics: KeywordPlanAggregateMetrics historical_metrics_options: HistoricalMetricsOptions def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -90,8 +93,8 @@ class GenerateKeywordHistoricalMetricsResponse(proto.Message): results: MutableSequence[GenerateKeywordHistoricalMetricsResult] aggregate_metric_results: KeywordPlanAggregateMetricResults def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[GenerateKeywordHistoricalMetricsResult] = ..., @@ -103,8 +106,8 @@ class GenerateKeywordHistoricalMetricsResult(proto.Message): close_variants: MutableSequence[str] keyword_metrics: KeywordPlanHistoricalMetrics def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., text: str = ..., @@ -118,8 +121,8 @@ class GenerateKeywordIdeaResponse(proto.Message): next_page_token: str total_size: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[GenerateKeywordIdeaResult] = ..., @@ -134,8 +137,8 @@ class GenerateKeywordIdeaResult(proto.Message): keyword_annotations: KeywordAnnotations close_variants: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., text: str = ..., @@ -162,8 +165,8 @@ class GenerateKeywordIdeasRequest(proto.Message): url_seed: UrlSeed site_seed: SiteSeed def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -188,8 +191,8 @@ class KeywordAndUrlSeed(proto.Message): url: str keywords: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., url: str = ..., @@ -199,8 +202,8 @@ class KeywordAndUrlSeed(proto.Message): class KeywordSeed(proto.Message): keywords: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., keywords: MutableSequence[str] = ... @@ -209,8 +212,8 @@ class KeywordSeed(proto.Message): class SiteSeed(proto.Message): site: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., site: str = ... @@ -220,8 +223,8 @@ class UnusableAdGroup(proto.Message): ad_group: str campaign: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad_group: str = ..., @@ -231,8 +234,8 @@ class UnusableAdGroup(proto.Message): class UrlSeed(proto.Message): url: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., url: str = ... diff --git a/google-stubs/ads/googleads/v13/services/types/keyword_plan_service.pyi b/google-stubs/ads/googleads/v13/services/types/keyword_plan_service.pyi index 66a2530ec..2a369f63e 100644 --- a/google-stubs/ads/googleads/v13/services/types/keyword_plan_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/keyword_plan_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -13,6 +14,8 @@ from google.ads.googleads.v13.common.types.keyword_plan_common import ( ) from google.ads.googleads.v13.resources.types.keyword_plan import KeywordPlan +_M = TypeVar("_M") + class ForecastMetrics(proto.Message): impressions: float ctr: float @@ -20,8 +23,8 @@ class ForecastMetrics(proto.Message): clicks: float cost_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., impressions: float = ..., @@ -34,8 +37,8 @@ class ForecastMetrics(proto.Message): class GenerateForecastCurveRequest(proto.Message): keyword_plan: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., keyword_plan: str = ... @@ -44,8 +47,8 @@ class GenerateForecastCurveRequest(proto.Message): class GenerateForecastCurveResponse(proto.Message): campaign_forecast_curves: MutableSequence[KeywordPlanCampaignForecastCurve] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., campaign_forecast_curves: MutableSequence[ @@ -56,8 +59,8 @@ class GenerateForecastCurveResponse(proto.Message): class GenerateForecastMetricsRequest(proto.Message): keyword_plan: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., keyword_plan: str = ... @@ -68,8 +71,8 @@ class GenerateForecastMetricsResponse(proto.Message): ad_group_forecasts: MutableSequence[KeywordPlanAdGroupForecast] keyword_forecasts: MutableSequence[KeywordPlanKeywordForecast] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., campaign_forecasts: MutableSequence[KeywordPlanCampaignForecast] = ..., @@ -80,8 +83,8 @@ class GenerateForecastMetricsResponse(proto.Message): class GenerateForecastTimeSeriesRequest(proto.Message): keyword_plan: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., keyword_plan: str = ... @@ -90,8 +93,8 @@ class GenerateForecastTimeSeriesRequest(proto.Message): class GenerateForecastTimeSeriesResponse(proto.Message): weekly_time_series_forecasts: MutableSequence[KeywordPlanWeeklyTimeSeriesForecast] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., weekly_time_series_forecasts: MutableSequence[ @@ -104,8 +107,8 @@ class GenerateHistoricalMetricsRequest(proto.Message): aggregate_metrics: KeywordPlanAggregateMetrics historical_metrics_options: HistoricalMetricsOptions def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., keyword_plan: str = ..., @@ -117,8 +120,8 @@ class GenerateHistoricalMetricsResponse(proto.Message): metrics: MutableSequence[KeywordPlanKeywordHistoricalMetrics] aggregate_metric_results: KeywordPlanAggregateMetricResults def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., metrics: MutableSequence[KeywordPlanKeywordHistoricalMetrics] = ..., @@ -129,8 +132,8 @@ class KeywordPlanAdGroupForecast(proto.Message): keyword_plan_ad_group: str ad_group_forecast: ForecastMetrics def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., keyword_plan_ad_group: str = ..., @@ -141,8 +144,8 @@ class KeywordPlanCampaignForecast(proto.Message): keyword_plan_campaign: str campaign_forecast: ForecastMetrics def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., keyword_plan_campaign: str = ..., @@ -153,8 +156,8 @@ class KeywordPlanCampaignForecastCurve(proto.Message): keyword_plan_campaign: str max_cpc_bid_forecast_curve: KeywordPlanMaxCpcBidForecastCurve def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., keyword_plan_campaign: str = ..., @@ -165,8 +168,8 @@ class KeywordPlanKeywordForecast(proto.Message): keyword_plan_ad_group_keyword: str keyword_forecast: ForecastMetrics def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., keyword_plan_ad_group_keyword: str = ..., @@ -178,8 +181,8 @@ class KeywordPlanKeywordHistoricalMetrics(proto.Message): close_variants: MutableSequence[str] keyword_metrics: KeywordPlanHistoricalMetrics def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., search_query: str = ..., @@ -191,8 +194,8 @@ class KeywordPlanMaxCpcBidForecast(proto.Message): max_cpc_bid_micros: int max_cpc_bid_forecast: ForecastMetrics def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., max_cpc_bid_micros: int = ..., @@ -202,8 +205,8 @@ class KeywordPlanMaxCpcBidForecast(proto.Message): class KeywordPlanMaxCpcBidForecastCurve(proto.Message): max_cpc_bid_forecasts: MutableSequence[KeywordPlanMaxCpcBidForecast] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., max_cpc_bid_forecasts: MutableSequence[KeywordPlanMaxCpcBidForecast] = ... @@ -215,8 +218,8 @@ class KeywordPlanOperation(proto.Message): update: KeywordPlan remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -229,8 +232,8 @@ class KeywordPlanWeeklyForecast(proto.Message): start_date: str forecast: ForecastMetrics def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., start_date: str = ..., @@ -241,8 +244,8 @@ class KeywordPlanWeeklyTimeSeriesForecast(proto.Message): keyword_plan_campaign: str weekly_forecasts: MutableSequence[KeywordPlanWeeklyForecast] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., keyword_plan_campaign: str = ..., @@ -255,8 +258,8 @@ class MutateKeywordPlansRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -269,8 +272,8 @@ class MutateKeywordPlansResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateKeywordPlansResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -280,8 +283,8 @@ class MutateKeywordPlansResponse(proto.Message): class MutateKeywordPlansResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v13/services/types/keyword_theme_constant_service.pyi b/google-stubs/ads/googleads/v13/services/types/keyword_theme_constant_service.pyi index 7866b4491..773fb4cf3 100644 --- a/google-stubs/ads/googleads/v13/services/types/keyword_theme_constant_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/keyword_theme_constant_service.pyi @@ -1,19 +1,22 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.resources.types.keyword_theme_constant import ( KeywordThemeConstant, ) +_M = TypeVar("_M") + class SuggestKeywordThemeConstantsRequest(proto.Message): query_text: str country_code: str language_code: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., query_text: str = ..., @@ -24,8 +27,8 @@ class SuggestKeywordThemeConstantsRequest(proto.Message): class SuggestKeywordThemeConstantsResponse(proto.Message): keyword_theme_constants: MutableSequence[KeywordThemeConstant] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., keyword_theme_constants: MutableSequence[KeywordThemeConstant] = ... diff --git a/google-stubs/ads/googleads/v13/services/types/label_service.pyi b/google-stubs/ads/googleads/v13/services/types/label_service.pyi index 6b4fa6599..99cccbf74 100644 --- a/google-stubs/ads/googleads/v13/services/types/label_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/label_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v13.enums.types.response_content_type import ( ) from google.ads.googleads.v13.resources.types.label import Label +_M = TypeVar("_M") + class LabelOperation(proto.Message): update_mask: FieldMask create: Label update: Label remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateLabelResult(proto.Message): resource_name: str label: Label def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateLabelsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateLabelsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateLabelResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/media_file_service.pyi b/google-stubs/ads/googleads/v13/services/types/media_file_service.pyi index 75d123410..69e17ea7e 100644 --- a/google-stubs/ads/googleads/v13/services/types/media_file_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/media_file_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -9,11 +10,13 @@ from google.ads.googleads.v13.enums.types.response_content_type import ( ) from google.ads.googleads.v13.resources.types.media_file import MediaFile +_M = TypeVar("_M") + class MediaFileOperation(proto.Message): create: MediaFile def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: MediaFile = ... @@ -23,8 +26,8 @@ class MutateMediaFileResult(proto.Message): resource_name: str media_file: MediaFile def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -38,8 +41,8 @@ class MutateMediaFilesRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -53,8 +56,8 @@ class MutateMediaFilesResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateMediaFileResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/merchant_center_link_service.pyi b/google-stubs/ads/googleads/v13/services/types/merchant_center_link_service.pyi index b10f1c12d..4f21857c0 100644 --- a/google-stubs/ads/googleads/v13/services/types/merchant_center_link_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/merchant_center_link_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask @@ -8,11 +9,13 @@ from google.ads.googleads.v13.resources.types.merchant_center_link import ( MerchantCenterLink, ) +_M = TypeVar("_M") + class GetMerchantCenterLinkRequest(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -21,8 +24,8 @@ class GetMerchantCenterLinkRequest(proto.Message): class ListMerchantCenterLinksRequest(proto.Message): customer_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ... @@ -31,8 +34,8 @@ class ListMerchantCenterLinksRequest(proto.Message): class ListMerchantCenterLinksResponse(proto.Message): merchant_center_links: MutableSequence[MerchantCenterLink] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., merchant_center_links: MutableSequence[MerchantCenterLink] = ... @@ -43,8 +46,8 @@ class MerchantCenterLinkOperation(proto.Message): update: MerchantCenterLink remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -57,8 +60,8 @@ class MutateMerchantCenterLinkRequest(proto.Message): operation: MerchantCenterLinkOperation validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -69,8 +72,8 @@ class MutateMerchantCenterLinkRequest(proto.Message): class MutateMerchantCenterLinkResponse(proto.Message): result: MutateMerchantCenterLinkResult def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., result: MutateMerchantCenterLinkResult = ... @@ -79,8 +82,8 @@ class MutateMerchantCenterLinkResponse(proto.Message): class MutateMerchantCenterLinkResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v13/services/types/offline_user_data_job_service.pyi b/google-stubs/ads/googleads/v13/services/types/offline_user_data_job_service.pyi index bf72987bf..2e73e8647 100644 --- a/google-stubs/ads/googleads/v13/services/types/offline_user_data_job_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/offline_user_data_job_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -9,6 +10,8 @@ from google.ads.googleads.v13.resources.types.offline_user_data_job import ( OfflineUserDataJob, ) +_M = TypeVar("_M") + class AddOfflineUserDataJobOperationsRequest(proto.Message): resource_name: str enable_partial_failure: bool @@ -16,8 +19,8 @@ class AddOfflineUserDataJobOperationsRequest(proto.Message): operations: MutableSequence[OfflineUserDataJobOperation] validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -31,8 +34,8 @@ class AddOfflineUserDataJobOperationsResponse(proto.Message): partial_failure_error: Status warning: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -45,8 +48,8 @@ class CreateOfflineUserDataJobRequest(proto.Message): validate_only: bool enable_match_rate_range_preview: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -58,8 +61,8 @@ class CreateOfflineUserDataJobRequest(proto.Message): class CreateOfflineUserDataJobResponse(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -70,8 +73,8 @@ class OfflineUserDataJobOperation(proto.Message): remove: UserData remove_all: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: UserData = ..., @@ -83,8 +86,8 @@ class RunOfflineUserDataJobRequest(proto.Message): resource_name: str validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/payments_account_service.pyi b/google-stubs/ads/googleads/v13/services/types/payments_account_service.pyi index 60a32e8a2..5a22e40b7 100644 --- a/google-stubs/ads/googleads/v13/services/types/payments_account_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/payments_account_service.pyi @@ -1,15 +1,18 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.resources.types.payments_account import PaymentsAccount +_M = TypeVar("_M") + class ListPaymentsAccountsRequest(proto.Message): customer_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ... @@ -18,8 +21,8 @@ class ListPaymentsAccountsRequest(proto.Message): class ListPaymentsAccountsResponse(proto.Message): payments_accounts: MutableSequence[PaymentsAccount] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., payments_accounts: MutableSequence[PaymentsAccount] = ... diff --git a/google-stubs/ads/googleads/v13/services/types/product_link_service.pyi b/google-stubs/ads/googleads/v13/services/types/product_link_service.pyi index a22bee1e0..08c3c4c61 100644 --- a/google-stubs/ads/googleads/v13/services/types/product_link_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/product_link_service.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.resources.types.product_link import ProductLink +_M = TypeVar("_M") + class CreateProductLinkRequest(proto.Message): customer_id: str product_link: ProductLink def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -19,8 +23,8 @@ class CreateProductLinkRequest(proto.Message): class CreateProductLinkResponse(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -31,8 +35,8 @@ class RemoveProductLinkRequest(proto.Message): resource_name: str validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -43,8 +47,8 @@ class RemoveProductLinkRequest(proto.Message): class RemoveProductLinkResponse(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v13/services/types/reach_plan_service.pyi b/google-stubs/ads/googleads/v13/services/types/reach_plan_service.pyi index 8e0cb0454..6f619c973 100644 --- a/google-stubs/ads/googleads/v13/services/types/reach_plan_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/reach_plan_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.criteria import ( @@ -17,11 +18,13 @@ from google.ads.googleads.v13.enums.types.reach_plan_age_range import ( ) from google.ads.googleads.v13.enums.types.reach_plan_network import ReachPlanNetworkEnum +_M = TypeVar("_M") + class AdvancedProductTargeting(proto.Message): youtube_select_settings: YouTubeSelectSettings def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., youtube_select_settings: YouTubeSelectSettings = ..., @@ -30,8 +33,8 @@ class AdvancedProductTargeting(proto.Message): class AudienceTargeting(proto.Message): user_interest: MutableSequence[UserInterestInfo] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., user_interest: MutableSequence[UserInterestInfo] = ..., @@ -41,8 +44,8 @@ class CampaignDuration(proto.Message): duration_in_days: int date_range: DateRange def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., duration_in_days: int = ..., @@ -56,8 +59,8 @@ class EffectiveFrequencyBreakdown(proto.Message): effective_coview_reach: int on_target_effective_coview_reach: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., effective_frequency: int = ..., @@ -70,8 +73,8 @@ class EffectiveFrequencyBreakdown(proto.Message): class EffectiveFrequencyLimit(proto.Message): effective_frequency_breakdown_limit: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., effective_frequency_breakdown_limit: int = ..., @@ -89,8 +92,8 @@ class Forecast(proto.Message): on_target_coview_impressions: int total_coview_impressions: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., on_target_reach: int = ..., @@ -110,8 +113,8 @@ class Forecast(proto.Message): class ForecastMetricOptions(proto.Message): include_coview: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., include_coview: bool = ..., @@ -121,8 +124,8 @@ class FrequencyCap(proto.Message): impressions: int time_unit: FrequencyCapTimeUnitEnum.FrequencyCapTimeUnit def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., impressions: int = ..., @@ -142,8 +145,8 @@ class GenerateReachForecastRequest(proto.Message): forecast_metric_options: ForecastMetricOptions customer_reach_group: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -163,8 +166,8 @@ class GenerateReachForecastResponse(proto.Message): on_target_audience_metrics: OnTargetAudienceMetrics reach_curve: ReachCurve def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., on_target_audience_metrics: OnTargetAudienceMetrics = ..., @@ -173,8 +176,8 @@ class GenerateReachForecastResponse(proto.Message): class ListPlannableLocationsRequest(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -183,8 +186,8 @@ class ListPlannableLocationsRequest(proto.Message): class ListPlannableLocationsResponse(proto.Message): plannable_locations: MutableSequence[PlannableLocation] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., plannable_locations: MutableSequence[PlannableLocation] = ..., @@ -193,8 +196,8 @@ class ListPlannableLocationsResponse(proto.Message): class ListPlannableProductsRequest(proto.Message): plannable_location_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., plannable_location_id: str = ..., @@ -203,8 +206,8 @@ class ListPlannableProductsRequest(proto.Message): class ListPlannableProductsResponse(proto.Message): product_metadata: MutableSequence[ProductMetadata] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., product_metadata: MutableSequence[ProductMetadata] = ..., @@ -214,8 +217,8 @@ class OnTargetAudienceMetrics(proto.Message): youtube_audience_size: int census_audience_size: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., youtube_audience_size: int = ..., @@ -229,8 +232,8 @@ class PlannableLocation(proto.Message): country_code: str location_type: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., id: str = ..., @@ -247,8 +250,8 @@ class PlannableTargeting(proto.Message): networks: MutableSequence[ReachPlanNetworkEnum.ReachPlanNetwork] youtube_select_lineups: MutableSequence[YouTubeSelectLineUp] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., age_ranges: MutableSequence[ReachPlanAgeRangeEnum.ReachPlanAgeRange] = ..., @@ -263,8 +266,8 @@ class PlannedProduct(proto.Message): budget_micros: int advanced_product_targeting: AdvancedProductTargeting def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., plannable_product_code: str = ..., @@ -283,8 +286,8 @@ class PlannedProductForecast(proto.Message): on_target_coview_impressions: int total_coview_impressions: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., on_target_reach: int = ..., @@ -303,8 +306,8 @@ class PlannedProductReachForecast(proto.Message): cost_micros: int planned_product_forecast: PlannedProductForecast def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., plannable_product_code: str = ..., @@ -317,8 +320,8 @@ class ProductMetadata(proto.Message): plannable_product_name: str plannable_targeting: PlannableTargeting def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., plannable_product_code: str = ..., @@ -329,8 +332,8 @@ class ProductMetadata(proto.Message): class ReachCurve(proto.Message): reach_forecasts: MutableSequence[ReachForecast] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., reach_forecasts: MutableSequence[ReachForecast] = ..., @@ -341,8 +344,8 @@ class ReachForecast(proto.Message): forecast: Forecast planned_product_reach_forecasts: MutableSequence[PlannedProductReachForecast] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., cost_micros: int = ..., @@ -361,8 +364,8 @@ class Targeting(proto.Message): network: ReachPlanNetworkEnum.ReachPlanNetwork audience_targeting: AudienceTargeting def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., plannable_location_id: str = ..., @@ -378,8 +381,8 @@ class YouTubeSelectLineUp(proto.Message): lineup_id: int lineup_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., lineup_id: int = ..., @@ -389,8 +392,8 @@ class YouTubeSelectLineUp(proto.Message): class YouTubeSelectSettings(proto.Message): lineup_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., lineup_id: int = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/recommendation_service.pyi b/google-stubs/ads/googleads/v13/services/types/recommendation_service.pyi index 7d3a24143..91c674d90 100644 --- a/google-stubs/ads/googleads/v13/services/types/recommendation_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/recommendation_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -13,6 +14,8 @@ from google.ads.googleads.v13.enums.types.keyword_match_type import KeywordMatch from google.ads.googleads.v13.resources.types.ad import Ad from google.ads.googleads.v13.resources.types.asset import Asset +_M = TypeVar("_M") + class ApplyRecommendationOperation(proto.Message): class AdAssetApplyParameters(proto.Message): class ApplyScope(proto.Enum): @@ -24,8 +27,8 @@ class ApplyRecommendationOperation(proto.Message): existing_assets: MutableSequence[str] scope: ApplyRecommendationOperation.AdAssetApplyParameters.ApplyScope def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., new_assets: MutableSequence[Asset] = ..., @@ -36,8 +39,8 @@ class ApplyRecommendationOperation(proto.Message): class CallAssetParameters(proto.Message): ad_asset_apply_parameters: ApplyRecommendationOperation.AdAssetApplyParameters def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad_asset_apply_parameters: ApplyRecommendationOperation.AdAssetApplyParameters = ... @@ -46,8 +49,8 @@ class ApplyRecommendationOperation(proto.Message): class CallExtensionParameters(proto.Message): call_extensions: MutableSequence[CallFeedItem] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., call_extensions: MutableSequence[CallFeedItem] = ... @@ -56,8 +59,8 @@ class ApplyRecommendationOperation(proto.Message): class CalloutAssetParameters(proto.Message): ad_asset_apply_parameters: ApplyRecommendationOperation.AdAssetApplyParameters def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad_asset_apply_parameters: ApplyRecommendationOperation.AdAssetApplyParameters = ... @@ -66,8 +69,8 @@ class ApplyRecommendationOperation(proto.Message): class CalloutExtensionParameters(proto.Message): callout_extensions: MutableSequence[CalloutFeedItem] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., callout_extensions: MutableSequence[CalloutFeedItem] = ... @@ -76,8 +79,8 @@ class ApplyRecommendationOperation(proto.Message): class CampaignBudgetParameters(proto.Message): new_budget_amount_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., new_budget_amount_micros: int = ... @@ -87,8 +90,8 @@ class ApplyRecommendationOperation(proto.Message): target_roas: float campaign_budget_amount_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_roas: float = ..., @@ -100,8 +103,8 @@ class ApplyRecommendationOperation(proto.Message): match_type: KeywordMatchTypeEnum.KeywordMatchType cpc_bid_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad_group: str = ..., @@ -112,8 +115,8 @@ class ApplyRecommendationOperation(proto.Message): class MoveUnusedBudgetParameters(proto.Message): budget_micros_to_move: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., budget_micros_to_move: int = ... @@ -122,8 +125,8 @@ class ApplyRecommendationOperation(proto.Message): class RaiseTargetCpaBidTooLowParameters(proto.Message): target_multiplier: float def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_multiplier: float = ... @@ -132,8 +135,8 @@ class ApplyRecommendationOperation(proto.Message): class ResponsiveSearchAdAssetParameters(proto.Message): updated_ad: Ad def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., updated_ad: Ad = ... @@ -142,8 +145,8 @@ class ApplyRecommendationOperation(proto.Message): class ResponsiveSearchAdImproveAdStrengthParameters(proto.Message): updated_ad: Ad def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., updated_ad: Ad = ... @@ -152,8 +155,8 @@ class ApplyRecommendationOperation(proto.Message): class ResponsiveSearchAdParameters(proto.Message): ad: Ad def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad: Ad = ... @@ -162,8 +165,8 @@ class ApplyRecommendationOperation(proto.Message): class SitelinkAssetParameters(proto.Message): ad_asset_apply_parameters: ApplyRecommendationOperation.AdAssetApplyParameters def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad_asset_apply_parameters: ApplyRecommendationOperation.AdAssetApplyParameters = ... @@ -172,8 +175,8 @@ class ApplyRecommendationOperation(proto.Message): class SitelinkExtensionParameters(proto.Message): sitelink_extensions: MutableSequence[SitelinkFeedItem] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., sitelink_extensions: MutableSequence[SitelinkFeedItem] = ... @@ -183,8 +186,8 @@ class ApplyRecommendationOperation(proto.Message): target_cpa_micros: int new_campaign_budget_amount_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_cpa_micros: int = ..., @@ -195,8 +198,8 @@ class ApplyRecommendationOperation(proto.Message): target_roas: float new_campaign_budget_amount_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_roas: float = ..., @@ -206,8 +209,8 @@ class ApplyRecommendationOperation(proto.Message): class TextAdParameters(proto.Message): ad: Ad def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad: Ad = ... @@ -216,8 +219,8 @@ class ApplyRecommendationOperation(proto.Message): class UseBroadMatchKeywordParameters(proto.Message): new_budget_amount_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., new_budget_amount_micros: int = ... @@ -242,8 +245,8 @@ class ApplyRecommendationOperation(proto.Message): call_asset: ApplyRecommendationOperation.CallAssetParameters sitelink_asset: ApplyRecommendationOperation.SitelinkAssetParameters def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -272,8 +275,8 @@ class ApplyRecommendationRequest(proto.Message): operations: MutableSequence[ApplyRecommendationOperation] partial_failure: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -285,8 +288,8 @@ class ApplyRecommendationResponse(proto.Message): results: MutableSequence[ApplyRecommendationResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[ApplyRecommendationResult] = ..., @@ -296,8 +299,8 @@ class ApplyRecommendationResponse(proto.Message): class ApplyRecommendationResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -307,8 +310,8 @@ class DismissRecommendationRequest(proto.Message): class DismissRecommendationOperation(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -319,8 +322,8 @@ class DismissRecommendationRequest(proto.Message): ] partial_failure: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -334,8 +337,8 @@ class DismissRecommendationResponse(proto.Message): class DismissRecommendationResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -343,8 +346,8 @@ class DismissRecommendationResponse(proto.Message): results: MutableSequence[DismissRecommendationResponse.DismissRecommendationResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[ diff --git a/google-stubs/ads/googleads/v13/services/types/remarketing_action_service.pyi b/google-stubs/ads/googleads/v13/services/types/remarketing_action_service.pyi index a650f4ad9..0e75c3ce4 100644 --- a/google-stubs/ads/googleads/v13/services/types/remarketing_action_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/remarketing_action_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -9,11 +10,13 @@ from google.ads.googleads.v13.resources.types.remarketing_action import ( RemarketingAction, ) +_M = TypeVar("_M") + class MutateRemarketingActionResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -25,8 +28,8 @@ class MutateRemarketingActionsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -39,8 +42,8 @@ class MutateRemarketingActionsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateRemarketingActionResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -52,8 +55,8 @@ class RemarketingActionOperation(proto.Message): create: RemarketingAction update: RemarketingAction def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/shared_criterion_service.pyi b/google-stubs/ads/googleads/v13/services/types/shared_criterion_service.pyi index 2ee268845..60daf673b 100644 --- a/google-stubs/ads/googleads/v13/services/types/shared_criterion_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/shared_criterion_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -9,6 +10,8 @@ from google.ads.googleads.v13.enums.types.response_content_type import ( ) from google.ads.googleads.v13.resources.types.shared_criterion import SharedCriterion +_M = TypeVar("_M") + class MutateSharedCriteriaRequest(proto.Message): customer_id: str operations: MutableSequence[SharedCriterionOperation] @@ -16,8 +19,8 @@ class MutateSharedCriteriaRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -31,8 +34,8 @@ class MutateSharedCriteriaResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateSharedCriterionResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -43,8 +46,8 @@ class MutateSharedCriterionResult(proto.Message): resource_name: str shared_criterion: SharedCriterion def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -55,8 +58,8 @@ class SharedCriterionOperation(proto.Message): create: SharedCriterion remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: SharedCriterion = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/shared_set_service.pyi b/google-stubs/ads/googleads/v13/services/types/shared_set_service.pyi index 0be178014..3108564ef 100644 --- a/google-stubs/ads/googleads/v13/services/types/shared_set_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/shared_set_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,12 +11,14 @@ from google.ads.googleads.v13.enums.types.response_content_type import ( ) from google.ads.googleads.v13.resources.types.shared_set import SharedSet +_M = TypeVar("_M") + class MutateSharedSetResult(proto.Message): resource_name: str shared_set: SharedSet def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -29,8 +32,8 @@ class MutateSharedSetsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -44,8 +47,8 @@ class MutateSharedSetsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateSharedSetResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -58,8 +61,8 @@ class SharedSetOperation(proto.Message): update: SharedSet remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/smart_campaign_setting_service.pyi b/google-stubs/ads/googleads/v13/services/types/smart_campaign_setting_service.pyi index 621d6db45..8c2a37f53 100644 --- a/google-stubs/ads/googleads/v13/services/types/smart_campaign_setting_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/smart_campaign_setting_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -18,11 +19,13 @@ from google.ads.googleads.v13.resources.types.smart_campaign_setting import ( SmartCampaignSetting, ) +_M = TypeVar("_M") + class GetSmartCampaignStatusRequest(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -36,8 +39,8 @@ class GetSmartCampaignStatusResponse(proto.Message): removed_details: SmartCampaignRemovedDetails ended_details: SmartCampaignEndedDetails def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., smart_campaign_status: SmartCampaignStatusEnum.SmartCampaignStatus = ..., @@ -52,8 +55,8 @@ class MutateSmartCampaignSettingResult(proto.Message): resource_name: str smart_campaign_setting: SmartCampaignSetting def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -67,8 +70,8 @@ class MutateSmartCampaignSettingsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -82,8 +85,8 @@ class MutateSmartCampaignSettingsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateSmartCampaignSettingResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -94,8 +97,8 @@ class SmartCampaignEligibleDetails(proto.Message): last_impression_date_time: str end_date_time: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., last_impression_date_time: str = ..., @@ -105,8 +108,8 @@ class SmartCampaignEligibleDetails(proto.Message): class SmartCampaignEndedDetails(proto.Message): end_date_time: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., end_date_time: str = ... @@ -115,8 +118,8 @@ class SmartCampaignEndedDetails(proto.Message): class SmartCampaignNotEligibleDetails(proto.Message): not_eligible_reason: SmartCampaignNotEligibleReasonEnum.SmartCampaignNotEligibleReason def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., not_eligible_reason: SmartCampaignNotEligibleReasonEnum.SmartCampaignNotEligibleReason = ... @@ -125,8 +128,8 @@ class SmartCampaignNotEligibleDetails(proto.Message): class SmartCampaignPausedDetails(proto.Message): paused_date_time: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., paused_date_time: str = ... @@ -135,8 +138,8 @@ class SmartCampaignPausedDetails(proto.Message): class SmartCampaignRemovedDetails(proto.Message): removed_date_time: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., removed_date_time: str = ... @@ -146,8 +149,8 @@ class SmartCampaignSettingOperation(proto.Message): update: SmartCampaignSetting update_mask: FieldMask def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update: SmartCampaignSetting = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/smart_campaign_suggest_service.pyi b/google-stubs/ads/googleads/v13/services/types/smart_campaign_suggest_service.pyi index b08ada86c..c8c08d03f 100644 --- a/google-stubs/ads/googleads/v13/services/types/smart_campaign_suggest_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/smart_campaign_suggest_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.ad_type_infos import SmartCampaignAdInfo @@ -14,12 +15,14 @@ from google.ads.googleads.v13.resources.types.keyword_theme_constant import ( KeywordThemeConstant, ) +_M = TypeVar("_M") + class SmartCampaignSuggestionInfo(proto.Message): class BusinessContext(proto.Message): business_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., business_name: str = ... @@ -28,8 +31,8 @@ class SmartCampaignSuggestionInfo(proto.Message): class LocationList(proto.Message): locations: MutableSequence[LocationInfo] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., locations: MutableSequence[LocationInfo] = ... @@ -43,8 +46,8 @@ class SmartCampaignSuggestionInfo(proto.Message): location_list: SmartCampaignSuggestionInfo.LocationList proximity: ProximityInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., final_url: str = ..., @@ -61,8 +64,8 @@ class SuggestKeywordThemesRequest(proto.Message): customer_id: str suggestion_info: SmartCampaignSuggestionInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -74,8 +77,8 @@ class SuggestKeywordThemesResponse(proto.Message): keyword_theme_constant: KeywordThemeConstant free_form_keyword_theme: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., keyword_theme_constant: KeywordThemeConstant = ..., @@ -83,8 +86,8 @@ class SuggestKeywordThemesResponse(proto.Message): ) -> None: ... keyword_themes: MutableSequence[SuggestKeywordThemesResponse.KeywordTheme] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., keyword_themes: MutableSequence[SuggestKeywordThemesResponse.KeywordTheme] = ... @@ -94,8 +97,8 @@ class SuggestSmartCampaignAdRequest(proto.Message): customer_id: str suggestion_info: SmartCampaignSuggestionInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -105,8 +108,8 @@ class SuggestSmartCampaignAdRequest(proto.Message): class SuggestSmartCampaignAdResponse(proto.Message): ad_info: SmartCampaignAdInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad_info: SmartCampaignAdInfo = ... @@ -117,8 +120,8 @@ class SuggestSmartCampaignBudgetOptionsRequest(proto.Message): campaign: str suggestion_info: SmartCampaignSuggestionInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -131,8 +134,8 @@ class SuggestSmartCampaignBudgetOptionsResponse(proto.Message): daily_amount_micros: int metrics: SuggestSmartCampaignBudgetOptionsResponse.Metrics def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., daily_amount_micros: int = ..., @@ -143,8 +146,8 @@ class SuggestSmartCampaignBudgetOptionsResponse(proto.Message): min_daily_clicks: int max_daily_clicks: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., min_daily_clicks: int = ..., @@ -154,8 +157,8 @@ class SuggestSmartCampaignBudgetOptionsResponse(proto.Message): recommended: SuggestSmartCampaignBudgetOptionsResponse.BudgetOption high: SuggestSmartCampaignBudgetOptionsResponse.BudgetOption def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., low: SuggestSmartCampaignBudgetOptionsResponse.BudgetOption = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/third_party_app_analytics_link_service.pyi b/google-stubs/ads/googleads/v13/services/types/third_party_app_analytics_link_service.pyi index 8c236044e..db1aef4ca 100644 --- a/google-stubs/ads/googleads/v13/services/types/third_party_app_analytics_link_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/third_party_app_analytics_link_service.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class RegenerateShareableLinkIdRequest(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -14,8 +18,8 @@ class RegenerateShareableLinkIdRequest(proto.Message): class RegenerateShareableLinkIdResponse(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v13/services/types/travel_asset_suggestion_service.pyi b/google-stubs/ads/googleads/v13/services/types/travel_asset_suggestion_service.pyi index 2da6ede48..4dcdf68ae 100644 --- a/google-stubs/ads/googleads/v13/services/types/travel_asset_suggestion_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/travel_asset_suggestion_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.enums.types.asset_field_type import AssetFieldTypeEnum @@ -11,6 +12,8 @@ from google.ads.googleads.v13.enums.types.hotel_asset_suggestion_status import ( HotelAssetSuggestionStatusEnum, ) +_M = TypeVar("_M") + class HotelAssetSuggestion(proto.Message): place_id: str final_url: str @@ -20,8 +23,8 @@ class HotelAssetSuggestion(proto.Message): image_assets: MutableSequence[HotelImageAsset] status: HotelAssetSuggestionStatusEnum.HotelAssetSuggestionStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., place_id: str = ..., @@ -37,8 +40,8 @@ class HotelImageAsset(proto.Message): uri: str asset_field_type: AssetFieldTypeEnum.AssetFieldType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., uri: str = ..., @@ -49,8 +52,8 @@ class HotelTextAsset(proto.Message): text: str asset_field_type: AssetFieldTypeEnum.AssetFieldType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., text: str = ..., @@ -62,8 +65,8 @@ class SuggestTravelAssetsRequest(proto.Message): language_option: str place_id: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -74,8 +77,8 @@ class SuggestTravelAssetsRequest(proto.Message): class SuggestTravelAssetsResponse(proto.Message): hotel_asset_suggestions: MutableSequence[HotelAssetSuggestion] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., hotel_asset_suggestions: MutableSequence[HotelAssetSuggestion] = ... diff --git a/google-stubs/ads/googleads/v13/services/types/user_data_service.pyi b/google-stubs/ads/googleads/v13/services/types/user_data_service.pyi index 81a1e189e..22bb957cb 100644 --- a/google-stubs/ads/googleads/v13/services/types/user_data_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/user_data_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v13.common.types.offline_user_data import ( @@ -8,13 +9,15 @@ from google.ads.googleads.v13.common.types.offline_user_data import ( UserData, ) +_M = TypeVar("_M") + class UploadUserDataRequest(proto.Message): customer_id: str operations: MutableSequence[UserDataOperation] customer_match_user_list_metadata: CustomerMatchUserListMetadata def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -26,8 +29,8 @@ class UploadUserDataResponse(proto.Message): upload_date_time: str received_operations_count: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., upload_date_time: str = ..., @@ -38,8 +41,8 @@ class UserDataOperation(proto.Message): create: UserData remove: UserData def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: UserData = ..., diff --git a/google-stubs/ads/googleads/v13/services/types/user_list_service.pyi b/google-stubs/ads/googleads/v13/services/types/user_list_service.pyi index 07978cca7..9a6369ad7 100644 --- a/google-stubs/ads/googleads/v13/services/types/user_list_service.pyi +++ b/google-stubs/ads/googleads/v13/services/types/user_list_service.pyi @@ -1,17 +1,20 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status from google.ads.googleads.v13.resources.types.user_list import UserList +_M = TypeVar("_M") + class MutateUserListResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -23,8 +26,8 @@ class MutateUserListsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -37,8 +40,8 @@ class MutateUserListsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateUserListResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -51,8 +54,8 @@ class UserListOperation(proto.Message): update: UserList remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., diff --git a/google-stubs/ads/googleads/v14/common/types/ad_asset.pyi b/google-stubs/ads/googleads/v14/common/types/ad_asset.pyi index d3c78d32c..c902e59f0 100644 --- a/google-stubs/ads/googleads/v14/common/types/ad_asset.pyi +++ b/google-stubs/ads/googleads/v14/common/types/ad_asset.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.asset_policy import AdAssetPolicySummary @@ -10,11 +12,13 @@ from google.ads.googleads.v14.enums.types.served_asset_field_type import ( ServedAssetFieldTypeEnum, ) +_M = TypeVar("_M") + class AdCallToActionAsset(proto.Message): asset: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., asset: str = ... @@ -23,8 +27,8 @@ class AdCallToActionAsset(proto.Message): class AdDiscoveryCarouselCardAsset(proto.Message): asset: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., asset: str = ... @@ -33,8 +37,8 @@ class AdDiscoveryCarouselCardAsset(proto.Message): class AdImageAsset(proto.Message): asset: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., asset: str = ... @@ -43,8 +47,8 @@ class AdImageAsset(proto.Message): class AdMediaBundleAsset(proto.Message): asset: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., asset: str = ... @@ -56,8 +60,8 @@ class AdTextAsset(proto.Message): asset_performance_label: AssetPerformanceLabelEnum.AssetPerformanceLabel policy_summary_info: AdAssetPolicySummary def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., text: str = ..., @@ -69,8 +73,8 @@ class AdTextAsset(proto.Message): class AdVideoAsset(proto.Message): asset: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., asset: str = ... diff --git a/google-stubs/ads/googleads/v14/common/types/ad_type_infos.pyi b/google-stubs/ads/googleads/v14/common/types/ad_type_infos.pyi index 8cf841262..e92844551 100644 --- a/google-stubs/ads/googleads/v14/common/types/ad_type_infos.pyi +++ b/google-stubs/ads/googleads/v14/common/types/ad_type_infos.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.ad_asset import ( @@ -26,6 +27,8 @@ from google.ads.googleads.v14.enums.types.legacy_app_install_ad_app_store import from google.ads.googleads.v14.enums.types.mime_type import MimeTypeEnum from google.ads.googleads.v14.enums.types.video_thumbnail import VideoThumbnailEnum +_M = TypeVar("_M") + class AppAdInfo(proto.Message): mandatory_ad_text: AdTextAsset headlines: MutableSequence[AdTextAsset] @@ -34,8 +37,8 @@ class AppAdInfo(proto.Message): youtube_videos: MutableSequence[AdVideoAsset] html5_media_bundles: MutableSequence[AdMediaBundleAsset] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., mandatory_ad_text: AdTextAsset = ..., @@ -52,8 +55,8 @@ class AppEngagementAdInfo(proto.Message): images: MutableSequence[AdImageAsset] videos: MutableSequence[AdVideoAsset] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., headlines: MutableSequence[AdTextAsset] = ..., @@ -68,8 +71,8 @@ class AppPreRegistrationAdInfo(proto.Message): images: MutableSequence[AdImageAsset] youtube_videos: MutableSequence[AdVideoAsset] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., headlines: MutableSequence[AdTextAsset] = ..., @@ -94,8 +97,8 @@ class CallAdInfo(proto.Message): path1: str path2: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., country_code: str = ..., @@ -122,8 +125,8 @@ class DiscoveryCarouselAdInfo(proto.Message): call_to_action_text: str carousel_cards: MutableSequence[AdDiscoveryCarouselCardAsset] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., business_name: str = ..., @@ -145,8 +148,8 @@ class DiscoveryMultiAssetAdInfo(proto.Message): call_to_action_text: str lead_form_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., marketing_images: MutableSequence[AdImageAsset] = ..., @@ -171,8 +174,8 @@ class DiscoveryVideoResponsiveAdInfo(proto.Message): business_name: AdTextAsset call_to_actions: MutableSequence[AdCallToActionAsset] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., headlines: MutableSequence[AdTextAsset] = ..., @@ -190,8 +193,8 @@ class DisplayUploadAdInfo(proto.Message): display_upload_product_type: DisplayUploadProductTypeEnum.DisplayUploadProductType media_bundle: AdMediaBundleAsset def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., display_upload_product_type: DisplayUploadProductTypeEnum.DisplayUploadProductType = ..., @@ -202,8 +205,8 @@ class ExpandedDynamicSearchAdInfo(proto.Message): description: str description2: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., description: str = ..., @@ -219,8 +222,8 @@ class ExpandedTextAdInfo(proto.Message): path1: str path2: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., headline_part1: str = ..., @@ -234,8 +237,8 @@ class ExpandedTextAdInfo(proto.Message): class HotelAdInfo(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -254,8 +257,8 @@ class ImageAdInfo(proto.Message): data: bytes ad_id_to_copy_image_from: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., pixel_width: int = ..., @@ -277,8 +280,8 @@ class InFeedVideoAdInfo(proto.Message): description2: str thumbnail: VideoThumbnailEnum.VideoThumbnail def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., headline: str = ..., @@ -294,8 +297,8 @@ class LegacyAppInstallAdInfo(proto.Message): description1: str description2: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., app_id: str = ..., @@ -322,8 +325,8 @@ class LegacyResponsiveDisplayAdInfo(proto.Message): price_prefix: str promo_text: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., short_headline: str = ..., @@ -353,8 +356,8 @@ class LocalAdInfo(proto.Message): path1: str path2: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., headlines: MutableSequence[AdTextAsset] = ..., @@ -371,8 +374,8 @@ class ResponsiveDisplayAdControlSpec(proto.Message): enable_asset_enhancements: bool enable_autogen_video: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., enable_asset_enhancements: bool = ..., @@ -398,8 +401,8 @@ class ResponsiveDisplayAdInfo(proto.Message): format_setting: DisplayAdFormatSettingEnum.DisplayAdFormatSetting control_spec: ResponsiveDisplayAdControlSpec def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., marketing_images: MutableSequence[AdImageAsset] = ..., @@ -427,8 +430,8 @@ class ResponsiveSearchAdInfo(proto.Message): path1: str path2: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., headlines: MutableSequence[AdTextAsset] = ..., @@ -440,8 +443,8 @@ class ResponsiveSearchAdInfo(proto.Message): class ShoppingComparisonListingAdInfo(proto.Message): headline: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., headline: str = ..., @@ -449,8 +452,8 @@ class ShoppingComparisonListingAdInfo(proto.Message): class ShoppingProductAdInfo(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -458,8 +461,8 @@ class ShoppingProductAdInfo(proto.Message): class ShoppingSmartAdInfo(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -469,8 +472,8 @@ class SmartCampaignAdInfo(proto.Message): headlines: MutableSequence[AdTextAsset] descriptions: MutableSequence[AdTextAsset] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., headlines: MutableSequence[AdTextAsset] = ..., @@ -482,8 +485,8 @@ class TextAdInfo(proto.Message): description1: str description2: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., headline: str = ..., @@ -493,8 +496,8 @@ class TextAdInfo(proto.Message): class TravelAdInfo(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -508,8 +511,8 @@ class VideoAdInfo(proto.Message): non_skippable: VideoNonSkippableInStreamAdInfo in_feed: InFeedVideoAdInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., video: AdVideoAsset = ..., @@ -525,8 +528,8 @@ class VideoBumperInStreamAdInfo(proto.Message): action_button_label: str action_headline: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., companion_banner: AdImageAsset = ..., @@ -539,8 +542,8 @@ class VideoNonSkippableInStreamAdInfo(proto.Message): action_button_label: str action_headline: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., companion_banner: AdImageAsset = ..., @@ -552,8 +555,8 @@ class VideoOutstreamAdInfo(proto.Message): headline: str description: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., headline: str = ..., @@ -570,8 +573,8 @@ class VideoResponsiveAdInfo(proto.Message): breadcrumb1: str breadcrumb2: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., headlines: MutableSequence[AdTextAsset] = ..., @@ -589,8 +592,8 @@ class VideoTrueViewInStreamAdInfo(proto.Message): action_headline: str companion_banner: AdImageAsset def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., action_button_label: str = ..., diff --git a/google-stubs/ads/googleads/v14/common/types/asset_policy.pyi b/google-stubs/ads/googleads/v14/common/types/asset_policy.pyi index 03a33cbce..ac9fb9f28 100644 --- a/google-stubs/ads/googleads/v14/common/types/asset_policy.pyi +++ b/google-stubs/ads/googleads/v14/common/types/asset_policy.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.policy import PolicyTopicEntry @@ -20,13 +21,15 @@ from google.ads.googleads.v14.enums.types.policy_review_status import ( PolicyReviewStatusEnum, ) +_M = TypeVar("_M") + class AdAssetPolicySummary(proto.Message): policy_topic_entries: MutableSequence[PolicyTopicEntry] review_status: PolicyReviewStatusEnum.PolicyReviewStatus approval_status: PolicyApprovalStatusEnum.PolicyApprovalStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., policy_topic_entries: MutableSequence[PolicyTopicEntry] = ..., @@ -39,8 +42,8 @@ class AssetDisapproved(proto.Message): AssetOfflineEvaluationErrorReasonsEnum.AssetOfflineEvaluationErrorReasons ] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., offline_evaluation_error_reasons: MutableSequence[ @@ -53,8 +56,8 @@ class AssetLinkPrimaryStatusDetails(proto.Message): status: AssetLinkPrimaryStatusEnum.AssetLinkPrimaryStatus asset_disapproved: AssetDisapproved def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., reason: AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason = ..., diff --git a/google-stubs/ads/googleads/v14/common/types/asset_set_types.pyi b/google-stubs/ads/googleads/v14/common/types/asset_set_types.pyi index 3502510b1..d07632015 100644 --- a/google-stubs/ads/googleads/v14/common/types/asset_set_types.pyi +++ b/google-stubs/ads/googleads/v14/common/types/asset_set_types.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.chain_relationship_type import ( @@ -13,12 +14,14 @@ from google.ads.googleads.v14.enums.types.location_string_filter_type import ( LocationStringFilterTypeEnum, ) +_M = TypeVar("_M") + class BusinessProfileBusinessNameFilter(proto.Message): business_name: str filter_type: LocationStringFilterTypeEnum.LocationStringFilterType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., business_name: str = ..., @@ -28,8 +31,8 @@ class BusinessProfileBusinessNameFilter(proto.Message): class BusinessProfileLocationGroup(proto.Message): dynamic_business_profile_location_group_filter: DynamicBusinessProfileLocationGroupFilter def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., dynamic_business_profile_location_group_filter: DynamicBusinessProfileLocationGroupFilter = ... @@ -43,8 +46,8 @@ class BusinessProfileLocationSet(proto.Message): listing_id_filters: MutableSequence[int] business_account_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., http_authorization_token: str = ..., @@ -59,8 +62,8 @@ class ChainFilter(proto.Message): chain_id: int location_attributes: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., chain_id: int = ..., @@ -70,8 +73,8 @@ class ChainFilter(proto.Message): class ChainLocationGroup(proto.Message): dynamic_chain_location_group_filters: MutableSequence[ChainFilter] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., dynamic_chain_location_group_filters: MutableSequence[ChainFilter] = ... @@ -81,8 +84,8 @@ class ChainSet(proto.Message): relationship_type: ChainRelationshipTypeEnum.ChainRelationshipType chains: MutableSequence[ChainFilter] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., relationship_type: ChainRelationshipTypeEnum.ChainRelationshipType = ..., @@ -94,8 +97,8 @@ class DynamicBusinessProfileLocationGroupFilter(proto.Message): business_name_filter: BusinessProfileBusinessNameFilter listing_id_filters: MutableSequence[int] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., label_filters: MutableSequence[str] = ..., @@ -109,8 +112,8 @@ class LocationSet(proto.Message): chain_location_set: ChainSet maps_location_set: MapsLocationSet def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., location_ownership_type: LocationOwnershipTypeEnum.LocationOwnershipType = ..., @@ -122,8 +125,8 @@ class LocationSet(proto.Message): class MapsLocationInfo(proto.Message): place_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., place_id: str = ... @@ -132,8 +135,8 @@ class MapsLocationInfo(proto.Message): class MapsLocationSet(proto.Message): maps_locations: MutableSequence[MapsLocationInfo] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., maps_locations: MutableSequence[MapsLocationInfo] = ... diff --git a/google-stubs/ads/googleads/v14/common/types/asset_types.pyi b/google-stubs/ads/googleads/v14/common/types/asset_types.pyi index 18f78d0b7..4de739a7f 100644 --- a/google-stubs/ads/googleads/v14/common/types/asset_types.pyi +++ b/google-stubs/ads/googleads/v14/common/types/asset_types.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.criteria import AdScheduleInfo @@ -44,10 +45,12 @@ from google.ads.googleads.v14.enums.types.promotion_extension_occasion import ( PromotionExtensionOccasionEnum, ) +_M = TypeVar("_M") + class BookOnGoogleAsset(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -58,8 +61,8 @@ class BusinessProfileLocation(proto.Message): store_code: str listing_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., labels: MutableSequence[str] = ..., @@ -74,8 +77,8 @@ class CallAsset(proto.Message): call_conversion_action: str ad_schedule_targets: MutableSequence[AdScheduleInfo] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., country_code: str = ..., @@ -88,8 +91,8 @@ class CallAsset(proto.Message): class CallToActionAsset(proto.Message): call_to_action: CallToActionTypeEnum.CallToActionType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., call_to_action: CallToActionTypeEnum.CallToActionType = ..., @@ -101,8 +104,8 @@ class CalloutAsset(proto.Message): end_date: str ad_schedule_targets: MutableSequence[AdScheduleInfo] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., callout_text: str = ..., @@ -118,8 +121,8 @@ class DiscoveryCarouselCardAsset(proto.Message): headline: str call_to_action_text: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., marketing_image_asset: str = ..., @@ -148,8 +151,8 @@ class DynamicCustomAsset(proto.Message): ios_app_store_id: int similar_ids: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., id: str = ..., @@ -187,8 +190,8 @@ class DynamicEducationAsset(proto.Message): thumbnail_image_url: str image_url: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., program_id: str = ..., @@ -224,8 +227,8 @@ class DynamicFlightsAsset(proto.Message): similar_destination_ids: MutableSequence[str] custom_mapping: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., destination_id: str = ..., @@ -264,8 +267,8 @@ class DynamicHotelsAndRentalsAsset(proto.Message): formatted_sale_price: str similar_property_ids: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., property_id: str = ..., @@ -303,8 +306,8 @@ class DynamicJobsAsset(proto.Message): ios_app_link: str ios_app_store_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., job_id: str = ..., @@ -341,8 +344,8 @@ class DynamicLocalAsset(proto.Message): ios_app_link: str ios_app_store_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., deal_id: str = ..., @@ -380,8 +383,8 @@ class DynamicRealEstateAsset(proto.Message): ios_app_store_id: int similar_listing_ids: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., listing_id: str = ..., @@ -420,8 +423,8 @@ class DynamicTravelAsset(proto.Message): ios_app_link: str ios_app_store_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., destination_id: str = ..., @@ -447,8 +450,8 @@ class HotelCalloutAsset(proto.Message): text: str language_code: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., text: str = ..., @@ -460,8 +463,8 @@ class HotelPropertyAsset(proto.Message): hotel_address: str hotel_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., place_id: str = ..., @@ -475,8 +478,8 @@ class ImageAsset(proto.Message): mime_type: MimeTypeEnum.MimeType full_size: ImageDimension def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., data: bytes = ..., @@ -490,8 +493,8 @@ class ImageDimension(proto.Message): width_pixels: int url: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., height_pixels: int = ..., @@ -516,8 +519,8 @@ class LeadFormAsset(proto.Message): desired_intent: LeadFormDesiredIntentEnum.LeadFormDesiredIntent custom_disclosure: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., business_name: str = ..., @@ -542,8 +545,8 @@ class LeadFormCustomQuestionField(proto.Message): single_choice_answers: LeadFormSingleChoiceAnswers has_location_answer: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., custom_question_text: str = ..., @@ -554,8 +557,8 @@ class LeadFormCustomQuestionField(proto.Message): class LeadFormDeliveryMethod(proto.Message): webhook: WebhookDelivery def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., webhook: WebhookDelivery = ..., @@ -566,8 +569,8 @@ class LeadFormField(proto.Message): single_choice_answers: LeadFormSingleChoiceAnswers has_location_answer: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., input_type: LeadFormFieldUserInputTypeEnum.LeadFormFieldUserInputType = ..., @@ -578,8 +581,8 @@ class LeadFormField(proto.Message): class LeadFormSingleChoiceAnswers(proto.Message): answers: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., answers: MutableSequence[str] = ..., @@ -590,8 +593,8 @@ class LocationAsset(proto.Message): business_profile_locations: MutableSequence[BusinessProfileLocation] location_ownership_type: LocationOwnershipTypeEnum.LocationOwnershipType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., place_id: str = ..., @@ -602,8 +605,8 @@ class LocationAsset(proto.Message): class MediaBundleAsset(proto.Message): data: bytes def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., data: bytes = ..., @@ -616,8 +619,8 @@ class MobileAppAsset(proto.Message): start_date: str end_date: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., app_id: str = ..., @@ -631,8 +634,8 @@ class PageFeedAsset(proto.Message): page_url: str labels: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., page_url: str = ..., @@ -645,8 +648,8 @@ class PriceAsset(proto.Message): language_code: str price_offerings: MutableSequence[PriceOffering] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., type_: PriceExtensionTypeEnum.PriceExtensionType = ..., @@ -663,8 +666,8 @@ class PriceOffering(proto.Message): final_url: str final_mobile_url: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., header: str = ..., @@ -690,8 +693,8 @@ class PromotionAsset(proto.Message): promotion_code: str orders_over_amount: Money def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., promotion_target: str = ..., @@ -717,8 +720,8 @@ class SitelinkAsset(proto.Message): end_date: str ad_schedule_targets: MutableSequence[AdScheduleInfo] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., link_text: str = ..., @@ -733,8 +736,8 @@ class StructuredSnippetAsset(proto.Message): header: str values: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., header: str = ..., @@ -744,8 +747,8 @@ class StructuredSnippetAsset(proto.Message): class TextAsset(proto.Message): text: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., text: str = ..., @@ -756,8 +759,8 @@ class WebhookDelivery(proto.Message): google_secret: str payload_schema_version: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., advertiser_webhook_url: str = ..., @@ -769,8 +772,8 @@ class YoutubeVideoAsset(proto.Message): youtube_video_id: str youtube_video_title: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., youtube_video_id: str = ..., diff --git a/google-stubs/ads/googleads/v14/common/types/asset_usage.pyi b/google-stubs/ads/googleads/v14/common/types/asset_usage.pyi index f30ad1e95..d701b4814 100644 --- a/google-stubs/ads/googleads/v14/common/types/asset_usage.pyi +++ b/google-stubs/ads/googleads/v14/common/types/asset_usage.pyi @@ -1,17 +1,21 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.served_asset_field_type import ( ServedAssetFieldTypeEnum, ) +_M = TypeVar("_M") + class AssetUsage(proto.Message): asset: str served_asset_field_type: ServedAssetFieldTypeEnum.ServedAssetFieldType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., asset: str = ..., diff --git a/google-stubs/ads/googleads/v14/common/types/audiences.pyi b/google-stubs/ads/googleads/v14/common/types/audiences.pyi index 62e91229c..c3d4255ff 100644 --- a/google-stubs/ads/googleads/v14/common/types/audiences.pyi +++ b/google-stubs/ads/googleads/v14/common/types/audiences.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.gender_type import GenderTypeEnum @@ -9,12 +10,14 @@ from google.ads.googleads.v14.enums.types.parental_status_type import ( ParentalStatusTypeEnum, ) +_M = TypeVar("_M") + class AgeDimension(proto.Message): age_ranges: MutableSequence[AgeSegment] include_undetermined: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., age_ranges: MutableSequence[AgeSegment] = ..., @@ -25,8 +28,8 @@ class AgeSegment(proto.Message): min_age: int max_age: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., min_age: int = ..., @@ -40,8 +43,8 @@ class AudienceDimension(proto.Message): parental_status: ParentalStatusDimension audience_segments: AudienceSegmentDimension def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., age: AgeDimension = ..., @@ -54,8 +57,8 @@ class AudienceDimension(proto.Message): class AudienceExclusionDimension(proto.Message): exclusions: MutableSequence[ExclusionSegment] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., exclusions: MutableSequence[ExclusionSegment] = ... @@ -68,8 +71,8 @@ class AudienceSegment(proto.Message): detailed_demographic: DetailedDemographicSegment custom_audience: CustomAudienceSegment def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., user_list: UserListSegment = ..., @@ -82,8 +85,8 @@ class AudienceSegment(proto.Message): class AudienceSegmentDimension(proto.Message): segments: MutableSequence[AudienceSegment] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., segments: MutableSequence[AudienceSegment] = ... @@ -92,8 +95,8 @@ class AudienceSegmentDimension(proto.Message): class CustomAudienceSegment(proto.Message): custom_audience: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., custom_audience: str = ... @@ -102,8 +105,8 @@ class CustomAudienceSegment(proto.Message): class DetailedDemographicSegment(proto.Message): detailed_demographic: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., detailed_demographic: str = ... @@ -112,8 +115,8 @@ class DetailedDemographicSegment(proto.Message): class ExclusionSegment(proto.Message): user_list: UserListSegment def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., user_list: UserListSegment = ... @@ -123,8 +126,8 @@ class GenderDimension(proto.Message): genders: MutableSequence[GenderTypeEnum.GenderType] include_undetermined: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., genders: MutableSequence[GenderTypeEnum.GenderType] = ..., @@ -135,8 +138,8 @@ class HouseholdIncomeDimension(proto.Message): income_ranges: MutableSequence[IncomeRangeTypeEnum.IncomeRangeType] include_undetermined: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., income_ranges: MutableSequence[IncomeRangeTypeEnum.IncomeRangeType] = ..., @@ -146,8 +149,8 @@ class HouseholdIncomeDimension(proto.Message): class LifeEventSegment(proto.Message): life_event: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., life_event: str = ... @@ -157,8 +160,8 @@ class ParentalStatusDimension(proto.Message): parental_statuses: MutableSequence[ParentalStatusTypeEnum.ParentalStatusType] include_undetermined: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., parental_statuses: MutableSequence[ @@ -170,8 +173,8 @@ class ParentalStatusDimension(proto.Message): class UserInterestSegment(proto.Message): user_interest_category: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., user_interest_category: str = ... @@ -180,8 +183,8 @@ class UserInterestSegment(proto.Message): class UserListSegment(proto.Message): user_list: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., user_list: str = ... diff --git a/google-stubs/ads/googleads/v14/common/types/bidding.pyi b/google-stubs/ads/googleads/v14/common/types/bidding.pyi index b8ba215b5..e64486aa0 100644 --- a/google-stubs/ads/googleads/v14/common/types/bidding.pyi +++ b/google-stubs/ads/googleads/v14/common/types/bidding.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.target_frequency_time_unit import ( @@ -9,11 +11,13 @@ from google.ads.googleads.v14.enums.types.target_impression_share_location impor TargetImpressionShareLocationEnum, ) +_M = TypeVar("_M") + class Commission(proto.Message): commission_rate_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., commission_rate_micros: int = ..., @@ -21,8 +25,8 @@ class Commission(proto.Message): class EnhancedCpc(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -30,8 +34,8 @@ class EnhancedCpc(proto.Message): class ManualCpa(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -40,8 +44,8 @@ class ManualCpa(proto.Message): class ManualCpc(proto.Message): enhanced_cpc_enabled: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., enhanced_cpc_enabled: bool = ..., @@ -49,8 +53,8 @@ class ManualCpc(proto.Message): class ManualCpm(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -58,8 +62,8 @@ class ManualCpm(proto.Message): class ManualCpv(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -70,8 +74,8 @@ class MaximizeConversionValue(proto.Message): cpc_bid_ceiling_micros: int cpc_bid_floor_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_roas: float = ..., @@ -84,8 +88,8 @@ class MaximizeConversions(proto.Message): cpc_bid_floor_micros: int target_cpa_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., cpc_bid_ceiling_micros: int = ..., @@ -97,8 +101,8 @@ class PercentCpc(proto.Message): cpc_bid_ceiling_micros: int enhanced_cpc_enabled: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., cpc_bid_ceiling_micros: int = ..., @@ -110,8 +114,8 @@ class TargetCpa(proto.Message): cpc_bid_ceiling_micros: int cpc_bid_floor_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_cpa_micros: int = ..., @@ -122,8 +126,8 @@ class TargetCpa(proto.Message): class TargetCpm(proto.Message): target_frequency_goal: TargetCpmTargetFrequencyGoal def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_frequency_goal: TargetCpmTargetFrequencyGoal = ..., @@ -133,8 +137,8 @@ class TargetCpmTargetFrequencyGoal(proto.Message): target_count: int time_unit: TargetFrequencyTimeUnitEnum.TargetFrequencyTimeUnit def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_count: int = ..., @@ -146,8 +150,8 @@ class TargetImpressionShare(proto.Message): location_fraction_micros: int cpc_bid_ceiling_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., location: TargetImpressionShareLocationEnum.TargetImpressionShareLocation = ..., @@ -160,8 +164,8 @@ class TargetRoas(proto.Message): cpc_bid_ceiling_micros: int cpc_bid_floor_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_roas: float = ..., @@ -173,8 +177,8 @@ class TargetSpend(proto.Message): target_spend_micros: int cpc_bid_ceiling_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_spend_micros: int = ..., diff --git a/google-stubs/ads/googleads/v14/common/types/click_location.pyi b/google-stubs/ads/googleads/v14/common/types/click_location.pyi index 542053fca..c2fbb2f75 100644 --- a/google-stubs/ads/googleads/v14/common/types/click_location.pyi +++ b/google-stubs/ads/googleads/v14/common/types/click_location.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ClickLocation(proto.Message): city: str country: str @@ -9,8 +13,8 @@ class ClickLocation(proto.Message): most_specific: str region: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., city: str = ..., diff --git a/google-stubs/ads/googleads/v14/common/types/criteria.pyi b/google-stubs/ads/googleads/v14/common/types/criteria.pyi index abf4622e9..1c3214c20 100644 --- a/google-stubs/ads/googleads/v14/common/types/criteria.pyi +++ b/google-stubs/ads/googleads/v14/common/types/criteria.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.age_range_type import AgeRangeTypeEnum @@ -47,11 +48,13 @@ from google.ads.googleads.v14.enums.types.webpage_condition_operator import ( WebpageConditionOperatorEnum, ) +_M = TypeVar("_M") + class ActivityCountryInfo(proto.Message): value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: str = ..., @@ -60,8 +63,8 @@ class ActivityCountryInfo(proto.Message): class ActivityIdInfo(proto.Message): value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: str = ..., @@ -70,8 +73,8 @@ class ActivityIdInfo(proto.Message): class ActivityRatingInfo(proto.Message): value: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: int = ..., @@ -84,8 +87,8 @@ class AdScheduleInfo(proto.Message): end_hour: int day_of_week: DayOfWeekEnum.DayOfWeek def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., start_minute: MinuteOfHourEnum.MinuteOfHour = ..., @@ -104,8 +107,8 @@ class AddressInfo(proto.Message): street_address2: str city_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., postal_code: str = ..., @@ -120,8 +123,8 @@ class AddressInfo(proto.Message): class AgeRangeInfo(proto.Message): type_: AgeRangeTypeEnum.AgeRangeType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., type_: AgeRangeTypeEnum.AgeRangeType = ..., @@ -130,8 +133,8 @@ class AgeRangeInfo(proto.Message): class AppPaymentModelInfo(proto.Message): type_: AppPaymentModelTypeEnum.AppPaymentModelType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., type_: AppPaymentModelTypeEnum.AppPaymentModelType = ..., @@ -140,8 +143,8 @@ class AppPaymentModelInfo(proto.Message): class AudienceInfo(proto.Message): audience: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., audience: str = ..., @@ -150,8 +153,8 @@ class AudienceInfo(proto.Message): class CarrierInfo(proto.Message): carrier_constant: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., carrier_constant: str = ..., @@ -160,8 +163,8 @@ class CarrierInfo(proto.Message): class CombinedAudienceInfo(proto.Message): combined_audience: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., combined_audience: str = ..., @@ -170,8 +173,8 @@ class CombinedAudienceInfo(proto.Message): class ContentLabelInfo(proto.Message): type_: ContentLabelTypeEnum.ContentLabelType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., type_: ContentLabelTypeEnum.ContentLabelType = ..., @@ -180,8 +183,8 @@ class ContentLabelInfo(proto.Message): class CustomAffinityInfo(proto.Message): custom_affinity: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., custom_affinity: str = ..., @@ -190,8 +193,8 @@ class CustomAffinityInfo(proto.Message): class CustomAudienceInfo(proto.Message): custom_audience: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., custom_audience: str = ..., @@ -200,8 +203,8 @@ class CustomAudienceInfo(proto.Message): class CustomIntentInfo(proto.Message): custom_intent: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., custom_intent: str = ..., @@ -210,8 +213,8 @@ class CustomIntentInfo(proto.Message): class DeviceInfo(proto.Message): type_: DeviceEnum.Device def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., type_: DeviceEnum.Device = ..., @@ -220,8 +223,8 @@ class DeviceInfo(proto.Message): class GenderInfo(proto.Message): type_: GenderTypeEnum.GenderType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., type_: GenderTypeEnum.GenderType = ..., @@ -231,8 +234,8 @@ class GeoPointInfo(proto.Message): longitude_in_micro_degrees: int latitude_in_micro_degrees: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., longitude_in_micro_degrees: int = ..., @@ -243,8 +246,8 @@ class HotelAdvanceBookingWindowInfo(proto.Message): min_days: int max_days: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., min_days: int = ..., @@ -255,8 +258,8 @@ class HotelCheckInDateRangeInfo(proto.Message): start_date: str end_date: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., start_date: str = ..., @@ -266,8 +269,8 @@ class HotelCheckInDateRangeInfo(proto.Message): class HotelCheckInDayInfo(proto.Message): day_of_week: DayOfWeekEnum.DayOfWeek def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., day_of_week: DayOfWeekEnum.DayOfWeek = ..., @@ -276,8 +279,8 @@ class HotelCheckInDayInfo(proto.Message): class HotelCityInfo(proto.Message): city_criterion: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., city_criterion: str = ..., @@ -286,8 +289,8 @@ class HotelCityInfo(proto.Message): class HotelClassInfo(proto.Message): value: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: int = ..., @@ -296,8 +299,8 @@ class HotelClassInfo(proto.Message): class HotelCountryRegionInfo(proto.Message): country_region_criterion: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., country_region_criterion: str = ..., @@ -306,8 +309,8 @@ class HotelCountryRegionInfo(proto.Message): class HotelDateSelectionTypeInfo(proto.Message): type_: HotelDateSelectionTypeEnum.HotelDateSelectionType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., type_: HotelDateSelectionTypeEnum.HotelDateSelectionType = ..., @@ -316,8 +319,8 @@ class HotelDateSelectionTypeInfo(proto.Message): class HotelIdInfo(proto.Message): value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: str = ..., @@ -327,8 +330,8 @@ class HotelLengthOfStayInfo(proto.Message): min_nights: int max_nights: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., min_nights: int = ..., @@ -338,8 +341,8 @@ class HotelLengthOfStayInfo(proto.Message): class HotelStateInfo(proto.Message): state_criterion: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., state_criterion: str = ..., @@ -348,8 +351,8 @@ class HotelStateInfo(proto.Message): class IncomeRangeInfo(proto.Message): type_: IncomeRangeTypeEnum.IncomeRangeType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., type_: IncomeRangeTypeEnum.IncomeRangeType = ..., @@ -358,8 +361,8 @@ class IncomeRangeInfo(proto.Message): class InteractionTypeInfo(proto.Message): type_: InteractionTypeEnum.InteractionType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., type_: InteractionTypeEnum.InteractionType = ..., @@ -368,8 +371,8 @@ class InteractionTypeInfo(proto.Message): class IpBlockInfo(proto.Message): ip_address: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ip_address: str = ..., @@ -379,8 +382,8 @@ class KeywordInfo(proto.Message): text: str match_type: KeywordMatchTypeEnum.KeywordMatchType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., text: str = ..., @@ -391,8 +394,8 @@ class KeywordThemeInfo(proto.Message): keyword_theme_constant: str free_form_keyword_theme: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., keyword_theme_constant: str = ..., @@ -402,8 +405,8 @@ class KeywordThemeInfo(proto.Message): class LanguageInfo(proto.Message): language_constant: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., language_constant: str = ..., @@ -432,8 +435,8 @@ class ListingDimensionInfo(proto.Message): activity_country: ActivityCountryInfo unknown_listing_dimension: UnknownListingDimensionInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., hotel_id: HotelIdInfo = ..., @@ -462,8 +465,8 @@ class ListingDimensionInfo(proto.Message): class ListingDimensionPath(proto.Message): dimensions: MutableSequence[ListingDimensionInfo] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., dimensions: MutableSequence[ListingDimensionInfo] = ..., @@ -475,8 +478,8 @@ class ListingGroupInfo(proto.Message): parent_ad_group_criterion: str path: ListingDimensionPath def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., type_: ListingGroupTypeEnum.ListingGroupType = ..., @@ -488,8 +491,8 @@ class ListingGroupInfo(proto.Message): class ListingScopeInfo(proto.Message): dimensions: MutableSequence[ListingDimensionInfo] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., dimensions: MutableSequence[ListingDimensionInfo] = ..., @@ -498,8 +501,8 @@ class ListingScopeInfo(proto.Message): class LocalServiceIdInfo(proto.Message): service_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., service_id: str = ..., @@ -514,8 +517,8 @@ class LocationGroupInfo(proto.Message): enable_customer_level_location_asset_set: bool location_group_asset_sets: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., feed: str = ..., @@ -530,8 +533,8 @@ class LocationGroupInfo(proto.Message): class LocationInfo(proto.Message): geo_target_constant: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., geo_target_constant: str = ..., @@ -540,8 +543,8 @@ class LocationInfo(proto.Message): class MobileAppCategoryInfo(proto.Message): mobile_app_category_constant: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., mobile_app_category_constant: str = ..., @@ -551,8 +554,8 @@ class MobileApplicationInfo(proto.Message): app_id: str name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., app_id: str = ..., @@ -562,8 +565,8 @@ class MobileApplicationInfo(proto.Message): class MobileDeviceInfo(proto.Message): mobile_device_constant: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., mobile_device_constant: str = ..., @@ -572,8 +575,8 @@ class MobileDeviceInfo(proto.Message): class NegativeKeywordListInfo(proto.Message): shared_set: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., shared_set: str = ..., @@ -582,8 +585,8 @@ class NegativeKeywordListInfo(proto.Message): class OperatingSystemVersionInfo(proto.Message): operating_system_version_constant: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., operating_system_version_constant: str = ..., @@ -592,8 +595,8 @@ class OperatingSystemVersionInfo(proto.Message): class ParentalStatusInfo(proto.Message): type_: ParentalStatusTypeEnum.ParentalStatusType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., type_: ParentalStatusTypeEnum.ParentalStatusType = ..., @@ -602,8 +605,8 @@ class ParentalStatusInfo(proto.Message): class PlacementInfo(proto.Message): url: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., url: str = ..., @@ -613,8 +616,8 @@ class ProductBiddingCategoryInfo(proto.Message): id: int level: ProductBiddingCategoryLevelEnum.ProductBiddingCategoryLevel def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., id: int = ..., @@ -624,8 +627,8 @@ class ProductBiddingCategoryInfo(proto.Message): class ProductBrandInfo(proto.Message): value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: str = ..., @@ -634,8 +637,8 @@ class ProductBrandInfo(proto.Message): class ProductChannelExclusivityInfo(proto.Message): channel_exclusivity: ProductChannelExclusivityEnum.ProductChannelExclusivity def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., channel_exclusivity: ProductChannelExclusivityEnum.ProductChannelExclusivity = ..., @@ -644,8 +647,8 @@ class ProductChannelExclusivityInfo(proto.Message): class ProductChannelInfo(proto.Message): channel: ProductChannelEnum.ProductChannel def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., channel: ProductChannelEnum.ProductChannel = ..., @@ -654,8 +657,8 @@ class ProductChannelInfo(proto.Message): class ProductConditionInfo(proto.Message): condition: ProductConditionEnum.ProductCondition def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., condition: ProductConditionEnum.ProductCondition = ..., @@ -665,8 +668,8 @@ class ProductCustomAttributeInfo(proto.Message): value: str index: ProductCustomAttributeIndexEnum.ProductCustomAttributeIndex def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: str = ..., @@ -676,8 +679,8 @@ class ProductCustomAttributeInfo(proto.Message): class ProductGroupingInfo(proto.Message): value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: str = ..., @@ -686,8 +689,8 @@ class ProductGroupingInfo(proto.Message): class ProductItemIdInfo(proto.Message): value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: str = ..., @@ -696,8 +699,8 @@ class ProductItemIdInfo(proto.Message): class ProductLabelsInfo(proto.Message): value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: str = ..., @@ -706,8 +709,8 @@ class ProductLabelsInfo(proto.Message): class ProductLegacyConditionInfo(proto.Message): value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: str = ..., @@ -716,8 +719,8 @@ class ProductLegacyConditionInfo(proto.Message): class ProductTypeFullInfo(proto.Message): value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: str = ..., @@ -727,8 +730,8 @@ class ProductTypeInfo(proto.Message): value: str level: ProductTypeLevelEnum.ProductTypeLevel def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: str = ..., @@ -741,8 +744,8 @@ class ProximityInfo(proto.Message): radius_units: ProximityRadiusUnitsEnum.ProximityRadiusUnits address: AddressInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., geo_point: GeoPointInfo = ..., @@ -755,8 +758,8 @@ class TopicInfo(proto.Message): topic_constant: str path: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., topic_constant: str = ..., @@ -765,8 +768,8 @@ class TopicInfo(proto.Message): class UnknownListingDimensionInfo(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -775,8 +778,8 @@ class UnknownListingDimensionInfo(proto.Message): class UserInterestInfo(proto.Message): user_interest_category: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., user_interest_category: str = ..., @@ -785,8 +788,8 @@ class UserInterestInfo(proto.Message): class UserListInfo(proto.Message): user_list: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., user_list: str = ..., @@ -797,8 +800,8 @@ class WebpageConditionInfo(proto.Message): operator: WebpageConditionOperatorEnum.WebpageConditionOperator argument: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., operand: WebpageConditionOperandEnum.WebpageConditionOperand = ..., @@ -812,8 +815,8 @@ class WebpageInfo(proto.Message): coverage_percentage: float sample: WebpageSampleInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., criterion_name: str = ..., @@ -825,8 +828,8 @@ class WebpageInfo(proto.Message): class WebpageSampleInfo(proto.Message): sample_urls: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., sample_urls: MutableSequence[str] = ..., @@ -835,8 +838,8 @@ class WebpageSampleInfo(proto.Message): class YouTubeChannelInfo(proto.Message): channel_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., channel_id: str = ..., @@ -845,8 +848,8 @@ class YouTubeChannelInfo(proto.Message): class YouTubeVideoInfo(proto.Message): video_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., video_id: str = ..., diff --git a/google-stubs/ads/googleads/v14/common/types/criterion_category_availability.pyi b/google-stubs/ads/googleads/v14/common/types/criterion_category_availability.pyi index 7004205ef..3ba373520 100644 --- a/google-stubs/ads/googleads/v14/common/types/criterion_category_availability.pyi +++ b/google-stubs/ads/googleads/v14/common/types/criterion_category_availability.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.advertising_channel_sub_type import ( @@ -16,12 +17,14 @@ from google.ads.googleads.v14.enums.types.criterion_category_locale_availability CriterionCategoryLocaleAvailabilityModeEnum, ) +_M = TypeVar("_M") + class CriterionCategoryAvailability(proto.Message): channel: CriterionCategoryChannelAvailability locale: MutableSequence[CriterionCategoryLocaleAvailability] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., channel: CriterionCategoryChannelAvailability = ..., @@ -36,8 +39,8 @@ class CriterionCategoryChannelAvailability(proto.Message): ] include_default_channel_sub_type: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., availability_mode: CriterionCategoryChannelAvailabilityModeEnum.CriterionCategoryChannelAvailabilityMode = ..., @@ -53,8 +56,8 @@ class CriterionCategoryLocaleAvailability(proto.Message): country_code: str language_code: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., availability_mode: CriterionCategoryLocaleAvailabilityModeEnum.CriterionCategoryLocaleAvailabilityMode = ..., diff --git a/google-stubs/ads/googleads/v14/common/types/custom_parameter.pyi b/google-stubs/ads/googleads/v14/common/types/custom_parameter.pyi index 2873198d2..a6e0359e9 100644 --- a/google-stubs/ads/googleads/v14/common/types/custom_parameter.pyi +++ b/google-stubs/ads/googleads/v14/common/types/custom_parameter.pyi @@ -1,13 +1,17 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomParameter(proto.Message): key: str value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., key: str = ..., diff --git a/google-stubs/ads/googleads/v14/common/types/customizer_value.pyi b/google-stubs/ads/googleads/v14/common/types/customizer_value.pyi index cbfc84e2e..edc9bf306 100644 --- a/google-stubs/ads/googleads/v14/common/types/customizer_value.pyi +++ b/google-stubs/ads/googleads/v14/common/types/customizer_value.pyi @@ -1,17 +1,21 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.customizer_attribute_type import ( CustomizerAttributeTypeEnum, ) +_M = TypeVar("_M") + class CustomizerValue(proto.Message): type_: CustomizerAttributeTypeEnum.CustomizerAttributeType string_value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., type_: CustomizerAttributeTypeEnum.CustomizerAttributeType = ..., diff --git a/google-stubs/ads/googleads/v14/common/types/dates.pyi b/google-stubs/ads/googleads/v14/common/types/dates.pyi index 3c5ddf9a7..5bdadea0c 100644 --- a/google-stubs/ads/googleads/v14/common/types/dates.pyi +++ b/google-stubs/ads/googleads/v14/common/types/dates.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.month_of_year import MonthOfYearEnum +_M = TypeVar("_M") + class DateRange(proto.Message): start_date: str end_date: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., start_date: str = ..., @@ -20,8 +24,8 @@ class YearMonth(proto.Message): year: int month: MonthOfYearEnum.MonthOfYear def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., year: int = ..., @@ -32,8 +36,8 @@ class YearMonthRange(proto.Message): start: YearMonth end: YearMonth def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., start: YearMonth = ..., diff --git a/google-stubs/ads/googleads/v14/common/types/extensions.pyi b/google-stubs/ads/googleads/v14/common/types/extensions.pyi index 562f96835..d790bd7ae 100644 --- a/google-stubs/ads/googleads/v14/common/types/extensions.pyi +++ b/google-stubs/ads/googleads/v14/common/types/extensions.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.custom_parameter import CustomParameter @@ -25,6 +26,8 @@ from google.ads.googleads.v14.enums.types.promotion_extension_occasion import ( PromotionExtensionOccasionEnum, ) +_M = TypeVar("_M") + class AffiliateLocationFeedItem(proto.Message): business_name: str address_line_1: str @@ -37,8 +40,8 @@ class AffiliateLocationFeedItem(proto.Message): chain_id: int chain_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., business_name: str = ..., @@ -63,8 +66,8 @@ class AppFeedItem(proto.Message): url_custom_parameters: MutableSequence[CustomParameter] final_url_suffix: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., link_text: str = ..., @@ -85,8 +88,8 @@ class CallFeedItem(proto.Message): call_conversion_tracking_disabled: bool call_conversion_reporting_state: CallConversionReportingStateEnum.CallConversionReportingState def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., phone_number: str = ..., @@ -100,8 +103,8 @@ class CallFeedItem(proto.Message): class CalloutFeedItem(proto.Message): callout_text: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., callout_text: str = ... @@ -111,8 +114,8 @@ class HotelCalloutFeedItem(proto.Message): text: str language_code: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., text: str = ..., @@ -122,8 +125,8 @@ class HotelCalloutFeedItem(proto.Message): class ImageFeedItem(proto.Message): image_asset: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., image_asset: str = ... @@ -139,8 +142,8 @@ class LocationFeedItem(proto.Message): country_code: str phone_number: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., business_name: str = ..., @@ -161,8 +164,8 @@ class PriceFeedItem(proto.Message): price_offerings: MutableSequence[PriceOffer] final_url_suffix: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., type_: PriceExtensionTypeEnum.PriceExtensionType = ..., @@ -181,8 +184,8 @@ class PriceOffer(proto.Message): final_urls: MutableSequence[str] final_mobile_urls: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., header: str = ..., @@ -210,8 +213,8 @@ class PromotionFeedItem(proto.Message): promotion_code: str orders_over_amount: Money def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., promotion_target: str = ..., @@ -241,8 +244,8 @@ class SitelinkFeedItem(proto.Message): url_custom_parameters: MutableSequence[CustomParameter] final_url_suffix: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., link_text: str = ..., @@ -259,8 +262,8 @@ class StructuredSnippetFeedItem(proto.Message): header: str values: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., header: str = ..., @@ -274,8 +277,8 @@ class TextMessageFeedItem(proto.Message): text: str extension_text: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., business_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/common/types/feed_common.pyi b/google-stubs/ads/googleads/v14/common/types/feed_common.pyi index 680ccbb5c..4a82676bf 100644 --- a/google-stubs/ads/googleads/v14/common/types/feed_common.pyi +++ b/google-stubs/ads/googleads/v14/common/types/feed_common.pyi @@ -1,13 +1,17 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class Money(proto.Message): currency_code: str amount_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., currency_code: str = ..., diff --git a/google-stubs/ads/googleads/v14/common/types/feed_item_set_filter_type_infos.pyi b/google-stubs/ads/googleads/v14/common/types/feed_item_set_filter_type_infos.pyi index f93c2b1cb..7631f063c 100644 --- a/google-stubs/ads/googleads/v14/common/types/feed_item_set_filter_type_infos.pyi +++ b/google-stubs/ads/googleads/v14/common/types/feed_item_set_filter_type_infos.pyi @@ -1,18 +1,21 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.feed_item_set_string_filter_type import ( FeedItemSetStringFilterTypeEnum, ) +_M = TypeVar("_M") + class BusinessNameFilter(proto.Message): business_name: str filter_type: FeedItemSetStringFilterTypeEnum.FeedItemSetStringFilterType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., business_name: str = ..., @@ -22,8 +25,8 @@ class BusinessNameFilter(proto.Message): class DynamicAffiliateLocationSetFilter(proto.Message): chain_ids: MutableSequence[int] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., chain_ids: MutableSequence[int] = ... @@ -33,8 +36,8 @@ class DynamicLocationSetFilter(proto.Message): labels: MutableSequence[str] business_name_filter: BusinessNameFilter def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., labels: MutableSequence[str] = ..., diff --git a/google-stubs/ads/googleads/v14/common/types/final_app_url.pyi b/google-stubs/ads/googleads/v14/common/types/final_app_url.pyi index 610e62562..1f1f5a7e8 100644 --- a/google-stubs/ads/googleads/v14/common/types/final_app_url.pyi +++ b/google-stubs/ads/googleads/v14/common/types/final_app_url.pyi @@ -1,17 +1,21 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.app_url_operating_system_type import ( AppUrlOperatingSystemTypeEnum, ) +_M = TypeVar("_M") + class FinalAppUrl(proto.Message): os_type: AppUrlOperatingSystemTypeEnum.AppUrlOperatingSystemType url: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., os_type: AppUrlOperatingSystemTypeEnum.AppUrlOperatingSystemType = ..., diff --git a/google-stubs/ads/googleads/v14/common/types/frequency_cap.pyi b/google-stubs/ads/googleads/v14/common/types/frequency_cap.pyi index fd0daf222..c855c2c3a 100644 --- a/google-stubs/ads/googleads/v14/common/types/frequency_cap.pyi +++ b/google-stubs/ads/googleads/v14/common/types/frequency_cap.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.frequency_cap_event_type import ( @@ -12,12 +14,14 @@ from google.ads.googleads.v14.enums.types.frequency_cap_time_unit import ( FrequencyCapTimeUnitEnum, ) +_M = TypeVar("_M") + class FrequencyCapEntry(proto.Message): key: FrequencyCapKey cap: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., key: FrequencyCapKey = ..., @@ -30,8 +34,8 @@ class FrequencyCapKey(proto.Message): time_unit: FrequencyCapTimeUnitEnum.FrequencyCapTimeUnit time_length: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., level: FrequencyCapLevelEnum.FrequencyCapLevel = ..., diff --git a/google-stubs/ads/googleads/v14/common/types/keyword_plan_common.pyi b/google-stubs/ads/googleads/v14/common/types/keyword_plan_common.pyi index f8e26726f..475def57b 100644 --- a/google-stubs/ads/googleads/v14/common/types/keyword_plan_common.pyi +++ b/google-stubs/ads/googleads/v14/common/types/keyword_plan_common.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.dates import YearMonthRange @@ -16,12 +17,14 @@ from google.ads.googleads.v14.enums.types.keyword_plan_concept_group_type import ) from google.ads.googleads.v14.enums.types.month_of_year import MonthOfYearEnum +_M = TypeVar("_M") + class ConceptGroup(proto.Message): name: str type_: KeywordPlanConceptGroupTypeEnum.KeywordPlanConceptGroupType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., name: str = ..., @@ -32,8 +35,8 @@ class HistoricalMetricsOptions(proto.Message): year_month_range: YearMonthRange include_average_cpc: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., year_month_range: YearMonthRange = ..., @@ -43,8 +46,8 @@ class HistoricalMetricsOptions(proto.Message): class KeywordAnnotations(proto.Message): concepts: MutableSequence[KeywordConcept] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., concepts: MutableSequence[KeywordConcept] = ... @@ -54,8 +57,8 @@ class KeywordConcept(proto.Message): name: str concept_group: ConceptGroup def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., name: str = ..., @@ -65,8 +68,8 @@ class KeywordConcept(proto.Message): class KeywordPlanAggregateMetricResults(proto.Message): device_searches: MutableSequence[KeywordPlanDeviceSearches] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., device_searches: MutableSequence[KeywordPlanDeviceSearches] = ... @@ -77,8 +80,8 @@ class KeywordPlanAggregateMetrics(proto.Message): KeywordPlanAggregateMetricTypeEnum.KeywordPlanAggregateMetricType ] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., aggregate_metric_types: MutableSequence[ @@ -90,8 +93,8 @@ class KeywordPlanDeviceSearches(proto.Message): device: DeviceEnum.Device search_count: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., device: DeviceEnum.Device = ..., @@ -107,8 +110,8 @@ class KeywordPlanHistoricalMetrics(proto.Message): high_top_of_page_bid_micros: int average_cpc_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., avg_monthly_searches: int = ..., @@ -125,8 +128,8 @@ class MonthlySearchVolume(proto.Message): month: MonthOfYearEnum.MonthOfYear monthly_searches: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., year: int = ..., diff --git a/google-stubs/ads/googleads/v14/common/types/matching_function.pyi b/google-stubs/ads/googleads/v14/common/types/matching_function.pyi index a9c9a6ec1..d5c4a7c5d 100644 --- a/google-stubs/ads/googleads/v14/common/types/matching_function.pyi +++ b/google-stubs/ads/googleads/v14/common/types/matching_function.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.matching_function_context_type import ( @@ -10,14 +11,16 @@ from google.ads.googleads.v14.enums.types.matching_function_operator import ( MatchingFunctionOperatorEnum, ) +_M = TypeVar("_M") + class MatchingFunction(proto.Message): function_string: str operator: MatchingFunctionOperatorEnum.MatchingFunctionOperator left_operands: MutableSequence[Operand] right_operands: MutableSequence[Operand] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., function_string: str = ..., @@ -33,8 +36,8 @@ class Operand(proto.Message): boolean_value: bool double_value: float def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., string_value: str = ..., @@ -47,8 +50,8 @@ class Operand(proto.Message): feed_id: int feed_attribute_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., feed_id: int = ..., @@ -58,8 +61,8 @@ class Operand(proto.Message): class FunctionOperand(proto.Message): matching_function: MatchingFunction def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., matching_function: MatchingFunction = ... @@ -68,8 +71,8 @@ class Operand(proto.Message): class RequestContextOperand(proto.Message): context_type: MatchingFunctionContextTypeEnum.MatchingFunctionContextType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., context_type: MatchingFunctionContextTypeEnum.MatchingFunctionContextType = ... @@ -79,8 +82,8 @@ class Operand(proto.Message): function_operand: Operand.FunctionOperand request_context_operand: Operand.RequestContextOperand def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., constant_operand: Operand.ConstantOperand = ..., diff --git a/google-stubs/ads/googleads/v14/common/types/metric_goal.pyi b/google-stubs/ads/googleads/v14/common/types/metric_goal.pyi index 4ca3cf64d..b6e603f00 100644 --- a/google-stubs/ads/googleads/v14/common/types/metric_goal.pyi +++ b/google-stubs/ads/googleads/v14/common/types/metric_goal.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.experiment_metric import ExperimentMetricEnum @@ -7,12 +9,14 @@ from google.ads.googleads.v14.enums.types.experiment_metric_direction import ( ExperimentMetricDirectionEnum, ) +_M = TypeVar("_M") + class MetricGoal(proto.Message): metric: ExperimentMetricEnum.ExperimentMetric direction: ExperimentMetricDirectionEnum.ExperimentMetricDirection def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., metric: ExperimentMetricEnum.ExperimentMetric = ..., diff --git a/google-stubs/ads/googleads/v14/common/types/metrics.pyi b/google-stubs/ads/googleads/v14/common/types/metrics.pyi index d3554f1fc..cdb20ab0b 100644 --- a/google-stubs/ads/googleads/v14/common/types/metrics.pyi +++ b/google-stubs/ads/googleads/v14/common/types/metrics.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.interaction_event_type import ( @@ -10,6 +11,8 @@ from google.ads.googleads.v14.enums.types.quality_score_bucket import ( QualityScoreBucketEnum, ) +_M = TypeVar("_M") + class Metrics(proto.Message): absolute_top_impression_percentage: float active_view_cpm: float @@ -168,8 +171,8 @@ class Metrics(proto.Message): view_through_conversions_from_location_asset_store_visits: float view_through_conversions_from_location_asset_website: float def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., absolute_top_impression_percentage: float = ..., @@ -334,8 +337,8 @@ class SearchVolumeRange(proto.Message): min_: int max_: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., min_: int = ..., diff --git a/google-stubs/ads/googleads/v14/common/types/offline_user_data.pyi b/google-stubs/ads/googleads/v14/common/types/offline_user_data.pyi index b91efea3a..dc590b6f3 100644 --- a/google-stubs/ads/googleads/v14/common/types/offline_user_data.pyi +++ b/google-stubs/ads/googleads/v14/common/types/offline_user_data.pyi @@ -1,17 +1,20 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.user_identifier_source import ( UserIdentifierSourceEnum, ) +_M = TypeVar("_M") + class CustomerMatchUserListMetadata(proto.Message): user_list: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., user_list: str = ... @@ -22,8 +25,8 @@ class EventAttribute(proto.Message): event_date_time: str item_attribute: MutableSequence[EventItemAttribute] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., event: str = ..., @@ -34,8 +37,8 @@ class EventAttribute(proto.Message): class EventItemAttribute(proto.Message): item_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., item_id: str = ... @@ -48,8 +51,8 @@ class ItemAttribute(proto.Message): language_code: str quantity: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., item_id: str = ..., @@ -68,8 +71,8 @@ class OfflineUserAddressInfo(proto.Message): postal_code: str hashed_street_address: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., hashed_first_name: str = ..., @@ -84,8 +87,8 @@ class OfflineUserAddressInfo(proto.Message): class ShoppingLoyalty(proto.Message): loyalty_tier: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., loyalty_tier: str = ... @@ -94,8 +97,8 @@ class ShoppingLoyalty(proto.Message): class StoreAttribute(proto.Message): store_code: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., store_code: str = ... @@ -107,8 +110,8 @@ class StoreSalesMetadata(proto.Message): custom_key: str third_party_metadata: StoreSalesThirdPartyMetadata def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., loyalty_fraction: float = ..., @@ -125,8 +128,8 @@ class StoreSalesThirdPartyMetadata(proto.Message): bridge_map_version_id: str partner_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., advertiser_upload_date_time: str = ..., @@ -147,8 +150,8 @@ class TransactionAttribute(proto.Message): custom_value: str item_attribute: ItemAttribute def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., transaction_date_time: str = ..., @@ -173,8 +176,8 @@ class UserAttribute(proto.Message): first_purchase_date_time: str event_attribute: MutableSequence[EventAttribute] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., lifetime_value_micros: int = ..., @@ -194,8 +197,8 @@ class UserData(proto.Message): transaction_attribute: TransactionAttribute user_attribute: UserAttribute def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., user_identifiers: MutableSequence[UserIdentifier] = ..., @@ -211,8 +214,8 @@ class UserIdentifier(proto.Message): third_party_user_id: str address_info: OfflineUserAddressInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., user_identifier_source: UserIdentifierSourceEnum.UserIdentifierSource = ..., diff --git a/google-stubs/ads/googleads/v14/common/types/policy.pyi b/google-stubs/ads/googleads/v14/common/types/policy.pyi index 2397586ca..787cd132c 100644 --- a/google-stubs/ads/googleads/v14/common/types/policy.pyi +++ b/google-stubs/ads/googleads/v14/common/types/policy.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.policy_topic_entry_type import ( @@ -16,12 +17,14 @@ from google.ads.googleads.v14.enums.types.policy_topic_evidence_destination_not_ PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum, ) +_M = TypeVar("_M") + class PolicyTopicConstraint(proto.Message): class CountryConstraint(proto.Message): country_criterion: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., country_criterion: str = ..., @@ -31,8 +34,8 @@ class PolicyTopicConstraint(proto.Message): total_targeted_countries: int countries: MutableSequence[PolicyTopicConstraint.CountryConstraint] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., total_targeted_countries: int = ..., @@ -41,8 +44,8 @@ class PolicyTopicConstraint(proto.Message): class ResellerConstraint(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -52,8 +55,8 @@ class PolicyTopicConstraint(proto.Message): certificate_missing_in_country_list: PolicyTopicConstraint.CountryConstraintList certificate_domain_mismatch_in_country_list: PolicyTopicConstraint.CountryConstraintList def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., country_constraint_list: PolicyTopicConstraint.CountryConstraintList = ..., @@ -68,8 +71,8 @@ class PolicyTopicEntry(proto.Message): evidences: MutableSequence[PolicyTopicEvidence] constraints: MutableSequence[PolicyTopicConstraint] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., topic: str = ..., @@ -84,8 +87,8 @@ class PolicyTopicEvidence(proto.Message): PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType ] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., url_types: MutableSequence[ @@ -100,8 +103,8 @@ class PolicyTopicEvidence(proto.Message): dns_error_type: PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum.PolicyTopicEvidenceDestinationNotWorkingDnsErrorType http_error_code: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., expanded_url: str = ..., @@ -114,8 +117,8 @@ class PolicyTopicEvidence(proto.Message): class DestinationTextList(proto.Message): destination_texts: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., destination_texts: MutableSequence[str] = ..., @@ -124,8 +127,8 @@ class PolicyTopicEvidence(proto.Message): class TextList(proto.Message): texts: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., texts: MutableSequence[str] = ..., @@ -134,8 +137,8 @@ class PolicyTopicEvidence(proto.Message): class WebsiteList(proto.Message): websites: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., websites: MutableSequence[str] = ..., @@ -147,8 +150,8 @@ class PolicyTopicEvidence(proto.Message): destination_mismatch: PolicyTopicEvidence.DestinationMismatch destination_not_working: PolicyTopicEvidence.DestinationNotWorking def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., website_list: PolicyTopicEvidence.WebsiteList = ..., @@ -163,8 +166,8 @@ class PolicyValidationParameter(proto.Message): ignorable_policy_topics: MutableSequence[str] exempt_policy_violation_keys: MutableSequence[PolicyViolationKey] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ignorable_policy_topics: MutableSequence[str] = ..., @@ -175,8 +178,8 @@ class PolicyViolationKey(proto.Message): policy_name: str violating_text: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., policy_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/common/types/policy_summary.pyi b/google-stubs/ads/googleads/v14/common/types/policy_summary.pyi index 9f8b4868d..010069270 100644 --- a/google-stubs/ads/googleads/v14/common/types/policy_summary.pyi +++ b/google-stubs/ads/googleads/v14/common/types/policy_summary.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.policy import PolicyTopicEntry @@ -11,13 +12,15 @@ from google.ads.googleads.v14.enums.types.policy_review_status import ( PolicyReviewStatusEnum, ) +_M = TypeVar("_M") + class PolicySummary(proto.Message): policy_topic_entries: MutableSequence[PolicyTopicEntry] review_status: PolicyReviewStatusEnum.PolicyReviewStatus approval_status: PolicyApprovalStatusEnum.PolicyApprovalStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., policy_topic_entries: MutableSequence[PolicyTopicEntry] = ..., diff --git a/google-stubs/ads/googleads/v14/common/types/real_time_bidding_setting.pyi b/google-stubs/ads/googleads/v14/common/types/real_time_bidding_setting.pyi index f3e10ede5..598df1db3 100644 --- a/google-stubs/ads/googleads/v14/common/types/real_time_bidding_setting.pyi +++ b/google-stubs/ads/googleads/v14/common/types/real_time_bidding_setting.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class RealTimeBiddingSetting(proto.Message): opt_in: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., opt_in: bool = ... diff --git a/google-stubs/ads/googleads/v14/common/types/segments.pyi b/google-stubs/ads/googleads/v14/common/types/segments.pyi index 0f9bc5113..1dd5351ba 100644 --- a/google-stubs/ads/googleads/v14/common/types/segments.pyi +++ b/google-stubs/ads/googleads/v14/common/types/segments.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.criteria import KeywordInfo @@ -66,12 +68,14 @@ from google.ads.googleads.v14.enums.types.sk_ad_network_user_type import ( ) from google.ads.googleads.v14.enums.types.slot import SlotEnum +_M = TypeVar("_M") + class AssetInteractionTarget(proto.Message): asset: str interaction_on_this_asset: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., asset: str = ..., @@ -82,8 +86,8 @@ class BudgetCampaignAssociationStatus(proto.Message): campaign: str status: BudgetCampaignAssociationStatusEnum.BudgetCampaignAssociationStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., campaign: str = ..., @@ -94,8 +98,8 @@ class Keyword(proto.Message): ad_group_criterion: str info: KeywordInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad_group_criterion: str = ..., @@ -203,8 +207,8 @@ class Segments(proto.Message): asset_interaction_target: AssetInteractionTarget new_versus_returning_customers: ConvertingUserPriorEngagementTypeAndLtvBucketEnum.ConvertingUserPriorEngagementTypeAndLtvBucket def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., activity_account_id: int = ..., @@ -311,8 +315,8 @@ class Segments(proto.Message): class SkAdNetworkSourceApp(proto.Message): sk_ad_network_source_app_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., sk_ad_network_source_app_id: str = ... diff --git a/google-stubs/ads/googleads/v14/common/types/simulation.pyi b/google-stubs/ads/googleads/v14/common/types/simulation.pyi index 9ac0da705..1c99d05b2 100644 --- a/google-stubs/ads/googleads/v14/common/types/simulation.pyi +++ b/google-stubs/ads/googleads/v14/common/types/simulation.pyi @@ -1,8 +1,11 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BudgetSimulationPoint(proto.Message): budget_amount_micros: int required_cpc_bid_ceiling_micros: int @@ -13,8 +16,8 @@ class BudgetSimulationPoint(proto.Message): impressions: int top_slot_impressions: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., budget_amount_micros: int = ..., @@ -30,8 +33,8 @@ class BudgetSimulationPoint(proto.Message): class BudgetSimulationPointList(proto.Message): points: MutableSequence[BudgetSimulationPoint] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., points: MutableSequence[BudgetSimulationPoint] = ... @@ -48,8 +51,8 @@ class CpcBidSimulationPoint(proto.Message): cpc_bid_micros: int cpc_bid_scaling_modifier: float def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., required_budget_amount_micros: int = ..., @@ -66,8 +69,8 @@ class CpcBidSimulationPoint(proto.Message): class CpcBidSimulationPointList(proto.Message): points: MutableSequence[CpcBidSimulationPoint] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., points: MutableSequence[CpcBidSimulationPoint] = ... @@ -79,8 +82,8 @@ class CpvBidSimulationPoint(proto.Message): impressions: int views: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., cpv_bid_micros: int = ..., @@ -92,8 +95,8 @@ class CpvBidSimulationPoint(proto.Message): class CpvBidSimulationPointList(proto.Message): points: MutableSequence[CpvBidSimulationPoint] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., points: MutableSequence[CpvBidSimulationPoint] = ... @@ -108,8 +111,8 @@ class PercentCpcBidSimulationPoint(proto.Message): impressions: int top_slot_impressions: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., percent_cpc_bid_micros: int = ..., @@ -124,8 +127,8 @@ class PercentCpcBidSimulationPoint(proto.Message): class PercentCpcBidSimulationPointList(proto.Message): points: MutableSequence[PercentCpcBidSimulationPoint] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., points: MutableSequence[PercentCpcBidSimulationPoint] = ... @@ -144,8 +147,8 @@ class TargetCpaSimulationPoint(proto.Message): target_cpa_micros: int target_cpa_scaling_modifier: float def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., required_budget_amount_micros: int = ..., @@ -164,8 +167,8 @@ class TargetCpaSimulationPoint(proto.Message): class TargetCpaSimulationPointList(proto.Message): points: MutableSequence[TargetCpaSimulationPoint] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., points: MutableSequence[TargetCpaSimulationPoint] = ... @@ -183,8 +186,8 @@ class TargetImpressionShareSimulationPoint(proto.Message): top_slot_impressions: int absolute_top_impressions: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_impression_share_micros: int = ..., @@ -202,8 +205,8 @@ class TargetImpressionShareSimulationPoint(proto.Message): class TargetImpressionShareSimulationPointList(proto.Message): points: MutableSequence[TargetImpressionShareSimulationPoint] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., points: MutableSequence[TargetImpressionShareSimulationPoint] = ... @@ -219,8 +222,8 @@ class TargetRoasSimulationPoint(proto.Message): impressions: int top_slot_impressions: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_roas: float = ..., @@ -236,8 +239,8 @@ class TargetRoasSimulationPoint(proto.Message): class TargetRoasSimulationPointList(proto.Message): points: MutableSequence[TargetRoasSimulationPoint] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., points: MutableSequence[TargetRoasSimulationPoint] = ... diff --git a/google-stubs/ads/googleads/v14/common/types/tag_snippet.pyi b/google-stubs/ads/googleads/v14/common/types/tag_snippet.pyi index 62e24b6c2..282f09705 100644 --- a/google-stubs/ads/googleads/v14/common/types/tag_snippet.pyi +++ b/google-stubs/ads/googleads/v14/common/types/tag_snippet.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.tracking_code_page_format import ( @@ -7,14 +9,16 @@ from google.ads.googleads.v14.enums.types.tracking_code_page_format import ( ) from google.ads.googleads.v14.enums.types.tracking_code_type import TrackingCodeTypeEnum +_M = TypeVar("_M") + class TagSnippet(proto.Message): type_: TrackingCodeTypeEnum.TrackingCodeType page_format: TrackingCodePageFormatEnum.TrackingCodePageFormat global_site_tag: str event_snippet: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., type_: TrackingCodeTypeEnum.TrackingCodeType = ..., diff --git a/google-stubs/ads/googleads/v14/common/types/targeting_setting.pyi b/google-stubs/ads/googleads/v14/common/types/targeting_setting.pyi index c550fc116..e6dd8349d 100644 --- a/google-stubs/ads/googleads/v14/common/types/targeting_setting.pyi +++ b/google-stubs/ads/googleads/v14/common/types/targeting_setting.pyi @@ -1,18 +1,21 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.targeting_dimension import ( TargetingDimensionEnum, ) +_M = TypeVar("_M") + class TargetRestriction(proto.Message): targeting_dimension: TargetingDimensionEnum.TargetingDimension bid_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., targeting_dimension: TargetingDimensionEnum.TargetingDimension = ..., @@ -28,8 +31,8 @@ class TargetRestrictionOperation(proto.Message): operator: TargetRestrictionOperation.Operator value: TargetRestriction def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., operator: TargetRestrictionOperation.Operator = ..., @@ -40,8 +43,8 @@ class TargetingSetting(proto.Message): target_restrictions: MutableSequence[TargetRestriction] target_restriction_operations: MutableSequence[TargetRestrictionOperation] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_restrictions: MutableSequence[TargetRestriction] = ..., diff --git a/google-stubs/ads/googleads/v14/common/types/text_label.pyi b/google-stubs/ads/googleads/v14/common/types/text_label.pyi index 2163a0f56..f04bdc490 100644 --- a/google-stubs/ads/googleads/v14/common/types/text_label.pyi +++ b/google-stubs/ads/googleads/v14/common/types/text_label.pyi @@ -1,13 +1,17 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class TextLabel(proto.Message): background_color: str description: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., background_color: str = ..., diff --git a/google-stubs/ads/googleads/v14/common/types/url_collection.pyi b/google-stubs/ads/googleads/v14/common/types/url_collection.pyi index 3d66b0577..1deb6f8fa 100644 --- a/google-stubs/ads/googleads/v14/common/types/url_collection.pyi +++ b/google-stubs/ads/googleads/v14/common/types/url_collection.pyi @@ -1,16 +1,19 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UrlCollection(proto.Message): url_collection_id: str final_urls: MutableSequence[str] final_mobile_urls: MutableSequence[str] tracking_url_template: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., url_collection_id: str = ..., diff --git a/google-stubs/ads/googleads/v14/common/types/user_lists.pyi b/google-stubs/ads/googleads/v14/common/types/user_lists.pyi index e1e86a1c2..4d9f89018 100644 --- a/google-stubs/ads/googleads/v14/common/types/user_lists.pyi +++ b/google-stubs/ads/googleads/v14/common/types/user_lists.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.customer_match_upload_key_type import ( @@ -31,11 +32,13 @@ from google.ads.googleads.v14.enums.types.user_list_string_rule_item_operator im UserListStringRuleItemOperatorEnum, ) +_M = TypeVar("_M") + class BasicUserListInfo(proto.Message): actions: MutableSequence[UserListActionInfo] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., actions: MutableSequence[UserListActionInfo] = ... @@ -46,8 +49,8 @@ class CrmBasedUserListInfo(proto.Message): upload_key_type: CustomerMatchUploadKeyTypeEnum.CustomerMatchUploadKeyType data_source_type: UserListCrmDataSourceTypeEnum.UserListCrmDataSourceType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., app_id: str = ..., @@ -59,8 +62,8 @@ class FlexibleRuleOperandInfo(proto.Message): rule: UserListRuleInfo lookback_window_days: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., rule: UserListRuleInfo = ..., @@ -72,8 +75,8 @@ class FlexibleRuleUserListInfo(proto.Message): inclusive_operands: MutableSequence[FlexibleRuleOperandInfo] exclusive_operands: MutableSequence[FlexibleRuleOperandInfo] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., inclusive_rule_operator: UserListFlexibleRuleOperatorEnum.UserListFlexibleRuleOperator = ..., @@ -84,8 +87,8 @@ class FlexibleRuleUserListInfo(proto.Message): class LogicalUserListInfo(proto.Message): rules: MutableSequence[UserListLogicalRuleInfo] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., rules: MutableSequence[UserListLogicalRuleInfo] = ... @@ -94,8 +97,8 @@ class LogicalUserListInfo(proto.Message): class LogicalUserListOperandInfo(proto.Message): user_list: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., user_list: str = ... @@ -105,8 +108,8 @@ class RuleBasedUserListInfo(proto.Message): prepopulation_status: UserListPrepopulationStatusEnum.UserListPrepopulationStatus flexible_rule_user_list: FlexibleRuleUserListInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., prepopulation_status: UserListPrepopulationStatusEnum.UserListPrepopulationStatus = ..., @@ -116,8 +119,8 @@ class RuleBasedUserListInfo(proto.Message): class SimilarUserListInfo(proto.Message): seed_user_list: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., seed_user_list: str = ... @@ -127,8 +130,8 @@ class UserListActionInfo(proto.Message): conversion_action: str remarketing_action: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., conversion_action: str = ..., @@ -140,8 +143,8 @@ class UserListDateRuleItemInfo(proto.Message): value: str offset_in_days: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., operator: UserListDateRuleItemOperatorEnum.UserListDateRuleItemOperator = ..., @@ -153,8 +156,8 @@ class UserListLogicalRuleInfo(proto.Message): operator: UserListLogicalRuleOperatorEnum.UserListLogicalRuleOperator rule_operands: MutableSequence[LogicalUserListOperandInfo] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., operator: UserListLogicalRuleOperatorEnum.UserListLogicalRuleOperator = ..., @@ -165,8 +168,8 @@ class UserListNumberRuleItemInfo(proto.Message): operator: UserListNumberRuleItemOperatorEnum.UserListNumberRuleItemOperator value: float def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., operator: UserListNumberRuleItemOperatorEnum.UserListNumberRuleItemOperator = ..., @@ -177,8 +180,8 @@ class UserListRuleInfo(proto.Message): rule_type: UserListRuleTypeEnum.UserListRuleType rule_item_groups: MutableSequence[UserListRuleItemGroupInfo] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., rule_type: UserListRuleTypeEnum.UserListRuleType = ..., @@ -188,8 +191,8 @@ class UserListRuleInfo(proto.Message): class UserListRuleItemGroupInfo(proto.Message): rule_items: MutableSequence[UserListRuleItemInfo] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., rule_items: MutableSequence[UserListRuleItemInfo] = ... @@ -201,8 +204,8 @@ class UserListRuleItemInfo(proto.Message): string_rule_item: UserListStringRuleItemInfo date_rule_item: UserListDateRuleItemInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., name: str = ..., @@ -215,8 +218,8 @@ class UserListStringRuleItemInfo(proto.Message): operator: UserListStringRuleItemOperatorEnum.UserListStringRuleItemOperator value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., operator: UserListStringRuleItemOperatorEnum.UserListStringRuleItemOperator = ..., diff --git a/google-stubs/ads/googleads/v14/common/types/value.pyi b/google-stubs/ads/googleads/v14/common/types/value.pyi index 85f782a86..413b08163 100644 --- a/google-stubs/ads/googleads/v14/common/types/value.pyi +++ b/google-stubs/ads/googleads/v14/common/types/value.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class Value(proto.Message): boolean_value: bool int64_value: int @@ -9,8 +13,8 @@ class Value(proto.Message): double_value: float string_value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., boolean_value: bool = ..., diff --git a/google-stubs/ads/googleads/v14/enums/types/access_invitation_status.pyi b/google-stubs/ads/googleads/v14/enums/types/access_invitation_status.pyi index 0144ef832..f1ef8d251 100644 --- a/google-stubs/ads/googleads/v14/enums/types/access_invitation_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/access_invitation_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AccessInvitationStatusEnum(proto.Message): class AccessInvitationStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class AccessInvitationStatusEnum(proto.Message): DECLINED = 3 EXPIRED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/access_reason.pyi b/google-stubs/ads/googleads/v14/enums/types/access_reason.pyi index 3baf8d3cd..8f03622f1 100644 --- a/google-stubs/ads/googleads/v14/enums/types/access_reason.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/access_reason.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AccessReasonEnum(proto.Message): class AccessReason(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class AccessReasonEnum(proto.Message): SUBSCRIBED = 5 AFFILIATED = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/access_role.pyi b/google-stubs/ads/googleads/v14/enums/types/access_role.pyi index 8325f47e5..84995e401 100644 --- a/google-stubs/ads/googleads/v14/enums/types/access_role.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/access_role.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AccessRoleEnum(proto.Message): class AccessRole(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class AccessRoleEnum(proto.Message): READ_ONLY = 4 EMAIL_ONLY = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/account_budget_proposal_status.pyi b/google-stubs/ads/googleads/v14/enums/types/account_budget_proposal_status.pyi index 04715bc20..a18e2cf75 100644 --- a/google-stubs/ads/googleads/v14/enums/types/account_budget_proposal_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/account_budget_proposal_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AccountBudgetProposalStatusEnum(proto.Message): class AccountBudgetProposalStatus(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class AccountBudgetProposalStatusEnum(proto.Message): CANCELLED = 5 REJECTED = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/account_budget_proposal_type.pyi b/google-stubs/ads/googleads/v14/enums/types/account_budget_proposal_type.pyi index a422f5b2c..1fe67f9a6 100644 --- a/google-stubs/ads/googleads/v14/enums/types/account_budget_proposal_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/account_budget_proposal_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AccountBudgetProposalTypeEnum(proto.Message): class AccountBudgetProposalType(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class AccountBudgetProposalTypeEnum(proto.Message): END = 4 REMOVE = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/account_budget_status.pyi b/google-stubs/ads/googleads/v14/enums/types/account_budget_status.pyi index 49502be64..93444f9cd 100644 --- a/google-stubs/ads/googleads/v14/enums/types/account_budget_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/account_budget_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AccountBudgetStatusEnum(proto.Message): class AccountBudgetStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class AccountBudgetStatusEnum(proto.Message): APPROVED = 3 CANCELLED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/account_link_status.pyi b/google-stubs/ads/googleads/v14/enums/types/account_link_status.pyi index 09519fa19..7f2124ffe 100644 --- a/google-stubs/ads/googleads/v14/enums/types/account_link_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/account_link_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AccountLinkStatusEnum(proto.Message): class AccountLinkStatus(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class AccountLinkStatusEnum(proto.Message): REJECTED = 6 REVOKED = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/ad_customizer_placeholder_field.pyi b/google-stubs/ads/googleads/v14/enums/types/ad_customizer_placeholder_field.pyi index 8ee21aa8c..d9349f7de 100644 --- a/google-stubs/ads/googleads/v14/enums/types/ad_customizer_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/ad_customizer_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdCustomizerPlaceholderFieldEnum(proto.Message): class AdCustomizerPlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class AdCustomizerPlaceholderFieldEnum(proto.Message): DATE = 4 STRING = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/ad_destination_type.pyi b/google-stubs/ads/googleads/v14/enums/types/ad_destination_type.pyi index 5dfce96f5..ef947f3b5 100644 --- a/google-stubs/ads/googleads/v14/enums/types/ad_destination_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/ad_destination_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdDestinationTypeEnum(proto.Message): class AdDestinationType(proto.Enum): UNSPECIFIED = 0 @@ -18,8 +22,8 @@ class AdDestinationTypeEnum(proto.Message): YOUTUBE = 11 UNMODELED_FOR_CONVERSIONS = 12 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/ad_group_ad_rotation_mode.pyi b/google-stubs/ads/googleads/v14/enums/types/ad_group_ad_rotation_mode.pyi index b09340880..c20df7a70 100644 --- a/google-stubs/ads/googleads/v14/enums/types/ad_group_ad_rotation_mode.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/ad_group_ad_rotation_mode.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupAdRotationModeEnum(proto.Message): class AdGroupAdRotationMode(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class AdGroupAdRotationModeEnum(proto.Message): OPTIMIZE = 2 ROTATE_FOREVER = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/ad_group_ad_status.pyi b/google-stubs/ads/googleads/v14/enums/types/ad_group_ad_status.pyi index 18736b645..55ad7217b 100644 --- a/google-stubs/ads/googleads/v14/enums/types/ad_group_ad_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/ad_group_ad_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupAdStatusEnum(proto.Message): class AdGroupAdStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class AdGroupAdStatusEnum(proto.Message): PAUSED = 3 REMOVED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/ad_group_criterion_approval_status.pyi b/google-stubs/ads/googleads/v14/enums/types/ad_group_criterion_approval_status.pyi index e5046a043..65eeb8e9d 100644 --- a/google-stubs/ads/googleads/v14/enums/types/ad_group_criterion_approval_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/ad_group_criterion_approval_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupCriterionApprovalStatusEnum(proto.Message): class AdGroupCriterionApprovalStatus(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class AdGroupCriterionApprovalStatusEnum(proto.Message): PENDING_REVIEW = 4 UNDER_REVIEW = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/ad_group_criterion_status.pyi b/google-stubs/ads/googleads/v14/enums/types/ad_group_criterion_status.pyi index a9e4f5217..b462d85a6 100644 --- a/google-stubs/ads/googleads/v14/enums/types/ad_group_criterion_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/ad_group_criterion_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupCriterionStatusEnum(proto.Message): class AdGroupCriterionStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class AdGroupCriterionStatusEnum(proto.Message): PAUSED = 3 REMOVED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/ad_group_status.pyi b/google-stubs/ads/googleads/v14/enums/types/ad_group_status.pyi index 5b1b65cc8..54d58bfed 100644 --- a/google-stubs/ads/googleads/v14/enums/types/ad_group_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/ad_group_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupStatusEnum(proto.Message): class AdGroupStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class AdGroupStatusEnum(proto.Message): PAUSED = 3 REMOVED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/ad_group_type.pyi b/google-stubs/ads/googleads/v14/enums/types/ad_group_type.pyi index 899a462d2..46160fd45 100644 --- a/google-stubs/ads/googleads/v14/enums/types/ad_group_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/ad_group_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupTypeEnum(proto.Message): class AdGroupType(proto.Enum): UNSPECIFIED = 0 @@ -24,8 +28,8 @@ class AdGroupTypeEnum(proto.Message): SMART_CAMPAIGN_ADS = 18 TRAVEL_ADS = 19 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/ad_network_type.pyi b/google-stubs/ads/googleads/v14/enums/types/ad_network_type.pyi index 549a99f54..2848a039d 100644 --- a/google-stubs/ads/googleads/v14/enums/types/ad_network_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/ad_network_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdNetworkTypeEnum(proto.Message): class AdNetworkType(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class AdNetworkTypeEnum(proto.Message): YOUTUBE_WATCH = 6 MIXED = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/ad_serving_optimization_status.pyi b/google-stubs/ads/googleads/v14/enums/types/ad_serving_optimization_status.pyi index fcba8268b..29388f428 100644 --- a/google-stubs/ads/googleads/v14/enums/types/ad_serving_optimization_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/ad_serving_optimization_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdServingOptimizationStatusEnum(proto.Message): class AdServingOptimizationStatus(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class AdServingOptimizationStatusEnum(proto.Message): ROTATE_INDEFINITELY = 5 UNAVAILABLE = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/ad_strength.pyi b/google-stubs/ads/googleads/v14/enums/types/ad_strength.pyi index 857bd3bae..e1a513354 100644 --- a/google-stubs/ads/googleads/v14/enums/types/ad_strength.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/ad_strength.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdStrengthEnum(proto.Message): class AdStrength(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class AdStrengthEnum(proto.Message): GOOD = 6 EXCELLENT = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/ad_type.pyi b/google-stubs/ads/googleads/v14/enums/types/ad_type.pyi index b7950deb5..c870f929f 100644 --- a/google-stubs/ads/googleads/v14/enums/types/ad_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/ad_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdTypeEnum(proto.Message): class AdType(proto.Enum): UNSPECIFIED = 0 @@ -38,8 +42,8 @@ class AdTypeEnum(proto.Message): TRAVEL_AD = 37 DISCOVERY_VIDEO_RESPONSIVE_AD = 38 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/advertising_channel_sub_type.pyi b/google-stubs/ads/googleads/v14/enums/types/advertising_channel_sub_type.pyi index c216a9353..4c0c9dedc 100644 --- a/google-stubs/ads/googleads/v14/enums/types/advertising_channel_sub_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/advertising_channel_sub_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdvertisingChannelSubTypeEnum(proto.Message): class AdvertisingChannelSubType(proto.Enum): UNSPECIFIED = 0 @@ -26,8 +30,8 @@ class AdvertisingChannelSubTypeEnum(proto.Message): VIDEO_REACH_TARGET_FREQUENCY = 19 TRAVEL_ACTIVITIES = 20 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/advertising_channel_type.pyi b/google-stubs/ads/googleads/v14/enums/types/advertising_channel_type.pyi index 8650bfb12..31088a341 100644 --- a/google-stubs/ads/googleads/v14/enums/types/advertising_channel_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/advertising_channel_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdvertisingChannelTypeEnum(proto.Message): class AdvertisingChannelType(proto.Enum): UNSPECIFIED = 0 @@ -19,8 +23,8 @@ class AdvertisingChannelTypeEnum(proto.Message): DISCOVERY = 12 TRAVEL = 13 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/affiliate_location_feed_relationship_type.pyi b/google-stubs/ads/googleads/v14/enums/types/affiliate_location_feed_relationship_type.pyi index 060a68a28..9e07f6b4a 100644 --- a/google-stubs/ads/googleads/v14/enums/types/affiliate_location_feed_relationship_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/affiliate_location_feed_relationship_type.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AffiliateLocationFeedRelationshipTypeEnum(proto.Message): class AffiliateLocationFeedRelationshipType(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 GENERAL_RETAILER = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/affiliate_location_placeholder_field.pyi b/google-stubs/ads/googleads/v14/enums/types/affiliate_location_placeholder_field.pyi index 79d5b8637..d7f9e5b55 100644 --- a/google-stubs/ads/googleads/v14/enums/types/affiliate_location_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/affiliate_location_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AffiliateLocationPlaceholderFieldEnum(proto.Message): class AffiliateLocationPlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -18,8 +22,8 @@ class AffiliateLocationPlaceholderFieldEnum(proto.Message): CHAIN_ID = 11 CHAIN_NAME = 12 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/age_range_type.pyi b/google-stubs/ads/googleads/v14/enums/types/age_range_type.pyi index 56eb21dcc..8bf34e197 100644 --- a/google-stubs/ads/googleads/v14/enums/types/age_range_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/age_range_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AgeRangeTypeEnum(proto.Message): class AgeRangeType(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class AgeRangeTypeEnum(proto.Message): AGE_RANGE_65_UP = 503006 AGE_RANGE_UNDETERMINED = 503999 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/app_bidding_goal.pyi b/google-stubs/ads/googleads/v14/enums/types/app_bidding_goal.pyi index 85e0d6550..19479db12 100644 --- a/google-stubs/ads/googleads/v14/enums/types/app_bidding_goal.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/app_bidding_goal.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AppBiddingGoalEnum(proto.Message): class AppBiddingGoal(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class AppBiddingGoalEnum(proto.Message): OPTIMIZE_FOR_INSTALL_CONVERSION_VOLUME_WITHOUT_TARGET_CPI = 7 OPTIMIZE_FOR_PRE_REGISTRATION_CONVERSION_VOLUME = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/app_campaign_app_store.pyi b/google-stubs/ads/googleads/v14/enums/types/app_campaign_app_store.pyi index 998b5aff4..cbcdd1b9a 100644 --- a/google-stubs/ads/googleads/v14/enums/types/app_campaign_app_store.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/app_campaign_app_store.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AppCampaignAppStoreEnum(proto.Message): class AppCampaignAppStore(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class AppCampaignAppStoreEnum(proto.Message): APPLE_APP_STORE = 2 GOOGLE_APP_STORE = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/app_campaign_bidding_strategy_goal_type.pyi b/google-stubs/ads/googleads/v14/enums/types/app_campaign_bidding_strategy_goal_type.pyi index d74de383a..1a6788451 100644 --- a/google-stubs/ads/googleads/v14/enums/types/app_campaign_bidding_strategy_goal_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/app_campaign_bidding_strategy_goal_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AppCampaignBiddingStrategyGoalTypeEnum(proto.Message): class AppCampaignBiddingStrategyGoalType(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class AppCampaignBiddingStrategyGoalTypeEnum(proto.Message): OPTIMIZE_PRE_REGISTRATION_CONVERSION_VOLUME = 6 OPTIMIZE_INSTALLS_WITHOUT_TARGET_INSTALL_COST = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/app_payment_model_type.pyi b/google-stubs/ads/googleads/v14/enums/types/app_payment_model_type.pyi index 677dcd1f0..03c16d568 100644 --- a/google-stubs/ads/googleads/v14/enums/types/app_payment_model_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/app_payment_model_type.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AppPaymentModelTypeEnum(proto.Message): class AppPaymentModelType(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 PAID = 30 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/app_placeholder_field.pyi b/google-stubs/ads/googleads/v14/enums/types/app_placeholder_field.pyi index 4d9546068..a3ff99379 100644 --- a/google-stubs/ads/googleads/v14/enums/types/app_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/app_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AppPlaceholderFieldEnum(proto.Message): class AppPlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -15,8 +19,8 @@ class AppPlaceholderFieldEnum(proto.Message): TRACKING_URL = 8 FINAL_URL_SUFFIX = 9 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/app_store.pyi b/google-stubs/ads/googleads/v14/enums/types/app_store.pyi index a5c494875..855600e03 100644 --- a/google-stubs/ads/googleads/v14/enums/types/app_store.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/app_store.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AppStoreEnum(proto.Message): class AppStore(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class AppStoreEnum(proto.Message): APPLE_ITUNES = 2 GOOGLE_PLAY = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/app_url_operating_system_type.pyi b/google-stubs/ads/googleads/v14/enums/types/app_url_operating_system_type.pyi index 3fa7f4bba..9d040802a 100644 --- a/google-stubs/ads/googleads/v14/enums/types/app_url_operating_system_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/app_url_operating_system_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AppUrlOperatingSystemTypeEnum(proto.Message): class AppUrlOperatingSystemType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class AppUrlOperatingSystemTypeEnum(proto.Message): IOS = 2 ANDROID = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/asset_field_type.pyi b/google-stubs/ads/googleads/v14/enums/types/asset_field_type.pyi index e677fd10e..3d4badb98 100644 --- a/google-stubs/ads/googleads/v14/enums/types/asset_field_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/asset_field_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetFieldTypeEnum(proto.Message): class AssetFieldType(proto.Enum): UNSPECIFIED = 0 @@ -34,8 +38,8 @@ class AssetFieldTypeEnum(proto.Message): BUSINESS_LOGO = 27 HOTEL_PROPERTY = 28 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/asset_group_primary_status.pyi b/google-stubs/ads/googleads/v14/enums/types/asset_group_primary_status.pyi index 016a0d7f6..15235c44e 100644 --- a/google-stubs/ads/googleads/v14/enums/types/asset_group_primary_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/asset_group_primary_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetGroupPrimaryStatusEnum(proto.Message): class AssetGroupPrimaryStatus(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class AssetGroupPrimaryStatusEnum(proto.Message): LIMITED = 6 PENDING = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/asset_group_primary_status_reason.pyi b/google-stubs/ads/googleads/v14/enums/types/asset_group_primary_status_reason.pyi index 763b79aee..b70c399f7 100644 --- a/google-stubs/ads/googleads/v14/enums/types/asset_group_primary_status_reason.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/asset_group_primary_status_reason.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetGroupPrimaryStatusReasonEnum(proto.Message): class AssetGroupPrimaryStatusReason(proto.Enum): UNSPECIFIED = 0 @@ -16,8 +20,8 @@ class AssetGroupPrimaryStatusReasonEnum(proto.Message): ASSET_GROUP_DISAPPROVED = 9 ASSET_GROUP_UNDER_REVIEW = 10 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/asset_group_status.pyi b/google-stubs/ads/googleads/v14/enums/types/asset_group_status.pyi index b5d694a23..4a8daa7a9 100644 --- a/google-stubs/ads/googleads/v14/enums/types/asset_group_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/asset_group_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetGroupStatusEnum(proto.Message): class AssetGroupStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class AssetGroupStatusEnum(proto.Message): PAUSED = 3 REMOVED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/asset_link_primary_status.pyi b/google-stubs/ads/googleads/v14/enums/types/asset_link_primary_status.pyi index abac7c911..ebaedcb66 100644 --- a/google-stubs/ads/googleads/v14/enums/types/asset_link_primary_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/asset_link_primary_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetLinkPrimaryStatusEnum(proto.Message): class AssetLinkPrimaryStatus(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class AssetLinkPrimaryStatusEnum(proto.Message): LIMITED = 6 NOT_ELIGIBLE = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/asset_link_primary_status_reason.pyi b/google-stubs/ads/googleads/v14/enums/types/asset_link_primary_status_reason.pyi index 34d93bf0b..3458b8c2c 100644 --- a/google-stubs/ads/googleads/v14/enums/types/asset_link_primary_status_reason.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/asset_link_primary_status_reason.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetLinkPrimaryStatusReasonEnum(proto.Message): class AssetLinkPrimaryStatusReason(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class AssetLinkPrimaryStatusReasonEnum(proto.Message): ASSET_UNDER_REVIEW = 5 ASSET_APPROVED_LABELED = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/asset_link_status.pyi b/google-stubs/ads/googleads/v14/enums/types/asset_link_status.pyi index 2025c1b96..02908f8b8 100644 --- a/google-stubs/ads/googleads/v14/enums/types/asset_link_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/asset_link_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetLinkStatusEnum(proto.Message): class AssetLinkStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class AssetLinkStatusEnum(proto.Message): REMOVED = 3 PAUSED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/asset_offline_evaluation_error_reasons.pyi b/google-stubs/ads/googleads/v14/enums/types/asset_offline_evaluation_error_reasons.pyi index 591cdc8bd..f93830924 100644 --- a/google-stubs/ads/googleads/v14/enums/types/asset_offline_evaluation_error_reasons.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/asset_offline_evaluation_error_reasons.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetOfflineEvaluationErrorReasonsEnum(proto.Message): class AssetOfflineEvaluationErrorReasons(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class AssetOfflineEvaluationErrorReasonsEnum(proto.Message): PRICE_ASSET_UNSUPPORTED_LANGUAGE = 7 PRICE_ASSET_OTHER_ERROR = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/asset_performance_label.pyi b/google-stubs/ads/googleads/v14/enums/types/asset_performance_label.pyi index fa17d02a2..262997b23 100644 --- a/google-stubs/ads/googleads/v14/enums/types/asset_performance_label.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/asset_performance_label.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetPerformanceLabelEnum(proto.Message): class AssetPerformanceLabel(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class AssetPerformanceLabelEnum(proto.Message): GOOD = 5 BEST = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/asset_set_asset_status.pyi b/google-stubs/ads/googleads/v14/enums/types/asset_set_asset_status.pyi index 3b93c6240..009ec5b4a 100644 --- a/google-stubs/ads/googleads/v14/enums/types/asset_set_asset_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/asset_set_asset_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetSetAssetStatusEnum(proto.Message): class AssetSetAssetStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class AssetSetAssetStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/asset_set_link_status.pyi b/google-stubs/ads/googleads/v14/enums/types/asset_set_link_status.pyi index d4523ea22..a8c21d4f2 100644 --- a/google-stubs/ads/googleads/v14/enums/types/asset_set_link_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/asset_set_link_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetSetLinkStatusEnum(proto.Message): class AssetSetLinkStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class AssetSetLinkStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/asset_set_status.pyi b/google-stubs/ads/googleads/v14/enums/types/asset_set_status.pyi index 06bc41a5b..79e27474f 100644 --- a/google-stubs/ads/googleads/v14/enums/types/asset_set_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/asset_set_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetSetStatusEnum(proto.Message): class AssetSetStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class AssetSetStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/asset_set_type.pyi b/google-stubs/ads/googleads/v14/enums/types/asset_set_type.pyi index 9d75e314c..a6a87ddb2 100644 --- a/google-stubs/ads/googleads/v14/enums/types/asset_set_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/asset_set_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetSetTypeEnum(proto.Message): class AssetSetType(proto.Enum): UNSPECIFIED = 0 @@ -22,8 +26,8 @@ class AssetSetTypeEnum(proto.Message): STATIC_LOCATION_GROUP = 15 HOTEL_PROPERTY = 16 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/asset_source.pyi b/google-stubs/ads/googleads/v14/enums/types/asset_source.pyi index 652542393..5fd0f9c95 100644 --- a/google-stubs/ads/googleads/v14/enums/types/asset_source.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/asset_source.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetSourceEnum(proto.Message): class AssetSource(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class AssetSourceEnum(proto.Message): ADVERTISER = 2 AUTOMATICALLY_CREATED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/asset_type.pyi b/google-stubs/ads/googleads/v14/enums/types/asset_type.pyi index 8562ee419..870c65049 100644 --- a/google-stubs/ads/googleads/v14/enums/types/asset_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/asset_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetTypeEnum(proto.Message): class AssetType(proto.Enum): UNSPECIFIED = 0 @@ -34,8 +38,8 @@ class AssetTypeEnum(proto.Message): LOCATION = 27 HOTEL_PROPERTY = 28 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/async_action_status.pyi b/google-stubs/ads/googleads/v14/enums/types/async_action_status.pyi index 9988a8d52..332523ec5 100644 --- a/google-stubs/ads/googleads/v14/enums/types/async_action_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/async_action_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AsyncActionStatusEnum(proto.Message): class AsyncActionStatus(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class AsyncActionStatusEnum(proto.Message): FAILED = 5 COMPLETED_WITH_WARNING = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/attribution_model.pyi b/google-stubs/ads/googleads/v14/enums/types/attribution_model.pyi index 5c9cebc34..25ec22ba0 100644 --- a/google-stubs/ads/googleads/v14/enums/types/attribution_model.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/attribution_model.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AttributionModelEnum(proto.Message): class AttributionModel(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class AttributionModelEnum(proto.Message): GOOGLE_SEARCH_ATTRIBUTION_POSITION_BASED = 105 GOOGLE_SEARCH_ATTRIBUTION_DATA_DRIVEN = 106 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/audience_insights_dimension.pyi b/google-stubs/ads/googleads/v14/enums/types/audience_insights_dimension.pyi index ee01f2646..05c0284bb 100644 --- a/google-stubs/ads/googleads/v14/enums/types/audience_insights_dimension.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/audience_insights_dimension.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AudienceInsightsDimensionEnum(proto.Message): class AudienceInsightsDimension(proto.Enum): UNSPECIFIED = 0 @@ -19,8 +23,8 @@ class AudienceInsightsDimensionEnum(proto.Message): AGE_RANGE = 12 GENDER = 13 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/audience_status.pyi b/google-stubs/ads/googleads/v14/enums/types/audience_status.pyi index bfb5e8170..c1755088f 100644 --- a/google-stubs/ads/googleads/v14/enums/types/audience_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/audience_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AudienceStatusEnum(proto.Message): class AudienceStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class AudienceStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/batch_job_status.pyi b/google-stubs/ads/googleads/v14/enums/types/batch_job_status.pyi index a2f46c5ea..e9940345f 100644 --- a/google-stubs/ads/googleads/v14/enums/types/batch_job_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/batch_job_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BatchJobStatusEnum(proto.Message): class BatchJobStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class BatchJobStatusEnum(proto.Message): RUNNING = 3 DONE = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/bid_modifier_source.pyi b/google-stubs/ads/googleads/v14/enums/types/bid_modifier_source.pyi index cad024985..54ffd35c3 100644 --- a/google-stubs/ads/googleads/v14/enums/types/bid_modifier_source.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/bid_modifier_source.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BidModifierSourceEnum(proto.Message): class BidModifierSource(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class BidModifierSourceEnum(proto.Message): CAMPAIGN = 2 AD_GROUP = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/bidding_source.pyi b/google-stubs/ads/googleads/v14/enums/types/bidding_source.pyi index e4edf91d1..3fccb8467 100644 --- a/google-stubs/ads/googleads/v14/enums/types/bidding_source.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/bidding_source.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BiddingSourceEnum(proto.Message): class BiddingSource(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class BiddingSourceEnum(proto.Message): AD_GROUP = 6 AD_GROUP_CRITERION = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/bidding_strategy_status.pyi b/google-stubs/ads/googleads/v14/enums/types/bidding_strategy_status.pyi index d566603f8..a135b1c32 100644 --- a/google-stubs/ads/googleads/v14/enums/types/bidding_strategy_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/bidding_strategy_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BiddingStrategyStatusEnum(proto.Message): class BiddingStrategyStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class BiddingStrategyStatusEnum(proto.Message): ENABLED = 2 REMOVED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/bidding_strategy_system_status.pyi b/google-stubs/ads/googleads/v14/enums/types/bidding_strategy_system_status.pyi index c22919c6a..26be3af2c 100644 --- a/google-stubs/ads/googleads/v14/enums/types/bidding_strategy_system_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/bidding_strategy_system_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BiddingStrategySystemStatusEnum(proto.Message): class BiddingStrategySystemStatus(proto.Enum): UNSPECIFIED = 0 @@ -32,8 +36,8 @@ class BiddingStrategySystemStatusEnum(proto.Message): MULTIPLE_MISCONFIGURED = 25 MULTIPLE = 26 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/bidding_strategy_type.pyi b/google-stubs/ads/googleads/v14/enums/types/bidding_strategy_type.pyi index 293877f8c..e0be67b63 100644 --- a/google-stubs/ads/googleads/v14/enums/types/bidding_strategy_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/bidding_strategy_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BiddingStrategyTypeEnum(proto.Message): class BiddingStrategyType(proto.Enum): UNSPECIFIED = 0 @@ -24,8 +28,8 @@ class BiddingStrategyTypeEnum(proto.Message): TARGET_ROAS = 8 TARGET_SPEND = 9 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/billing_setup_status.pyi b/google-stubs/ads/googleads/v14/enums/types/billing_setup_status.pyi index cbc45cd09..6d581e5c8 100644 --- a/google-stubs/ads/googleads/v14/enums/types/billing_setup_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/billing_setup_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BillingSetupStatusEnum(proto.Message): class BillingSetupStatus(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class BillingSetupStatusEnum(proto.Message): APPROVED = 4 CANCELLED = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/brand_safety_suitability.pyi b/google-stubs/ads/googleads/v14/enums/types/brand_safety_suitability.pyi index bf0599bb0..d53277195 100644 --- a/google-stubs/ads/googleads/v14/enums/types/brand_safety_suitability.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/brand_safety_suitability.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BrandSafetySuitabilityEnum(proto.Message): class BrandSafetySuitability(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class BrandSafetySuitabilityEnum(proto.Message): STANDARD_INVENTORY = 3 LIMITED_INVENTORY = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/budget_campaign_association_status.pyi b/google-stubs/ads/googleads/v14/enums/types/budget_campaign_association_status.pyi index 7533917f9..27fd9be2d 100644 --- a/google-stubs/ads/googleads/v14/enums/types/budget_campaign_association_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/budget_campaign_association_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BudgetCampaignAssociationStatusEnum(proto.Message): class BudgetCampaignAssociationStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class BudgetCampaignAssociationStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/budget_delivery_method.pyi b/google-stubs/ads/googleads/v14/enums/types/budget_delivery_method.pyi index 733fc1805..45d24a947 100644 --- a/google-stubs/ads/googleads/v14/enums/types/budget_delivery_method.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/budget_delivery_method.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BudgetDeliveryMethodEnum(proto.Message): class BudgetDeliveryMethod(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class BudgetDeliveryMethodEnum(proto.Message): STANDARD = 2 ACCELERATED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/budget_period.pyi b/google-stubs/ads/googleads/v14/enums/types/budget_period.pyi index f1038f474..c6aa00df0 100644 --- a/google-stubs/ads/googleads/v14/enums/types/budget_period.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/budget_period.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BudgetPeriodEnum(proto.Message): class BudgetPeriod(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class BudgetPeriodEnum(proto.Message): DAILY = 2 CUSTOM_PERIOD = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/budget_status.pyi b/google-stubs/ads/googleads/v14/enums/types/budget_status.pyi index f51b6d3fa..9dada6790 100644 --- a/google-stubs/ads/googleads/v14/enums/types/budget_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/budget_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BudgetStatusEnum(proto.Message): class BudgetStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class BudgetStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/budget_type.pyi b/google-stubs/ads/googleads/v14/enums/types/budget_type.pyi index a414891f7..26cc0b18a 100644 --- a/google-stubs/ads/googleads/v14/enums/types/budget_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/budget_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BudgetTypeEnum(proto.Message): class BudgetType(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class BudgetTypeEnum(proto.Message): SMART_CAMPAIGN = 5 LOCAL_SERVICES = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/call_conversion_reporting_state.pyi b/google-stubs/ads/googleads/v14/enums/types/call_conversion_reporting_state.pyi index ac5d688c9..c0276202b 100644 --- a/google-stubs/ads/googleads/v14/enums/types/call_conversion_reporting_state.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/call_conversion_reporting_state.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CallConversionReportingStateEnum(proto.Message): class CallConversionReportingState(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class CallConversionReportingStateEnum(proto.Message): USE_ACCOUNT_LEVEL_CALL_CONVERSION_ACTION = 3 USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/call_placeholder_field.pyi b/google-stubs/ads/googleads/v14/enums/types/call_placeholder_field.pyi index b606606cf..9d78457f5 100644 --- a/google-stubs/ads/googleads/v14/enums/types/call_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/call_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CallPlaceholderFieldEnum(proto.Message): class CallPlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class CallPlaceholderFieldEnum(proto.Message): CONVERSION_TYPE_ID = 5 CONVERSION_REPORTING_STATE = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/call_to_action_type.pyi b/google-stubs/ads/googleads/v14/enums/types/call_to_action_type.pyi index cd298a005..edb149973 100644 --- a/google-stubs/ads/googleads/v14/enums/types/call_to_action_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/call_to_action_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CallToActionTypeEnum(proto.Message): class CallToActionType(proto.Enum): UNSPECIFIED = 0 @@ -24,8 +28,8 @@ class CallToActionTypeEnum(proto.Message): VISIT_SITE = 17 WATCH_NOW = 18 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/call_tracking_display_location.pyi b/google-stubs/ads/googleads/v14/enums/types/call_tracking_display_location.pyi index 0ca454109..393d6c499 100644 --- a/google-stubs/ads/googleads/v14/enums/types/call_tracking_display_location.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/call_tracking_display_location.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CallTrackingDisplayLocationEnum(proto.Message): class CallTrackingDisplayLocation(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class CallTrackingDisplayLocationEnum(proto.Message): AD = 2 LANDING_PAGE = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/call_type.pyi b/google-stubs/ads/googleads/v14/enums/types/call_type.pyi index d4884852d..52a427d35 100644 --- a/google-stubs/ads/googleads/v14/enums/types/call_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/call_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CallTypeEnum(proto.Message): class CallType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class CallTypeEnum(proto.Message): MANUALLY_DIALED = 2 HIGH_END_MOBILE_SEARCH = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/callout_placeholder_field.pyi b/google-stubs/ads/googleads/v14/enums/types/callout_placeholder_field.pyi index eb865b088..d611a5efb 100644 --- a/google-stubs/ads/googleads/v14/enums/types/callout_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/callout_placeholder_field.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CalloutPlaceholderFieldEnum(proto.Message): class CalloutPlaceholderField(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 CALLOUT_TEXT = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/campaign_criterion_status.pyi b/google-stubs/ads/googleads/v14/enums/types/campaign_criterion_status.pyi index 723a1ef1a..7573390da 100644 --- a/google-stubs/ads/googleads/v14/enums/types/campaign_criterion_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/campaign_criterion_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignCriterionStatusEnum(proto.Message): class CampaignCriterionStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class CampaignCriterionStatusEnum(proto.Message): PAUSED = 3 REMOVED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/campaign_draft_status.pyi b/google-stubs/ads/googleads/v14/enums/types/campaign_draft_status.pyi index e30985695..be864c70e 100644 --- a/google-stubs/ads/googleads/v14/enums/types/campaign_draft_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/campaign_draft_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignDraftStatusEnum(proto.Message): class CampaignDraftStatus(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class CampaignDraftStatusEnum(proto.Message): PROMOTED = 4 PROMOTE_FAILED = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/campaign_experiment_type.pyi b/google-stubs/ads/googleads/v14/enums/types/campaign_experiment_type.pyi index 284046ea4..13fdc661d 100644 --- a/google-stubs/ads/googleads/v14/enums/types/campaign_experiment_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/campaign_experiment_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignExperimentTypeEnum(proto.Message): class CampaignExperimentType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class CampaignExperimentTypeEnum(proto.Message): DRAFT = 3 EXPERIMENT = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/campaign_group_status.pyi b/google-stubs/ads/googleads/v14/enums/types/campaign_group_status.pyi index b30989e6e..f1c62c749 100644 --- a/google-stubs/ads/googleads/v14/enums/types/campaign_group_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/campaign_group_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignGroupStatusEnum(proto.Message): class CampaignGroupStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class CampaignGroupStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/campaign_primary_status.pyi b/google-stubs/ads/googleads/v14/enums/types/campaign_primary_status.pyi index f950bbef0..e958a6ede 100644 --- a/google-stubs/ads/googleads/v14/enums/types/campaign_primary_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/campaign_primary_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignPrimaryStatusEnum(proto.Message): class CampaignPrimaryStatus(proto.Enum): UNSPECIFIED = 0 @@ -16,8 +20,8 @@ class CampaignPrimaryStatusEnum(proto.Message): LEARNING = 9 NOT_ELIGIBLE = 10 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/campaign_primary_status_reason.pyi b/google-stubs/ads/googleads/v14/enums/types/campaign_primary_status_reason.pyi index 560d177de..6f1f47dd1 100644 --- a/google-stubs/ads/googleads/v14/enums/types/campaign_primary_status_reason.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/campaign_primary_status_reason.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignPrimaryStatusReasonEnum(proto.Message): class CampaignPrimaryStatusReason(proto.Enum): UNSPECIFIED = 0 @@ -42,8 +46,8 @@ class CampaignPrimaryStatusReasonEnum(proto.Message): HAS_ASSET_GROUPS_LIMITED_BY_POLICY = 35 MOST_ASSET_GROUPS_UNDER_REVIEW = 36 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/campaign_serving_status.pyi b/google-stubs/ads/googleads/v14/enums/types/campaign_serving_status.pyi index 804032bdc..a3a4af519 100644 --- a/google-stubs/ads/googleads/v14/enums/types/campaign_serving_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/campaign_serving_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignServingStatusEnum(proto.Message): class CampaignServingStatus(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class CampaignServingStatusEnum(proto.Message): PENDING = 5 SUSPENDED = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/campaign_shared_set_status.pyi b/google-stubs/ads/googleads/v14/enums/types/campaign_shared_set_status.pyi index 64b803cb2..2036bc2ca 100644 --- a/google-stubs/ads/googleads/v14/enums/types/campaign_shared_set_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/campaign_shared_set_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignSharedSetStatusEnum(proto.Message): class CampaignSharedSetStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class CampaignSharedSetStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/campaign_status.pyi b/google-stubs/ads/googleads/v14/enums/types/campaign_status.pyi index b11ade9c4..54e899d07 100644 --- a/google-stubs/ads/googleads/v14/enums/types/campaign_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/campaign_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignStatusEnum(proto.Message): class CampaignStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class CampaignStatusEnum(proto.Message): PAUSED = 3 REMOVED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/chain_relationship_type.pyi b/google-stubs/ads/googleads/v14/enums/types/chain_relationship_type.pyi index 6dde3c8c6..74f395601 100644 --- a/google-stubs/ads/googleads/v14/enums/types/chain_relationship_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/chain_relationship_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ChainRelationshipTypeEnum(proto.Message): class ChainRelationshipType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class ChainRelationshipTypeEnum(proto.Message): AUTO_DEALERS = 2 GENERAL_RETAILERS = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/change_client_type.pyi b/google-stubs/ads/googleads/v14/enums/types/change_client_type.pyi index 8162724d3..53928bb7e 100644 --- a/google-stubs/ads/googleads/v14/enums/types/change_client_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/change_client_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ChangeClientTypeEnum(proto.Message): class ChangeClientType(proto.Enum): UNSPECIFIED = 0 @@ -19,8 +23,8 @@ class ChangeClientTypeEnum(proto.Message): INTERNAL_TOOL = 12 OTHER = 13 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/change_event_resource_type.pyi b/google-stubs/ads/googleads/v14/enums/types/change_event_resource_type.pyi index f78321337..b153ac94a 100644 --- a/google-stubs/ads/googleads/v14/enums/types/change_event_resource_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/change_event_resource_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ChangeEventResourceTypeEnum(proto.Message): class ChangeEventResourceType(proto.Enum): UNSPECIFIED = 0 @@ -26,8 +30,8 @@ class ChangeEventResourceTypeEnum(proto.Message): ASSET_SET_ASSET = 19 CAMPAIGN_ASSET_SET = 20 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/change_status_operation.pyi b/google-stubs/ads/googleads/v14/enums/types/change_status_operation.pyi index e4f80a138..14a2a186f 100644 --- a/google-stubs/ads/googleads/v14/enums/types/change_status_operation.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/change_status_operation.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ChangeStatusOperationEnum(proto.Message): class ChangeStatusOperation(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ChangeStatusOperationEnum(proto.Message): CHANGED = 3 REMOVED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/change_status_resource_type.pyi b/google-stubs/ads/googleads/v14/enums/types/change_status_resource_type.pyi index ce97a9be5..ef33f50d7 100644 --- a/google-stubs/ads/googleads/v14/enums/types/change_status_resource_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/change_status_resource_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ChangeStatusResourceTypeEnum(proto.Message): class ChangeStatusResourceType(proto.Enum): UNSPECIFIED = 0 @@ -24,8 +28,8 @@ class ChangeStatusResourceTypeEnum(proto.Message): AD_GROUP_ASSET = 19 COMBINED_AUDIENCE = 20 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/click_type.pyi b/google-stubs/ads/googleads/v14/enums/types/click_type.pyi index baf12b00e..606b5a35a 100644 --- a/google-stubs/ads/googleads/v14/enums/types/click_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/click_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ClickTypeEnum(proto.Message): class ClickType(proto.Enum): UNSPECIFIED = 0 @@ -61,8 +65,8 @@ class ClickTypeEnum(proto.Message): SHOPPING_COMPARISON_LISTING = 56 CROSS_NETWORK = 57 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/combined_audience_status.pyi b/google-stubs/ads/googleads/v14/enums/types/combined_audience_status.pyi index 14ee414e7..2d38c87d4 100644 --- a/google-stubs/ads/googleads/v14/enums/types/combined_audience_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/combined_audience_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CombinedAudienceStatusEnum(proto.Message): class CombinedAudienceStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class CombinedAudienceStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/content_label_type.pyi b/google-stubs/ads/googleads/v14/enums/types/content_label_type.pyi index 3e8b30d78..ce3b815f8 100644 --- a/google-stubs/ads/googleads/v14/enums/types/content_label_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/content_label_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ContentLabelTypeEnum(proto.Message): class ContentLabelType(proto.Enum): UNSPECIFIED = 0 @@ -22,8 +26,8 @@ class ContentLabelTypeEnum(proto.Message): LIVE_STREAMING_VIDEO = 16 SOCIAL_ISSUES = 17 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/conversion_action_category.pyi b/google-stubs/ads/googleads/v14/enums/types/conversion_action_category.pyi index e8fbff9f7..c7d474d88 100644 --- a/google-stubs/ads/googleads/v14/enums/types/conversion_action_category.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/conversion_action_category.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionActionCategoryEnum(proto.Message): class ConversionActionCategory(proto.Enum): UNSPECIFIED = 0 @@ -28,8 +32,8 @@ class ConversionActionCategoryEnum(proto.Message): QUALIFIED_LEAD = 22 CONVERTED_LEAD = 23 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/conversion_action_counting_type.pyi b/google-stubs/ads/googleads/v14/enums/types/conversion_action_counting_type.pyi index d4160a8ce..a59e926d6 100644 --- a/google-stubs/ads/googleads/v14/enums/types/conversion_action_counting_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/conversion_action_counting_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionActionCountingTypeEnum(proto.Message): class ConversionActionCountingType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class ConversionActionCountingTypeEnum(proto.Message): ONE_PER_CLICK = 2 MANY_PER_CLICK = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/conversion_action_status.pyi b/google-stubs/ads/googleads/v14/enums/types/conversion_action_status.pyi index 29c72e4bd..41d3b997a 100644 --- a/google-stubs/ads/googleads/v14/enums/types/conversion_action_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/conversion_action_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionActionStatusEnum(proto.Message): class ConversionActionStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ConversionActionStatusEnum(proto.Message): REMOVED = 3 HIDDEN = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/conversion_action_type.pyi b/google-stubs/ads/googleads/v14/enums/types/conversion_action_type.pyi index 9b33b0cd5..50a4cb639 100644 --- a/google-stubs/ads/googleads/v14/enums/types/conversion_action_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/conversion_action_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionActionTypeEnum(proto.Message): class ConversionActionType(proto.Enum): UNSPECIFIED = 0 @@ -47,8 +51,8 @@ class ConversionActionTypeEnum(proto.Message): GOOGLE_ANALYTICS_4_CUSTOM = 40 GOOGLE_ANALYTICS_4_PURCHASE = 41 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/conversion_adjustment_type.pyi b/google-stubs/ads/googleads/v14/enums/types/conversion_adjustment_type.pyi index 8ffd703dc..60b929555 100644 --- a/google-stubs/ads/googleads/v14/enums/types/conversion_adjustment_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/conversion_adjustment_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionAdjustmentTypeEnum(proto.Message): class ConversionAdjustmentType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ConversionAdjustmentTypeEnum(proto.Message): RESTATEMENT = 3 ENHANCEMENT = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/conversion_attribution_event_type.pyi b/google-stubs/ads/googleads/v14/enums/types/conversion_attribution_event_type.pyi index a6dea4f2a..aeaa536c7 100644 --- a/google-stubs/ads/googleads/v14/enums/types/conversion_attribution_event_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/conversion_attribution_event_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionAttributionEventTypeEnum(proto.Message): class ConversionAttributionEventType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class ConversionAttributionEventTypeEnum(proto.Message): IMPRESSION = 2 INTERACTION = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/conversion_custom_variable_status.pyi b/google-stubs/ads/googleads/v14/enums/types/conversion_custom_variable_status.pyi index cadccdcbc..9c461c37a 100644 --- a/google-stubs/ads/googleads/v14/enums/types/conversion_custom_variable_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/conversion_custom_variable_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionCustomVariableStatusEnum(proto.Message): class ConversionCustomVariableStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ConversionCustomVariableStatusEnum(proto.Message): ENABLED = 3 PAUSED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/conversion_environment_enum.pyi b/google-stubs/ads/googleads/v14/enums/types/conversion_environment_enum.pyi index a41b0cbd9..133165865 100644 --- a/google-stubs/ads/googleads/v14/enums/types/conversion_environment_enum.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/conversion_environment_enum.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionEnvironmentEnum(proto.Message): class ConversionEnvironment(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class ConversionEnvironmentEnum(proto.Message): APP = 2 WEB = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/conversion_lag_bucket.pyi b/google-stubs/ads/googleads/v14/enums/types/conversion_lag_bucket.pyi index 5b9daddb3..e01e7997f 100644 --- a/google-stubs/ads/googleads/v14/enums/types/conversion_lag_bucket.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/conversion_lag_bucket.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionLagBucketEnum(proto.Message): class ConversionLagBucket(proto.Enum): UNSPECIFIED = 0 @@ -26,8 +30,8 @@ class ConversionLagBucketEnum(proto.Message): FORTY_FIVE_TO_SIXTY_DAYS = 19 SIXTY_TO_NINETY_DAYS = 20 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/conversion_or_adjustment_lag_bucket.pyi b/google-stubs/ads/googleads/v14/enums/types/conversion_or_adjustment_lag_bucket.pyi index fa1eba25d..a02deb23b 100644 --- a/google-stubs/ads/googleads/v14/enums/types/conversion_or_adjustment_lag_bucket.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/conversion_or_adjustment_lag_bucket.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionOrAdjustmentLagBucketEnum(proto.Message): class ConversionOrAdjustmentLagBucket(proto.Enum): UNSPECIFIED = 0 @@ -48,8 +52,8 @@ class ConversionOrAdjustmentLagBucketEnum(proto.Message): CONVERSION_UNKNOWN = 41 ADJUSTMENT_UNKNOWN = 42 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/conversion_origin.pyi b/google-stubs/ads/googleads/v14/enums/types/conversion_origin.pyi index d8efcfaab..fb3cb751f 100644 --- a/google-stubs/ads/googleads/v14/enums/types/conversion_origin.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/conversion_origin.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionOriginEnum(proto.Message): class ConversionOrigin(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class ConversionOriginEnum(proto.Message): STORE = 6 YOUTUBE_HOSTED = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/conversion_tracking_status_enum.pyi b/google-stubs/ads/googleads/v14/enums/types/conversion_tracking_status_enum.pyi index 9bf9684d2..330269e23 100644 --- a/google-stubs/ads/googleads/v14/enums/types/conversion_tracking_status_enum.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/conversion_tracking_status_enum.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionTrackingStatusEnum(proto.Message): class ConversionTrackingStatus(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class ConversionTrackingStatusEnum(proto.Message): CONVERSION_TRACKING_MANAGED_BY_THIS_MANAGER = 4 CONVERSION_TRACKING_MANAGED_BY_ANOTHER_MANAGER = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/conversion_value_rule_primary_dimension.pyi b/google-stubs/ads/googleads/v14/enums/types/conversion_value_rule_primary_dimension.pyi index 4b6bb81d3..2652647d3 100644 --- a/google-stubs/ads/googleads/v14/enums/types/conversion_value_rule_primary_dimension.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/conversion_value_rule_primary_dimension.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionValueRulePrimaryDimensionEnum(proto.Message): class ConversionValueRulePrimaryDimension(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class ConversionValueRulePrimaryDimensionEnum(proto.Message): AUDIENCE = 7 MULTIPLE = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/conversion_value_rule_set_status.pyi b/google-stubs/ads/googleads/v14/enums/types/conversion_value_rule_set_status.pyi index c9a5a0556..319287803 100644 --- a/google-stubs/ads/googleads/v14/enums/types/conversion_value_rule_set_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/conversion_value_rule_set_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionValueRuleSetStatusEnum(proto.Message): class ConversionValueRuleSetStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ConversionValueRuleSetStatusEnum(proto.Message): REMOVED = 3 PAUSED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/conversion_value_rule_status.pyi b/google-stubs/ads/googleads/v14/enums/types/conversion_value_rule_status.pyi index 86cc55bde..187562fc0 100644 --- a/google-stubs/ads/googleads/v14/enums/types/conversion_value_rule_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/conversion_value_rule_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionValueRuleStatusEnum(proto.Message): class ConversionValueRuleStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ConversionValueRuleStatusEnum(proto.Message): REMOVED = 3 PAUSED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/converting_user_prior_engagement_type_and_ltv_bucket.pyi b/google-stubs/ads/googleads/v14/enums/types/converting_user_prior_engagement_type_and_ltv_bucket.pyi index a04488028..2b718266a 100644 --- a/google-stubs/ads/googleads/v14/enums/types/converting_user_prior_engagement_type_and_ltv_bucket.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/converting_user_prior_engagement_type_and_ltv_bucket.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConvertingUserPriorEngagementTypeAndLtvBucketEnum(proto.Message): class ConvertingUserPriorEngagementTypeAndLtvBucket(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ConvertingUserPriorEngagementTypeAndLtvBucketEnum(proto.Message): RETURNING = 3 NEW_AND_HIGH_LTV = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/criterion_category_channel_availability_mode.pyi b/google-stubs/ads/googleads/v14/enums/types/criterion_category_channel_availability_mode.pyi index ea7d0a2a8..d1c3af4c6 100644 --- a/google-stubs/ads/googleads/v14/enums/types/criterion_category_channel_availability_mode.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/criterion_category_channel_availability_mode.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CriterionCategoryChannelAvailabilityModeEnum(proto.Message): class CriterionCategoryChannelAvailabilityMode(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class CriterionCategoryChannelAvailabilityModeEnum(proto.Message): CHANNEL_TYPE_AND_ALL_SUBTYPES = 3 CHANNEL_TYPE_AND_SUBSET_SUBTYPES = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/criterion_category_locale_availability_mode.pyi b/google-stubs/ads/googleads/v14/enums/types/criterion_category_locale_availability_mode.pyi index f53743b32..d42ac04e0 100644 --- a/google-stubs/ads/googleads/v14/enums/types/criterion_category_locale_availability_mode.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/criterion_category_locale_availability_mode.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CriterionCategoryLocaleAvailabilityModeEnum(proto.Message): class CriterionCategoryLocaleAvailabilityMode(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class CriterionCategoryLocaleAvailabilityModeEnum(proto.Message): LANGUAGE_AND_ALL_COUNTRIES = 4 COUNTRY_AND_LANGUAGE = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/criterion_system_serving_status.pyi b/google-stubs/ads/googleads/v14/enums/types/criterion_system_serving_status.pyi index 1c5d30d88..234a78280 100644 --- a/google-stubs/ads/googleads/v14/enums/types/criterion_system_serving_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/criterion_system_serving_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CriterionSystemServingStatusEnum(proto.Message): class CriterionSystemServingStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class CriterionSystemServingStatusEnum(proto.Message): ELIGIBLE = 2 RARELY_SERVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/criterion_type.pyi b/google-stubs/ads/googleads/v14/enums/types/criterion_type.pyi index 6edbc7d82..742321a40 100644 --- a/google-stubs/ads/googleads/v14/enums/types/criterion_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/criterion_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CriterionTypeEnum(proto.Message): class CriterionType(proto.Enum): UNSPECIFIED = 0 @@ -43,8 +47,8 @@ class CriterionTypeEnum(proto.Message): NEGATIVE_KEYWORD_LIST = 36 LOCAL_SERVICE_ID = 37 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/custom_audience_member_type.pyi b/google-stubs/ads/googleads/v14/enums/types/custom_audience_member_type.pyi index c815ec93e..0858e7ca0 100644 --- a/google-stubs/ads/googleads/v14/enums/types/custom_audience_member_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/custom_audience_member_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomAudienceMemberTypeEnum(proto.Message): class CustomAudienceMemberType(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class CustomAudienceMemberTypeEnum(proto.Message): PLACE_CATEGORY = 4 APP = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/custom_audience_status.pyi b/google-stubs/ads/googleads/v14/enums/types/custom_audience_status.pyi index df40ee3a6..79b0176b6 100644 --- a/google-stubs/ads/googleads/v14/enums/types/custom_audience_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/custom_audience_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomAudienceStatusEnum(proto.Message): class CustomAudienceStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class CustomAudienceStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/custom_audience_type.pyi b/google-stubs/ads/googleads/v14/enums/types/custom_audience_type.pyi index 5a1554ae5..bdb63a6b2 100644 --- a/google-stubs/ads/googleads/v14/enums/types/custom_audience_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/custom_audience_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomAudienceTypeEnum(proto.Message): class CustomAudienceType(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class CustomAudienceTypeEnum(proto.Message): PURCHASE_INTENT = 4 SEARCH = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/custom_conversion_goal_status.pyi b/google-stubs/ads/googleads/v14/enums/types/custom_conversion_goal_status.pyi index 4d00c62e4..9f81fd41d 100644 --- a/google-stubs/ads/googleads/v14/enums/types/custom_conversion_goal_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/custom_conversion_goal_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomConversionGoalStatusEnum(proto.Message): class CustomConversionGoalStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class CustomConversionGoalStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/custom_interest_member_type.pyi b/google-stubs/ads/googleads/v14/enums/types/custom_interest_member_type.pyi index b14b194ad..18595c0f2 100644 --- a/google-stubs/ads/googleads/v14/enums/types/custom_interest_member_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/custom_interest_member_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomInterestMemberTypeEnum(proto.Message): class CustomInterestMemberType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class CustomInterestMemberTypeEnum(proto.Message): KEYWORD = 2 URL = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/custom_interest_status.pyi b/google-stubs/ads/googleads/v14/enums/types/custom_interest_status.pyi index 5769e5d88..25c109b5b 100644 --- a/google-stubs/ads/googleads/v14/enums/types/custom_interest_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/custom_interest_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomInterestStatusEnum(proto.Message): class CustomInterestStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class CustomInterestStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/custom_interest_type.pyi b/google-stubs/ads/googleads/v14/enums/types/custom_interest_type.pyi index 299fee7ab..086611913 100644 --- a/google-stubs/ads/googleads/v14/enums/types/custom_interest_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/custom_interest_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomInterestTypeEnum(proto.Message): class CustomInterestType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class CustomInterestTypeEnum(proto.Message): CUSTOM_AFFINITY = 2 CUSTOM_INTENT = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/custom_placeholder_field.pyi b/google-stubs/ads/googleads/v14/enums/types/custom_placeholder_field.pyi index aaa97296d..b070e24a4 100644 --- a/google-stubs/ads/googleads/v14/enums/types/custom_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/custom_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomPlaceholderFieldEnum(proto.Message): class CustomPlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -27,8 +31,8 @@ class CustomPlaceholderFieldEnum(proto.Message): IOS_APP_LINK = 20 IOS_APP_STORE_ID = 21 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/customer_match_upload_key_type.pyi b/google-stubs/ads/googleads/v14/enums/types/customer_match_upload_key_type.pyi index c4d0d7010..a144e7a4c 100644 --- a/google-stubs/ads/googleads/v14/enums/types/customer_match_upload_key_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/customer_match_upload_key_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomerMatchUploadKeyTypeEnum(proto.Message): class CustomerMatchUploadKeyType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class CustomerMatchUploadKeyTypeEnum(proto.Message): CRM_ID = 3 MOBILE_ADVERTISING_ID = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/customer_pay_per_conversion_eligibility_failure_reason.pyi b/google-stubs/ads/googleads/v14/enums/types/customer_pay_per_conversion_eligibility_failure_reason.pyi index 9b31e561b..3969176e0 100644 --- a/google-stubs/ads/googleads/v14/enums/types/customer_pay_per_conversion_eligibility_failure_reason.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/customer_pay_per_conversion_eligibility_failure_reason.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomerPayPerConversionEligibilityFailureReasonEnum(proto.Message): class CustomerPayPerConversionEligibilityFailureReason(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class CustomerPayPerConversionEligibilityFailureReasonEnum(proto.Message): ANALYSIS_NOT_COMPLETE = 7 OTHER = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/customer_status.pyi b/google-stubs/ads/googleads/v14/enums/types/customer_status.pyi index 51081fee7..b5339c446 100644 --- a/google-stubs/ads/googleads/v14/enums/types/customer_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/customer_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomerStatusEnum(proto.Message): class CustomerStatus(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class CustomerStatusEnum(proto.Message): SUSPENDED = 4 CLOSED = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/customizer_attribute_status.pyi b/google-stubs/ads/googleads/v14/enums/types/customizer_attribute_status.pyi index 1ee7d9484..08e4c03c8 100644 --- a/google-stubs/ads/googleads/v14/enums/types/customizer_attribute_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/customizer_attribute_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomizerAttributeStatusEnum(proto.Message): class CustomizerAttributeStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class CustomizerAttributeStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/customizer_attribute_type.pyi b/google-stubs/ads/googleads/v14/enums/types/customizer_attribute_type.pyi index c7ebfc38a..439f41282 100644 --- a/google-stubs/ads/googleads/v14/enums/types/customizer_attribute_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/customizer_attribute_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomizerAttributeTypeEnum(proto.Message): class CustomizerAttributeType(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class CustomizerAttributeTypeEnum(proto.Message): PRICE = 4 PERCENT = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/customizer_value_status.pyi b/google-stubs/ads/googleads/v14/enums/types/customizer_value_status.pyi index 10d376205..74951655a 100644 --- a/google-stubs/ads/googleads/v14/enums/types/customizer_value_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/customizer_value_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomizerValueStatusEnum(proto.Message): class CustomizerValueStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class CustomizerValueStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/data_driven_model_status.pyi b/google-stubs/ads/googleads/v14/enums/types/data_driven_model_status.pyi index 9df461fc8..050e96cd7 100644 --- a/google-stubs/ads/googleads/v14/enums/types/data_driven_model_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/data_driven_model_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class DataDrivenModelStatusEnum(proto.Message): class DataDrivenModelStatus(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class DataDrivenModelStatusEnum(proto.Message): EXPIRED = 4 NEVER_GENERATED = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/day_of_week.pyi b/google-stubs/ads/googleads/v14/enums/types/day_of_week.pyi index 32c1249fd..d2a7abf1c 100644 --- a/google-stubs/ads/googleads/v14/enums/types/day_of_week.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/day_of_week.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class DayOfWeekEnum(proto.Message): class DayOfWeek(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class DayOfWeekEnum(proto.Message): SATURDAY = 7 SUNDAY = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/device.pyi b/google-stubs/ads/googleads/v14/enums/types/device.pyi index 8b3e2d1ed..c520251d9 100644 --- a/google-stubs/ads/googleads/v14/enums/types/device.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/device.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class DeviceEnum(proto.Message): class Device(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class DeviceEnum(proto.Message): CONNECTED_TV = 6 OTHER = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/display_ad_format_setting.pyi b/google-stubs/ads/googleads/v14/enums/types/display_ad_format_setting.pyi index 48ad30c3c..d9da4965e 100644 --- a/google-stubs/ads/googleads/v14/enums/types/display_ad_format_setting.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/display_ad_format_setting.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class DisplayAdFormatSettingEnum(proto.Message): class DisplayAdFormatSetting(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class DisplayAdFormatSettingEnum(proto.Message): NON_NATIVE = 3 NATIVE = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/display_upload_product_type.pyi b/google-stubs/ads/googleads/v14/enums/types/display_upload_product_type.pyi index dc8e5cc73..6d00fabbd 100644 --- a/google-stubs/ads/googleads/v14/enums/types/display_upload_product_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/display_upload_product_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class DisplayUploadProductTypeEnum(proto.Message): class DisplayUploadProductType(proto.Enum): UNSPECIFIED = 0 @@ -17,8 +21,8 @@ class DisplayUploadProductTypeEnum(proto.Message): DYNAMIC_HTML5_TRAVEL_AD = 10 DYNAMIC_HTML5_HOTEL_AD = 11 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/distance_bucket.pyi b/google-stubs/ads/googleads/v14/enums/types/distance_bucket.pyi index 772dfa2b4..6ab0e9bd0 100644 --- a/google-stubs/ads/googleads/v14/enums/types/distance_bucket.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/distance_bucket.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class DistanceBucketEnum(proto.Message): class DistanceBucket(proto.Enum): UNSPECIFIED = 0 @@ -34,8 +38,8 @@ class DistanceBucketEnum(proto.Message): WITHIN_40MILES = 27 BEYOND_40MILES = 28 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/dsa_page_feed_criterion_field.pyi b/google-stubs/ads/googleads/v14/enums/types/dsa_page_feed_criterion_field.pyi index ea89e4530..18a326f10 100644 --- a/google-stubs/ads/googleads/v14/enums/types/dsa_page_feed_criterion_field.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/dsa_page_feed_criterion_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class DsaPageFeedCriterionFieldEnum(proto.Message): class DsaPageFeedCriterionField(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class DsaPageFeedCriterionFieldEnum(proto.Message): PAGE_URL = 2 LABEL = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/education_placeholder_field.pyi b/google-stubs/ads/googleads/v14/enums/types/education_placeholder_field.pyi index facf7ae63..130366cb1 100644 --- a/google-stubs/ads/googleads/v14/enums/types/education_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/education_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class EducationPlaceholderFieldEnum(proto.Message): class EducationPlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -24,8 +28,8 @@ class EducationPlaceholderFieldEnum(proto.Message): IOS_APP_LINK = 17 IOS_APP_STORE_ID = 18 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/experiment_metric.pyi b/google-stubs/ads/googleads/v14/enums/types/experiment_metric.pyi index 191dc4af2..56c56f03f 100644 --- a/google-stubs/ads/googleads/v14/enums/types/experiment_metric.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/experiment_metric.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ExperimentMetricEnum(proto.Message): class ExperimentMetric(proto.Enum): UNSPECIFIED = 0 @@ -20,8 +24,8 @@ class ExperimentMetricEnum(proto.Message): CONVERSIONS = 13 CONVERSION_VALUE = 14 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/experiment_metric_direction.pyi b/google-stubs/ads/googleads/v14/enums/types/experiment_metric_direction.pyi index 92d48d78d..a5c418488 100644 --- a/google-stubs/ads/googleads/v14/enums/types/experiment_metric_direction.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/experiment_metric_direction.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ExperimentMetricDirectionEnum(proto.Message): class ExperimentMetricDirection(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class ExperimentMetricDirectionEnum(proto.Message): NO_CHANGE_OR_INCREASE = 5 NO_CHANGE_OR_DECREASE = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/experiment_status.pyi b/google-stubs/ads/googleads/v14/enums/types/experiment_status.pyi index 60c06c18d..699508789 100644 --- a/google-stubs/ads/googleads/v14/enums/types/experiment_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/experiment_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ExperimentStatusEnum(proto.Message): class ExperimentStatus(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class ExperimentStatusEnum(proto.Message): INITIATED = 7 GRADUATED = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/experiment_type.pyi b/google-stubs/ads/googleads/v14/enums/types/experiment_type.pyi index 70b704a33..ed5dfdda9 100644 --- a/google-stubs/ads/googleads/v14/enums/types/experiment_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/experiment_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ExperimentTypeEnum(proto.Message): class ExperimentType(proto.Enum): UNSPECIFIED = 0 @@ -17,8 +21,8 @@ class ExperimentTypeEnum(proto.Message): SMART_MATCHING = 11 HOTEL_CUSTOM = 12 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/extension_setting_device.pyi b/google-stubs/ads/googleads/v14/enums/types/extension_setting_device.pyi index 32afeae2f..9e95ed754 100644 --- a/google-stubs/ads/googleads/v14/enums/types/extension_setting_device.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/extension_setting_device.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ExtensionSettingDeviceEnum(proto.Message): class ExtensionSettingDevice(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class ExtensionSettingDeviceEnum(proto.Message): MOBILE = 2 DESKTOP = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/extension_type.pyi b/google-stubs/ads/googleads/v14/enums/types/extension_type.pyi index 03d958d4e..ecd2c595b 100644 --- a/google-stubs/ads/googleads/v14/enums/types/extension_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/extension_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ExtensionTypeEnum(proto.Message): class ExtensionType(proto.Enum): UNSPECIFIED = 0 @@ -20,8 +24,8 @@ class ExtensionTypeEnum(proto.Message): HOTEL_CALLOUT = 15 IMAGE = 16 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/external_conversion_source.pyi b/google-stubs/ads/googleads/v14/enums/types/external_conversion_source.pyi index bffc6a14e..1dacac2d6 100644 --- a/google-stubs/ads/googleads/v14/enums/types/external_conversion_source.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/external_conversion_source.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ExternalConversionSourceEnum(proto.Message): class ExternalConversionSource(proto.Enum): UNSPECIFIED = 0 @@ -35,8 +39,8 @@ class ExternalConversionSourceEnum(proto.Message): FIREBASE_SEARCH_ADS_360 = 33 DISPLAY_AND_VIDEO_360_FLOODLIGHT = 34 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/feed_attribute_type.pyi b/google-stubs/ads/googleads/v14/enums/types/feed_attribute_type.pyi index d6d126300..c15c66c0d 100644 --- a/google-stubs/ads/googleads/v14/enums/types/feed_attribute_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/feed_attribute_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedAttributeTypeEnum(proto.Message): class FeedAttributeType(proto.Enum): UNSPECIFIED = 0 @@ -20,8 +24,8 @@ class FeedAttributeTypeEnum(proto.Message): DATE_TIME_LIST = 13 PRICE = 14 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/feed_item_quality_approval_status.pyi b/google-stubs/ads/googleads/v14/enums/types/feed_item_quality_approval_status.pyi index 96f027f04..f52a36e88 100644 --- a/google-stubs/ads/googleads/v14/enums/types/feed_item_quality_approval_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/feed_item_quality_approval_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedItemQualityApprovalStatusEnum(proto.Message): class FeedItemQualityApprovalStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class FeedItemQualityApprovalStatusEnum(proto.Message): APPROVED = 2 DISAPPROVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/feed_item_quality_disapproval_reason.pyi b/google-stubs/ads/googleads/v14/enums/types/feed_item_quality_disapproval_reason.pyi index 328b39057..573200fa0 100644 --- a/google-stubs/ads/googleads/v14/enums/types/feed_item_quality_disapproval_reason.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/feed_item_quality_disapproval_reason.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedItemQualityDisapprovalReasonEnum(proto.Message): class FeedItemQualityDisapprovalReason(proto.Enum): UNSPECIFIED = 0 @@ -25,8 +29,8 @@ class FeedItemQualityDisapprovalReasonEnum(proto.Message): STRUCTURED_SNIPPETS_EDITORIAL_GUIDELINES = 18 STRUCTURED_SNIPPETS_HAS_PROMOTIONAL_TEXT = 19 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/feed_item_set_status.pyi b/google-stubs/ads/googleads/v14/enums/types/feed_item_set_status.pyi index 6da0bae0b..b4f7afd21 100644 --- a/google-stubs/ads/googleads/v14/enums/types/feed_item_set_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/feed_item_set_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedItemSetStatusEnum(proto.Message): class FeedItemSetStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class FeedItemSetStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/feed_item_set_string_filter_type.pyi b/google-stubs/ads/googleads/v14/enums/types/feed_item_set_string_filter_type.pyi index 2165733f9..a1f715f65 100644 --- a/google-stubs/ads/googleads/v14/enums/types/feed_item_set_string_filter_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/feed_item_set_string_filter_type.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedItemSetStringFilterTypeEnum(proto.Message): class FeedItemSetStringFilterType(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 EXACT = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/feed_item_status.pyi b/google-stubs/ads/googleads/v14/enums/types/feed_item_status.pyi index c0ba7cfc1..357b5a8b0 100644 --- a/google-stubs/ads/googleads/v14/enums/types/feed_item_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/feed_item_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedItemStatusEnum(proto.Message): class FeedItemStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class FeedItemStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/feed_item_target_device.pyi b/google-stubs/ads/googleads/v14/enums/types/feed_item_target_device.pyi index f6af739ca..f4331aa9f 100644 --- a/google-stubs/ads/googleads/v14/enums/types/feed_item_target_device.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/feed_item_target_device.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedItemTargetDeviceEnum(proto.Message): class FeedItemTargetDevice(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 MOBILE = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/feed_item_target_status.pyi b/google-stubs/ads/googleads/v14/enums/types/feed_item_target_status.pyi index f277df47b..0a716c26e 100644 --- a/google-stubs/ads/googleads/v14/enums/types/feed_item_target_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/feed_item_target_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedItemTargetStatusEnum(proto.Message): class FeedItemTargetStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class FeedItemTargetStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/feed_item_target_type.pyi b/google-stubs/ads/googleads/v14/enums/types/feed_item_target_type.pyi index bf4d3d898..44a9de572 100644 --- a/google-stubs/ads/googleads/v14/enums/types/feed_item_target_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/feed_item_target_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedItemTargetTypeEnum(proto.Message): class FeedItemTargetType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class FeedItemTargetTypeEnum(proto.Message): AD_GROUP = 3 CRITERION = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/feed_item_validation_status.pyi b/google-stubs/ads/googleads/v14/enums/types/feed_item_validation_status.pyi index 2d9fdf3f5..59821405a 100644 --- a/google-stubs/ads/googleads/v14/enums/types/feed_item_validation_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/feed_item_validation_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedItemValidationStatusEnum(proto.Message): class FeedItemValidationStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class FeedItemValidationStatusEnum(proto.Message): INVALID = 3 VALID = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/feed_link_status.pyi b/google-stubs/ads/googleads/v14/enums/types/feed_link_status.pyi index 732887804..84ffd0d40 100644 --- a/google-stubs/ads/googleads/v14/enums/types/feed_link_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/feed_link_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedLinkStatusEnum(proto.Message): class FeedLinkStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class FeedLinkStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/feed_mapping_criterion_type.pyi b/google-stubs/ads/googleads/v14/enums/types/feed_mapping_criterion_type.pyi index 7f274de76..257924db8 100644 --- a/google-stubs/ads/googleads/v14/enums/types/feed_mapping_criterion_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/feed_mapping_criterion_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedMappingCriterionTypeEnum(proto.Message): class FeedMappingCriterionType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class FeedMappingCriterionTypeEnum(proto.Message): LOCATION_EXTENSION_TARGETING = 4 DSA_PAGE_FEED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/feed_mapping_status.pyi b/google-stubs/ads/googleads/v14/enums/types/feed_mapping_status.pyi index 2d07ff3bf..0791c0564 100644 --- a/google-stubs/ads/googleads/v14/enums/types/feed_mapping_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/feed_mapping_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedMappingStatusEnum(proto.Message): class FeedMappingStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class FeedMappingStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/feed_origin.pyi b/google-stubs/ads/googleads/v14/enums/types/feed_origin.pyi index 9e8c6fc5d..99ac40fd1 100644 --- a/google-stubs/ads/googleads/v14/enums/types/feed_origin.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/feed_origin.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedOriginEnum(proto.Message): class FeedOrigin(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class FeedOriginEnum(proto.Message): USER = 2 GOOGLE = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/feed_status.pyi b/google-stubs/ads/googleads/v14/enums/types/feed_status.pyi index 303d4a0a0..faacfd05b 100644 --- a/google-stubs/ads/googleads/v14/enums/types/feed_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/feed_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedStatusEnum(proto.Message): class FeedStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class FeedStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/flight_placeholder_field.pyi b/google-stubs/ads/googleads/v14/enums/types/flight_placeholder_field.pyi index 67aac5c1a..0e6f5430c 100644 --- a/google-stubs/ads/googleads/v14/enums/types/flight_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/flight_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FlightPlaceholderFieldEnum(proto.Message): class FlightPlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -24,8 +28,8 @@ class FlightPlaceholderFieldEnum(proto.Message): IOS_APP_LINK = 17 IOS_APP_STORE_ID = 18 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/frequency_cap_event_type.pyi b/google-stubs/ads/googleads/v14/enums/types/frequency_cap_event_type.pyi index 38bfcea18..a74f7b450 100644 --- a/google-stubs/ads/googleads/v14/enums/types/frequency_cap_event_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/frequency_cap_event_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FrequencyCapEventTypeEnum(proto.Message): class FrequencyCapEventType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class FrequencyCapEventTypeEnum(proto.Message): IMPRESSION = 2 VIDEO_VIEW = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/frequency_cap_level.pyi b/google-stubs/ads/googleads/v14/enums/types/frequency_cap_level.pyi index b5baa1243..51635bbb0 100644 --- a/google-stubs/ads/googleads/v14/enums/types/frequency_cap_level.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/frequency_cap_level.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FrequencyCapLevelEnum(proto.Message): class FrequencyCapLevel(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class FrequencyCapLevelEnum(proto.Message): AD_GROUP = 3 CAMPAIGN = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/frequency_cap_time_unit.pyi b/google-stubs/ads/googleads/v14/enums/types/frequency_cap_time_unit.pyi index b69c09e28..7dbc3bdf9 100644 --- a/google-stubs/ads/googleads/v14/enums/types/frequency_cap_time_unit.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/frequency_cap_time_unit.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FrequencyCapTimeUnitEnum(proto.Message): class FrequencyCapTimeUnit(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class FrequencyCapTimeUnitEnum(proto.Message): WEEK = 3 MONTH = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/gender_type.pyi b/google-stubs/ads/googleads/v14/enums/types/gender_type.pyi index e8f001217..50c5e5775 100644 --- a/google-stubs/ads/googleads/v14/enums/types/gender_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/gender_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class GenderTypeEnum(proto.Message): class GenderType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class GenderTypeEnum(proto.Message): FEMALE = 11 UNDETERMINED = 20 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/geo_target_constant_status.pyi b/google-stubs/ads/googleads/v14/enums/types/geo_target_constant_status.pyi index 4a1a57deb..f35bce078 100644 --- a/google-stubs/ads/googleads/v14/enums/types/geo_target_constant_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/geo_target_constant_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class GeoTargetConstantStatusEnum(proto.Message): class GeoTargetConstantStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class GeoTargetConstantStatusEnum(proto.Message): ENABLED = 2 REMOVAL_PLANNED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/geo_targeting_restriction.pyi b/google-stubs/ads/googleads/v14/enums/types/geo_targeting_restriction.pyi index 63267842f..d6b839e54 100644 --- a/google-stubs/ads/googleads/v14/enums/types/geo_targeting_restriction.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/geo_targeting_restriction.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class GeoTargetingRestrictionEnum(proto.Message): class GeoTargetingRestriction(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 LOCATION_OF_PRESENCE = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/geo_targeting_type.pyi b/google-stubs/ads/googleads/v14/enums/types/geo_targeting_type.pyi index 062679e5e..ed6018515 100644 --- a/google-stubs/ads/googleads/v14/enums/types/geo_targeting_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/geo_targeting_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class GeoTargetingTypeEnum(proto.Message): class GeoTargetingType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class GeoTargetingTypeEnum(proto.Message): AREA_OF_INTEREST = 2 LOCATION_OF_PRESENCE = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/goal_config_level.pyi b/google-stubs/ads/googleads/v14/enums/types/goal_config_level.pyi index dca97e242..8ec50898c 100644 --- a/google-stubs/ads/googleads/v14/enums/types/goal_config_level.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/goal_config_level.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class GoalConfigLevelEnum(proto.Message): class GoalConfigLevel(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class GoalConfigLevelEnum(proto.Message): CUSTOMER = 2 CAMPAIGN = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/google_ads_field_category.pyi b/google-stubs/ads/googleads/v14/enums/types/google_ads_field_category.pyi index f4b43e060..710d6ea9b 100644 --- a/google-stubs/ads/googleads/v14/enums/types/google_ads_field_category.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/google_ads_field_category.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class GoogleAdsFieldCategoryEnum(proto.Message): class GoogleAdsFieldCategory(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class GoogleAdsFieldCategoryEnum(proto.Message): SEGMENT = 5 METRIC = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/google_ads_field_data_type.pyi b/google-stubs/ads/googleads/v14/enums/types/google_ads_field_data_type.pyi index 0cea2e86b..970d885bd 100644 --- a/google-stubs/ads/googleads/v14/enums/types/google_ads_field_data_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/google_ads_field_data_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class GoogleAdsFieldDataTypeEnum(proto.Message): class GoogleAdsFieldDataType(proto.Enum): UNSPECIFIED = 0 @@ -18,8 +22,8 @@ class GoogleAdsFieldDataTypeEnum(proto.Message): STRING = 11 UINT64 = 12 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/google_voice_call_status.pyi b/google-stubs/ads/googleads/v14/enums/types/google_voice_call_status.pyi index 80afba629..01eaf7900 100644 --- a/google-stubs/ads/googleads/v14/enums/types/google_voice_call_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/google_voice_call_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class GoogleVoiceCallStatusEnum(proto.Message): class GoogleVoiceCallStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class GoogleVoiceCallStatusEnum(proto.Message): MISSED = 2 RECEIVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/hotel_asset_suggestion_status.pyi b/google-stubs/ads/googleads/v14/enums/types/hotel_asset_suggestion_status.pyi index 60409fa55..899ea62a3 100644 --- a/google-stubs/ads/googleads/v14/enums/types/hotel_asset_suggestion_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/hotel_asset_suggestion_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class HotelAssetSuggestionStatusEnum(proto.Message): class HotelAssetSuggestionStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class HotelAssetSuggestionStatusEnum(proto.Message): HOTEL_NOT_FOUND = 3 INVALID_PLACE_ID = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/hotel_date_selection_type.pyi b/google-stubs/ads/googleads/v14/enums/types/hotel_date_selection_type.pyi index b869169bd..6b486407a 100644 --- a/google-stubs/ads/googleads/v14/enums/types/hotel_date_selection_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/hotel_date_selection_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class HotelDateSelectionTypeEnum(proto.Message): class HotelDateSelectionType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class HotelDateSelectionTypeEnum(proto.Message): DEFAULT_SELECTION = 50 USER_SELECTED = 51 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/hotel_placeholder_field.pyi b/google-stubs/ads/googleads/v14/enums/types/hotel_placeholder_field.pyi index dc7d1ddd9..e6c85ff22 100644 --- a/google-stubs/ads/googleads/v14/enums/types/hotel_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/hotel_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class HotelPlaceholderFieldEnum(proto.Message): class HotelPlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -27,8 +31,8 @@ class HotelPlaceholderFieldEnum(proto.Message): IOS_APP_LINK = 20 IOS_APP_STORE_ID = 21 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/hotel_price_bucket.pyi b/google-stubs/ads/googleads/v14/enums/types/hotel_price_bucket.pyi index 110e6b481..1c50f55bc 100644 --- a/google-stubs/ads/googleads/v14/enums/types/hotel_price_bucket.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/hotel_price_bucket.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class HotelPriceBucketEnum(proto.Message): class HotelPriceBucket(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class HotelPriceBucketEnum(proto.Message): NOT_LOWEST = 4 ONLY_PARTNER_SHOWN = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/hotel_rate_type.pyi b/google-stubs/ads/googleads/v14/enums/types/hotel_rate_type.pyi index b82f5e0fb..7a7e9de26 100644 --- a/google-stubs/ads/googleads/v14/enums/types/hotel_rate_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/hotel_rate_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class HotelRateTypeEnum(proto.Message): class HotelRateType(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class HotelRateTypeEnum(proto.Message): QUALIFIED_RATE = 4 PRIVATE_RATE = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/hotel_reconciliation_status.pyi b/google-stubs/ads/googleads/v14/enums/types/hotel_reconciliation_status.pyi index fed37ddcd..aa6081c7c 100644 --- a/google-stubs/ads/googleads/v14/enums/types/hotel_reconciliation_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/hotel_reconciliation_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class HotelReconciliationStatusEnum(proto.Message): class HotelReconciliationStatus(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class HotelReconciliationStatusEnum(proto.Message): RECONCILED = 4 CANCELED = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/image_placeholder_field.pyi b/google-stubs/ads/googleads/v14/enums/types/image_placeholder_field.pyi index 69df0b39c..f53a1dada 100644 --- a/google-stubs/ads/googleads/v14/enums/types/image_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/image_placeholder_field.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ImagePlaceholderFieldEnum(proto.Message): class ImagePlaceholderField(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 ASSET_ID = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/income_range_type.pyi b/google-stubs/ads/googleads/v14/enums/types/income_range_type.pyi index b3dbcb71e..1ef0814b5 100644 --- a/google-stubs/ads/googleads/v14/enums/types/income_range_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/income_range_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class IncomeRangeTypeEnum(proto.Message): class IncomeRangeType(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class IncomeRangeTypeEnum(proto.Message): INCOME_RANGE_90_UP = 510006 INCOME_RANGE_UNDETERMINED = 510000 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/interaction_event_type.pyi b/google-stubs/ads/googleads/v14/enums/types/interaction_event_type.pyi index b3de7ebdf..3560d05b3 100644 --- a/google-stubs/ads/googleads/v14/enums/types/interaction_event_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/interaction_event_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class InteractionEventTypeEnum(proto.Message): class InteractionEventType(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class InteractionEventTypeEnum(proto.Message): VIDEO_VIEW = 4 NONE = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/interaction_type.pyi b/google-stubs/ads/googleads/v14/enums/types/interaction_type.pyi index 29e08b2f7..8f614418d 100644 --- a/google-stubs/ads/googleads/v14/enums/types/interaction_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/interaction_type.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class InteractionTypeEnum(proto.Message): class InteractionType(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 CALLS = 8000 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/invoice_type.pyi b/google-stubs/ads/googleads/v14/enums/types/invoice_type.pyi index 2720d54de..a95af83f8 100644 --- a/google-stubs/ads/googleads/v14/enums/types/invoice_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/invoice_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class InvoiceTypeEnum(proto.Message): class InvoiceType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class InvoiceTypeEnum(proto.Message): CREDIT_MEMO = 2 INVOICE = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/job_placeholder_field.pyi b/google-stubs/ads/googleads/v14/enums/types/job_placeholder_field.pyi index 2e470be17..dc24e2964 100644 --- a/google-stubs/ads/googleads/v14/enums/types/job_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/job_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class JobPlaceholderFieldEnum(proto.Message): class JobPlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -24,8 +28,8 @@ class JobPlaceholderFieldEnum(proto.Message): IOS_APP_LINK = 18 IOS_APP_STORE_ID = 19 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/keyword_match_type.pyi b/google-stubs/ads/googleads/v14/enums/types/keyword_match_type.pyi index d0a602236..4d6e39c19 100644 --- a/google-stubs/ads/googleads/v14/enums/types/keyword_match_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/keyword_match_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class KeywordMatchTypeEnum(proto.Message): class KeywordMatchType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class KeywordMatchTypeEnum(proto.Message): PHRASE = 3 BROAD = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/keyword_plan_aggregate_metric_type.pyi b/google-stubs/ads/googleads/v14/enums/types/keyword_plan_aggregate_metric_type.pyi index 6a5e2b87b..d80b099ce 100644 --- a/google-stubs/ads/googleads/v14/enums/types/keyword_plan_aggregate_metric_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/keyword_plan_aggregate_metric_type.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class KeywordPlanAggregateMetricTypeEnum(proto.Message): class KeywordPlanAggregateMetricType(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 DEVICE = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/keyword_plan_competition_level.pyi b/google-stubs/ads/googleads/v14/enums/types/keyword_plan_competition_level.pyi index 0c9ca77ce..bd9e05b13 100644 --- a/google-stubs/ads/googleads/v14/enums/types/keyword_plan_competition_level.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/keyword_plan_competition_level.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class KeywordPlanCompetitionLevelEnum(proto.Message): class KeywordPlanCompetitionLevel(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class KeywordPlanCompetitionLevelEnum(proto.Message): MEDIUM = 3 HIGH = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/keyword_plan_concept_group_type.pyi b/google-stubs/ads/googleads/v14/enums/types/keyword_plan_concept_group_type.pyi index 66b65ec88..f3fd64b7d 100644 --- a/google-stubs/ads/googleads/v14/enums/types/keyword_plan_concept_group_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/keyword_plan_concept_group_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class KeywordPlanConceptGroupTypeEnum(proto.Message): class KeywordPlanConceptGroupType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class KeywordPlanConceptGroupTypeEnum(proto.Message): OTHER_BRANDS = 3 NON_BRAND = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/keyword_plan_forecast_interval.pyi b/google-stubs/ads/googleads/v14/enums/types/keyword_plan_forecast_interval.pyi index e7a140a55..0605d21aa 100644 --- a/google-stubs/ads/googleads/v14/enums/types/keyword_plan_forecast_interval.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/keyword_plan_forecast_interval.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class KeywordPlanForecastIntervalEnum(proto.Message): class KeywordPlanForecastInterval(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class KeywordPlanForecastIntervalEnum(proto.Message): NEXT_MONTH = 4 NEXT_QUARTER = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/keyword_plan_keyword_annotation.pyi b/google-stubs/ads/googleads/v14/enums/types/keyword_plan_keyword_annotation.pyi index 459c4c4df..e3a9d9923 100644 --- a/google-stubs/ads/googleads/v14/enums/types/keyword_plan_keyword_annotation.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/keyword_plan_keyword_annotation.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class KeywordPlanKeywordAnnotationEnum(proto.Message): class KeywordPlanKeywordAnnotation(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 KEYWORD_CONCEPT = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/keyword_plan_network.pyi b/google-stubs/ads/googleads/v14/enums/types/keyword_plan_network.pyi index 7e992b2a4..eeb819087 100644 --- a/google-stubs/ads/googleads/v14/enums/types/keyword_plan_network.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/keyword_plan_network.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class KeywordPlanNetworkEnum(proto.Message): class KeywordPlanNetwork(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class KeywordPlanNetworkEnum(proto.Message): GOOGLE_SEARCH = 2 GOOGLE_SEARCH_AND_PARTNERS = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/label_status.pyi b/google-stubs/ads/googleads/v14/enums/types/label_status.pyi index 37b3c59e2..3502de1ea 100644 --- a/google-stubs/ads/googleads/v14/enums/types/label_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/label_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LabelStatusEnum(proto.Message): class LabelStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class LabelStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/lead_form_call_to_action_type.pyi b/google-stubs/ads/googleads/v14/enums/types/lead_form_call_to_action_type.pyi index 4451a48b5..c0b7d8aad 100644 --- a/google-stubs/ads/googleads/v14/enums/types/lead_form_call_to_action_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/lead_form_call_to_action_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LeadFormCallToActionTypeEnum(proto.Message): class LeadFormCallToActionType(proto.Enum): UNSPECIFIED = 0 @@ -21,8 +25,8 @@ class LeadFormCallToActionTypeEnum(proto.Message): JOIN_NOW = 14 GET_STARTED = 15 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/lead_form_desired_intent.pyi b/google-stubs/ads/googleads/v14/enums/types/lead_form_desired_intent.pyi index d2d2c429e..6f81aacc5 100644 --- a/google-stubs/ads/googleads/v14/enums/types/lead_form_desired_intent.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/lead_form_desired_intent.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LeadFormDesiredIntentEnum(proto.Message): class LeadFormDesiredIntent(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class LeadFormDesiredIntentEnum(proto.Message): LOW_INTENT = 2 HIGH_INTENT = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/lead_form_field_user_input_type.pyi b/google-stubs/ads/googleads/v14/enums/types/lead_form_field_user_input_type.pyi index 2bec929db..b13672a10 100644 --- a/google-stubs/ads/googleads/v14/enums/types/lead_form_field_user_input_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/lead_form_field_user_input_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LeadFormFieldUserInputTypeEnum(proto.Message): class LeadFormFieldUserInputType(proto.Enum): UNSPECIFIED = 0 @@ -123,8 +127,8 @@ class LeadFormFieldUserInputTypeEnum(proto.Message): TRAVEL_BUDGET = 1046 TRAVEL_ACCOMMODATION = 1047 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/lead_form_post_submit_call_to_action_type.pyi b/google-stubs/ads/googleads/v14/enums/types/lead_form_post_submit_call_to_action_type.pyi index be0af8fc2..b5316784b 100644 --- a/google-stubs/ads/googleads/v14/enums/types/lead_form_post_submit_call_to_action_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/lead_form_post_submit_call_to_action_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LeadFormPostSubmitCallToActionTypeEnum(proto.Message): class LeadFormPostSubmitCallToActionType(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class LeadFormPostSubmitCallToActionTypeEnum(proto.Message): LEARN_MORE = 4 SHOP_NOW = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/legacy_app_install_ad_app_store.pyi b/google-stubs/ads/googleads/v14/enums/types/legacy_app_install_ad_app_store.pyi index 43fd41d2d..53c10ec0e 100644 --- a/google-stubs/ads/googleads/v14/enums/types/legacy_app_install_ad_app_store.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/legacy_app_install_ad_app_store.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LegacyAppInstallAdAppStoreEnum(proto.Message): class LegacyAppInstallAdAppStore(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class LegacyAppInstallAdAppStoreEnum(proto.Message): WINDOWS_PHONE_STORE = 5 CN_APP_STORE = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/linked_account_type.pyi b/google-stubs/ads/googleads/v14/enums/types/linked_account_type.pyi index 1f1de7fd1..8dbf8c583 100644 --- a/google-stubs/ads/googleads/v14/enums/types/linked_account_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/linked_account_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LinkedAccountTypeEnum(proto.Message): class LinkedAccountType(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class LinkedAccountTypeEnum(proto.Message): HOTEL_CENTER = 5 ADVERTISING_PARTNER = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/linked_product_type.pyi b/google-stubs/ads/googleads/v14/enums/types/linked_product_type.pyi index 0617a3fd8..b590bc4ac 100644 --- a/google-stubs/ads/googleads/v14/enums/types/linked_product_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/linked_product_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LinkedProductTypeEnum(proto.Message): class LinkedProductType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class LinkedProductTypeEnum(proto.Message): DATA_PARTNER = 2 GOOGLE_ADS = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/listing_group_filter_bidding_category_level.pyi b/google-stubs/ads/googleads/v14/enums/types/listing_group_filter_bidding_category_level.pyi index bdfeff090..2bd0c9679 100644 --- a/google-stubs/ads/googleads/v14/enums/types/listing_group_filter_bidding_category_level.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/listing_group_filter_bidding_category_level.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ListingGroupFilterBiddingCategoryLevelEnum(proto.Message): class ListingGroupFilterBiddingCategoryLevel(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class ListingGroupFilterBiddingCategoryLevelEnum(proto.Message): LEVEL4 = 5 LEVEL5 = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/listing_group_filter_custom_attribute_index.pyi b/google-stubs/ads/googleads/v14/enums/types/listing_group_filter_custom_attribute_index.pyi index 7bc7cc683..722028ce5 100644 --- a/google-stubs/ads/googleads/v14/enums/types/listing_group_filter_custom_attribute_index.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/listing_group_filter_custom_attribute_index.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ListingGroupFilterCustomAttributeIndexEnum(proto.Message): class ListingGroupFilterCustomAttributeIndex(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class ListingGroupFilterCustomAttributeIndexEnum(proto.Message): INDEX3 = 5 INDEX4 = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/listing_group_filter_product_channel.pyi b/google-stubs/ads/googleads/v14/enums/types/listing_group_filter_product_channel.pyi index fb4aa5a59..5b60633f7 100644 --- a/google-stubs/ads/googleads/v14/enums/types/listing_group_filter_product_channel.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/listing_group_filter_product_channel.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ListingGroupFilterProductChannelEnum(proto.Message): class ListingGroupFilterProductChannel(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class ListingGroupFilterProductChannelEnum(proto.Message): ONLINE = 2 LOCAL = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/listing_group_filter_product_condition.pyi b/google-stubs/ads/googleads/v14/enums/types/listing_group_filter_product_condition.pyi index fe1abe2bf..f810a37ab 100644 --- a/google-stubs/ads/googleads/v14/enums/types/listing_group_filter_product_condition.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/listing_group_filter_product_condition.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ListingGroupFilterProductConditionEnum(proto.Message): class ListingGroupFilterProductCondition(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ListingGroupFilterProductConditionEnum(proto.Message): REFURBISHED = 3 USED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/listing_group_filter_product_type_level.pyi b/google-stubs/ads/googleads/v14/enums/types/listing_group_filter_product_type_level.pyi index 10d7af085..93a41c12b 100644 --- a/google-stubs/ads/googleads/v14/enums/types/listing_group_filter_product_type_level.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/listing_group_filter_product_type_level.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ListingGroupFilterProductTypeLevelEnum(proto.Message): class ListingGroupFilterProductTypeLevel(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class ListingGroupFilterProductTypeLevelEnum(proto.Message): LEVEL4 = 5 LEVEL5 = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/listing_group_filter_type_enum.pyi b/google-stubs/ads/googleads/v14/enums/types/listing_group_filter_type_enum.pyi index 495fb901f..9ffedcdcf 100644 --- a/google-stubs/ads/googleads/v14/enums/types/listing_group_filter_type_enum.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/listing_group_filter_type_enum.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ListingGroupFilterTypeEnum(proto.Message): class ListingGroupFilterType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ListingGroupFilterTypeEnum(proto.Message): UNIT_INCLUDED = 3 UNIT_EXCLUDED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/listing_group_filter_vertical.pyi b/google-stubs/ads/googleads/v14/enums/types/listing_group_filter_vertical.pyi index a07bbda5a..8c172c003 100644 --- a/google-stubs/ads/googleads/v14/enums/types/listing_group_filter_vertical.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/listing_group_filter_vertical.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ListingGroupFilterVerticalEnum(proto.Message): class ListingGroupFilterVertical(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 SHOPPING = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/listing_group_type.pyi b/google-stubs/ads/googleads/v14/enums/types/listing_group_type.pyi index 8a98fe529..d6430741e 100644 --- a/google-stubs/ads/googleads/v14/enums/types/listing_group_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/listing_group_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ListingGroupTypeEnum(proto.Message): class ListingGroupType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class ListingGroupTypeEnum(proto.Message): SUBDIVISION = 2 UNIT = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/listing_type.pyi b/google-stubs/ads/googleads/v14/enums/types/listing_type.pyi index 24ebffdec..86446b776 100644 --- a/google-stubs/ads/googleads/v14/enums/types/listing_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/listing_type.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ListingTypeEnum(proto.Message): class ListingType(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 VEHICLES = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/local_placeholder_field.pyi b/google-stubs/ads/googleads/v14/enums/types/local_placeholder_field.pyi index 7979139b2..469a6f042 100644 --- a/google-stubs/ads/googleads/v14/enums/types/local_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/local_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LocalPlaceholderFieldEnum(proto.Message): class LocalPlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -26,8 +30,8 @@ class LocalPlaceholderFieldEnum(proto.Message): IOS_APP_LINK = 19 IOS_APP_STORE_ID = 20 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/location_extension_targeting_criterion_field.pyi b/google-stubs/ads/googleads/v14/enums/types/location_extension_targeting_criterion_field.pyi index 2f3ef814c..9a2881491 100644 --- a/google-stubs/ads/googleads/v14/enums/types/location_extension_targeting_criterion_field.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/location_extension_targeting_criterion_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LocationExtensionTargetingCriterionFieldEnum(proto.Message): class LocationExtensionTargetingCriterionField(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class LocationExtensionTargetingCriterionFieldEnum(proto.Message): POSTAL_CODE = 6 COUNTRY_CODE = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/location_group_radius_units.pyi b/google-stubs/ads/googleads/v14/enums/types/location_group_radius_units.pyi index bd921c7c3..5ac186010 100644 --- a/google-stubs/ads/googleads/v14/enums/types/location_group_radius_units.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/location_group_radius_units.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LocationGroupRadiusUnitsEnum(proto.Message): class LocationGroupRadiusUnits(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class LocationGroupRadiusUnitsEnum(proto.Message): MILES = 3 MILLI_MILES = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/location_ownership_type.pyi b/google-stubs/ads/googleads/v14/enums/types/location_ownership_type.pyi index 0a3348e10..cf72bba91 100644 --- a/google-stubs/ads/googleads/v14/enums/types/location_ownership_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/location_ownership_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LocationOwnershipTypeEnum(proto.Message): class LocationOwnershipType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class LocationOwnershipTypeEnum(proto.Message): BUSINESS_OWNER = 2 AFFILIATE = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/location_placeholder_field.pyi b/google-stubs/ads/googleads/v14/enums/types/location_placeholder_field.pyi index 7eb7285ec..029fb0937 100644 --- a/google-stubs/ads/googleads/v14/enums/types/location_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/location_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LocationPlaceholderFieldEnum(proto.Message): class LocationPlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -15,8 +19,8 @@ class LocationPlaceholderFieldEnum(proto.Message): COUNTRY_CODE = 8 PHONE_NUMBER = 9 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/location_source_type.pyi b/google-stubs/ads/googleads/v14/enums/types/location_source_type.pyi index 0f98220f2..7f1b2ca20 100644 --- a/google-stubs/ads/googleads/v14/enums/types/location_source_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/location_source_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LocationSourceTypeEnum(proto.Message): class LocationSourceType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class LocationSourceTypeEnum(proto.Message): GOOGLE_MY_BUSINESS = 2 AFFILIATE = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/location_string_filter_type.pyi b/google-stubs/ads/googleads/v14/enums/types/location_string_filter_type.pyi index 9ba7329ab..7535e42f7 100644 --- a/google-stubs/ads/googleads/v14/enums/types/location_string_filter_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/location_string_filter_type.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LocationStringFilterTypeEnum(proto.Message): class LocationStringFilterType(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 EXACT = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/manager_link_status.pyi b/google-stubs/ads/googleads/v14/enums/types/manager_link_status.pyi index aac6dffa4..03fbf1d25 100644 --- a/google-stubs/ads/googleads/v14/enums/types/manager_link_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/manager_link_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ManagerLinkStatusEnum(proto.Message): class ManagerLinkStatus(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class ManagerLinkStatusEnum(proto.Message): REFUSED = 5 CANCELED = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/matching_function_context_type.pyi b/google-stubs/ads/googleads/v14/enums/types/matching_function_context_type.pyi index c6edebf08..6b75917b7 100644 --- a/google-stubs/ads/googleads/v14/enums/types/matching_function_context_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/matching_function_context_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MatchingFunctionContextTypeEnum(proto.Message): class MatchingFunctionContextType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class MatchingFunctionContextTypeEnum(proto.Message): DEVICE_NAME = 3 FEED_ITEM_SET_ID = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/matching_function_operator.pyi b/google-stubs/ads/googleads/v14/enums/types/matching_function_operator.pyi index b0a8045b1..d617d77ee 100644 --- a/google-stubs/ads/googleads/v14/enums/types/matching_function_operator.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/matching_function_operator.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MatchingFunctionOperatorEnum(proto.Message): class MatchingFunctionOperator(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class MatchingFunctionOperatorEnum(proto.Message): AND = 5 CONTAINS_ANY = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/media_type.pyi b/google-stubs/ads/googleads/v14/enums/types/media_type.pyi index a2dad9a19..174c372a7 100644 --- a/google-stubs/ads/googleads/v14/enums/types/media_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/media_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MediaTypeEnum(proto.Message): class MediaType(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class MediaTypeEnum(proto.Message): VIDEO = 6 DYNAMIC_IMAGE = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/merchant_center_link_status.pyi b/google-stubs/ads/googleads/v14/enums/types/merchant_center_link_status.pyi index eafbefc17..6313c8e90 100644 --- a/google-stubs/ads/googleads/v14/enums/types/merchant_center_link_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/merchant_center_link_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MerchantCenterLinkStatusEnum(proto.Message): class MerchantCenterLinkStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class MerchantCenterLinkStatusEnum(proto.Message): ENABLED = 2 PENDING = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/message_placeholder_field.pyi b/google-stubs/ads/googleads/v14/enums/types/message_placeholder_field.pyi index e37429a3e..4efa61100 100644 --- a/google-stubs/ads/googleads/v14/enums/types/message_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/message_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MessagePlaceholderFieldEnum(proto.Message): class MessagePlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class MessagePlaceholderFieldEnum(proto.Message): MESSAGE_EXTENSION_TEXT = 5 MESSAGE_TEXT = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/mime_type.pyi b/google-stubs/ads/googleads/v14/enums/types/mime_type.pyi index ba290806a..a59fd8f9d 100644 --- a/google-stubs/ads/googleads/v14/enums/types/mime_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/mime_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MimeTypeEnum(proto.Message): class MimeType(proto.Enum): UNSPECIFIED = 0 @@ -19,8 +23,8 @@ class MimeTypeEnum(proto.Message): AUDIO_MP3 = 12 HTML5_AD_ZIP = 13 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/minute_of_hour.pyi b/google-stubs/ads/googleads/v14/enums/types/minute_of_hour.pyi index b632119b4..dcbec75ed 100644 --- a/google-stubs/ads/googleads/v14/enums/types/minute_of_hour.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/minute_of_hour.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MinuteOfHourEnum(proto.Message): class MinuteOfHour(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class MinuteOfHourEnum(proto.Message): THIRTY = 4 FORTY_FIVE = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/mobile_app_vendor.pyi b/google-stubs/ads/googleads/v14/enums/types/mobile_app_vendor.pyi index 6d028233e..3eb29d58a 100644 --- a/google-stubs/ads/googleads/v14/enums/types/mobile_app_vendor.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/mobile_app_vendor.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MobileAppVendorEnum(proto.Message): class MobileAppVendor(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class MobileAppVendorEnum(proto.Message): APPLE_APP_STORE = 2 GOOGLE_APP_STORE = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/mobile_device_type.pyi b/google-stubs/ads/googleads/v14/enums/types/mobile_device_type.pyi index 8b8e31766..d05b6c703 100644 --- a/google-stubs/ads/googleads/v14/enums/types/mobile_device_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/mobile_device_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MobileDeviceTypeEnum(proto.Message): class MobileDeviceType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class MobileDeviceTypeEnum(proto.Message): MOBILE = 2 TABLET = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/month_of_year.pyi b/google-stubs/ads/googleads/v14/enums/types/month_of_year.pyi index 58b44faea..345d6c82d 100644 --- a/google-stubs/ads/googleads/v14/enums/types/month_of_year.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/month_of_year.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MonthOfYearEnum(proto.Message): class MonthOfYear(proto.Enum): UNSPECIFIED = 0 @@ -19,8 +23,8 @@ class MonthOfYearEnum(proto.Message): NOVEMBER = 12 DECEMBER = 13 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/negative_geo_target_type.pyi b/google-stubs/ads/googleads/v14/enums/types/negative_geo_target_type.pyi index e7dd157a8..b57bd4333 100644 --- a/google-stubs/ads/googleads/v14/enums/types/negative_geo_target_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/negative_geo_target_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class NegativeGeoTargetTypeEnum(proto.Message): class NegativeGeoTargetType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class NegativeGeoTargetTypeEnum(proto.Message): PRESENCE_OR_INTEREST = 4 PRESENCE = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/offline_conversion_diagnostic_status_enum.pyi b/google-stubs/ads/googleads/v14/enums/types/offline_conversion_diagnostic_status_enum.pyi index 9ee3e16b0..0904a802e 100644 --- a/google-stubs/ads/googleads/v14/enums/types/offline_conversion_diagnostic_status_enum.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/offline_conversion_diagnostic_status_enum.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class OfflineConversionDiagnosticStatusEnum(proto.Message): class OfflineConversionDiagnosticStatus(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class OfflineConversionDiagnosticStatusEnum(proto.Message): NEEDS_ATTENTION = 4 NO_RECENT_UPLOAD = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/offline_event_upload_client_enum.pyi b/google-stubs/ads/googleads/v14/enums/types/offline_event_upload_client_enum.pyi index f087b0648..cfe1faae7 100644 --- a/google-stubs/ads/googleads/v14/enums/types/offline_event_upload_client_enum.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/offline_event_upload_client_enum.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class OfflineEventUploadClientEnum(proto.Message): class OfflineEventUploadClient(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class OfflineEventUploadClientEnum(proto.Message): GOOGLE_ADS_WEB_CLIENT = 3 ADS_DATA_CONNECTOR = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/offline_user_data_job_failure_reason.pyi b/google-stubs/ads/googleads/v14/enums/types/offline_user_data_job_failure_reason.pyi index 696180968..2688ed086 100644 --- a/google-stubs/ads/googleads/v14/enums/types/offline_user_data_job_failure_reason.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/offline_user_data_job_failure_reason.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class OfflineUserDataJobFailureReasonEnum(proto.Message): class OfflineUserDataJobFailureReason(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class OfflineUserDataJobFailureReasonEnum(proto.Message): LOW_AVERAGE_TRANSACTION_VALUE = 5 NEWLY_OBSERVED_CURRENCY_CODE = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/offline_user_data_job_match_rate_range.pyi b/google-stubs/ads/googleads/v14/enums/types/offline_user_data_job_match_rate_range.pyi index 9f736d8e2..7e0f30878 100644 --- a/google-stubs/ads/googleads/v14/enums/types/offline_user_data_job_match_rate_range.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/offline_user_data_job_match_rate_range.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class OfflineUserDataJobMatchRateRangeEnum(proto.Message): class OfflineUserDataJobMatchRateRange(proto.Enum): UNSPECIFIED = 0 @@ -16,8 +20,8 @@ class OfflineUserDataJobMatchRateRangeEnum(proto.Message): MATCH_RANGE_81_TO_90 = 9 MATCH_RANGE_91_TO_100 = 10 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/offline_user_data_job_status.pyi b/google-stubs/ads/googleads/v14/enums/types/offline_user_data_job_status.pyi index 2c577b1d9..aad0bfdf4 100644 --- a/google-stubs/ads/googleads/v14/enums/types/offline_user_data_job_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/offline_user_data_job_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class OfflineUserDataJobStatusEnum(proto.Message): class OfflineUserDataJobStatus(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class OfflineUserDataJobStatusEnum(proto.Message): SUCCESS = 4 FAILED = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/offline_user_data_job_type.pyi b/google-stubs/ads/googleads/v14/enums/types/offline_user_data_job_type.pyi index a6fa2b98d..60ea339c6 100644 --- a/google-stubs/ads/googleads/v14/enums/types/offline_user_data_job_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/offline_user_data_job_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class OfflineUserDataJobTypeEnum(proto.Message): class OfflineUserDataJobType(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class OfflineUserDataJobTypeEnum(proto.Message): CUSTOMER_MATCH_USER_LIST = 4 CUSTOMER_MATCH_WITH_ATTRIBUTES = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/operating_system_version_operator_type.pyi b/google-stubs/ads/googleads/v14/enums/types/operating_system_version_operator_type.pyi index 4810ca55b..000074f0e 100644 --- a/google-stubs/ads/googleads/v14/enums/types/operating_system_version_operator_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/operating_system_version_operator_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class OperatingSystemVersionOperatorTypeEnum(proto.Message): class OperatingSystemVersionOperatorType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class OperatingSystemVersionOperatorTypeEnum(proto.Message): EQUALS_TO = 2 GREATER_THAN_EQUALS_TO = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/optimization_goal_type.pyi b/google-stubs/ads/googleads/v14/enums/types/optimization_goal_type.pyi index d7658fe4d..e3c398c2d 100644 --- a/google-stubs/ads/googleads/v14/enums/types/optimization_goal_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/optimization_goal_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class OptimizationGoalTypeEnum(proto.Message): class OptimizationGoalType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class OptimizationGoalTypeEnum(proto.Message): DRIVING_DIRECTIONS = 3 APP_PRE_REGISTRATION = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/parental_status_type.pyi b/google-stubs/ads/googleads/v14/enums/types/parental_status_type.pyi index a6c025e3d..7f1d956b1 100644 --- a/google-stubs/ads/googleads/v14/enums/types/parental_status_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/parental_status_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ParentalStatusTypeEnum(proto.Message): class ParentalStatusType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ParentalStatusTypeEnum(proto.Message): NOT_A_PARENT = 301 UNDETERMINED = 302 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/payment_mode.pyi b/google-stubs/ads/googleads/v14/enums/types/payment_mode.pyi index 3a3cfcfd0..e5530b2e6 100644 --- a/google-stubs/ads/googleads/v14/enums/types/payment_mode.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/payment_mode.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PaymentModeEnum(proto.Message): class PaymentMode(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class PaymentModeEnum(proto.Message): CONVERSIONS = 6 GUEST_STAY = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/performance_max_upgrade_status.pyi b/google-stubs/ads/googleads/v14/enums/types/performance_max_upgrade_status.pyi index 4003dcef8..04b3d2408 100644 --- a/google-stubs/ads/googleads/v14/enums/types/performance_max_upgrade_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/performance_max_upgrade_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PerformanceMaxUpgradeStatusEnum(proto.Message): class PerformanceMaxUpgradeStatus(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class PerformanceMaxUpgradeStatusEnum(proto.Message): UPGRADE_COMPLETE = 4 UPGRADE_FAILED = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/placeholder_type.pyi b/google-stubs/ads/googleads/v14/enums/types/placeholder_type.pyi index 468c0134a..db8c0502b 100644 --- a/google-stubs/ads/googleads/v14/enums/types/placeholder_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/placeholder_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PlaceholderTypeEnum(proto.Message): class PlaceholderType(proto.Enum): UNSPECIFIED = 0 @@ -27,8 +31,8 @@ class PlaceholderTypeEnum(proto.Message): DYNAMIC_JOB = 20 IMAGE = 21 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/placement_type.pyi b/google-stubs/ads/googleads/v14/enums/types/placement_type.pyi index 488ffcd87..664e74ca0 100644 --- a/google-stubs/ads/googleads/v14/enums/types/placement_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/placement_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PlacementTypeEnum(proto.Message): class PlacementType(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class PlacementTypeEnum(proto.Message): YOUTUBE_CHANNEL = 6 GOOGLE_PRODUCTS = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/policy_approval_status.pyi b/google-stubs/ads/googleads/v14/enums/types/policy_approval_status.pyi index 92df527dc..8e4324dda 100644 --- a/google-stubs/ads/googleads/v14/enums/types/policy_approval_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/policy_approval_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PolicyApprovalStatusEnum(proto.Message): class PolicyApprovalStatus(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class PolicyApprovalStatusEnum(proto.Message): APPROVED = 4 AREA_OF_INTEREST_ONLY = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/policy_review_status.pyi b/google-stubs/ads/googleads/v14/enums/types/policy_review_status.pyi index 4ae953777..6d5763b3f 100644 --- a/google-stubs/ads/googleads/v14/enums/types/policy_review_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/policy_review_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PolicyReviewStatusEnum(proto.Message): class PolicyReviewStatus(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class PolicyReviewStatusEnum(proto.Message): UNDER_APPEAL = 4 ELIGIBLE_MAY_SERVE = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/policy_topic_entry_type.pyi b/google-stubs/ads/googleads/v14/enums/types/policy_topic_entry_type.pyi index 3f1a1343d..fbf72fb43 100644 --- a/google-stubs/ads/googleads/v14/enums/types/policy_topic_entry_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/policy_topic_entry_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PolicyTopicEntryTypeEnum(proto.Message): class PolicyTopicEntryType(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class PolicyTopicEntryTypeEnum(proto.Message): BROADENING = 6 AREA_OF_INTEREST_ONLY = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/policy_topic_evidence_destination_mismatch_url_type.pyi b/google-stubs/ads/googleads/v14/enums/types/policy_topic_evidence_destination_mismatch_url_type.pyi index 469631383..ebc7ccdab 100644 --- a/google-stubs/ads/googleads/v14/enums/types/policy_topic_evidence_destination_mismatch_url_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/policy_topic_evidence_destination_mismatch_url_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PolicyTopicEvidenceDestinationMismatchUrlTypeEnum(proto.Message): class PolicyTopicEvidenceDestinationMismatchUrlType(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class PolicyTopicEvidenceDestinationMismatchUrlTypeEnum(proto.Message): TRACKING_URL = 5 MOBILE_TRACKING_URL = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/policy_topic_evidence_destination_not_working_device.pyi b/google-stubs/ads/googleads/v14/enums/types/policy_topic_evidence_destination_not_working_device.pyi index 0d5c22dbe..cc8fb5a35 100644 --- a/google-stubs/ads/googleads/v14/enums/types/policy_topic_evidence_destination_not_working_device.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/policy_topic_evidence_destination_not_working_device.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PolicyTopicEvidenceDestinationNotWorkingDeviceEnum(proto.Message): class PolicyTopicEvidenceDestinationNotWorkingDevice(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class PolicyTopicEvidenceDestinationNotWorkingDeviceEnum(proto.Message): ANDROID = 3 IOS = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/policy_topic_evidence_destination_not_working_dns_error_type.pyi b/google-stubs/ads/googleads/v14/enums/types/policy_topic_evidence_destination_not_working_dns_error_type.pyi index 0e6b1fa35..01eae9b2a 100644 --- a/google-stubs/ads/googleads/v14/enums/types/policy_topic_evidence_destination_not_working_dns_error_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/policy_topic_evidence_destination_not_working_dns_error_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum(proto.Message): class PolicyTopicEvidenceDestinationNotWorkingDnsErrorType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum(proto.Message): HOSTNAME_NOT_FOUND = 2 GOOGLE_CRAWLER_DNS_ISSUE = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/positive_geo_target_type.pyi b/google-stubs/ads/googleads/v14/enums/types/positive_geo_target_type.pyi index f8106cf4c..e2d454c44 100644 --- a/google-stubs/ads/googleads/v14/enums/types/positive_geo_target_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/positive_geo_target_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PositiveGeoTargetTypeEnum(proto.Message): class PositiveGeoTargetType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class PositiveGeoTargetTypeEnum(proto.Message): SEARCH_INTEREST = 6 PRESENCE = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/price_extension_price_qualifier.pyi b/google-stubs/ads/googleads/v14/enums/types/price_extension_price_qualifier.pyi index 884922570..ba4303389 100644 --- a/google-stubs/ads/googleads/v14/enums/types/price_extension_price_qualifier.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/price_extension_price_qualifier.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PriceExtensionPriceQualifierEnum(proto.Message): class PriceExtensionPriceQualifier(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class PriceExtensionPriceQualifierEnum(proto.Message): UP_TO = 3 AVERAGE = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/price_extension_price_unit.pyi b/google-stubs/ads/googleads/v14/enums/types/price_extension_price_unit.pyi index 127e443bd..b5ca6e0b1 100644 --- a/google-stubs/ads/googleads/v14/enums/types/price_extension_price_unit.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/price_extension_price_unit.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PriceExtensionPriceUnitEnum(proto.Message): class PriceExtensionPriceUnit(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class PriceExtensionPriceUnitEnum(proto.Message): PER_YEAR = 6 PER_NIGHT = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/price_extension_type.pyi b/google-stubs/ads/googleads/v14/enums/types/price_extension_type.pyi index 20e2dcfb4..46b74a61a 100644 --- a/google-stubs/ads/googleads/v14/enums/types/price_extension_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/price_extension_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PriceExtensionTypeEnum(proto.Message): class PriceExtensionType(proto.Enum): UNSPECIFIED = 0 @@ -16,8 +20,8 @@ class PriceExtensionTypeEnum(proto.Message): SERVICE_CATEGORIES = 9 SERVICE_TIERS = 10 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/price_placeholder_field.pyi b/google-stubs/ads/googleads/v14/enums/types/price_placeholder_field.pyi index 6165716f6..d819c2874 100644 --- a/google-stubs/ads/googleads/v14/enums/types/price_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/price_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PricePlaceholderFieldEnum(proto.Message): class PricePlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -60,8 +64,8 @@ class PricePlaceholderFieldEnum(proto.Message): ITEM_8_FINAL_URLS = 804 ITEM_8_FINAL_MOBILE_URLS = 805 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/product_bidding_category_level.pyi b/google-stubs/ads/googleads/v14/enums/types/product_bidding_category_level.pyi index 3b3c0a167..97669225a 100644 --- a/google-stubs/ads/googleads/v14/enums/types/product_bidding_category_level.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/product_bidding_category_level.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ProductBiddingCategoryLevelEnum(proto.Message): class ProductBiddingCategoryLevel(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class ProductBiddingCategoryLevelEnum(proto.Message): LEVEL4 = 5 LEVEL5 = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/product_bidding_category_status.pyi b/google-stubs/ads/googleads/v14/enums/types/product_bidding_category_status.pyi index 1400af6f6..f0da85506 100644 --- a/google-stubs/ads/googleads/v14/enums/types/product_bidding_category_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/product_bidding_category_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ProductBiddingCategoryStatusEnum(proto.Message): class ProductBiddingCategoryStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class ProductBiddingCategoryStatusEnum(proto.Message): ACTIVE = 2 OBSOLETE = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/product_channel.pyi b/google-stubs/ads/googleads/v14/enums/types/product_channel.pyi index 7691b87da..75bfbe001 100644 --- a/google-stubs/ads/googleads/v14/enums/types/product_channel.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/product_channel.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ProductChannelEnum(proto.Message): class ProductChannel(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class ProductChannelEnum(proto.Message): ONLINE = 2 LOCAL = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/product_channel_exclusivity.pyi b/google-stubs/ads/googleads/v14/enums/types/product_channel_exclusivity.pyi index c37808121..aaa3f9028 100644 --- a/google-stubs/ads/googleads/v14/enums/types/product_channel_exclusivity.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/product_channel_exclusivity.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ProductChannelExclusivityEnum(proto.Message): class ProductChannelExclusivity(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class ProductChannelExclusivityEnum(proto.Message): SINGLE_CHANNEL = 2 MULTI_CHANNEL = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/product_condition.pyi b/google-stubs/ads/googleads/v14/enums/types/product_condition.pyi index d2634be84..1106dbb39 100644 --- a/google-stubs/ads/googleads/v14/enums/types/product_condition.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/product_condition.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ProductConditionEnum(proto.Message): class ProductCondition(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ProductConditionEnum(proto.Message): REFURBISHED = 4 USED = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/product_custom_attribute_index.pyi b/google-stubs/ads/googleads/v14/enums/types/product_custom_attribute_index.pyi index 053fb583b..9382d0ad7 100644 --- a/google-stubs/ads/googleads/v14/enums/types/product_custom_attribute_index.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/product_custom_attribute_index.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ProductCustomAttributeIndexEnum(proto.Message): class ProductCustomAttributeIndex(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class ProductCustomAttributeIndexEnum(proto.Message): INDEX3 = 10 INDEX4 = 11 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/product_type_level.pyi b/google-stubs/ads/googleads/v14/enums/types/product_type_level.pyi index 1077c7930..45b6b42c1 100644 --- a/google-stubs/ads/googleads/v14/enums/types/product_type_level.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/product_type_level.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ProductTypeLevelEnum(proto.Message): class ProductTypeLevel(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class ProductTypeLevelEnum(proto.Message): LEVEL4 = 10 LEVEL5 = 11 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/promotion_extension_discount_modifier.pyi b/google-stubs/ads/googleads/v14/enums/types/promotion_extension_discount_modifier.pyi index a40f2d2e3..ee8aef5a3 100644 --- a/google-stubs/ads/googleads/v14/enums/types/promotion_extension_discount_modifier.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/promotion_extension_discount_modifier.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PromotionExtensionDiscountModifierEnum(proto.Message): class PromotionExtensionDiscountModifier(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 UP_TO = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/promotion_extension_occasion.pyi b/google-stubs/ads/googleads/v14/enums/types/promotion_extension_occasion.pyi index 9c7071a25..2dd102f62 100644 --- a/google-stubs/ads/googleads/v14/enums/types/promotion_extension_occasion.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/promotion_extension_occasion.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PromotionExtensionOccasionEnum(proto.Message): class PromotionExtensionOccasion(proto.Enum): UNSPECIFIED = 0 @@ -44,8 +48,8 @@ class PromotionExtensionOccasionEnum(proto.Message): SONGKRAN = 37 YEAR_END_GIFT = 38 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/promotion_placeholder_field.pyi b/google-stubs/ads/googleads/v14/enums/types/promotion_placeholder_field.pyi index d062b6474..84d3e72d6 100644 --- a/google-stubs/ads/googleads/v14/enums/types/promotion_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/promotion_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PromotionPlaceholderFieldEnum(proto.Message): class PromotionPlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -21,8 +25,8 @@ class PromotionPlaceholderFieldEnum(proto.Message): LANGUAGE = 14 FINAL_URL_SUFFIX = 15 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/proximity_radius_units.pyi b/google-stubs/ads/googleads/v14/enums/types/proximity_radius_units.pyi index 0719757e0..0bdd69d55 100644 --- a/google-stubs/ads/googleads/v14/enums/types/proximity_radius_units.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/proximity_radius_units.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ProximityRadiusUnitsEnum(proto.Message): class ProximityRadiusUnits(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class ProximityRadiusUnitsEnum(proto.Message): MILES = 2 KILOMETERS = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/quality_score_bucket.pyi b/google-stubs/ads/googleads/v14/enums/types/quality_score_bucket.pyi index 70602e523..348604c17 100644 --- a/google-stubs/ads/googleads/v14/enums/types/quality_score_bucket.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/quality_score_bucket.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class QualityScoreBucketEnum(proto.Message): class QualityScoreBucket(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class QualityScoreBucketEnum(proto.Message): AVERAGE = 3 ABOVE_AVERAGE = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/reach_plan_age_range.pyi b/google-stubs/ads/googleads/v14/enums/types/reach_plan_age_range.pyi index 166e5ad19..e76378d44 100644 --- a/google-stubs/ads/googleads/v14/enums/types/reach_plan_age_range.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/reach_plan_age_range.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ReachPlanAgeRangeEnum(proto.Message): class ReachPlanAgeRange(proto.Enum): UNSPECIFIED = 0 @@ -33,8 +37,8 @@ class ReachPlanAgeRangeEnum(proto.Message): AGE_RANGE_55_65_UP = 21 AGE_RANGE_65_UP = 503006 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/reach_plan_network.pyi b/google-stubs/ads/googleads/v14/enums/types/reach_plan_network.pyi index d989eb8e5..9eb69d864 100644 --- a/google-stubs/ads/googleads/v14/enums/types/reach_plan_network.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/reach_plan_network.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ReachPlanNetworkEnum(proto.Message): class ReachPlanNetwork(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ReachPlanNetworkEnum(proto.Message): GOOGLE_VIDEO_PARTNERS = 3 YOUTUBE_AND_GOOGLE_VIDEO_PARTNERS = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/real_estate_placeholder_field.pyi b/google-stubs/ads/googleads/v14/enums/types/real_estate_placeholder_field.pyi index 5b912679c..600598f9b 100644 --- a/google-stubs/ads/googleads/v14/enums/types/real_estate_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/real_estate_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class RealEstatePlaceholderFieldEnum(proto.Message): class RealEstatePlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -25,8 +29,8 @@ class RealEstatePlaceholderFieldEnum(proto.Message): IOS_APP_LINK = 18 IOS_APP_STORE_ID = 19 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/recommendation_type.pyi b/google-stubs/ads/googleads/v14/enums/types/recommendation_type.pyi index a76c9ffef..b0377259c 100644 --- a/google-stubs/ads/googleads/v14/enums/types/recommendation_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/recommendation_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class RecommendationTypeEnum(proto.Message): class RecommendationType(proto.Enum): UNSPECIFIED = 0 @@ -51,8 +55,8 @@ class RecommendationTypeEnum(proto.Message): IMPROVE_PERFORMANCE_MAX_AD_STRENGTH = 47 MIGRATE_DYNAMIC_SEARCH_ADS_CAMPAIGN_TO_PERFORMANCE_MAX = 48 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/resource_change_operation.pyi b/google-stubs/ads/googleads/v14/enums/types/resource_change_operation.pyi index 12d697349..3cd278d2f 100644 --- a/google-stubs/ads/googleads/v14/enums/types/resource_change_operation.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/resource_change_operation.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ResourceChangeOperationEnum(proto.Message): class ResourceChangeOperation(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ResourceChangeOperationEnum(proto.Message): UPDATE = 3 REMOVE = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/resource_limit_type.pyi b/google-stubs/ads/googleads/v14/enums/types/resource_limit_type.pyi index 71d2060cc..7901f253c 100644 --- a/google-stubs/ads/googleads/v14/enums/types/resource_limit_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/resource_limit_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ResourceLimitTypeEnum(proto.Message): class ResourceLimitType(proto.Enum): UNSPECIFIED = 0 @@ -145,8 +149,8 @@ class ResourceLimitTypeEnum(proto.Message): ENABLED_ASSET_PER_HOTEL_PROPERTY_ASSET_SET = 181 ENABLED_HOTEL_PROPERTY_ASSET_LINKS_PER_ASSET_GROUP = 182 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/response_content_type.pyi b/google-stubs/ads/googleads/v14/enums/types/response_content_type.pyi index c955a392b..e710036c6 100644 --- a/google-stubs/ads/googleads/v14/enums/types/response_content_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/response_content_type.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ResponseContentTypeEnum(proto.Message): class ResponseContentType(proto.Enum): UNSPECIFIED = 0 RESOURCE_NAME_ONLY = 1 MUTABLE_RESOURCE = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/search_engine_results_page_type.pyi b/google-stubs/ads/googleads/v14/enums/types/search_engine_results_page_type.pyi index 6c05cece7..7ef06d97a 100644 --- a/google-stubs/ads/googleads/v14/enums/types/search_engine_results_page_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/search_engine_results_page_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SearchEngineResultsPageTypeEnum(proto.Message): class SearchEngineResultsPageType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class SearchEngineResultsPageTypeEnum(proto.Message): ORGANIC_ONLY = 3 ADS_AND_ORGANIC = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/search_term_match_type.pyi b/google-stubs/ads/googleads/v14/enums/types/search_term_match_type.pyi index 8cb50b03d..6dd7a961d 100644 --- a/google-stubs/ads/googleads/v14/enums/types/search_term_match_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/search_term_match_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SearchTermMatchTypeEnum(proto.Message): class SearchTermMatchType(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class SearchTermMatchTypeEnum(proto.Message): NEAR_EXACT = 5 NEAR_PHRASE = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/search_term_targeting_status.pyi b/google-stubs/ads/googleads/v14/enums/types/search_term_targeting_status.pyi index 156395bb5..20adbe350 100644 --- a/google-stubs/ads/googleads/v14/enums/types/search_term_targeting_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/search_term_targeting_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SearchTermTargetingStatusEnum(proto.Message): class SearchTermTargetingStatus(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class SearchTermTargetingStatusEnum(proto.Message): ADDED_EXCLUDED = 4 NONE = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/seasonality_event_scope.pyi b/google-stubs/ads/googleads/v14/enums/types/seasonality_event_scope.pyi index 679d98d75..d72555ea8 100644 --- a/google-stubs/ads/googleads/v14/enums/types/seasonality_event_scope.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/seasonality_event_scope.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SeasonalityEventScopeEnum(proto.Message): class SeasonalityEventScope(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class SeasonalityEventScopeEnum(proto.Message): CAMPAIGN = 4 CHANNEL = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/seasonality_event_status.pyi b/google-stubs/ads/googleads/v14/enums/types/seasonality_event_status.pyi index 3d65b5284..e71c4c1b0 100644 --- a/google-stubs/ads/googleads/v14/enums/types/seasonality_event_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/seasonality_event_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SeasonalityEventStatusEnum(proto.Message): class SeasonalityEventStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class SeasonalityEventStatusEnum(proto.Message): ENABLED = 2 REMOVED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/served_asset_field_type.pyi b/google-stubs/ads/googleads/v14/enums/types/served_asset_field_type.pyi index f2fec09fd..d733d4b78 100644 --- a/google-stubs/ads/googleads/v14/enums/types/served_asset_field_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/served_asset_field_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ServedAssetFieldTypeEnum(proto.Message): class ServedAssetFieldType(proto.Enum): UNSPECIFIED = 0 @@ -22,8 +26,8 @@ class ServedAssetFieldTypeEnum(proto.Message): LEAD_FORM = 30 BUSINESS_LOGO = 31 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/shared_set_status.pyi b/google-stubs/ads/googleads/v14/enums/types/shared_set_status.pyi index 96cbe7970..0a0a25e51 100644 --- a/google-stubs/ads/googleads/v14/enums/types/shared_set_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/shared_set_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SharedSetStatusEnum(proto.Message): class SharedSetStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class SharedSetStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/shared_set_type.pyi b/google-stubs/ads/googleads/v14/enums/types/shared_set_type.pyi index 8d88f4781..bc6427c48 100644 --- a/google-stubs/ads/googleads/v14/enums/types/shared_set_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/shared_set_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SharedSetTypeEnum(proto.Message): class SharedSetType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class SharedSetTypeEnum(proto.Message): NEGATIVE_PLACEMENTS = 3 ACCOUNT_LEVEL_NEGATIVE_KEYWORDS = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/shopping_add_products_to_campaign_recommendation_enum.pyi b/google-stubs/ads/googleads/v14/enums/types/shopping_add_products_to_campaign_recommendation_enum.pyi index 8a315b246..443a224be 100644 --- a/google-stubs/ads/googleads/v14/enums/types/shopping_add_products_to_campaign_recommendation_enum.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/shopping_add_products_to_campaign_recommendation_enum.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ShoppingAddProductsToCampaignRecommendationEnum(proto.Message): class Reason(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class ShoppingAddProductsToCampaignRecommendationEnum(proto.Message): ADS_ACCOUNT_EXCLUDES_OFFERS_FROM_CAMPAIGN = 4 ALL_PRODUCTS_ARE_EXCLUDED_FROM_CAMPAIGN = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/simulation_modification_method.pyi b/google-stubs/ads/googleads/v14/enums/types/simulation_modification_method.pyi index f1114e379..85d63db17 100644 --- a/google-stubs/ads/googleads/v14/enums/types/simulation_modification_method.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/simulation_modification_method.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SimulationModificationMethodEnum(proto.Message): class SimulationModificationMethod(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class SimulationModificationMethodEnum(proto.Message): DEFAULT = 3 SCALING = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/simulation_type.pyi b/google-stubs/ads/googleads/v14/enums/types/simulation_type.pyi index e8832011b..076d32f73 100644 --- a/google-stubs/ads/googleads/v14/enums/types/simulation_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/simulation_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SimulationTypeEnum(proto.Message): class SimulationType(proto.Enum): UNSPECIFIED = 0 @@ -15,8 +19,8 @@ class SimulationTypeEnum(proto.Message): TARGET_IMPRESSION_SHARE = 8 BUDGET = 9 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/sitelink_placeholder_field.pyi b/google-stubs/ads/googleads/v14/enums/types/sitelink_placeholder_field.pyi index 6d5307bf5..2a8cc3197 100644 --- a/google-stubs/ads/googleads/v14/enums/types/sitelink_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/sitelink_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SitelinkPlaceholderFieldEnum(proto.Message): class SitelinkPlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class SitelinkPlaceholderFieldEnum(proto.Message): TRACKING_URL = 7 FINAL_URL_SUFFIX = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/sk_ad_network_ad_event_type.pyi b/google-stubs/ads/googleads/v14/enums/types/sk_ad_network_ad_event_type.pyi index a7c403e97..9c82cfe2c 100644 --- a/google-stubs/ads/googleads/v14/enums/types/sk_ad_network_ad_event_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/sk_ad_network_ad_event_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SkAdNetworkAdEventTypeEnum(proto.Message): class SkAdNetworkAdEventType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class SkAdNetworkAdEventTypeEnum(proto.Message): INTERACTION = 3 VIEW = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/sk_ad_network_attribution_credit.pyi b/google-stubs/ads/googleads/v14/enums/types/sk_ad_network_attribution_credit.pyi index 95b32d501..7d299e726 100644 --- a/google-stubs/ads/googleads/v14/enums/types/sk_ad_network_attribution_credit.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/sk_ad_network_attribution_credit.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SkAdNetworkAttributionCreditEnum(proto.Message): class SkAdNetworkAttributionCredit(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class SkAdNetworkAttributionCreditEnum(proto.Message): WON = 3 CONTRIBUTED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/sk_ad_network_user_type.pyi b/google-stubs/ads/googleads/v14/enums/types/sk_ad_network_user_type.pyi index 66deafefe..fb87cd489 100644 --- a/google-stubs/ads/googleads/v14/enums/types/sk_ad_network_user_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/sk_ad_network_user_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SkAdNetworkUserTypeEnum(proto.Message): class SkAdNetworkUserType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class SkAdNetworkUserTypeEnum(proto.Message): NEW_INSTALLER = 3 REINSTALLER = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/slot.pyi b/google-stubs/ads/googleads/v14/enums/types/slot.pyi index f46e9e531..cf6cc239f 100644 --- a/google-stubs/ads/googleads/v14/enums/types/slot.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/slot.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SlotEnum(proto.Message): class Slot(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class SlotEnum(proto.Message): SEARCH_PARTNER_OTHER = 7 MIXED = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/smart_campaign_not_eligible_reason.pyi b/google-stubs/ads/googleads/v14/enums/types/smart_campaign_not_eligible_reason.pyi index 28a97469c..e75d7e633 100644 --- a/google-stubs/ads/googleads/v14/enums/types/smart_campaign_not_eligible_reason.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/smart_campaign_not_eligible_reason.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SmartCampaignNotEligibleReasonEnum(proto.Message): class SmartCampaignNotEligibleReason(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class SmartCampaignNotEligibleReasonEnum(proto.Message): BUSINESS_PROFILE_LOCATION_REMOVED = 4 ALL_ADS_DISAPPROVED = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/smart_campaign_status.pyi b/google-stubs/ads/googleads/v14/enums/types/smart_campaign_status.pyi index 8c34e5c5b..f62f97028 100644 --- a/google-stubs/ads/googleads/v14/enums/types/smart_campaign_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/smart_campaign_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SmartCampaignStatusEnum(proto.Message): class SmartCampaignStatus(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class SmartCampaignStatusEnum(proto.Message): REMOVED = 6 ENDED = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/spending_limit_type.pyi b/google-stubs/ads/googleads/v14/enums/types/spending_limit_type.pyi index 6fcf3e986..dccc3e8aa 100644 --- a/google-stubs/ads/googleads/v14/enums/types/spending_limit_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/spending_limit_type.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SpendingLimitTypeEnum(proto.Message): class SpendingLimitType(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 INFINITE = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/structured_snippet_placeholder_field.pyi b/google-stubs/ads/googleads/v14/enums/types/structured_snippet_placeholder_field.pyi index 0823c571f..232276dc7 100644 --- a/google-stubs/ads/googleads/v14/enums/types/structured_snippet_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/structured_snippet_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class StructuredSnippetPlaceholderFieldEnum(proto.Message): class StructuredSnippetPlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class StructuredSnippetPlaceholderFieldEnum(proto.Message): HEADER = 2 SNIPPETS = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/summary_row_setting.pyi b/google-stubs/ads/googleads/v14/enums/types/summary_row_setting.pyi index 80110abb5..b0b9f2fee 100644 --- a/google-stubs/ads/googleads/v14/enums/types/summary_row_setting.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/summary_row_setting.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SummaryRowSettingEnum(proto.Message): class SummaryRowSetting(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class SummaryRowSettingEnum(proto.Message): SUMMARY_ROW_WITH_RESULTS = 3 SUMMARY_ROW_ONLY = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/system_managed_entity_source.pyi b/google-stubs/ads/googleads/v14/enums/types/system_managed_entity_source.pyi index d2c83ec29..fa94a4225 100644 --- a/google-stubs/ads/googleads/v14/enums/types/system_managed_entity_source.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/system_managed_entity_source.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SystemManagedResourceSourceEnum(proto.Message): class SystemManagedResourceSource(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 AD_VARIATIONS = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/target_cpa_opt_in_recommendation_goal.pyi b/google-stubs/ads/googleads/v14/enums/types/target_cpa_opt_in_recommendation_goal.pyi index 9b70b9bc7..95c91ee51 100644 --- a/google-stubs/ads/googleads/v14/enums/types/target_cpa_opt_in_recommendation_goal.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/target_cpa_opt_in_recommendation_goal.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class TargetCpaOptInRecommendationGoalEnum(proto.Message): class TargetCpaOptInRecommendationGoal(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class TargetCpaOptInRecommendationGoalEnum(proto.Message): SAME_CPA = 4 CLOSEST_CPA = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/target_frequency_time_unit.pyi b/google-stubs/ads/googleads/v14/enums/types/target_frequency_time_unit.pyi index 5e6136876..867259677 100644 --- a/google-stubs/ads/googleads/v14/enums/types/target_frequency_time_unit.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/target_frequency_time_unit.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class TargetFrequencyTimeUnitEnum(proto.Message): class TargetFrequencyTimeUnit(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 WEEKLY = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/target_impression_share_location.pyi b/google-stubs/ads/googleads/v14/enums/types/target_impression_share_location.pyi index 2c6eab970..0d4edad19 100644 --- a/google-stubs/ads/googleads/v14/enums/types/target_impression_share_location.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/target_impression_share_location.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class TargetImpressionShareLocationEnum(proto.Message): class TargetImpressionShareLocation(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class TargetImpressionShareLocationEnum(proto.Message): TOP_OF_PAGE = 3 ABSOLUTE_TOP_OF_PAGE = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/targeting_dimension.pyi b/google-stubs/ads/googleads/v14/enums/types/targeting_dimension.pyi index a7804b2a1..59ce943b3 100644 --- a/google-stubs/ads/googleads/v14/enums/types/targeting_dimension.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/targeting_dimension.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class TargetingDimensionEnum(proto.Message): class TargetingDimension(proto.Enum): UNSPECIFIED = 0 @@ -15,8 +19,8 @@ class TargetingDimensionEnum(proto.Message): PARENTAL_STATUS = 8 INCOME_RANGE = 9 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/time_type.pyi b/google-stubs/ads/googleads/v14/enums/types/time_type.pyi index 76b00af9a..3dc487733 100644 --- a/google-stubs/ads/googleads/v14/enums/types/time_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/time_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class TimeTypeEnum(proto.Message): class TimeType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class TimeTypeEnum(proto.Message): NOW = 2 FOREVER = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/tracking_code_page_format.pyi b/google-stubs/ads/googleads/v14/enums/types/tracking_code_page_format.pyi index 061d6eefa..3124b20b7 100644 --- a/google-stubs/ads/googleads/v14/enums/types/tracking_code_page_format.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/tracking_code_page_format.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class TrackingCodePageFormatEnum(proto.Message): class TrackingCodePageFormat(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class TrackingCodePageFormatEnum(proto.Message): HTML = 2 AMP = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/tracking_code_type.pyi b/google-stubs/ads/googleads/v14/enums/types/tracking_code_type.pyi index 032f26580..d20c820e6 100644 --- a/google-stubs/ads/googleads/v14/enums/types/tracking_code_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/tracking_code_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class TrackingCodeTypeEnum(proto.Message): class TrackingCodeType(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class TrackingCodeTypeEnum(proto.Message): CLICK_TO_CALL = 4 WEBSITE_CALL = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/travel_placeholder_field.pyi b/google-stubs/ads/googleads/v14/enums/types/travel_placeholder_field.pyi index 4639b404a..af01e6dff 100644 --- a/google-stubs/ads/googleads/v14/enums/types/travel_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/travel_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class TravelPlaceholderFieldEnum(proto.Message): class TravelPlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -27,8 +31,8 @@ class TravelPlaceholderFieldEnum(proto.Message): IOS_APP_LINK = 20 IOS_APP_STORE_ID = 21 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/user_identifier_source.pyi b/google-stubs/ads/googleads/v14/enums/types/user_identifier_source.pyi index 9dfcca521..f1b68ee5b 100644 --- a/google-stubs/ads/googleads/v14/enums/types/user_identifier_source.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/user_identifier_source.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserIdentifierSourceEnum(proto.Message): class UserIdentifierSource(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class UserIdentifierSourceEnum(proto.Message): FIRST_PARTY = 2 THIRD_PARTY = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/user_interest_taxonomy_type.pyi b/google-stubs/ads/googleads/v14/enums/types/user_interest_taxonomy_type.pyi index c72e6a4f3..c2afaf459 100644 --- a/google-stubs/ads/googleads/v14/enums/types/user_interest_taxonomy_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/user_interest_taxonomy_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserInterestTaxonomyTypeEnum(proto.Message): class UserInterestTaxonomyType(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class UserInterestTaxonomyTypeEnum(proto.Message): VERTICAL_GEO = 5 NEW_SMART_PHONE_USER = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/user_list_access_status.pyi b/google-stubs/ads/googleads/v14/enums/types/user_list_access_status.pyi index 81f0f912c..f1dee3a2a 100644 --- a/google-stubs/ads/googleads/v14/enums/types/user_list_access_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/user_list_access_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserListAccessStatusEnum(proto.Message): class UserListAccessStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class UserListAccessStatusEnum(proto.Message): ENABLED = 2 DISABLED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/user_list_closing_reason.pyi b/google-stubs/ads/googleads/v14/enums/types/user_list_closing_reason.pyi index 7286a4fa3..0c45eac42 100644 --- a/google-stubs/ads/googleads/v14/enums/types/user_list_closing_reason.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/user_list_closing_reason.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserListClosingReasonEnum(proto.Message): class UserListClosingReason(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 UNUSED = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/user_list_crm_data_source_type.pyi b/google-stubs/ads/googleads/v14/enums/types/user_list_crm_data_source_type.pyi index d15007d84..6bb1bd825 100644 --- a/google-stubs/ads/googleads/v14/enums/types/user_list_crm_data_source_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/user_list_crm_data_source_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserListCrmDataSourceTypeEnum(proto.Message): class UserListCrmDataSourceType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class UserListCrmDataSourceTypeEnum(proto.Message): THIRD_PARTY_CREDIT_BUREAU = 3 THIRD_PARTY_VOTER_FILE = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/user_list_date_rule_item_operator.pyi b/google-stubs/ads/googleads/v14/enums/types/user_list_date_rule_item_operator.pyi index 40b7d95f6..ff78cf01d 100644 --- a/google-stubs/ads/googleads/v14/enums/types/user_list_date_rule_item_operator.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/user_list_date_rule_item_operator.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserListDateRuleItemOperatorEnum(proto.Message): class UserListDateRuleItemOperator(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class UserListDateRuleItemOperatorEnum(proto.Message): BEFORE = 4 AFTER = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/user_list_flexible_rule_operator.pyi b/google-stubs/ads/googleads/v14/enums/types/user_list_flexible_rule_operator.pyi index 77dfe9c1e..74396a64e 100644 --- a/google-stubs/ads/googleads/v14/enums/types/user_list_flexible_rule_operator.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/user_list_flexible_rule_operator.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserListFlexibleRuleOperatorEnum(proto.Message): class UserListFlexibleRuleOperator(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class UserListFlexibleRuleOperatorEnum(proto.Message): AND = 2 OR = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/user_list_logical_rule_operator.pyi b/google-stubs/ads/googleads/v14/enums/types/user_list_logical_rule_operator.pyi index 8f8adef81..a5a689c8e 100644 --- a/google-stubs/ads/googleads/v14/enums/types/user_list_logical_rule_operator.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/user_list_logical_rule_operator.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserListLogicalRuleOperatorEnum(proto.Message): class UserListLogicalRuleOperator(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class UserListLogicalRuleOperatorEnum(proto.Message): ANY = 3 NONE = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/user_list_membership_status.pyi b/google-stubs/ads/googleads/v14/enums/types/user_list_membership_status.pyi index fe854d086..8120d8552 100644 --- a/google-stubs/ads/googleads/v14/enums/types/user_list_membership_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/user_list_membership_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserListMembershipStatusEnum(proto.Message): class UserListMembershipStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class UserListMembershipStatusEnum(proto.Message): OPEN = 2 CLOSED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/user_list_number_rule_item_operator.pyi b/google-stubs/ads/googleads/v14/enums/types/user_list_number_rule_item_operator.pyi index 203d84686..d29be1be6 100644 --- a/google-stubs/ads/googleads/v14/enums/types/user_list_number_rule_item_operator.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/user_list_number_rule_item_operator.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserListNumberRuleItemOperatorEnum(proto.Message): class UserListNumberRuleItemOperator(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class UserListNumberRuleItemOperatorEnum(proto.Message): LESS_THAN = 6 LESS_THAN_OR_EQUAL = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/user_list_prepopulation_status.pyi b/google-stubs/ads/googleads/v14/enums/types/user_list_prepopulation_status.pyi index 05ac39109..916d34fb9 100644 --- a/google-stubs/ads/googleads/v14/enums/types/user_list_prepopulation_status.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/user_list_prepopulation_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserListPrepopulationStatusEnum(proto.Message): class UserListPrepopulationStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class UserListPrepopulationStatusEnum(proto.Message): FINISHED = 3 FAILED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/user_list_rule_type.pyi b/google-stubs/ads/googleads/v14/enums/types/user_list_rule_type.pyi index 17502113f..a8ca00138 100644 --- a/google-stubs/ads/googleads/v14/enums/types/user_list_rule_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/user_list_rule_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserListRuleTypeEnum(proto.Message): class UserListRuleType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class UserListRuleTypeEnum(proto.Message): AND_OF_ORS = 2 OR_OF_ANDS = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/user_list_size_range.pyi b/google-stubs/ads/googleads/v14/enums/types/user_list_size_range.pyi index 02a9bb5fa..7327b9ad0 100644 --- a/google-stubs/ads/googleads/v14/enums/types/user_list_size_range.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/user_list_size_range.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserListSizeRangeEnum(proto.Message): class UserListSizeRange(proto.Enum): UNSPECIFIED = 0 @@ -23,8 +27,8 @@ class UserListSizeRangeEnum(proto.Message): THIRTY_MILLION_TO_FIFTY_MILLION = 16 OVER_FIFTY_MILLION = 17 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/user_list_string_rule_item_operator.pyi b/google-stubs/ads/googleads/v14/enums/types/user_list_string_rule_item_operator.pyi index c26e8b4f2..bb41dbd75 100644 --- a/google-stubs/ads/googleads/v14/enums/types/user_list_string_rule_item_operator.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/user_list_string_rule_item_operator.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserListStringRuleItemOperatorEnum(proto.Message): class UserListStringRuleItemOperator(proto.Enum): UNSPECIFIED = 0 @@ -15,8 +19,8 @@ class UserListStringRuleItemOperatorEnum(proto.Message): NOT_STARTS_WITH = 8 NOT_ENDS_WITH = 9 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/user_list_type.pyi b/google-stubs/ads/googleads/v14/enums/types/user_list_type.pyi index c1bc17eb3..f085a476e 100644 --- a/google-stubs/ads/googleads/v14/enums/types/user_list_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/user_list_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserListTypeEnum(proto.Message): class UserListType(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class UserListTypeEnum(proto.Message): SIMILAR = 6 CRM_BASED = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/value_rule_device_type.pyi b/google-stubs/ads/googleads/v14/enums/types/value_rule_device_type.pyi index 5a2dbb505..d48468969 100644 --- a/google-stubs/ads/googleads/v14/enums/types/value_rule_device_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/value_rule_device_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ValueRuleDeviceTypeEnum(proto.Message): class ValueRuleDeviceType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ValueRuleDeviceTypeEnum(proto.Message): DESKTOP = 3 TABLET = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/value_rule_geo_location_match_type.pyi b/google-stubs/ads/googleads/v14/enums/types/value_rule_geo_location_match_type.pyi index 6bd41c2b3..16385e6e7 100644 --- a/google-stubs/ads/googleads/v14/enums/types/value_rule_geo_location_match_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/value_rule_geo_location_match_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ValueRuleGeoLocationMatchTypeEnum(proto.Message): class ValueRuleGeoLocationMatchType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class ValueRuleGeoLocationMatchTypeEnum(proto.Message): ANY = 2 LOCATION_OF_PRESENCE = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/value_rule_operation.pyi b/google-stubs/ads/googleads/v14/enums/types/value_rule_operation.pyi index f1bef1479..eabd62514 100644 --- a/google-stubs/ads/googleads/v14/enums/types/value_rule_operation.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/value_rule_operation.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ValueRuleOperationEnum(proto.Message): class ValueRuleOperation(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ValueRuleOperationEnum(proto.Message): MULTIPLY = 3 SET = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/value_rule_set_attachment_type.pyi b/google-stubs/ads/googleads/v14/enums/types/value_rule_set_attachment_type.pyi index 508fe8a40..3095a5426 100644 --- a/google-stubs/ads/googleads/v14/enums/types/value_rule_set_attachment_type.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/value_rule_set_attachment_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ValueRuleSetAttachmentTypeEnum(proto.Message): class ValueRuleSetAttachmentType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class ValueRuleSetAttachmentTypeEnum(proto.Message): CUSTOMER = 2 CAMPAIGN = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/value_rule_set_dimension.pyi b/google-stubs/ads/googleads/v14/enums/types/value_rule_set_dimension.pyi index 67d6830a6..a4f01ed90 100644 --- a/google-stubs/ads/googleads/v14/enums/types/value_rule_set_dimension.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/value_rule_set_dimension.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ValueRuleSetDimensionEnum(proto.Message): class ValueRuleSetDimension(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class ValueRuleSetDimensionEnum(proto.Message): AUDIENCE = 4 NO_CONDITION = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/vanity_pharma_display_url_mode.pyi b/google-stubs/ads/googleads/v14/enums/types/vanity_pharma_display_url_mode.pyi index 9ddee7872..13e5c26ae 100644 --- a/google-stubs/ads/googleads/v14/enums/types/vanity_pharma_display_url_mode.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/vanity_pharma_display_url_mode.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class VanityPharmaDisplayUrlModeEnum(proto.Message): class VanityPharmaDisplayUrlMode(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class VanityPharmaDisplayUrlModeEnum(proto.Message): MANUFACTURER_WEBSITE_URL = 2 WEBSITE_DESCRIPTION = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/vanity_pharma_text.pyi b/google-stubs/ads/googleads/v14/enums/types/vanity_pharma_text.pyi index 8bae7f236..0ccdfa50a 100644 --- a/google-stubs/ads/googleads/v14/enums/types/vanity_pharma_text.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/vanity_pharma_text.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class VanityPharmaTextEnum(proto.Message): class VanityPharmaText(proto.Enum): UNSPECIFIED = 0 @@ -19,8 +23,8 @@ class VanityPharmaTextEnum(proto.Message): PRESCRIPTION_VACCINE_WEBSITE_EN = 12 PRESCRIPTION_VACCINE_WEBSITE_ES = 13 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/video_thumbnail.pyi b/google-stubs/ads/googleads/v14/enums/types/video_thumbnail.pyi index b6fa14389..5ce423cd5 100644 --- a/google-stubs/ads/googleads/v14/enums/types/video_thumbnail.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/video_thumbnail.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class VideoThumbnailEnum(proto.Message): class VideoThumbnail(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class VideoThumbnailEnum(proto.Message): THUMBNAIL_2 = 4 THUMBNAIL_3 = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/webpage_condition_operand.pyi b/google-stubs/ads/googleads/v14/enums/types/webpage_condition_operand.pyi index 3c9773e10..62e403644 100644 --- a/google-stubs/ads/googleads/v14/enums/types/webpage_condition_operand.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/webpage_condition_operand.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class WebpageConditionOperandEnum(proto.Message): class WebpageConditionOperand(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class WebpageConditionOperandEnum(proto.Message): PAGE_CONTENT = 5 CUSTOM_LABEL = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/enums/types/webpage_condition_operator.pyi b/google-stubs/ads/googleads/v14/enums/types/webpage_condition_operator.pyi index f619b08a3..7e415c55f 100644 --- a/google-stubs/ads/googleads/v14/enums/types/webpage_condition_operator.pyi +++ b/google-stubs/ads/googleads/v14/enums/types/webpage_condition_operator.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class WebpageConditionOperatorEnum(proto.Message): class WebpageConditionOperator(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class WebpageConditionOperatorEnum(proto.Message): EQUALS = 2 CONTAINS = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/access_invitation_error.pyi b/google-stubs/ads/googleads/v14/errors/types/access_invitation_error.pyi index e449a6f07..470985698 100644 --- a/google-stubs/ads/googleads/v14/errors/types/access_invitation_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/access_invitation_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AccessInvitationErrorEnum(proto.Message): class AccessInvitationError(proto.Enum): UNSPECIFIED = 0 @@ -15,8 +19,8 @@ class AccessInvitationErrorEnum(proto.Message): PENDING_INVITATIONS_LIMIT_EXCEEDED = 8 EMAIL_DOMAIN_POLICY_VIOLATED = 9 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/account_budget_proposal_error.pyi b/google-stubs/ads/googleads/v14/errors/types/account_budget_proposal_error.pyi index 54a68522c..9c2aae695 100644 --- a/google-stubs/ads/googleads/v14/errors/types/account_budget_proposal_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/account_budget_proposal_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AccountBudgetProposalErrorEnum(proto.Message): class AccountBudgetProposalError(proto.Enum): UNSPECIFIED = 0 @@ -33,8 +37,8 @@ class AccountBudgetProposalErrorEnum(proto.Message): INVALID_MASTER_SERVICE_AGREEMENT = 26 CANCELED_BILLING_SETUP = 27 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/account_link_error.pyi b/google-stubs/ads/googleads/v14/errors/types/account_link_error.pyi index 626f451aa..c06df694a 100644 --- a/google-stubs/ads/googleads/v14/errors/types/account_link_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/account_link_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AccountLinkErrorEnum(proto.Message): class AccountLinkError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class AccountLinkErrorEnum(proto.Message): INVALID_STATUS = 2 PERMISSION_DENIED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/ad_customizer_error.pyi b/google-stubs/ads/googleads/v14/errors/types/ad_customizer_error.pyi index ffdea484c..e7e10bfa5 100644 --- a/google-stubs/ads/googleads/v14/errors/types/ad_customizer_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/ad_customizer_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdCustomizerErrorEnum(proto.Message): class AdCustomizerError(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class AdCustomizerErrorEnum(proto.Message): COUNTDOWN_INVALID_START_DAYS_BEFORE = 5 UNKNOWN_USER_LIST = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/ad_error.pyi b/google-stubs/ads/googleads/v14/errors/types/ad_error.pyi index 7ddbdf515..fb21e9c7b 100644 --- a/google-stubs/ads/googleads/v14/errors/types/ad_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/ad_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdErrorEnum(proto.Message): class AdError(proto.Enum): UNSPECIFIED = 0 @@ -159,8 +163,8 @@ class AdErrorEnum(proto.Message): MISMATCHED_ASPECT_RATIOS = 155 DUPLICATE_IMAGE_ACROSS_CAROUSEL_CARDS = 156 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/ad_group_ad_error.pyi b/google-stubs/ads/googleads/v14/errors/types/ad_group_ad_error.pyi index 583380be3..f7d3213f4 100644 --- a/google-stubs/ads/googleads/v14/errors/types/ad_group_ad_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/ad_group_ad_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupAdErrorEnum(proto.Message): class AdGroupAdError(proto.Enum): UNSPECIFIED = 0 @@ -18,8 +22,8 @@ class AdGroupAdErrorEnum(proto.Message): AD_TYPE_CANNOT_BE_REMOVED = 11 CANNOT_UPDATE_DEPRECATED_ADS = 12 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/ad_group_bid_modifier_error.pyi b/google-stubs/ads/googleads/v14/errors/types/ad_group_bid_modifier_error.pyi index 2e396271b..afeebf03d 100644 --- a/google-stubs/ads/googleads/v14/errors/types/ad_group_bid_modifier_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/ad_group_bid_modifier_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupBidModifierErrorEnum(proto.Message): class AdGroupBidModifierError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class AdGroupBidModifierErrorEnum(proto.Message): CRITERION_ID_NOT_SUPPORTED = 2 CANNOT_OVERRIDE_OPTED_OUT_CAMPAIGN_CRITERION_BID_MODIFIER = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/ad_group_criterion_customizer_error.pyi b/google-stubs/ads/googleads/v14/errors/types/ad_group_criterion_customizer_error.pyi index f0b34cf7b..a56a7431d 100644 --- a/google-stubs/ads/googleads/v14/errors/types/ad_group_criterion_customizer_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/ad_group_criterion_customizer_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupCriterionCustomizerErrorEnum(proto.Message): class AdGroupCriterionCustomizerError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 CRITERION_IS_NOT_KEYWORD = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/ad_group_criterion_error.pyi b/google-stubs/ads/googleads/v14/errors/types/ad_group_criterion_error.pyi index 424a186a5..df814dac2 100644 --- a/google-stubs/ads/googleads/v14/errors/types/ad_group_criterion_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/ad_group_criterion_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupCriterionErrorEnum(proto.Message): class AdGroupCriterionError(proto.Enum): UNSPECIFIED = 0 @@ -35,8 +39,8 @@ class AdGroupCriterionErrorEnum(proto.Message): FINAL_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE = 37 FINAL_MOBILE_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE = 38 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/ad_group_customizer_error.pyi b/google-stubs/ads/googleads/v14/errors/types/ad_group_customizer_error.pyi index f785c0dec..446d8ce5f 100644 --- a/google-stubs/ads/googleads/v14/errors/types/ad_group_customizer_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/ad_group_customizer_error.pyi @@ -1,14 +1,18 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupCustomizerErrorEnum(proto.Message): class AdGroupCustomizerError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/ad_group_error.pyi b/google-stubs/ads/googleads/v14/errors/types/ad_group_error.pyi index 43c270008..9faaf9328 100644 --- a/google-stubs/ads/googleads/v14/errors/types/ad_group_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/ad_group_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupErrorEnum(proto.Message): class AdGroupError(proto.Enum): UNSPECIFIED = 0 @@ -22,8 +26,8 @@ class AdGroupErrorEnum(proto.Message): INVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPE = 16 INVALID_EXCLUDED_PARENT_ASSET_SET_TYPE = 17 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/ad_group_feed_error.pyi b/google-stubs/ads/googleads/v14/errors/types/ad_group_feed_error.pyi index a14dd3fda..00b182beb 100644 --- a/google-stubs/ads/googleads/v14/errors/types/ad_group_feed_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/ad_group_feed_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupFeedErrorEnum(proto.Message): class AdGroupFeedError(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class AdGroupFeedErrorEnum(proto.Message): MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE = 7 NO_EXISTING_LOCATION_CUSTOMER_FEED = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/ad_parameter_error.pyi b/google-stubs/ads/googleads/v14/errors/types/ad_parameter_error.pyi index 5537c8f31..45377171b 100644 --- a/google-stubs/ads/googleads/v14/errors/types/ad_parameter_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/ad_parameter_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdParameterErrorEnum(proto.Message): class AdParameterError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class AdParameterErrorEnum(proto.Message): AD_GROUP_CRITERION_MUST_BE_KEYWORD = 2 INVALID_INSERTION_TEXT_FORMAT = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/ad_sharing_error.pyi b/google-stubs/ads/googleads/v14/errors/types/ad_sharing_error.pyi index 1d6388308..f78c81a31 100644 --- a/google-stubs/ads/googleads/v14/errors/types/ad_sharing_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/ad_sharing_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdSharingErrorEnum(proto.Message): class AdSharingError(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class AdSharingErrorEnum(proto.Message): INCOMPATIBLE_AD_UNDER_AD_GROUP = 3 CANNOT_SHARE_INACTIVE_AD = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/adx_error.pyi b/google-stubs/ads/googleads/v14/errors/types/adx_error.pyi index e93cd1b26..be5cb98e6 100644 --- a/google-stubs/ads/googleads/v14/errors/types/adx_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/adx_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdxErrorEnum(proto.Message): class AdxError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 UNSUPPORTED_FEATURE = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/asset_error.pyi b/google-stubs/ads/googleads/v14/errors/types/asset_error.pyi index 3811a1afd..6171abdb6 100644 --- a/google-stubs/ads/googleads/v14/errors/types/asset_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/asset_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetErrorEnum(proto.Message): class AssetError(proto.Enum): UNSPECIFIED = 0 @@ -43,8 +47,8 @@ class AssetErrorEnum(proto.Message): LEAD_FORM_LOCATION_ANSWER_TYPE_DISALLOWED = 37 PAGE_FEED_INVALID_LABEL_TEXT = 38 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/asset_group_asset_error.pyi b/google-stubs/ads/googleads/v14/errors/types/asset_group_asset_error.pyi index 9844fd568..1ef11cc8f 100644 --- a/google-stubs/ads/googleads/v14/errors/types/asset_group_asset_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/asset_group_asset_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetGroupAssetErrorEnum(proto.Message): class AssetGroupAssetError(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class AssetGroupAssetErrorEnum(proto.Message): AD_CUSTOMIZER_NOT_SUPPORTED = 4 HOTEL_PROPERTY_ASSET_NOT_LINKED_TO_CAMPAIGN = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/asset_group_error.pyi b/google-stubs/ads/googleads/v14/errors/types/asset_group_error.pyi index 5b30a95ab..cb3468834 100644 --- a/google-stubs/ads/googleads/v14/errors/types/asset_group_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/asset_group_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetGroupErrorEnum(proto.Message): class AssetGroupError(proto.Enum): UNSPECIFIED = 0 @@ -23,8 +27,8 @@ class AssetGroupErrorEnum(proto.Message): AD_CUSTOMIZER_NOT_SUPPORTED = 16 CANNOT_MUTATE_ASSET_GROUP_FOR_REMOVED_CAMPAIGN = 17 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/asset_group_listing_group_filter_error.pyi b/google-stubs/ads/googleads/v14/errors/types/asset_group_listing_group_filter_error.pyi index 20dd7df99..595c4b8bb 100644 --- a/google-stubs/ads/googleads/v14/errors/types/asset_group_listing_group_filter_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/asset_group_listing_group_filter_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetGroupListingGroupFilterErrorEnum(proto.Message): class AssetGroupListingGroupFilterError(proto.Enum): UNSPECIFIED = 0 @@ -20,8 +24,8 @@ class AssetGroupListingGroupFilterErrorEnum(proto.Message): SUBDIVISION_HAS_CHILDREN = 13 CANNOT_REFINE_HIERARCHICAL_EVERYTHING_ELSE = 14 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/asset_link_error.pyi b/google-stubs/ads/googleads/v14/errors/types/asset_link_error.pyi index d9989653f..78694bdd3 100644 --- a/google-stubs/ads/googleads/v14/errors/types/asset_link_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/asset_link_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetLinkErrorEnum(proto.Message): class AssetLinkError(proto.Enum): UNSPECIFIED = 0 @@ -30,8 +34,8 @@ class AssetLinkErrorEnum(proto.Message): CUSTOMER_NOT_VERIFIED = 23 UNSUPPORTED_CALL_TO_ACTION = 24 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/asset_set_asset_error.pyi b/google-stubs/ads/googleads/v14/errors/types/asset_set_asset_error.pyi index 6335487ca..39b070906 100644 --- a/google-stubs/ads/googleads/v14/errors/types/asset_set_asset_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/asset_set_asset_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetSetAssetErrorEnum(proto.Message): class AssetSetAssetError(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class AssetSetAssetErrorEnum(proto.Message): DUPLICATE_EXTERNAL_KEY = 4 PARENT_LINKAGE_DOES_NOT_EXIST = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/asset_set_error.pyi b/google-stubs/ads/googleads/v14/errors/types/asset_set_error.pyi index e61f9ad1e..4ae87a556 100644 --- a/google-stubs/ads/googleads/v14/errors/types/asset_set_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/asset_set_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetSetErrorEnum(proto.Message): class AssetSetError(proto.Enum): UNSPECIFIED = 0 @@ -18,8 +22,8 @@ class AssetSetErrorEnum(proto.Message): OAUTH_INFO_MISSING = 12 CANNOT_DELETE_AS_ENABLED_LINKAGES_EXIST = 10 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/asset_set_link_error.pyi b/google-stubs/ads/googleads/v14/errors/types/asset_set_link_error.pyi index 8682c24b7..73d92a12f 100644 --- a/google-stubs/ads/googleads/v14/errors/types/asset_set_link_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/asset_set_link_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetSetLinkErrorEnum(proto.Message): class AssetSetLinkError(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class AssetSetLinkErrorEnum(proto.Message): DUPLICATE_ASSET_SET_LINK = 5 ASSET_SET_LINK_CANNOT_BE_REMOVED = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/audience_error.pyi b/google-stubs/ads/googleads/v14/errors/types/audience_error.pyi index 7ba5a98a1..f75823caf 100644 --- a/google-stubs/ads/googleads/v14/errors/types/audience_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/audience_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AudienceErrorEnum(proto.Message): class AudienceError(proto.Enum): UNSPECIFIED = 0 @@ -15,8 +19,8 @@ class AudienceErrorEnum(proto.Message): TOO_MANY_DIMENSIONS_OF_SAME_TYPE = 8 IN_USE = 9 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/audience_insights_error.pyi b/google-stubs/ads/googleads/v14/errors/types/audience_insights_error.pyi index 91b012e35..cd5d01aa5 100644 --- a/google-stubs/ads/googleads/v14/errors/types/audience_insights_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/audience_insights_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AudienceInsightsErrorEnum(proto.Message): class AudienceInsightsError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 DIMENSION_INCOMPATIBLE_WITH_TOPIC_AUDIENCE_COMBINATIONS = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/authentication_error.pyi b/google-stubs/ads/googleads/v14/errors/types/authentication_error.pyi index 36a7d39d1..de5b29764 100644 --- a/google-stubs/ads/googleads/v14/errors/types/authentication_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/authentication_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AuthenticationErrorEnum(proto.Message): class AuthenticationError(proto.Enum): UNSPECIFIED = 0 @@ -28,8 +32,8 @@ class AuthenticationErrorEnum(proto.Message): ORGANIZATION_NOT_APPROVED = 27 ORGANIZATION_NOT_ASSOCIATED_WITH_DEVELOPER_TOKEN = 28 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/authorization_error.pyi b/google-stubs/ads/googleads/v14/errors/types/authorization_error.pyi index b83b1b3a6..6a2cd261e 100644 --- a/google-stubs/ads/googleads/v14/errors/types/authorization_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/authorization_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AuthorizationErrorEnum(proto.Message): class AuthorizationError(proto.Enum): UNSPECIFIED = 0 @@ -22,8 +26,8 @@ class AuthorizationErrorEnum(proto.Message): METRIC_ACCESS_DENIED = 26 CLOUD_PROJECT_NOT_UNDER_ORGANIZATION = 27 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/batch_job_error.pyi b/google-stubs/ads/googleads/v14/errors/types/batch_job_error.pyi index 0f6a42997..95df4b69e 100644 --- a/google-stubs/ads/googleads/v14/errors/types/batch_job_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/batch_job_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BatchJobErrorEnum(proto.Message): class BatchJobError(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class BatchJobErrorEnum(proto.Message): CAN_ONLY_REMOVE_PENDING_JOB = 7 CANNOT_LIST_RESULTS = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/bidding_error.pyi b/google-stubs/ads/googleads/v14/errors/types/bidding_error.pyi index c9616fdce..25519e4b6 100644 --- a/google-stubs/ads/googleads/v14/errors/types/bidding_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/bidding_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BiddingErrorEnum(proto.Message): class BiddingError(proto.Enum): UNSPECIFIED = 0 @@ -31,8 +35,8 @@ class BiddingErrorEnum(proto.Message): BIDDING_STRATEGY_AND_BUDGET_MUST_BE_REMOVED_TOGETHER = 40 CPC_BID_FLOOR_MICROS_GREATER_THAN_CPC_BID_CEILING_MICROS = 41 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/bidding_strategy_error.pyi b/google-stubs/ads/googleads/v14/errors/types/bidding_strategy_error.pyi index cb240f23c..e77a0ca60 100644 --- a/google-stubs/ads/googleads/v14/errors/types/bidding_strategy_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/bidding_strategy_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BiddingStrategyErrorEnum(proto.Message): class BiddingStrategyError(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class BiddingStrategyErrorEnum(proto.Message): BIDDING_STRATEGY_NOT_SUPPORTED = 5 INCOMPATIBLE_BIDDING_STRATEGY_AND_BIDDING_STRATEGY_GOAL_TYPE = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/billing_setup_error.pyi b/google-stubs/ads/googleads/v14/errors/types/billing_setup_error.pyi index 257ddf6cc..557e575a1 100644 --- a/google-stubs/ads/googleads/v14/errors/types/billing_setup_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/billing_setup_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BillingSetupErrorEnum(proto.Message): class BillingSetupError(proto.Enum): UNSPECIFIED = 0 @@ -27,8 +31,8 @@ class BillingSetupErrorEnum(proto.Message): FUTURE_START_TIME_PROHIBITED = 20 TOO_MANY_BILLING_SETUPS_FOR_PAYMENTS_ACCOUNT = 21 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/campaign_budget_error.pyi b/google-stubs/ads/googleads/v14/errors/types/campaign_budget_error.pyi index 481d157e4..f62f0bc91 100644 --- a/google-stubs/ads/googleads/v14/errors/types/campaign_budget_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/campaign_budget_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignBudgetErrorEnum(proto.Message): class CampaignBudgetError(proto.Enum): UNSPECIFIED = 0 @@ -26,8 +30,8 @@ class CampaignBudgetErrorEnum(proto.Message): CANNOT_USE_ACCELERATED_DELIVERY_MODE = 20 BUDGET_AMOUNT_MUST_BE_UNSET_FOR_CUSTOM_BUDGET_PERIOD = 21 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/campaign_conversion_goal_error.pyi b/google-stubs/ads/googleads/v14/errors/types/campaign_conversion_goal_error.pyi index 3c26c8c27..db6efd2d5 100644 --- a/google-stubs/ads/googleads/v14/errors/types/campaign_conversion_goal_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/campaign_conversion_goal_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignConversionGoalErrorEnum(proto.Message): class CampaignConversionGoalError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 CANNOT_USE_CAMPAIGN_GOAL_FOR_SEARCH_ADS_360_MANAGED_CAMPAIGN = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/campaign_criterion_error.pyi b/google-stubs/ads/googleads/v14/errors/types/campaign_criterion_error.pyi index 685ac94c1..3ef6e62d9 100644 --- a/google-stubs/ads/googleads/v14/errors/types/campaign_criterion_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/campaign_criterion_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignCriterionErrorEnum(proto.Message): class CampaignCriterionError(proto.Enum): UNSPECIFIED = 0 @@ -33,8 +37,8 @@ class CampaignCriterionErrorEnum(proto.Message): ) LOCAL_SERVICE_ID_NOT_FOUND_FOR_CATEGORY = 25 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/campaign_customizer_error.pyi b/google-stubs/ads/googleads/v14/errors/types/campaign_customizer_error.pyi index 0595f3223..e44225407 100644 --- a/google-stubs/ads/googleads/v14/errors/types/campaign_customizer_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/campaign_customizer_error.pyi @@ -1,14 +1,18 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignCustomizerErrorEnum(proto.Message): class CampaignCustomizerError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/campaign_draft_error.pyi b/google-stubs/ads/googleads/v14/errors/types/campaign_draft_error.pyi index b7fe0836a..1d0dd6699 100644 --- a/google-stubs/ads/googleads/v14/errors/types/campaign_draft_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/campaign_draft_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignDraftErrorEnum(proto.Message): class CampaignDraftError(proto.Enum): UNSPECIFIED = 0 @@ -17,8 +21,8 @@ class CampaignDraftErrorEnum(proto.Message): MAX_NUMBER_OF_DRAFTS_PER_CAMPAIGN_REACHED = 10 LIST_ERRORS_FOR_PROMOTED_DRAFT_ONLY = 11 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/campaign_error.pyi b/google-stubs/ads/googleads/v14/errors/types/campaign_error.pyi index b56424587..83bc0bf52 100644 --- a/google-stubs/ads/googleads/v14/errors/types/campaign_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/campaign_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignErrorEnum(proto.Message): class CampaignError(proto.Enum): UNSPECIFIED = 0 @@ -79,8 +83,8 @@ class CampaignErrorEnum(proto.Message): NOT_LINKED_ADVERTISING_PARTNER = 83 INVALID_NUMBER_OF_ADVERTISING_PARTNER_IDS = 84 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/campaign_experiment_error.pyi b/google-stubs/ads/googleads/v14/errors/types/campaign_experiment_error.pyi index fac3c6a3d..30dae9500 100644 --- a/google-stubs/ads/googleads/v14/errors/types/campaign_experiment_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/campaign_experiment_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignExperimentErrorEnum(proto.Message): class CampaignExperimentError(proto.Enum): UNSPECIFIED = 0 @@ -17,8 +21,8 @@ class CampaignExperimentErrorEnum(proto.Message): EXPERIMENT_DURATION_MUST_BE_WITHIN_CAMPAIGN_DURATION = 10 CANNOT_MUTATE_EXPERIMENT_DUE_TO_STATUS = 11 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/campaign_feed_error.pyi b/google-stubs/ads/googleads/v14/errors/types/campaign_feed_error.pyi index dd04ba57b..4af608d47 100644 --- a/google-stubs/ads/googleads/v14/errors/types/campaign_feed_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/campaign_feed_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignFeedErrorEnum(proto.Message): class CampaignFeedError(proto.Enum): UNSPECIFIED = 0 @@ -15,8 +19,8 @@ class CampaignFeedErrorEnum(proto.Message): NO_EXISTING_LOCATION_CUSTOMER_FEED = 9 LEGACY_FEED_TYPE_READ_ONLY = 10 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/campaign_shared_set_error.pyi b/google-stubs/ads/googleads/v14/errors/types/campaign_shared_set_error.pyi index 737e4b670..de118c89b 100644 --- a/google-stubs/ads/googleads/v14/errors/types/campaign_shared_set_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/campaign_shared_set_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignSharedSetErrorEnum(proto.Message): class CampaignSharedSetError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 SHARED_SET_ACCESS_DENIED = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/change_event_error.pyi b/google-stubs/ads/googleads/v14/errors/types/change_event_error.pyi index cde38dadd..7397fa450 100644 --- a/google-stubs/ads/googleads/v14/errors/types/change_event_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/change_event_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ChangeEventErrorEnum(proto.Message): class ChangeEventError(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class ChangeEventErrorEnum(proto.Message): LIMIT_NOT_SPECIFIED = 5 INVALID_LIMIT_CLAUSE = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/change_status_error.pyi b/google-stubs/ads/googleads/v14/errors/types/change_status_error.pyi index 26ab02949..f214d7a33 100644 --- a/google-stubs/ads/googleads/v14/errors/types/change_status_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/change_status_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ChangeStatusErrorEnum(proto.Message): class ChangeStatusError(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class ChangeStatusErrorEnum(proto.Message): LIMIT_NOT_SPECIFIED = 6 INVALID_LIMIT_CLAUSE = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/collection_size_error.pyi b/google-stubs/ads/googleads/v14/errors/types/collection_size_error.pyi index 160b7d102..ab895ad90 100644 --- a/google-stubs/ads/googleads/v14/errors/types/collection_size_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/collection_size_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CollectionSizeErrorEnum(proto.Message): class CollectionSizeError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class CollectionSizeErrorEnum(proto.Message): TOO_FEW = 2 TOO_MANY = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/context_error.pyi b/google-stubs/ads/googleads/v14/errors/types/context_error.pyi index d9287174a..033eaeee0 100644 --- a/google-stubs/ads/googleads/v14/errors/types/context_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/context_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ContextErrorEnum(proto.Message): class ContextError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class ContextErrorEnum(proto.Message): OPERATION_NOT_PERMITTED_FOR_CONTEXT = 2 OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/conversion_action_error.pyi b/google-stubs/ads/googleads/v14/errors/types/conversion_action_error.pyi index 2b620a1a5..bc2748184 100644 --- a/google-stubs/ads/googleads/v14/errors/types/conversion_action_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/conversion_action_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionActionErrorEnum(proto.Message): class ConversionActionError(proto.Enum): UNSPECIFIED = 0 @@ -17,8 +21,8 @@ class ConversionActionErrorEnum(proto.Message): CREATION_NOT_SUPPORTED = 10 UPDATE_NOT_SUPPORTED = 11 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/conversion_adjustment_upload_error.pyi b/google-stubs/ads/googleads/v14/errors/types/conversion_adjustment_upload_error.pyi index fae89c583..d2bdb3da3 100644 --- a/google-stubs/ads/googleads/v14/errors/types/conversion_adjustment_upload_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/conversion_adjustment_upload_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionAdjustmentUploadErrorEnum(proto.Message): class ConversionAdjustmentUploadError(proto.Enum): UNSPECIFIED = 0 @@ -30,8 +34,8 @@ class ConversionAdjustmentUploadErrorEnum(proto.Message): MISSING_ORDER_ID_FOR_WEBPAGE = 24 ORDER_ID_CONTAINS_PII = 25 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/conversion_custom_variable_error.pyi b/google-stubs/ads/googleads/v14/errors/types/conversion_custom_variable_error.pyi index 9675a8e18..10f81f166 100644 --- a/google-stubs/ads/googleads/v14/errors/types/conversion_custom_variable_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/conversion_custom_variable_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionCustomVariableErrorEnum(proto.Message): class ConversionCustomVariableError(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ConversionCustomVariableErrorEnum(proto.Message): DUPLICATE_TAG = 3 RESERVED_TAG = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/conversion_goal_campaign_config_error.pyi b/google-stubs/ads/googleads/v14/errors/types/conversion_goal_campaign_config_error.pyi index 6a35d2a56..f7b873435 100644 --- a/google-stubs/ads/googleads/v14/errors/types/conversion_goal_campaign_config_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/conversion_goal_campaign_config_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionGoalCampaignConfigErrorEnum(proto.Message): class ConversionGoalCampaignConfigError(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ConversionGoalCampaignConfigErrorEnum(proto.Message): CUSTOM_GOAL_DOES_NOT_BELONG_TO_GOOGLE_ADS_CONVERSION_CUSTOMER = 3 CAMPAIGN_CANNOT_USE_UNIFIED_GOALS = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/conversion_upload_error.pyi b/google-stubs/ads/googleads/v14/errors/types/conversion_upload_error.pyi index 7197ec9d7..5d9eb610f 100644 --- a/google-stubs/ads/googleads/v14/errors/types/conversion_upload_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/conversion_upload_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionUploadErrorEnum(proto.Message): class ConversionUploadError(proto.Enum): UNSPECIFIED = 0 @@ -53,8 +57,8 @@ class ConversionUploadErrorEnum(proto.Message): ORDER_ID_CONTAINS_PII = 49 CUSTOMER_NOT_ENABLED_ENHANCED_CONVERSIONS_FOR_LEADS = 50 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/conversion_value_rule_error.pyi b/google-stubs/ads/googleads/v14/errors/types/conversion_value_rule_error.pyi index 9d2a01f0b..3de824214 100644 --- a/google-stubs/ads/googleads/v14/errors/types/conversion_value_rule_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/conversion_value_rule_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionValueRuleErrorEnum(proto.Message): class ConversionValueRuleError(proto.Enum): UNSPECIFIED = 0 @@ -19,8 +23,8 @@ class ConversionValueRuleErrorEnum(proto.Message): INVALID_AUDIENCE_USER_INTEREST = 12 CANNOT_ADD_RULE_WITH_STATUS_REMOVED = 13 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/conversion_value_rule_set_error.pyi b/google-stubs/ads/googleads/v14/errors/types/conversion_value_rule_set_error.pyi index df65ec11e..ef386ed66 100644 --- a/google-stubs/ads/googleads/v14/errors/types/conversion_value_rule_set_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/conversion_value_rule_set_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionValueRuleSetErrorEnum(proto.Message): class ConversionValueRuleSetError(proto.Enum): UNSPECIFIED = 0 @@ -20,8 +24,8 @@ class ConversionValueRuleSetErrorEnum(proto.Message): DIMENSION_NO_CONDITION_NOT_ALLOWED = 13 UNSUPPORTED_CONVERSION_ACTION_CATEGORIES = 14 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/country_code_error.pyi b/google-stubs/ads/googleads/v14/errors/types/country_code_error.pyi index fe7425d25..64fcb6fce 100644 --- a/google-stubs/ads/googleads/v14/errors/types/country_code_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/country_code_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CountryCodeErrorEnum(proto.Message): class CountryCodeError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 INVALID_COUNTRY_CODE = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/criterion_error.pyi b/google-stubs/ads/googleads/v14/errors/types/criterion_error.pyi index 9fcd9fbc7..231bdb1e8 100644 --- a/google-stubs/ads/googleads/v14/errors/types/criterion_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/criterion_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CriterionErrorEnum(proto.Message): class CriterionError(proto.Enum): UNSPECIFIED = 0 @@ -151,8 +155,8 @@ class CriterionErrorEnum(proto.Message): ONE_AUDIENCE_ALLOWED_PER_AD_GROUP = 153 INVALID_DETAILED_DEMOGRAPHIC = 154 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/currency_code_error.pyi b/google-stubs/ads/googleads/v14/errors/types/currency_code_error.pyi index 771422a6d..862785d0e 100644 --- a/google-stubs/ads/googleads/v14/errors/types/currency_code_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/currency_code_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CurrencyCodeErrorEnum(proto.Message): class CurrencyCodeError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 UNSUPPORTED = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/currency_error.pyi b/google-stubs/ads/googleads/v14/errors/types/currency_error.pyi index 240f3409f..8797e2d05 100644 --- a/google-stubs/ads/googleads/v14/errors/types/currency_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/currency_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CurrencyErrorEnum(proto.Message): class CurrencyError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 VALUE_NOT_MULTIPLE_OF_BILLABLE_UNIT = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/custom_audience_error.pyi b/google-stubs/ads/googleads/v14/errors/types/custom_audience_error.pyi index 5022b5e06..d5d54df73 100644 --- a/google-stubs/ads/googleads/v14/errors/types/custom_audience_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/custom_audience_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomAudienceErrorEnum(proto.Message): class CustomAudienceError(proto.Enum): UNSPECIFIED = 0 @@ -15,8 +19,8 @@ class CustomAudienceErrorEnum(proto.Message): POLICY_VIOLATION = 8 INVALID_TYPE_CHANGE = 9 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/custom_conversion_goal_error.pyi b/google-stubs/ads/googleads/v14/errors/types/custom_conversion_goal_error.pyi index 95ed00ee2..b40a68f36 100644 --- a/google-stubs/ads/googleads/v14/errors/types/custom_conversion_goal_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/custom_conversion_goal_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomConversionGoalErrorEnum(proto.Message): class CustomConversionGoalError(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class CustomConversionGoalErrorEnum(proto.Message): DUPLICATE_CONVERSION_ACTION_LIST = 6 NON_BIDDABLE_CONVERSION_ACTION_NOT_ELIGIBLE_FOR_CUSTOM_GOAL = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/custom_interest_error.pyi b/google-stubs/ads/googleads/v14/errors/types/custom_interest_error.pyi index ae8ee848f..31dc90883 100644 --- a/google-stubs/ads/googleads/v14/errors/types/custom_interest_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/custom_interest_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomInterestErrorEnum(proto.Message): class CustomInterestError(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class CustomInterestErrorEnum(proto.Message): CANNOT_REMOVE_WHILE_IN_USE = 7 CANNOT_CHANGE_TYPE = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/customer_client_link_error.pyi b/google-stubs/ads/googleads/v14/errors/types/customer_client_link_error.pyi index 7f2bdc553..b47254072 100644 --- a/google-stubs/ads/googleads/v14/errors/types/customer_client_link_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/customer_client_link_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomerClientLinkErrorEnum(proto.Message): class CustomerClientLinkError(proto.Enum): UNSPECIFIED = 0 @@ -15,8 +19,8 @@ class CustomerClientLinkErrorEnum(proto.Message): CUSTOMER_HAS_TOO_MANY_ACCOUNTS_AT_MANAGER = 8 CLIENT_HAS_TOO_MANY_MANAGERS = 9 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/customer_customizer_error.pyi b/google-stubs/ads/googleads/v14/errors/types/customer_customizer_error.pyi index 12082a4ca..2e1d735ad 100644 --- a/google-stubs/ads/googleads/v14/errors/types/customer_customizer_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/customer_customizer_error.pyi @@ -1,14 +1,18 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomerCustomizerErrorEnum(proto.Message): class CustomerCustomizerError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/customer_error.pyi b/google-stubs/ads/googleads/v14/errors/types/customer_error.pyi index e3683863d..ed394dcc7 100644 --- a/google-stubs/ads/googleads/v14/errors/types/customer_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/customer_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomerErrorEnum(proto.Message): class CustomerError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class CustomerErrorEnum(proto.Message): STATUS_CHANGE_DISALLOWED = 2 ACCOUNT_NOT_SET_UP = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/customer_feed_error.pyi b/google-stubs/ads/googleads/v14/errors/types/customer_feed_error.pyi index e3d279c46..3fb1a4669 100644 --- a/google-stubs/ads/googleads/v14/errors/types/customer_feed_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/customer_feed_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomerFeedErrorEnum(proto.Message): class CustomerFeedError(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class CustomerFeedErrorEnum(proto.Message): MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE = 7 PLACEHOLDER_TYPE_NOT_ALLOWED_ON_CUSTOMER_FEED = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/customer_manager_link_error.pyi b/google-stubs/ads/googleads/v14/errors/types/customer_manager_link_error.pyi index 990bd4494..5993e714f 100644 --- a/google-stubs/ads/googleads/v14/errors/types/customer_manager_link_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/customer_manager_link_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomerManagerLinkErrorEnum(proto.Message): class CustomerManagerLinkError(proto.Enum): UNSPECIFIED = 0 @@ -16,8 +20,8 @@ class CustomerManagerLinkErrorEnum(proto.Message): DUPLICATE_CHILD_FOUND = 9 TEST_ACCOUNT_LINKS_TOO_MANY_CHILD_ACCOUNTS = 10 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/customer_sk_ad_network_conversion_value_schema_error.pyi b/google-stubs/ads/googleads/v14/errors/types/customer_sk_ad_network_conversion_value_schema_error.pyi index d42924684..d186225e3 100644 --- a/google-stubs/ads/googleads/v14/errors/types/customer_sk_ad_network_conversion_value_schema_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/customer_sk_ad_network_conversion_value_schema_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomerSkAdNetworkConversionValueSchemaErrorEnum(proto.Message): class CustomerSkAdNetworkConversionValueSchemaError(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class CustomerSkAdNetworkConversionValueSchemaErrorEnum(proto.Message): INVALID_SCHEMA = 4 LINK_CODE_NOT_FOUND = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/customer_user_access_error.pyi b/google-stubs/ads/googleads/v14/errors/types/customer_user_access_error.pyi index fc98ce712..0f65ae95e 100644 --- a/google-stubs/ads/googleads/v14/errors/types/customer_user_access_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/customer_user_access_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomerUserAccessErrorEnum(proto.Message): class CustomerUserAccessError(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class CustomerUserAccessErrorEnum(proto.Message): LAST_ADMIN_USER_OF_SERVING_CUSTOMER = 5 LAST_ADMIN_USER_OF_MANAGER = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/customizer_attribute_error.pyi b/google-stubs/ads/googleads/v14/errors/types/customizer_attribute_error.pyi index 22b9ae0df..8c51c67a6 100644 --- a/google-stubs/ads/googleads/v14/errors/types/customizer_attribute_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/customizer_attribute_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomizerAttributeErrorEnum(proto.Message): class CustomizerAttributeError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 DUPLICATE_CUSTOMIZER_ATTRIBUTE_NAME = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/database_error.pyi b/google-stubs/ads/googleads/v14/errors/types/database_error.pyi index b2c56bfc5..9f7a374b7 100644 --- a/google-stubs/ads/googleads/v14/errors/types/database_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/database_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class DatabaseErrorEnum(proto.Message): class DatabaseError(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class DatabaseErrorEnum(proto.Message): DATA_CONSTRAINT_VIOLATION = 3 REQUEST_TOO_LARGE = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/date_error.pyi b/google-stubs/ads/googleads/v14/errors/types/date_error.pyi index 510f83e37..ebe09dcaa 100644 --- a/google-stubs/ads/googleads/v14/errors/types/date_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/date_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class DateErrorEnum(proto.Message): class DateError(proto.Enum): UNSPECIFIED = 0 @@ -17,8 +21,8 @@ class DateErrorEnum(proto.Message): DATE_RANGE_MINIMUM_DATE_LATER_THAN_MAXIMUM_DATE = 9 DATE_RANGE_MINIMUM_AND_MAXIMUM_DATES_BOTH_NULL = 10 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/date_range_error.pyi b/google-stubs/ads/googleads/v14/errors/types/date_range_error.pyi index 4bfc8a944..44f0e1a3f 100644 --- a/google-stubs/ads/googleads/v14/errors/types/date_range_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/date_range_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class DateRangeErrorEnum(proto.Message): class DateRangeError(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class DateRangeErrorEnum(proto.Message): AFTER_MAXIMUM_ALLOWABLE_DATE = 5 CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/distinct_error.pyi b/google-stubs/ads/googleads/v14/errors/types/distinct_error.pyi index d3e3ab805..36a4a6701 100644 --- a/google-stubs/ads/googleads/v14/errors/types/distinct_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/distinct_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class DistinctErrorEnum(proto.Message): class DistinctError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class DistinctErrorEnum(proto.Message): DUPLICATE_ELEMENT = 2 DUPLICATE_TYPE = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/enum_error.pyi b/google-stubs/ads/googleads/v14/errors/types/enum_error.pyi index 0d51287f1..f0a147085 100644 --- a/google-stubs/ads/googleads/v14/errors/types/enum_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/enum_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class EnumErrorEnum(proto.Message): class EnumError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 ENUM_VALUE_NOT_PERMITTED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/errors.pyi b/google-stubs/ads/googleads/v14/errors/types/errors.pyi index 614cefa0a..3f1a640c1 100644 --- a/google-stubs/ads/googleads/v14/errors/types/errors.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/errors.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.duration_pb2 import Duration @@ -339,6 +340,8 @@ from google.ads.googleads.v14.errors.types.youtube_video_registration_error impo YoutubeVideoRegistrationErrorEnum, ) +_M = TypeVar("_M") + class ErrorCode(proto.Message): request_error: RequestErrorEnum.RequestError bidding_strategy_error: BiddingStrategyErrorEnum.BiddingStrategyError @@ -485,8 +488,8 @@ class ErrorCode(proto.Message): customer_sk_ad_network_conversion_value_schema_error: CustomerSkAdNetworkConversionValueSchemaErrorEnum.CustomerSkAdNetworkConversionValueSchemaError currency_error: CurrencyErrorEnum.CurrencyError def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., request_error: RequestErrorEnum.RequestError = ..., @@ -642,8 +645,8 @@ class ErrorDetails(proto.Message): quota_error_details: QuotaErrorDetails resource_count_details: ResourceCountDetails def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., unpublished_error_code: str = ..., @@ -658,8 +661,8 @@ class ErrorLocation(proto.Message): field_name: str index: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., field_name: str = ..., @@ -667,8 +670,8 @@ class ErrorLocation(proto.Message): ) -> None: ... field_path_elements: MutableSequence[ErrorLocation.FieldPathElement] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., field_path_elements: MutableSequence[ErrorLocation.FieldPathElement] = ... @@ -681,8 +684,8 @@ class GoogleAdsError(proto.Message): location: ErrorLocation details: ErrorDetails def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., error_code: ErrorCode = ..., @@ -696,8 +699,8 @@ class GoogleAdsFailure(proto.Message): errors: MutableSequence[GoogleAdsError] request_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., errors: MutableSequence[GoogleAdsError] = ..., @@ -707,8 +710,8 @@ class GoogleAdsFailure(proto.Message): class PolicyFindingDetails(proto.Message): policy_topic_entries: MutableSequence[PolicyTopicEntry] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., policy_topic_entries: MutableSequence[PolicyTopicEntry] = ... @@ -720,8 +723,8 @@ class PolicyViolationDetails(proto.Message): external_policy_name: str is_exemptible: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., external_policy_description: str = ..., @@ -740,8 +743,8 @@ class QuotaErrorDetails(proto.Message): rate_name: str retry_delay: Duration def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., rate_scope: QuotaErrorDetails.QuotaRateScope = ..., @@ -756,8 +759,8 @@ class ResourceCountDetails(proto.Message): limit_type: ResourceLimitTypeEnum.ResourceLimitType existing_count: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., enclosing_id: str = ..., diff --git a/google-stubs/ads/googleads/v14/errors/types/experiment_arm_error.pyi b/google-stubs/ads/googleads/v14/errors/types/experiment_arm_error.pyi index 68dd5576f..cf51a8fce 100644 --- a/google-stubs/ads/googleads/v14/errors/types/experiment_arm_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/experiment_arm_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ExperimentArmErrorEnum(proto.Message): class ExperimentArmError(proto.Enum): UNSPECIFIED = 0 @@ -21,8 +25,8 @@ class ExperimentArmErrorEnum(proto.Message): BIDDING_STRATEGY_NOT_SUPPORTED_IN_EXPERIMENTS = 14 TRAFFIC_SPLIT_NOT_SUPPORTED_FOR_CHANNEL_TYPE = 15 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/experiment_error.pyi b/google-stubs/ads/googleads/v14/errors/types/experiment_error.pyi index 3b22f1952..e28a46353 100644 --- a/google-stubs/ads/googleads/v14/errors/types/experiment_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/experiment_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ExperimentErrorEnum(proto.Message): class ExperimentError(proto.Enum): UNSPECIFIED = 0 @@ -34,8 +38,8 @@ class ExperimentErrorEnum(proto.Message): CANNOT_REMOVE_IN_CREATION_EXPERIMENT = 27 CANNOT_ADD_CAMPAIGN_WITH_DEPRECATED_AD_TYPES = 28 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/extension_feed_item_error.pyi b/google-stubs/ads/googleads/v14/errors/types/extension_feed_item_error.pyi index 75062086a..bace6103a 100644 --- a/google-stubs/ads/googleads/v14/errors/types/extension_feed_item_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/extension_feed_item_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ExtensionFeedItemErrorEnum(proto.Message): class ExtensionFeedItemError(proto.Enum): UNSPECIFIED = 0 @@ -52,8 +56,8 @@ class ExtensionFeedItemErrorEnum(proto.Message): CONCRETE_EXTENSION_TYPE_REQUIRED = 45 SCHEDULE_END_NOT_AFTER_START = 46 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/extension_setting_error.pyi b/google-stubs/ads/googleads/v14/errors/types/extension_setting_error.pyi index d19ec78c5..9f0fb58fe 100644 --- a/google-stubs/ads/googleads/v14/errors/types/extension_setting_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/extension_setting_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ExtensionSettingErrorEnum(proto.Message): class ExtensionSettingError(proto.Enum): UNSPECIFIED = 0 @@ -72,8 +76,8 @@ class ExtensionSettingErrorEnum(proto.Message): EXTENSION_SETTING_UPDATE_IS_A_NOOP = 67 DISALLOWED_TEXT = 68 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/feed_attribute_reference_error.pyi b/google-stubs/ads/googleads/v14/errors/types/feed_attribute_reference_error.pyi index 90dcc90ef..105883e1f 100644 --- a/google-stubs/ads/googleads/v14/errors/types/feed_attribute_reference_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/feed_attribute_reference_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedAttributeReferenceErrorEnum(proto.Message): class FeedAttributeReferenceError(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class FeedAttributeReferenceErrorEnum(proto.Message): INVALID_FEED_NAME = 3 INVALID_FEED_ATTRIBUTE_NAME = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/feed_error.pyi b/google-stubs/ads/googleads/v14/errors/types/feed_error.pyi index c31999db2..7a8a523c7 100644 --- a/google-stubs/ads/googleads/v14/errors/types/feed_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/feed_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedErrorEnum(proto.Message): class FeedError(proto.Enum): UNSPECIFIED = 0 @@ -30,8 +34,8 @@ class FeedErrorEnum(proto.Message): CANNOT_HAVE_LOCATION_AND_AFFILIATE_LOCATION_FEEDS = 23 LEGACY_EXTENSION_TYPE_READ_ONLY = 24 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/feed_item_error.pyi b/google-stubs/ads/googleads/v14/errors/types/feed_item_error.pyi index df6b746ce..dfbc19a2d 100644 --- a/google-stubs/ads/googleads/v14/errors/types/feed_item_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/feed_item_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedItemErrorEnum(proto.Message): class FeedItemError(proto.Enum): UNSPECIFIED = 0 @@ -17,8 +21,8 @@ class FeedItemErrorEnum(proto.Message): SIZE_TOO_LARGE_FOR_MULTI_VALUE_ATTRIBUTE = 10 LEGACY_FEED_TYPE_READ_ONLY = 11 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/feed_item_set_error.pyi b/google-stubs/ads/googleads/v14/errors/types/feed_item_set_error.pyi index 3c08af59f..334cd61ed 100644 --- a/google-stubs/ads/googleads/v14/errors/types/feed_item_set_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/feed_item_set_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedItemSetErrorEnum(proto.Message): class FeedItemSetError(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class FeedItemSetErrorEnum(proto.Message): WRONG_DYNAMIC_FILTER_FOR_FEED_TYPE = 7 DYNAMIC_FILTER_INVALID_CHAIN_IDS = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/feed_item_set_link_error.pyi b/google-stubs/ads/googleads/v14/errors/types/feed_item_set_link_error.pyi index cf09206d1..256ee23c2 100644 --- a/google-stubs/ads/googleads/v14/errors/types/feed_item_set_link_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/feed_item_set_link_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedItemSetLinkErrorEnum(proto.Message): class FeedItemSetLinkError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class FeedItemSetLinkErrorEnum(proto.Message): FEED_ID_MISMATCH = 2 NO_MUTATE_ALLOWED_FOR_DYNAMIC_SET = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/feed_item_target_error.pyi b/google-stubs/ads/googleads/v14/errors/types/feed_item_target_error.pyi index a920b704e..3bfc13b61 100644 --- a/google-stubs/ads/googleads/v14/errors/types/feed_item_target_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/feed_item_target_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedItemTargetErrorEnum(proto.Message): class FeedItemTargetError(proto.Enum): UNSPECIFIED = 0 @@ -15,8 +19,8 @@ class FeedItemTargetErrorEnum(proto.Message): DUPLICATE_AD_SCHEDULE = 8 DUPLICATE_KEYWORD = 9 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/feed_item_validation_error.pyi b/google-stubs/ads/googleads/v14/errors/types/feed_item_validation_error.pyi index 34b1a3e29..6750522f4 100644 --- a/google-stubs/ads/googleads/v14/errors/types/feed_item_validation_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/feed_item_validation_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedItemValidationErrorEnum(proto.Message): class FeedItemValidationError(proto.Enum): UNSPECIFIED = 0 @@ -112,8 +116,8 @@ class FeedItemValidationErrorEnum(proto.Message): IMAGE_ERROR_CONSTRAINTS_VIOLATED = 106 IMAGE_ERROR_SERVER_ERROR = 107 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/feed_mapping_error.pyi b/google-stubs/ads/googleads/v14/errors/types/feed_mapping_error.pyi index 52d6acc83..2f5bd13b7 100644 --- a/google-stubs/ads/googleads/v14/errors/types/feed_mapping_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/feed_mapping_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedMappingErrorEnum(proto.Message): class FeedMappingError(proto.Enum): UNSPECIFIED = 0 @@ -25,8 +29,8 @@ class FeedMappingErrorEnum(proto.Message): ATTRIBUTE_FIELD_MAPPING_MISSING_FIELD = 19 LEGACY_FEED_TYPE_READ_ONLY = 20 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/field_error.pyi b/google-stubs/ads/googleads/v14/errors/types/field_error.pyi index 4f6e4fd47..9d1b8ec93 100644 --- a/google-stubs/ads/googleads/v14/errors/types/field_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/field_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FieldErrorEnum(proto.Message): class FieldError(proto.Enum): UNSPECIFIED = 0 @@ -15,8 +19,8 @@ class FieldErrorEnum(proto.Message): BLOCKED_VALUE = 9 FIELD_CAN_ONLY_BE_CLEARED = 10 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/field_mask_error.pyi b/google-stubs/ads/googleads/v14/errors/types/field_mask_error.pyi index ac20091e5..2713485c7 100644 --- a/google-stubs/ads/googleads/v14/errors/types/field_mask_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/field_mask_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FieldMaskErrorEnum(proto.Message): class FieldMaskError(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class FieldMaskErrorEnum(proto.Message): FIELD_NOT_FOUND = 2 FIELD_HAS_SUBFIELDS = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/function_error.pyi b/google-stubs/ads/googleads/v14/errors/types/function_error.pyi index f99e8c76e..86b5f59bc 100644 --- a/google-stubs/ads/googleads/v14/errors/types/function_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/function_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FunctionErrorEnum(proto.Message): class FunctionError(proto.Enum): UNSPECIFIED = 0 @@ -23,8 +27,8 @@ class FunctionErrorEnum(proto.Message): INVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA = 16 INVALID_ATTRIBUTE_NAME = 17 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/function_parsing_error.pyi b/google-stubs/ads/googleads/v14/errors/types/function_parsing_error.pyi index 39a65a19b..34787a22b 100644 --- a/google-stubs/ads/googleads/v14/errors/types/function_parsing_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/function_parsing_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FunctionParsingErrorEnum(proto.Message): class FunctionParsingError(proto.Enum): UNSPECIFIED = 0 @@ -18,8 +22,8 @@ class FunctionParsingErrorEnum(proto.Message): NO_OPERANDS = 11 TOO_MANY_OPERANDS = 12 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/geo_target_constant_suggestion_error.pyi b/google-stubs/ads/googleads/v14/errors/types/geo_target_constant_suggestion_error.pyi index 58d5a3d3f..3ed4dc1a9 100644 --- a/google-stubs/ads/googleads/v14/errors/types/geo_target_constant_suggestion_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/geo_target_constant_suggestion_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class GeoTargetConstantSuggestionErrorEnum(proto.Message): class GeoTargetConstantSuggestionError(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class GeoTargetConstantSuggestionErrorEnum(proto.Message): INVALID_COUNTRY_CODE = 4 REQUEST_PARAMETERS_UNSET = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/header_error.pyi b/google-stubs/ads/googleads/v14/errors/types/header_error.pyi index d880d6d37..5d2239436 100644 --- a/google-stubs/ads/googleads/v14/errors/types/header_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/header_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class HeaderErrorEnum(proto.Message): class HeaderError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class HeaderErrorEnum(proto.Message): INVALID_LOGIN_CUSTOMER_ID = 3 INVALID_LINKED_CUSTOMER_ID = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/id_error.pyi b/google-stubs/ads/googleads/v14/errors/types/id_error.pyi index ce3d0c6b4..27d303276 100644 --- a/google-stubs/ads/googleads/v14/errors/types/id_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/id_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class IdErrorEnum(proto.Message): class IdError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 NOT_FOUND = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/image_error.pyi b/google-stubs/ads/googleads/v14/errors/types/image_error.pyi index b2eba91f6..eceecab1d 100644 --- a/google-stubs/ads/googleads/v14/errors/types/image_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/image_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ImageErrorEnum(proto.Message): class ImageError(proto.Enum): UNSPECIFIED = 0 @@ -46,8 +50,8 @@ class ImageErrorEnum(proto.Message): IMAGE_CONSTRAINTS_VIOLATED = 39 FORMAT_NOT_ALLOWED = 40 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/internal_error.pyi b/google-stubs/ads/googleads/v14/errors/types/internal_error.pyi index db0faa58f..14b607589 100644 --- a/google-stubs/ads/googleads/v14/errors/types/internal_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/internal_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class InternalErrorEnum(proto.Message): class InternalError(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class InternalErrorEnum(proto.Message): TRANSIENT_ERROR = 4 DEADLINE_EXCEEDED = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/invoice_error.pyi b/google-stubs/ads/googleads/v14/errors/types/invoice_error.pyi index d18769636..7685c23ef 100644 --- a/google-stubs/ads/googleads/v14/errors/types/invoice_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/invoice_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class InvoiceErrorEnum(proto.Message): class InvoiceError(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class InvoiceErrorEnum(proto.Message): BILLING_SETUP_NOT_ON_MONTHLY_INVOICING = 5 NON_SERVING_CUSTOMER = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/keyword_plan_ad_group_error.pyi b/google-stubs/ads/googleads/v14/errors/types/keyword_plan_ad_group_error.pyi index 599095df9..8abed8ee2 100644 --- a/google-stubs/ads/googleads/v14/errors/types/keyword_plan_ad_group_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/keyword_plan_ad_group_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class KeywordPlanAdGroupErrorEnum(proto.Message): class KeywordPlanAdGroupError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class KeywordPlanAdGroupErrorEnum(proto.Message): INVALID_NAME = 2 DUPLICATE_NAME = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/keyword_plan_ad_group_keyword_error.pyi b/google-stubs/ads/googleads/v14/errors/types/keyword_plan_ad_group_keyword_error.pyi index e84505178..baa1ca73b 100644 --- a/google-stubs/ads/googleads/v14/errors/types/keyword_plan_ad_group_keyword_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/keyword_plan_ad_group_keyword_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class KeywordPlanAdGroupKeywordErrorEnum(proto.Message): class KeywordPlanAdGroupKeywordError(proto.Enum): UNSPECIFIED = 0 @@ -15,8 +19,8 @@ class KeywordPlanAdGroupKeywordErrorEnum(proto.Message): NEGATIVE_KEYWORD_HAS_CPC_BID = 8 NEW_BMM_KEYWORDS_NOT_ALLOWED = 9 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/keyword_plan_campaign_error.pyi b/google-stubs/ads/googleads/v14/errors/types/keyword_plan_campaign_error.pyi index d03e01156..f9b8c3ea6 100644 --- a/google-stubs/ads/googleads/v14/errors/types/keyword_plan_campaign_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/keyword_plan_campaign_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class KeywordPlanCampaignErrorEnum(proto.Message): class KeywordPlanCampaignError(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class KeywordPlanCampaignErrorEnum(proto.Message): MAX_GEOS_EXCEEDED = 6 MAX_LANGUAGES_EXCEEDED = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/keyword_plan_campaign_keyword_error.pyi b/google-stubs/ads/googleads/v14/errors/types/keyword_plan_campaign_keyword_error.pyi index ba301b897..9ff1bbab1 100644 --- a/google-stubs/ads/googleads/v14/errors/types/keyword_plan_campaign_keyword_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/keyword_plan_campaign_keyword_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class KeywordPlanCampaignKeywordErrorEnum(proto.Message): class KeywordPlanCampaignKeywordError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 CAMPAIGN_KEYWORD_IS_POSITIVE = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/keyword_plan_error.pyi b/google-stubs/ads/googleads/v14/errors/types/keyword_plan_error.pyi index bbd4c02fe..8431c0f69 100644 --- a/google-stubs/ads/googleads/v14/errors/types/keyword_plan_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/keyword_plan_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class KeywordPlanErrorEnum(proto.Message): class KeywordPlanError(proto.Enum): UNSPECIFIED = 0 @@ -21,8 +25,8 @@ class KeywordPlanErrorEnum(proto.Message): INVALID_FORECAST_DATE_RANGE = 15 INVALID_NAME = 16 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/keyword_plan_idea_error.pyi b/google-stubs/ads/googleads/v14/errors/types/keyword_plan_idea_error.pyi index 0bea5157b..cbccaaf60 100644 --- a/google-stubs/ads/googleads/v14/errors/types/keyword_plan_idea_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/keyword_plan_idea_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class KeywordPlanIdeaErrorEnum(proto.Message): class KeywordPlanIdeaError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class KeywordPlanIdeaErrorEnum(proto.Message): URL_CRAWL_ERROR = 2 INVALID_VALUE = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/label_error.pyi b/google-stubs/ads/googleads/v14/errors/types/label_error.pyi index d8207fe5b..d1648ace3 100644 --- a/google-stubs/ads/googleads/v14/errors/types/label_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/label_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LabelErrorEnum(proto.Message): class LabelError(proto.Enum): UNSPECIFIED = 0 @@ -16,8 +20,8 @@ class LabelErrorEnum(proto.Message): CANNOT_ATTACH_LABEL_TO_DRAFT = 9 CANNOT_ATTACH_NON_MANAGER_LABEL_TO_CUSTOMER = 10 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/language_code_error.pyi b/google-stubs/ads/googleads/v14/errors/types/language_code_error.pyi index 2bce8afb0..857ef1991 100644 --- a/google-stubs/ads/googleads/v14/errors/types/language_code_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/language_code_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LanguageCodeErrorEnum(proto.Message): class LanguageCodeError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class LanguageCodeErrorEnum(proto.Message): LANGUAGE_CODE_NOT_FOUND = 2 INVALID_LANGUAGE_CODE = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/list_operation_error.pyi b/google-stubs/ads/googleads/v14/errors/types/list_operation_error.pyi index 532872bc7..4eb66d7a9 100644 --- a/google-stubs/ads/googleads/v14/errors/types/list_operation_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/list_operation_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ListOperationErrorEnum(proto.Message): class ListOperationError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class ListOperationErrorEnum(proto.Message): REQUIRED_FIELD_MISSING = 7 DUPLICATE_VALUES = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/manager_link_error.pyi b/google-stubs/ads/googleads/v14/errors/types/manager_link_error.pyi index 01c1a0f23..d4acda6c2 100644 --- a/google-stubs/ads/googleads/v14/errors/types/manager_link_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/manager_link_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ManagerLinkErrorEnum(proto.Message): class ManagerLinkError(proto.Enum): UNSPECIFIED = 0 @@ -26,8 +30,8 @@ class ManagerLinkErrorEnum(proto.Message): CUSTOMER_CANNOT_MANAGE_SELF = 19 CREATING_ENABLED_LINK_NOT_ALLOWED = 20 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/media_bundle_error.pyi b/google-stubs/ads/googleads/v14/errors/types/media_bundle_error.pyi index 801fc656e..aab91c4b9 100644 --- a/google-stubs/ads/googleads/v14/errors/types/media_bundle_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/media_bundle_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MediaBundleErrorEnum(proto.Message): class MediaBundleError(proto.Enum): UNSPECIFIED = 0 @@ -29,8 +33,8 @@ class MediaBundleErrorEnum(proto.Message): URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT = 23 CUSTOM_EXIT_NOT_ALLOWED = 24 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/media_file_error.pyi b/google-stubs/ads/googleads/v14/errors/types/media_file_error.pyi index 45a44b8a0..e116834a8 100644 --- a/google-stubs/ads/googleads/v14/errors/types/media_file_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/media_file_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MediaFileErrorEnum(proto.Message): class MediaFileError(proto.Enum): UNSPECIFIED = 0 @@ -30,8 +34,8 @@ class MediaFileErrorEnum(proto.Message): YOU_TUBE_VIDEO_HAS_NON_POSITIVE_DURATION = 23 YOU_TUBE_VIDEO_NOT_FOUND = 24 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/media_upload_error.pyi b/google-stubs/ads/googleads/v14/errors/types/media_upload_error.pyi index af97b7194..7a670c216 100644 --- a/google-stubs/ads/googleads/v14/errors/types/media_upload_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/media_upload_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MediaUploadErrorEnum(proto.Message): class MediaUploadError(proto.Enum): UNSPECIFIED = 0 @@ -41,8 +45,8 @@ class MediaUploadErrorEnum(proto.Message): CANNOT_UPLOAD_MEDIA_TYPE_THROUGH_API = 34 DIMENSIONS_NOT_ALLOWED = 35 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/merchant_center_error.pyi b/google-stubs/ads/googleads/v14/errors/types/merchant_center_error.pyi index 5034598f0..f8acb4528 100644 --- a/google-stubs/ads/googleads/v14/errors/types/merchant_center_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/merchant_center_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MerchantCenterErrorEnum(proto.Message): class MerchantCenterError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class MerchantCenterErrorEnum(proto.Message): MERCHANT_ID_CANNOT_BE_ACCESSED = 2 CUSTOMER_NOT_ALLOWED_FOR_SHOPPING_PERFORMANCE_MAX = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/multiplier_error.pyi b/google-stubs/ads/googleads/v14/errors/types/multiplier_error.pyi index 36cf77cba..84dd85e53 100644 --- a/google-stubs/ads/googleads/v14/errors/types/multiplier_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/multiplier_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MultiplierErrorEnum(proto.Message): class MultiplierError(proto.Enum): UNSPECIFIED = 0 @@ -19,8 +23,8 @@ class MultiplierErrorEnum(proto.Message): BID_LESS_THAN_MIN_ALLOWED_BID_WITH_MULTIPLIER = 12 MULTIPLIER_AND_BIDDING_STRATEGY_TYPE_MISMATCH = 13 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/mutate_error.pyi b/google-stubs/ads/googleads/v14/errors/types/mutate_error.pyi index 7f1591eae..7225986e3 100644 --- a/google-stubs/ads/googleads/v14/errors/types/mutate_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/mutate_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MutateErrorEnum(proto.Message): class MutateError(proto.Enum): UNSPECIFIED = 0 @@ -16,8 +20,8 @@ class MutateErrorEnum(proto.Message): OPERATION_DOES_NOT_SUPPORT_PARTIAL_FAILURE = 16 RESOURCE_READ_ONLY = 13 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/new_resource_creation_error.pyi b/google-stubs/ads/googleads/v14/errors/types/new_resource_creation_error.pyi index bbae6c65e..5bc7d94f9 100644 --- a/google-stubs/ads/googleads/v14/errors/types/new_resource_creation_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/new_resource_creation_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class NewResourceCreationErrorEnum(proto.Message): class NewResourceCreationError(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class NewResourceCreationErrorEnum(proto.Message): DUPLICATE_TEMP_IDS = 3 TEMP_ID_RESOURCE_HAD_ERRORS = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/not_allowlisted_error.pyi b/google-stubs/ads/googleads/v14/errors/types/not_allowlisted_error.pyi index 980794065..23698cc90 100644 --- a/google-stubs/ads/googleads/v14/errors/types/not_allowlisted_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/not_allowlisted_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class NotAllowlistedErrorEnum(proto.Message): class NotAllowlistedError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 CUSTOMER_NOT_ALLOWLISTED_FOR_THIS_FEATURE = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/not_empty_error.pyi b/google-stubs/ads/googleads/v14/errors/types/not_empty_error.pyi index 95ff3420a..ae56769b3 100644 --- a/google-stubs/ads/googleads/v14/errors/types/not_empty_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/not_empty_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class NotEmptyErrorEnum(proto.Message): class NotEmptyError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 EMPTY_LIST = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/null_error.pyi b/google-stubs/ads/googleads/v14/errors/types/null_error.pyi index 5895335a1..70609249e 100644 --- a/google-stubs/ads/googleads/v14/errors/types/null_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/null_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class NullErrorEnum(proto.Message): class NullError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 NULL_CONTENT = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/offline_user_data_job_error.pyi b/google-stubs/ads/googleads/v14/errors/types/offline_user_data_job_error.pyi index d38a2c449..b69eedcf9 100644 --- a/google-stubs/ads/googleads/v14/errors/types/offline_user_data_job_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/offline_user_data_job_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class OfflineUserDataJobErrorEnum(proto.Message): class OfflineUserDataJobError(proto.Enum): UNSPECIFIED = 0 @@ -45,8 +49,8 @@ class OfflineUserDataJobErrorEnum(proto.Message): INVALID_EVENT_VALUE = 44 EVENT_ATTRIBUTE_ALL_FIELDS_ARE_REQUIRED = 45 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/operation_access_denied_error.pyi b/google-stubs/ads/googleads/v14/errors/types/operation_access_denied_error.pyi index 5e558f7ef..efa19ff83 100644 --- a/google-stubs/ads/googleads/v14/errors/types/operation_access_denied_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/operation_access_denied_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class OperationAccessDeniedErrorEnum(proto.Message): class OperationAccessDeniedError(proto.Enum): UNSPECIFIED = 0 @@ -17,8 +21,8 @@ class OperationAccessDeniedErrorEnum(proto.Message): OPERATION_NOT_PERMITTED_FOR_AD_GROUP_TYPE = 10 MUTATE_NOT_PERMITTED_FOR_CUSTOMER = 11 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/operator_error.pyi b/google-stubs/ads/googleads/v14/errors/types/operator_error.pyi index c8fe2fe28..4b730af5c 100644 --- a/google-stubs/ads/googleads/v14/errors/types/operator_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/operator_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class OperatorErrorEnum(proto.Message): class OperatorError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 OPERATOR_NOT_SUPPORTED = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/partial_failure_error.pyi b/google-stubs/ads/googleads/v14/errors/types/partial_failure_error.pyi index 8eae8768e..1e5edc93d 100644 --- a/google-stubs/ads/googleads/v14/errors/types/partial_failure_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/partial_failure_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PartialFailureErrorEnum(proto.Message): class PartialFailureError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 PARTIAL_FAILURE_MODE_REQUIRED = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/payments_account_error.pyi b/google-stubs/ads/googleads/v14/errors/types/payments_account_error.pyi index c5ccc044d..2bcc37a84 100644 --- a/google-stubs/ads/googleads/v14/errors/types/payments_account_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/payments_account_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PaymentsAccountErrorEnum(proto.Message): class PaymentsAccountError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 NOT_SUPPORTED_FOR_MANAGER_CUSTOMER = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/policy_finding_error.pyi b/google-stubs/ads/googleads/v14/errors/types/policy_finding_error.pyi index 157f2dc22..456962e8d 100644 --- a/google-stubs/ads/googleads/v14/errors/types/policy_finding_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/policy_finding_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PolicyFindingErrorEnum(proto.Message): class PolicyFindingError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class PolicyFindingErrorEnum(proto.Message): POLICY_FINDING = 2 POLICY_TOPIC_NOT_FOUND = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/policy_validation_parameter_error.pyi b/google-stubs/ads/googleads/v14/errors/types/policy_validation_parameter_error.pyi index db1bf2a84..46b9d4dd2 100644 --- a/google-stubs/ads/googleads/v14/errors/types/policy_validation_parameter_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/policy_validation_parameter_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PolicyValidationParameterErrorEnum(proto.Message): class PolicyValidationParameterError(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class PolicyValidationParameterErrorEnum(proto.Message): UNSUPPORTED_AD_TYPE_FOR_EXEMPT_POLICY_VIOLATION_KEYS = 3 CANNOT_SET_BOTH_IGNORABLE_POLICY_TOPICS_AND_EXEMPT_POLICY_VIOLATION_KEYS = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/policy_violation_error.pyi b/google-stubs/ads/googleads/v14/errors/types/policy_violation_error.pyi index 358590000..85259e732 100644 --- a/google-stubs/ads/googleads/v14/errors/types/policy_violation_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/policy_violation_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PolicyViolationErrorEnum(proto.Message): class PolicyViolationError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 POLICY_ERROR = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/query_error.pyi b/google-stubs/ads/googleads/v14/errors/types/query_error.pyi index 79e17cb1f..90721f404 100644 --- a/google-stubs/ads/googleads/v14/errors/types/query_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/query_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class QueryErrorEnum(proto.Message): class QueryError(proto.Enum): UNSPECIFIED = 0 @@ -62,8 +66,8 @@ class QueryErrorEnum(proto.Message): REQUESTED_METRICS_FOR_MANAGER = 59 FILTER_HAS_TOO_MANY_VALUES = 63 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/quota_error.pyi b/google-stubs/ads/googleads/v14/errors/types/quota_error.pyi index 0a6248e38..43f75ed77 100644 --- a/google-stubs/ads/googleads/v14/errors/types/quota_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/quota_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class QuotaErrorEnum(proto.Message): class QuotaError(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class QuotaErrorEnum(proto.Message): ACCESS_PROHIBITED = 3 RESOURCE_TEMPORARILY_EXHAUSTED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/range_error.pyi b/google-stubs/ads/googleads/v14/errors/types/range_error.pyi index 859b69ef8..c025f726e 100644 --- a/google-stubs/ads/googleads/v14/errors/types/range_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/range_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class RangeErrorEnum(proto.Message): class RangeError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class RangeErrorEnum(proto.Message): TOO_LOW = 2 TOO_HIGH = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/reach_plan_error.pyi b/google-stubs/ads/googleads/v14/errors/types/reach_plan_error.pyi index be100a938..19b4e9816 100644 --- a/google-stubs/ads/googleads/v14/errors/types/reach_plan_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/reach_plan_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ReachPlanErrorEnum(proto.Message): class ReachPlanError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 NOT_FORECASTABLE_MISSING_RATE = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/recommendation_error.pyi b/google-stubs/ads/googleads/v14/errors/types/recommendation_error.pyi index 3530687a1..2a71201bb 100644 --- a/google-stubs/ads/googleads/v14/errors/types/recommendation_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/recommendation_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class RecommendationErrorEnum(proto.Message): class RecommendationError(proto.Enum): UNSPECIFIED = 0 @@ -23,8 +27,8 @@ class RecommendationErrorEnum(proto.Message): RECOMMENDATION_TYPE_APPLY_NOT_SUPPORTED = 17 INVALID_MULTIPLIER = 18 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/region_code_error.pyi b/google-stubs/ads/googleads/v14/errors/types/region_code_error.pyi index 2a6f21dec..49fd29ff2 100644 --- a/google-stubs/ads/googleads/v14/errors/types/region_code_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/region_code_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class RegionCodeErrorEnum(proto.Message): class RegionCodeError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 INVALID_REGION_CODE = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/request_error.pyi b/google-stubs/ads/googleads/v14/errors/types/request_error.pyi index 9e39f31cf..ad0a4167e 100644 --- a/google-stubs/ads/googleads/v14/errors/types/request_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/request_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class RequestErrorEnum(proto.Message): class RequestError(proto.Enum): UNSPECIFIED = 0 @@ -32,8 +36,8 @@ class RequestErrorEnum(proto.Message): UNSUPPORTED_VERSION = 38 CLOUD_PROJECT_NOT_FOUND = 39 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/resource_access_denied_error.pyi b/google-stubs/ads/googleads/v14/errors/types/resource_access_denied_error.pyi index bca8554c2..03c253af6 100644 --- a/google-stubs/ads/googleads/v14/errors/types/resource_access_denied_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/resource_access_denied_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ResourceAccessDeniedErrorEnum(proto.Message): class ResourceAccessDeniedError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 WRITE_ACCESS_DENIED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/resource_count_limit_exceeded_error.pyi b/google-stubs/ads/googleads/v14/errors/types/resource_count_limit_exceeded_error.pyi index 89e0efb0e..fbac68c12 100644 --- a/google-stubs/ads/googleads/v14/errors/types/resource_count_limit_exceeded_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/resource_count_limit_exceeded_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ResourceCountLimitExceededErrorEnum(proto.Message): class ResourceCountLimitExceededError(proto.Enum): UNSPECIFIED = 0 @@ -16,8 +20,8 @@ class ResourceCountLimitExceededErrorEnum(proto.Message): RESPONSE_ROW_LIMIT_EXCEEDED = 9 RESOURCE_LIMIT = 10 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/search_term_insight_error.pyi b/google-stubs/ads/googleads/v14/errors/types/search_term_insight_error.pyi index 8d9a80eb1..465f7d46c 100644 --- a/google-stubs/ads/googleads/v14/errors/types/search_term_insight_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/search_term_insight_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SearchTermInsightErrorEnum(proto.Message): class SearchTermInsightError(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class SearchTermInsightErrorEnum(proto.Message): SORTING_NOT_ALLOWED_WITH_SEGMENTS = 6 SUMMARY_ROW_NOT_ALLOWED_WITH_SEGMENTS = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/setting_error.pyi b/google-stubs/ads/googleads/v14/errors/types/setting_error.pyi index 93217c866..0037dcce1 100644 --- a/google-stubs/ads/googleads/v14/errors/types/setting_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/setting_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SettingErrorEnum(proto.Message): class SettingError(proto.Enum): UNSPECIFIED = 0 @@ -23,8 +27,8 @@ class SettingErrorEnum(proto.Message): SETTING_VALUE_NOT_COMPATIBLE_WITH_CAMPAIGN = 20 BID_ONLY_IS_NOT_ALLOWED_TO_BE_MODIFIED_WITH_CUSTOMER_MATCH_TARGETING = 21 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/shared_criterion_error.pyi b/google-stubs/ads/googleads/v14/errors/types/shared_criterion_error.pyi index f00c2c7e1..8909cff48 100644 --- a/google-stubs/ads/googleads/v14/errors/types/shared_criterion_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/shared_criterion_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SharedCriterionErrorEnum(proto.Message): class SharedCriterionError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 CRITERION_TYPE_NOT_ALLOWED_FOR_SHARED_SET_TYPE = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/shared_set_error.pyi b/google-stubs/ads/googleads/v14/errors/types/shared_set_error.pyi index bf3a2a346..6d3dd53b9 100644 --- a/google-stubs/ads/googleads/v14/errors/types/shared_set_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/shared_set_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SharedSetErrorEnum(proto.Message): class SharedSetError(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class SharedSetErrorEnum(proto.Message): SHARED_SET_REMOVED = 4 SHARED_SET_IN_USE = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/size_limit_error.pyi b/google-stubs/ads/googleads/v14/errors/types/size_limit_error.pyi index 9dfc78703..61df7d4a8 100644 --- a/google-stubs/ads/googleads/v14/errors/types/size_limit_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/size_limit_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SizeLimitErrorEnum(proto.Message): class SizeLimitError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class SizeLimitErrorEnum(proto.Message): REQUEST_SIZE_LIMIT_EXCEEDED = 2 RESPONSE_SIZE_LIMIT_EXCEEDED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/smart_campaign_error.pyi b/google-stubs/ads/googleads/v14/errors/types/smart_campaign_error.pyi index 173c3edb1..10095a2bd 100644 --- a/google-stubs/ads/googleads/v14/errors/types/smart_campaign_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/smart_campaign_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SmartCampaignErrorEnum(proto.Message): class SmartCampaignError(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class SmartCampaignErrorEnum(proto.Message): CANNOT_DETERMINE_SUGGESTION_LOCALE = 7 FINAL_URL_NOT_CRAWLABLE = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/string_format_error.pyi b/google-stubs/ads/googleads/v14/errors/types/string_format_error.pyi index d20fc6ae9..596b13696 100644 --- a/google-stubs/ads/googleads/v14/errors/types/string_format_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/string_format_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class StringFormatErrorEnum(proto.Message): class StringFormatError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class StringFormatErrorEnum(proto.Message): ILLEGAL_CHARS = 2 INVALID_FORMAT = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/string_length_error.pyi b/google-stubs/ads/googleads/v14/errors/types/string_length_error.pyi index 8beb0ac1c..d91ad821f 100644 --- a/google-stubs/ads/googleads/v14/errors/types/string_length_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/string_length_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class StringLengthErrorEnum(proto.Message): class StringLengthError(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class StringLengthErrorEnum(proto.Message): TOO_SHORT = 2 TOO_LONG = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/third_party_app_analytics_link_error.pyi b/google-stubs/ads/googleads/v14/errors/types/third_party_app_analytics_link_error.pyi index df48fe954..aa681dff7 100644 --- a/google-stubs/ads/googleads/v14/errors/types/third_party_app_analytics_link_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/third_party_app_analytics_link_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ThirdPartyAppAnalyticsLinkErrorEnum(proto.Message): class ThirdPartyAppAnalyticsLinkError(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class ThirdPartyAppAnalyticsLinkErrorEnum(proto.Message): MOBILE_APP_IS_NOT_ENABLED = 4 CANNOT_REGENERATE_SHAREABLE_LINK_ID_FOR_REMOVED_LINK = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/time_zone_error.pyi b/google-stubs/ads/googleads/v14/errors/types/time_zone_error.pyi index a7954a497..0ecdd3962 100644 --- a/google-stubs/ads/googleads/v14/errors/types/time_zone_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/time_zone_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class TimeZoneErrorEnum(proto.Message): class TimeZoneError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 INVALID_TIME_ZONE = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/url_field_error.pyi b/google-stubs/ads/googleads/v14/errors/types/url_field_error.pyi index 1ceae7042..ce39628dc 100644 --- a/google-stubs/ads/googleads/v14/errors/types/url_field_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/url_field_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UrlFieldErrorEnum(proto.Message): class UrlFieldError(proto.Enum): UNSPECIFIED = 0 @@ -60,8 +64,8 @@ class UrlFieldErrorEnum(proto.Message): NULL_CUSTOM_PARAMETER_VALUE = 57 VALUE_TRACK_PARAMETER_NOT_SUPPORTED = 58 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/user_data_error.pyi b/google-stubs/ads/googleads/v14/errors/types/user_data_error.pyi index cd773b236..872a37e9a 100644 --- a/google-stubs/ads/googleads/v14/errors/types/user_data_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/user_data_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserDataErrorEnum(proto.Message): class UserDataError(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class UserDataErrorEnum(proto.Message): TOO_MANY_USER_IDENTIFIERS = 3 USER_LIST_NOT_APPLICABLE = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/user_list_error.pyi b/google-stubs/ads/googleads/v14/errors/types/user_list_error.pyi index 73a4d5e9c..78bb0b8ce 100644 --- a/google-stubs/ads/googleads/v14/errors/types/user_list_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/user_list_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserListErrorEnum(proto.Message): class UserListError(proto.Enum): UNSPECIFIED = 0 @@ -36,8 +40,8 @@ class UserListErrorEnum(proto.Message): CANNOT_MUTATE_SYSTEM_LIST = 40 MOBILE_APP_IS_SENSITIVE = 41 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/errors/types/youtube_video_registration_error.pyi b/google-stubs/ads/googleads/v14/errors/types/youtube_video_registration_error.pyi index c59513eaf..da2dbeae7 100644 --- a/google-stubs/ads/googleads/v14/errors/types/youtube_video_registration_error.pyi +++ b/google-stubs/ads/googleads/v14/errors/types/youtube_video_registration_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class YoutubeVideoRegistrationErrorEnum(proto.Message): class YoutubeVideoRegistrationError(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class YoutubeVideoRegistrationErrorEnum(proto.Message): VIDEO_NOT_ACCESSIBLE = 3 VIDEO_NOT_ELIGIBLE = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/resources/types/accessible_bidding_strategy.pyi b/google-stubs/ads/googleads/v14/resources/types/accessible_bidding_strategy.pyi index b86883699..43adb1da5 100644 --- a/google-stubs/ads/googleads/v14/resources/types/accessible_bidding_strategy.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/accessible_bidding_strategy.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.bidding_strategy_type import ( @@ -9,12 +11,14 @@ from google.ads.googleads.v14.enums.types.target_impression_share_location impor TargetImpressionShareLocationEnum, ) +_M = TypeVar("_M") + class AccessibleBiddingStrategy(proto.Message): class MaximizeConversionValue(proto.Message): target_roas: float def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_roas: float = ... @@ -23,8 +27,8 @@ class AccessibleBiddingStrategy(proto.Message): class MaximizeConversions(proto.Message): target_cpa_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_cpa_micros: int = ... @@ -33,8 +37,8 @@ class AccessibleBiddingStrategy(proto.Message): class TargetCpa(proto.Message): target_cpa_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_cpa_micros: int = ... @@ -45,8 +49,8 @@ class AccessibleBiddingStrategy(proto.Message): location_fraction_micros: int cpc_bid_ceiling_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., location: TargetImpressionShareLocationEnum.TargetImpressionShareLocation = ..., @@ -57,8 +61,8 @@ class AccessibleBiddingStrategy(proto.Message): class TargetRoas(proto.Message): target_roas: float def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_roas: float = ... @@ -68,8 +72,8 @@ class AccessibleBiddingStrategy(proto.Message): target_spend_micros: int cpc_bid_ceiling_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_spend_micros: int = ..., @@ -88,8 +92,8 @@ class AccessibleBiddingStrategy(proto.Message): target_roas: AccessibleBiddingStrategy.TargetRoas target_spend: AccessibleBiddingStrategy.TargetSpend def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/account_budget.pyi b/google-stubs/ads/googleads/v14/resources/types/account_budget.pyi index 9f4a89caa..44bcd9d54 100644 --- a/google-stubs/ads/googleads/v14/resources/types/account_budget.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/account_budget.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.account_budget_proposal_type import ( @@ -13,6 +15,8 @@ from google.ads.googleads.v14.enums.types.spending_limit_type import ( ) from google.ads.googleads.v14.enums.types.time_type import TimeTypeEnum +_M = TypeVar("_M") + class AccountBudget(proto.Message): class PendingAccountBudgetProposal(proto.Message): account_budget_proposal: str @@ -27,8 +31,8 @@ class AccountBudget(proto.Message): spending_limit_micros: int spending_limit_type: SpendingLimitTypeEnum.SpendingLimitType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., account_budget_proposal: str = ..., @@ -66,8 +70,8 @@ class AccountBudget(proto.Message): adjusted_spending_limit_micros: int adjusted_spending_limit_type: SpendingLimitTypeEnum.SpendingLimitType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/account_budget_proposal.pyi b/google-stubs/ads/googleads/v14/resources/types/account_budget_proposal.pyi index 7c09bdb66..829d1b66a 100644 --- a/google-stubs/ads/googleads/v14/resources/types/account_budget_proposal.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/account_budget_proposal.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.account_budget_proposal_status import ( @@ -13,6 +15,8 @@ from google.ads.googleads.v14.enums.types.spending_limit_type import ( ) from google.ads.googleads.v14.enums.types.time_type import TimeTypeEnum +_M = TypeVar("_M") + class AccountBudgetProposal(proto.Message): resource_name: str id: int @@ -37,8 +41,8 @@ class AccountBudgetProposal(proto.Message): approved_spending_limit_micros: int approved_spending_limit_type: SpendingLimitTypeEnum.SpendingLimitType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/account_link.pyi b/google-stubs/ads/googleads/v14/resources/types/account_link.pyi index 7e6988739..f1e663c6b 100644 --- a/google-stubs/ads/googleads/v14/resources/types/account_link.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/account_link.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.account_link_status import ( @@ -10,6 +12,8 @@ from google.ads.googleads.v14.enums.types.linked_account_type import ( ) from google.ads.googleads.v14.enums.types.mobile_app_vendor import MobileAppVendorEnum +_M = TypeVar("_M") + class AccountLink(proto.Message): resource_name: str account_link_id: int @@ -21,8 +25,8 @@ class AccountLink(proto.Message): hotel_center: HotelCenterLinkIdentifier advertising_partner: AdvertisingPartnerLinkIdentifier def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -39,8 +43,8 @@ class AccountLink(proto.Message): class AdvertisingPartnerLinkIdentifier(proto.Message): customer: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer: str = ... @@ -49,8 +53,8 @@ class AdvertisingPartnerLinkIdentifier(proto.Message): class DataPartnerLinkIdentifier(proto.Message): data_partner_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., data_partner_id: int = ... @@ -59,8 +63,8 @@ class DataPartnerLinkIdentifier(proto.Message): class GoogleAdsLinkIdentifier(proto.Message): customer: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer: str = ... @@ -69,8 +73,8 @@ class GoogleAdsLinkIdentifier(proto.Message): class HotelCenterLinkIdentifier(proto.Message): hotel_center_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., hotel_center_id: int = ... @@ -81,8 +85,8 @@ class ThirdPartyAppAnalyticsLinkIdentifier(proto.Message): app_id: str app_vendor: MobileAppVendorEnum.MobileAppVendor def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., app_analytics_provider_id: int = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/ad.pyi b/google-stubs/ads/googleads/v14/resources/types/ad.pyi index 66fdd92fb..ef6c3398f 100644 --- a/google-stubs/ads/googleads/v14/resources/types/ad.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/ad.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.ad_type_infos import ( @@ -39,6 +40,8 @@ from google.ads.googleads.v14.enums.types.system_managed_entity_source import ( SystemManagedResourceSourceEnum, ) +_M = TypeVar("_M") + class Ad(proto.Message): resource_name: str id: int @@ -81,8 +84,8 @@ class Ad(proto.Message): discovery_video_responsive_ad: DiscoveryVideoResponsiveAdInfo travel_ad: TravelAdInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/ad_group.pyi b/google-stubs/ads/googleads/v14/resources/types/ad_group.pyi index 1bf097b2a..58adca9d4 100644 --- a/google-stubs/ads/googleads/v14/resources/types/ad_group.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/ad_group.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.custom_parameter import CustomParameter @@ -17,12 +18,14 @@ from google.ads.googleads.v14.enums.types.targeting_dimension import ( TargetingDimensionEnum, ) +_M = TypeVar("_M") + class AdGroup(proto.Message): class AudienceSetting(proto.Message): use_audience_grouped: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., use_audience_grouped: bool = ... @@ -60,8 +63,8 @@ class AdGroup(proto.Message): ] excluded_parent_asset_set_types: MutableSequence[AssetSetTypeEnum.AssetSetType] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/ad_group_ad.pyi b/google-stubs/ads/googleads/v14/resources/types/ad_group_ad.pyi index 28ed40a5c..5ad50e248 100644 --- a/google-stubs/ads/googleads/v14/resources/types/ad_group_ad.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/ad_group_ad.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.policy import PolicyTopicEntry @@ -14,6 +15,8 @@ from google.ads.googleads.v14.enums.types.policy_review_status import ( ) from google.ads.googleads.v14.resources.types.ad import Ad +_M = TypeVar("_M") + class AdGroupAd(proto.Message): resource_name: str status: AdGroupAdStatusEnum.AdGroupAdStatus @@ -24,8 +27,8 @@ class AdGroupAd(proto.Message): action_items: MutableSequence[str] labels: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -43,8 +46,8 @@ class AdGroupAdPolicySummary(proto.Message): review_status: PolicyReviewStatusEnum.PolicyReviewStatus approval_status: PolicyApprovalStatusEnum.PolicyApprovalStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., policy_topic_entries: MutableSequence[PolicyTopicEntry] = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/ad_group_ad_asset_combination_view.pyi b/google-stubs/ads/googleads/v14/resources/types/ad_group_ad_asset_combination_view.pyi index afb9f3756..568b5c6ce 100644 --- a/google-stubs/ads/googleads/v14/resources/types/ad_group_ad_asset_combination_view.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/ad_group_ad_asset_combination_view.pyi @@ -1,17 +1,20 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.asset_usage import AssetUsage +_M = TypeVar("_M") + class AdGroupAdAssetCombinationView(proto.Message): resource_name: str served_assets: MutableSequence[AssetUsage] enabled: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/ad_group_ad_asset_view.pyi b/google-stubs/ads/googleads/v14/resources/types/ad_group_ad_asset_view.pyi index 4db5ff8c7..65ef13fe9 100644 --- a/google-stubs/ads/googleads/v14/resources/types/ad_group_ad_asset_view.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/ad_group_ad_asset_view.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.policy import PolicyTopicEntry @@ -18,13 +19,15 @@ from google.ads.googleads.v14.enums.types.served_asset_field_type import ( ServedAssetFieldTypeEnum, ) +_M = TypeVar("_M") + class AdGroupAdAssetPolicySummary(proto.Message): policy_topic_entries: MutableSequence[PolicyTopicEntry] review_status: PolicyReviewStatusEnum.PolicyReviewStatus approval_status: PolicyApprovalStatusEnum.PolicyApprovalStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., policy_topic_entries: MutableSequence[PolicyTopicEntry] = ..., @@ -42,8 +45,8 @@ class AdGroupAdAssetView(proto.Message): performance_label: AssetPerformanceLabelEnum.AssetPerformanceLabel pinned_field: ServedAssetFieldTypeEnum.ServedAssetFieldType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/ad_group_ad_label.pyi b/google-stubs/ads/googleads/v14/resources/types/ad_group_ad_label.pyi index f58ecfedc..793b78a9d 100644 --- a/google-stubs/ads/googleads/v14/resources/types/ad_group_ad_label.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/ad_group_ad_label.pyi @@ -1,14 +1,18 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupAdLabel(proto.Message): resource_name: str ad_group_ad: str label: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/ad_group_asset.pyi b/google-stubs/ads/googleads/v14/resources/types/ad_group_asset.pyi index 6b2cb277c..a267bdd28 100644 --- a/google-stubs/ads/googleads/v14/resources/types/ad_group_asset.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/ad_group_asset.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.asset_policy import ( @@ -16,6 +17,8 @@ from google.ads.googleads.v14.enums.types.asset_link_primary_status_reason impor from google.ads.googleads.v14.enums.types.asset_link_status import AssetLinkStatusEnum from google.ads.googleads.v14.enums.types.asset_source import AssetSourceEnum +_M = TypeVar("_M") + class AdGroupAsset(proto.Message): resource_name: str ad_group: str @@ -29,8 +32,8 @@ class AdGroupAsset(proto.Message): AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason ] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/ad_group_asset_set.pyi b/google-stubs/ads/googleads/v14/resources/types/ad_group_asset_set.pyi index c8d766927..0e398439f 100644 --- a/google-stubs/ads/googleads/v14/resources/types/ad_group_asset_set.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/ad_group_asset_set.pyi @@ -1,19 +1,23 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.asset_set_link_status import ( AssetSetLinkStatusEnum, ) +_M = TypeVar("_M") + class AdGroupAssetSet(proto.Message): resource_name: str ad_group: str asset_set: str status: AssetSetLinkStatusEnum.AssetSetLinkStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/ad_group_audience_view.pyi b/google-stubs/ads/googleads/v14/resources/types/ad_group_audience_view.pyi index ee52c397a..eac5aa03e 100644 --- a/google-stubs/ads/googleads/v14/resources/types/ad_group_audience_view.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/ad_group_audience_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupAudienceView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v14/resources/types/ad_group_bid_modifier.pyi b/google-stubs/ads/googleads/v14/resources/types/ad_group_bid_modifier.pyi index dff7d5085..eee49f3bd 100644 --- a/google-stubs/ads/googleads/v14/resources/types/ad_group_bid_modifier.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/ad_group_bid_modifier.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.criteria import ( @@ -14,6 +16,8 @@ from google.ads.googleads.v14.enums.types.bid_modifier_source import ( BidModifierSourceEnum, ) +_M = TypeVar("_M") + class AdGroupBidModifier(proto.Message): resource_name: str ad_group: str @@ -28,8 +32,8 @@ class AdGroupBidModifier(proto.Message): device: DeviceInfo hotel_check_in_date_range: HotelCheckInDateRangeInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/ad_group_criterion.pyi b/google-stubs/ads/googleads/v14/resources/types/ad_group_criterion.pyi index b881c2e9b..9f78663e3 100644 --- a/google-stubs/ads/googleads/v14/resources/types/ad_group_criterion.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/ad_group_criterion.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.criteria import ( @@ -44,6 +45,8 @@ from google.ads.googleads.v14.enums.types.quality_score_bucket import ( QualityScoreBucketEnum, ) +_M = TypeVar("_M") + class AdGroupCriterion(proto.Message): class PositionEstimates(proto.Message): first_page_cpc_micros: int @@ -52,8 +55,8 @@ class AdGroupCriterion(proto.Message): estimated_add_clicks_at_first_position_cpc: int estimated_add_cost_at_first_position_cpc: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., first_page_cpc_micros: int = ..., @@ -69,8 +72,8 @@ class AdGroupCriterion(proto.Message): post_click_quality_score: QualityScoreBucketEnum.QualityScoreBucket search_predicted_ctr: QualityScoreBucketEnum.QualityScoreBucket def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., quality_score: int = ..., @@ -133,8 +136,8 @@ class AdGroupCriterion(proto.Message): location: LocationInfo language: LanguageInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/ad_group_criterion_customizer.pyi b/google-stubs/ads/googleads/v14/resources/types/ad_group_criterion_customizer.pyi index 9152e4e8f..a25ae0ee6 100644 --- a/google-stubs/ads/googleads/v14/resources/types/ad_group_criterion_customizer.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/ad_group_criterion_customizer.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.customizer_value import CustomizerValue @@ -7,6 +9,8 @@ from google.ads.googleads.v14.enums.types.customizer_value_status import ( CustomizerValueStatusEnum, ) +_M = TypeVar("_M") + class AdGroupCriterionCustomizer(proto.Message): resource_name: str ad_group_criterion: str @@ -14,8 +18,8 @@ class AdGroupCriterionCustomizer(proto.Message): status: CustomizerValueStatusEnum.CustomizerValueStatus value: CustomizerValue def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/ad_group_criterion_label.pyi b/google-stubs/ads/googleads/v14/resources/types/ad_group_criterion_label.pyi index 94a5cf50b..5a131423d 100644 --- a/google-stubs/ads/googleads/v14/resources/types/ad_group_criterion_label.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/ad_group_criterion_label.pyi @@ -1,14 +1,18 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupCriterionLabel(proto.Message): resource_name: str ad_group_criterion: str label: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/ad_group_criterion_simulation.pyi b/google-stubs/ads/googleads/v14/resources/types/ad_group_criterion_simulation.pyi index 5fde2ac34..029c14505 100644 --- a/google-stubs/ads/googleads/v14/resources/types/ad_group_criterion_simulation.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/ad_group_criterion_simulation.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.simulation import ( @@ -11,6 +13,8 @@ from google.ads.googleads.v14.enums.types.simulation_modification_method import ) from google.ads.googleads.v14.enums.types.simulation_type import SimulationTypeEnum +_M = TypeVar("_M") + class AdGroupCriterionSimulation(proto.Message): resource_name: str ad_group_id: int @@ -22,8 +26,8 @@ class AdGroupCriterionSimulation(proto.Message): cpc_bid_point_list: CpcBidSimulationPointList percent_cpc_bid_point_list: PercentCpcBidSimulationPointList def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/ad_group_customizer.pyi b/google-stubs/ads/googleads/v14/resources/types/ad_group_customizer.pyi index cde9f9ccc..cec67d7ad 100644 --- a/google-stubs/ads/googleads/v14/resources/types/ad_group_customizer.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/ad_group_customizer.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.customizer_value import CustomizerValue @@ -7,6 +9,8 @@ from google.ads.googleads.v14.enums.types.customizer_value_status import ( CustomizerValueStatusEnum, ) +_M = TypeVar("_M") + class AdGroupCustomizer(proto.Message): resource_name: str ad_group: str @@ -14,8 +18,8 @@ class AdGroupCustomizer(proto.Message): status: CustomizerValueStatusEnum.CustomizerValueStatus value: CustomizerValue def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/ad_group_extension_setting.pyi b/google-stubs/ads/googleads/v14/resources/types/ad_group_extension_setting.pyi index ebeb878ff..7fe6e4ea9 100644 --- a/google-stubs/ads/googleads/v14/resources/types/ad_group_extension_setting.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/ad_group_extension_setting.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.extension_setting_device import ( @@ -8,6 +9,8 @@ from google.ads.googleads.v14.enums.types.extension_setting_device import ( ) from google.ads.googleads.v14.enums.types.extension_type import ExtensionTypeEnum +_M = TypeVar("_M") + class AdGroupExtensionSetting(proto.Message): resource_name: str extension_type: ExtensionTypeEnum.ExtensionType @@ -15,8 +18,8 @@ class AdGroupExtensionSetting(proto.Message): extension_feed_items: MutableSequence[str] device: ExtensionSettingDeviceEnum.ExtensionSettingDevice def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/ad_group_feed.pyi b/google-stubs/ads/googleads/v14/resources/types/ad_group_feed.pyi index 600b541f6..ad1f1cf14 100644 --- a/google-stubs/ads/googleads/v14/resources/types/ad_group_feed.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/ad_group_feed.pyi @@ -1,12 +1,15 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.matching_function import MatchingFunction from google.ads.googleads.v14.enums.types.feed_link_status import FeedLinkStatusEnum from google.ads.googleads.v14.enums.types.placeholder_type import PlaceholderTypeEnum +_M = TypeVar("_M") + class AdGroupFeed(proto.Message): resource_name: str feed: str @@ -15,8 +18,8 @@ class AdGroupFeed(proto.Message): matching_function: MatchingFunction status: FeedLinkStatusEnum.FeedLinkStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/ad_group_label.pyi b/google-stubs/ads/googleads/v14/resources/types/ad_group_label.pyi index 8251db0a9..11c2ab2bf 100644 --- a/google-stubs/ads/googleads/v14/resources/types/ad_group_label.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/ad_group_label.pyi @@ -1,14 +1,18 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupLabel(proto.Message): resource_name: str ad_group: str label: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/ad_group_simulation.pyi b/google-stubs/ads/googleads/v14/resources/types/ad_group_simulation.pyi index a7af44e76..4699c38ca 100644 --- a/google-stubs/ads/googleads/v14/resources/types/ad_group_simulation.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/ad_group_simulation.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.simulation import ( @@ -13,6 +15,8 @@ from google.ads.googleads.v14.enums.types.simulation_modification_method import ) from google.ads.googleads.v14.enums.types.simulation_type import SimulationTypeEnum +_M = TypeVar("_M") + class AdGroupSimulation(proto.Message): resource_name: str ad_group_id: int @@ -25,8 +29,8 @@ class AdGroupSimulation(proto.Message): target_cpa_point_list: TargetCpaSimulationPointList target_roas_point_list: TargetRoasSimulationPointList def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/ad_parameter.pyi b/google-stubs/ads/googleads/v14/resources/types/ad_parameter.pyi index 2c60207d0..637f1bed9 100644 --- a/google-stubs/ads/googleads/v14/resources/types/ad_parameter.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/ad_parameter.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdParameter(proto.Message): resource_name: str ad_group_criterion: str parameter_index: int insertion_text: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/ad_schedule_view.pyi b/google-stubs/ads/googleads/v14/resources/types/ad_schedule_view.pyi index 2ec05d006..62864cf5a 100644 --- a/google-stubs/ads/googleads/v14/resources/types/ad_schedule_view.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/ad_schedule_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdScheduleView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v14/resources/types/age_range_view.pyi b/google-stubs/ads/googleads/v14/resources/types/age_range_view.pyi index 91060cdf8..a3a6e669f 100644 --- a/google-stubs/ads/googleads/v14/resources/types/age_range_view.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/age_range_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AgeRangeView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v14/resources/types/asset.pyi b/google-stubs/ads/googleads/v14/resources/types/asset.pyi index def9c7af6..0bde78ff8 100644 --- a/google-stubs/ads/googleads/v14/resources/types/asset.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/asset.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.asset_types import ( @@ -44,6 +45,8 @@ from google.ads.googleads.v14.enums.types.policy_review_status import ( PolicyReviewStatusEnum, ) +_M = TypeVar("_M") + class Asset(proto.Message): resource_name: str id: int @@ -85,8 +88,8 @@ class Asset(proto.Message): location_asset: LocationAsset hotel_property_asset: HotelPropertyAsset def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -135,8 +138,8 @@ class AssetFieldTypePolicySummary(proto.Message): asset_source: AssetSourceEnum.AssetSource policy_summary_info: AssetPolicySummary def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., asset_field_type: AssetFieldTypeEnum.AssetFieldType = ..., @@ -149,8 +152,8 @@ class AssetPolicySummary(proto.Message): review_status: PolicyReviewStatusEnum.PolicyReviewStatus approval_status: PolicyApprovalStatusEnum.PolicyApprovalStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., policy_topic_entries: MutableSequence[PolicyTopicEntry] = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/asset_field_type_view.pyi b/google-stubs/ads/googleads/v14/resources/types/asset_field_type_view.pyi index e19228fae..f26b792e4 100644 --- a/google-stubs/ads/googleads/v14/resources/types/asset_field_type_view.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/asset_field_type_view.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.asset_field_type import AssetFieldTypeEnum +_M = TypeVar("_M") + class AssetFieldTypeView(proto.Message): resource_name: str field_type: AssetFieldTypeEnum.AssetFieldType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/asset_group.pyi b/google-stubs/ads/googleads/v14/resources/types/asset_group.pyi index 18f31ee4c..7044c5e86 100644 --- a/google-stubs/ads/googleads/v14/resources/types/asset_group.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/asset_group.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.ad_strength import AdStrengthEnum @@ -12,6 +13,8 @@ from google.ads.googleads.v14.enums.types.asset_group_primary_status_reason impo ) from google.ads.googleads.v14.enums.types.asset_group_status import AssetGroupStatusEnum +_M = TypeVar("_M") + class AssetGroup(proto.Message): resource_name: str id: int @@ -28,8 +31,8 @@ class AssetGroup(proto.Message): path2: str ad_strength: AdStrengthEnum.AdStrength def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/asset_group_asset.pyi b/google-stubs/ads/googleads/v14/resources/types/asset_group_asset.pyi index d5e92a3ce..b1fca5035 100644 --- a/google-stubs/ads/googleads/v14/resources/types/asset_group_asset.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/asset_group_asset.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.asset_policy import ( @@ -19,6 +20,8 @@ from google.ads.googleads.v14.enums.types.asset_performance_label import ( AssetPerformanceLabelEnum, ) +_M = TypeVar("_M") + class AssetGroupAsset(proto.Message): resource_name: str asset_group: str @@ -33,8 +36,8 @@ class AssetGroupAsset(proto.Message): performance_label: AssetPerformanceLabelEnum.AssetPerformanceLabel policy_summary: PolicySummary def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/asset_group_listing_group_filter.pyi b/google-stubs/ads/googleads/v14/resources/types/asset_group_listing_group_filter.pyi index caeb08317..0fb32000d 100644 --- a/google-stubs/ads/googleads/v14/resources/types/asset_group_listing_group_filter.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/asset_group_listing_group_filter.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.listing_group_filter_bidding_category_level import ( @@ -25,6 +26,8 @@ from google.ads.googleads.v14.enums.types.listing_group_filter_vertical import ( ListingGroupFilterVerticalEnum, ) +_M = TypeVar("_M") + class AssetGroupListingGroupFilter(proto.Message): resource_name: str asset_group: str @@ -35,8 +38,8 @@ class AssetGroupListingGroupFilter(proto.Message): parent_listing_group_filter: str path: ListingGroupFilterDimensionPath def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -54,8 +57,8 @@ class ListingGroupFilterDimension(proto.Message): id: int level: ListingGroupFilterBiddingCategoryLevelEnum.ListingGroupFilterBiddingCategoryLevel def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., id: int = ..., @@ -65,8 +68,8 @@ class ListingGroupFilterDimension(proto.Message): class ProductBrand(proto.Message): value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: str = ... @@ -75,8 +78,8 @@ class ListingGroupFilterDimension(proto.Message): class ProductChannel(proto.Message): channel: ListingGroupFilterProductChannelEnum.ListingGroupFilterProductChannel def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., channel: ListingGroupFilterProductChannelEnum.ListingGroupFilterProductChannel = ... @@ -85,8 +88,8 @@ class ListingGroupFilterDimension(proto.Message): class ProductCondition(proto.Message): condition: ListingGroupFilterProductConditionEnum.ListingGroupFilterProductCondition def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., condition: ListingGroupFilterProductConditionEnum.ListingGroupFilterProductCondition = ... @@ -96,8 +99,8 @@ class ListingGroupFilterDimension(proto.Message): value: str index: ListingGroupFilterCustomAttributeIndexEnum.ListingGroupFilterCustomAttributeIndex def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: str = ..., @@ -107,8 +110,8 @@ class ListingGroupFilterDimension(proto.Message): class ProductItemId(proto.Message): value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: str = ... @@ -118,8 +121,8 @@ class ListingGroupFilterDimension(proto.Message): value: str level: ListingGroupFilterProductTypeLevelEnum.ListingGroupFilterProductTypeLevel def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: str = ..., @@ -133,8 +136,8 @@ class ListingGroupFilterDimension(proto.Message): product_item_id: ListingGroupFilterDimension.ProductItemId product_type: ListingGroupFilterDimension.ProductType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., product_bidding_category: ListingGroupFilterDimension.ProductBiddingCategory = ..., @@ -149,8 +152,8 @@ class ListingGroupFilterDimension(proto.Message): class ListingGroupFilterDimensionPath(proto.Message): dimensions: MutableSequence[ListingGroupFilterDimension] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., dimensions: MutableSequence[ListingGroupFilterDimension] = ... diff --git a/google-stubs/ads/googleads/v14/resources/types/asset_group_product_group_view.pyi b/google-stubs/ads/googleads/v14/resources/types/asset_group_product_group_view.pyi index f3214ec6f..160f1c8fc 100644 --- a/google-stubs/ads/googleads/v14/resources/types/asset_group_product_group_view.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/asset_group_product_group_view.pyi @@ -1,14 +1,18 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetGroupProductGroupView(proto.Message): resource_name: str asset_group: str asset_group_listing_group_filter: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/asset_group_signal.pyi b/google-stubs/ads/googleads/v14/resources/types/asset_group_signal.pyi index 058f73034..7c3fd7e0e 100644 --- a/google-stubs/ads/googleads/v14/resources/types/asset_group_signal.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/asset_group_signal.pyi @@ -1,16 +1,20 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.criteria import AudienceInfo +_M = TypeVar("_M") + class AssetGroupSignal(proto.Message): resource_name: str asset_group: str audience: AudienceInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/asset_set.pyi b/google-stubs/ads/googleads/v14/resources/types/asset_set.pyi index c5d489080..9076963df 100644 --- a/google-stubs/ads/googleads/v14/resources/types/asset_set.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/asset_set.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.asset_set_types import ( @@ -10,13 +12,15 @@ from google.ads.googleads.v14.common.types.asset_set_types import ( from google.ads.googleads.v14.enums.types.asset_set_status import AssetSetStatusEnum from google.ads.googleads.v14.enums.types.asset_set_type import AssetSetTypeEnum +_M = TypeVar("_M") + class AssetSet(proto.Message): class HotelPropertyData(proto.Message): hotel_center_id: int partner_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., hotel_center_id: int = ..., @@ -27,8 +31,8 @@ class AssetSet(proto.Message): merchant_id: int feed_label: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., merchant_id: int = ..., @@ -46,8 +50,8 @@ class AssetSet(proto.Message): business_profile_location_group: BusinessProfileLocationGroup chain_location_group: ChainLocationGroup def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., id: int = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/asset_set_asset.pyi b/google-stubs/ads/googleads/v14/resources/types/asset_set_asset.pyi index b5eb93977..f7a586176 100644 --- a/google-stubs/ads/googleads/v14/resources/types/asset_set_asset.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/asset_set_asset.pyi @@ -1,19 +1,23 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.asset_set_asset_status import ( AssetSetAssetStatusEnum, ) +_M = TypeVar("_M") + class AssetSetAsset(proto.Message): resource_name: str asset_set: str asset: str status: AssetSetAssetStatusEnum.AssetSetAssetStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/asset_set_type_view.pyi b/google-stubs/ads/googleads/v14/resources/types/asset_set_type_view.pyi index a11970f52..bf69155ca 100644 --- a/google-stubs/ads/googleads/v14/resources/types/asset_set_type_view.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/asset_set_type_view.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.asset_set_type import AssetSetTypeEnum +_M = TypeVar("_M") + class AssetSetTypeView(proto.Message): resource_name: str asset_set_type: AssetSetTypeEnum.AssetSetType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/audience.pyi b/google-stubs/ads/googleads/v14/resources/types/audience.pyi index 0bd856b64..a2a986ccb 100644 --- a/google-stubs/ads/googleads/v14/resources/types/audience.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/audience.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.audiences import ( @@ -9,6 +10,8 @@ from google.ads.googleads.v14.common.types.audiences import ( ) from google.ads.googleads.v14.enums.types.audience_status import AudienceStatusEnum +_M = TypeVar("_M") + class Audience(proto.Message): resource_name: str id: int @@ -18,8 +21,8 @@ class Audience(proto.Message): dimensions: MutableSequence[AudienceDimension] exclusion_dimension: AudienceExclusionDimension def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/batch_job.pyi b/google-stubs/ads/googleads/v14/resources/types/batch_job.pyi index 6948054fb..cdf0c8e0c 100644 --- a/google-stubs/ads/googleads/v14/resources/types/batch_job.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/batch_job.pyi @@ -1,9 +1,13 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.batch_job_status import BatchJobStatusEnum +_M = TypeVar("_M") + class BatchJob(proto.Message): class BatchJobMetadata(proto.Message): creation_date_time: str @@ -14,8 +18,8 @@ class BatchJob(proto.Message): executed_operation_count: int execution_limit_seconds: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., creation_date_time: str = ..., @@ -33,8 +37,8 @@ class BatchJob(proto.Message): status: BatchJobStatusEnum.BatchJobStatus long_running_operation: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/bidding_data_exclusion.pyi b/google-stubs/ads/googleads/v14/resources/types/bidding_data_exclusion.pyi index 9acc6f13d..1138895f8 100644 --- a/google-stubs/ads/googleads/v14/resources/types/bidding_data_exclusion.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/bidding_data_exclusion.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.advertising_channel_type import ( @@ -14,6 +15,8 @@ from google.ads.googleads.v14.enums.types.seasonality_event_status import ( SeasonalityEventStatusEnum, ) +_M = TypeVar("_M") + class BiddingDataExclusion(proto.Message): resource_name: str data_exclusion_id: int @@ -29,8 +32,8 @@ class BiddingDataExclusion(proto.Message): AdvertisingChannelTypeEnum.AdvertisingChannelType ] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/bidding_seasonality_adjustment.pyi b/google-stubs/ads/googleads/v14/resources/types/bidding_seasonality_adjustment.pyi index 7c3ccf746..bcf371c0e 100644 --- a/google-stubs/ads/googleads/v14/resources/types/bidding_seasonality_adjustment.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/bidding_seasonality_adjustment.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.advertising_channel_type import ( @@ -14,6 +15,8 @@ from google.ads.googleads.v14.enums.types.seasonality_event_status import ( SeasonalityEventStatusEnum, ) +_M = TypeVar("_M") + class BiddingSeasonalityAdjustment(proto.Message): resource_name: str seasonality_adjustment_id: int @@ -30,8 +33,8 @@ class BiddingSeasonalityAdjustment(proto.Message): AdvertisingChannelTypeEnum.AdvertisingChannelType ] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/bidding_strategy.pyi b/google-stubs/ads/googleads/v14/resources/types/bidding_strategy.pyi index 2f661f1ad..d031c1ab9 100644 --- a/google-stubs/ads/googleads/v14/resources/types/bidding_strategy.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/bidding_strategy.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.bidding import ( @@ -18,6 +20,8 @@ from google.ads.googleads.v14.enums.types.bidding_strategy_type import ( BiddingStrategyTypeEnum, ) +_M = TypeVar("_M") + class BiddingStrategy(proto.Message): resource_name: str id: int @@ -37,8 +41,8 @@ class BiddingStrategy(proto.Message): target_roas: TargetRoas target_spend: TargetSpend def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/bidding_strategy_simulation.pyi b/google-stubs/ads/googleads/v14/resources/types/bidding_strategy_simulation.pyi index b551b7756..8ff82fc91 100644 --- a/google-stubs/ads/googleads/v14/resources/types/bidding_strategy_simulation.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/bidding_strategy_simulation.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.simulation import ( @@ -11,6 +13,8 @@ from google.ads.googleads.v14.enums.types.simulation_modification_method import ) from google.ads.googleads.v14.enums.types.simulation_type import SimulationTypeEnum +_M = TypeVar("_M") + class BiddingStrategySimulation(proto.Message): resource_name: str bidding_strategy_id: int @@ -21,8 +25,8 @@ class BiddingStrategySimulation(proto.Message): target_cpa_point_list: TargetCpaSimulationPointList target_roas_point_list: TargetRoasSimulationPointList def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/billing_setup.pyi b/google-stubs/ads/googleads/v14/resources/types/billing_setup.pyi index 456b5114d..752b59412 100644 --- a/google-stubs/ads/googleads/v14/resources/types/billing_setup.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/billing_setup.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.billing_setup_status import ( @@ -7,6 +9,8 @@ from google.ads.googleads.v14.enums.types.billing_setup_status import ( ) from google.ads.googleads.v14.enums.types.time_type import TimeTypeEnum +_M = TypeVar("_M") + class BillingSetup(proto.Message): class PaymentsAccountInfo(proto.Message): payments_account_id: str @@ -15,8 +19,8 @@ class BillingSetup(proto.Message): payments_profile_name: str secondary_payments_profile_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., payments_account_id: str = ..., @@ -35,8 +39,8 @@ class BillingSetup(proto.Message): end_date_time: str end_time_type: TimeTypeEnum.TimeType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/call_view.pyi b/google-stubs/ads/googleads/v14/resources/types/call_view.pyi index 6888866f8..e8985cd87 100644 --- a/google-stubs/ads/googleads/v14/resources/types/call_view.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/call_view.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.call_tracking_display_location import ( @@ -10,6 +12,8 @@ from google.ads.googleads.v14.enums.types.google_voice_call_status import ( GoogleVoiceCallStatusEnum, ) +_M = TypeVar("_M") + class CallView(proto.Message): resource_name: str caller_country_code: str @@ -21,8 +25,8 @@ class CallView(proto.Message): type_: CallTypeEnum.CallType call_status: GoogleVoiceCallStatusEnum.GoogleVoiceCallStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/campaign.pyi b/google-stubs/ads/googleads/v14/resources/types/campaign.pyi index 3e998266b..873f4b5db 100644 --- a/google-stubs/ads/googleads/v14/resources/types/campaign.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/campaign.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.bidding import ( @@ -85,14 +86,16 @@ from google.ads.googleads.v14.enums.types.vanity_pharma_display_url_mode import ) from google.ads.googleads.v14.enums.types.vanity_pharma_text import VanityPharmaTextEnum +_M = TypeVar("_M") + class Campaign(proto.Message): class AppCampaignSetting(proto.Message): bidding_strategy_goal_type: AppCampaignBiddingStrategyGoalTypeEnum.AppCampaignBiddingStrategyGoalType app_id: str app_store: AppCampaignAppStoreEnum.AppCampaignAppStore def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., bidding_strategy_goal_type: AppCampaignBiddingStrategyGoalTypeEnum.AppCampaignBiddingStrategyGoalType = ..., @@ -103,8 +106,8 @@ class Campaign(proto.Message): class AudienceSetting(proto.Message): use_audience_grouped: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., use_audience_grouped: bool = ... @@ -114,8 +117,8 @@ class Campaign(proto.Message): category_id: str manual_cpa_bid_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., category_id: str = ..., @@ -125,8 +128,8 @@ class Campaign(proto.Message): class DiscoveryCampaignSettings(proto.Message): upgraded_targeting: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., upgraded_targeting: bool = ... @@ -138,8 +141,8 @@ class Campaign(proto.Message): use_supplied_urls_only: bool feeds: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., domain_name: str = ..., @@ -152,8 +155,8 @@ class Campaign(proto.Message): positive_geo_target_type: PositiveGeoTargetTypeEnum.PositiveGeoTargetType negative_geo_target_type: NegativeGeoTargetTypeEnum.NegativeGeoTargetType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., positive_geo_target_type: PositiveGeoTargetTypeEnum.PositiveGeoTargetType = ..., @@ -163,8 +166,8 @@ class Campaign(proto.Message): class HotelSettingInfo(proto.Message): hotel_center_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., hotel_center_id: int = ... @@ -173,8 +176,8 @@ class Campaign(proto.Message): class LocalCampaignSetting(proto.Message): location_source_type: LocationSourceTypeEnum.LocationSourceType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., location_source_type: LocationSourceTypeEnum.LocationSourceType = ... @@ -183,8 +186,8 @@ class Campaign(proto.Message): class LocalServicesCampaignSettings(proto.Message): category_bids: MutableSequence[Campaign.CategoryBid] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., category_bids: MutableSequence[Campaign.CategoryBid] = ... @@ -196,8 +199,8 @@ class Campaign(proto.Message): target_content_network: bool target_partner_search_network: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_google_search: bool = ..., @@ -211,8 +214,8 @@ class Campaign(proto.Message): OptimizationGoalTypeEnum.OptimizationGoalType ] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., optimization_goal_types: MutableSequence[ @@ -225,8 +228,8 @@ class Campaign(proto.Message): pre_upgrade_campaign: str status: PerformanceMaxUpgradeStatusEnum.PerformanceMaxUpgradeStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., performance_max_campaign: str = ..., @@ -237,8 +240,8 @@ class Campaign(proto.Message): class SelectiveOptimization(proto.Message): conversion_actions: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., conversion_actions: MutableSequence[str] = ... @@ -253,8 +256,8 @@ class Campaign(proto.Message): use_vehicle_inventory: bool advertising_partner_ids: MutableSequence[int] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., merchant_id: int = ..., @@ -269,8 +272,8 @@ class Campaign(proto.Message): class TrackingSetting(proto.Message): tracking_url: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., tracking_url: str = ... @@ -279,8 +282,8 @@ class Campaign(proto.Message): class TravelCampaignSettings(proto.Message): travel_account_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., travel_account_id: int = ... @@ -290,8 +293,8 @@ class Campaign(proto.Message): vanity_pharma_display_url_mode: VanityPharmaDisplayUrlModeEnum.VanityPharmaDisplayUrlMode vanity_pharma_text: VanityPharmaTextEnum.VanityPharmaText def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., vanity_pharma_display_url_mode: VanityPharmaDisplayUrlModeEnum.VanityPharmaDisplayUrlMode = ..., @@ -366,8 +369,8 @@ class Campaign(proto.Message): percent_cpc: PercentCpc target_cpm: TargetCpm def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/campaign_asset.pyi b/google-stubs/ads/googleads/v14/resources/types/campaign_asset.pyi index 4bcc697b1..505efa937 100644 --- a/google-stubs/ads/googleads/v14/resources/types/campaign_asset.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/campaign_asset.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.asset_policy import ( @@ -16,6 +17,8 @@ from google.ads.googleads.v14.enums.types.asset_link_primary_status_reason impor from google.ads.googleads.v14.enums.types.asset_link_status import AssetLinkStatusEnum from google.ads.googleads.v14.enums.types.asset_source import AssetSourceEnum +_M = TypeVar("_M") + class CampaignAsset(proto.Message): resource_name: str campaign: str @@ -29,8 +32,8 @@ class CampaignAsset(proto.Message): AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason ] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/campaign_asset_set.pyi b/google-stubs/ads/googleads/v14/resources/types/campaign_asset_set.pyi index 3fb7031d3..e04faee68 100644 --- a/google-stubs/ads/googleads/v14/resources/types/campaign_asset_set.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/campaign_asset_set.pyi @@ -1,19 +1,23 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.asset_set_link_status import ( AssetSetLinkStatusEnum, ) +_M = TypeVar("_M") + class CampaignAssetSet(proto.Message): resource_name: str campaign: str asset_set: str status: AssetSetLinkStatusEnum.AssetSetLinkStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/campaign_audience_view.pyi b/google-stubs/ads/googleads/v14/resources/types/campaign_audience_view.pyi index 46c78802a..f646c4a70 100644 --- a/google-stubs/ads/googleads/v14/resources/types/campaign_audience_view.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/campaign_audience_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignAudienceView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v14/resources/types/campaign_bid_modifier.pyi b/google-stubs/ads/googleads/v14/resources/types/campaign_bid_modifier.pyi index 1a963cbe4..a89719941 100644 --- a/google-stubs/ads/googleads/v14/resources/types/campaign_bid_modifier.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/campaign_bid_modifier.pyi @@ -1,9 +1,13 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.criteria import InteractionTypeInfo +_M = TypeVar("_M") + class CampaignBidModifier(proto.Message): resource_name: str campaign: str @@ -11,8 +15,8 @@ class CampaignBidModifier(proto.Message): bid_modifier: float interaction_type: InteractionTypeInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/campaign_budget.pyi b/google-stubs/ads/googleads/v14/resources/types/campaign_budget.pyi index 222bfd050..5477e8c3b 100644 --- a/google-stubs/ads/googleads/v14/resources/types/campaign_budget.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/campaign_budget.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.budget_delivery_method import ( @@ -9,6 +11,8 @@ from google.ads.googleads.v14.enums.types.budget_period import BudgetPeriodEnum from google.ads.googleads.v14.enums.types.budget_status import BudgetStatusEnum from google.ads.googleads.v14.enums.types.budget_type import BudgetTypeEnum +_M = TypeVar("_M") + class CampaignBudget(proto.Message): resource_name: str id: int @@ -29,8 +33,8 @@ class CampaignBudget(proto.Message): type_: BudgetTypeEnum.BudgetType aligned_bidding_strategy_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/campaign_conversion_goal.pyi b/google-stubs/ads/googleads/v14/resources/types/campaign_conversion_goal.pyi index 3cc040279..126f63709 100644 --- a/google-stubs/ads/googleads/v14/resources/types/campaign_conversion_goal.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/campaign_conversion_goal.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.conversion_action_category import ( @@ -7,6 +9,8 @@ from google.ads.googleads.v14.enums.types.conversion_action_category import ( ) from google.ads.googleads.v14.enums.types.conversion_origin import ConversionOriginEnum +_M = TypeVar("_M") + class CampaignConversionGoal(proto.Message): resource_name: str campaign: str @@ -14,8 +18,8 @@ class CampaignConversionGoal(proto.Message): origin: ConversionOriginEnum.ConversionOrigin biddable: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/campaign_criterion.pyi b/google-stubs/ads/googleads/v14/resources/types/campaign_criterion.pyi index c84a8b79b..e70de472d 100644 --- a/google-stubs/ads/googleads/v14/resources/types/campaign_criterion.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/campaign_criterion.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.criteria import ( @@ -40,6 +42,8 @@ from google.ads.googleads.v14.enums.types.campaign_criterion_status import ( ) from google.ads.googleads.v14.enums.types.criterion_type import CriterionTypeEnum +_M = TypeVar("_M") + class CampaignCriterion(proto.Message): resource_name: str campaign: str @@ -81,8 +85,8 @@ class CampaignCriterion(proto.Message): keyword_theme: KeywordThemeInfo local_service_id: LocalServiceIdInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/campaign_customizer.pyi b/google-stubs/ads/googleads/v14/resources/types/campaign_customizer.pyi index 41dc217eb..1cb2b0a79 100644 --- a/google-stubs/ads/googleads/v14/resources/types/campaign_customizer.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/campaign_customizer.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.customizer_value import CustomizerValue @@ -7,6 +9,8 @@ from google.ads.googleads.v14.enums.types.customizer_value_status import ( CustomizerValueStatusEnum, ) +_M = TypeVar("_M") + class CampaignCustomizer(proto.Message): resource_name: str campaign: str @@ -14,8 +18,8 @@ class CampaignCustomizer(proto.Message): status: CustomizerValueStatusEnum.CustomizerValueStatus value: CustomizerValue def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/campaign_draft.pyi b/google-stubs/ads/googleads/v14/resources/types/campaign_draft.pyi index 7c133f30f..4b3ed83f1 100644 --- a/google-stubs/ads/googleads/v14/resources/types/campaign_draft.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/campaign_draft.pyi @@ -1,11 +1,15 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.campaign_draft_status import ( CampaignDraftStatusEnum, ) +_M = TypeVar("_M") + class CampaignDraft(proto.Message): resource_name: str draft_id: int @@ -16,8 +20,8 @@ class CampaignDraft(proto.Message): has_experiment_running: bool long_running_operation: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/campaign_extension_setting.pyi b/google-stubs/ads/googleads/v14/resources/types/campaign_extension_setting.pyi index 474cdae96..58e43ff85 100644 --- a/google-stubs/ads/googleads/v14/resources/types/campaign_extension_setting.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/campaign_extension_setting.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.extension_setting_device import ( @@ -8,6 +9,8 @@ from google.ads.googleads.v14.enums.types.extension_setting_device import ( ) from google.ads.googleads.v14.enums.types.extension_type import ExtensionTypeEnum +_M = TypeVar("_M") + class CampaignExtensionSetting(proto.Message): resource_name: str extension_type: ExtensionTypeEnum.ExtensionType @@ -15,8 +18,8 @@ class CampaignExtensionSetting(proto.Message): extension_feed_items: MutableSequence[str] device: ExtensionSettingDeviceEnum.ExtensionSettingDevice def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/campaign_feed.pyi b/google-stubs/ads/googleads/v14/resources/types/campaign_feed.pyi index 1a4664880..b890d5063 100644 --- a/google-stubs/ads/googleads/v14/resources/types/campaign_feed.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/campaign_feed.pyi @@ -1,12 +1,15 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.matching_function import MatchingFunction from google.ads.googleads.v14.enums.types.feed_link_status import FeedLinkStatusEnum from google.ads.googleads.v14.enums.types.placeholder_type import PlaceholderTypeEnum +_M = TypeVar("_M") + class CampaignFeed(proto.Message): resource_name: str feed: str @@ -15,8 +18,8 @@ class CampaignFeed(proto.Message): matching_function: MatchingFunction status: FeedLinkStatusEnum.FeedLinkStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/campaign_group.pyi b/google-stubs/ads/googleads/v14/resources/types/campaign_group.pyi index acbbd6089..119aa0039 100644 --- a/google-stubs/ads/googleads/v14/resources/types/campaign_group.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/campaign_group.pyi @@ -1,19 +1,23 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.campaign_group_status import ( CampaignGroupStatusEnum, ) +_M = TypeVar("_M") + class CampaignGroup(proto.Message): resource_name: str id: int name: str status: CampaignGroupStatusEnum.CampaignGroupStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/campaign_label.pyi b/google-stubs/ads/googleads/v14/resources/types/campaign_label.pyi index 947a41a57..97a4dd365 100644 --- a/google-stubs/ads/googleads/v14/resources/types/campaign_label.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/campaign_label.pyi @@ -1,14 +1,18 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignLabel(proto.Message): resource_name: str campaign: str label: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/campaign_search_term_insight.pyi b/google-stubs/ads/googleads/v14/resources/types/campaign_search_term_insight.pyi index 5321701ed..bf11cb8e2 100644 --- a/google-stubs/ads/googleads/v14/resources/types/campaign_search_term_insight.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/campaign_search_term_insight.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignSearchTermInsight(proto.Message): resource_name: str category_label: str id: int campaign_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/campaign_shared_set.pyi b/google-stubs/ads/googleads/v14/resources/types/campaign_shared_set.pyi index bd538b3ac..591469243 100644 --- a/google-stubs/ads/googleads/v14/resources/types/campaign_shared_set.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/campaign_shared_set.pyi @@ -1,19 +1,23 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.campaign_shared_set_status import ( CampaignSharedSetStatusEnum, ) +_M = TypeVar("_M") + class CampaignSharedSet(proto.Message): resource_name: str campaign: str shared_set: str status: CampaignSharedSetStatusEnum.CampaignSharedSetStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/campaign_simulation.pyi b/google-stubs/ads/googleads/v14/resources/types/campaign_simulation.pyi index 413d56369..2577acd93 100644 --- a/google-stubs/ads/googleads/v14/resources/types/campaign_simulation.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/campaign_simulation.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.simulation import ( @@ -14,6 +16,8 @@ from google.ads.googleads.v14.enums.types.simulation_modification_method import ) from google.ads.googleads.v14.enums.types.simulation_type import SimulationTypeEnum +_M = TypeVar("_M") + class CampaignSimulation(proto.Message): resource_name: str campaign_id: int @@ -27,8 +31,8 @@ class CampaignSimulation(proto.Message): target_impression_share_point_list: TargetImpressionShareSimulationPointList budget_point_list: BudgetSimulationPointList def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/carrier_constant.pyi b/google-stubs/ads/googleads/v14/resources/types/carrier_constant.pyi index 596a1987d..f9f6328a3 100644 --- a/google-stubs/ads/googleads/v14/resources/types/carrier_constant.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/carrier_constant.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CarrierConstant(proto.Message): resource_name: str id: int name: str country_code: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/change_event.pyi b/google-stubs/ads/googleads/v14/resources/types/change_event.pyi index cfd75782f..0ee783216 100644 --- a/google-stubs/ads/googleads/v14/resources/types/change_event.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/change_event.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask @@ -34,6 +36,8 @@ from google.ads.googleads.v14.resources.types.customer_asset import CustomerAsse from google.ads.googleads.v14.resources.types.feed import Feed from google.ads.googleads.v14.resources.types.feed_item import FeedItem +_M = TypeVar("_M") + class ChangeEvent(proto.Message): class ChangedResource(proto.Message): ad: Ad @@ -56,8 +60,8 @@ class ChangeEvent(proto.Message): asset_set_asset: AssetSetAsset campaign_asset_set: CampaignAssetSet def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad: Ad = ..., @@ -96,8 +100,8 @@ class ChangeEvent(proto.Message): feed_item: str asset: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/change_status.pyi b/google-stubs/ads/googleads/v14/resources/types/change_status.pyi index f163ad8fb..0bd6ae43d 100644 --- a/google-stubs/ads/googleads/v14/resources/types/change_status.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/change_status.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.change_status_operation import ( @@ -9,6 +11,8 @@ from google.ads.googleads.v14.enums.types.change_status_resource_type import ( ChangeStatusResourceTypeEnum, ) +_M = TypeVar("_M") + class ChangeStatus(proto.Message): resource_name: str last_change_date_time: str @@ -32,8 +36,8 @@ class ChangeStatus(proto.Message): ad_group_asset: str combined_audience: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/click_view.pyi b/google-stubs/ads/googleads/v14/resources/types/click_view.pyi index cbdd0dc53..a612e08dd 100644 --- a/google-stubs/ads/googleads/v14/resources/types/click_view.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/click_view.pyi @@ -1,10 +1,14 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.click_location import ClickLocation from google.ads.googleads.v14.common.types.criteria import KeywordInfo +_M = TypeVar("_M") + class ClickView(proto.Message): resource_name: str gclid: str @@ -17,8 +21,8 @@ class ClickView(proto.Message): keyword: str keyword_info: KeywordInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/combined_audience.pyi b/google-stubs/ads/googleads/v14/resources/types/combined_audience.pyi index eab39e3e0..75a676e59 100644 --- a/google-stubs/ads/googleads/v14/resources/types/combined_audience.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/combined_audience.pyi @@ -1,11 +1,15 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.combined_audience_status import ( CombinedAudienceStatusEnum, ) +_M = TypeVar("_M") + class CombinedAudience(proto.Message): resource_name: str id: int @@ -13,8 +17,8 @@ class CombinedAudience(proto.Message): name: str description: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/conversion_action.pyi b/google-stubs/ads/googleads/v14/resources/types/conversion_action.pyi index c9ab47268..63326e2be 100644 --- a/google-stubs/ads/googleads/v14/resources/types/conversion_action.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/conversion_action.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.tag_snippet import TagSnippet @@ -23,13 +24,15 @@ from google.ads.googleads.v14.enums.types.data_driven_model_status import ( ) from google.ads.googleads.v14.enums.types.mobile_app_vendor import MobileAppVendorEnum +_M = TypeVar("_M") + class ConversionAction(proto.Message): class AttributionModelSettings(proto.Message): attribution_model: AttributionModelEnum.AttributionModel data_driven_model_status: DataDrivenModelStatusEnum.DataDrivenModelStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., attribution_model: AttributionModelEnum.AttributionModel = ..., @@ -42,8 +45,8 @@ class ConversionAction(proto.Message): property_id: int property_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., event_name: str = ..., @@ -57,8 +60,8 @@ class ConversionAction(proto.Message): property_name: str property_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., event_name: str = ..., @@ -70,8 +73,8 @@ class ConversionAction(proto.Message): event_name: str provider_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., event_name: str = ..., @@ -83,8 +86,8 @@ class ConversionAction(proto.Message): default_currency_code: str always_use_default_value: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., default_value: float = ..., @@ -114,8 +117,8 @@ class ConversionAction(proto.Message): third_party_app_analytics_settings: ConversionAction.ThirdPartyAppAnalyticsSettings google_analytics_4_settings: ConversionAction.GoogleAnalytics4Settings def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/conversion_custom_variable.pyi b/google-stubs/ads/googleads/v14/resources/types/conversion_custom_variable.pyi index bd1f5511b..2262d0750 100644 --- a/google-stubs/ads/googleads/v14/resources/types/conversion_custom_variable.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/conversion_custom_variable.pyi @@ -1,11 +1,15 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.conversion_custom_variable_status import ( ConversionCustomVariableStatusEnum, ) +_M = TypeVar("_M") + class ConversionCustomVariable(proto.Message): resource_name: str id: int @@ -14,8 +18,8 @@ class ConversionCustomVariable(proto.Message): status: ConversionCustomVariableStatusEnum.ConversionCustomVariableStatus owner_customer: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/conversion_goal_campaign_config.pyi b/google-stubs/ads/googleads/v14/resources/types/conversion_goal_campaign_config.pyi index 3d707b697..719145958 100644 --- a/google-stubs/ads/googleads/v14/resources/types/conversion_goal_campaign_config.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/conversion_goal_campaign_config.pyi @@ -1,17 +1,21 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.goal_config_level import GoalConfigLevelEnum +_M = TypeVar("_M") + class ConversionGoalCampaignConfig(proto.Message): resource_name: str campaign: str goal_config_level: GoalConfigLevelEnum.GoalConfigLevel custom_conversion_goal: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/conversion_value_rule.pyi b/google-stubs/ads/googleads/v14/resources/types/conversion_value_rule.pyi index e474d2a1f..dbfd22c57 100644 --- a/google-stubs/ads/googleads/v14/resources/types/conversion_value_rule.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/conversion_value_rule.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.conversion_value_rule_status import ( @@ -16,13 +17,15 @@ from google.ads.googleads.v14.enums.types.value_rule_operation import ( ValueRuleOperationEnum, ) +_M = TypeVar("_M") + class ConversionValueRule(proto.Message): class ValueRuleAction(proto.Message): operation: ValueRuleOperationEnum.ValueRuleOperation value: float def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., operation: ValueRuleOperationEnum.ValueRuleOperation = ..., @@ -33,8 +36,8 @@ class ConversionValueRule(proto.Message): user_lists: MutableSequence[str] user_interests: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., user_lists: MutableSequence[str] = ..., @@ -44,8 +47,8 @@ class ConversionValueRule(proto.Message): class ValueRuleDeviceCondition(proto.Message): device_types: MutableSequence[ValueRuleDeviceTypeEnum.ValueRuleDeviceType] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., device_types: MutableSequence[ @@ -59,8 +62,8 @@ class ConversionValueRule(proto.Message): geo_target_constants: MutableSequence[str] geo_match_type: ValueRuleGeoLocationMatchTypeEnum.ValueRuleGeoLocationMatchType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., excluded_geo_target_constants: MutableSequence[str] = ..., @@ -77,8 +80,8 @@ class ConversionValueRule(proto.Message): owner_customer: str status: ConversionValueRuleStatusEnum.ConversionValueRuleStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/conversion_value_rule_set.pyi b/google-stubs/ads/googleads/v14/resources/types/conversion_value_rule_set.pyi index f01fafa1e..be0e7b6c3 100644 --- a/google-stubs/ads/googleads/v14/resources/types/conversion_value_rule_set.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/conversion_value_rule_set.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.conversion_action_category import ( @@ -16,6 +17,8 @@ from google.ads.googleads.v14.enums.types.value_rule_set_dimension import ( ValueRuleSetDimensionEnum, ) +_M = TypeVar("_M") + class ConversionValueRuleSet(proto.Message): resource_name: str id: int @@ -29,8 +32,8 @@ class ConversionValueRuleSet(proto.Message): ConversionActionCategoryEnum.ConversionActionCategory ] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/currency_constant.pyi b/google-stubs/ads/googleads/v14/resources/types/currency_constant.pyi index 90578cea6..d05f7ec3b 100644 --- a/google-stubs/ads/googleads/v14/resources/types/currency_constant.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/currency_constant.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CurrencyConstant(proto.Message): resource_name: str code: str @@ -9,8 +13,8 @@ class CurrencyConstant(proto.Message): symbol: str billable_unit_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/custom_audience.pyi b/google-stubs/ads/googleads/v14/resources/types/custom_audience.pyi index f933cff46..9e799a208 100644 --- a/google-stubs/ads/googleads/v14/resources/types/custom_audience.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/custom_audience.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.custom_audience_member_type import ( @@ -13,6 +14,8 @@ from google.ads.googleads.v14.enums.types.custom_audience_type import ( CustomAudienceTypeEnum, ) +_M = TypeVar("_M") + class CustomAudience(proto.Message): resource_name: str id: int @@ -22,8 +25,8 @@ class CustomAudience(proto.Message): description: str members: MutableSequence[CustomAudienceMember] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -42,8 +45,8 @@ class CustomAudienceMember(proto.Message): place_category: int app: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., member_type: CustomAudienceMemberTypeEnum.CustomAudienceMemberType = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/custom_conversion_goal.pyi b/google-stubs/ads/googleads/v14/resources/types/custom_conversion_goal.pyi index a54079c39..92445a30b 100644 --- a/google-stubs/ads/googleads/v14/resources/types/custom_conversion_goal.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/custom_conversion_goal.pyi @@ -1,12 +1,15 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.custom_conversion_goal_status import ( CustomConversionGoalStatusEnum, ) +_M = TypeVar("_M") + class CustomConversionGoal(proto.Message): resource_name: str id: int @@ -14,8 +17,8 @@ class CustomConversionGoal(proto.Message): conversion_actions: MutableSequence[str] status: CustomConversionGoalStatusEnum.CustomConversionGoalStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/custom_interest.pyi b/google-stubs/ads/googleads/v14/resources/types/custom_interest.pyi index b3b46fb20..e22d29f1f 100644 --- a/google-stubs/ads/googleads/v14/resources/types/custom_interest.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/custom_interest.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.custom_interest_member_type import ( @@ -13,6 +14,8 @@ from google.ads.googleads.v14.enums.types.custom_interest_type import ( CustomInterestTypeEnum, ) +_M = TypeVar("_M") + class CustomInterest(proto.Message): resource_name: str id: int @@ -22,8 +25,8 @@ class CustomInterest(proto.Message): description: str members: MutableSequence[CustomInterestMember] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -39,8 +42,8 @@ class CustomInterestMember(proto.Message): member_type: CustomInterestMemberTypeEnum.CustomInterestMemberType parameter: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., member_type: CustomInterestMemberTypeEnum.CustomInterestMemberType = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/customer.pyi b/google-stubs/ads/googleads/v14/resources/types/customer.pyi index 978252614..65e16ebde 100644 --- a/google-stubs/ads/googleads/v14/resources/types/customer.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/customer.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.conversion_tracking_status_enum import ( @@ -39,13 +40,15 @@ from google.ads.googleads.v14.errors.types.string_length_error import ( StringLengthErrorEnum, ) +_M = TypeVar("_M") + class CallReportingSetting(proto.Message): call_reporting_enabled: bool call_conversion_reporting_enabled: bool call_conversion_action: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., call_reporting_enabled: bool = ..., @@ -61,8 +64,8 @@ class ConversionTrackingSetting(proto.Message): enhanced_conversions_for_leads_enabled: bool google_ads_conversion_customer: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., conversion_tracking_id: int = ..., @@ -101,8 +104,8 @@ class Customer(proto.Message): offline_conversion_client_summaries: MutableSequence[OfflineConversionClientSummary] customer_agreement_setting: CustomerAgreementSetting def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -138,8 +141,8 @@ class Customer(proto.Message): class CustomerAgreementSetting(proto.Message): accepted_lead_form_terms: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., accepted_lead_form_terms: bool = ... @@ -156,8 +159,8 @@ class OfflineConversionClientSummary(proto.Message): job_summaries: MutableSequence[OfflineConversionUploadSummary] alerts: MutableSequence[OfflineConversionUploadAlert] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., client: OfflineEventUploadClientEnum.OfflineEventUploadClient = ..., @@ -175,8 +178,8 @@ class OfflineConversionUploadAlert(proto.Message): error: OfflineConversionUploadError error_percentage: float def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., error: OfflineConversionUploadError = ..., @@ -195,8 +198,8 @@ class OfflineConversionUploadError(proto.Message): string_format_error: StringFormatErrorEnum.StringFormatError string_length_error: StringLengthErrorEnum.StringLengthError def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., collection_size_error: CollectionSizeErrorEnum.CollectionSizeError = ..., @@ -217,8 +220,8 @@ class OfflineConversionUploadSummary(proto.Message): job_id: int upload_date: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., successful_count: int = ..., @@ -230,8 +233,8 @@ class OfflineConversionUploadSummary(proto.Message): class RemarketingSetting(proto.Message): google_global_site_tag: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., google_global_site_tag: str = ... diff --git a/google-stubs/ads/googleads/v14/resources/types/customer_asset.pyi b/google-stubs/ads/googleads/v14/resources/types/customer_asset.pyi index 2eb979176..43aa4cdf6 100644 --- a/google-stubs/ads/googleads/v14/resources/types/customer_asset.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/customer_asset.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.asset_policy import ( @@ -16,6 +17,8 @@ from google.ads.googleads.v14.enums.types.asset_link_primary_status_reason impor from google.ads.googleads.v14.enums.types.asset_link_status import AssetLinkStatusEnum from google.ads.googleads.v14.enums.types.asset_source import AssetSourceEnum +_M = TypeVar("_M") + class CustomerAsset(proto.Message): resource_name: str asset: str @@ -28,8 +31,8 @@ class CustomerAsset(proto.Message): AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason ] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/customer_asset_set.pyi b/google-stubs/ads/googleads/v14/resources/types/customer_asset_set.pyi index ac9b1b531..b9e51a0f8 100644 --- a/google-stubs/ads/googleads/v14/resources/types/customer_asset_set.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/customer_asset_set.pyi @@ -1,19 +1,23 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.asset_set_link_status import ( AssetSetLinkStatusEnum, ) +_M = TypeVar("_M") + class CustomerAssetSet(proto.Message): resource_name: str asset_set: str customer: str status: AssetSetLinkStatusEnum.AssetSetLinkStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/customer_client.pyi b/google-stubs/ads/googleads/v14/resources/types/customer_client.pyi index 4e04f02f6..f393aa765 100644 --- a/google-stubs/ads/googleads/v14/resources/types/customer_client.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/customer_client.pyi @@ -1,10 +1,13 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.customer_status import CustomerStatusEnum +_M = TypeVar("_M") + class CustomerClient(proto.Message): resource_name: str client_customer: str @@ -19,8 +22,8 @@ class CustomerClient(proto.Message): applied_labels: MutableSequence[str] status: CustomerStatusEnum.CustomerStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/customer_client_link.pyi b/google-stubs/ads/googleads/v14/resources/types/customer_client_link.pyi index 6d7d9f46d..d87be71eb 100644 --- a/google-stubs/ads/googleads/v14/resources/types/customer_client_link.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/customer_client_link.pyi @@ -1,11 +1,15 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.manager_link_status import ( ManagerLinkStatusEnum, ) +_M = TypeVar("_M") + class CustomerClientLink(proto.Message): resource_name: str client_customer: str @@ -13,8 +17,8 @@ class CustomerClientLink(proto.Message): status: ManagerLinkStatusEnum.ManagerLinkStatus hidden: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/customer_conversion_goal.pyi b/google-stubs/ads/googleads/v14/resources/types/customer_conversion_goal.pyi index 58b0ddb2c..469777834 100644 --- a/google-stubs/ads/googleads/v14/resources/types/customer_conversion_goal.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/customer_conversion_goal.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.conversion_action_category import ( @@ -7,14 +9,16 @@ from google.ads.googleads.v14.enums.types.conversion_action_category import ( ) from google.ads.googleads.v14.enums.types.conversion_origin import ConversionOriginEnum +_M = TypeVar("_M") + class CustomerConversionGoal(proto.Message): resource_name: str category: ConversionActionCategoryEnum.ConversionActionCategory origin: ConversionOriginEnum.ConversionOrigin biddable: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/customer_customizer.pyi b/google-stubs/ads/googleads/v14/resources/types/customer_customizer.pyi index f8de5be9b..516cbdee3 100644 --- a/google-stubs/ads/googleads/v14/resources/types/customer_customizer.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/customer_customizer.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.customizer_value import CustomizerValue @@ -7,14 +9,16 @@ from google.ads.googleads.v14.enums.types.customizer_value_status import ( CustomizerValueStatusEnum, ) +_M = TypeVar("_M") + class CustomerCustomizer(proto.Message): resource_name: str customizer_attribute: str status: CustomizerValueStatusEnum.CustomizerValueStatus value: CustomizerValue def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/customer_extension_setting.pyi b/google-stubs/ads/googleads/v14/resources/types/customer_extension_setting.pyi index 71e0b28fc..0b36bacf9 100644 --- a/google-stubs/ads/googleads/v14/resources/types/customer_extension_setting.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/customer_extension_setting.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.extension_setting_device import ( @@ -8,14 +9,16 @@ from google.ads.googleads.v14.enums.types.extension_setting_device import ( ) from google.ads.googleads.v14.enums.types.extension_type import ExtensionTypeEnum +_M = TypeVar("_M") + class CustomerExtensionSetting(proto.Message): resource_name: str extension_type: ExtensionTypeEnum.ExtensionType extension_feed_items: MutableSequence[str] device: ExtensionSettingDeviceEnum.ExtensionSettingDevice def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/customer_feed.pyi b/google-stubs/ads/googleads/v14/resources/types/customer_feed.pyi index 46492e45e..7e5318f85 100644 --- a/google-stubs/ads/googleads/v14/resources/types/customer_feed.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/customer_feed.pyi @@ -1,12 +1,15 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.matching_function import MatchingFunction from google.ads.googleads.v14.enums.types.feed_link_status import FeedLinkStatusEnum from google.ads.googleads.v14.enums.types.placeholder_type import PlaceholderTypeEnum +_M = TypeVar("_M") + class CustomerFeed(proto.Message): resource_name: str feed: str @@ -14,8 +17,8 @@ class CustomerFeed(proto.Message): matching_function: MatchingFunction status: FeedLinkStatusEnum.FeedLinkStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/customer_label.pyi b/google-stubs/ads/googleads/v14/resources/types/customer_label.pyi index dcaeaa60f..12ec6c8f4 100644 --- a/google-stubs/ads/googleads/v14/resources/types/customer_label.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/customer_label.pyi @@ -1,14 +1,18 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomerLabel(proto.Message): resource_name: str customer: str label: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/customer_manager_link.pyi b/google-stubs/ads/googleads/v14/resources/types/customer_manager_link.pyi index e3b7db6ee..291a2fbd0 100644 --- a/google-stubs/ads/googleads/v14/resources/types/customer_manager_link.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/customer_manager_link.pyi @@ -1,19 +1,23 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.manager_link_status import ( ManagerLinkStatusEnum, ) +_M = TypeVar("_M") + class CustomerManagerLink(proto.Message): resource_name: str manager_customer: str manager_link_id: int status: ManagerLinkStatusEnum.ManagerLinkStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/customer_negative_criterion.pyi b/google-stubs/ads/googleads/v14/resources/types/customer_negative_criterion.pyi index 09455c80d..10f78ff04 100644 --- a/google-stubs/ads/googleads/v14/resources/types/customer_negative_criterion.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/customer_negative_criterion.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.criteria import ( @@ -13,6 +15,8 @@ from google.ads.googleads.v14.common.types.criteria import ( ) from google.ads.googleads.v14.enums.types.criterion_type import CriterionTypeEnum +_M = TypeVar("_M") + class CustomerNegativeCriterion(proto.Message): resource_name: str id: int @@ -25,8 +29,8 @@ class CustomerNegativeCriterion(proto.Message): youtube_channel: YouTubeChannelInfo negative_keyword_list: NegativeKeywordListInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/customer_search_term_insight.pyi b/google-stubs/ads/googleads/v14/resources/types/customer_search_term_insight.pyi index 32eac339e..e2b07b3e5 100644 --- a/google-stubs/ads/googleads/v14/resources/types/customer_search_term_insight.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/customer_search_term_insight.pyi @@ -1,14 +1,18 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomerSearchTermInsight(proto.Message): resource_name: str category_label: str id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/customer_sk_ad_network_conversion_value_schema.pyi b/google-stubs/ads/googleads/v14/resources/types/customer_sk_ad_network_conversion_value_schema.pyi index 9a3758526..10c188627 100644 --- a/google-stubs/ads/googleads/v14/resources/types/customer_sk_ad_network_conversion_value_schema.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/customer_sk_ad_network_conversion_value_schema.pyi @@ -1,8 +1,11 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomerSkAdNetworkConversionValueSchema(proto.Message): class SkAdNetworkConversionValueSchema(proto.Message): class ConversionValueMapping(proto.Message): @@ -12,8 +15,8 @@ class CustomerSkAdNetworkConversionValueSchema(proto.Message): CustomerSkAdNetworkConversionValueSchema.SkAdNetworkConversionValueSchema.Event ] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., min_time_post_install_hours: int = ..., @@ -28,8 +31,11 @@ class CustomerSkAdNetworkConversionValueSchema(proto.Message): min_event_count: int max_event_count: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M + | Mapping + | google.protobuf.message.Message + | None = ..., *, ignore_unknown_fields: bool = ..., min_event_count: int = ..., @@ -40,8 +46,11 @@ class CustomerSkAdNetworkConversionValueSchema(proto.Message): min_event_revenue: float max_event_revenue: float def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M + | Mapping + | google.protobuf.message.Message + | None = ..., *, ignore_unknown_fields: bool = ..., min_event_revenue: float = ..., @@ -54,8 +63,8 @@ class CustomerSkAdNetworkConversionValueSchema(proto.Message): event_occurrence_range: CustomerSkAdNetworkConversionValueSchema.SkAdNetworkConversionValueSchema.Event.EventOccurrenceRange event_counter: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., mapped_event_name: str = ..., @@ -70,8 +79,8 @@ class CustomerSkAdNetworkConversionValueSchema(proto.Message): fine_grained_conversion_value: int conversion_value_mapping: CustomerSkAdNetworkConversionValueSchema.SkAdNetworkConversionValueSchema.ConversionValueMapping def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., fine_grained_conversion_value: int = ..., @@ -83,8 +92,8 @@ class CustomerSkAdNetworkConversionValueSchema(proto.Message): CustomerSkAdNetworkConversionValueSchema.SkAdNetworkConversionValueSchema.FineGrainedConversionValueMappings ] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., app_id: str = ..., @@ -96,8 +105,8 @@ class CustomerSkAdNetworkConversionValueSchema(proto.Message): resource_name: str schema: CustomerSkAdNetworkConversionValueSchema.SkAdNetworkConversionValueSchema def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/customer_user_access.pyi b/google-stubs/ads/googleads/v14/resources/types/customer_user_access.pyi index b9d21feb9..30780a0be 100644 --- a/google-stubs/ads/googleads/v14/resources/types/customer_user_access.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/customer_user_access.pyi @@ -1,9 +1,13 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.access_role import AccessRoleEnum +_M = TypeVar("_M") + class CustomerUserAccess(proto.Message): resource_name: str user_id: int @@ -12,8 +16,8 @@ class CustomerUserAccess(proto.Message): access_creation_date_time: str inviter_user_email_address: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/customer_user_access_invitation.pyi b/google-stubs/ads/googleads/v14/resources/types/customer_user_access_invitation.pyi index 1e2f1c752..69c74b1c7 100644 --- a/google-stubs/ads/googleads/v14/resources/types/customer_user_access_invitation.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/customer_user_access_invitation.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.access_invitation_status import ( @@ -7,6 +9,8 @@ from google.ads.googleads.v14.enums.types.access_invitation_status import ( ) from google.ads.googleads.v14.enums.types.access_role import AccessRoleEnum +_M = TypeVar("_M") + class CustomerUserAccessInvitation(proto.Message): resource_name: str invitation_id: int @@ -15,8 +19,8 @@ class CustomerUserAccessInvitation(proto.Message): creation_date_time: str invitation_status: AccessInvitationStatusEnum.AccessInvitationStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/customizer_attribute.pyi b/google-stubs/ads/googleads/v14/resources/types/customizer_attribute.pyi index a97d5635e..8514e7536 100644 --- a/google-stubs/ads/googleads/v14/resources/types/customizer_attribute.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/customizer_attribute.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.customizer_attribute_status import ( @@ -9,6 +11,8 @@ from google.ads.googleads.v14.enums.types.customizer_attribute_type import ( CustomizerAttributeTypeEnum, ) +_M = TypeVar("_M") + class CustomizerAttribute(proto.Message): resource_name: str id: int @@ -16,8 +20,8 @@ class CustomizerAttribute(proto.Message): type_: CustomizerAttributeTypeEnum.CustomizerAttributeType status: CustomizerAttributeStatusEnum.CustomizerAttributeStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/detail_placement_view.pyi b/google-stubs/ads/googleads/v14/resources/types/detail_placement_view.pyi index f1645cfe1..e9b4b58bc 100644 --- a/google-stubs/ads/googleads/v14/resources/types/detail_placement_view.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/detail_placement_view.pyi @@ -1,9 +1,13 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.placement_type import PlacementTypeEnum +_M = TypeVar("_M") + class DetailPlacementView(proto.Message): resource_name: str placement: str @@ -12,8 +16,8 @@ class DetailPlacementView(proto.Message): target_url: str placement_type: PlacementTypeEnum.PlacementType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/detailed_demographic.pyi b/google-stubs/ads/googleads/v14/resources/types/detailed_demographic.pyi index 8c1e2879c..81da638f8 100644 --- a/google-stubs/ads/googleads/v14/resources/types/detailed_demographic.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/detailed_demographic.pyi @@ -1,12 +1,15 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.criterion_category_availability import ( CriterionCategoryAvailability, ) +_M = TypeVar("_M") + class DetailedDemographic(proto.Message): resource_name: str id: int @@ -15,8 +18,8 @@ class DetailedDemographic(proto.Message): launched_to_all: bool availabilities: MutableSequence[CriterionCategoryAvailability] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/display_keyword_view.pyi b/google-stubs/ads/googleads/v14/resources/types/display_keyword_view.pyi index 4808af26f..fb262da23 100644 --- a/google-stubs/ads/googleads/v14/resources/types/display_keyword_view.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/display_keyword_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class DisplayKeywordView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v14/resources/types/distance_view.pyi b/google-stubs/ads/googleads/v14/resources/types/distance_view.pyi index 6e9401480..61e07437f 100644 --- a/google-stubs/ads/googleads/v14/resources/types/distance_view.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/distance_view.pyi @@ -1,16 +1,20 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.distance_bucket import DistanceBucketEnum +_M = TypeVar("_M") + class DistanceView(proto.Message): resource_name: str distance_bucket: DistanceBucketEnum.DistanceBucket metric_system: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/domain_category.pyi b/google-stubs/ads/googleads/v14/resources/types/domain_category.pyi index 5006c9904..fffe80165 100644 --- a/google-stubs/ads/googleads/v14/resources/types/domain_category.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/domain_category.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class DomainCategory(proto.Message): resource_name: str campaign: str @@ -13,8 +17,8 @@ class DomainCategory(proto.Message): has_children: bool recommended_cpc_bid_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/dynamic_search_ads_search_term_view.pyi b/google-stubs/ads/googleads/v14/resources/types/dynamic_search_ads_search_term_view.pyi index 4ed7efa29..dad1d47e2 100644 --- a/google-stubs/ads/googleads/v14/resources/types/dynamic_search_ads_search_term_view.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/dynamic_search_ads_search_term_view.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class DynamicSearchAdsSearchTermView(proto.Message): resource_name: str search_term: str @@ -12,8 +16,8 @@ class DynamicSearchAdsSearchTermView(proto.Message): has_matching_keyword: bool has_negative_url: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/expanded_landing_page_view.pyi b/google-stubs/ads/googleads/v14/resources/types/expanded_landing_page_view.pyi index 952d175b0..508cf151b 100644 --- a/google-stubs/ads/googleads/v14/resources/types/expanded_landing_page_view.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/expanded_landing_page_view.pyi @@ -1,13 +1,17 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ExpandedLandingPageView(proto.Message): resource_name: str expanded_final_url: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/experiment.pyi b/google-stubs/ads/googleads/v14/resources/types/experiment.pyi index b333adeb7..972284d2c 100644 --- a/google-stubs/ads/googleads/v14/resources/types/experiment.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/experiment.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.metric_goal import MetricGoal @@ -10,6 +11,8 @@ from google.ads.googleads.v14.enums.types.async_action_status import ( from google.ads.googleads.v14.enums.types.experiment_status import ExperimentStatusEnum from google.ads.googleads.v14.enums.types.experiment_type import ExperimentTypeEnum +_M = TypeVar("_M") + class Experiment(proto.Message): resource_name: str experiment_id: int @@ -24,8 +27,8 @@ class Experiment(proto.Message): long_running_operation: str promote_status: AsyncActionStatusEnum.AsyncActionStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/experiment_arm.pyi b/google-stubs/ads/googleads/v14/resources/types/experiment_arm.pyi index 0a2d9b210..57e75d7df 100644 --- a/google-stubs/ads/googleads/v14/resources/types/experiment_arm.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/experiment_arm.pyi @@ -1,8 +1,11 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ExperimentArm(proto.Message): resource_name: str experiment: str @@ -12,8 +15,8 @@ class ExperimentArm(proto.Message): campaigns: MutableSequence[str] in_design_campaigns: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/extension_feed_item.pyi b/google-stubs/ads/googleads/v14/resources/types/extension_feed_item.pyi index 49078ed64..60b411e90 100644 --- a/google-stubs/ads/googleads/v14/resources/types/extension_feed_item.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/extension_feed_item.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.criteria import AdScheduleInfo, KeywordInfo @@ -24,6 +25,8 @@ from google.ads.googleads.v14.enums.types.feed_item_target_device import ( FeedItemTargetDeviceEnum, ) +_M = TypeVar("_M") + class ExtensionFeedItem(proto.Message): resource_name: str id: int @@ -50,8 +53,8 @@ class ExtensionFeedItem(proto.Message): targeted_campaign: str targeted_ad_group: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/feed.pyi b/google-stubs/ads/googleads/v14/resources/types/feed.pyi index d4e831168..c33c054a1 100644 --- a/google-stubs/ads/googleads/v14/resources/types/feed.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/feed.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.affiliate_location_feed_relationship_type import ( @@ -12,13 +13,15 @@ from google.ads.googleads.v14.enums.types.feed_attribute_type import ( from google.ads.googleads.v14.enums.types.feed_origin import FeedOriginEnum from google.ads.googleads.v14.enums.types.feed_status import FeedStatusEnum +_M = TypeVar("_M") + class Feed(proto.Message): class AffiliateLocationFeedData(proto.Message): chain_ids: MutableSequence[int] relationship_type: AffiliateLocationFeedRelationshipTypeEnum.AffiliateLocationFeedRelationshipType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., chain_ids: MutableSequence[int] = ..., @@ -31,8 +34,8 @@ class Feed(proto.Message): http_request_url: str http_authorization_header: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., http_method: str = ..., @@ -46,8 +49,8 @@ class Feed(proto.Message): category_filters: MutableSequence[str] label_filters: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., oauth_info: Feed.PlacesLocationFeedData.OAuthInfo = ..., @@ -67,8 +70,8 @@ class Feed(proto.Message): places_location_feed_data: Feed.PlacesLocationFeedData affiliate_location_feed_data: Feed.AffiliateLocationFeedData def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -88,8 +91,8 @@ class FeedAttribute(proto.Message): type_: FeedAttributeTypeEnum.FeedAttributeType is_part_of_key: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., id: int = ..., @@ -106,8 +109,8 @@ class FeedAttributeOperation(proto.Message): operator: FeedAttributeOperation.Operator value: FeedAttribute def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., operator: FeedAttributeOperation.Operator = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/feed_item.pyi b/google-stubs/ads/googleads/v14/resources/types/feed_item.pyi index aad86aa04..d0b78a34e 100644 --- a/google-stubs/ads/googleads/v14/resources/types/feed_item.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/feed_item.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.custom_parameter import CustomParameter @@ -30,6 +31,8 @@ from google.ads.googleads.v14.errors.types.feed_item_validation_error import ( FeedItemValidationErrorEnum, ) +_M = TypeVar("_M") + class FeedItem(proto.Message): resource_name: str feed: str @@ -42,8 +45,8 @@ class FeedItem(proto.Message): status: FeedItemStatusEnum.FeedItemStatus policy_infos: MutableSequence[FeedItemPlaceholderPolicyInfo] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -70,8 +73,8 @@ class FeedItemAttributeValue(proto.Message): string_values: MutableSequence[str] double_values: MutableSequence[float] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., feed_attribute_id: int = ..., @@ -99,8 +102,8 @@ class FeedItemPlaceholderPolicyInfo(proto.Message): FeedItemQualityDisapprovalReasonEnum.FeedItemQualityDisapprovalReason ] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., placeholder_type_enum: PlaceholderTypeEnum.PlaceholderType = ..., @@ -122,8 +125,8 @@ class FeedItemValidationError(proto.Message): feed_attribute_ids: MutableSequence[int] extra_info: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., validation_error: FeedItemValidationErrorEnum.FeedItemValidationError = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/feed_item_set.pyi b/google-stubs/ads/googleads/v14/resources/types/feed_item_set.pyi index 1aec04f88..6545791f6 100644 --- a/google-stubs/ads/googleads/v14/resources/types/feed_item_set.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/feed_item_set.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.feed_item_set_filter_type_infos import ( @@ -10,6 +12,8 @@ from google.ads.googleads.v14.enums.types.feed_item_set_status import ( FeedItemSetStatusEnum, ) +_M = TypeVar("_M") + class FeedItemSet(proto.Message): resource_name: str feed: str @@ -19,8 +23,8 @@ class FeedItemSet(proto.Message): dynamic_location_set_filter: DynamicLocationSetFilter dynamic_affiliate_location_set_filter: DynamicAffiliateLocationSetFilter def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/feed_item_set_link.pyi b/google-stubs/ads/googleads/v14/resources/types/feed_item_set_link.pyi index 1304eaad5..19c9bb22a 100644 --- a/google-stubs/ads/googleads/v14/resources/types/feed_item_set_link.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/feed_item_set_link.pyi @@ -1,14 +1,18 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedItemSetLink(proto.Message): resource_name: str feed_item: str feed_item_set: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/feed_item_target.pyi b/google-stubs/ads/googleads/v14/resources/types/feed_item_target.pyi index 357f064ed..18968692e 100644 --- a/google-stubs/ads/googleads/v14/resources/types/feed_item_target.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/feed_item_target.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.criteria import AdScheduleInfo, KeywordInfo @@ -13,6 +15,8 @@ from google.ads.googleads.v14.enums.types.feed_item_target_type import ( FeedItemTargetTypeEnum, ) +_M = TypeVar("_M") + class FeedItemTarget(proto.Message): resource_name: str feed_item: str @@ -26,8 +30,8 @@ class FeedItemTarget(proto.Message): device: FeedItemTargetDeviceEnum.FeedItemTargetDevice ad_schedule: AdScheduleInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/feed_mapping.pyi b/google-stubs/ads/googleads/v14/resources/types/feed_mapping.pyi index e3cfae9d1..16b47aa5b 100644 --- a/google-stubs/ads/googleads/v14/resources/types/feed_mapping.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/feed_mapping.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.ad_customizer_placeholder_field import ( @@ -77,6 +78,8 @@ from google.ads.googleads.v14.enums.types.travel_placeholder_field import ( TravelPlaceholderFieldEnum, ) +_M = TypeVar("_M") + class AttributeFieldMapping(proto.Message): feed_attribute_id: int field_id: int @@ -103,8 +106,8 @@ class AttributeFieldMapping(proto.Message): job_field: JobPlaceholderFieldEnum.JobPlaceholderField image_field: ImagePlaceholderFieldEnum.ImagePlaceholderField def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., feed_attribute_id: int = ..., @@ -141,8 +144,8 @@ class FeedMapping(proto.Message): placeholder_type: PlaceholderTypeEnum.PlaceholderType criterion_type: FeedMappingCriterionTypeEnum.FeedMappingCriterionType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/feed_placeholder_view.pyi b/google-stubs/ads/googleads/v14/resources/types/feed_placeholder_view.pyi index 4decda3e3..3510d8d09 100644 --- a/google-stubs/ads/googleads/v14/resources/types/feed_placeholder_view.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/feed_placeholder_view.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.placeholder_type import PlaceholderTypeEnum +_M = TypeVar("_M") + class FeedPlaceholderView(proto.Message): resource_name: str placeholder_type: PlaceholderTypeEnum.PlaceholderType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/gender_view.pyi b/google-stubs/ads/googleads/v14/resources/types/gender_view.pyi index c4ad696f0..ee2ce34b3 100644 --- a/google-stubs/ads/googleads/v14/resources/types/gender_view.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/gender_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class GenderView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v14/resources/types/geo_target_constant.pyi b/google-stubs/ads/googleads/v14/resources/types/geo_target_constant.pyi index ac20a4ad9..1914994c5 100644 --- a/google-stubs/ads/googleads/v14/resources/types/geo_target_constant.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/geo_target_constant.pyi @@ -1,11 +1,15 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.geo_target_constant_status import ( GeoTargetConstantStatusEnum, ) +_M = TypeVar("_M") + class GeoTargetConstant(proto.Message): resource_name: str id: int @@ -16,8 +20,8 @@ class GeoTargetConstant(proto.Message): canonical_name: str parent_geo_target: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/geographic_view.pyi b/google-stubs/ads/googleads/v14/resources/types/geographic_view.pyi index 65fff675a..44efc48b1 100644 --- a/google-stubs/ads/googleads/v14/resources/types/geographic_view.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/geographic_view.pyi @@ -1,16 +1,20 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.geo_targeting_type import GeoTargetingTypeEnum +_M = TypeVar("_M") + class GeographicView(proto.Message): resource_name: str location_type: GeoTargetingTypeEnum.GeoTargetingType country_criterion_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/google_ads_field.pyi b/google-stubs/ads/googleads/v14/resources/types/google_ads_field.pyi index 04795a859..0746f3c47 100644 --- a/google-stubs/ads/googleads/v14/resources/types/google_ads_field.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/google_ads_field.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.google_ads_field_category import ( @@ -10,6 +11,8 @@ from google.ads.googleads.v14.enums.types.google_ads_field_data_type import ( GoogleAdsFieldDataTypeEnum, ) +_M = TypeVar("_M") + class GoogleAdsField(proto.Message): resource_name: str name: str @@ -26,8 +29,8 @@ class GoogleAdsField(proto.Message): type_url: str is_repeated: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/group_placement_view.pyi b/google-stubs/ads/googleads/v14/resources/types/group_placement_view.pyi index e6fb0e1e1..0f1c5f7ab 100644 --- a/google-stubs/ads/googleads/v14/resources/types/group_placement_view.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/group_placement_view.pyi @@ -1,9 +1,13 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.placement_type import PlacementTypeEnum +_M = TypeVar("_M") + class GroupPlacementView(proto.Message): resource_name: str placement: str @@ -11,8 +15,8 @@ class GroupPlacementView(proto.Message): target_url: str placement_type: PlacementTypeEnum.PlacementType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/hotel_group_view.pyi b/google-stubs/ads/googleads/v14/resources/types/hotel_group_view.pyi index b6e3a1632..3be6e1810 100644 --- a/google-stubs/ads/googleads/v14/resources/types/hotel_group_view.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/hotel_group_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class HotelGroupView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v14/resources/types/hotel_performance_view.pyi b/google-stubs/ads/googleads/v14/resources/types/hotel_performance_view.pyi index d4dfc2125..e8866b806 100644 --- a/google-stubs/ads/googleads/v14/resources/types/hotel_performance_view.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/hotel_performance_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class HotelPerformanceView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v14/resources/types/hotel_reconciliation.pyi b/google-stubs/ads/googleads/v14/resources/types/hotel_reconciliation.pyi index 6ea2eb291..578b63cec 100644 --- a/google-stubs/ads/googleads/v14/resources/types/hotel_reconciliation.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/hotel_reconciliation.pyi @@ -1,11 +1,15 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.hotel_reconciliation_status import ( HotelReconciliationStatusEnum, ) +_M = TypeVar("_M") + class HotelReconciliation(proto.Message): resource_name: str commission_id: str @@ -19,8 +23,8 @@ class HotelReconciliation(proto.Message): billed: bool status: HotelReconciliationStatusEnum.HotelReconciliationStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/income_range_view.pyi b/google-stubs/ads/googleads/v14/resources/types/income_range_view.pyi index cb66892b2..040c44c60 100644 --- a/google-stubs/ads/googleads/v14/resources/types/income_range_view.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/income_range_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class IncomeRangeView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v14/resources/types/invoice.pyi b/google-stubs/ads/googleads/v14/resources/types/invoice.pyi index a146cd852..6a2b0396b 100644 --- a/google-stubs/ads/googleads/v14/resources/types/invoice.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/invoice.pyi @@ -1,12 +1,15 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.dates import DateRange from google.ads.googleads.v14.enums.types.invoice_type import InvoiceTypeEnum from google.ads.googleads.v14.enums.types.month_of_year import MonthOfYearEnum +_M = TypeVar("_M") + class Invoice(proto.Message): class AccountBudgetSummary(proto.Message): customer: str @@ -24,8 +27,8 @@ class Invoice(proto.Message): invalid_activity_amount_micros: int invalid_activity_summaries: MutableSequence[Invoice.InvalidActivitySummary] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer: str = ..., @@ -67,8 +70,8 @@ class Invoice(proto.Message): tax_amount_micros: int total_amount_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer: str = ..., @@ -100,8 +103,8 @@ class Invoice(proto.Message): original_purchase_order_number: str amount_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., original_month_of_service: MonthOfYearEnum.MonthOfYear = ..., @@ -139,8 +142,8 @@ class Invoice(proto.Message): account_budget_summaries: MutableSequence[Invoice.AccountBudgetSummary] account_summaries: MutableSequence[Invoice.AccountSummary] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/keyword_plan.pyi b/google-stubs/ads/googleads/v14/resources/types/keyword_plan.pyi index 5a8b4d923..ac3e1c1b2 100644 --- a/google-stubs/ads/googleads/v14/resources/types/keyword_plan.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/keyword_plan.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.dates import DateRange @@ -7,14 +9,16 @@ from google.ads.googleads.v14.enums.types.keyword_plan_forecast_interval import KeywordPlanForecastIntervalEnum, ) +_M = TypeVar("_M") + class KeywordPlan(proto.Message): resource_name: str id: int name: str forecast_period: KeywordPlanForecastPeriod def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -27,8 +31,8 @@ class KeywordPlanForecastPeriod(proto.Message): date_interval: KeywordPlanForecastIntervalEnum.KeywordPlanForecastInterval date_range: DateRange def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., date_interval: KeywordPlanForecastIntervalEnum.KeywordPlanForecastInterval = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/keyword_plan_ad_group.pyi b/google-stubs/ads/googleads/v14/resources/types/keyword_plan_ad_group.pyi index 24b16d9a3..e5b927559 100644 --- a/google-stubs/ads/googleads/v14/resources/types/keyword_plan_ad_group.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/keyword_plan_ad_group.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class KeywordPlanAdGroup(proto.Message): resource_name: str keyword_plan_campaign: str @@ -9,8 +13,8 @@ class KeywordPlanAdGroup(proto.Message): name: str cpc_bid_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/keyword_plan_ad_group_keyword.pyi b/google-stubs/ads/googleads/v14/resources/types/keyword_plan_ad_group_keyword.pyi index 78bf34587..96c9feb9b 100644 --- a/google-stubs/ads/googleads/v14/resources/types/keyword_plan_ad_group_keyword.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/keyword_plan_ad_group_keyword.pyi @@ -1,9 +1,13 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.keyword_match_type import KeywordMatchTypeEnum +_M = TypeVar("_M") + class KeywordPlanAdGroupKeyword(proto.Message): resource_name: str keyword_plan_ad_group: str @@ -13,8 +17,8 @@ class KeywordPlanAdGroupKeyword(proto.Message): cpc_bid_micros: int negative: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/keyword_plan_campaign.pyi b/google-stubs/ads/googleads/v14/resources/types/keyword_plan_campaign.pyi index 82cdb92c0..fa1125b92 100644 --- a/google-stubs/ads/googleads/v14/resources/types/keyword_plan_campaign.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/keyword_plan_campaign.pyi @@ -1,12 +1,15 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.keyword_plan_network import ( KeywordPlanNetworkEnum, ) +_M = TypeVar("_M") + class KeywordPlanCampaign(proto.Message): resource_name: str keyword_plan: str @@ -17,8 +20,8 @@ class KeywordPlanCampaign(proto.Message): cpc_bid_micros: int geo_targets: MutableSequence[KeywordPlanGeoTarget] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -34,8 +37,8 @@ class KeywordPlanCampaign(proto.Message): class KeywordPlanGeoTarget(proto.Message): geo_target_constant: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., geo_target_constant: str = ... diff --git a/google-stubs/ads/googleads/v14/resources/types/keyword_plan_campaign_keyword.pyi b/google-stubs/ads/googleads/v14/resources/types/keyword_plan_campaign_keyword.pyi index 11c81b0d6..6418aa9eb 100644 --- a/google-stubs/ads/googleads/v14/resources/types/keyword_plan_campaign_keyword.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/keyword_plan_campaign_keyword.pyi @@ -1,9 +1,13 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.keyword_match_type import KeywordMatchTypeEnum +_M = TypeVar("_M") + class KeywordPlanCampaignKeyword(proto.Message): resource_name: str keyword_plan_campaign: str @@ -12,8 +16,8 @@ class KeywordPlanCampaignKeyword(proto.Message): match_type: KeywordMatchTypeEnum.KeywordMatchType negative: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/keyword_theme_constant.pyi b/google-stubs/ads/googleads/v14/resources/types/keyword_theme_constant.pyi index 2104253ec..4b8f24f1e 100644 --- a/google-stubs/ads/googleads/v14/resources/types/keyword_theme_constant.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/keyword_theme_constant.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class KeywordThemeConstant(proto.Message): resource_name: str country_code: str language_code: str display_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/keyword_view.pyi b/google-stubs/ads/googleads/v14/resources/types/keyword_view.pyi index a6ed8f2d8..256ecfdbb 100644 --- a/google-stubs/ads/googleads/v14/resources/types/keyword_view.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/keyword_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class KeywordView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v14/resources/types/label.pyi b/google-stubs/ads/googleads/v14/resources/types/label.pyi index d59ba8226..e9999d595 100644 --- a/google-stubs/ads/googleads/v14/resources/types/label.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/label.pyi @@ -1,10 +1,14 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.text_label import TextLabel from google.ads.googleads.v14.enums.types.label_status import LabelStatusEnum +_M = TypeVar("_M") + class Label(proto.Message): resource_name: str id: int @@ -12,8 +16,8 @@ class Label(proto.Message): status: LabelStatusEnum.LabelStatus text_label: TextLabel def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/landing_page_view.pyi b/google-stubs/ads/googleads/v14/resources/types/landing_page_view.pyi index b2752128d..e3f799e12 100644 --- a/google-stubs/ads/googleads/v14/resources/types/landing_page_view.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/landing_page_view.pyi @@ -1,13 +1,17 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LandingPageView(proto.Message): resource_name: str unexpanded_final_url: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/language_constant.pyi b/google-stubs/ads/googleads/v14/resources/types/language_constant.pyi index cb762b073..721b4ff92 100644 --- a/google-stubs/ads/googleads/v14/resources/types/language_constant.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/language_constant.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LanguageConstant(proto.Message): resource_name: str id: int @@ -9,8 +13,8 @@ class LanguageConstant(proto.Message): name: str targetable: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/lead_form_submission_data.pyi b/google-stubs/ads/googleads/v14/resources/types/lead_form_submission_data.pyi index e1df07ee9..e5cac7be1 100644 --- a/google-stubs/ads/googleads/v14/resources/types/lead_form_submission_data.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/lead_form_submission_data.pyi @@ -1,18 +1,21 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.lead_form_field_user_input_type import ( LeadFormFieldUserInputTypeEnum, ) +_M = TypeVar("_M") + class CustomLeadFormSubmissionField(proto.Message): question_text: str field_value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., question_text: str = ..., @@ -31,8 +34,8 @@ class LeadFormSubmissionData(proto.Message): gclid: str submission_date_time: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -53,8 +56,8 @@ class LeadFormSubmissionField(proto.Message): field_type: LeadFormFieldUserInputTypeEnum.LeadFormFieldUserInputType field_value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., field_type: LeadFormFieldUserInputTypeEnum.LeadFormFieldUserInputType = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/life_event.pyi b/google-stubs/ads/googleads/v14/resources/types/life_event.pyi index bfe3d6291..ca1aaf2ae 100644 --- a/google-stubs/ads/googleads/v14/resources/types/life_event.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/life_event.pyi @@ -1,12 +1,15 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.criterion_category_availability import ( CriterionCategoryAvailability, ) +_M = TypeVar("_M") + class LifeEvent(proto.Message): resource_name: str id: int @@ -15,8 +18,8 @@ class LifeEvent(proto.Message): launched_to_all: bool availabilities: MutableSequence[CriterionCategoryAvailability] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/location_view.pyi b/google-stubs/ads/googleads/v14/resources/types/location_view.pyi index a250dd34d..5aa3c843b 100644 --- a/google-stubs/ads/googleads/v14/resources/types/location_view.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/location_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LocationView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v14/resources/types/managed_placement_view.pyi b/google-stubs/ads/googleads/v14/resources/types/managed_placement_view.pyi index 07e369bf6..fc77870c2 100644 --- a/google-stubs/ads/googleads/v14/resources/types/managed_placement_view.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/managed_placement_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ManagedPlacementView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v14/resources/types/media_file.pyi b/google-stubs/ads/googleads/v14/resources/types/media_file.pyi index e1106c9bb..95157e3e7 100644 --- a/google-stubs/ads/googleads/v14/resources/types/media_file.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/media_file.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.media_type import MediaTypeEnum from google.ads.googleads.v14.enums.types.mime_type import MimeTypeEnum +_M = TypeVar("_M") + class MediaAudio(proto.Message): ad_duration_millis: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad_duration_millis: int = ... @@ -19,8 +23,8 @@ class MediaBundle(proto.Message): data: bytes url: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., data: bytes = ..., @@ -40,8 +44,8 @@ class MediaFile(proto.Message): audio: MediaAudio video: MediaVideo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -62,8 +66,8 @@ class MediaImage(proto.Message): full_size_image_url: str preview_size_image_url: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., data: bytes = ..., @@ -77,8 +81,8 @@ class MediaVideo(proto.Message): advertising_id_code: str isci_code: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad_duration_millis: int = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/merchant_center_link.pyi b/google-stubs/ads/googleads/v14/resources/types/merchant_center_link.pyi index 6d3f1d1df..445a3119b 100644 --- a/google-stubs/ads/googleads/v14/resources/types/merchant_center_link.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/merchant_center_link.pyi @@ -1,19 +1,23 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.merchant_center_link_status import ( MerchantCenterLinkStatusEnum, ) +_M = TypeVar("_M") + class MerchantCenterLink(proto.Message): resource_name: str id: int merchant_center_account_name: str status: MerchantCenterLinkStatusEnum.MerchantCenterLinkStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/mobile_app_category_constant.pyi b/google-stubs/ads/googleads/v14/resources/types/mobile_app_category_constant.pyi index 8836379a5..56a525d7d 100644 --- a/google-stubs/ads/googleads/v14/resources/types/mobile_app_category_constant.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/mobile_app_category_constant.pyi @@ -1,14 +1,18 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MobileAppCategoryConstant(proto.Message): resource_name: str id: int name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/mobile_device_constant.pyi b/google-stubs/ads/googleads/v14/resources/types/mobile_device_constant.pyi index 7a6f0bf1b..518196c10 100644 --- a/google-stubs/ads/googleads/v14/resources/types/mobile_device_constant.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/mobile_device_constant.pyi @@ -1,9 +1,13 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.mobile_device_type import MobileDeviceTypeEnum +_M = TypeVar("_M") + class MobileDeviceConstant(proto.Message): resource_name: str id: int @@ -12,8 +16,8 @@ class MobileDeviceConstant(proto.Message): operating_system_name: str type_: MobileDeviceTypeEnum.MobileDeviceType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/offline_user_data_job.pyi b/google-stubs/ads/googleads/v14/resources/types/offline_user_data_job.pyi index 9952617c4..2d462b66f 100644 --- a/google-stubs/ads/googleads/v14/resources/types/offline_user_data_job.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/offline_user_data_job.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.offline_user_data import ( @@ -19,6 +21,8 @@ from google.ads.googleads.v14.enums.types.offline_user_data_job_type import ( OfflineUserDataJobTypeEnum, ) +_M = TypeVar("_M") + class OfflineUserDataJob(proto.Message): resource_name: str id: int @@ -30,8 +34,8 @@ class OfflineUserDataJob(proto.Message): customer_match_user_list_metadata: CustomerMatchUserListMetadata store_sales_metadata: StoreSalesMetadata def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -48,8 +52,8 @@ class OfflineUserDataJob(proto.Message): class OfflineUserDataJobMetadata(proto.Message): match_rate_range: OfflineUserDataJobMatchRateRangeEnum.OfflineUserDataJobMatchRateRange def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., match_rate_range: OfflineUserDataJobMatchRateRangeEnum.OfflineUserDataJobMatchRateRange = ... diff --git a/google-stubs/ads/googleads/v14/resources/types/operating_system_version_constant.pyi b/google-stubs/ads/googleads/v14/resources/types/operating_system_version_constant.pyi index c8305e84d..ba0a68898 100644 --- a/google-stubs/ads/googleads/v14/resources/types/operating_system_version_constant.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/operating_system_version_constant.pyi @@ -1,11 +1,15 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.operating_system_version_operator_type import ( OperatingSystemVersionOperatorTypeEnum, ) +_M = TypeVar("_M") + class OperatingSystemVersionConstant(proto.Message): resource_name: str id: int @@ -14,8 +18,8 @@ class OperatingSystemVersionConstant(proto.Message): os_minor_version: int operator_type: OperatingSystemVersionOperatorTypeEnum.OperatingSystemVersionOperatorType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/paid_organic_search_term_view.pyi b/google-stubs/ads/googleads/v14/resources/types/paid_organic_search_term_view.pyi index 2c16a0c38..75021aa0d 100644 --- a/google-stubs/ads/googleads/v14/resources/types/paid_organic_search_term_view.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/paid_organic_search_term_view.pyi @@ -1,13 +1,17 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PaidOrganicSearchTermView(proto.Message): resource_name: str search_term: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/parental_status_view.pyi b/google-stubs/ads/googleads/v14/resources/types/parental_status_view.pyi index 62706fb8a..519486ee9 100644 --- a/google-stubs/ads/googleads/v14/resources/types/parental_status_view.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/parental_status_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ParentalStatusView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v14/resources/types/payments_account.pyi b/google-stubs/ads/googleads/v14/resources/types/payments_account.pyi index 4c86dd996..05a72c828 100644 --- a/google-stubs/ads/googleads/v14/resources/types/payments_account.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/payments_account.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PaymentsAccount(proto.Message): resource_name: str payments_account_id: str @@ -11,8 +15,8 @@ class PaymentsAccount(proto.Message): secondary_payments_profile_id: str paying_manager_customer: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/per_store_view.pyi b/google-stubs/ads/googleads/v14/resources/types/per_store_view.pyi index 6bd1c396a..4620611b3 100644 --- a/google-stubs/ads/googleads/v14/resources/types/per_store_view.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/per_store_view.pyi @@ -1,13 +1,17 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PerStoreView(proto.Message): resource_name: str place_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/product_bidding_category_constant.pyi b/google-stubs/ads/googleads/v14/resources/types/product_bidding_category_constant.pyi index 3b133a5e7..d02915e05 100644 --- a/google-stubs/ads/googleads/v14/resources/types/product_bidding_category_constant.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/product_bidding_category_constant.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.product_bidding_category_level import ( @@ -9,6 +11,8 @@ from google.ads.googleads.v14.enums.types.product_bidding_category_status import ProductBiddingCategoryStatusEnum, ) +_M = TypeVar("_M") + class ProductBiddingCategoryConstant(proto.Message): resource_name: str id: int @@ -19,8 +23,8 @@ class ProductBiddingCategoryConstant(proto.Message): language_code: str localized_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/product_group_view.pyi b/google-stubs/ads/googleads/v14/resources/types/product_group_view.pyi index 6f82f4f65..3b358fcb9 100644 --- a/google-stubs/ads/googleads/v14/resources/types/product_group_view.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/product_group_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ProductGroupView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v14/resources/types/product_link.pyi b/google-stubs/ads/googleads/v14/resources/types/product_link.pyi index 9d2347325..3de0cf7b5 100644 --- a/google-stubs/ads/googleads/v14/resources/types/product_link.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/product_link.pyi @@ -1,16 +1,20 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.linked_product_type import ( LinkedProductTypeEnum, ) +_M = TypeVar("_M") + class DataPartnerIdentifier(proto.Message): data_partner_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., data_partner_id: int = ... @@ -19,8 +23,8 @@ class DataPartnerIdentifier(proto.Message): class GoogleAdsIdentifier(proto.Message): customer: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer: str = ... @@ -33,8 +37,8 @@ class ProductLink(proto.Message): data_partner: DataPartnerIdentifier google_ads: GoogleAdsIdentifier def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/qualifying_question.pyi b/google-stubs/ads/googleads/v14/resources/types/qualifying_question.pyi index ec2eec511..091d623b0 100644 --- a/google-stubs/ads/googleads/v14/resources/types/qualifying_question.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/qualifying_question.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class QualifyingQuestion(proto.Message): resource_name: str qualifying_question_id: int locale: str text: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/recommendation.pyi b/google-stubs/ads/googleads/v14/resources/types/recommendation.pyi index 02d697edc..7fc38d1ac 100644 --- a/google-stubs/ads/googleads/v14/resources/types/recommendation.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/recommendation.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.criteria import KeywordInfo @@ -18,11 +19,13 @@ from google.ads.googleads.v14.enums.types.target_cpa_opt_in_recommendation_goal from google.ads.googleads.v14.resources.types.ad import Ad from google.ads.googleads.v14.resources.types.asset import Asset +_M = TypeVar("_M") + class Recommendation(proto.Message): class CallAssetRecommendation(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -32,8 +35,8 @@ class Recommendation(proto.Message): recommended_campaign_callout_assets: MutableSequence[Asset] recommended_customer_callout_assets: MutableSequence[Asset] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., recommended_campaign_callout_assets: MutableSequence[Asset] = ..., @@ -45,8 +48,8 @@ class Recommendation(proto.Message): recommended_new_amount_micros: int new_start_date: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., current_amount_micros: int = ..., @@ -59,8 +62,8 @@ class Recommendation(proto.Message): budget_amount_micros: int impact: Recommendation.RecommendationImpact def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., budget_amount_micros: int = ..., @@ -72,8 +75,8 @@ class Recommendation(proto.Message): Recommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOption ] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., current_budget_amount_micros: int = ..., @@ -85,8 +88,8 @@ class Recommendation(proto.Message): class DisplayExpansionOptInRecommendation(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -94,8 +97,8 @@ class Recommendation(proto.Message): class DynamicImageExtensionOptInRecommendation(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -103,8 +106,8 @@ class Recommendation(proto.Message): class EnhancedCpcOptInRecommendation(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -114,8 +117,8 @@ class Recommendation(proto.Message): recommended_target_roas: float campaign_budget: Recommendation.CampaignBudget def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., recommended_target_roas: float = ..., @@ -125,8 +128,8 @@ class Recommendation(proto.Message): class ImprovePerformanceMaxAdStrengthRecommendation(proto.Message): asset_group: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., asset_group: str = ..., @@ -136,8 +139,8 @@ class Recommendation(proto.Message): keyword: KeywordInfo recommended_match_type: KeywordMatchTypeEnum.KeywordMatchType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., keyword: KeywordInfo = ..., @@ -149,8 +152,8 @@ class Recommendation(proto.Message): text: str estimated_weekly_search_count: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., text: str = ..., @@ -160,8 +163,8 @@ class Recommendation(proto.Message): search_terms: MutableSequence[Recommendation.KeywordRecommendation.SearchTerm] recommended_cpc_bid_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., keyword: KeywordInfo = ..., @@ -174,8 +177,8 @@ class Recommendation(proto.Message): class LowerTargetRoasRecommendation(proto.Message): target_adjustment: Recommendation.TargetAdjustmentInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_adjustment: Recommendation.TargetAdjustmentInfo = ..., @@ -184,8 +187,8 @@ class Recommendation(proto.Message): class MaximizeClicksOptInRecommendation(proto.Message): recommended_budget_amount_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., recommended_budget_amount_micros: int = ..., @@ -194,8 +197,8 @@ class Recommendation(proto.Message): class MaximizeConversionsOptInRecommendation(proto.Message): recommended_budget_amount_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., recommended_budget_amount_micros: int = ..., @@ -206,8 +209,8 @@ class Recommendation(proto.Message): name: str multi_client: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., id: int = ..., @@ -218,8 +221,8 @@ class Recommendation(proto.Message): class MigrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation(proto.Message): apply_link: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., apply_link: str = ..., @@ -229,8 +232,8 @@ class Recommendation(proto.Message): excess_campaign_budget: str budget_recommendation: Recommendation.CampaignBudgetRecommendation def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., excess_campaign_budget: str = ..., @@ -239,8 +242,8 @@ class Recommendation(proto.Message): class OptimizeAdRotationRecommendation(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -248,8 +251,8 @@ class Recommendation(proto.Message): class PerformanceMaxOptInRecommendation(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -259,8 +262,8 @@ class Recommendation(proto.Message): recommended_target_multiplier: float average_target_cpa_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., recommended_target_multiplier: float = ..., @@ -271,8 +274,8 @@ class Recommendation(proto.Message): target_adjustment: Recommendation.TargetAdjustmentInfo app_bidding_goal: AppBiddingGoalEnum.AppBiddingGoal def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_adjustment: Recommendation.TargetAdjustmentInfo = ..., @@ -283,8 +286,8 @@ class Recommendation(proto.Message): base_metrics: Recommendation.RecommendationMetrics potential_metrics: Recommendation.RecommendationMetrics def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., base_metrics: Recommendation.RecommendationMetrics = ..., @@ -298,8 +301,8 @@ class Recommendation(proto.Message): conversions: float video_views: float def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., impressions: float = ..., @@ -313,8 +316,8 @@ class Recommendation(proto.Message): current_ad: Ad recommended_assets: Ad def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., current_ad: Ad = ..., @@ -325,8 +328,8 @@ class Recommendation(proto.Message): current_ad: Ad recommended_ad: Ad def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., current_ad: Ad = ..., @@ -336,8 +339,8 @@ class Recommendation(proto.Message): class ResponsiveSearchAdRecommendation(proto.Message): ad: Ad def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad: Ad = ..., @@ -345,8 +348,8 @@ class Recommendation(proto.Message): class SearchPartnersOptInRecommendation(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -357,8 +360,8 @@ class Recommendation(proto.Message): feed_label: str reason: ShoppingAddProductsToCampaignRecommendationEnum.Reason def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., merchant: Recommendation.MerchantInfo = ..., @@ -372,8 +375,8 @@ class Recommendation(proto.Message): products_count: int disapproved_products_count: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., merchant: Recommendation.MerchantInfo = ..., @@ -386,8 +389,8 @@ class Recommendation(proto.Message): merchant: Recommendation.MerchantInfo feed_label: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., merchant: Recommendation.MerchantInfo = ..., @@ -400,8 +403,8 @@ class Recommendation(proto.Message): merchant: Recommendation.MerchantInfo feed_label: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., merchant: Recommendation.MerchantInfo = ..., @@ -414,8 +417,8 @@ class Recommendation(proto.Message): offers_count: int demoted_offers_count: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., merchant: Recommendation.MerchantInfo = ..., @@ -429,8 +432,8 @@ class Recommendation(proto.Message): untargeted_offers_count: int feed_label: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., merchant: Recommendation.MerchantInfo = ..., @@ -442,8 +445,8 @@ class Recommendation(proto.Message): recommended_campaign_sitelink_assets: MutableSequence[Asset] recommended_customer_sitelink_assets: MutableSequence[Asset] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., recommended_campaign_sitelink_assets: MutableSequence[Asset] = ..., @@ -455,8 +458,8 @@ class Recommendation(proto.Message): recommended_target_multiplier: float current_average_target_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., shared_set: str = ..., @@ -471,8 +474,8 @@ class Recommendation(proto.Message): required_campaign_budget_amount_micros: int impact: Recommendation.RecommendationImpact def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., goal: TargetCpaOptInRecommendationGoalEnum.TargetCpaOptInRecommendationGoal = ..., @@ -485,8 +488,8 @@ class Recommendation(proto.Message): ] recommended_target_cpa_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., options: MutableSequence[ @@ -499,8 +502,8 @@ class Recommendation(proto.Message): recommended_target_roas: float required_campaign_budget_amount_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., recommended_target_roas: float = ..., @@ -512,8 +515,8 @@ class Recommendation(proto.Message): creation_date: str auto_apply_date: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad: Ad = ..., @@ -523,8 +526,8 @@ class Recommendation(proto.Message): class UpgradeLocalCampaignToPerformanceMaxRecommendation(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -534,8 +537,8 @@ class Recommendation(proto.Message): merchant_id: int sales_country_code: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., merchant_id: int = ..., @@ -549,8 +552,8 @@ class Recommendation(proto.Message): campaign_uses_shared_budget: bool required_campaign_budget_amount_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., keyword: MutableSequence[KeywordInfo] = ..., @@ -612,8 +615,8 @@ class Recommendation(proto.Message): improve_performance_max_ad_strength_recommendation: Recommendation.ImprovePerformanceMaxAdStrengthRecommendation migrate_dynamic_search_ads_campaign_to_performance_max_recommendation: Recommendation.MigrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/remarketing_action.pyi b/google-stubs/ads/googleads/v14/resources/types/remarketing_action.pyi index b48553666..95d76a250 100644 --- a/google-stubs/ads/googleads/v14/resources/types/remarketing_action.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/remarketing_action.pyi @@ -1,18 +1,21 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.tag_snippet import TagSnippet +_M = TypeVar("_M") + class RemarketingAction(proto.Message): resource_name: str id: int name: str tag_snippets: MutableSequence[TagSnippet] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/search_term_view.pyi b/google-stubs/ads/googleads/v14/resources/types/search_term_view.pyi index 82d5ad053..423bb419a 100644 --- a/google-stubs/ads/googleads/v14/resources/types/search_term_view.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/search_term_view.pyi @@ -1,19 +1,23 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.search_term_targeting_status import ( SearchTermTargetingStatusEnum, ) +_M = TypeVar("_M") + class SearchTermView(proto.Message): resource_name: str search_term: str ad_group: str status: SearchTermTargetingStatusEnum.SearchTermTargetingStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/shared_criterion.pyi b/google-stubs/ads/googleads/v14/resources/types/shared_criterion.pyi index 5e2ddb28b..f20ff5ab2 100644 --- a/google-stubs/ads/googleads/v14/resources/types/shared_criterion.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/shared_criterion.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.criteria import ( @@ -12,6 +14,8 @@ from google.ads.googleads.v14.common.types.criteria import ( ) from google.ads.googleads.v14.enums.types.criterion_type import CriterionTypeEnum +_M = TypeVar("_M") + class SharedCriterion(proto.Message): resource_name: str shared_set: str @@ -24,8 +28,8 @@ class SharedCriterion(proto.Message): mobile_app_category: MobileAppCategoryInfo mobile_application: MobileApplicationInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/shared_set.pyi b/google-stubs/ads/googleads/v14/resources/types/shared_set.pyi index a9907a3ef..22569ddf1 100644 --- a/google-stubs/ads/googleads/v14/resources/types/shared_set.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/shared_set.pyi @@ -1,10 +1,14 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.shared_set_status import SharedSetStatusEnum from google.ads.googleads.v14.enums.types.shared_set_type import SharedSetTypeEnum +_M = TypeVar("_M") + class SharedSet(proto.Message): resource_name: str id: int @@ -14,8 +18,8 @@ class SharedSet(proto.Message): member_count: int reference_count: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/shopping_performance_view.pyi b/google-stubs/ads/googleads/v14/resources/types/shopping_performance_view.pyi index 1e8af2db1..f55bfd55b 100644 --- a/google-stubs/ads/googleads/v14/resources/types/shopping_performance_view.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/shopping_performance_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ShoppingPerformanceView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v14/resources/types/smart_campaign_search_term_view.pyi b/google-stubs/ads/googleads/v14/resources/types/smart_campaign_search_term_view.pyi index 63341d65f..10365a45f 100644 --- a/google-stubs/ads/googleads/v14/resources/types/smart_campaign_search_term_view.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/smart_campaign_search_term_view.pyi @@ -1,14 +1,18 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SmartCampaignSearchTermView(proto.Message): resource_name: str search_term: str campaign: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/smart_campaign_setting.pyi b/google-stubs/ads/googleads/v14/resources/types/smart_campaign_setting.pyi index 255bdd553..30069da4b 100644 --- a/google-stubs/ads/googleads/v14/resources/types/smart_campaign_setting.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/smart_campaign_setting.pyi @@ -1,13 +1,17 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SmartCampaignSetting(proto.Message): class AdOptimizedBusinessProfileSetting(proto.Message): include_lead_form: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., include_lead_form: bool = ... @@ -17,8 +21,8 @@ class SmartCampaignSetting(proto.Message): phone_number: str country_code: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., phone_number: str = ..., @@ -33,8 +37,8 @@ class SmartCampaignSetting(proto.Message): business_name: str business_profile_location: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/third_party_app_analytics_link.pyi b/google-stubs/ads/googleads/v14/resources/types/third_party_app_analytics_link.pyi index d941e0a11..cfd2fba3f 100644 --- a/google-stubs/ads/googleads/v14/resources/types/third_party_app_analytics_link.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/third_party_app_analytics_link.pyi @@ -1,13 +1,17 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ThirdPartyAppAnalyticsLink(proto.Message): resource_name: str shareable_link_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/topic_constant.pyi b/google-stubs/ads/googleads/v14/resources/types/topic_constant.pyi index a8978f2f9..48e7d23b4 100644 --- a/google-stubs/ads/googleads/v14/resources/types/topic_constant.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/topic_constant.pyi @@ -1,16 +1,19 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class TopicConstant(proto.Message): resource_name: str id: int topic_constant_parent: str path: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/topic_view.pyi b/google-stubs/ads/googleads/v14/resources/types/topic_view.pyi index 9c0ce6219..b1f5f932e 100644 --- a/google-stubs/ads/googleads/v14/resources/types/topic_view.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/topic_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class TopicView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v14/resources/types/travel_activity_group_view.pyi b/google-stubs/ads/googleads/v14/resources/types/travel_activity_group_view.pyi index c866aac4c..f7f3526a7 100644 --- a/google-stubs/ads/googleads/v14/resources/types/travel_activity_group_view.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/travel_activity_group_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class TravelActivityGroupView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v14/resources/types/travel_activity_performance_view.pyi b/google-stubs/ads/googleads/v14/resources/types/travel_activity_performance_view.pyi index 121c4d458..147bf6301 100644 --- a/google-stubs/ads/googleads/v14/resources/types/travel_activity_performance_view.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/travel_activity_performance_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class TravelActivityPerformanceView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v14/resources/types/user_interest.pyi b/google-stubs/ads/googleads/v14/resources/types/user_interest.pyi index f9ae5acf1..8c9fac841 100644 --- a/google-stubs/ads/googleads/v14/resources/types/user_interest.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/user_interest.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.criterion_category_availability import ( @@ -10,6 +11,8 @@ from google.ads.googleads.v14.enums.types.user_interest_taxonomy_type import ( UserInterestTaxonomyTypeEnum, ) +_M = TypeVar("_M") + class UserInterest(proto.Message): resource_name: str taxonomy_type: UserInterestTaxonomyTypeEnum.UserInterestTaxonomyType @@ -19,8 +22,8 @@ class UserInterest(proto.Message): launched_to_all: bool availabilities: MutableSequence[CriterionCategoryAvailability] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/user_list.pyi b/google-stubs/ads/googleads/v14/resources/types/user_list.pyi index 066eeeb69..e6532828f 100644 --- a/google-stubs/ads/googleads/v14/resources/types/user_list.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/user_list.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.user_lists import ( @@ -24,6 +26,8 @@ from google.ads.googleads.v14.enums.types.user_list_size_range import ( ) from google.ads.googleads.v14.enums.types.user_list_type import UserListTypeEnum +_M = TypeVar("_M") + class UserList(proto.Message): resource_name: str id: int @@ -50,8 +54,8 @@ class UserList(proto.Message): logical_user_list: LogicalUserListInfo basic_user_list: BasicUserListInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/user_location_view.pyi b/google-stubs/ads/googleads/v14/resources/types/user_location_view.pyi index ece0a7d91..4093d91b2 100644 --- a/google-stubs/ads/googleads/v14/resources/types/user_location_view.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/user_location_view.pyi @@ -1,14 +1,18 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserLocationView(proto.Message): resource_name: str country_criterion_id: int targeting_location: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/video.pyi b/google-stubs/ads/googleads/v14/resources/types/video.pyi index 1bca0c3d3..92cce03dd 100644 --- a/google-stubs/ads/googleads/v14/resources/types/video.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/video.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class Video(proto.Message): resource_name: str id: str @@ -9,8 +13,8 @@ class Video(proto.Message): duration_millis: int title: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/resources/types/webpage_view.pyi b/google-stubs/ads/googleads/v14/resources/types/webpage_view.pyi index 4fee73d99..515d03ed9 100644 --- a/google-stubs/ads/googleads/v14/resources/types/webpage_view.pyi +++ b/google-stubs/ads/googleads/v14/resources/types/webpage_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class WebpageView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v14/services/types/account_budget_proposal_service.pyi b/google-stubs/ads/googleads/v14/services/types/account_budget_proposal_service.pyi index 6bee1b022..285bb1da3 100644 --- a/google-stubs/ads/googleads/v14/services/types/account_budget_proposal_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/account_budget_proposal_service.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask @@ -7,13 +9,15 @@ from google.ads.googleads.v14.resources.types.account_budget_proposal import ( AccountBudgetProposal, ) +_M = TypeVar("_M") + class AccountBudgetProposalOperation(proto.Message): update_mask: FieldMask create: AccountBudgetProposal remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -26,8 +30,8 @@ class MutateAccountBudgetProposalRequest(proto.Message): operation: AccountBudgetProposalOperation validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -38,8 +42,8 @@ class MutateAccountBudgetProposalRequest(proto.Message): class MutateAccountBudgetProposalResponse(proto.Message): result: MutateAccountBudgetProposalResult def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., result: MutateAccountBudgetProposalResult = ... @@ -48,8 +52,8 @@ class MutateAccountBudgetProposalResponse(proto.Message): class MutateAccountBudgetProposalResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v14/services/types/account_link_service.pyi b/google-stubs/ads/googleads/v14/services/types/account_link_service.pyi index 1a3d5938d..0b7c93426 100644 --- a/google-stubs/ads/googleads/v14/services/types/account_link_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/account_link_service.pyi @@ -1,18 +1,22 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status from google.ads.googleads.v14.resources.types.account_link import AccountLink +_M = TypeVar("_M") + class AccountLinkOperation(proto.Message): update_mask: FieldMask update: AccountLink remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -24,8 +28,8 @@ class CreateAccountLinkRequest(proto.Message): customer_id: str account_link: AccountLink def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -35,8 +39,8 @@ class CreateAccountLinkRequest(proto.Message): class CreateAccountLinkResponse(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -48,8 +52,8 @@ class MutateAccountLinkRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -62,8 +66,8 @@ class MutateAccountLinkResponse(proto.Message): result: MutateAccountLinkResult partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., result: MutateAccountLinkResult = ..., @@ -73,8 +77,8 @@ class MutateAccountLinkResponse(proto.Message): class MutateAccountLinkResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v14/services/types/ad_group_ad_label_service.pyi b/google-stubs/ads/googleads/v14/services/types/ad_group_ad_label_service.pyi index a691cce53..8c3f903d0 100644 --- a/google-stubs/ads/googleads/v14/services/types/ad_group_ad_label_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/ad_group_ad_label_service.pyi @@ -1,17 +1,20 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status from google.ads.googleads.v14.resources.types.ad_group_ad_label import AdGroupAdLabel +_M = TypeVar("_M") + class AdGroupAdLabelOperation(proto.Message): create: AdGroupAdLabel remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: AdGroupAdLabel = ..., @@ -21,8 +24,8 @@ class AdGroupAdLabelOperation(proto.Message): class MutateAdGroupAdLabelResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -34,8 +37,8 @@ class MutateAdGroupAdLabelsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -48,8 +51,8 @@ class MutateAdGroupAdLabelsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateAdGroupAdLabelResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/ad_group_ad_service.pyi b/google-stubs/ads/googleads/v14/services/types/ad_group_ad_service.pyi index 94d433e7c..ac39e8a47 100644 --- a/google-stubs/ads/googleads/v14/services/types/ad_group_ad_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/ad_group_ad_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -11,6 +12,8 @@ from google.ads.googleads.v14.enums.types.response_content_type import ( ) from google.ads.googleads.v14.resources.types.ad_group_ad import AdGroupAd +_M = TypeVar("_M") + class AdGroupAdOperation(proto.Message): update_mask: FieldMask policy_validation_parameter: PolicyValidationParameter @@ -18,8 +21,8 @@ class AdGroupAdOperation(proto.Message): update: AdGroupAd remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -33,8 +36,8 @@ class MutateAdGroupAdResult(proto.Message): resource_name: str ad_group_ad: AdGroupAd def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -48,8 +51,8 @@ class MutateAdGroupAdsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -63,8 +66,8 @@ class MutateAdGroupAdsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateAdGroupAdResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/ad_group_asset_service.pyi b/google-stubs/ads/googleads/v14/services/types/ad_group_asset_service.pyi index a200b358a..fd5904232 100644 --- a/google-stubs/ads/googleads/v14/services/types/ad_group_asset_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/ad_group_asset_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v14.enums.types.response_content_type import ( ) from google.ads.googleads.v14.resources.types.ad_group_asset import AdGroupAsset +_M = TypeVar("_M") + class AdGroupAssetOperation(proto.Message): update_mask: FieldMask create: AdGroupAsset update: AdGroupAsset remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateAdGroupAssetResult(proto.Message): resource_name: str ad_group_asset: AdGroupAsset def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateAdGroupAssetsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateAdGroupAssetsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateAdGroupAssetResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/ad_group_asset_set_service.pyi b/google-stubs/ads/googleads/v14/services/types/ad_group_asset_set_service.pyi index e29c68833..42b010848 100644 --- a/google-stubs/ads/googleads/v14/services/types/ad_group_asset_set_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/ad_group_asset_set_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -9,12 +10,14 @@ from google.ads.googleads.v14.enums.types.response_content_type import ( ) from google.ads.googleads.v14.resources.types.ad_group_asset_set import AdGroupAssetSet +_M = TypeVar("_M") + class AdGroupAssetSetOperation(proto.Message): create: AdGroupAssetSet remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: AdGroupAssetSet = ..., @@ -25,8 +28,8 @@ class MutateAdGroupAssetSetResult(proto.Message): resource_name: str ad_group_asset_set: AdGroupAssetSet def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -40,8 +43,8 @@ class MutateAdGroupAssetSetsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -55,8 +58,8 @@ class MutateAdGroupAssetSetsResponse(proto.Message): results: MutableSequence[MutateAdGroupAssetSetResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateAdGroupAssetSetResult] = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/ad_group_bid_modifier_service.pyi b/google-stubs/ads/googleads/v14/services/types/ad_group_bid_modifier_service.pyi index e2c3a5527..a8c1d117f 100644 --- a/google-stubs/ads/googleads/v14/services/types/ad_group_bid_modifier_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/ad_group_bid_modifier_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -12,14 +13,16 @@ from google.ads.googleads.v14.resources.types.ad_group_bid_modifier import ( AdGroupBidModifier, ) +_M = TypeVar("_M") + class AdGroupBidModifierOperation(proto.Message): update_mask: FieldMask create: AdGroupBidModifier update: AdGroupBidModifier remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -32,8 +35,8 @@ class MutateAdGroupBidModifierResult(proto.Message): resource_name: str ad_group_bid_modifier: AdGroupBidModifier def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -47,8 +50,8 @@ class MutateAdGroupBidModifiersRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -62,8 +65,8 @@ class MutateAdGroupBidModifiersResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateAdGroupBidModifierResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/ad_group_criterion_customizer_service.pyi b/google-stubs/ads/googleads/v14/services/types/ad_group_criterion_customizer_service.pyi index a5733ab6c..84610cc6d 100644 --- a/google-stubs/ads/googleads/v14/services/types/ad_group_criterion_customizer_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/ad_group_criterion_customizer_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -11,12 +12,14 @@ from google.ads.googleads.v14.resources.types.ad_group_criterion_customizer impo AdGroupCriterionCustomizer, ) +_M = TypeVar("_M") + class AdGroupCriterionCustomizerOperation(proto.Message): create: AdGroupCriterionCustomizer remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: AdGroupCriterionCustomizer = ..., @@ -27,8 +30,8 @@ class MutateAdGroupCriterionCustomizerResult(proto.Message): resource_name: str ad_group_criterion_customizer: AdGroupCriterionCustomizer def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -42,8 +45,8 @@ class MutateAdGroupCriterionCustomizersRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -57,8 +60,8 @@ class MutateAdGroupCriterionCustomizersResponse(proto.Message): results: MutableSequence[MutateAdGroupCriterionCustomizerResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateAdGroupCriterionCustomizerResult] = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/ad_group_criterion_label_service.pyi b/google-stubs/ads/googleads/v14/services/types/ad_group_criterion_label_service.pyi index 62eef1aa3..b5e1e33e2 100644 --- a/google-stubs/ads/googleads/v14/services/types/ad_group_criterion_label_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/ad_group_criterion_label_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -8,12 +9,14 @@ from google.ads.googleads.v14.resources.types.ad_group_criterion_label import ( AdGroupCriterionLabel, ) +_M = TypeVar("_M") + class AdGroupCriterionLabelOperation(proto.Message): create: AdGroupCriterionLabel remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: AdGroupCriterionLabel = ..., @@ -23,8 +26,8 @@ class AdGroupCriterionLabelOperation(proto.Message): class MutateAdGroupCriterionLabelResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -36,8 +39,8 @@ class MutateAdGroupCriterionLabelsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -50,8 +53,8 @@ class MutateAdGroupCriterionLabelsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateAdGroupCriterionLabelResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/ad_group_criterion_service.pyi b/google-stubs/ads/googleads/v14/services/types/ad_group_criterion_service.pyi index 153113761..063aaff9b 100644 --- a/google-stubs/ads/googleads/v14/services/types/ad_group_criterion_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/ad_group_criterion_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -11,6 +12,8 @@ from google.ads.googleads.v14.enums.types.response_content_type import ( ) from google.ads.googleads.v14.resources.types.ad_group_criterion import AdGroupCriterion +_M = TypeVar("_M") + class AdGroupCriterionOperation(proto.Message): update_mask: FieldMask exempt_policy_violation_keys: MutableSequence[PolicyViolationKey] @@ -18,8 +21,8 @@ class AdGroupCriterionOperation(proto.Message): update: AdGroupCriterion remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -36,8 +39,8 @@ class MutateAdGroupCriteriaRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -51,8 +54,8 @@ class MutateAdGroupCriteriaResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateAdGroupCriterionResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -63,8 +66,8 @@ class MutateAdGroupCriterionResult(proto.Message): resource_name: str ad_group_criterion: AdGroupCriterion def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/ad_group_customizer_service.pyi b/google-stubs/ads/googleads/v14/services/types/ad_group_customizer_service.pyi index 1b02b260e..a2fe10f38 100644 --- a/google-stubs/ads/googleads/v14/services/types/ad_group_customizer_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/ad_group_customizer_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -11,12 +12,14 @@ from google.ads.googleads.v14.resources.types.ad_group_customizer import ( AdGroupCustomizer, ) +_M = TypeVar("_M") + class AdGroupCustomizerOperation(proto.Message): create: AdGroupCustomizer remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: AdGroupCustomizer = ..., @@ -27,8 +30,8 @@ class MutateAdGroupCustomizerResult(proto.Message): resource_name: str ad_group_customizer: AdGroupCustomizer def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -42,8 +45,8 @@ class MutateAdGroupCustomizersRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -57,8 +60,8 @@ class MutateAdGroupCustomizersResponse(proto.Message): results: MutableSequence[MutateAdGroupCustomizerResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateAdGroupCustomizerResult] = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/ad_group_extension_setting_service.pyi b/google-stubs/ads/googleads/v14/services/types/ad_group_extension_setting_service.pyi index a68378b90..ffb233359 100644 --- a/google-stubs/ads/googleads/v14/services/types/ad_group_extension_setting_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/ad_group_extension_setting_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -12,6 +13,8 @@ from google.ads.googleads.v14.resources.types.ad_group_extension_setting import AdGroupExtensionSetting, ) +_M = TypeVar("_M") + class AdGroupExtensionSettingOperation(proto.Message): update_mask: FieldMask response_content_type: ResponseContentTypeEnum.ResponseContentType @@ -19,8 +22,8 @@ class AdGroupExtensionSettingOperation(proto.Message): update: AdGroupExtensionSetting remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -34,8 +37,8 @@ class MutateAdGroupExtensionSettingResult(proto.Message): resource_name: str ad_group_extension_setting: AdGroupExtensionSetting def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -48,8 +51,8 @@ class MutateAdGroupExtensionSettingsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -62,8 +65,8 @@ class MutateAdGroupExtensionSettingsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateAdGroupExtensionSettingResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/ad_group_feed_service.pyi b/google-stubs/ads/googleads/v14/services/types/ad_group_feed_service.pyi index a07fac1ca..835ab099c 100644 --- a/google-stubs/ads/googleads/v14/services/types/ad_group_feed_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/ad_group_feed_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v14.enums.types.response_content_type import ( ) from google.ads.googleads.v14.resources.types.ad_group_feed import AdGroupFeed +_M = TypeVar("_M") + class AdGroupFeedOperation(proto.Message): update_mask: FieldMask create: AdGroupFeed update: AdGroupFeed remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateAdGroupFeedResult(proto.Message): resource_name: str ad_group_feed: AdGroupFeed def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateAdGroupFeedsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateAdGroupFeedsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateAdGroupFeedResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/ad_group_label_service.pyi b/google-stubs/ads/googleads/v14/services/types/ad_group_label_service.pyi index 5bc3a33e9..8fd59ea5b 100644 --- a/google-stubs/ads/googleads/v14/services/types/ad_group_label_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/ad_group_label_service.pyi @@ -1,17 +1,20 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status from google.ads.googleads.v14.resources.types.ad_group_label import AdGroupLabel +_M = TypeVar("_M") + class AdGroupLabelOperation(proto.Message): create: AdGroupLabel remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: AdGroupLabel = ..., @@ -21,8 +24,8 @@ class AdGroupLabelOperation(proto.Message): class MutateAdGroupLabelResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -34,8 +37,8 @@ class MutateAdGroupLabelsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -48,8 +51,8 @@ class MutateAdGroupLabelsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateAdGroupLabelResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/ad_group_service.pyi b/google-stubs/ads/googleads/v14/services/types/ad_group_service.pyi index 6dc3e612d..0e12cdd0d 100644 --- a/google-stubs/ads/googleads/v14/services/types/ad_group_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/ad_group_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v14.enums.types.response_content_type import ( ) from google.ads.googleads.v14.resources.types.ad_group import AdGroup +_M = TypeVar("_M") + class AdGroupOperation(proto.Message): update_mask: FieldMask create: AdGroup update: AdGroup remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateAdGroupResult(proto.Message): resource_name: str ad_group: AdGroup def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateAdGroupsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateAdGroupsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateAdGroupResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/ad_parameter_service.pyi b/google-stubs/ads/googleads/v14/services/types/ad_parameter_service.pyi index dd03fc0c4..1bd8daeb2 100644 --- a/google-stubs/ads/googleads/v14/services/types/ad_parameter_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/ad_parameter_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v14.enums.types.response_content_type import ( ) from google.ads.googleads.v14.resources.types.ad_parameter import AdParameter +_M = TypeVar("_M") + class AdParameterOperation(proto.Message): update_mask: FieldMask create: AdParameter update: AdParameter remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateAdParameterResult(proto.Message): resource_name: str ad_parameter: AdParameter def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateAdParametersRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateAdParametersResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateAdParameterResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/ad_service.pyi b/google-stubs/ads/googleads/v14/services/types/ad_service.pyi index 2fbba7fc1..1fbe368ad 100644 --- a/google-stubs/ads/googleads/v14/services/types/ad_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/ad_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -11,13 +12,15 @@ from google.ads.googleads.v14.enums.types.response_content_type import ( ) from google.ads.googleads.v14.resources.types.ad import Ad +_M = TypeVar("_M") + class AdOperation(proto.Message): update_mask: FieldMask policy_validation_parameter: PolicyValidationParameter update: Ad def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -28,8 +31,8 @@ class AdOperation(proto.Message): class GetAdRequest(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -39,8 +42,8 @@ class MutateAdResult(proto.Message): resource_name: str ad: Ad def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -54,8 +57,8 @@ class MutateAdsRequest(proto.Message): response_content_type: ResponseContentTypeEnum.ResponseContentType validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -69,8 +72,8 @@ class MutateAdsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateAdResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/asset_group_asset_service.pyi b/google-stubs/ads/googleads/v14/services/types/asset_group_asset_service.pyi index de25249ee..00feabe1a 100644 --- a/google-stubs/ads/googleads/v14/services/types/asset_group_asset_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/asset_group_asset_service.pyi @@ -1,20 +1,23 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status from google.ads.googleads.v14.resources.types.asset_group_asset import AssetGroupAsset +_M = TypeVar("_M") + class AssetGroupAssetOperation(proto.Message): update_mask: FieldMask create: AssetGroupAsset update: AssetGroupAsset remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -26,8 +29,8 @@ class AssetGroupAssetOperation(proto.Message): class MutateAssetGroupAssetResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -39,8 +42,8 @@ class MutateAssetGroupAssetsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -53,8 +56,8 @@ class MutateAssetGroupAssetsResponse(proto.Message): results: MutableSequence[MutateAssetGroupAssetResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateAssetGroupAssetResult] = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/asset_group_listing_group_filter_service.pyi b/google-stubs/ads/googleads/v14/services/types/asset_group_listing_group_filter_service.pyi index 4b767d2be..bff62b3c0 100644 --- a/google-stubs/ads/googleads/v14/services/types/asset_group_listing_group_filter_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/asset_group_listing_group_filter_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask @@ -11,14 +12,16 @@ from google.ads.googleads.v14.resources.types.asset_group_listing_group_filter i AssetGroupListingGroupFilter, ) +_M = TypeVar("_M") + class AssetGroupListingGroupFilterOperation(proto.Message): update_mask: FieldMask create: AssetGroupListingGroupFilter update: AssetGroupListingGroupFilter remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -31,8 +34,8 @@ class MutateAssetGroupListingGroupFilterResult(proto.Message): resource_name: str asset_group_listing_group_filter: AssetGroupListingGroupFilter def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateAssetGroupListingGroupFiltersRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -58,8 +61,8 @@ class MutateAssetGroupListingGroupFiltersRequest(proto.Message): class MutateAssetGroupListingGroupFiltersResponse(proto.Message): results: MutableSequence[MutateAssetGroupListingGroupFilterResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateAssetGroupListingGroupFilterResult] = ... diff --git a/google-stubs/ads/googleads/v14/services/types/asset_group_service.pyi b/google-stubs/ads/googleads/v14/services/types/asset_group_service.pyi index 348d47e0b..bb8bd583f 100644 --- a/google-stubs/ads/googleads/v14/services/types/asset_group_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/asset_group_service.pyi @@ -1,20 +1,23 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status from google.ads.googleads.v14.resources.types.asset_group import AssetGroup +_M = TypeVar("_M") + class AssetGroupOperation(proto.Message): update_mask: FieldMask create: AssetGroup update: AssetGroup remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -26,8 +29,8 @@ class AssetGroupOperation(proto.Message): class MutateAssetGroupResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -38,8 +41,8 @@ class MutateAssetGroupsRequest(proto.Message): operations: MutableSequence[AssetGroupOperation] validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -51,8 +54,8 @@ class MutateAssetGroupsResponse(proto.Message): results: MutableSequence[MutateAssetGroupResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateAssetGroupResult] = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/asset_group_signal_service.pyi b/google-stubs/ads/googleads/v14/services/types/asset_group_signal_service.pyi index df798511b..813f3e9f8 100644 --- a/google-stubs/ads/googleads/v14/services/types/asset_group_signal_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/asset_group_signal_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -9,12 +10,14 @@ from google.ads.googleads.v14.enums.types.response_content_type import ( ) from google.ads.googleads.v14.resources.types.asset_group_signal import AssetGroupSignal +_M = TypeVar("_M") + class AssetGroupSignalOperation(proto.Message): create: AssetGroupSignal remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: AssetGroupSignal = ..., @@ -25,8 +28,8 @@ class MutateAssetGroupSignalResult(proto.Message): resource_name: str asset_group_signal: AssetGroupSignal def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -40,8 +43,8 @@ class MutateAssetGroupSignalsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -55,8 +58,8 @@ class MutateAssetGroupSignalsResponse(proto.Message): results: MutableSequence[MutateAssetGroupSignalResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateAssetGroupSignalResult] = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/asset_service.pyi b/google-stubs/ads/googleads/v14/services/types/asset_service.pyi index 3482cfa6e..bef21e44a 100644 --- a/google-stubs/ads/googleads/v14/services/types/asset_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/asset_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,13 +11,15 @@ from google.ads.googleads.v14.enums.types.response_content_type import ( ) from google.ads.googleads.v14.resources.types.asset import Asset +_M = TypeVar("_M") + class AssetOperation(proto.Message): update_mask: FieldMask create: Asset update: Asset def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -28,8 +31,8 @@ class MutateAssetResult(proto.Message): resource_name: str asset: Asset def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -43,8 +46,8 @@ class MutateAssetsRequest(proto.Message): response_content_type: ResponseContentTypeEnum.ResponseContentType validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -58,8 +61,8 @@ class MutateAssetsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateAssetResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/asset_set_asset_service.pyi b/google-stubs/ads/googleads/v14/services/types/asset_set_asset_service.pyi index b0d07fd19..dcbc8bd21 100644 --- a/google-stubs/ads/googleads/v14/services/types/asset_set_asset_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/asset_set_asset_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -9,12 +10,14 @@ from google.ads.googleads.v14.enums.types.response_content_type import ( ) from google.ads.googleads.v14.resources.types.asset_set_asset import AssetSetAsset +_M = TypeVar("_M") + class AssetSetAssetOperation(proto.Message): create: AssetSetAsset remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: AssetSetAsset = ..., @@ -25,8 +28,8 @@ class MutateAssetSetAssetResult(proto.Message): resource_name: str asset_set_asset: AssetSetAsset def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -40,8 +43,8 @@ class MutateAssetSetAssetsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -55,8 +58,8 @@ class MutateAssetSetAssetsResponse(proto.Message): results: MutableSequence[MutateAssetSetAssetResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateAssetSetAssetResult] = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/asset_set_service.pyi b/google-stubs/ads/googleads/v14/services/types/asset_set_service.pyi index fae30fe1a..3948881c5 100644 --- a/google-stubs/ads/googleads/v14/services/types/asset_set_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/asset_set_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v14.enums.types.response_content_type import ( ) from google.ads.googleads.v14.resources.types.asset_set import AssetSet +_M = TypeVar("_M") + class AssetSetOperation(proto.Message): update_mask: FieldMask create: AssetSet update: AssetSet remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateAssetSetResult(proto.Message): resource_name: str asset_set: AssetSet def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateAssetSetsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateAssetSetsResponse(proto.Message): results: MutableSequence[MutateAssetSetResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateAssetSetResult] = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/audience_insights_service.pyi b/google-stubs/ads/googleads/v14/services/types/audience_insights_service.pyi index 74038ee30..0c2e7584b 100644 --- a/google-stubs/ads/googleads/v14/services/types/audience_insights_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/audience_insights_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.criteria import ( @@ -17,12 +18,14 @@ from google.ads.googleads.v14.enums.types.audience_insights_dimension import ( AudienceInsightsDimensionEnum, ) +_M = TypeVar("_M") + class AudienceCompositionAttribute(proto.Message): attribute_metadata: AudienceInsightsAttributeMetadata metrics: AudienceCompositionMetrics def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., attribute_metadata: AudienceInsightsAttributeMetadata = ..., @@ -34,8 +37,8 @@ class AudienceCompositionAttributeCluster(proto.Message): cluster_metrics: AudienceCompositionMetrics attributes: MutableSequence[AudienceCompositionAttribute] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., cluster_display_name: str = ..., @@ -49,8 +52,8 @@ class AudienceCompositionMetrics(proto.Message): index: float score: float def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., baseline_audience_share: float = ..., @@ -64,8 +67,8 @@ class AudienceCompositionSection(proto.Message): top_attributes: MutableSequence[AudienceCompositionAttribute] clustered_attributes: MutableSequence[AudienceCompositionAttributeCluster] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., dimension: AudienceInsightsDimensionEnum.AudienceInsightsDimension = ..., @@ -87,8 +90,8 @@ class AudienceInsightsAttribute(proto.Message): income_range: IncomeRangeInfo youtube_channel: YouTubeChannelInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., age_range: AgeRangeInfo = ..., @@ -113,8 +116,8 @@ class AudienceInsightsAttributeMetadata(proto.Message): dynamic_attribute_metadata: DynamicLineupAttributeMetadata location_attribute_metadata: LocationAttributeMetadata def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., dimension: AudienceInsightsDimensionEnum.AudienceInsightsDimension = ..., @@ -130,8 +133,8 @@ class AudienceInsightsAttributeMetadata(proto.Message): class AudienceInsightsCategory(proto.Message): category_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., category_id: str = ..., @@ -140,8 +143,8 @@ class AudienceInsightsCategory(proto.Message): class AudienceInsightsDynamicLineup(proto.Message): dynamic_lineup_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., dynamic_lineup_id: str = ..., @@ -150,8 +153,8 @@ class AudienceInsightsDynamicLineup(proto.Message): class AudienceInsightsEntity(proto.Message): knowledge_graph_machine_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., knowledge_graph_machine_id: str = ..., @@ -161,8 +164,8 @@ class AudienceInsightsTopic(proto.Message): entity: AudienceInsightsEntity category: AudienceInsightsCategory def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., entity: AudienceInsightsEntity = ..., @@ -177,8 +180,8 @@ class BasicInsightsAudience(proto.Message): user_interests: MutableSequence[UserInterestInfo] topics: MutableSequence[AudienceInsightsTopic] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., country_location: MutableSequence[LocationInfo] = ..., @@ -195,8 +198,8 @@ class DynamicLineupAttributeMetadata(proto.Message): display_name: str youtube_channel_metadata: YouTubeChannelAttributeMetadata def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., youtube_channel: YouTubeChannelInfo = ..., @@ -209,8 +212,8 @@ class DynamicLineupAttributeMetadata(proto.Message): channel_count_upper_bound: int sample_channels: MutableSequence[DynamicLineupAttributeMetadata.SampleChannel] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., inventory_country: LocationInfo = ..., @@ -230,8 +233,8 @@ class GenerateAudienceCompositionInsightsRequest(proto.Message): dimensions: MutableSequence[AudienceInsightsDimensionEnum.AudienceInsightsDimension] customer_insights_group: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -247,8 +250,8 @@ class GenerateAudienceCompositionInsightsRequest(proto.Message): class GenerateAudienceCompositionInsightsResponse(proto.Message): sections: MutableSequence[AudienceCompositionSection] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., sections: MutableSequence[AudienceCompositionSection] = ..., @@ -260,8 +263,8 @@ class GenerateInsightsFinderReportRequest(proto.Message): specific_audience: BasicInsightsAudience customer_insights_group: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -273,8 +276,8 @@ class GenerateInsightsFinderReportRequest(proto.Message): class GenerateInsightsFinderReportResponse(proto.Message): saved_report_url: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., saved_report_url: str = ..., @@ -290,8 +293,8 @@ class InsightsAudience(proto.Message): dynamic_lineups: MutableSequence[AudienceInsightsDynamicLineup] topic_audience_combinations: MutableSequence[InsightsAudienceAttributeGroup] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., country_locations: MutableSequence[LocationInfo] = ..., @@ -309,8 +312,8 @@ class InsightsAudience(proto.Message): class InsightsAudienceAttributeGroup(proto.Message): attributes: MutableSequence[AudienceInsightsAttribute] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., attributes: MutableSequence[AudienceInsightsAttribute] = ..., @@ -323,8 +326,8 @@ class ListAudienceInsightsAttributesRequest(proto.Message): customer_insights_group: str location_country_filters: MutableSequence[LocationInfo] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -339,8 +342,8 @@ class ListAudienceInsightsAttributesRequest(proto.Message): class ListAudienceInsightsAttributesResponse(proto.Message): attributes: MutableSequence[AudienceInsightsAttributeMetadata] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., attributes: MutableSequence[AudienceInsightsAttributeMetadata] = ..., @@ -348,8 +351,8 @@ class ListAudienceInsightsAttributesResponse(proto.Message): class ListInsightsEligibleDatesRequest(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -359,8 +362,8 @@ class ListInsightsEligibleDatesResponse(proto.Message): data_months: MutableSequence[str] last_thirty_days: DateRange def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., data_months: MutableSequence[str] = ..., @@ -370,8 +373,8 @@ class ListInsightsEligibleDatesResponse(proto.Message): class LocationAttributeMetadata(proto.Message): country_location: LocationInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., country_location: LocationInfo = ..., @@ -380,8 +383,8 @@ class LocationAttributeMetadata(proto.Message): class YouTubeChannelAttributeMetadata(proto.Message): subscriber_count: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., subscriber_count: int = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/audience_service.pyi b/google-stubs/ads/googleads/v14/services/types/audience_service.pyi index 17d6f3c69..3548c32d4 100644 --- a/google-stubs/ads/googleads/v14/services/types/audience_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/audience_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,13 +11,15 @@ from google.ads.googleads.v14.enums.types.response_content_type import ( ) from google.ads.googleads.v14.resources.types.audience import Audience +_M = TypeVar("_M") + class AudienceOperation(proto.Message): update_mask: FieldMask create: Audience update: Audience def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -28,8 +31,8 @@ class MutateAudienceResult(proto.Message): resource_name: str audience: Audience def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -43,8 +46,8 @@ class MutateAudiencesRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -58,8 +61,8 @@ class MutateAudiencesResponse(proto.Message): results: MutableSequence[MutateAudienceResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateAudienceResult] = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/batch_job_service.pyi b/google-stubs/ads/googleads/v14/services/types/batch_job_service.pyi index fc82a73d8..261580520 100644 --- a/google-stubs/ads/googleads/v14/services/types/batch_job_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/batch_job_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -13,13 +14,15 @@ from google.ads.googleads.v14.services.types.google_ads_service import ( MutateOperationResponse, ) +_M = TypeVar("_M") + class AddBatchJobOperationsRequest(proto.Message): resource_name: str sequence_token: str mutate_operations: MutableSequence[MutateOperation] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -31,8 +34,8 @@ class AddBatchJobOperationsResponse(proto.Message): total_operations: int next_sequence_token: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., total_operations: int = ..., @@ -43,8 +46,8 @@ class BatchJobOperation(proto.Message): create: BatchJob remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: BatchJob = ..., @@ -56,8 +59,8 @@ class BatchJobResult(proto.Message): mutate_operation_response: MutateOperationResponse status: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., operation_index: int = ..., @@ -71,8 +74,8 @@ class ListBatchJobResultsRequest(proto.Message): page_size: int response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -85,8 +88,8 @@ class ListBatchJobResultsResponse(proto.Message): results: MutableSequence[BatchJobResult] next_page_token: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[BatchJobResult] = ..., @@ -97,8 +100,8 @@ class MutateBatchJobRequest(proto.Message): customer_id: str operation: BatchJobOperation def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -108,8 +111,8 @@ class MutateBatchJobRequest(proto.Message): class MutateBatchJobResponse(proto.Message): result: MutateBatchJobResult def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., result: MutateBatchJobResult = ... @@ -118,8 +121,8 @@ class MutateBatchJobResponse(proto.Message): class MutateBatchJobResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -128,8 +131,8 @@ class MutateBatchJobResult(proto.Message): class RunBatchJobRequest(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v14/services/types/bidding_data_exclusion_service.pyi b/google-stubs/ads/googleads/v14/services/types/bidding_data_exclusion_service.pyi index 7bc65baa3..244c3ba76 100644 --- a/google-stubs/ads/googleads/v14/services/types/bidding_data_exclusion_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/bidding_data_exclusion_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -12,14 +13,16 @@ from google.ads.googleads.v14.resources.types.bidding_data_exclusion import ( BiddingDataExclusion, ) +_M = TypeVar("_M") + class BiddingDataExclusionOperation(proto.Message): update_mask: FieldMask create: BiddingDataExclusion update: BiddingDataExclusion remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -35,8 +38,8 @@ class MutateBiddingDataExclusionsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -50,8 +53,8 @@ class MutateBiddingDataExclusionsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateBiddingDataExclusionsResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -62,8 +65,8 @@ class MutateBiddingDataExclusionsResult(proto.Message): resource_name: str bidding_data_exclusion: BiddingDataExclusion def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/bidding_seasonality_adjustment_service.pyi b/google-stubs/ads/googleads/v14/services/types/bidding_seasonality_adjustment_service.pyi index 309171549..c7e73c51b 100644 --- a/google-stubs/ads/googleads/v14/services/types/bidding_seasonality_adjustment_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/bidding_seasonality_adjustment_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -12,14 +13,16 @@ from google.ads.googleads.v14.resources.types.bidding_seasonality_adjustment imp BiddingSeasonalityAdjustment, ) +_M = TypeVar("_M") + class BiddingSeasonalityAdjustmentOperation(proto.Message): update_mask: FieldMask create: BiddingSeasonalityAdjustment update: BiddingSeasonalityAdjustment remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -35,8 +38,8 @@ class MutateBiddingSeasonalityAdjustmentsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -50,8 +53,8 @@ class MutateBiddingSeasonalityAdjustmentsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateBiddingSeasonalityAdjustmentsResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -62,8 +65,8 @@ class MutateBiddingSeasonalityAdjustmentsResult(proto.Message): resource_name: str bidding_seasonality_adjustment: BiddingSeasonalityAdjustment def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/bidding_strategy_service.pyi b/google-stubs/ads/googleads/v14/services/types/bidding_strategy_service.pyi index 86684b785..c94b309cd 100644 --- a/google-stubs/ads/googleads/v14/services/types/bidding_strategy_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/bidding_strategy_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v14.enums.types.response_content_type import ( ) from google.ads.googleads.v14.resources.types.bidding_strategy import BiddingStrategy +_M = TypeVar("_M") + class BiddingStrategyOperation(proto.Message): update_mask: FieldMask create: BiddingStrategy update: BiddingStrategy remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -33,8 +36,8 @@ class MutateBiddingStrategiesRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -48,8 +51,8 @@ class MutateBiddingStrategiesResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateBiddingStrategyResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -60,8 +63,8 @@ class MutateBiddingStrategyResult(proto.Message): resource_name: str bidding_strategy: BiddingStrategy def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/billing_setup_service.pyi b/google-stubs/ads/googleads/v14/services/types/billing_setup_service.pyi index db58e4bf0..daddbc152 100644 --- a/google-stubs/ads/googleads/v14/services/types/billing_setup_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/billing_setup_service.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.resources.types.billing_setup import BillingSetup +_M = TypeVar("_M") + class BillingSetupOperation(proto.Message): create: BillingSetup remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: BillingSetup = ..., @@ -20,8 +24,8 @@ class MutateBillingSetupRequest(proto.Message): customer_id: str operation: BillingSetupOperation def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -31,8 +35,8 @@ class MutateBillingSetupRequest(proto.Message): class MutateBillingSetupResponse(proto.Message): result: MutateBillingSetupResult def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., result: MutateBillingSetupResult = ... @@ -41,8 +45,8 @@ class MutateBillingSetupResponse(proto.Message): class MutateBillingSetupResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v14/services/types/campaign_asset_service.pyi b/google-stubs/ads/googleads/v14/services/types/campaign_asset_service.pyi index f549adf9b..3d98f52a6 100644 --- a/google-stubs/ads/googleads/v14/services/types/campaign_asset_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/campaign_asset_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v14.enums.types.response_content_type import ( ) from google.ads.googleads.v14.resources.types.campaign_asset import CampaignAsset +_M = TypeVar("_M") + class CampaignAssetOperation(proto.Message): update_mask: FieldMask create: CampaignAsset update: CampaignAsset remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateCampaignAssetResult(proto.Message): resource_name: str campaign_asset: CampaignAsset def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateCampaignAssetsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateCampaignAssetsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateCampaignAssetResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/campaign_asset_set_service.pyi b/google-stubs/ads/googleads/v14/services/types/campaign_asset_set_service.pyi index 6273bda8d..96c3d1504 100644 --- a/google-stubs/ads/googleads/v14/services/types/campaign_asset_set_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/campaign_asset_set_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -9,12 +10,14 @@ from google.ads.googleads.v14.enums.types.response_content_type import ( ) from google.ads.googleads.v14.resources.types.campaign_asset_set import CampaignAssetSet +_M = TypeVar("_M") + class CampaignAssetSetOperation(proto.Message): create: CampaignAssetSet remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: CampaignAssetSet = ..., @@ -25,8 +28,8 @@ class MutateCampaignAssetSetResult(proto.Message): resource_name: str campaign_asset_set: CampaignAssetSet def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -40,8 +43,8 @@ class MutateCampaignAssetSetsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -55,8 +58,8 @@ class MutateCampaignAssetSetsResponse(proto.Message): results: MutableSequence[MutateCampaignAssetSetResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateCampaignAssetSetResult] = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/campaign_bid_modifier_service.pyi b/google-stubs/ads/googleads/v14/services/types/campaign_bid_modifier_service.pyi index ed6740863..5a1777833 100644 --- a/google-stubs/ads/googleads/v14/services/types/campaign_bid_modifier_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/campaign_bid_modifier_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -12,14 +13,16 @@ from google.ads.googleads.v14.resources.types.campaign_bid_modifier import ( CampaignBidModifier, ) +_M = TypeVar("_M") + class CampaignBidModifierOperation(proto.Message): update_mask: FieldMask create: CampaignBidModifier update: CampaignBidModifier remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -32,8 +35,8 @@ class MutateCampaignBidModifierResult(proto.Message): resource_name: str campaign_bid_modifier: CampaignBidModifier def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -47,8 +50,8 @@ class MutateCampaignBidModifiersRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -62,8 +65,8 @@ class MutateCampaignBidModifiersResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateCampaignBidModifierResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/campaign_budget_service.pyi b/google-stubs/ads/googleads/v14/services/types/campaign_budget_service.pyi index 758760be3..f0eafd7f4 100644 --- a/google-stubs/ads/googleads/v14/services/types/campaign_budget_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/campaign_budget_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v14.enums.types.response_content_type import ( ) from google.ads.googleads.v14.resources.types.campaign_budget import CampaignBudget +_M = TypeVar("_M") + class CampaignBudgetOperation(proto.Message): update_mask: FieldMask create: CampaignBudget update: CampaignBudget remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateCampaignBudgetResult(proto.Message): resource_name: str campaign_budget: CampaignBudget def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateCampaignBudgetsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateCampaignBudgetsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateCampaignBudgetResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/campaign_conversion_goal_service.pyi b/google-stubs/ads/googleads/v14/services/types/campaign_conversion_goal_service.pyi index bc53a398e..ff8e2b67a 100644 --- a/google-stubs/ads/googleads/v14/services/types/campaign_conversion_goal_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/campaign_conversion_goal_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask @@ -8,12 +9,14 @@ from google.ads.googleads.v14.resources.types.campaign_conversion_goal import ( CampaignConversionGoal, ) +_M = TypeVar("_M") + class CampaignConversionGoalOperation(proto.Message): update_mask: FieldMask update: CampaignConversionGoal def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -23,8 +26,8 @@ class CampaignConversionGoalOperation(proto.Message): class MutateCampaignConversionGoalResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -35,8 +38,8 @@ class MutateCampaignConversionGoalsRequest(proto.Message): operations: MutableSequence[CampaignConversionGoalOperation] validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -47,8 +50,8 @@ class MutateCampaignConversionGoalsRequest(proto.Message): class MutateCampaignConversionGoalsResponse(proto.Message): results: MutableSequence[MutateCampaignConversionGoalResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateCampaignConversionGoalResult] = ... diff --git a/google-stubs/ads/googleads/v14/services/types/campaign_criterion_service.pyi b/google-stubs/ads/googleads/v14/services/types/campaign_criterion_service.pyi index bb06e0b74..f84fbab34 100644 --- a/google-stubs/ads/googleads/v14/services/types/campaign_criterion_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/campaign_criterion_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -12,14 +13,16 @@ from google.ads.googleads.v14.resources.types.campaign_criterion import ( CampaignCriterion, ) +_M = TypeVar("_M") + class CampaignCriterionOperation(proto.Message): update_mask: FieldMask create: CampaignCriterion update: CampaignCriterion remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -35,8 +38,8 @@ class MutateCampaignCriteriaRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -50,8 +53,8 @@ class MutateCampaignCriteriaResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateCampaignCriterionResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -62,8 +65,8 @@ class MutateCampaignCriterionResult(proto.Message): resource_name: str campaign_criterion: CampaignCriterion def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/campaign_customizer_service.pyi b/google-stubs/ads/googleads/v14/services/types/campaign_customizer_service.pyi index bcd4d3cea..47cd3bfe9 100644 --- a/google-stubs/ads/googleads/v14/services/types/campaign_customizer_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/campaign_customizer_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -11,12 +12,14 @@ from google.ads.googleads.v14.resources.types.campaign_customizer import ( CampaignCustomizer, ) +_M = TypeVar("_M") + class CampaignCustomizerOperation(proto.Message): create: CampaignCustomizer remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: CampaignCustomizer = ..., @@ -27,8 +30,8 @@ class MutateCampaignCustomizerResult(proto.Message): resource_name: str campaign_customizer: CampaignCustomizer def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -42,8 +45,8 @@ class MutateCampaignCustomizersRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -57,8 +60,8 @@ class MutateCampaignCustomizersResponse(proto.Message): results: MutableSequence[MutateCampaignCustomizerResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateCampaignCustomizerResult] = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/campaign_draft_service.pyi b/google-stubs/ads/googleads/v14/services/types/campaign_draft_service.pyi index 96433449a..713367d6e 100644 --- a/google-stubs/ads/googleads/v14/services/types/campaign_draft_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/campaign_draft_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v14.enums.types.response_content_type import ( ) from google.ads.googleads.v14.resources.types.campaign_draft import CampaignDraft +_M = TypeVar("_M") + class CampaignDraftOperation(proto.Message): update_mask: FieldMask create: CampaignDraft update: CampaignDraft remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -31,8 +34,8 @@ class ListCampaignDraftAsyncErrorsRequest(proto.Message): page_token: str page_size: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -44,8 +47,8 @@ class ListCampaignDraftAsyncErrorsResponse(proto.Message): errors: MutableSequence[Status] next_page_token: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., errors: MutableSequence[Status] = ..., @@ -56,8 +59,8 @@ class MutateCampaignDraftResult(proto.Message): resource_name: str campaign_draft: CampaignDraft def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -71,8 +74,8 @@ class MutateCampaignDraftsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -86,8 +89,8 @@ class MutateCampaignDraftsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateCampaignDraftResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -98,8 +101,8 @@ class PromoteCampaignDraftRequest(proto.Message): campaign_draft: str validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., campaign_draft: str = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/campaign_extension_setting_service.pyi b/google-stubs/ads/googleads/v14/services/types/campaign_extension_setting_service.pyi index 9ca5d5d41..b4bc1ceaa 100644 --- a/google-stubs/ads/googleads/v14/services/types/campaign_extension_setting_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/campaign_extension_setting_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -12,14 +13,16 @@ from google.ads.googleads.v14.resources.types.campaign_extension_setting import CampaignExtensionSetting, ) +_M = TypeVar("_M") + class CampaignExtensionSettingOperation(proto.Message): update_mask: FieldMask create: CampaignExtensionSetting update: CampaignExtensionSetting remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -32,8 +35,8 @@ class MutateCampaignExtensionSettingResult(proto.Message): resource_name: str campaign_extension_setting: CampaignExtensionSetting def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -47,8 +50,8 @@ class MutateCampaignExtensionSettingsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -62,8 +65,8 @@ class MutateCampaignExtensionSettingsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateCampaignExtensionSettingResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/campaign_feed_service.pyi b/google-stubs/ads/googleads/v14/services/types/campaign_feed_service.pyi index 61aa70d19..4f195ed4f 100644 --- a/google-stubs/ads/googleads/v14/services/types/campaign_feed_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/campaign_feed_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v14.enums.types.response_content_type import ( ) from google.ads.googleads.v14.resources.types.campaign_feed import CampaignFeed +_M = TypeVar("_M") + class CampaignFeedOperation(proto.Message): update_mask: FieldMask create: CampaignFeed update: CampaignFeed remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateCampaignFeedResult(proto.Message): resource_name: str campaign_feed: CampaignFeed def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateCampaignFeedsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateCampaignFeedsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateCampaignFeedResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/campaign_group_service.pyi b/google-stubs/ads/googleads/v14/services/types/campaign_group_service.pyi index 099365a31..19b49f754 100644 --- a/google-stubs/ads/googleads/v14/services/types/campaign_group_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/campaign_group_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v14.enums.types.response_content_type import ( ) from google.ads.googleads.v14.resources.types.campaign_group import CampaignGroup +_M = TypeVar("_M") + class CampaignGroupOperation(proto.Message): update_mask: FieldMask create: CampaignGroup update: CampaignGroup remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateCampaignGroupResult(proto.Message): resource_name: str campaign_group: CampaignGroup def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateCampaignGroupsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateCampaignGroupsResponse(proto.Message): results: MutableSequence[MutateCampaignGroupResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateCampaignGroupResult] = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/campaign_label_service.pyi b/google-stubs/ads/googleads/v14/services/types/campaign_label_service.pyi index 1a99bc6d5..be155d40f 100644 --- a/google-stubs/ads/googleads/v14/services/types/campaign_label_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/campaign_label_service.pyi @@ -1,17 +1,20 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status from google.ads.googleads.v14.resources.types.campaign_label import CampaignLabel +_M = TypeVar("_M") + class CampaignLabelOperation(proto.Message): create: CampaignLabel remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: CampaignLabel = ..., @@ -21,8 +24,8 @@ class CampaignLabelOperation(proto.Message): class MutateCampaignLabelResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -34,8 +37,8 @@ class MutateCampaignLabelsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -48,8 +51,8 @@ class MutateCampaignLabelsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateCampaignLabelResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/campaign_service.pyi b/google-stubs/ads/googleads/v14/services/types/campaign_service.pyi index 9e0b5403e..4ffbe3280 100644 --- a/google-stubs/ads/googleads/v14/services/types/campaign_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/campaign_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v14.enums.types.response_content_type import ( ) from google.ads.googleads.v14.resources.types.campaign import Campaign +_M = TypeVar("_M") + class CampaignOperation(proto.Message): update_mask: FieldMask create: Campaign update: Campaign remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateCampaignResult(proto.Message): resource_name: str campaign: Campaign def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateCampaignsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateCampaignsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateCampaignResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/campaign_shared_set_service.pyi b/google-stubs/ads/googleads/v14/services/types/campaign_shared_set_service.pyi index 4b5956847..31c6e612a 100644 --- a/google-stubs/ads/googleads/v14/services/types/campaign_shared_set_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/campaign_shared_set_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -11,12 +12,14 @@ from google.ads.googleads.v14.resources.types.campaign_shared_set import ( CampaignSharedSet, ) +_M = TypeVar("_M") + class CampaignSharedSetOperation(proto.Message): create: CampaignSharedSet remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: CampaignSharedSet = ..., @@ -27,8 +30,8 @@ class MutateCampaignSharedSetResult(proto.Message): resource_name: str campaign_shared_set: CampaignSharedSet def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -42,8 +45,8 @@ class MutateCampaignSharedSetsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -57,8 +60,8 @@ class MutateCampaignSharedSetsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateCampaignSharedSetResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/conversion_action_service.pyi b/google-stubs/ads/googleads/v14/services/types/conversion_action_service.pyi index d6f165857..611304b91 100644 --- a/google-stubs/ads/googleads/v14/services/types/conversion_action_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/conversion_action_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v14.enums.types.response_content_type import ( ) from google.ads.googleads.v14.resources.types.conversion_action import ConversionAction +_M = TypeVar("_M") + class ConversionActionOperation(proto.Message): update_mask: FieldMask create: ConversionAction update: ConversionAction remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateConversionActionResult(proto.Message): resource_name: str conversion_action: ConversionAction def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateConversionActionsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateConversionActionsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateConversionActionResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/conversion_adjustment_upload_service.pyi b/google-stubs/ads/googleads/v14/services/types/conversion_adjustment_upload_service.pyi index 2fa156a53..8225e2e76 100644 --- a/google-stubs/ads/googleads/v14/services/types/conversion_adjustment_upload_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/conversion_adjustment_upload_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -9,6 +10,8 @@ from google.ads.googleads.v14.enums.types.conversion_adjustment_type import ( ConversionAdjustmentTypeEnum, ) +_M = TypeVar("_M") + class ConversionAdjustment(proto.Message): gclid_date_time_pair: GclidDateTimePair order_id: str @@ -19,8 +22,8 @@ class ConversionAdjustment(proto.Message): user_identifiers: MutableSequence[UserIdentifier] user_agent: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., gclid_date_time_pair: GclidDateTimePair = ..., @@ -40,8 +43,8 @@ class ConversionAdjustmentResult(proto.Message): adjustment_date_time: str adjustment_type: ConversionAdjustmentTypeEnum.ConversionAdjustmentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., gclid_date_time_pair: GclidDateTimePair = ..., @@ -55,8 +58,8 @@ class GclidDateTimePair(proto.Message): gclid: str conversion_date_time: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., gclid: str = ..., @@ -67,8 +70,8 @@ class RestatementValue(proto.Message): adjusted_value: float currency_code: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., adjusted_value: float = ..., @@ -81,8 +84,8 @@ class UploadConversionAdjustmentsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -96,8 +99,8 @@ class UploadConversionAdjustmentsResponse(proto.Message): results: MutableSequence[ConversionAdjustmentResult] job_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/conversion_custom_variable_service.pyi b/google-stubs/ads/googleads/v14/services/types/conversion_custom_variable_service.pyi index 27628c42d..ca42316bd 100644 --- a/google-stubs/ads/googleads/v14/services/types/conversion_custom_variable_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/conversion_custom_variable_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -12,13 +13,15 @@ from google.ads.googleads.v14.resources.types.conversion_custom_variable import ConversionCustomVariable, ) +_M = TypeVar("_M") + class ConversionCustomVariableOperation(proto.Message): update_mask: FieldMask create: ConversionCustomVariable update: ConversionCustomVariable def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateConversionCustomVariableResult(proto.Message): resource_name: str conversion_custom_variable: ConversionCustomVariable def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateConversionCustomVariablesRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateConversionCustomVariablesResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateConversionCustomVariableResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/conversion_goal_campaign_config_service.pyi b/google-stubs/ads/googleads/v14/services/types/conversion_goal_campaign_config_service.pyi index d31ef7b4e..d328ca396 100644 --- a/google-stubs/ads/googleads/v14/services/types/conversion_goal_campaign_config_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/conversion_goal_campaign_config_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask @@ -11,12 +12,14 @@ from google.ads.googleads.v14.resources.types.conversion_goal_campaign_config im ConversionGoalCampaignConfig, ) +_M = TypeVar("_M") + class ConversionGoalCampaignConfigOperation(proto.Message): update_mask: FieldMask update: ConversionGoalCampaignConfig def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -27,8 +30,8 @@ class MutateConversionGoalCampaignConfigResult(proto.Message): resource_name: str conversion_goal_campaign_config: ConversionGoalCampaignConfig def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -41,8 +44,8 @@ class MutateConversionGoalCampaignConfigsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -54,8 +57,8 @@ class MutateConversionGoalCampaignConfigsRequest(proto.Message): class MutateConversionGoalCampaignConfigsResponse(proto.Message): results: MutableSequence[MutateConversionGoalCampaignConfigResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateConversionGoalCampaignConfigResult] = ... diff --git a/google-stubs/ads/googleads/v14/services/types/conversion_upload_service.pyi b/google-stubs/ads/googleads/v14/services/types/conversion_upload_service.pyi index cbebf30df..8356882df 100644 --- a/google-stubs/ads/googleads/v14/services/types/conversion_upload_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/conversion_upload_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -9,6 +10,8 @@ from google.ads.googleads.v14.enums.types.conversion_environment_enum import ( ConversionEnvironmentEnum, ) +_M = TypeVar("_M") + class CallConversion(proto.Message): caller_id: str call_start_date_time: str @@ -18,8 +21,8 @@ class CallConversion(proto.Message): currency_code: str custom_variables: MutableSequence[CustomVariable] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., caller_id: str = ..., @@ -37,8 +40,8 @@ class CallConversionResult(proto.Message): conversion_action: str conversion_date_time: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., caller_id: str = ..., @@ -53,8 +56,8 @@ class CartData(proto.Message): quantity: int unit_price: float def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., product_id: str = ..., @@ -67,8 +70,8 @@ class CartData(proto.Message): local_transaction_cost: float items: MutableSequence[CartData.Item] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., merchant_id: int = ..., @@ -93,8 +96,8 @@ class ClickConversion(proto.Message): user_identifiers: MutableSequence[UserIdentifier] conversion_environment: ConversionEnvironmentEnum.ConversionEnvironment def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., gclid: str = ..., @@ -120,8 +123,8 @@ class ClickConversionResult(proto.Message): conversion_date_time: str user_identifiers: MutableSequence[UserIdentifier] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., gclid: str = ..., @@ -136,8 +139,8 @@ class CustomVariable(proto.Message): conversion_custom_variable: str value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., conversion_custom_variable: str = ..., @@ -148,8 +151,8 @@ class ExternalAttributionData(proto.Message): external_attribution_credit: float external_attribution_model: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., external_attribution_credit: float = ..., @@ -162,8 +165,8 @@ class UploadCallConversionsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -176,8 +179,8 @@ class UploadCallConversionsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[CallConversionResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -191,8 +194,8 @@ class UploadClickConversionsRequest(proto.Message): validate_only: bool debug_enabled: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -207,8 +210,8 @@ class UploadClickConversionsResponse(proto.Message): results: MutableSequence[ClickConversionResult] job_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/conversion_value_rule_service.pyi b/google-stubs/ads/googleads/v14/services/types/conversion_value_rule_service.pyi index 7a715a4cd..602f01ca8 100644 --- a/google-stubs/ads/googleads/v14/services/types/conversion_value_rule_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/conversion_value_rule_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -12,14 +13,16 @@ from google.ads.googleads.v14.resources.types.conversion_value_rule import ( ConversionValueRule, ) +_M = TypeVar("_M") + class ConversionValueRuleOperation(proto.Message): update_mask: FieldMask create: ConversionValueRule update: ConversionValueRule remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -32,8 +35,8 @@ class MutateConversionValueRuleResult(proto.Message): resource_name: str conversion_value_rule: ConversionValueRule def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -47,8 +50,8 @@ class MutateConversionValueRulesRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -62,8 +65,8 @@ class MutateConversionValueRulesResponse(proto.Message): results: MutableSequence[MutateConversionValueRuleResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateConversionValueRuleResult] = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/conversion_value_rule_set_service.pyi b/google-stubs/ads/googleads/v14/services/types/conversion_value_rule_set_service.pyi index 2460e94c4..25be35e82 100644 --- a/google-stubs/ads/googleads/v14/services/types/conversion_value_rule_set_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/conversion_value_rule_set_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -12,14 +13,16 @@ from google.ads.googleads.v14.resources.types.conversion_value_rule_set import ( ConversionValueRuleSet, ) +_M = TypeVar("_M") + class ConversionValueRuleSetOperation(proto.Message): update_mask: FieldMask create: ConversionValueRuleSet update: ConversionValueRuleSet remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -32,8 +35,8 @@ class MutateConversionValueRuleSetResult(proto.Message): resource_name: str conversion_value_rule_set: ConversionValueRuleSet def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -47,8 +50,8 @@ class MutateConversionValueRuleSetsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -62,8 +65,8 @@ class MutateConversionValueRuleSetsResponse(proto.Message): results: MutableSequence[MutateConversionValueRuleSetResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateConversionValueRuleSetResult] = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/custom_audience_service.pyi b/google-stubs/ads/googleads/v14/services/types/custom_audience_service.pyi index b5e6f5a96..bd92d5e80 100644 --- a/google-stubs/ads/googleads/v14/services/types/custom_audience_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/custom_audience_service.pyi @@ -1,19 +1,22 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.ads.googleads.v14.resources.types.custom_audience import CustomAudience +_M = TypeVar("_M") + class CustomAudienceOperation(proto.Message): update_mask: FieldMask create: CustomAudience update: CustomAudience remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -25,8 +28,8 @@ class CustomAudienceOperation(proto.Message): class MutateCustomAudienceResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -37,8 +40,8 @@ class MutateCustomAudiencesRequest(proto.Message): operations: MutableSequence[CustomAudienceOperation] validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -49,8 +52,8 @@ class MutateCustomAudiencesRequest(proto.Message): class MutateCustomAudiencesResponse(proto.Message): results: MutableSequence[MutateCustomAudienceResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateCustomAudienceResult] = ... diff --git a/google-stubs/ads/googleads/v14/services/types/custom_conversion_goal_service.pyi b/google-stubs/ads/googleads/v14/services/types/custom_conversion_goal_service.pyi index 7319ae2b6..81bbd6a47 100644 --- a/google-stubs/ads/googleads/v14/services/types/custom_conversion_goal_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/custom_conversion_goal_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask @@ -11,14 +12,16 @@ from google.ads.googleads.v14.resources.types.custom_conversion_goal import ( CustomConversionGoal, ) +_M = TypeVar("_M") + class CustomConversionGoalOperation(proto.Message): update_mask: FieldMask create: CustomConversionGoal update: CustomConversionGoal remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -31,8 +34,8 @@ class MutateCustomConversionGoalResult(proto.Message): resource_name: str custom_conversion_goal: CustomConversionGoal def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateCustomConversionGoalsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -58,8 +61,8 @@ class MutateCustomConversionGoalsRequest(proto.Message): class MutateCustomConversionGoalsResponse(proto.Message): results: MutableSequence[MutateCustomConversionGoalResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateCustomConversionGoalResult] = ... diff --git a/google-stubs/ads/googleads/v14/services/types/custom_interest_service.pyi b/google-stubs/ads/googleads/v14/services/types/custom_interest_service.pyi index 353183aa1..12fdb9aa0 100644 --- a/google-stubs/ads/googleads/v14/services/types/custom_interest_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/custom_interest_service.pyi @@ -1,18 +1,21 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.ads.googleads.v14.resources.types.custom_interest import CustomInterest +_M = TypeVar("_M") + class CustomInterestOperation(proto.Message): update_mask: FieldMask create: CustomInterest update: CustomInterest def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -23,8 +26,8 @@ class CustomInterestOperation(proto.Message): class MutateCustomInterestResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -35,8 +38,8 @@ class MutateCustomInterestsRequest(proto.Message): operations: MutableSequence[CustomInterestOperation] validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -47,8 +50,8 @@ class MutateCustomInterestsRequest(proto.Message): class MutateCustomInterestsResponse(proto.Message): results: MutableSequence[MutateCustomInterestResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateCustomInterestResult] = ... diff --git a/google-stubs/ads/googleads/v14/services/types/customer_asset_service.pyi b/google-stubs/ads/googleads/v14/services/types/customer_asset_service.pyi index d03eac04c..88bbbd455 100644 --- a/google-stubs/ads/googleads/v14/services/types/customer_asset_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/customer_asset_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v14.enums.types.response_content_type import ( ) from google.ads.googleads.v14.resources.types.customer_asset import CustomerAsset +_M = TypeVar("_M") + class CustomerAssetOperation(proto.Message): update_mask: FieldMask create: CustomerAsset update: CustomerAsset remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateCustomerAssetResult(proto.Message): resource_name: str customer_asset: CustomerAsset def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateCustomerAssetsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateCustomerAssetsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateCustomerAssetResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/customer_asset_set_service.pyi b/google-stubs/ads/googleads/v14/services/types/customer_asset_set_service.pyi index 597c7df1c..cf8825326 100644 --- a/google-stubs/ads/googleads/v14/services/types/customer_asset_set_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/customer_asset_set_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -9,12 +10,14 @@ from google.ads.googleads.v14.enums.types.response_content_type import ( ) from google.ads.googleads.v14.resources.types.customer_asset_set import CustomerAssetSet +_M = TypeVar("_M") + class CustomerAssetSetOperation(proto.Message): create: CustomerAssetSet remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: CustomerAssetSet = ..., @@ -25,8 +28,8 @@ class MutateCustomerAssetSetResult(proto.Message): resource_name: str customer_asset_set: CustomerAssetSet def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -40,8 +43,8 @@ class MutateCustomerAssetSetsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -55,8 +58,8 @@ class MutateCustomerAssetSetsResponse(proto.Message): results: MutableSequence[MutateCustomerAssetSetResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateCustomerAssetSetResult] = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/customer_client_link_service.pyi b/google-stubs/ads/googleads/v14/services/types/customer_client_link_service.pyi index dd6b1bed7..3ae112ce9 100644 --- a/google-stubs/ads/googleads/v14/services/types/customer_client_link_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/customer_client_link_service.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask @@ -7,13 +9,15 @@ from google.ads.googleads.v14.resources.types.customer_client_link import ( CustomerClientLink, ) +_M = TypeVar("_M") + class CustomerClientLinkOperation(proto.Message): update_mask: FieldMask create: CustomerClientLink update: CustomerClientLink def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -26,8 +30,8 @@ class MutateCustomerClientLinkRequest(proto.Message): operation: CustomerClientLinkOperation validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -38,8 +42,8 @@ class MutateCustomerClientLinkRequest(proto.Message): class MutateCustomerClientLinkResponse(proto.Message): result: MutateCustomerClientLinkResult def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., result: MutateCustomerClientLinkResult = ... @@ -48,8 +52,8 @@ class MutateCustomerClientLinkResponse(proto.Message): class MutateCustomerClientLinkResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v14/services/types/customer_conversion_goal_service.pyi b/google-stubs/ads/googleads/v14/services/types/customer_conversion_goal_service.pyi index 1438b91a3..05f725024 100644 --- a/google-stubs/ads/googleads/v14/services/types/customer_conversion_goal_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/customer_conversion_goal_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask @@ -8,12 +9,14 @@ from google.ads.googleads.v14.resources.types.customer_conversion_goal import ( CustomerConversionGoal, ) +_M = TypeVar("_M") + class CustomerConversionGoalOperation(proto.Message): update_mask: FieldMask update: CustomerConversionGoal def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -23,8 +26,8 @@ class CustomerConversionGoalOperation(proto.Message): class MutateCustomerConversionGoalResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -35,8 +38,8 @@ class MutateCustomerConversionGoalsRequest(proto.Message): operations: MutableSequence[CustomerConversionGoalOperation] validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -47,8 +50,8 @@ class MutateCustomerConversionGoalsRequest(proto.Message): class MutateCustomerConversionGoalsResponse(proto.Message): results: MutableSequence[MutateCustomerConversionGoalResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateCustomerConversionGoalResult] = ... diff --git a/google-stubs/ads/googleads/v14/services/types/customer_customizer_service.pyi b/google-stubs/ads/googleads/v14/services/types/customer_customizer_service.pyi index 8797f6a40..914f4cb26 100644 --- a/google-stubs/ads/googleads/v14/services/types/customer_customizer_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/customer_customizer_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -11,12 +12,14 @@ from google.ads.googleads.v14.resources.types.customer_customizer import ( CustomerCustomizer, ) +_M = TypeVar("_M") + class CustomerCustomizerOperation(proto.Message): create: CustomerCustomizer remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: CustomerCustomizer = ..., @@ -27,8 +30,8 @@ class MutateCustomerCustomizerResult(proto.Message): resource_name: str customer_customizer: CustomerCustomizer def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -42,8 +45,8 @@ class MutateCustomerCustomizersRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -57,8 +60,8 @@ class MutateCustomerCustomizersResponse(proto.Message): results: MutableSequence[MutateCustomerCustomizerResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateCustomerCustomizerResult] = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/customer_extension_setting_service.pyi b/google-stubs/ads/googleads/v14/services/types/customer_extension_setting_service.pyi index 5262da56e..e0683829e 100644 --- a/google-stubs/ads/googleads/v14/services/types/customer_extension_setting_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/customer_extension_setting_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -12,14 +13,16 @@ from google.ads.googleads.v14.resources.types.customer_extension_setting import CustomerExtensionSetting, ) +_M = TypeVar("_M") + class CustomerExtensionSettingOperation(proto.Message): update_mask: FieldMask create: CustomerExtensionSetting update: CustomerExtensionSetting remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -32,8 +35,8 @@ class MutateCustomerExtensionSettingResult(proto.Message): resource_name: str customer_extension_setting: CustomerExtensionSetting def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -47,8 +50,8 @@ class MutateCustomerExtensionSettingsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -62,8 +65,8 @@ class MutateCustomerExtensionSettingsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateCustomerExtensionSettingResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/customer_feed_service.pyi b/google-stubs/ads/googleads/v14/services/types/customer_feed_service.pyi index dc5579f1d..fbff14b42 100644 --- a/google-stubs/ads/googleads/v14/services/types/customer_feed_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/customer_feed_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v14.enums.types.response_content_type import ( ) from google.ads.googleads.v14.resources.types.customer_feed import CustomerFeed +_M = TypeVar("_M") + class CustomerFeedOperation(proto.Message): update_mask: FieldMask create: CustomerFeed update: CustomerFeed remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateCustomerFeedResult(proto.Message): resource_name: str customer_feed: CustomerFeed def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateCustomerFeedsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateCustomerFeedsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateCustomerFeedResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/customer_label_service.pyi b/google-stubs/ads/googleads/v14/services/types/customer_label_service.pyi index 8982799ad..5bcc8fbd8 100644 --- a/google-stubs/ads/googleads/v14/services/types/customer_label_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/customer_label_service.pyi @@ -1,17 +1,20 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status from google.ads.googleads.v14.resources.types.customer_label import CustomerLabel +_M = TypeVar("_M") + class CustomerLabelOperation(proto.Message): create: CustomerLabel remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: CustomerLabel = ..., @@ -21,8 +24,8 @@ class CustomerLabelOperation(proto.Message): class MutateCustomerLabelResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -34,8 +37,8 @@ class MutateCustomerLabelsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -48,8 +51,8 @@ class MutateCustomerLabelsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateCustomerLabelResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/customer_manager_link_service.pyi b/google-stubs/ads/googleads/v14/services/types/customer_manager_link_service.pyi index dccd4d2d0..490691da5 100644 --- a/google-stubs/ads/googleads/v14/services/types/customer_manager_link_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/customer_manager_link_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask @@ -8,12 +9,14 @@ from google.ads.googleads.v14.resources.types.customer_manager_link import ( CustomerManagerLink, ) +_M = TypeVar("_M") + class CustomerManagerLinkOperation(proto.Message): update_mask: FieldMask update: CustomerManagerLink def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -26,8 +29,8 @@ class MoveManagerLinkRequest(proto.Message): new_manager: str validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -39,8 +42,8 @@ class MoveManagerLinkRequest(proto.Message): class MoveManagerLinkResponse(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -51,8 +54,8 @@ class MutateCustomerManagerLinkRequest(proto.Message): operations: MutableSequence[CustomerManagerLinkOperation] validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -63,8 +66,8 @@ class MutateCustomerManagerLinkRequest(proto.Message): class MutateCustomerManagerLinkResponse(proto.Message): results: MutableSequence[MutateCustomerManagerLinkResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateCustomerManagerLinkResult] = ... @@ -73,8 +76,8 @@ class MutateCustomerManagerLinkResponse(proto.Message): class MutateCustomerManagerLinkResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v14/services/types/customer_negative_criterion_service.pyi b/google-stubs/ads/googleads/v14/services/types/customer_negative_criterion_service.pyi index 5dbc1e9bc..a91603b01 100644 --- a/google-stubs/ads/googleads/v14/services/types/customer_negative_criterion_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/customer_negative_criterion_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -11,12 +12,14 @@ from google.ads.googleads.v14.resources.types.customer_negative_criterion import CustomerNegativeCriterion, ) +_M = TypeVar("_M") + class CustomerNegativeCriterionOperation(proto.Message): create: CustomerNegativeCriterion remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: CustomerNegativeCriterion = ..., @@ -30,8 +33,8 @@ class MutateCustomerNegativeCriteriaRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -45,8 +48,8 @@ class MutateCustomerNegativeCriteriaResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateCustomerNegativeCriteriaResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -57,8 +60,8 @@ class MutateCustomerNegativeCriteriaResult(proto.Message): resource_name: str customer_negative_criterion: CustomerNegativeCriterion def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/customer_service.pyi b/google-stubs/ads/googleads/v14/services/types/customer_service.pyi index 17bf08bea..85d21d95b 100644 --- a/google-stubs/ads/googleads/v14/services/types/customer_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/customer_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask @@ -10,6 +11,8 @@ from google.ads.googleads.v14.enums.types.response_content_type import ( ) from google.ads.googleads.v14.resources.types.customer import Customer +_M = TypeVar("_M") + class CreateCustomerClientRequest(proto.Message): customer_id: str customer_client: Customer @@ -17,8 +20,8 @@ class CreateCustomerClientRequest(proto.Message): access_role: AccessRoleEnum.AccessRole validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -32,8 +35,8 @@ class CreateCustomerClientResponse(proto.Message): resource_name: str invitation_link: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -44,8 +47,8 @@ class CustomerOperation(proto.Message): update: Customer update_mask: FieldMask def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update: Customer = ..., @@ -54,8 +57,8 @@ class CustomerOperation(proto.Message): class ListAccessibleCustomersRequest(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -64,8 +67,8 @@ class ListAccessibleCustomersRequest(proto.Message): class ListAccessibleCustomersResponse(proto.Message): resource_names: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_names: MutableSequence[str] = ..., @@ -77,8 +80,8 @@ class MutateCustomerRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -90,8 +93,8 @@ class MutateCustomerRequest(proto.Message): class MutateCustomerResponse(proto.Message): result: MutateCustomerResult def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., result: MutateCustomerResult = ..., @@ -101,8 +104,8 @@ class MutateCustomerResult(proto.Message): resource_name: str customer: Customer def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/customer_sk_ad_network_conversion_value_schema_service.pyi b/google-stubs/ads/googleads/v14/services/types/customer_sk_ad_network_conversion_value_schema_service.pyi index a6d1d0f2e..b69acae5d 100644 --- a/google-stubs/ads/googleads/v14/services/types/customer_sk_ad_network_conversion_value_schema_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/customer_sk_ad_network_conversion_value_schema_service.pyi @@ -1,16 +1,20 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.resources.types.customer_sk_ad_network_conversion_value_schema import ( CustomerSkAdNetworkConversionValueSchema, ) +_M = TypeVar("_M") + class CustomerSkAdNetworkConversionValueSchemaOperation(proto.Message): update: CustomerSkAdNetworkConversionValueSchema def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update: CustomerSkAdNetworkConversionValueSchema = ... @@ -21,8 +25,8 @@ class MutateCustomerSkAdNetworkConversionValueSchemaRequest(proto.Message): operation: CustomerSkAdNetworkConversionValueSchemaOperation validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -33,8 +37,8 @@ class MutateCustomerSkAdNetworkConversionValueSchemaRequest(proto.Message): class MutateCustomerSkAdNetworkConversionValueSchemaResponse(proto.Message): result: MutateCustomerSkAdNetworkConversionValueSchemaResult def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., result: MutateCustomerSkAdNetworkConversionValueSchemaResult = ... @@ -44,8 +48,8 @@ class MutateCustomerSkAdNetworkConversionValueSchemaResult(proto.Message): resource_name: str app_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/customer_user_access_invitation_service.pyi b/google-stubs/ads/googleads/v14/services/types/customer_user_access_invitation_service.pyi index 32d7d2b1f..e69abfeb7 100644 --- a/google-stubs/ads/googleads/v14/services/types/customer_user_access_invitation_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/customer_user_access_invitation_service.pyi @@ -1,17 +1,21 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.resources.types.customer_user_access_invitation import ( CustomerUserAccessInvitation, ) +_M = TypeVar("_M") + class CustomerUserAccessInvitationOperation(proto.Message): create: CustomerUserAccessInvitation remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: CustomerUserAccessInvitation = ..., @@ -22,8 +26,8 @@ class MutateCustomerUserAccessInvitationRequest(proto.Message): customer_id: str operation: CustomerUserAccessInvitationOperation def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -33,8 +37,8 @@ class MutateCustomerUserAccessInvitationRequest(proto.Message): class MutateCustomerUserAccessInvitationResponse(proto.Message): result: MutateCustomerUserAccessInvitationResult def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., result: MutateCustomerUserAccessInvitationResult = ... @@ -43,8 +47,8 @@ class MutateCustomerUserAccessInvitationResponse(proto.Message): class MutateCustomerUserAccessInvitationResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v14/services/types/customer_user_access_service.pyi b/google-stubs/ads/googleads/v14/services/types/customer_user_access_service.pyi index ed30cd085..3cc55c2d7 100644 --- a/google-stubs/ads/googleads/v14/services/types/customer_user_access_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/customer_user_access_service.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask @@ -7,13 +9,15 @@ from google.ads.googleads.v14.resources.types.customer_user_access import ( CustomerUserAccess, ) +_M = TypeVar("_M") + class CustomerUserAccessOperation(proto.Message): update_mask: FieldMask update: CustomerUserAccess remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -25,8 +29,8 @@ class MutateCustomerUserAccessRequest(proto.Message): customer_id: str operation: CustomerUserAccessOperation def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -36,8 +40,8 @@ class MutateCustomerUserAccessRequest(proto.Message): class MutateCustomerUserAccessResponse(proto.Message): result: MutateCustomerUserAccessResult def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., result: MutateCustomerUserAccessResult = ... @@ -46,8 +50,8 @@ class MutateCustomerUserAccessResponse(proto.Message): class MutateCustomerUserAccessResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v14/services/types/customizer_attribute_service.pyi b/google-stubs/ads/googleads/v14/services/types/customizer_attribute_service.pyi index cb6e69b65..5f5e8080c 100644 --- a/google-stubs/ads/googleads/v14/services/types/customizer_attribute_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/customizer_attribute_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -12,13 +13,15 @@ from google.ads.googleads.v14.resources.types.customizer_attribute import ( CustomizerAttribute, ) +_M = TypeVar("_M") + class CustomizerAttributeOperation(proto.Message): update_mask: FieldMask create: CustomizerAttribute remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateCustomizerAttributeResult(proto.Message): resource_name: str customizer_attribute: CustomizerAttribute def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateCustomizerAttributesRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateCustomizerAttributesResponse(proto.Message): results: MutableSequence[MutateCustomizerAttributeResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateCustomizerAttributeResult] = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/experiment_arm_service.pyi b/google-stubs/ads/googleads/v14/services/types/experiment_arm_service.pyi index c760b2330..3706852b5 100644 --- a/google-stubs/ads/googleads/v14/services/types/experiment_arm_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/experiment_arm_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v14.enums.types.response_content_type import ( ) from google.ads.googleads.v14.resources.types.experiment_arm import ExperimentArm +_M = TypeVar("_M") + class ExperimentArmOperation(proto.Message): update_mask: FieldMask create: ExperimentArm update: ExperimentArm remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateExperimentArmResult(proto.Message): resource_name: str experiment_arm: ExperimentArm def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateExperimentArmsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateExperimentArmsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateExperimentArmResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/experiment_service.pyi b/google-stubs/ads/googleads/v14/services/types/experiment_service.pyi index 57a091bdf..2db22c6e9 100644 --- a/google-stubs/ads/googleads/v14/services/types/experiment_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/experiment_service.pyi @@ -1,18 +1,21 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status from google.ads.googleads.v14.resources.types.experiment import Experiment +_M = TypeVar("_M") + class CampaignBudgetMapping(proto.Message): experiment_campaign: str campaign_budget: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., experiment_campaign: str = ..., @@ -23,8 +26,8 @@ class EndExperimentRequest(proto.Message): experiment: str validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., experiment: str = ..., @@ -37,8 +40,8 @@ class ExperimentOperation(proto.Message): update: Experiment remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -52,8 +55,8 @@ class GraduateExperimentRequest(proto.Message): campaign_budget_mappings: MutableSequence[CampaignBudgetMapping] validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., experiment: str = ..., @@ -66,8 +69,8 @@ class ListExperimentAsyncErrorsRequest(proto.Message): page_token: str page_size: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -79,8 +82,8 @@ class ListExperimentAsyncErrorsResponse(proto.Message): errors: MutableSequence[Status] next_page_token: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., errors: MutableSequence[Status] = ..., @@ -90,8 +93,8 @@ class ListExperimentAsyncErrorsResponse(proto.Message): class MutateExperimentResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -103,8 +106,8 @@ class MutateExperimentsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -117,8 +120,8 @@ class MutateExperimentsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateExperimentResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -128,8 +131,8 @@ class MutateExperimentsResponse(proto.Message): class PromoteExperimentMetadata(proto.Message): experiment: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., experiment: str = ... @@ -139,8 +142,8 @@ class PromoteExperimentRequest(proto.Message): resource_name: str validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -150,8 +153,8 @@ class PromoteExperimentRequest(proto.Message): class ScheduleExperimentMetadata(proto.Message): experiment: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., experiment: str = ... @@ -161,8 +164,8 @@ class ScheduleExperimentRequest(proto.Message): resource_name: str validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/extension_feed_item_service.pyi b/google-stubs/ads/googleads/v14/services/types/extension_feed_item_service.pyi index 9c5ddd804..c1d561d12 100644 --- a/google-stubs/ads/googleads/v14/services/types/extension_feed_item_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/extension_feed_item_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -12,14 +13,16 @@ from google.ads.googleads.v14.resources.types.extension_feed_item import ( ExtensionFeedItem, ) +_M = TypeVar("_M") + class ExtensionFeedItemOperation(proto.Message): update_mask: FieldMask create: ExtensionFeedItem update: ExtensionFeedItem remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -32,8 +35,8 @@ class MutateExtensionFeedItemResult(proto.Message): resource_name: str extension_feed_item: ExtensionFeedItem def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -47,8 +50,8 @@ class MutateExtensionFeedItemsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -62,8 +65,8 @@ class MutateExtensionFeedItemsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateExtensionFeedItemResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/feed_item_service.pyi b/google-stubs/ads/googleads/v14/services/types/feed_item_service.pyi index 6dad50e19..6ca8c9fe6 100644 --- a/google-stubs/ads/googleads/v14/services/types/feed_item_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/feed_item_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v14.enums.types.response_content_type import ( ) from google.ads.googleads.v14.resources.types.feed_item import FeedItem +_M = TypeVar("_M") + class FeedItemOperation(proto.Message): update_mask: FieldMask create: FeedItem update: FeedItem remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateFeedItemResult(proto.Message): resource_name: str feed_item: FeedItem def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateFeedItemsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateFeedItemsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateFeedItemResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/feed_item_set_link_service.pyi b/google-stubs/ads/googleads/v14/services/types/feed_item_set_link_service.pyi index 8fa4e92ab..0ea48adce 100644 --- a/google-stubs/ads/googleads/v14/services/types/feed_item_set_link_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/feed_item_set_link_service.pyi @@ -1,17 +1,20 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status from google.ads.googleads.v14.resources.types.feed_item_set_link import FeedItemSetLink +_M = TypeVar("_M") + class FeedItemSetLinkOperation(proto.Message): create: FeedItemSetLink remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: FeedItemSetLink = ..., @@ -21,8 +24,8 @@ class FeedItemSetLinkOperation(proto.Message): class MutateFeedItemSetLinkResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -34,8 +37,8 @@ class MutateFeedItemSetLinksRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -48,8 +51,8 @@ class MutateFeedItemSetLinksResponse(proto.Message): results: MutableSequence[MutateFeedItemSetLinkResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateFeedItemSetLinkResult] = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/feed_item_set_service.pyi b/google-stubs/ads/googleads/v14/services/types/feed_item_set_service.pyi index d2acede16..3eeccd517 100644 --- a/google-stubs/ads/googleads/v14/services/types/feed_item_set_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/feed_item_set_service.pyi @@ -1,20 +1,23 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status from google.ads.googleads.v14.resources.types.feed_item_set import FeedItemSet +_M = TypeVar("_M") + class FeedItemSetOperation(proto.Message): update_mask: FieldMask create: FeedItemSet update: FeedItemSet remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -26,8 +29,8 @@ class FeedItemSetOperation(proto.Message): class MutateFeedItemSetResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -39,8 +42,8 @@ class MutateFeedItemSetsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -53,8 +56,8 @@ class MutateFeedItemSetsResponse(proto.Message): results: MutableSequence[MutateFeedItemSetResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateFeedItemSetResult] = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/feed_item_target_service.pyi b/google-stubs/ads/googleads/v14/services/types/feed_item_target_service.pyi index 658d67077..d949c7cf9 100644 --- a/google-stubs/ads/googleads/v14/services/types/feed_item_target_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/feed_item_target_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -9,12 +10,14 @@ from google.ads.googleads.v14.enums.types.response_content_type import ( ) from google.ads.googleads.v14.resources.types.feed_item_target import FeedItemTarget +_M = TypeVar("_M") + class FeedItemTargetOperation(proto.Message): create: FeedItemTarget remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: FeedItemTarget = ..., @@ -25,8 +28,8 @@ class MutateFeedItemTargetResult(proto.Message): resource_name: str feed_item_target: FeedItemTarget def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -40,8 +43,8 @@ class MutateFeedItemTargetsRequest(proto.Message): response_content_type: ResponseContentTypeEnum.ResponseContentType validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -55,8 +58,8 @@ class MutateFeedItemTargetsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateFeedItemTargetResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/feed_mapping_service.pyi b/google-stubs/ads/googleads/v14/services/types/feed_mapping_service.pyi index 885a8376b..c5f4778cd 100644 --- a/google-stubs/ads/googleads/v14/services/types/feed_mapping_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/feed_mapping_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -9,12 +10,14 @@ from google.ads.googleads.v14.enums.types.response_content_type import ( ) from google.ads.googleads.v14.resources.types.feed_mapping import FeedMapping +_M = TypeVar("_M") + class FeedMappingOperation(proto.Message): create: FeedMapping remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: FeedMapping = ..., @@ -25,8 +28,8 @@ class MutateFeedMappingResult(proto.Message): resource_name: str feed_mapping: FeedMapping def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -40,8 +43,8 @@ class MutateFeedMappingsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -55,8 +58,8 @@ class MutateFeedMappingsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateFeedMappingResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/feed_service.pyi b/google-stubs/ads/googleads/v14/services/types/feed_service.pyi index 3594a45ae..5d01a8c17 100644 --- a/google-stubs/ads/googleads/v14/services/types/feed_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/feed_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v14.enums.types.response_content_type import ( ) from google.ads.googleads.v14.resources.types.feed import Feed +_M = TypeVar("_M") + class FeedOperation(proto.Message): update_mask: FieldMask create: Feed update: Feed remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateFeedResult(proto.Message): resource_name: str feed: Feed def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateFeedsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateFeedsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateFeedResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/geo_target_constant_service.pyi b/google-stubs/ads/googleads/v14/services/types/geo_target_constant_service.pyi index e77e7e36b..aee4919f3 100644 --- a/google-stubs/ads/googleads/v14/services/types/geo_target_constant_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/geo_target_constant_service.pyi @@ -1,12 +1,15 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.resources.types.geo_target_constant import ( GeoTargetConstant, ) +_M = TypeVar("_M") + class GeoTargetConstantSuggestion(proto.Message): locale: str reach: int @@ -14,8 +17,8 @@ class GeoTargetConstantSuggestion(proto.Message): geo_target_constant: GeoTargetConstant geo_target_constant_parents: MutableSequence[GeoTargetConstant] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., locale: str = ..., @@ -29,8 +32,8 @@ class SuggestGeoTargetConstantsRequest(proto.Message): class GeoTargets(proto.Message): geo_target_constants: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., geo_target_constants: MutableSequence[str] = ... @@ -39,8 +42,8 @@ class SuggestGeoTargetConstantsRequest(proto.Message): class LocationNames(proto.Message): names: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., names: MutableSequence[str] = ... @@ -50,8 +53,8 @@ class SuggestGeoTargetConstantsRequest(proto.Message): location_names: SuggestGeoTargetConstantsRequest.LocationNames geo_targets: SuggestGeoTargetConstantsRequest.GeoTargets def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., locale: str = ..., @@ -63,8 +66,8 @@ class SuggestGeoTargetConstantsRequest(proto.Message): class SuggestGeoTargetConstantsResponse(proto.Message): geo_target_constant_suggestions: MutableSequence[GeoTargetConstantSuggestion] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., geo_target_constant_suggestions: MutableSequence[ diff --git a/google-stubs/ads/googleads/v14/services/types/google_ads_field_service.pyi b/google-stubs/ads/googleads/v14/services/types/google_ads_field_service.pyi index 1b247b42f..cf0f0cc2a 100644 --- a/google-stubs/ads/googleads/v14/services/types/google_ads_field_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/google_ads_field_service.pyi @@ -1,15 +1,18 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.resources.types.google_ads_field import GoogleAdsField +_M = TypeVar("_M") + class GetGoogleAdsFieldRequest(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -20,8 +23,8 @@ class SearchGoogleAdsFieldsRequest(proto.Message): page_token: str page_size: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., query: str = ..., @@ -34,8 +37,8 @@ class SearchGoogleAdsFieldsResponse(proto.Message): next_page_token: str total_results_count: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[GoogleAdsField] = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/google_ads_service.pyi b/google-stubs/ads/googleads/v14/services/types/google_ads_service.pyi index 364f89e90..4f0720695 100644 --- a/google-stubs/ads/googleads/v14/services/types/google_ads_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/google_ads_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -625,6 +626,8 @@ from google.ads.googleads.v14.services.types.user_list_service import ( UserListOperation, ) +_M = TypeVar("_M") + class GoogleAdsRow(proto.Message): account_budget: AccountBudget account_budget_proposal: AccountBudgetProposal @@ -788,8 +791,8 @@ class GoogleAdsRow(proto.Message): metrics: Metrics segments: Segments def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., account_budget: AccountBudget = ..., @@ -962,8 +965,8 @@ class MutateGoogleAdsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -977,8 +980,8 @@ class MutateGoogleAdsResponse(proto.Message): partial_failure_error: Status mutate_operation_responses: MutableSequence[MutateOperationResponse] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -1062,8 +1065,8 @@ class MutateOperation(proto.Message): smart_campaign_setting_operation: SmartCampaignSettingOperation user_list_operation: UserListOperation def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad_group_ad_label_operation: AdGroupAdLabelOperation = ..., @@ -1220,8 +1223,8 @@ class MutateOperationResponse(proto.Message): smart_campaign_setting_result: MutateSmartCampaignSettingResult user_list_result: MutateUserListResult def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad_group_ad_label_result: MutateAdGroupAdLabelResult = ..., @@ -1310,8 +1313,8 @@ class SearchGoogleAdsRequest(proto.Message): return_total_results_count: bool summary_row_setting: SummaryRowSettingEnum.SummaryRowSetting def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -1330,8 +1333,8 @@ class SearchGoogleAdsResponse(proto.Message): field_mask: FieldMask summary_row: GoogleAdsRow def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[GoogleAdsRow] = ..., @@ -1346,8 +1349,8 @@ class SearchGoogleAdsStreamRequest(proto.Message): query: str summary_row_setting: SummaryRowSettingEnum.SummaryRowSetting def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -1361,8 +1364,8 @@ class SearchGoogleAdsStreamResponse(proto.Message): summary_row: GoogleAdsRow request_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[GoogleAdsRow] = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/invoice_service.pyi b/google-stubs/ads/googleads/v14/services/types/invoice_service.pyi index 6fe9b5e68..f89213853 100644 --- a/google-stubs/ads/googleads/v14/services/types/invoice_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/invoice_service.pyi @@ -1,19 +1,22 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.month_of_year import MonthOfYearEnum from google.ads.googleads.v14.resources.types.invoice import Invoice +_M = TypeVar("_M") + class ListInvoicesRequest(proto.Message): customer_id: str billing_setup: str issue_year: str issue_month: MonthOfYearEnum.MonthOfYear def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -25,8 +28,8 @@ class ListInvoicesRequest(proto.Message): class ListInvoicesResponse(proto.Message): invoices: MutableSequence[Invoice] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., invoices: MutableSequence[Invoice] = ... diff --git a/google-stubs/ads/googleads/v14/services/types/keyword_plan_ad_group_keyword_service.pyi b/google-stubs/ads/googleads/v14/services/types/keyword_plan_ad_group_keyword_service.pyi index 747524a21..558ec7662 100644 --- a/google-stubs/ads/googleads/v14/services/types/keyword_plan_ad_group_keyword_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/keyword_plan_ad_group_keyword_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -9,14 +10,16 @@ from google.ads.googleads.v14.resources.types.keyword_plan_ad_group_keyword impo KeywordPlanAdGroupKeyword, ) +_M = TypeVar("_M") + class KeywordPlanAdGroupKeywordOperation(proto.Message): update_mask: FieldMask create: KeywordPlanAdGroupKeyword update: KeywordPlanAdGroupKeyword remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -28,8 +31,8 @@ class KeywordPlanAdGroupKeywordOperation(proto.Message): class MutateKeywordPlanAdGroupKeywordResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -41,8 +44,8 @@ class MutateKeywordPlanAdGroupKeywordsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -55,8 +58,8 @@ class MutateKeywordPlanAdGroupKeywordsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateKeywordPlanAdGroupKeywordResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/keyword_plan_ad_group_service.pyi b/google-stubs/ads/googleads/v14/services/types/keyword_plan_ad_group_service.pyi index 3f795bd12..94b39b7db 100644 --- a/google-stubs/ads/googleads/v14/services/types/keyword_plan_ad_group_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/keyword_plan_ad_group_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -9,14 +10,16 @@ from google.ads.googleads.v14.resources.types.keyword_plan_ad_group import ( KeywordPlanAdGroup, ) +_M = TypeVar("_M") + class KeywordPlanAdGroupOperation(proto.Message): update_mask: FieldMask create: KeywordPlanAdGroup update: KeywordPlanAdGroup remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -28,8 +31,8 @@ class KeywordPlanAdGroupOperation(proto.Message): class MutateKeywordPlanAdGroupResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -41,8 +44,8 @@ class MutateKeywordPlanAdGroupsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -55,8 +58,8 @@ class MutateKeywordPlanAdGroupsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateKeywordPlanAdGroupResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/keyword_plan_campaign_keyword_service.pyi b/google-stubs/ads/googleads/v14/services/types/keyword_plan_campaign_keyword_service.pyi index 4ff350a88..655b204b0 100644 --- a/google-stubs/ads/googleads/v14/services/types/keyword_plan_campaign_keyword_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/keyword_plan_campaign_keyword_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -9,14 +10,16 @@ from google.ads.googleads.v14.resources.types.keyword_plan_campaign_keyword impo KeywordPlanCampaignKeyword, ) +_M = TypeVar("_M") + class KeywordPlanCampaignKeywordOperation(proto.Message): update_mask: FieldMask create: KeywordPlanCampaignKeyword update: KeywordPlanCampaignKeyword remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -28,8 +31,8 @@ class KeywordPlanCampaignKeywordOperation(proto.Message): class MutateKeywordPlanCampaignKeywordResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -41,8 +44,8 @@ class MutateKeywordPlanCampaignKeywordsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -55,8 +58,8 @@ class MutateKeywordPlanCampaignKeywordsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateKeywordPlanCampaignKeywordResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/keyword_plan_campaign_service.pyi b/google-stubs/ads/googleads/v14/services/types/keyword_plan_campaign_service.pyi index 6c45c7f36..ca4f42a3f 100644 --- a/google-stubs/ads/googleads/v14/services/types/keyword_plan_campaign_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/keyword_plan_campaign_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -9,14 +10,16 @@ from google.ads.googleads.v14.resources.types.keyword_plan_campaign import ( KeywordPlanCampaign, ) +_M = TypeVar("_M") + class KeywordPlanCampaignOperation(proto.Message): update_mask: FieldMask create: KeywordPlanCampaign update: KeywordPlanCampaign remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -28,8 +31,8 @@ class KeywordPlanCampaignOperation(proto.Message): class MutateKeywordPlanCampaignResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -41,8 +44,8 @@ class MutateKeywordPlanCampaignsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -55,8 +58,8 @@ class MutateKeywordPlanCampaignsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateKeywordPlanCampaignResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/keyword_plan_idea_service.pyi b/google-stubs/ads/googleads/v14/services/types/keyword_plan_idea_service.pyi index 3d2fc6100..7c4bf39b3 100644 --- a/google-stubs/ads/googleads/v14/services/types/keyword_plan_idea_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/keyword_plan_idea_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.criteria import KeywordInfo @@ -20,6 +21,8 @@ from google.ads.googleads.v14.enums.types.keyword_plan_network import ( KeywordPlanNetworkEnum, ) +_M = TypeVar("_M") + class AdGroupKeywordSuggestion(proto.Message): keyword_text: str suggested_keyword_text: str @@ -27,8 +30,8 @@ class AdGroupKeywordSuggestion(proto.Message): suggested_ad_group: str suggested_campaign: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., keyword_text: str = ..., @@ -42,8 +45,8 @@ class BiddableKeyword(proto.Message): keyword: KeywordInfo max_cpc_bid_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., keyword: KeywordInfo = ..., @@ -56,8 +59,8 @@ class CampaignToForecast(proto.Message): maximize_clicks_bidding_strategy: MaximizeClicksBiddingStrategy maximize_conversions_bidding_strategy: MaximizeConversionsBiddingStrategy def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., manual_cpc_bidding_strategy: ManualCpcBiddingStrategy = ..., @@ -72,8 +75,8 @@ class CampaignToForecast(proto.Message): conversion_rate: float ad_groups: MutableSequence[ForecastAdGroup] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., language_constants: MutableSequence[str] = ..., @@ -89,8 +92,8 @@ class CriterionBidModifier(proto.Message): geo_target_constant: str bid_modifier: float def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., geo_target_constant: str = ..., @@ -102,8 +105,8 @@ class ForecastAdGroup(proto.Message): biddable_keywords: MutableSequence[BiddableKeyword] negative_keywords: MutableSequence[KeywordInfo] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., max_cpc_bid_micros: int = ..., @@ -116,8 +119,8 @@ class GenerateAdGroupThemesRequest(proto.Message): keywords: MutableSequence[str] ad_groups: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -129,8 +132,8 @@ class GenerateAdGroupThemesResponse(proto.Message): ad_group_keyword_suggestions: MutableSequence[AdGroupKeywordSuggestion] unusable_ad_groups: MutableSequence[UnusableAdGroup] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad_group_keyword_suggestions: MutableSequence[AdGroupKeywordSuggestion] = ..., @@ -143,8 +146,8 @@ class GenerateKeywordForecastMetricsRequest(proto.Message): forecast_period: DateRange campaign: CampaignToForecast def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -156,8 +159,8 @@ class GenerateKeywordForecastMetricsRequest(proto.Message): class GenerateKeywordForecastMetricsResponse(proto.Message): campaign_forecast_metrics: KeywordForecastMetrics def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., campaign_forecast_metrics: KeywordForecastMetrics = ... @@ -173,8 +176,8 @@ class GenerateKeywordHistoricalMetricsRequest(proto.Message): aggregate_metrics: KeywordPlanAggregateMetrics historical_metrics_options: HistoricalMetricsOptions def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -191,8 +194,8 @@ class GenerateKeywordHistoricalMetricsResponse(proto.Message): results: MutableSequence[GenerateKeywordHistoricalMetricsResult] aggregate_metric_results: KeywordPlanAggregateMetricResults def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[GenerateKeywordHistoricalMetricsResult] = ..., @@ -204,8 +207,8 @@ class GenerateKeywordHistoricalMetricsResult(proto.Message): close_variants: MutableSequence[str] keyword_metrics: KeywordPlanHistoricalMetrics def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., text: str = ..., @@ -219,8 +222,8 @@ class GenerateKeywordIdeaResponse(proto.Message): next_page_token: str total_size: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[GenerateKeywordIdeaResult] = ..., @@ -235,8 +238,8 @@ class GenerateKeywordIdeaResult(proto.Message): keyword_annotations: KeywordAnnotations close_variants: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., text: str = ..., @@ -263,8 +266,8 @@ class GenerateKeywordIdeasRequest(proto.Message): url_seed: UrlSeed site_seed: SiteSeed def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -289,8 +292,8 @@ class KeywordAndUrlSeed(proto.Message): url: str keywords: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., url: str = ..., @@ -307,8 +310,8 @@ class KeywordForecastMetrics(proto.Message): conversion_rate: float average_cpa_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., impressions: float = ..., @@ -324,8 +327,8 @@ class KeywordForecastMetrics(proto.Message): class KeywordSeed(proto.Message): keywords: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., keywords: MutableSequence[str] = ... @@ -335,8 +338,8 @@ class ManualCpcBiddingStrategy(proto.Message): daily_budget_micros: int max_cpc_bid_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., daily_budget_micros: int = ..., @@ -347,8 +350,8 @@ class MaximizeClicksBiddingStrategy(proto.Message): daily_target_spend_micros: int max_cpc_bid_ceiling_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., daily_target_spend_micros: int = ..., @@ -358,8 +361,8 @@ class MaximizeClicksBiddingStrategy(proto.Message): class MaximizeConversionsBiddingStrategy(proto.Message): daily_target_spend_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., daily_target_spend_micros: int = ... @@ -368,8 +371,8 @@ class MaximizeConversionsBiddingStrategy(proto.Message): class SiteSeed(proto.Message): site: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., site: str = ... @@ -379,8 +382,8 @@ class UnusableAdGroup(proto.Message): ad_group: str campaign: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad_group: str = ..., @@ -390,8 +393,8 @@ class UnusableAdGroup(proto.Message): class UrlSeed(proto.Message): url: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., url: str = ... diff --git a/google-stubs/ads/googleads/v14/services/types/keyword_plan_service.pyi b/google-stubs/ads/googleads/v14/services/types/keyword_plan_service.pyi index 006070c4e..06986f18b 100644 --- a/google-stubs/ads/googleads/v14/services/types/keyword_plan_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/keyword_plan_service.pyi @@ -1,20 +1,23 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status from google.ads.googleads.v14.resources.types.keyword_plan import KeywordPlan +_M = TypeVar("_M") + class KeywordPlanOperation(proto.Message): update_mask: FieldMask create: KeywordPlan update: KeywordPlan remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -29,8 +32,8 @@ class MutateKeywordPlansRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -43,8 +46,8 @@ class MutateKeywordPlansResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateKeywordPlansResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -54,8 +57,8 @@ class MutateKeywordPlansResponse(proto.Message): class MutateKeywordPlansResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v14/services/types/keyword_theme_constant_service.pyi b/google-stubs/ads/googleads/v14/services/types/keyword_theme_constant_service.pyi index ab39571f3..e3d3bf977 100644 --- a/google-stubs/ads/googleads/v14/services/types/keyword_theme_constant_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/keyword_theme_constant_service.pyi @@ -1,19 +1,22 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.resources.types.keyword_theme_constant import ( KeywordThemeConstant, ) +_M = TypeVar("_M") + class SuggestKeywordThemeConstantsRequest(proto.Message): query_text: str country_code: str language_code: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., query_text: str = ..., @@ -24,8 +27,8 @@ class SuggestKeywordThemeConstantsRequest(proto.Message): class SuggestKeywordThemeConstantsResponse(proto.Message): keyword_theme_constants: MutableSequence[KeywordThemeConstant] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., keyword_theme_constants: MutableSequence[KeywordThemeConstant] = ... diff --git a/google-stubs/ads/googleads/v14/services/types/label_service.pyi b/google-stubs/ads/googleads/v14/services/types/label_service.pyi index 644fadac0..bbb3303b1 100644 --- a/google-stubs/ads/googleads/v14/services/types/label_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/label_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v14.enums.types.response_content_type import ( ) from google.ads.googleads.v14.resources.types.label import Label +_M = TypeVar("_M") + class LabelOperation(proto.Message): update_mask: FieldMask create: Label update: Label remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateLabelResult(proto.Message): resource_name: str label: Label def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateLabelsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateLabelsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateLabelResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/media_file_service.pyi b/google-stubs/ads/googleads/v14/services/types/media_file_service.pyi index aea5d2f62..a77623895 100644 --- a/google-stubs/ads/googleads/v14/services/types/media_file_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/media_file_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -9,11 +10,13 @@ from google.ads.googleads.v14.enums.types.response_content_type import ( ) from google.ads.googleads.v14.resources.types.media_file import MediaFile +_M = TypeVar("_M") + class MediaFileOperation(proto.Message): create: MediaFile def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: MediaFile = ... @@ -23,8 +26,8 @@ class MutateMediaFileResult(proto.Message): resource_name: str media_file: MediaFile def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -38,8 +41,8 @@ class MutateMediaFilesRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -53,8 +56,8 @@ class MutateMediaFilesResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateMediaFileResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/merchant_center_link_service.pyi b/google-stubs/ads/googleads/v14/services/types/merchant_center_link_service.pyi index 22080b2a2..59c019582 100644 --- a/google-stubs/ads/googleads/v14/services/types/merchant_center_link_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/merchant_center_link_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask @@ -8,11 +9,13 @@ from google.ads.googleads.v14.resources.types.merchant_center_link import ( MerchantCenterLink, ) +_M = TypeVar("_M") + class GetMerchantCenterLinkRequest(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -21,8 +24,8 @@ class GetMerchantCenterLinkRequest(proto.Message): class ListMerchantCenterLinksRequest(proto.Message): customer_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ... @@ -31,8 +34,8 @@ class ListMerchantCenterLinksRequest(proto.Message): class ListMerchantCenterLinksResponse(proto.Message): merchant_center_links: MutableSequence[MerchantCenterLink] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., merchant_center_links: MutableSequence[MerchantCenterLink] = ... @@ -43,8 +46,8 @@ class MerchantCenterLinkOperation(proto.Message): update: MerchantCenterLink remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -57,8 +60,8 @@ class MutateMerchantCenterLinkRequest(proto.Message): operation: MerchantCenterLinkOperation validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -69,8 +72,8 @@ class MutateMerchantCenterLinkRequest(proto.Message): class MutateMerchantCenterLinkResponse(proto.Message): result: MutateMerchantCenterLinkResult def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., result: MutateMerchantCenterLinkResult = ... @@ -79,8 +82,8 @@ class MutateMerchantCenterLinkResponse(proto.Message): class MutateMerchantCenterLinkResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v14/services/types/offline_user_data_job_service.pyi b/google-stubs/ads/googleads/v14/services/types/offline_user_data_job_service.pyi index 918dfd23c..2b364c20d 100644 --- a/google-stubs/ads/googleads/v14/services/types/offline_user_data_job_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/offline_user_data_job_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -9,6 +10,8 @@ from google.ads.googleads.v14.resources.types.offline_user_data_job import ( OfflineUserDataJob, ) +_M = TypeVar("_M") + class AddOfflineUserDataJobOperationsRequest(proto.Message): resource_name: str enable_partial_failure: bool @@ -16,8 +19,8 @@ class AddOfflineUserDataJobOperationsRequest(proto.Message): operations: MutableSequence[OfflineUserDataJobOperation] validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -31,8 +34,8 @@ class AddOfflineUserDataJobOperationsResponse(proto.Message): partial_failure_error: Status warning: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -45,8 +48,8 @@ class CreateOfflineUserDataJobRequest(proto.Message): validate_only: bool enable_match_rate_range_preview: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -58,8 +61,8 @@ class CreateOfflineUserDataJobRequest(proto.Message): class CreateOfflineUserDataJobResponse(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -70,8 +73,8 @@ class OfflineUserDataJobOperation(proto.Message): remove: UserData remove_all: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: UserData = ..., @@ -83,8 +86,8 @@ class RunOfflineUserDataJobRequest(proto.Message): resource_name: str validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/payments_account_service.pyi b/google-stubs/ads/googleads/v14/services/types/payments_account_service.pyi index 12dcdd060..e82d70f9d 100644 --- a/google-stubs/ads/googleads/v14/services/types/payments_account_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/payments_account_service.pyi @@ -1,15 +1,18 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.resources.types.payments_account import PaymentsAccount +_M = TypeVar("_M") + class ListPaymentsAccountsRequest(proto.Message): customer_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ... @@ -18,8 +21,8 @@ class ListPaymentsAccountsRequest(proto.Message): class ListPaymentsAccountsResponse(proto.Message): payments_accounts: MutableSequence[PaymentsAccount] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., payments_accounts: MutableSequence[PaymentsAccount] = ... diff --git a/google-stubs/ads/googleads/v14/services/types/product_link_service.pyi b/google-stubs/ads/googleads/v14/services/types/product_link_service.pyi index e685fc281..cd311a3a8 100644 --- a/google-stubs/ads/googleads/v14/services/types/product_link_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/product_link_service.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.resources.types.product_link import ProductLink +_M = TypeVar("_M") + class CreateProductLinkRequest(proto.Message): customer_id: str product_link: ProductLink def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -19,8 +23,8 @@ class CreateProductLinkRequest(proto.Message): class CreateProductLinkResponse(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -31,8 +35,8 @@ class RemoveProductLinkRequest(proto.Message): resource_name: str validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -43,8 +47,8 @@ class RemoveProductLinkRequest(proto.Message): class RemoveProductLinkResponse(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v14/services/types/reach_plan_service.pyi b/google-stubs/ads/googleads/v14/services/types/reach_plan_service.pyi index 82e69082e..68c5697e8 100644 --- a/google-stubs/ads/googleads/v14/services/types/reach_plan_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/reach_plan_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.criteria import ( @@ -17,11 +18,13 @@ from google.ads.googleads.v14.enums.types.reach_plan_age_range import ( ) from google.ads.googleads.v14.enums.types.reach_plan_network import ReachPlanNetworkEnum +_M = TypeVar("_M") + class AdvancedProductTargeting(proto.Message): youtube_select_settings: YouTubeSelectSettings def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., youtube_select_settings: YouTubeSelectSettings = ..., @@ -30,8 +33,8 @@ class AdvancedProductTargeting(proto.Message): class AudienceTargeting(proto.Message): user_interest: MutableSequence[UserInterestInfo] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., user_interest: MutableSequence[UserInterestInfo] = ..., @@ -41,8 +44,8 @@ class CampaignDuration(proto.Message): duration_in_days: int date_range: DateRange def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., duration_in_days: int = ..., @@ -56,8 +59,8 @@ class EffectiveFrequencyBreakdown(proto.Message): effective_coview_reach: int on_target_effective_coview_reach: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., effective_frequency: int = ..., @@ -70,8 +73,8 @@ class EffectiveFrequencyBreakdown(proto.Message): class EffectiveFrequencyLimit(proto.Message): effective_frequency_breakdown_limit: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., effective_frequency_breakdown_limit: int = ..., @@ -89,8 +92,8 @@ class Forecast(proto.Message): on_target_coview_impressions: int total_coview_impressions: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., on_target_reach: int = ..., @@ -110,8 +113,8 @@ class Forecast(proto.Message): class ForecastMetricOptions(proto.Message): include_coview: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., include_coview: bool = ..., @@ -121,8 +124,8 @@ class FrequencyCap(proto.Message): impressions: int time_unit: FrequencyCapTimeUnitEnum.FrequencyCapTimeUnit def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., impressions: int = ..., @@ -142,8 +145,8 @@ class GenerateReachForecastRequest(proto.Message): forecast_metric_options: ForecastMetricOptions customer_reach_group: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -163,8 +166,8 @@ class GenerateReachForecastResponse(proto.Message): on_target_audience_metrics: OnTargetAudienceMetrics reach_curve: ReachCurve def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., on_target_audience_metrics: OnTargetAudienceMetrics = ..., @@ -173,8 +176,8 @@ class GenerateReachForecastResponse(proto.Message): class ListPlannableLocationsRequest(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -183,8 +186,8 @@ class ListPlannableLocationsRequest(proto.Message): class ListPlannableLocationsResponse(proto.Message): plannable_locations: MutableSequence[PlannableLocation] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., plannable_locations: MutableSequence[PlannableLocation] = ..., @@ -193,8 +196,8 @@ class ListPlannableLocationsResponse(proto.Message): class ListPlannableProductsRequest(proto.Message): plannable_location_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., plannable_location_id: str = ..., @@ -203,8 +206,8 @@ class ListPlannableProductsRequest(proto.Message): class ListPlannableProductsResponse(proto.Message): product_metadata: MutableSequence[ProductMetadata] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., product_metadata: MutableSequence[ProductMetadata] = ..., @@ -214,8 +217,8 @@ class OnTargetAudienceMetrics(proto.Message): youtube_audience_size: int census_audience_size: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., youtube_audience_size: int = ..., @@ -229,8 +232,8 @@ class PlannableLocation(proto.Message): country_code: str location_type: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., id: str = ..., @@ -247,8 +250,8 @@ class PlannableTargeting(proto.Message): networks: MutableSequence[ReachPlanNetworkEnum.ReachPlanNetwork] youtube_select_lineups: MutableSequence[YouTubeSelectLineUp] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., age_ranges: MutableSequence[ReachPlanAgeRangeEnum.ReachPlanAgeRange] = ..., @@ -263,8 +266,8 @@ class PlannedProduct(proto.Message): budget_micros: int advanced_product_targeting: AdvancedProductTargeting def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., plannable_product_code: str = ..., @@ -283,8 +286,8 @@ class PlannedProductForecast(proto.Message): on_target_coview_impressions: int total_coview_impressions: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., on_target_reach: int = ..., @@ -303,8 +306,8 @@ class PlannedProductReachForecast(proto.Message): cost_micros: int planned_product_forecast: PlannedProductForecast def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., plannable_product_code: str = ..., @@ -317,8 +320,8 @@ class ProductMetadata(proto.Message): plannable_product_name: str plannable_targeting: PlannableTargeting def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., plannable_product_code: str = ..., @@ -329,8 +332,8 @@ class ProductMetadata(proto.Message): class ReachCurve(proto.Message): reach_forecasts: MutableSequence[ReachForecast] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., reach_forecasts: MutableSequence[ReachForecast] = ..., @@ -341,8 +344,8 @@ class ReachForecast(proto.Message): forecast: Forecast planned_product_reach_forecasts: MutableSequence[PlannedProductReachForecast] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., cost_micros: int = ..., @@ -361,8 +364,8 @@ class Targeting(proto.Message): network: ReachPlanNetworkEnum.ReachPlanNetwork audience_targeting: AudienceTargeting def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., plannable_location_id: str = ..., @@ -378,8 +381,8 @@ class YouTubeSelectLineUp(proto.Message): lineup_id: int lineup_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., lineup_id: int = ..., @@ -389,8 +392,8 @@ class YouTubeSelectLineUp(proto.Message): class YouTubeSelectSettings(proto.Message): lineup_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., lineup_id: int = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/recommendation_service.pyi b/google-stubs/ads/googleads/v14/services/types/recommendation_service.pyi index 4a5174cfc..12a881b64 100644 --- a/google-stubs/ads/googleads/v14/services/types/recommendation_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/recommendation_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -13,6 +14,8 @@ from google.ads.googleads.v14.enums.types.keyword_match_type import KeywordMatch from google.ads.googleads.v14.resources.types.ad import Ad from google.ads.googleads.v14.resources.types.asset import Asset +_M = TypeVar("_M") + class ApplyRecommendationOperation(proto.Message): class AdAssetApplyParameters(proto.Message): class ApplyScope(proto.Enum): @@ -24,8 +27,8 @@ class ApplyRecommendationOperation(proto.Message): existing_assets: MutableSequence[str] scope: ApplyRecommendationOperation.AdAssetApplyParameters.ApplyScope def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., new_assets: MutableSequence[Asset] = ..., @@ -36,8 +39,8 @@ class ApplyRecommendationOperation(proto.Message): class CallAssetParameters(proto.Message): ad_asset_apply_parameters: ApplyRecommendationOperation.AdAssetApplyParameters def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad_asset_apply_parameters: ApplyRecommendationOperation.AdAssetApplyParameters = ... @@ -46,8 +49,8 @@ class ApplyRecommendationOperation(proto.Message): class CallExtensionParameters(proto.Message): call_extensions: MutableSequence[CallFeedItem] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., call_extensions: MutableSequence[CallFeedItem] = ... @@ -56,8 +59,8 @@ class ApplyRecommendationOperation(proto.Message): class CalloutAssetParameters(proto.Message): ad_asset_apply_parameters: ApplyRecommendationOperation.AdAssetApplyParameters def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad_asset_apply_parameters: ApplyRecommendationOperation.AdAssetApplyParameters = ... @@ -66,8 +69,8 @@ class ApplyRecommendationOperation(proto.Message): class CalloutExtensionParameters(proto.Message): callout_extensions: MutableSequence[CalloutFeedItem] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., callout_extensions: MutableSequence[CalloutFeedItem] = ... @@ -76,8 +79,8 @@ class ApplyRecommendationOperation(proto.Message): class CampaignBudgetParameters(proto.Message): new_budget_amount_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., new_budget_amount_micros: int = ... @@ -87,8 +90,8 @@ class ApplyRecommendationOperation(proto.Message): target_roas: float campaign_budget_amount_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_roas: float = ..., @@ -100,8 +103,8 @@ class ApplyRecommendationOperation(proto.Message): match_type: KeywordMatchTypeEnum.KeywordMatchType cpc_bid_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad_group: str = ..., @@ -112,8 +115,8 @@ class ApplyRecommendationOperation(proto.Message): class LowerTargetRoasParameters(proto.Message): target_roas_multiplier: float def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_roas_multiplier: float = ... @@ -122,8 +125,8 @@ class ApplyRecommendationOperation(proto.Message): class MoveUnusedBudgetParameters(proto.Message): budget_micros_to_move: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., budget_micros_to_move: int = ... @@ -132,8 +135,8 @@ class ApplyRecommendationOperation(proto.Message): class RaiseTargetCpaBidTooLowParameters(proto.Message): target_multiplier: float def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_multiplier: float = ... @@ -142,8 +145,8 @@ class ApplyRecommendationOperation(proto.Message): class RaiseTargetCpaParameters(proto.Message): target_cpa_multiplier: float def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_cpa_multiplier: float = ... @@ -152,8 +155,8 @@ class ApplyRecommendationOperation(proto.Message): class ResponsiveSearchAdAssetParameters(proto.Message): updated_ad: Ad def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., updated_ad: Ad = ... @@ -162,8 +165,8 @@ class ApplyRecommendationOperation(proto.Message): class ResponsiveSearchAdImproveAdStrengthParameters(proto.Message): updated_ad: Ad def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., updated_ad: Ad = ... @@ -172,8 +175,8 @@ class ApplyRecommendationOperation(proto.Message): class ResponsiveSearchAdParameters(proto.Message): ad: Ad def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad: Ad = ... @@ -182,8 +185,8 @@ class ApplyRecommendationOperation(proto.Message): class SitelinkAssetParameters(proto.Message): ad_asset_apply_parameters: ApplyRecommendationOperation.AdAssetApplyParameters def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad_asset_apply_parameters: ApplyRecommendationOperation.AdAssetApplyParameters = ... @@ -192,8 +195,8 @@ class ApplyRecommendationOperation(proto.Message): class SitelinkExtensionParameters(proto.Message): sitelink_extensions: MutableSequence[SitelinkFeedItem] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., sitelink_extensions: MutableSequence[SitelinkFeedItem] = ... @@ -203,8 +206,8 @@ class ApplyRecommendationOperation(proto.Message): target_cpa_micros: int new_campaign_budget_amount_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_cpa_micros: int = ..., @@ -215,8 +218,8 @@ class ApplyRecommendationOperation(proto.Message): target_roas: float new_campaign_budget_amount_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_roas: float = ..., @@ -226,8 +229,8 @@ class ApplyRecommendationOperation(proto.Message): class TextAdParameters(proto.Message): ad: Ad def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad: Ad = ... @@ -236,8 +239,8 @@ class ApplyRecommendationOperation(proto.Message): class UseBroadMatchKeywordParameters(proto.Message): new_budget_amount_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., new_budget_amount_micros: int = ... @@ -264,8 +267,8 @@ class ApplyRecommendationOperation(proto.Message): raise_target_cpa: ApplyRecommendationOperation.RaiseTargetCpaParameters lower_target_roas: ApplyRecommendationOperation.LowerTargetRoasParameters def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -296,8 +299,8 @@ class ApplyRecommendationRequest(proto.Message): operations: MutableSequence[ApplyRecommendationOperation] partial_failure: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -309,8 +312,8 @@ class ApplyRecommendationResponse(proto.Message): results: MutableSequence[ApplyRecommendationResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[ApplyRecommendationResult] = ..., @@ -320,8 +323,8 @@ class ApplyRecommendationResponse(proto.Message): class ApplyRecommendationResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -331,8 +334,8 @@ class DismissRecommendationRequest(proto.Message): class DismissRecommendationOperation(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -343,8 +346,8 @@ class DismissRecommendationRequest(proto.Message): ] partial_failure: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -358,8 +361,8 @@ class DismissRecommendationResponse(proto.Message): class DismissRecommendationResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -367,8 +370,8 @@ class DismissRecommendationResponse(proto.Message): results: MutableSequence[DismissRecommendationResponse.DismissRecommendationResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[ diff --git a/google-stubs/ads/googleads/v14/services/types/remarketing_action_service.pyi b/google-stubs/ads/googleads/v14/services/types/remarketing_action_service.pyi index 376f4672e..dd92d678f 100644 --- a/google-stubs/ads/googleads/v14/services/types/remarketing_action_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/remarketing_action_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -9,11 +10,13 @@ from google.ads.googleads.v14.resources.types.remarketing_action import ( RemarketingAction, ) +_M = TypeVar("_M") + class MutateRemarketingActionResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -25,8 +28,8 @@ class MutateRemarketingActionsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -39,8 +42,8 @@ class MutateRemarketingActionsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateRemarketingActionResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -52,8 +55,8 @@ class RemarketingActionOperation(proto.Message): create: RemarketingAction update: RemarketingAction def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/shared_criterion_service.pyi b/google-stubs/ads/googleads/v14/services/types/shared_criterion_service.pyi index 9a2db403c..c8d07e384 100644 --- a/google-stubs/ads/googleads/v14/services/types/shared_criterion_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/shared_criterion_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -9,6 +10,8 @@ from google.ads.googleads.v14.enums.types.response_content_type import ( ) from google.ads.googleads.v14.resources.types.shared_criterion import SharedCriterion +_M = TypeVar("_M") + class MutateSharedCriteriaRequest(proto.Message): customer_id: str operations: MutableSequence[SharedCriterionOperation] @@ -16,8 +19,8 @@ class MutateSharedCriteriaRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -31,8 +34,8 @@ class MutateSharedCriteriaResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateSharedCriterionResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -43,8 +46,8 @@ class MutateSharedCriterionResult(proto.Message): resource_name: str shared_criterion: SharedCriterion def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -55,8 +58,8 @@ class SharedCriterionOperation(proto.Message): create: SharedCriterion remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: SharedCriterion = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/shared_set_service.pyi b/google-stubs/ads/googleads/v14/services/types/shared_set_service.pyi index 7f2fb2a1d..47919b391 100644 --- a/google-stubs/ads/googleads/v14/services/types/shared_set_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/shared_set_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,12 +11,14 @@ from google.ads.googleads.v14.enums.types.response_content_type import ( ) from google.ads.googleads.v14.resources.types.shared_set import SharedSet +_M = TypeVar("_M") + class MutateSharedSetResult(proto.Message): resource_name: str shared_set: SharedSet def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -29,8 +32,8 @@ class MutateSharedSetsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -44,8 +47,8 @@ class MutateSharedSetsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateSharedSetResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -58,8 +61,8 @@ class SharedSetOperation(proto.Message): update: SharedSet remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/smart_campaign_setting_service.pyi b/google-stubs/ads/googleads/v14/services/types/smart_campaign_setting_service.pyi index 279758ecc..535081c82 100644 --- a/google-stubs/ads/googleads/v14/services/types/smart_campaign_setting_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/smart_campaign_setting_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -18,11 +19,13 @@ from google.ads.googleads.v14.resources.types.smart_campaign_setting import ( SmartCampaignSetting, ) +_M = TypeVar("_M") + class GetSmartCampaignStatusRequest(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -36,8 +39,8 @@ class GetSmartCampaignStatusResponse(proto.Message): removed_details: SmartCampaignRemovedDetails ended_details: SmartCampaignEndedDetails def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., smart_campaign_status: SmartCampaignStatusEnum.SmartCampaignStatus = ..., @@ -52,8 +55,8 @@ class MutateSmartCampaignSettingResult(proto.Message): resource_name: str smart_campaign_setting: SmartCampaignSetting def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -67,8 +70,8 @@ class MutateSmartCampaignSettingsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -82,8 +85,8 @@ class MutateSmartCampaignSettingsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateSmartCampaignSettingResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -94,8 +97,8 @@ class SmartCampaignEligibleDetails(proto.Message): last_impression_date_time: str end_date_time: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., last_impression_date_time: str = ..., @@ -105,8 +108,8 @@ class SmartCampaignEligibleDetails(proto.Message): class SmartCampaignEndedDetails(proto.Message): end_date_time: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., end_date_time: str = ... @@ -115,8 +118,8 @@ class SmartCampaignEndedDetails(proto.Message): class SmartCampaignNotEligibleDetails(proto.Message): not_eligible_reason: SmartCampaignNotEligibleReasonEnum.SmartCampaignNotEligibleReason def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., not_eligible_reason: SmartCampaignNotEligibleReasonEnum.SmartCampaignNotEligibleReason = ... @@ -125,8 +128,8 @@ class SmartCampaignNotEligibleDetails(proto.Message): class SmartCampaignPausedDetails(proto.Message): paused_date_time: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., paused_date_time: str = ... @@ -135,8 +138,8 @@ class SmartCampaignPausedDetails(proto.Message): class SmartCampaignRemovedDetails(proto.Message): removed_date_time: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., removed_date_time: str = ... @@ -146,8 +149,8 @@ class SmartCampaignSettingOperation(proto.Message): update: SmartCampaignSetting update_mask: FieldMask def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update: SmartCampaignSetting = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/smart_campaign_suggest_service.pyi b/google-stubs/ads/googleads/v14/services/types/smart_campaign_suggest_service.pyi index 059e5ce6e..b0d188c9e 100644 --- a/google-stubs/ads/googleads/v14/services/types/smart_campaign_suggest_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/smart_campaign_suggest_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.ad_type_infos import SmartCampaignAdInfo @@ -14,12 +15,14 @@ from google.ads.googleads.v14.resources.types.keyword_theme_constant import ( KeywordThemeConstant, ) +_M = TypeVar("_M") + class SmartCampaignSuggestionInfo(proto.Message): class BusinessContext(proto.Message): business_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., business_name: str = ... @@ -28,8 +31,8 @@ class SmartCampaignSuggestionInfo(proto.Message): class LocationList(proto.Message): locations: MutableSequence[LocationInfo] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., locations: MutableSequence[LocationInfo] = ... @@ -43,8 +46,8 @@ class SmartCampaignSuggestionInfo(proto.Message): location_list: SmartCampaignSuggestionInfo.LocationList proximity: ProximityInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., final_url: str = ..., @@ -61,8 +64,8 @@ class SuggestKeywordThemesRequest(proto.Message): customer_id: str suggestion_info: SmartCampaignSuggestionInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -74,8 +77,8 @@ class SuggestKeywordThemesResponse(proto.Message): keyword_theme_constant: KeywordThemeConstant free_form_keyword_theme: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., keyword_theme_constant: KeywordThemeConstant = ..., @@ -83,8 +86,8 @@ class SuggestKeywordThemesResponse(proto.Message): ) -> None: ... keyword_themes: MutableSequence[SuggestKeywordThemesResponse.KeywordTheme] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., keyword_themes: MutableSequence[SuggestKeywordThemesResponse.KeywordTheme] = ... @@ -94,8 +97,8 @@ class SuggestSmartCampaignAdRequest(proto.Message): customer_id: str suggestion_info: SmartCampaignSuggestionInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -105,8 +108,8 @@ class SuggestSmartCampaignAdRequest(proto.Message): class SuggestSmartCampaignAdResponse(proto.Message): ad_info: SmartCampaignAdInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad_info: SmartCampaignAdInfo = ... @@ -117,8 +120,8 @@ class SuggestSmartCampaignBudgetOptionsRequest(proto.Message): campaign: str suggestion_info: SmartCampaignSuggestionInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -131,8 +134,8 @@ class SuggestSmartCampaignBudgetOptionsResponse(proto.Message): daily_amount_micros: int metrics: SuggestSmartCampaignBudgetOptionsResponse.Metrics def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., daily_amount_micros: int = ..., @@ -143,8 +146,8 @@ class SuggestSmartCampaignBudgetOptionsResponse(proto.Message): min_daily_clicks: int max_daily_clicks: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., min_daily_clicks: int = ..., @@ -154,8 +157,8 @@ class SuggestSmartCampaignBudgetOptionsResponse(proto.Message): recommended: SuggestSmartCampaignBudgetOptionsResponse.BudgetOption high: SuggestSmartCampaignBudgetOptionsResponse.BudgetOption def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., low: SuggestSmartCampaignBudgetOptionsResponse.BudgetOption = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/third_party_app_analytics_link_service.pyi b/google-stubs/ads/googleads/v14/services/types/third_party_app_analytics_link_service.pyi index 8c236044e..db1aef4ca 100644 --- a/google-stubs/ads/googleads/v14/services/types/third_party_app_analytics_link_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/third_party_app_analytics_link_service.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class RegenerateShareableLinkIdRequest(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -14,8 +18,8 @@ class RegenerateShareableLinkIdRequest(proto.Message): class RegenerateShareableLinkIdResponse(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v14/services/types/travel_asset_suggestion_service.pyi b/google-stubs/ads/googleads/v14/services/types/travel_asset_suggestion_service.pyi index ce7e10399..80dfcf770 100644 --- a/google-stubs/ads/googleads/v14/services/types/travel_asset_suggestion_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/travel_asset_suggestion_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.enums.types.asset_field_type import AssetFieldTypeEnum @@ -11,6 +12,8 @@ from google.ads.googleads.v14.enums.types.hotel_asset_suggestion_status import ( HotelAssetSuggestionStatusEnum, ) +_M = TypeVar("_M") + class HotelAssetSuggestion(proto.Message): place_id: str final_url: str @@ -20,8 +23,8 @@ class HotelAssetSuggestion(proto.Message): image_assets: MutableSequence[HotelImageAsset] status: HotelAssetSuggestionStatusEnum.HotelAssetSuggestionStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., place_id: str = ..., @@ -37,8 +40,8 @@ class HotelImageAsset(proto.Message): uri: str asset_field_type: AssetFieldTypeEnum.AssetFieldType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., uri: str = ..., @@ -49,8 +52,8 @@ class HotelTextAsset(proto.Message): text: str asset_field_type: AssetFieldTypeEnum.AssetFieldType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., text: str = ..., @@ -62,8 +65,8 @@ class SuggestTravelAssetsRequest(proto.Message): language_option: str place_ids: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -74,8 +77,8 @@ class SuggestTravelAssetsRequest(proto.Message): class SuggestTravelAssetsResponse(proto.Message): hotel_asset_suggestions: MutableSequence[HotelAssetSuggestion] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., hotel_asset_suggestions: MutableSequence[HotelAssetSuggestion] = ... diff --git a/google-stubs/ads/googleads/v14/services/types/user_data_service.pyi b/google-stubs/ads/googleads/v14/services/types/user_data_service.pyi index c179eb91c..fad35c3f5 100644 --- a/google-stubs/ads/googleads/v14/services/types/user_data_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/user_data_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v14.common.types.offline_user_data import ( @@ -8,13 +9,15 @@ from google.ads.googleads.v14.common.types.offline_user_data import ( UserData, ) +_M = TypeVar("_M") + class UploadUserDataRequest(proto.Message): customer_id: str operations: MutableSequence[UserDataOperation] customer_match_user_list_metadata: CustomerMatchUserListMetadata def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -26,8 +29,8 @@ class UploadUserDataResponse(proto.Message): upload_date_time: str received_operations_count: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., upload_date_time: str = ..., @@ -38,8 +41,8 @@ class UserDataOperation(proto.Message): create: UserData remove: UserData def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: UserData = ..., diff --git a/google-stubs/ads/googleads/v14/services/types/user_list_service.pyi b/google-stubs/ads/googleads/v14/services/types/user_list_service.pyi index ffa59e278..37c534bb7 100644 --- a/google-stubs/ads/googleads/v14/services/types/user_list_service.pyi +++ b/google-stubs/ads/googleads/v14/services/types/user_list_service.pyi @@ -1,17 +1,20 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status from google.ads.googleads.v14.resources.types.user_list import UserList +_M = TypeVar("_M") + class MutateUserListResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -23,8 +26,8 @@ class MutateUserListsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -37,8 +40,8 @@ class MutateUserListsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateUserListResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -51,8 +54,8 @@ class UserListOperation(proto.Message): update: UserList remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., diff --git a/google-stubs/ads/googleads/v15/common/types/ad_asset.pyi b/google-stubs/ads/googleads/v15/common/types/ad_asset.pyi index c4d1fba76..6bdd17a8c 100644 --- a/google-stubs/ads/googleads/v15/common/types/ad_asset.pyi +++ b/google-stubs/ads/googleads/v15/common/types/ad_asset.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.asset_policy import AdAssetPolicySummary @@ -10,11 +12,13 @@ from google.ads.googleads.v15.enums.types.served_asset_field_type import ( ServedAssetFieldTypeEnum, ) +_M = TypeVar("_M") + class AdCallToActionAsset(proto.Message): asset: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., asset: str = ... @@ -23,8 +27,8 @@ class AdCallToActionAsset(proto.Message): class AdDiscoveryCarouselCardAsset(proto.Message): asset: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., asset: str = ... @@ -33,8 +37,8 @@ class AdDiscoveryCarouselCardAsset(proto.Message): class AdImageAsset(proto.Message): asset: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., asset: str = ... @@ -43,8 +47,8 @@ class AdImageAsset(proto.Message): class AdMediaBundleAsset(proto.Message): asset: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., asset: str = ... @@ -56,8 +60,8 @@ class AdTextAsset(proto.Message): asset_performance_label: AssetPerformanceLabelEnum.AssetPerformanceLabel policy_summary_info: AdAssetPolicySummary def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., text: str = ..., @@ -69,8 +73,8 @@ class AdTextAsset(proto.Message): class AdVideoAsset(proto.Message): asset: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., asset: str = ... diff --git a/google-stubs/ads/googleads/v15/common/types/ad_type_infos.pyi b/google-stubs/ads/googleads/v15/common/types/ad_type_infos.pyi index beb4b2b05..38d21d3bb 100644 --- a/google-stubs/ads/googleads/v15/common/types/ad_type_infos.pyi +++ b/google-stubs/ads/googleads/v15/common/types/ad_type_infos.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.ad_asset import ( @@ -26,6 +27,8 @@ from google.ads.googleads.v15.enums.types.legacy_app_install_ad_app_store import from google.ads.googleads.v15.enums.types.mime_type import MimeTypeEnum from google.ads.googleads.v15.enums.types.video_thumbnail import VideoThumbnailEnum +_M = TypeVar("_M") + class AppAdInfo(proto.Message): mandatory_ad_text: AdTextAsset headlines: MutableSequence[AdTextAsset] @@ -34,8 +37,8 @@ class AppAdInfo(proto.Message): youtube_videos: MutableSequence[AdVideoAsset] html5_media_bundles: MutableSequence[AdMediaBundleAsset] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., mandatory_ad_text: AdTextAsset = ..., @@ -52,8 +55,8 @@ class AppEngagementAdInfo(proto.Message): images: MutableSequence[AdImageAsset] videos: MutableSequence[AdVideoAsset] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., headlines: MutableSequence[AdTextAsset] = ..., @@ -68,8 +71,8 @@ class AppPreRegistrationAdInfo(proto.Message): images: MutableSequence[AdImageAsset] youtube_videos: MutableSequence[AdVideoAsset] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., headlines: MutableSequence[AdTextAsset] = ..., @@ -94,8 +97,8 @@ class CallAdInfo(proto.Message): path1: str path2: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., country_code: str = ..., @@ -122,8 +125,8 @@ class DiscoveryCarouselAdInfo(proto.Message): call_to_action_text: str carousel_cards: MutableSequence[AdDiscoveryCarouselCardAsset] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., business_name: str = ..., @@ -145,8 +148,8 @@ class DiscoveryMultiAssetAdInfo(proto.Message): call_to_action_text: str lead_form_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., marketing_images: MutableSequence[AdImageAsset] = ..., @@ -171,8 +174,8 @@ class DiscoveryVideoResponsiveAdInfo(proto.Message): business_name: AdTextAsset call_to_actions: MutableSequence[AdCallToActionAsset] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., headlines: MutableSequence[AdTextAsset] = ..., @@ -190,8 +193,8 @@ class DisplayUploadAdInfo(proto.Message): display_upload_product_type: DisplayUploadProductTypeEnum.DisplayUploadProductType media_bundle: AdMediaBundleAsset def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., display_upload_product_type: DisplayUploadProductTypeEnum.DisplayUploadProductType = ..., @@ -202,8 +205,8 @@ class ExpandedDynamicSearchAdInfo(proto.Message): description: str description2: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., description: str = ..., @@ -219,8 +222,8 @@ class ExpandedTextAdInfo(proto.Message): path1: str path2: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., headline_part1: str = ..., @@ -234,8 +237,8 @@ class ExpandedTextAdInfo(proto.Message): class HotelAdInfo(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -254,8 +257,8 @@ class ImageAdInfo(proto.Message): data: bytes ad_id_to_copy_image_from: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., pixel_width: int = ..., @@ -277,8 +280,8 @@ class InFeedVideoAdInfo(proto.Message): description2: str thumbnail: VideoThumbnailEnum.VideoThumbnail def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., headline: str = ..., @@ -294,8 +297,8 @@ class LegacyAppInstallAdInfo(proto.Message): description1: str description2: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., app_id: str = ..., @@ -322,8 +325,8 @@ class LegacyResponsiveDisplayAdInfo(proto.Message): price_prefix: str promo_text: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., short_headline: str = ..., @@ -353,8 +356,8 @@ class LocalAdInfo(proto.Message): path1: str path2: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., headlines: MutableSequence[AdTextAsset] = ..., @@ -371,8 +374,8 @@ class ResponsiveDisplayAdControlSpec(proto.Message): enable_asset_enhancements: bool enable_autogen_video: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., enable_asset_enhancements: bool = ..., @@ -398,8 +401,8 @@ class ResponsiveDisplayAdInfo(proto.Message): format_setting: DisplayAdFormatSettingEnum.DisplayAdFormatSetting control_spec: ResponsiveDisplayAdControlSpec def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., marketing_images: MutableSequence[AdImageAsset] = ..., @@ -427,8 +430,8 @@ class ResponsiveSearchAdInfo(proto.Message): path1: str path2: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., headlines: MutableSequence[AdTextAsset] = ..., @@ -440,8 +443,8 @@ class ResponsiveSearchAdInfo(proto.Message): class ShoppingComparisonListingAdInfo(proto.Message): headline: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., headline: str = ..., @@ -449,8 +452,8 @@ class ShoppingComparisonListingAdInfo(proto.Message): class ShoppingProductAdInfo(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -458,8 +461,8 @@ class ShoppingProductAdInfo(proto.Message): class ShoppingSmartAdInfo(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -469,8 +472,8 @@ class SmartCampaignAdInfo(proto.Message): headlines: MutableSequence[AdTextAsset] descriptions: MutableSequence[AdTextAsset] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., headlines: MutableSequence[AdTextAsset] = ..., @@ -482,8 +485,8 @@ class TextAdInfo(proto.Message): description1: str description2: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., headline: str = ..., @@ -493,8 +496,8 @@ class TextAdInfo(proto.Message): class TravelAdInfo(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -508,8 +511,8 @@ class VideoAdInfo(proto.Message): non_skippable: VideoNonSkippableInStreamAdInfo in_feed: InFeedVideoAdInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., video: AdVideoAsset = ..., @@ -525,8 +528,8 @@ class VideoBumperInStreamAdInfo(proto.Message): action_button_label: str action_headline: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., companion_banner: AdImageAsset = ..., @@ -539,8 +542,8 @@ class VideoNonSkippableInStreamAdInfo(proto.Message): action_button_label: str action_headline: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., companion_banner: AdImageAsset = ..., @@ -552,8 +555,8 @@ class VideoOutstreamAdInfo(proto.Message): headline: str description: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., headline: str = ..., @@ -570,8 +573,8 @@ class VideoResponsiveAdInfo(proto.Message): breadcrumb1: str breadcrumb2: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., headlines: MutableSequence[AdTextAsset] = ..., @@ -589,8 +592,8 @@ class VideoTrueViewInStreamAdInfo(proto.Message): action_headline: str companion_banner: AdImageAsset def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., action_button_label: str = ..., diff --git a/google-stubs/ads/googleads/v15/common/types/asset_policy.pyi b/google-stubs/ads/googleads/v15/common/types/asset_policy.pyi index 619494108..cd9c0a526 100644 --- a/google-stubs/ads/googleads/v15/common/types/asset_policy.pyi +++ b/google-stubs/ads/googleads/v15/common/types/asset_policy.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.policy import PolicyTopicEntry @@ -20,13 +21,15 @@ from google.ads.googleads.v15.enums.types.policy_review_status import ( PolicyReviewStatusEnum, ) +_M = TypeVar("_M") + class AdAssetPolicySummary(proto.Message): policy_topic_entries: MutableSequence[PolicyTopicEntry] review_status: PolicyReviewStatusEnum.PolicyReviewStatus approval_status: PolicyApprovalStatusEnum.PolicyApprovalStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., policy_topic_entries: MutableSequence[PolicyTopicEntry] = ..., @@ -39,8 +42,8 @@ class AssetDisapproved(proto.Message): AssetOfflineEvaluationErrorReasonsEnum.AssetOfflineEvaluationErrorReasons ] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., offline_evaluation_error_reasons: MutableSequence[ @@ -53,8 +56,8 @@ class AssetLinkPrimaryStatusDetails(proto.Message): status: AssetLinkPrimaryStatusEnum.AssetLinkPrimaryStatus asset_disapproved: AssetDisapproved def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., reason: AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason = ..., diff --git a/google-stubs/ads/googleads/v15/common/types/asset_set_types.pyi b/google-stubs/ads/googleads/v15/common/types/asset_set_types.pyi index 804b0d9f4..05df36670 100644 --- a/google-stubs/ads/googleads/v15/common/types/asset_set_types.pyi +++ b/google-stubs/ads/googleads/v15/common/types/asset_set_types.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.chain_relationship_type import ( @@ -13,12 +14,14 @@ from google.ads.googleads.v15.enums.types.location_string_filter_type import ( LocationStringFilterTypeEnum, ) +_M = TypeVar("_M") + class BusinessProfileBusinessNameFilter(proto.Message): business_name: str filter_type: LocationStringFilterTypeEnum.LocationStringFilterType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., business_name: str = ..., @@ -28,8 +31,8 @@ class BusinessProfileBusinessNameFilter(proto.Message): class BusinessProfileLocationGroup(proto.Message): dynamic_business_profile_location_group_filter: DynamicBusinessProfileLocationGroupFilter def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., dynamic_business_profile_location_group_filter: DynamicBusinessProfileLocationGroupFilter = ... @@ -43,8 +46,8 @@ class BusinessProfileLocationSet(proto.Message): listing_id_filters: MutableSequence[int] business_account_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., http_authorization_token: str = ..., @@ -59,8 +62,8 @@ class ChainFilter(proto.Message): chain_id: int location_attributes: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., chain_id: int = ..., @@ -70,8 +73,8 @@ class ChainFilter(proto.Message): class ChainLocationGroup(proto.Message): dynamic_chain_location_group_filters: MutableSequence[ChainFilter] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., dynamic_chain_location_group_filters: MutableSequence[ChainFilter] = ... @@ -81,8 +84,8 @@ class ChainSet(proto.Message): relationship_type: ChainRelationshipTypeEnum.ChainRelationshipType chains: MutableSequence[ChainFilter] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., relationship_type: ChainRelationshipTypeEnum.ChainRelationshipType = ..., @@ -94,8 +97,8 @@ class DynamicBusinessProfileLocationGroupFilter(proto.Message): business_name_filter: BusinessProfileBusinessNameFilter listing_id_filters: MutableSequence[int] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., label_filters: MutableSequence[str] = ..., @@ -109,8 +112,8 @@ class LocationSet(proto.Message): chain_location_set: ChainSet maps_location_set: MapsLocationSet def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., location_ownership_type: LocationOwnershipTypeEnum.LocationOwnershipType = ..., @@ -122,8 +125,8 @@ class LocationSet(proto.Message): class MapsLocationInfo(proto.Message): place_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., place_id: str = ... @@ -132,8 +135,8 @@ class MapsLocationInfo(proto.Message): class MapsLocationSet(proto.Message): maps_locations: MutableSequence[MapsLocationInfo] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., maps_locations: MutableSequence[MapsLocationInfo] = ... diff --git a/google-stubs/ads/googleads/v15/common/types/asset_types.pyi b/google-stubs/ads/googleads/v15/common/types/asset_types.pyi index 6182aa23f..a79b53f7e 100644 --- a/google-stubs/ads/googleads/v15/common/types/asset_types.pyi +++ b/google-stubs/ads/googleads/v15/common/types/asset_types.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.criteria import AdScheduleInfo @@ -44,10 +45,12 @@ from google.ads.googleads.v15.enums.types.promotion_extension_occasion import ( PromotionExtensionOccasionEnum, ) +_M = TypeVar("_M") + class BookOnGoogleAsset(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -58,8 +61,8 @@ class BusinessProfileLocation(proto.Message): store_code: str listing_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., labels: MutableSequence[str] = ..., @@ -74,8 +77,8 @@ class CallAsset(proto.Message): call_conversion_action: str ad_schedule_targets: MutableSequence[AdScheduleInfo] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., country_code: str = ..., @@ -88,8 +91,8 @@ class CallAsset(proto.Message): class CallToActionAsset(proto.Message): call_to_action: CallToActionTypeEnum.CallToActionType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., call_to_action: CallToActionTypeEnum.CallToActionType = ..., @@ -101,8 +104,8 @@ class CalloutAsset(proto.Message): end_date: str ad_schedule_targets: MutableSequence[AdScheduleInfo] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., callout_text: str = ..., @@ -118,8 +121,8 @@ class DiscoveryCarouselCardAsset(proto.Message): headline: str call_to_action_text: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., marketing_image_asset: str = ..., @@ -148,8 +151,8 @@ class DynamicCustomAsset(proto.Message): ios_app_store_id: int similar_ids: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., id: str = ..., @@ -187,8 +190,8 @@ class DynamicEducationAsset(proto.Message): thumbnail_image_url: str image_url: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., program_id: str = ..., @@ -224,8 +227,8 @@ class DynamicFlightsAsset(proto.Message): similar_destination_ids: MutableSequence[str] custom_mapping: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., destination_id: str = ..., @@ -264,8 +267,8 @@ class DynamicHotelsAndRentalsAsset(proto.Message): formatted_sale_price: str similar_property_ids: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., property_id: str = ..., @@ -303,8 +306,8 @@ class DynamicJobsAsset(proto.Message): ios_app_link: str ios_app_store_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., job_id: str = ..., @@ -341,8 +344,8 @@ class DynamicLocalAsset(proto.Message): ios_app_link: str ios_app_store_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., deal_id: str = ..., @@ -380,8 +383,8 @@ class DynamicRealEstateAsset(proto.Message): ios_app_store_id: int similar_listing_ids: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., listing_id: str = ..., @@ -420,8 +423,8 @@ class DynamicTravelAsset(proto.Message): ios_app_link: str ios_app_store_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., destination_id: str = ..., @@ -447,8 +450,8 @@ class HotelCalloutAsset(proto.Message): text: str language_code: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., text: str = ..., @@ -460,8 +463,8 @@ class HotelPropertyAsset(proto.Message): hotel_address: str hotel_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., place_id: str = ..., @@ -475,8 +478,8 @@ class ImageAsset(proto.Message): mime_type: MimeTypeEnum.MimeType full_size: ImageDimension def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., data: bytes = ..., @@ -490,8 +493,8 @@ class ImageDimension(proto.Message): width_pixels: int url: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., height_pixels: int = ..., @@ -516,8 +519,8 @@ class LeadFormAsset(proto.Message): desired_intent: LeadFormDesiredIntentEnum.LeadFormDesiredIntent custom_disclosure: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., business_name: str = ..., @@ -542,8 +545,8 @@ class LeadFormCustomQuestionField(proto.Message): single_choice_answers: LeadFormSingleChoiceAnswers has_location_answer: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., custom_question_text: str = ..., @@ -554,8 +557,8 @@ class LeadFormCustomQuestionField(proto.Message): class LeadFormDeliveryMethod(proto.Message): webhook: WebhookDelivery def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., webhook: WebhookDelivery = ..., @@ -566,8 +569,8 @@ class LeadFormField(proto.Message): single_choice_answers: LeadFormSingleChoiceAnswers has_location_answer: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., input_type: LeadFormFieldUserInputTypeEnum.LeadFormFieldUserInputType = ..., @@ -578,8 +581,8 @@ class LeadFormField(proto.Message): class LeadFormSingleChoiceAnswers(proto.Message): answers: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., answers: MutableSequence[str] = ..., @@ -590,8 +593,8 @@ class LocationAsset(proto.Message): business_profile_locations: MutableSequence[BusinessProfileLocation] location_ownership_type: LocationOwnershipTypeEnum.LocationOwnershipType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., place_id: str = ..., @@ -602,8 +605,8 @@ class LocationAsset(proto.Message): class MediaBundleAsset(proto.Message): data: bytes def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., data: bytes = ..., @@ -616,8 +619,8 @@ class MobileAppAsset(proto.Message): start_date: str end_date: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., app_id: str = ..., @@ -631,8 +634,8 @@ class PageFeedAsset(proto.Message): page_url: str labels: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., page_url: str = ..., @@ -645,8 +648,8 @@ class PriceAsset(proto.Message): language_code: str price_offerings: MutableSequence[PriceOffering] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., type_: PriceExtensionTypeEnum.PriceExtensionType = ..., @@ -663,8 +666,8 @@ class PriceOffering(proto.Message): final_url: str final_mobile_url: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., header: str = ..., @@ -690,8 +693,8 @@ class PromotionAsset(proto.Message): promotion_code: str orders_over_amount: Money def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., promotion_target: str = ..., @@ -717,8 +720,8 @@ class SitelinkAsset(proto.Message): end_date: str ad_schedule_targets: MutableSequence[AdScheduleInfo] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., link_text: str = ..., @@ -733,8 +736,8 @@ class StructuredSnippetAsset(proto.Message): header: str values: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., header: str = ..., @@ -744,8 +747,8 @@ class StructuredSnippetAsset(proto.Message): class TextAsset(proto.Message): text: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., text: str = ..., @@ -756,8 +759,8 @@ class WebhookDelivery(proto.Message): google_secret: str payload_schema_version: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., advertiser_webhook_url: str = ..., @@ -769,8 +772,8 @@ class YoutubeVideoAsset(proto.Message): youtube_video_id: str youtube_video_title: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., youtube_video_id: str = ..., diff --git a/google-stubs/ads/googleads/v15/common/types/asset_usage.pyi b/google-stubs/ads/googleads/v15/common/types/asset_usage.pyi index 94c56b126..6abfac836 100644 --- a/google-stubs/ads/googleads/v15/common/types/asset_usage.pyi +++ b/google-stubs/ads/googleads/v15/common/types/asset_usage.pyi @@ -1,17 +1,21 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.served_asset_field_type import ( ServedAssetFieldTypeEnum, ) +_M = TypeVar("_M") + class AssetUsage(proto.Message): asset: str served_asset_field_type: ServedAssetFieldTypeEnum.ServedAssetFieldType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., asset: str = ..., diff --git a/google-stubs/ads/googleads/v15/common/types/audiences.pyi b/google-stubs/ads/googleads/v15/common/types/audiences.pyi index b3bfdd28c..a7f2ea5c4 100644 --- a/google-stubs/ads/googleads/v15/common/types/audiences.pyi +++ b/google-stubs/ads/googleads/v15/common/types/audiences.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.gender_type import GenderTypeEnum @@ -9,12 +10,14 @@ from google.ads.googleads.v15.enums.types.parental_status_type import ( ParentalStatusTypeEnum, ) +_M = TypeVar("_M") + class AgeDimension(proto.Message): age_ranges: MutableSequence[AgeSegment] include_undetermined: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., age_ranges: MutableSequence[AgeSegment] = ..., @@ -25,8 +28,8 @@ class AgeSegment(proto.Message): min_age: int max_age: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., min_age: int = ..., @@ -40,8 +43,8 @@ class AudienceDimension(proto.Message): parental_status: ParentalStatusDimension audience_segments: AudienceSegmentDimension def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., age: AgeDimension = ..., @@ -54,8 +57,8 @@ class AudienceDimension(proto.Message): class AudienceExclusionDimension(proto.Message): exclusions: MutableSequence[ExclusionSegment] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., exclusions: MutableSequence[ExclusionSegment] = ... @@ -68,8 +71,8 @@ class AudienceSegment(proto.Message): detailed_demographic: DetailedDemographicSegment custom_audience: CustomAudienceSegment def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., user_list: UserListSegment = ..., @@ -82,8 +85,8 @@ class AudienceSegment(proto.Message): class AudienceSegmentDimension(proto.Message): segments: MutableSequence[AudienceSegment] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., segments: MutableSequence[AudienceSegment] = ... @@ -92,8 +95,8 @@ class AudienceSegmentDimension(proto.Message): class CustomAudienceSegment(proto.Message): custom_audience: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., custom_audience: str = ... @@ -102,8 +105,8 @@ class CustomAudienceSegment(proto.Message): class DetailedDemographicSegment(proto.Message): detailed_demographic: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., detailed_demographic: str = ... @@ -112,8 +115,8 @@ class DetailedDemographicSegment(proto.Message): class ExclusionSegment(proto.Message): user_list: UserListSegment def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., user_list: UserListSegment = ... @@ -123,8 +126,8 @@ class GenderDimension(proto.Message): genders: MutableSequence[GenderTypeEnum.GenderType] include_undetermined: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., genders: MutableSequence[GenderTypeEnum.GenderType] = ..., @@ -135,8 +138,8 @@ class HouseholdIncomeDimension(proto.Message): income_ranges: MutableSequence[IncomeRangeTypeEnum.IncomeRangeType] include_undetermined: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., income_ranges: MutableSequence[IncomeRangeTypeEnum.IncomeRangeType] = ..., @@ -146,8 +149,8 @@ class HouseholdIncomeDimension(proto.Message): class LifeEventSegment(proto.Message): life_event: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., life_event: str = ... @@ -157,8 +160,8 @@ class ParentalStatusDimension(proto.Message): parental_statuses: MutableSequence[ParentalStatusTypeEnum.ParentalStatusType] include_undetermined: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., parental_statuses: MutableSequence[ @@ -170,8 +173,8 @@ class ParentalStatusDimension(proto.Message): class UserInterestSegment(proto.Message): user_interest_category: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., user_interest_category: str = ... @@ -180,8 +183,8 @@ class UserInterestSegment(proto.Message): class UserListSegment(proto.Message): user_list: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., user_list: str = ... diff --git a/google-stubs/ads/googleads/v15/common/types/bidding.pyi b/google-stubs/ads/googleads/v15/common/types/bidding.pyi index a37052135..4a90548c9 100644 --- a/google-stubs/ads/googleads/v15/common/types/bidding.pyi +++ b/google-stubs/ads/googleads/v15/common/types/bidding.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.target_frequency_time_unit import ( @@ -9,11 +11,13 @@ from google.ads.googleads.v15.enums.types.target_impression_share_location impor TargetImpressionShareLocationEnum, ) +_M = TypeVar("_M") + class Commission(proto.Message): commission_rate_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., commission_rate_micros: int = ..., @@ -21,8 +25,8 @@ class Commission(proto.Message): class EnhancedCpc(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -30,8 +34,8 @@ class EnhancedCpc(proto.Message): class ManualCpa(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -40,8 +44,8 @@ class ManualCpa(proto.Message): class ManualCpc(proto.Message): enhanced_cpc_enabled: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., enhanced_cpc_enabled: bool = ..., @@ -49,8 +53,8 @@ class ManualCpc(proto.Message): class ManualCpm(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -58,8 +62,8 @@ class ManualCpm(proto.Message): class ManualCpv(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -70,8 +74,8 @@ class MaximizeConversionValue(proto.Message): cpc_bid_ceiling_micros: int cpc_bid_floor_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_roas: float = ..., @@ -84,8 +88,8 @@ class MaximizeConversions(proto.Message): cpc_bid_floor_micros: int target_cpa_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., cpc_bid_ceiling_micros: int = ..., @@ -97,8 +101,8 @@ class PercentCpc(proto.Message): cpc_bid_ceiling_micros: int enhanced_cpc_enabled: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., cpc_bid_ceiling_micros: int = ..., @@ -110,8 +114,8 @@ class TargetCpa(proto.Message): cpc_bid_ceiling_micros: int cpc_bid_floor_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_cpa_micros: int = ..., @@ -122,8 +126,8 @@ class TargetCpa(proto.Message): class TargetCpm(proto.Message): target_frequency_goal: TargetCpmTargetFrequencyGoal def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_frequency_goal: TargetCpmTargetFrequencyGoal = ..., @@ -133,8 +137,8 @@ class TargetCpmTargetFrequencyGoal(proto.Message): target_count: int time_unit: TargetFrequencyTimeUnitEnum.TargetFrequencyTimeUnit def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_count: int = ..., @@ -146,8 +150,8 @@ class TargetImpressionShare(proto.Message): location_fraction_micros: int cpc_bid_ceiling_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., location: TargetImpressionShareLocationEnum.TargetImpressionShareLocation = ..., @@ -160,8 +164,8 @@ class TargetRoas(proto.Message): cpc_bid_ceiling_micros: int cpc_bid_floor_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_roas: float = ..., @@ -173,8 +177,8 @@ class TargetSpend(proto.Message): target_spend_micros: int cpc_bid_ceiling_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_spend_micros: int = ..., diff --git a/google-stubs/ads/googleads/v15/common/types/click_location.pyi b/google-stubs/ads/googleads/v15/common/types/click_location.pyi index 542053fca..c2fbb2f75 100644 --- a/google-stubs/ads/googleads/v15/common/types/click_location.pyi +++ b/google-stubs/ads/googleads/v15/common/types/click_location.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ClickLocation(proto.Message): city: str country: str @@ -9,8 +13,8 @@ class ClickLocation(proto.Message): most_specific: str region: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., city: str = ..., diff --git a/google-stubs/ads/googleads/v15/common/types/consent.pyi b/google-stubs/ads/googleads/v15/common/types/consent.pyi index af299fcdc..8da30355f 100644 --- a/google-stubs/ads/googleads/v15/common/types/consent.pyi +++ b/google-stubs/ads/googleads/v15/common/types/consent.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.consent_status import ConsentStatusEnum +_M = TypeVar("_M") + class Consent(proto.Message): ad_user_data: ConsentStatusEnum.ConsentStatus ad_personalization: ConsentStatusEnum.ConsentStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad_user_data: ConsentStatusEnum.ConsentStatus = ..., diff --git a/google-stubs/ads/googleads/v15/common/types/criteria.pyi b/google-stubs/ads/googleads/v15/common/types/criteria.pyi index fe9455ea6..19e94a29c 100644 --- a/google-stubs/ads/googleads/v15/common/types/criteria.pyi +++ b/google-stubs/ads/googleads/v15/common/types/criteria.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.age_range_type import AgeRangeTypeEnum @@ -47,11 +48,13 @@ from google.ads.googleads.v15.enums.types.webpage_condition_operator import ( WebpageConditionOperatorEnum, ) +_M = TypeVar("_M") + class ActivityCountryInfo(proto.Message): value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: str = ..., @@ -60,8 +63,8 @@ class ActivityCountryInfo(proto.Message): class ActivityIdInfo(proto.Message): value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: str = ..., @@ -70,8 +73,8 @@ class ActivityIdInfo(proto.Message): class ActivityRatingInfo(proto.Message): value: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: int = ..., @@ -84,8 +87,8 @@ class AdScheduleInfo(proto.Message): end_hour: int day_of_week: DayOfWeekEnum.DayOfWeek def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., start_minute: MinuteOfHourEnum.MinuteOfHour = ..., @@ -104,8 +107,8 @@ class AddressInfo(proto.Message): street_address2: str city_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., postal_code: str = ..., @@ -120,8 +123,8 @@ class AddressInfo(proto.Message): class AgeRangeInfo(proto.Message): type_: AgeRangeTypeEnum.AgeRangeType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., type_: AgeRangeTypeEnum.AgeRangeType = ..., @@ -130,8 +133,8 @@ class AgeRangeInfo(proto.Message): class AppPaymentModelInfo(proto.Message): type_: AppPaymentModelTypeEnum.AppPaymentModelType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., type_: AppPaymentModelTypeEnum.AppPaymentModelType = ..., @@ -140,8 +143,8 @@ class AppPaymentModelInfo(proto.Message): class AudienceInfo(proto.Message): audience: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., audience: str = ..., @@ -150,8 +153,8 @@ class AudienceInfo(proto.Message): class BrandInfo(proto.Message): entity_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., entity_id: str = ..., @@ -160,8 +163,8 @@ class BrandInfo(proto.Message): class BrandListInfo(proto.Message): shared_set: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., shared_set: str = ..., @@ -170,8 +173,8 @@ class BrandListInfo(proto.Message): class CarrierInfo(proto.Message): carrier_constant: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., carrier_constant: str = ..., @@ -180,8 +183,8 @@ class CarrierInfo(proto.Message): class CombinedAudienceInfo(proto.Message): combined_audience: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., combined_audience: str = ..., @@ -190,8 +193,8 @@ class CombinedAudienceInfo(proto.Message): class ContentLabelInfo(proto.Message): type_: ContentLabelTypeEnum.ContentLabelType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., type_: ContentLabelTypeEnum.ContentLabelType = ..., @@ -200,8 +203,8 @@ class ContentLabelInfo(proto.Message): class CustomAffinityInfo(proto.Message): custom_affinity: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., custom_affinity: str = ..., @@ -210,8 +213,8 @@ class CustomAffinityInfo(proto.Message): class CustomAudienceInfo(proto.Message): custom_audience: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., custom_audience: str = ..., @@ -220,8 +223,8 @@ class CustomAudienceInfo(proto.Message): class CustomIntentInfo(proto.Message): custom_intent: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., custom_intent: str = ..., @@ -230,8 +233,8 @@ class CustomIntentInfo(proto.Message): class DeviceInfo(proto.Message): type_: DeviceEnum.Device def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., type_: DeviceEnum.Device = ..., @@ -240,8 +243,8 @@ class DeviceInfo(proto.Message): class GenderInfo(proto.Message): type_: GenderTypeEnum.GenderType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., type_: GenderTypeEnum.GenderType = ..., @@ -251,8 +254,8 @@ class GeoPointInfo(proto.Message): longitude_in_micro_degrees: int latitude_in_micro_degrees: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., longitude_in_micro_degrees: int = ..., @@ -263,8 +266,8 @@ class HotelAdvanceBookingWindowInfo(proto.Message): min_days: int max_days: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., min_days: int = ..., @@ -275,8 +278,8 @@ class HotelCheckInDateRangeInfo(proto.Message): start_date: str end_date: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., start_date: str = ..., @@ -286,8 +289,8 @@ class HotelCheckInDateRangeInfo(proto.Message): class HotelCheckInDayInfo(proto.Message): day_of_week: DayOfWeekEnum.DayOfWeek def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., day_of_week: DayOfWeekEnum.DayOfWeek = ..., @@ -296,8 +299,8 @@ class HotelCheckInDayInfo(proto.Message): class HotelCityInfo(proto.Message): city_criterion: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., city_criterion: str = ..., @@ -306,8 +309,8 @@ class HotelCityInfo(proto.Message): class HotelClassInfo(proto.Message): value: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: int = ..., @@ -316,8 +319,8 @@ class HotelClassInfo(proto.Message): class HotelCountryRegionInfo(proto.Message): country_region_criterion: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., country_region_criterion: str = ..., @@ -326,8 +329,8 @@ class HotelCountryRegionInfo(proto.Message): class HotelDateSelectionTypeInfo(proto.Message): type_: HotelDateSelectionTypeEnum.HotelDateSelectionType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., type_: HotelDateSelectionTypeEnum.HotelDateSelectionType = ..., @@ -336,8 +339,8 @@ class HotelDateSelectionTypeInfo(proto.Message): class HotelIdInfo(proto.Message): value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: str = ..., @@ -347,8 +350,8 @@ class HotelLengthOfStayInfo(proto.Message): min_nights: int max_nights: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., min_nights: int = ..., @@ -358,8 +361,8 @@ class HotelLengthOfStayInfo(proto.Message): class HotelStateInfo(proto.Message): state_criterion: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., state_criterion: str = ..., @@ -368,8 +371,8 @@ class HotelStateInfo(proto.Message): class IncomeRangeInfo(proto.Message): type_: IncomeRangeTypeEnum.IncomeRangeType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., type_: IncomeRangeTypeEnum.IncomeRangeType = ..., @@ -378,8 +381,8 @@ class IncomeRangeInfo(proto.Message): class InteractionTypeInfo(proto.Message): type_: InteractionTypeEnum.InteractionType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., type_: InteractionTypeEnum.InteractionType = ..., @@ -388,8 +391,8 @@ class InteractionTypeInfo(proto.Message): class IpBlockInfo(proto.Message): ip_address: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ip_address: str = ..., @@ -399,8 +402,8 @@ class KeywordInfo(proto.Message): text: str match_type: KeywordMatchTypeEnum.KeywordMatchType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., text: str = ..., @@ -411,8 +414,8 @@ class KeywordThemeInfo(proto.Message): keyword_theme_constant: str free_form_keyword_theme: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., keyword_theme_constant: str = ..., @@ -422,8 +425,8 @@ class KeywordThemeInfo(proto.Message): class LanguageInfo(proto.Message): language_constant: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., language_constant: str = ..., @@ -452,8 +455,8 @@ class ListingDimensionInfo(proto.Message): activity_country: ActivityCountryInfo unknown_listing_dimension: UnknownListingDimensionInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., hotel_id: HotelIdInfo = ..., @@ -482,8 +485,8 @@ class ListingDimensionInfo(proto.Message): class ListingDimensionPath(proto.Message): dimensions: MutableSequence[ListingDimensionInfo] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., dimensions: MutableSequence[ListingDimensionInfo] = ..., @@ -495,8 +498,8 @@ class ListingGroupInfo(proto.Message): parent_ad_group_criterion: str path: ListingDimensionPath def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., type_: ListingGroupTypeEnum.ListingGroupType = ..., @@ -508,8 +511,8 @@ class ListingGroupInfo(proto.Message): class ListingScopeInfo(proto.Message): dimensions: MutableSequence[ListingDimensionInfo] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., dimensions: MutableSequence[ListingDimensionInfo] = ..., @@ -518,8 +521,8 @@ class ListingScopeInfo(proto.Message): class LocalServiceIdInfo(proto.Message): service_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., service_id: str = ..., @@ -534,8 +537,8 @@ class LocationGroupInfo(proto.Message): enable_customer_level_location_asset_set: bool location_group_asset_sets: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., feed: str = ..., @@ -550,8 +553,8 @@ class LocationGroupInfo(proto.Message): class LocationInfo(proto.Message): geo_target_constant: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., geo_target_constant: str = ..., @@ -560,8 +563,8 @@ class LocationInfo(proto.Message): class MobileAppCategoryInfo(proto.Message): mobile_app_category_constant: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., mobile_app_category_constant: str = ..., @@ -571,8 +574,8 @@ class MobileApplicationInfo(proto.Message): app_id: str name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., app_id: str = ..., @@ -582,8 +585,8 @@ class MobileApplicationInfo(proto.Message): class MobileDeviceInfo(proto.Message): mobile_device_constant: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., mobile_device_constant: str = ..., @@ -592,8 +595,8 @@ class MobileDeviceInfo(proto.Message): class NegativeKeywordListInfo(proto.Message): shared_set: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., shared_set: str = ..., @@ -602,8 +605,8 @@ class NegativeKeywordListInfo(proto.Message): class OperatingSystemVersionInfo(proto.Message): operating_system_version_constant: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., operating_system_version_constant: str = ..., @@ -612,8 +615,8 @@ class OperatingSystemVersionInfo(proto.Message): class ParentalStatusInfo(proto.Message): type_: ParentalStatusTypeEnum.ParentalStatusType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., type_: ParentalStatusTypeEnum.ParentalStatusType = ..., @@ -622,8 +625,8 @@ class ParentalStatusInfo(proto.Message): class PlacementInfo(proto.Message): url: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., url: str = ..., @@ -632,8 +635,8 @@ class PlacementInfo(proto.Message): class ProductBrandInfo(proto.Message): value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: str = ..., @@ -643,8 +646,8 @@ class ProductCategoryInfo(proto.Message): category_id: int level: ProductCategoryLevelEnum.ProductCategoryLevel def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., category_id: int = ..., @@ -654,8 +657,8 @@ class ProductCategoryInfo(proto.Message): class ProductChannelExclusivityInfo(proto.Message): channel_exclusivity: ProductChannelExclusivityEnum.ProductChannelExclusivity def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., channel_exclusivity: ProductChannelExclusivityEnum.ProductChannelExclusivity = ..., @@ -664,8 +667,8 @@ class ProductChannelExclusivityInfo(proto.Message): class ProductChannelInfo(proto.Message): channel: ProductChannelEnum.ProductChannel def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., channel: ProductChannelEnum.ProductChannel = ..., @@ -674,8 +677,8 @@ class ProductChannelInfo(proto.Message): class ProductConditionInfo(proto.Message): condition: ProductConditionEnum.ProductCondition def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., condition: ProductConditionEnum.ProductCondition = ..., @@ -685,8 +688,8 @@ class ProductCustomAttributeInfo(proto.Message): value: str index: ProductCustomAttributeIndexEnum.ProductCustomAttributeIndex def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: str = ..., @@ -696,8 +699,8 @@ class ProductCustomAttributeInfo(proto.Message): class ProductGroupingInfo(proto.Message): value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: str = ..., @@ -706,8 +709,8 @@ class ProductGroupingInfo(proto.Message): class ProductItemIdInfo(proto.Message): value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: str = ..., @@ -716,8 +719,8 @@ class ProductItemIdInfo(proto.Message): class ProductLabelsInfo(proto.Message): value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: str = ..., @@ -726,8 +729,8 @@ class ProductLabelsInfo(proto.Message): class ProductLegacyConditionInfo(proto.Message): value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: str = ..., @@ -736,8 +739,8 @@ class ProductLegacyConditionInfo(proto.Message): class ProductTypeFullInfo(proto.Message): value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: str = ..., @@ -747,8 +750,8 @@ class ProductTypeInfo(proto.Message): value: str level: ProductTypeLevelEnum.ProductTypeLevel def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: str = ..., @@ -761,8 +764,8 @@ class ProximityInfo(proto.Message): radius_units: ProximityRadiusUnitsEnum.ProximityRadiusUnits address: AddressInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., geo_point: GeoPointInfo = ..., @@ -774,8 +777,8 @@ class ProximityInfo(proto.Message): class SearchThemeInfo(proto.Message): text: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., text: str = ..., @@ -785,8 +788,8 @@ class TopicInfo(proto.Message): topic_constant: str path: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., topic_constant: str = ..., @@ -795,8 +798,8 @@ class TopicInfo(proto.Message): class UnknownListingDimensionInfo(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -805,8 +808,8 @@ class UnknownListingDimensionInfo(proto.Message): class UserInterestInfo(proto.Message): user_interest_category: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., user_interest_category: str = ..., @@ -815,8 +818,8 @@ class UserInterestInfo(proto.Message): class UserListInfo(proto.Message): user_list: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., user_list: str = ..., @@ -827,8 +830,8 @@ class WebpageConditionInfo(proto.Message): operator: WebpageConditionOperatorEnum.WebpageConditionOperator argument: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., operand: WebpageConditionOperandEnum.WebpageConditionOperand = ..., @@ -842,8 +845,8 @@ class WebpageInfo(proto.Message): coverage_percentage: float sample: WebpageSampleInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., criterion_name: str = ..., @@ -855,8 +858,8 @@ class WebpageInfo(proto.Message): class WebpageSampleInfo(proto.Message): sample_urls: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., sample_urls: MutableSequence[str] = ..., @@ -865,8 +868,8 @@ class WebpageSampleInfo(proto.Message): class YouTubeChannelInfo(proto.Message): channel_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., channel_id: str = ..., @@ -875,8 +878,8 @@ class YouTubeChannelInfo(proto.Message): class YouTubeVideoInfo(proto.Message): video_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., video_id: str = ..., diff --git a/google-stubs/ads/googleads/v15/common/types/criterion_category_availability.pyi b/google-stubs/ads/googleads/v15/common/types/criterion_category_availability.pyi index 08ee34a1d..15fe6d1c4 100644 --- a/google-stubs/ads/googleads/v15/common/types/criterion_category_availability.pyi +++ b/google-stubs/ads/googleads/v15/common/types/criterion_category_availability.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.advertising_channel_sub_type import ( @@ -16,12 +17,14 @@ from google.ads.googleads.v15.enums.types.criterion_category_locale_availability CriterionCategoryLocaleAvailabilityModeEnum, ) +_M = TypeVar("_M") + class CriterionCategoryAvailability(proto.Message): channel: CriterionCategoryChannelAvailability locale: MutableSequence[CriterionCategoryLocaleAvailability] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., channel: CriterionCategoryChannelAvailability = ..., @@ -36,8 +39,8 @@ class CriterionCategoryChannelAvailability(proto.Message): ] include_default_channel_sub_type: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., availability_mode: CriterionCategoryChannelAvailabilityModeEnum.CriterionCategoryChannelAvailabilityMode = ..., @@ -53,8 +56,8 @@ class CriterionCategoryLocaleAvailability(proto.Message): country_code: str language_code: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., availability_mode: CriterionCategoryLocaleAvailabilityModeEnum.CriterionCategoryLocaleAvailabilityMode = ..., diff --git a/google-stubs/ads/googleads/v15/common/types/custom_parameter.pyi b/google-stubs/ads/googleads/v15/common/types/custom_parameter.pyi index 2873198d2..a6e0359e9 100644 --- a/google-stubs/ads/googleads/v15/common/types/custom_parameter.pyi +++ b/google-stubs/ads/googleads/v15/common/types/custom_parameter.pyi @@ -1,13 +1,17 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomParameter(proto.Message): key: str value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., key: str = ..., diff --git a/google-stubs/ads/googleads/v15/common/types/customizer_value.pyi b/google-stubs/ads/googleads/v15/common/types/customizer_value.pyi index 724d2406e..1902d9350 100644 --- a/google-stubs/ads/googleads/v15/common/types/customizer_value.pyi +++ b/google-stubs/ads/googleads/v15/common/types/customizer_value.pyi @@ -1,17 +1,21 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.customizer_attribute_type import ( CustomizerAttributeTypeEnum, ) +_M = TypeVar("_M") + class CustomizerValue(proto.Message): type_: CustomizerAttributeTypeEnum.CustomizerAttributeType string_value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., type_: CustomizerAttributeTypeEnum.CustomizerAttributeType = ..., diff --git a/google-stubs/ads/googleads/v15/common/types/dates.pyi b/google-stubs/ads/googleads/v15/common/types/dates.pyi index af957aad8..a04fc6d1d 100644 --- a/google-stubs/ads/googleads/v15/common/types/dates.pyi +++ b/google-stubs/ads/googleads/v15/common/types/dates.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.month_of_year import MonthOfYearEnum +_M = TypeVar("_M") + class DateRange(proto.Message): start_date: str end_date: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., start_date: str = ..., @@ -20,8 +24,8 @@ class YearMonth(proto.Message): year: int month: MonthOfYearEnum.MonthOfYear def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., year: int = ..., @@ -32,8 +36,8 @@ class YearMonthRange(proto.Message): start: YearMonth end: YearMonth def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., start: YearMonth = ..., diff --git a/google-stubs/ads/googleads/v15/common/types/extensions.pyi b/google-stubs/ads/googleads/v15/common/types/extensions.pyi index 3c1994714..b0c1d4940 100644 --- a/google-stubs/ads/googleads/v15/common/types/extensions.pyi +++ b/google-stubs/ads/googleads/v15/common/types/extensions.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.custom_parameter import CustomParameter @@ -25,6 +26,8 @@ from google.ads.googleads.v15.enums.types.promotion_extension_occasion import ( PromotionExtensionOccasionEnum, ) +_M = TypeVar("_M") + class AffiliateLocationFeedItem(proto.Message): business_name: str address_line_1: str @@ -37,8 +40,8 @@ class AffiliateLocationFeedItem(proto.Message): chain_id: int chain_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., business_name: str = ..., @@ -63,8 +66,8 @@ class AppFeedItem(proto.Message): url_custom_parameters: MutableSequence[CustomParameter] final_url_suffix: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., link_text: str = ..., @@ -85,8 +88,8 @@ class CallFeedItem(proto.Message): call_conversion_tracking_disabled: bool call_conversion_reporting_state: CallConversionReportingStateEnum.CallConversionReportingState def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., phone_number: str = ..., @@ -100,8 +103,8 @@ class CallFeedItem(proto.Message): class CalloutFeedItem(proto.Message): callout_text: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., callout_text: str = ... @@ -111,8 +114,8 @@ class HotelCalloutFeedItem(proto.Message): text: str language_code: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., text: str = ..., @@ -122,8 +125,8 @@ class HotelCalloutFeedItem(proto.Message): class ImageFeedItem(proto.Message): image_asset: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., image_asset: str = ... @@ -139,8 +142,8 @@ class LocationFeedItem(proto.Message): country_code: str phone_number: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., business_name: str = ..., @@ -161,8 +164,8 @@ class PriceFeedItem(proto.Message): price_offerings: MutableSequence[PriceOffer] final_url_suffix: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., type_: PriceExtensionTypeEnum.PriceExtensionType = ..., @@ -181,8 +184,8 @@ class PriceOffer(proto.Message): final_urls: MutableSequence[str] final_mobile_urls: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., header: str = ..., @@ -210,8 +213,8 @@ class PromotionFeedItem(proto.Message): promotion_code: str orders_over_amount: Money def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., promotion_target: str = ..., @@ -241,8 +244,8 @@ class SitelinkFeedItem(proto.Message): url_custom_parameters: MutableSequence[CustomParameter] final_url_suffix: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., link_text: str = ..., @@ -259,8 +262,8 @@ class StructuredSnippetFeedItem(proto.Message): header: str values: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., header: str = ..., @@ -274,8 +277,8 @@ class TextMessageFeedItem(proto.Message): text: str extension_text: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., business_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/common/types/feed_common.pyi b/google-stubs/ads/googleads/v15/common/types/feed_common.pyi index 680ccbb5c..4a82676bf 100644 --- a/google-stubs/ads/googleads/v15/common/types/feed_common.pyi +++ b/google-stubs/ads/googleads/v15/common/types/feed_common.pyi @@ -1,13 +1,17 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class Money(proto.Message): currency_code: str amount_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., currency_code: str = ..., diff --git a/google-stubs/ads/googleads/v15/common/types/feed_item_set_filter_type_infos.pyi b/google-stubs/ads/googleads/v15/common/types/feed_item_set_filter_type_infos.pyi index 4fed67adb..3b2f08e7b 100644 --- a/google-stubs/ads/googleads/v15/common/types/feed_item_set_filter_type_infos.pyi +++ b/google-stubs/ads/googleads/v15/common/types/feed_item_set_filter_type_infos.pyi @@ -1,18 +1,21 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.feed_item_set_string_filter_type import ( FeedItemSetStringFilterTypeEnum, ) +_M = TypeVar("_M") + class BusinessNameFilter(proto.Message): business_name: str filter_type: FeedItemSetStringFilterTypeEnum.FeedItemSetStringFilterType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., business_name: str = ..., @@ -22,8 +25,8 @@ class BusinessNameFilter(proto.Message): class DynamicAffiliateLocationSetFilter(proto.Message): chain_ids: MutableSequence[int] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., chain_ids: MutableSequence[int] = ... @@ -33,8 +36,8 @@ class DynamicLocationSetFilter(proto.Message): labels: MutableSequence[str] business_name_filter: BusinessNameFilter def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., labels: MutableSequence[str] = ..., diff --git a/google-stubs/ads/googleads/v15/common/types/final_app_url.pyi b/google-stubs/ads/googleads/v15/common/types/final_app_url.pyi index 248f19893..576bc59dc 100644 --- a/google-stubs/ads/googleads/v15/common/types/final_app_url.pyi +++ b/google-stubs/ads/googleads/v15/common/types/final_app_url.pyi @@ -1,17 +1,21 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.app_url_operating_system_type import ( AppUrlOperatingSystemTypeEnum, ) +_M = TypeVar("_M") + class FinalAppUrl(proto.Message): os_type: AppUrlOperatingSystemTypeEnum.AppUrlOperatingSystemType url: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., os_type: AppUrlOperatingSystemTypeEnum.AppUrlOperatingSystemType = ..., diff --git a/google-stubs/ads/googleads/v15/common/types/frequency_cap.pyi b/google-stubs/ads/googleads/v15/common/types/frequency_cap.pyi index 740731493..02291757d 100644 --- a/google-stubs/ads/googleads/v15/common/types/frequency_cap.pyi +++ b/google-stubs/ads/googleads/v15/common/types/frequency_cap.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.frequency_cap_event_type import ( @@ -12,12 +14,14 @@ from google.ads.googleads.v15.enums.types.frequency_cap_time_unit import ( FrequencyCapTimeUnitEnum, ) +_M = TypeVar("_M") + class FrequencyCapEntry(proto.Message): key: FrequencyCapKey cap: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., key: FrequencyCapKey = ..., @@ -30,8 +34,8 @@ class FrequencyCapKey(proto.Message): time_unit: FrequencyCapTimeUnitEnum.FrequencyCapTimeUnit time_length: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., level: FrequencyCapLevelEnum.FrequencyCapLevel = ..., diff --git a/google-stubs/ads/googleads/v15/common/types/keyword_plan_common.pyi b/google-stubs/ads/googleads/v15/common/types/keyword_plan_common.pyi index 72def00bd..60697789b 100644 --- a/google-stubs/ads/googleads/v15/common/types/keyword_plan_common.pyi +++ b/google-stubs/ads/googleads/v15/common/types/keyword_plan_common.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.dates import YearMonthRange @@ -16,12 +17,14 @@ from google.ads.googleads.v15.enums.types.keyword_plan_concept_group_type import ) from google.ads.googleads.v15.enums.types.month_of_year import MonthOfYearEnum +_M = TypeVar("_M") + class ConceptGroup(proto.Message): name: str type_: KeywordPlanConceptGroupTypeEnum.KeywordPlanConceptGroupType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., name: str = ..., @@ -32,8 +35,8 @@ class HistoricalMetricsOptions(proto.Message): year_month_range: YearMonthRange include_average_cpc: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., year_month_range: YearMonthRange = ..., @@ -43,8 +46,8 @@ class HistoricalMetricsOptions(proto.Message): class KeywordAnnotations(proto.Message): concepts: MutableSequence[KeywordConcept] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., concepts: MutableSequence[KeywordConcept] = ... @@ -54,8 +57,8 @@ class KeywordConcept(proto.Message): name: str concept_group: ConceptGroup def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., name: str = ..., @@ -65,8 +68,8 @@ class KeywordConcept(proto.Message): class KeywordPlanAggregateMetricResults(proto.Message): device_searches: MutableSequence[KeywordPlanDeviceSearches] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., device_searches: MutableSequence[KeywordPlanDeviceSearches] = ... @@ -77,8 +80,8 @@ class KeywordPlanAggregateMetrics(proto.Message): KeywordPlanAggregateMetricTypeEnum.KeywordPlanAggregateMetricType ] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., aggregate_metric_types: MutableSequence[ @@ -90,8 +93,8 @@ class KeywordPlanDeviceSearches(proto.Message): device: DeviceEnum.Device search_count: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., device: DeviceEnum.Device = ..., @@ -107,8 +110,8 @@ class KeywordPlanHistoricalMetrics(proto.Message): high_top_of_page_bid_micros: int average_cpc_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., avg_monthly_searches: int = ..., @@ -125,8 +128,8 @@ class MonthlySearchVolume(proto.Message): month: MonthOfYearEnum.MonthOfYear monthly_searches: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., year: int = ..., diff --git a/google-stubs/ads/googleads/v15/common/types/lifecycle_goals.pyi b/google-stubs/ads/googleads/v15/common/types/lifecycle_goals.pyi index f60bfc72c..d01cdff7d 100644 --- a/google-stubs/ads/googleads/v15/common/types/lifecycle_goals.pyi +++ b/google-stubs/ads/googleads/v15/common/types/lifecycle_goals.pyi @@ -1,13 +1,17 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LifecycleGoalValueSettings(proto.Message): value: float high_lifetime_value: float def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: float = ..., diff --git a/google-stubs/ads/googleads/v15/common/types/local_services.pyi b/google-stubs/ads/googleads/v15/common/types/local_services.pyi index fcb57bac0..f45e20d42 100644 --- a/google-stubs/ads/googleads/v15/common/types/local_services.pyi +++ b/google-stubs/ads/googleads/v15/common/types/local_services.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LocalServicesDocumentReadOnly(proto.Message): document_url: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., document_url: str = ... diff --git a/google-stubs/ads/googleads/v15/common/types/matching_function.pyi b/google-stubs/ads/googleads/v15/common/types/matching_function.pyi index 54903c270..3ec49dfc3 100644 --- a/google-stubs/ads/googleads/v15/common/types/matching_function.pyi +++ b/google-stubs/ads/googleads/v15/common/types/matching_function.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.matching_function_context_type import ( @@ -10,14 +11,16 @@ from google.ads.googleads.v15.enums.types.matching_function_operator import ( MatchingFunctionOperatorEnum, ) +_M = TypeVar("_M") + class MatchingFunction(proto.Message): function_string: str operator: MatchingFunctionOperatorEnum.MatchingFunctionOperator left_operands: MutableSequence[Operand] right_operands: MutableSequence[Operand] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., function_string: str = ..., @@ -33,8 +36,8 @@ class Operand(proto.Message): boolean_value: bool double_value: float def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., string_value: str = ..., @@ -47,8 +50,8 @@ class Operand(proto.Message): feed_id: int feed_attribute_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., feed_id: int = ..., @@ -58,8 +61,8 @@ class Operand(proto.Message): class FunctionOperand(proto.Message): matching_function: MatchingFunction def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., matching_function: MatchingFunction = ... @@ -68,8 +71,8 @@ class Operand(proto.Message): class RequestContextOperand(proto.Message): context_type: MatchingFunctionContextTypeEnum.MatchingFunctionContextType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., context_type: MatchingFunctionContextTypeEnum.MatchingFunctionContextType = ... @@ -79,8 +82,8 @@ class Operand(proto.Message): function_operand: Operand.FunctionOperand request_context_operand: Operand.RequestContextOperand def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., constant_operand: Operand.ConstantOperand = ..., diff --git a/google-stubs/ads/googleads/v15/common/types/metric_goal.pyi b/google-stubs/ads/googleads/v15/common/types/metric_goal.pyi index 186ba4e75..ef7c2247d 100644 --- a/google-stubs/ads/googleads/v15/common/types/metric_goal.pyi +++ b/google-stubs/ads/googleads/v15/common/types/metric_goal.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.experiment_metric import ExperimentMetricEnum @@ -7,12 +9,14 @@ from google.ads.googleads.v15.enums.types.experiment_metric_direction import ( ExperimentMetricDirectionEnum, ) +_M = TypeVar("_M") + class MetricGoal(proto.Message): metric: ExperimentMetricEnum.ExperimentMetric direction: ExperimentMetricDirectionEnum.ExperimentMetricDirection def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., metric: ExperimentMetricEnum.ExperimentMetric = ..., diff --git a/google-stubs/ads/googleads/v15/common/types/metrics.pyi b/google-stubs/ads/googleads/v15/common/types/metrics.pyi index 3efb31212..fc130ecab 100644 --- a/google-stubs/ads/googleads/v15/common/types/metrics.pyi +++ b/google-stubs/ads/googleads/v15/common/types/metrics.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.interaction_event_type import ( @@ -10,6 +11,8 @@ from google.ads.googleads.v15.enums.types.quality_score_bucket import ( QualityScoreBucketEnum, ) +_M = TypeVar("_M") + class Metrics(proto.Message): absolute_top_impression_percentage: float active_view_cpm: float @@ -188,8 +191,8 @@ class Metrics(proto.Message): unique_users: int average_impression_frequency_per_user: float def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., absolute_top_impression_percentage: float = ..., @@ -374,8 +377,8 @@ class SearchVolumeRange(proto.Message): min_: int max_: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., min_: int = ..., diff --git a/google-stubs/ads/googleads/v15/common/types/offline_user_data.pyi b/google-stubs/ads/googleads/v15/common/types/offline_user_data.pyi index 6e82f1efc..d1808c872 100644 --- a/google-stubs/ads/googleads/v15/common/types/offline_user_data.pyi +++ b/google-stubs/ads/googleads/v15/common/types/offline_user_data.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.consent import Consent @@ -8,12 +9,14 @@ from google.ads.googleads.v15.enums.types.user_identifier_source import ( UserIdentifierSourceEnum, ) +_M = TypeVar("_M") + class CustomerMatchUserListMetadata(proto.Message): user_list: str consent: Consent def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., user_list: str = ..., @@ -25,8 +28,8 @@ class EventAttribute(proto.Message): event_date_time: str item_attribute: MutableSequence[EventItemAttribute] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., event: str = ..., @@ -37,8 +40,8 @@ class EventAttribute(proto.Message): class EventItemAttribute(proto.Message): item_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., item_id: str = ... @@ -51,8 +54,8 @@ class ItemAttribute(proto.Message): language_code: str quantity: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., item_id: str = ..., @@ -71,8 +74,8 @@ class OfflineUserAddressInfo(proto.Message): postal_code: str hashed_street_address: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., hashed_first_name: str = ..., @@ -87,8 +90,8 @@ class OfflineUserAddressInfo(proto.Message): class ShoppingLoyalty(proto.Message): loyalty_tier: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., loyalty_tier: str = ... @@ -97,8 +100,8 @@ class ShoppingLoyalty(proto.Message): class StoreAttribute(proto.Message): store_code: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., store_code: str = ... @@ -110,8 +113,8 @@ class StoreSalesMetadata(proto.Message): custom_key: str third_party_metadata: StoreSalesThirdPartyMetadata def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., loyalty_fraction: float = ..., @@ -128,8 +131,8 @@ class StoreSalesThirdPartyMetadata(proto.Message): bridge_map_version_id: str partner_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., advertiser_upload_date_time: str = ..., @@ -150,8 +153,8 @@ class TransactionAttribute(proto.Message): custom_value: str item_attribute: ItemAttribute def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., transaction_date_time: str = ..., @@ -176,8 +179,8 @@ class UserAttribute(proto.Message): first_purchase_date_time: str event_attribute: MutableSequence[EventAttribute] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., lifetime_value_micros: int = ..., @@ -198,8 +201,8 @@ class UserData(proto.Message): user_attribute: UserAttribute consent: Consent def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., user_identifiers: MutableSequence[UserIdentifier] = ..., @@ -216,8 +219,8 @@ class UserIdentifier(proto.Message): third_party_user_id: str address_info: OfflineUserAddressInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., user_identifier_source: UserIdentifierSourceEnum.UserIdentifierSource = ..., diff --git a/google-stubs/ads/googleads/v15/common/types/policy.pyi b/google-stubs/ads/googleads/v15/common/types/policy.pyi index 264e0a96d..d273d64b9 100644 --- a/google-stubs/ads/googleads/v15/common/types/policy.pyi +++ b/google-stubs/ads/googleads/v15/common/types/policy.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.policy_topic_entry_type import ( @@ -16,12 +17,14 @@ from google.ads.googleads.v15.enums.types.policy_topic_evidence_destination_not_ PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum, ) +_M = TypeVar("_M") + class PolicyTopicConstraint(proto.Message): class CountryConstraint(proto.Message): country_criterion: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., country_criterion: str = ..., @@ -31,8 +34,8 @@ class PolicyTopicConstraint(proto.Message): total_targeted_countries: int countries: MutableSequence[PolicyTopicConstraint.CountryConstraint] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., total_targeted_countries: int = ..., @@ -41,8 +44,8 @@ class PolicyTopicConstraint(proto.Message): class ResellerConstraint(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -52,8 +55,8 @@ class PolicyTopicConstraint(proto.Message): certificate_missing_in_country_list: PolicyTopicConstraint.CountryConstraintList certificate_domain_mismatch_in_country_list: PolicyTopicConstraint.CountryConstraintList def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., country_constraint_list: PolicyTopicConstraint.CountryConstraintList = ..., @@ -68,8 +71,8 @@ class PolicyTopicEntry(proto.Message): evidences: MutableSequence[PolicyTopicEvidence] constraints: MutableSequence[PolicyTopicConstraint] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., topic: str = ..., @@ -84,8 +87,8 @@ class PolicyTopicEvidence(proto.Message): PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType ] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., url_types: MutableSequence[ @@ -100,8 +103,8 @@ class PolicyTopicEvidence(proto.Message): dns_error_type: PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum.PolicyTopicEvidenceDestinationNotWorkingDnsErrorType http_error_code: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., expanded_url: str = ..., @@ -114,8 +117,8 @@ class PolicyTopicEvidence(proto.Message): class DestinationTextList(proto.Message): destination_texts: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., destination_texts: MutableSequence[str] = ..., @@ -124,8 +127,8 @@ class PolicyTopicEvidence(proto.Message): class TextList(proto.Message): texts: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., texts: MutableSequence[str] = ..., @@ -134,8 +137,8 @@ class PolicyTopicEvidence(proto.Message): class WebsiteList(proto.Message): websites: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., websites: MutableSequence[str] = ..., @@ -147,8 +150,8 @@ class PolicyTopicEvidence(proto.Message): destination_mismatch: PolicyTopicEvidence.DestinationMismatch destination_not_working: PolicyTopicEvidence.DestinationNotWorking def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., website_list: PolicyTopicEvidence.WebsiteList = ..., @@ -163,8 +166,8 @@ class PolicyValidationParameter(proto.Message): ignorable_policy_topics: MutableSequence[str] exempt_policy_violation_keys: MutableSequence[PolicyViolationKey] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ignorable_policy_topics: MutableSequence[str] = ..., @@ -175,8 +178,8 @@ class PolicyViolationKey(proto.Message): policy_name: str violating_text: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., policy_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/common/types/policy_summary.pyi b/google-stubs/ads/googleads/v15/common/types/policy_summary.pyi index 89f72e7ed..db5e7d823 100644 --- a/google-stubs/ads/googleads/v15/common/types/policy_summary.pyi +++ b/google-stubs/ads/googleads/v15/common/types/policy_summary.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.policy import PolicyTopicEntry @@ -11,13 +12,15 @@ from google.ads.googleads.v15.enums.types.policy_review_status import ( PolicyReviewStatusEnum, ) +_M = TypeVar("_M") + class PolicySummary(proto.Message): policy_topic_entries: MutableSequence[PolicyTopicEntry] review_status: PolicyReviewStatusEnum.PolicyReviewStatus approval_status: PolicyApprovalStatusEnum.PolicyApprovalStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., policy_topic_entries: MutableSequence[PolicyTopicEntry] = ..., diff --git a/google-stubs/ads/googleads/v15/common/types/real_time_bidding_setting.pyi b/google-stubs/ads/googleads/v15/common/types/real_time_bidding_setting.pyi index f3e10ede5..598df1db3 100644 --- a/google-stubs/ads/googleads/v15/common/types/real_time_bidding_setting.pyi +++ b/google-stubs/ads/googleads/v15/common/types/real_time_bidding_setting.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class RealTimeBiddingSetting(proto.Message): opt_in: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., opt_in: bool = ... diff --git a/google-stubs/ads/googleads/v15/common/types/segments.pyi b/google-stubs/ads/googleads/v15/common/types/segments.pyi index 99b69b250..f4075d2b4 100644 --- a/google-stubs/ads/googleads/v15/common/types/segments.pyi +++ b/google-stubs/ads/googleads/v15/common/types/segments.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.criteria import KeywordInfo @@ -72,12 +74,14 @@ from google.ads.googleads.v15.enums.types.sk_ad_network_user_type import ( ) from google.ads.googleads.v15.enums.types.slot import SlotEnum +_M = TypeVar("_M") + class AssetInteractionTarget(proto.Message): asset: str interaction_on_this_asset: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., asset: str = ..., @@ -88,8 +92,8 @@ class BudgetCampaignAssociationStatus(proto.Message): campaign: str status: BudgetCampaignAssociationStatusEnum.BudgetCampaignAssociationStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., campaign: str = ..., @@ -100,8 +104,8 @@ class Keyword(proto.Message): ad_group_criterion: str info: KeywordInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad_group_criterion: str = ..., @@ -213,8 +217,8 @@ class Segments(proto.Message): asset_interaction_target: AssetInteractionTarget new_versus_returning_customers: ConvertingUserPriorEngagementTypeAndLtvBucketEnum.ConvertingUserPriorEngagementTypeAndLtvBucket def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., activity_account_id: int = ..., @@ -325,8 +329,8 @@ class Segments(proto.Message): class SkAdNetworkSourceApp(proto.Message): sk_ad_network_source_app_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., sk_ad_network_source_app_id: str = ... diff --git a/google-stubs/ads/googleads/v15/common/types/simulation.pyi b/google-stubs/ads/googleads/v15/common/types/simulation.pyi index 4386bd947..b9ff8e7a3 100644 --- a/google-stubs/ads/googleads/v15/common/types/simulation.pyi +++ b/google-stubs/ads/googleads/v15/common/types/simulation.pyi @@ -1,8 +1,11 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BudgetSimulationPoint(proto.Message): budget_amount_micros: int required_cpc_bid_ceiling_micros: int @@ -14,8 +17,8 @@ class BudgetSimulationPoint(proto.Message): top_slot_impressions: int interactions: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., budget_amount_micros: int = ..., @@ -32,8 +35,8 @@ class BudgetSimulationPoint(proto.Message): class BudgetSimulationPointList(proto.Message): points: MutableSequence[BudgetSimulationPoint] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., points: MutableSequence[BudgetSimulationPoint] = ... @@ -50,8 +53,8 @@ class CpcBidSimulationPoint(proto.Message): cpc_bid_micros: int cpc_bid_scaling_modifier: float def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., required_budget_amount_micros: int = ..., @@ -68,8 +71,8 @@ class CpcBidSimulationPoint(proto.Message): class CpcBidSimulationPointList(proto.Message): points: MutableSequence[CpcBidSimulationPoint] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., points: MutableSequence[CpcBidSimulationPoint] = ... @@ -81,8 +84,8 @@ class CpvBidSimulationPoint(proto.Message): impressions: int views: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., cpv_bid_micros: int = ..., @@ -94,8 +97,8 @@ class CpvBidSimulationPoint(proto.Message): class CpvBidSimulationPointList(proto.Message): points: MutableSequence[CpvBidSimulationPoint] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., points: MutableSequence[CpvBidSimulationPoint] = ... @@ -110,8 +113,8 @@ class PercentCpcBidSimulationPoint(proto.Message): impressions: int top_slot_impressions: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., percent_cpc_bid_micros: int = ..., @@ -126,8 +129,8 @@ class PercentCpcBidSimulationPoint(proto.Message): class PercentCpcBidSimulationPointList(proto.Message): points: MutableSequence[PercentCpcBidSimulationPoint] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., points: MutableSequence[PercentCpcBidSimulationPoint] = ... @@ -147,8 +150,8 @@ class TargetCpaSimulationPoint(proto.Message): target_cpa_micros: int target_cpa_scaling_modifier: float def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., required_budget_amount_micros: int = ..., @@ -168,8 +171,8 @@ class TargetCpaSimulationPoint(proto.Message): class TargetCpaSimulationPointList(proto.Message): points: MutableSequence[TargetCpaSimulationPoint] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., points: MutableSequence[TargetCpaSimulationPoint] = ... @@ -187,8 +190,8 @@ class TargetImpressionShareSimulationPoint(proto.Message): top_slot_impressions: int absolute_top_impressions: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_impression_share_micros: int = ..., @@ -206,8 +209,8 @@ class TargetImpressionShareSimulationPoint(proto.Message): class TargetImpressionShareSimulationPointList(proto.Message): points: MutableSequence[TargetImpressionShareSimulationPoint] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., points: MutableSequence[TargetImpressionShareSimulationPoint] = ... @@ -223,8 +226,8 @@ class TargetRoasSimulationPoint(proto.Message): impressions: int top_slot_impressions: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_roas: float = ..., @@ -240,8 +243,8 @@ class TargetRoasSimulationPoint(proto.Message): class TargetRoasSimulationPointList(proto.Message): points: MutableSequence[TargetRoasSimulationPoint] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., points: MutableSequence[TargetRoasSimulationPoint] = ... diff --git a/google-stubs/ads/googleads/v15/common/types/tag_snippet.pyi b/google-stubs/ads/googleads/v15/common/types/tag_snippet.pyi index 9aa5fa678..8fda23544 100644 --- a/google-stubs/ads/googleads/v15/common/types/tag_snippet.pyi +++ b/google-stubs/ads/googleads/v15/common/types/tag_snippet.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.tracking_code_page_format import ( @@ -7,14 +9,16 @@ from google.ads.googleads.v15.enums.types.tracking_code_page_format import ( ) from google.ads.googleads.v15.enums.types.tracking_code_type import TrackingCodeTypeEnum +_M = TypeVar("_M") + class TagSnippet(proto.Message): type_: TrackingCodeTypeEnum.TrackingCodeType page_format: TrackingCodePageFormatEnum.TrackingCodePageFormat global_site_tag: str event_snippet: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., type_: TrackingCodeTypeEnum.TrackingCodeType = ..., diff --git a/google-stubs/ads/googleads/v15/common/types/targeting_setting.pyi b/google-stubs/ads/googleads/v15/common/types/targeting_setting.pyi index 445b405ec..6d9ab9ab7 100644 --- a/google-stubs/ads/googleads/v15/common/types/targeting_setting.pyi +++ b/google-stubs/ads/googleads/v15/common/types/targeting_setting.pyi @@ -1,18 +1,21 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.targeting_dimension import ( TargetingDimensionEnum, ) +_M = TypeVar("_M") + class TargetRestriction(proto.Message): targeting_dimension: TargetingDimensionEnum.TargetingDimension bid_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., targeting_dimension: TargetingDimensionEnum.TargetingDimension = ..., @@ -28,8 +31,8 @@ class TargetRestrictionOperation(proto.Message): operator: TargetRestrictionOperation.Operator value: TargetRestriction def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., operator: TargetRestrictionOperation.Operator = ..., @@ -40,8 +43,8 @@ class TargetingSetting(proto.Message): target_restrictions: MutableSequence[TargetRestriction] target_restriction_operations: MutableSequence[TargetRestrictionOperation] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_restrictions: MutableSequence[TargetRestriction] = ..., diff --git a/google-stubs/ads/googleads/v15/common/types/text_label.pyi b/google-stubs/ads/googleads/v15/common/types/text_label.pyi index 2163a0f56..f04bdc490 100644 --- a/google-stubs/ads/googleads/v15/common/types/text_label.pyi +++ b/google-stubs/ads/googleads/v15/common/types/text_label.pyi @@ -1,13 +1,17 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class TextLabel(proto.Message): background_color: str description: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., background_color: str = ..., diff --git a/google-stubs/ads/googleads/v15/common/types/url_collection.pyi b/google-stubs/ads/googleads/v15/common/types/url_collection.pyi index 3d66b0577..1deb6f8fa 100644 --- a/google-stubs/ads/googleads/v15/common/types/url_collection.pyi +++ b/google-stubs/ads/googleads/v15/common/types/url_collection.pyi @@ -1,16 +1,19 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UrlCollection(proto.Message): url_collection_id: str final_urls: MutableSequence[str] final_mobile_urls: MutableSequence[str] tracking_url_template: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., url_collection_id: str = ..., diff --git a/google-stubs/ads/googleads/v15/common/types/user_lists.pyi b/google-stubs/ads/googleads/v15/common/types/user_lists.pyi index 34e8a2860..4c486f272 100644 --- a/google-stubs/ads/googleads/v15/common/types/user_lists.pyi +++ b/google-stubs/ads/googleads/v15/common/types/user_lists.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.customer_match_upload_key_type import ( @@ -34,11 +35,13 @@ from google.ads.googleads.v15.enums.types.user_list_string_rule_item_operator im UserListStringRuleItemOperatorEnum, ) +_M = TypeVar("_M") + class BasicUserListInfo(proto.Message): actions: MutableSequence[UserListActionInfo] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., actions: MutableSequence[UserListActionInfo] = ... @@ -49,8 +52,8 @@ class CrmBasedUserListInfo(proto.Message): upload_key_type: CustomerMatchUploadKeyTypeEnum.CustomerMatchUploadKeyType data_source_type: UserListCrmDataSourceTypeEnum.UserListCrmDataSourceType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., app_id: str = ..., @@ -62,8 +65,8 @@ class FlexibleRuleOperandInfo(proto.Message): rule: UserListRuleInfo lookback_window_days: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., rule: UserListRuleInfo = ..., @@ -75,8 +78,8 @@ class FlexibleRuleUserListInfo(proto.Message): inclusive_operands: MutableSequence[FlexibleRuleOperandInfo] exclusive_operands: MutableSequence[FlexibleRuleOperandInfo] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., inclusive_rule_operator: UserListFlexibleRuleOperatorEnum.UserListFlexibleRuleOperator = ..., @@ -87,8 +90,8 @@ class FlexibleRuleUserListInfo(proto.Message): class LogicalUserListInfo(proto.Message): rules: MutableSequence[UserListLogicalRuleInfo] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., rules: MutableSequence[UserListLogicalRuleInfo] = ... @@ -97,8 +100,8 @@ class LogicalUserListInfo(proto.Message): class LogicalUserListOperandInfo(proto.Message): user_list: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., user_list: str = ... @@ -109,8 +112,8 @@ class LookalikeUserListInfo(proto.Message): expansion_level: LookalikeExpansionLevelEnum.LookalikeExpansionLevel country_codes: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., seed_user_list_ids: MutableSequence[int] = ..., @@ -122,8 +125,8 @@ class RuleBasedUserListInfo(proto.Message): prepopulation_status: UserListPrepopulationStatusEnum.UserListPrepopulationStatus flexible_rule_user_list: FlexibleRuleUserListInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., prepopulation_status: UserListPrepopulationStatusEnum.UserListPrepopulationStatus = ..., @@ -133,8 +136,8 @@ class RuleBasedUserListInfo(proto.Message): class SimilarUserListInfo(proto.Message): seed_user_list: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., seed_user_list: str = ... @@ -144,8 +147,8 @@ class UserListActionInfo(proto.Message): conversion_action: str remarketing_action: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., conversion_action: str = ..., @@ -157,8 +160,8 @@ class UserListDateRuleItemInfo(proto.Message): value: str offset_in_days: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., operator: UserListDateRuleItemOperatorEnum.UserListDateRuleItemOperator = ..., @@ -170,8 +173,8 @@ class UserListLogicalRuleInfo(proto.Message): operator: UserListLogicalRuleOperatorEnum.UserListLogicalRuleOperator rule_operands: MutableSequence[LogicalUserListOperandInfo] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., operator: UserListLogicalRuleOperatorEnum.UserListLogicalRuleOperator = ..., @@ -182,8 +185,8 @@ class UserListNumberRuleItemInfo(proto.Message): operator: UserListNumberRuleItemOperatorEnum.UserListNumberRuleItemOperator value: float def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., operator: UserListNumberRuleItemOperatorEnum.UserListNumberRuleItemOperator = ..., @@ -194,8 +197,8 @@ class UserListRuleInfo(proto.Message): rule_type: UserListRuleTypeEnum.UserListRuleType rule_item_groups: MutableSequence[UserListRuleItemGroupInfo] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., rule_type: UserListRuleTypeEnum.UserListRuleType = ..., @@ -205,8 +208,8 @@ class UserListRuleInfo(proto.Message): class UserListRuleItemGroupInfo(proto.Message): rule_items: MutableSequence[UserListRuleItemInfo] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., rule_items: MutableSequence[UserListRuleItemInfo] = ... @@ -218,8 +221,8 @@ class UserListRuleItemInfo(proto.Message): string_rule_item: UserListStringRuleItemInfo date_rule_item: UserListDateRuleItemInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., name: str = ..., @@ -232,8 +235,8 @@ class UserListStringRuleItemInfo(proto.Message): operator: UserListStringRuleItemOperatorEnum.UserListStringRuleItemOperator value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., operator: UserListStringRuleItemOperatorEnum.UserListStringRuleItemOperator = ..., diff --git a/google-stubs/ads/googleads/v15/common/types/value.pyi b/google-stubs/ads/googleads/v15/common/types/value.pyi index 85f782a86..413b08163 100644 --- a/google-stubs/ads/googleads/v15/common/types/value.pyi +++ b/google-stubs/ads/googleads/v15/common/types/value.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class Value(proto.Message): boolean_value: bool int64_value: int @@ -9,8 +13,8 @@ class Value(proto.Message): double_value: float string_value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., boolean_value: bool = ..., diff --git a/google-stubs/ads/googleads/v15/enums/types/access_invitation_status.pyi b/google-stubs/ads/googleads/v15/enums/types/access_invitation_status.pyi index 0144ef832..f1ef8d251 100644 --- a/google-stubs/ads/googleads/v15/enums/types/access_invitation_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/access_invitation_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AccessInvitationStatusEnum(proto.Message): class AccessInvitationStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class AccessInvitationStatusEnum(proto.Message): DECLINED = 3 EXPIRED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/access_reason.pyi b/google-stubs/ads/googleads/v15/enums/types/access_reason.pyi index 3baf8d3cd..8f03622f1 100644 --- a/google-stubs/ads/googleads/v15/enums/types/access_reason.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/access_reason.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AccessReasonEnum(proto.Message): class AccessReason(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class AccessReasonEnum(proto.Message): SUBSCRIBED = 5 AFFILIATED = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/access_role.pyi b/google-stubs/ads/googleads/v15/enums/types/access_role.pyi index 8325f47e5..84995e401 100644 --- a/google-stubs/ads/googleads/v15/enums/types/access_role.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/access_role.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AccessRoleEnum(proto.Message): class AccessRole(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class AccessRoleEnum(proto.Message): READ_ONLY = 4 EMAIL_ONLY = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/account_budget_proposal_status.pyi b/google-stubs/ads/googleads/v15/enums/types/account_budget_proposal_status.pyi index 04715bc20..a18e2cf75 100644 --- a/google-stubs/ads/googleads/v15/enums/types/account_budget_proposal_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/account_budget_proposal_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AccountBudgetProposalStatusEnum(proto.Message): class AccountBudgetProposalStatus(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class AccountBudgetProposalStatusEnum(proto.Message): CANCELLED = 5 REJECTED = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/account_budget_proposal_type.pyi b/google-stubs/ads/googleads/v15/enums/types/account_budget_proposal_type.pyi index a422f5b2c..1fe67f9a6 100644 --- a/google-stubs/ads/googleads/v15/enums/types/account_budget_proposal_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/account_budget_proposal_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AccountBudgetProposalTypeEnum(proto.Message): class AccountBudgetProposalType(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class AccountBudgetProposalTypeEnum(proto.Message): END = 4 REMOVE = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/account_budget_status.pyi b/google-stubs/ads/googleads/v15/enums/types/account_budget_status.pyi index 49502be64..93444f9cd 100644 --- a/google-stubs/ads/googleads/v15/enums/types/account_budget_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/account_budget_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AccountBudgetStatusEnum(proto.Message): class AccountBudgetStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class AccountBudgetStatusEnum(proto.Message): APPROVED = 3 CANCELLED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/account_link_status.pyi b/google-stubs/ads/googleads/v15/enums/types/account_link_status.pyi index 09519fa19..7f2124ffe 100644 --- a/google-stubs/ads/googleads/v15/enums/types/account_link_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/account_link_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AccountLinkStatusEnum(proto.Message): class AccountLinkStatus(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class AccountLinkStatusEnum(proto.Message): REJECTED = 6 REVOKED = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/ad_customizer_placeholder_field.pyi b/google-stubs/ads/googleads/v15/enums/types/ad_customizer_placeholder_field.pyi index 8ee21aa8c..d9349f7de 100644 --- a/google-stubs/ads/googleads/v15/enums/types/ad_customizer_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/ad_customizer_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdCustomizerPlaceholderFieldEnum(proto.Message): class AdCustomizerPlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class AdCustomizerPlaceholderFieldEnum(proto.Message): DATE = 4 STRING = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/ad_destination_type.pyi b/google-stubs/ads/googleads/v15/enums/types/ad_destination_type.pyi index 5dfce96f5..ef947f3b5 100644 --- a/google-stubs/ads/googleads/v15/enums/types/ad_destination_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/ad_destination_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdDestinationTypeEnum(proto.Message): class AdDestinationType(proto.Enum): UNSPECIFIED = 0 @@ -18,8 +22,8 @@ class AdDestinationTypeEnum(proto.Message): YOUTUBE = 11 UNMODELED_FOR_CONVERSIONS = 12 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/ad_group_ad_rotation_mode.pyi b/google-stubs/ads/googleads/v15/enums/types/ad_group_ad_rotation_mode.pyi index b09340880..c20df7a70 100644 --- a/google-stubs/ads/googleads/v15/enums/types/ad_group_ad_rotation_mode.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/ad_group_ad_rotation_mode.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupAdRotationModeEnum(proto.Message): class AdGroupAdRotationMode(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class AdGroupAdRotationModeEnum(proto.Message): OPTIMIZE = 2 ROTATE_FOREVER = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/ad_group_ad_status.pyi b/google-stubs/ads/googleads/v15/enums/types/ad_group_ad_status.pyi index 18736b645..55ad7217b 100644 --- a/google-stubs/ads/googleads/v15/enums/types/ad_group_ad_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/ad_group_ad_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupAdStatusEnum(proto.Message): class AdGroupAdStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class AdGroupAdStatusEnum(proto.Message): PAUSED = 3 REMOVED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/ad_group_criterion_approval_status.pyi b/google-stubs/ads/googleads/v15/enums/types/ad_group_criterion_approval_status.pyi index e5046a043..65eeb8e9d 100644 --- a/google-stubs/ads/googleads/v15/enums/types/ad_group_criterion_approval_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/ad_group_criterion_approval_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupCriterionApprovalStatusEnum(proto.Message): class AdGroupCriterionApprovalStatus(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class AdGroupCriterionApprovalStatusEnum(proto.Message): PENDING_REVIEW = 4 UNDER_REVIEW = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/ad_group_criterion_status.pyi b/google-stubs/ads/googleads/v15/enums/types/ad_group_criterion_status.pyi index a9e4f5217..b462d85a6 100644 --- a/google-stubs/ads/googleads/v15/enums/types/ad_group_criterion_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/ad_group_criterion_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupCriterionStatusEnum(proto.Message): class AdGroupCriterionStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class AdGroupCriterionStatusEnum(proto.Message): PAUSED = 3 REMOVED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/ad_group_status.pyi b/google-stubs/ads/googleads/v15/enums/types/ad_group_status.pyi index 5b1b65cc8..54d58bfed 100644 --- a/google-stubs/ads/googleads/v15/enums/types/ad_group_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/ad_group_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupStatusEnum(proto.Message): class AdGroupStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class AdGroupStatusEnum(proto.Message): PAUSED = 3 REMOVED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/ad_group_type.pyi b/google-stubs/ads/googleads/v15/enums/types/ad_group_type.pyi index 899a462d2..46160fd45 100644 --- a/google-stubs/ads/googleads/v15/enums/types/ad_group_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/ad_group_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupTypeEnum(proto.Message): class AdGroupType(proto.Enum): UNSPECIFIED = 0 @@ -24,8 +28,8 @@ class AdGroupTypeEnum(proto.Message): SMART_CAMPAIGN_ADS = 18 TRAVEL_ADS = 19 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/ad_network_type.pyi b/google-stubs/ads/googleads/v15/enums/types/ad_network_type.pyi index c63805071..fd8c77623 100644 --- a/google-stubs/ads/googleads/v15/enums/types/ad_network_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/ad_network_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdNetworkTypeEnum(proto.Message): class AdNetworkType(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class AdNetworkTypeEnum(proto.Message): YOUTUBE = 8 GOOGLE_TV = 9 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/ad_serving_optimization_status.pyi b/google-stubs/ads/googleads/v15/enums/types/ad_serving_optimization_status.pyi index fcba8268b..29388f428 100644 --- a/google-stubs/ads/googleads/v15/enums/types/ad_serving_optimization_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/ad_serving_optimization_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdServingOptimizationStatusEnum(proto.Message): class AdServingOptimizationStatus(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class AdServingOptimizationStatusEnum(proto.Message): ROTATE_INDEFINITELY = 5 UNAVAILABLE = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/ad_strength.pyi b/google-stubs/ads/googleads/v15/enums/types/ad_strength.pyi index 857bd3bae..e1a513354 100644 --- a/google-stubs/ads/googleads/v15/enums/types/ad_strength.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/ad_strength.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdStrengthEnum(proto.Message): class AdStrength(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class AdStrengthEnum(proto.Message): GOOD = 6 EXCELLENT = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/ad_type.pyi b/google-stubs/ads/googleads/v15/enums/types/ad_type.pyi index b7950deb5..c870f929f 100644 --- a/google-stubs/ads/googleads/v15/enums/types/ad_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/ad_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdTypeEnum(proto.Message): class AdType(proto.Enum): UNSPECIFIED = 0 @@ -38,8 +42,8 @@ class AdTypeEnum(proto.Message): TRAVEL_AD = 37 DISCOVERY_VIDEO_RESPONSIVE_AD = 38 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/advertising_channel_sub_type.pyi b/google-stubs/ads/googleads/v15/enums/types/advertising_channel_sub_type.pyi index c216a9353..4c0c9dedc 100644 --- a/google-stubs/ads/googleads/v15/enums/types/advertising_channel_sub_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/advertising_channel_sub_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdvertisingChannelSubTypeEnum(proto.Message): class AdvertisingChannelSubType(proto.Enum): UNSPECIFIED = 0 @@ -26,8 +30,8 @@ class AdvertisingChannelSubTypeEnum(proto.Message): VIDEO_REACH_TARGET_FREQUENCY = 19 TRAVEL_ACTIVITIES = 20 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/advertising_channel_type.pyi b/google-stubs/ads/googleads/v15/enums/types/advertising_channel_type.pyi index 8650bfb12..31088a341 100644 --- a/google-stubs/ads/googleads/v15/enums/types/advertising_channel_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/advertising_channel_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdvertisingChannelTypeEnum(proto.Message): class AdvertisingChannelType(proto.Enum): UNSPECIFIED = 0 @@ -19,8 +23,8 @@ class AdvertisingChannelTypeEnum(proto.Message): DISCOVERY = 12 TRAVEL = 13 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/affiliate_location_feed_relationship_type.pyi b/google-stubs/ads/googleads/v15/enums/types/affiliate_location_feed_relationship_type.pyi index 060a68a28..9e07f6b4a 100644 --- a/google-stubs/ads/googleads/v15/enums/types/affiliate_location_feed_relationship_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/affiliate_location_feed_relationship_type.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AffiliateLocationFeedRelationshipTypeEnum(proto.Message): class AffiliateLocationFeedRelationshipType(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 GENERAL_RETAILER = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/affiliate_location_placeholder_field.pyi b/google-stubs/ads/googleads/v15/enums/types/affiliate_location_placeholder_field.pyi index 79d5b8637..d7f9e5b55 100644 --- a/google-stubs/ads/googleads/v15/enums/types/affiliate_location_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/affiliate_location_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AffiliateLocationPlaceholderFieldEnum(proto.Message): class AffiliateLocationPlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -18,8 +22,8 @@ class AffiliateLocationPlaceholderFieldEnum(proto.Message): CHAIN_ID = 11 CHAIN_NAME = 12 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/age_range_type.pyi b/google-stubs/ads/googleads/v15/enums/types/age_range_type.pyi index 56eb21dcc..8bf34e197 100644 --- a/google-stubs/ads/googleads/v15/enums/types/age_range_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/age_range_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AgeRangeTypeEnum(proto.Message): class AgeRangeType(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class AgeRangeTypeEnum(proto.Message): AGE_RANGE_65_UP = 503006 AGE_RANGE_UNDETERMINED = 503999 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/android_privacy_interaction_type.pyi b/google-stubs/ads/googleads/v15/enums/types/android_privacy_interaction_type.pyi index 4cdadb06b..6d9ec27fa 100644 --- a/google-stubs/ads/googleads/v15/enums/types/android_privacy_interaction_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/android_privacy_interaction_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AndroidPrivacyInteractionTypeEnum(proto.Message): class AndroidPrivacyInteractionType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class AndroidPrivacyInteractionTypeEnum(proto.Message): ENGAGED_VIEW = 3 VIEW = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/android_privacy_network_type.pyi b/google-stubs/ads/googleads/v15/enums/types/android_privacy_network_type.pyi index 267768146..4ad1e2c3a 100644 --- a/google-stubs/ads/googleads/v15/enums/types/android_privacy_network_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/android_privacy_network_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AndroidPrivacyNetworkTypeEnum(proto.Message): class AndroidPrivacyNetworkType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class AndroidPrivacyNetworkTypeEnum(proto.Message): DISPLAY = 3 YOUTUBE = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/app_bidding_goal.pyi b/google-stubs/ads/googleads/v15/enums/types/app_bidding_goal.pyi index 85e0d6550..19479db12 100644 --- a/google-stubs/ads/googleads/v15/enums/types/app_bidding_goal.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/app_bidding_goal.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AppBiddingGoalEnum(proto.Message): class AppBiddingGoal(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class AppBiddingGoalEnum(proto.Message): OPTIMIZE_FOR_INSTALL_CONVERSION_VOLUME_WITHOUT_TARGET_CPI = 7 OPTIMIZE_FOR_PRE_REGISTRATION_CONVERSION_VOLUME = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/app_campaign_app_store.pyi b/google-stubs/ads/googleads/v15/enums/types/app_campaign_app_store.pyi index 998b5aff4..cbcdd1b9a 100644 --- a/google-stubs/ads/googleads/v15/enums/types/app_campaign_app_store.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/app_campaign_app_store.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AppCampaignAppStoreEnum(proto.Message): class AppCampaignAppStore(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class AppCampaignAppStoreEnum(proto.Message): APPLE_APP_STORE = 2 GOOGLE_APP_STORE = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/app_campaign_bidding_strategy_goal_type.pyi b/google-stubs/ads/googleads/v15/enums/types/app_campaign_bidding_strategy_goal_type.pyi index d74de383a..1a6788451 100644 --- a/google-stubs/ads/googleads/v15/enums/types/app_campaign_bidding_strategy_goal_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/app_campaign_bidding_strategy_goal_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AppCampaignBiddingStrategyGoalTypeEnum(proto.Message): class AppCampaignBiddingStrategyGoalType(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class AppCampaignBiddingStrategyGoalTypeEnum(proto.Message): OPTIMIZE_PRE_REGISTRATION_CONVERSION_VOLUME = 6 OPTIMIZE_INSTALLS_WITHOUT_TARGET_INSTALL_COST = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/app_payment_model_type.pyi b/google-stubs/ads/googleads/v15/enums/types/app_payment_model_type.pyi index 677dcd1f0..03c16d568 100644 --- a/google-stubs/ads/googleads/v15/enums/types/app_payment_model_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/app_payment_model_type.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AppPaymentModelTypeEnum(proto.Message): class AppPaymentModelType(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 PAID = 30 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/app_placeholder_field.pyi b/google-stubs/ads/googleads/v15/enums/types/app_placeholder_field.pyi index 4d9546068..a3ff99379 100644 --- a/google-stubs/ads/googleads/v15/enums/types/app_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/app_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AppPlaceholderFieldEnum(proto.Message): class AppPlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -15,8 +19,8 @@ class AppPlaceholderFieldEnum(proto.Message): TRACKING_URL = 8 FINAL_URL_SUFFIX = 9 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/app_store.pyi b/google-stubs/ads/googleads/v15/enums/types/app_store.pyi index a5c494875..855600e03 100644 --- a/google-stubs/ads/googleads/v15/enums/types/app_store.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/app_store.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AppStoreEnum(proto.Message): class AppStore(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class AppStoreEnum(proto.Message): APPLE_ITUNES = 2 GOOGLE_PLAY = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/app_url_operating_system_type.pyi b/google-stubs/ads/googleads/v15/enums/types/app_url_operating_system_type.pyi index 3fa7f4bba..9d040802a 100644 --- a/google-stubs/ads/googleads/v15/enums/types/app_url_operating_system_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/app_url_operating_system_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AppUrlOperatingSystemTypeEnum(proto.Message): class AppUrlOperatingSystemType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class AppUrlOperatingSystemTypeEnum(proto.Message): IOS = 2 ANDROID = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/asset_automation_status.pyi b/google-stubs/ads/googleads/v15/enums/types/asset_automation_status.pyi index a68edb3bc..45e45dc51 100644 --- a/google-stubs/ads/googleads/v15/enums/types/asset_automation_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/asset_automation_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetAutomationStatusEnum(proto.Message): class AssetAutomationStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class AssetAutomationStatusEnum(proto.Message): OPTED_IN = 2 OPTED_OUT = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/asset_automation_type.pyi b/google-stubs/ads/googleads/v15/enums/types/asset_automation_type.pyi index 62057ec0d..3214477c2 100644 --- a/google-stubs/ads/googleads/v15/enums/types/asset_automation_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/asset_automation_type.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetAutomationTypeEnum(proto.Message): class AssetAutomationType(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 TEXT_ASSET_AUTOMATION = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/asset_field_type.pyi b/google-stubs/ads/googleads/v15/enums/types/asset_field_type.pyi index e677fd10e..3d4badb98 100644 --- a/google-stubs/ads/googleads/v15/enums/types/asset_field_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/asset_field_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetFieldTypeEnum(proto.Message): class AssetFieldType(proto.Enum): UNSPECIFIED = 0 @@ -34,8 +38,8 @@ class AssetFieldTypeEnum(proto.Message): BUSINESS_LOGO = 27 HOTEL_PROPERTY = 28 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/asset_group_primary_status.pyi b/google-stubs/ads/googleads/v15/enums/types/asset_group_primary_status.pyi index 016a0d7f6..15235c44e 100644 --- a/google-stubs/ads/googleads/v15/enums/types/asset_group_primary_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/asset_group_primary_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetGroupPrimaryStatusEnum(proto.Message): class AssetGroupPrimaryStatus(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class AssetGroupPrimaryStatusEnum(proto.Message): LIMITED = 6 PENDING = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/asset_group_primary_status_reason.pyi b/google-stubs/ads/googleads/v15/enums/types/asset_group_primary_status_reason.pyi index 763b79aee..b70c399f7 100644 --- a/google-stubs/ads/googleads/v15/enums/types/asset_group_primary_status_reason.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/asset_group_primary_status_reason.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetGroupPrimaryStatusReasonEnum(proto.Message): class AssetGroupPrimaryStatusReason(proto.Enum): UNSPECIFIED = 0 @@ -16,8 +20,8 @@ class AssetGroupPrimaryStatusReasonEnum(proto.Message): ASSET_GROUP_DISAPPROVED = 9 ASSET_GROUP_UNDER_REVIEW = 10 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/asset_group_signal_approval_status.pyi b/google-stubs/ads/googleads/v15/enums/types/asset_group_signal_approval_status.pyi index 3ad889f42..89ea9de99 100644 --- a/google-stubs/ads/googleads/v15/enums/types/asset_group_signal_approval_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/asset_group_signal_approval_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetGroupSignalApprovalStatusEnum(proto.Message): class AssetGroupSignalApprovalStatus(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class AssetGroupSignalApprovalStatusEnum(proto.Message): DISAPPROVED = 4 UNDER_REVIEW = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/asset_group_status.pyi b/google-stubs/ads/googleads/v15/enums/types/asset_group_status.pyi index b5d694a23..4a8daa7a9 100644 --- a/google-stubs/ads/googleads/v15/enums/types/asset_group_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/asset_group_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetGroupStatusEnum(proto.Message): class AssetGroupStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class AssetGroupStatusEnum(proto.Message): PAUSED = 3 REMOVED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/asset_link_primary_status.pyi b/google-stubs/ads/googleads/v15/enums/types/asset_link_primary_status.pyi index abac7c911..ebaedcb66 100644 --- a/google-stubs/ads/googleads/v15/enums/types/asset_link_primary_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/asset_link_primary_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetLinkPrimaryStatusEnum(proto.Message): class AssetLinkPrimaryStatus(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class AssetLinkPrimaryStatusEnum(proto.Message): LIMITED = 6 NOT_ELIGIBLE = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/asset_link_primary_status_reason.pyi b/google-stubs/ads/googleads/v15/enums/types/asset_link_primary_status_reason.pyi index 34d93bf0b..3458b8c2c 100644 --- a/google-stubs/ads/googleads/v15/enums/types/asset_link_primary_status_reason.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/asset_link_primary_status_reason.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetLinkPrimaryStatusReasonEnum(proto.Message): class AssetLinkPrimaryStatusReason(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class AssetLinkPrimaryStatusReasonEnum(proto.Message): ASSET_UNDER_REVIEW = 5 ASSET_APPROVED_LABELED = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/asset_link_status.pyi b/google-stubs/ads/googleads/v15/enums/types/asset_link_status.pyi index 2025c1b96..02908f8b8 100644 --- a/google-stubs/ads/googleads/v15/enums/types/asset_link_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/asset_link_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetLinkStatusEnum(proto.Message): class AssetLinkStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class AssetLinkStatusEnum(proto.Message): REMOVED = 3 PAUSED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/asset_offline_evaluation_error_reasons.pyi b/google-stubs/ads/googleads/v15/enums/types/asset_offline_evaluation_error_reasons.pyi index 591cdc8bd..f93830924 100644 --- a/google-stubs/ads/googleads/v15/enums/types/asset_offline_evaluation_error_reasons.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/asset_offline_evaluation_error_reasons.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetOfflineEvaluationErrorReasonsEnum(proto.Message): class AssetOfflineEvaluationErrorReasons(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class AssetOfflineEvaluationErrorReasonsEnum(proto.Message): PRICE_ASSET_UNSUPPORTED_LANGUAGE = 7 PRICE_ASSET_OTHER_ERROR = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/asset_performance_label.pyi b/google-stubs/ads/googleads/v15/enums/types/asset_performance_label.pyi index fa17d02a2..262997b23 100644 --- a/google-stubs/ads/googleads/v15/enums/types/asset_performance_label.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/asset_performance_label.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetPerformanceLabelEnum(proto.Message): class AssetPerformanceLabel(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class AssetPerformanceLabelEnum(proto.Message): GOOD = 5 BEST = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/asset_set_asset_status.pyi b/google-stubs/ads/googleads/v15/enums/types/asset_set_asset_status.pyi index 3b93c6240..009ec5b4a 100644 --- a/google-stubs/ads/googleads/v15/enums/types/asset_set_asset_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/asset_set_asset_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetSetAssetStatusEnum(proto.Message): class AssetSetAssetStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class AssetSetAssetStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/asset_set_link_status.pyi b/google-stubs/ads/googleads/v15/enums/types/asset_set_link_status.pyi index d4523ea22..a8c21d4f2 100644 --- a/google-stubs/ads/googleads/v15/enums/types/asset_set_link_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/asset_set_link_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetSetLinkStatusEnum(proto.Message): class AssetSetLinkStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class AssetSetLinkStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/asset_set_status.pyi b/google-stubs/ads/googleads/v15/enums/types/asset_set_status.pyi index 06bc41a5b..79e27474f 100644 --- a/google-stubs/ads/googleads/v15/enums/types/asset_set_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/asset_set_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetSetStatusEnum(proto.Message): class AssetSetStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class AssetSetStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/asset_set_type.pyi b/google-stubs/ads/googleads/v15/enums/types/asset_set_type.pyi index 9d75e314c..a6a87ddb2 100644 --- a/google-stubs/ads/googleads/v15/enums/types/asset_set_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/asset_set_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetSetTypeEnum(proto.Message): class AssetSetType(proto.Enum): UNSPECIFIED = 0 @@ -22,8 +26,8 @@ class AssetSetTypeEnum(proto.Message): STATIC_LOCATION_GROUP = 15 HOTEL_PROPERTY = 16 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/asset_source.pyi b/google-stubs/ads/googleads/v15/enums/types/asset_source.pyi index 652542393..5fd0f9c95 100644 --- a/google-stubs/ads/googleads/v15/enums/types/asset_source.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/asset_source.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetSourceEnum(proto.Message): class AssetSource(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class AssetSourceEnum(proto.Message): ADVERTISER = 2 AUTOMATICALLY_CREATED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/asset_type.pyi b/google-stubs/ads/googleads/v15/enums/types/asset_type.pyi index 8562ee419..870c65049 100644 --- a/google-stubs/ads/googleads/v15/enums/types/asset_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/asset_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetTypeEnum(proto.Message): class AssetType(proto.Enum): UNSPECIFIED = 0 @@ -34,8 +38,8 @@ class AssetTypeEnum(proto.Message): LOCATION = 27 HOTEL_PROPERTY = 28 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/async_action_status.pyi b/google-stubs/ads/googleads/v15/enums/types/async_action_status.pyi index 9988a8d52..332523ec5 100644 --- a/google-stubs/ads/googleads/v15/enums/types/async_action_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/async_action_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AsyncActionStatusEnum(proto.Message): class AsyncActionStatus(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class AsyncActionStatusEnum(proto.Message): FAILED = 5 COMPLETED_WITH_WARNING = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/attribution_model.pyi b/google-stubs/ads/googleads/v15/enums/types/attribution_model.pyi index 5c9cebc34..25ec22ba0 100644 --- a/google-stubs/ads/googleads/v15/enums/types/attribution_model.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/attribution_model.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AttributionModelEnum(proto.Message): class AttributionModel(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class AttributionModelEnum(proto.Message): GOOGLE_SEARCH_ATTRIBUTION_POSITION_BASED = 105 GOOGLE_SEARCH_ATTRIBUTION_DATA_DRIVEN = 106 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/audience_insights_dimension.pyi b/google-stubs/ads/googleads/v15/enums/types/audience_insights_dimension.pyi index ee01f2646..05c0284bb 100644 --- a/google-stubs/ads/googleads/v15/enums/types/audience_insights_dimension.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/audience_insights_dimension.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AudienceInsightsDimensionEnum(proto.Message): class AudienceInsightsDimension(proto.Enum): UNSPECIFIED = 0 @@ -19,8 +23,8 @@ class AudienceInsightsDimensionEnum(proto.Message): AGE_RANGE = 12 GENDER = 13 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/audience_scope.pyi b/google-stubs/ads/googleads/v15/enums/types/audience_scope.pyi index 62a4864e7..a15914081 100644 --- a/google-stubs/ads/googleads/v15/enums/types/audience_scope.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/audience_scope.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AudienceScopeEnum(proto.Message): class AudienceScope(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class AudienceScopeEnum(proto.Message): CUSTOMER = 2 ASSET_GROUP = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/audience_status.pyi b/google-stubs/ads/googleads/v15/enums/types/audience_status.pyi index bfb5e8170..c1755088f 100644 --- a/google-stubs/ads/googleads/v15/enums/types/audience_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/audience_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AudienceStatusEnum(proto.Message): class AudienceStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class AudienceStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/batch_job_status.pyi b/google-stubs/ads/googleads/v15/enums/types/batch_job_status.pyi index a2f46c5ea..e9940345f 100644 --- a/google-stubs/ads/googleads/v15/enums/types/batch_job_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/batch_job_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BatchJobStatusEnum(proto.Message): class BatchJobStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class BatchJobStatusEnum(proto.Message): RUNNING = 3 DONE = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/bid_modifier_source.pyi b/google-stubs/ads/googleads/v15/enums/types/bid_modifier_source.pyi index cad024985..54ffd35c3 100644 --- a/google-stubs/ads/googleads/v15/enums/types/bid_modifier_source.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/bid_modifier_source.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BidModifierSourceEnum(proto.Message): class BidModifierSource(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class BidModifierSourceEnum(proto.Message): CAMPAIGN = 2 AD_GROUP = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/bidding_source.pyi b/google-stubs/ads/googleads/v15/enums/types/bidding_source.pyi index e4edf91d1..3fccb8467 100644 --- a/google-stubs/ads/googleads/v15/enums/types/bidding_source.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/bidding_source.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BiddingSourceEnum(proto.Message): class BiddingSource(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class BiddingSourceEnum(proto.Message): AD_GROUP = 6 AD_GROUP_CRITERION = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/bidding_strategy_status.pyi b/google-stubs/ads/googleads/v15/enums/types/bidding_strategy_status.pyi index d566603f8..a135b1c32 100644 --- a/google-stubs/ads/googleads/v15/enums/types/bidding_strategy_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/bidding_strategy_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BiddingStrategyStatusEnum(proto.Message): class BiddingStrategyStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class BiddingStrategyStatusEnum(proto.Message): ENABLED = 2 REMOVED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/bidding_strategy_system_status.pyi b/google-stubs/ads/googleads/v15/enums/types/bidding_strategy_system_status.pyi index c22919c6a..26be3af2c 100644 --- a/google-stubs/ads/googleads/v15/enums/types/bidding_strategy_system_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/bidding_strategy_system_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BiddingStrategySystemStatusEnum(proto.Message): class BiddingStrategySystemStatus(proto.Enum): UNSPECIFIED = 0 @@ -32,8 +36,8 @@ class BiddingStrategySystemStatusEnum(proto.Message): MULTIPLE_MISCONFIGURED = 25 MULTIPLE = 26 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/bidding_strategy_type.pyi b/google-stubs/ads/googleads/v15/enums/types/bidding_strategy_type.pyi index 293877f8c..e0be67b63 100644 --- a/google-stubs/ads/googleads/v15/enums/types/bidding_strategy_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/bidding_strategy_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BiddingStrategyTypeEnum(proto.Message): class BiddingStrategyType(proto.Enum): UNSPECIFIED = 0 @@ -24,8 +28,8 @@ class BiddingStrategyTypeEnum(proto.Message): TARGET_ROAS = 8 TARGET_SPEND = 9 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/billing_setup_status.pyi b/google-stubs/ads/googleads/v15/enums/types/billing_setup_status.pyi index cbc45cd09..6d581e5c8 100644 --- a/google-stubs/ads/googleads/v15/enums/types/billing_setup_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/billing_setup_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BillingSetupStatusEnum(proto.Message): class BillingSetupStatus(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class BillingSetupStatusEnum(proto.Message): APPROVED = 4 CANCELLED = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/brand_safety_suitability.pyi b/google-stubs/ads/googleads/v15/enums/types/brand_safety_suitability.pyi index bf0599bb0..d53277195 100644 --- a/google-stubs/ads/googleads/v15/enums/types/brand_safety_suitability.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/brand_safety_suitability.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BrandSafetySuitabilityEnum(proto.Message): class BrandSafetySuitability(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class BrandSafetySuitabilityEnum(proto.Message): STANDARD_INVENTORY = 3 LIMITED_INVENTORY = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/brand_state.pyi b/google-stubs/ads/googleads/v15/enums/types/brand_state.pyi index 54aa82682..14b14e3cc 100644 --- a/google-stubs/ads/googleads/v15/enums/types/brand_state.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/brand_state.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BrandStateEnum(proto.Message): class BrandState(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class BrandStateEnum(proto.Message): CANCELLED = 6 REJECTED = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/budget_campaign_association_status.pyi b/google-stubs/ads/googleads/v15/enums/types/budget_campaign_association_status.pyi index 7533917f9..27fd9be2d 100644 --- a/google-stubs/ads/googleads/v15/enums/types/budget_campaign_association_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/budget_campaign_association_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BudgetCampaignAssociationStatusEnum(proto.Message): class BudgetCampaignAssociationStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class BudgetCampaignAssociationStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/budget_delivery_method.pyi b/google-stubs/ads/googleads/v15/enums/types/budget_delivery_method.pyi index 733fc1805..45d24a947 100644 --- a/google-stubs/ads/googleads/v15/enums/types/budget_delivery_method.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/budget_delivery_method.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BudgetDeliveryMethodEnum(proto.Message): class BudgetDeliveryMethod(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class BudgetDeliveryMethodEnum(proto.Message): STANDARD = 2 ACCELERATED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/budget_period.pyi b/google-stubs/ads/googleads/v15/enums/types/budget_period.pyi index f1038f474..c6aa00df0 100644 --- a/google-stubs/ads/googleads/v15/enums/types/budget_period.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/budget_period.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BudgetPeriodEnum(proto.Message): class BudgetPeriod(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class BudgetPeriodEnum(proto.Message): DAILY = 2 CUSTOM_PERIOD = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/budget_status.pyi b/google-stubs/ads/googleads/v15/enums/types/budget_status.pyi index f51b6d3fa..9dada6790 100644 --- a/google-stubs/ads/googleads/v15/enums/types/budget_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/budget_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BudgetStatusEnum(proto.Message): class BudgetStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class BudgetStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/budget_type.pyi b/google-stubs/ads/googleads/v15/enums/types/budget_type.pyi index a414891f7..26cc0b18a 100644 --- a/google-stubs/ads/googleads/v15/enums/types/budget_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/budget_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BudgetTypeEnum(proto.Message): class BudgetType(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class BudgetTypeEnum(proto.Message): SMART_CAMPAIGN = 5 LOCAL_SERVICES = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/call_conversion_reporting_state.pyi b/google-stubs/ads/googleads/v15/enums/types/call_conversion_reporting_state.pyi index ac5d688c9..c0276202b 100644 --- a/google-stubs/ads/googleads/v15/enums/types/call_conversion_reporting_state.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/call_conversion_reporting_state.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CallConversionReportingStateEnum(proto.Message): class CallConversionReportingState(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class CallConversionReportingStateEnum(proto.Message): USE_ACCOUNT_LEVEL_CALL_CONVERSION_ACTION = 3 USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/call_placeholder_field.pyi b/google-stubs/ads/googleads/v15/enums/types/call_placeholder_field.pyi index b606606cf..9d78457f5 100644 --- a/google-stubs/ads/googleads/v15/enums/types/call_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/call_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CallPlaceholderFieldEnum(proto.Message): class CallPlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class CallPlaceholderFieldEnum(proto.Message): CONVERSION_TYPE_ID = 5 CONVERSION_REPORTING_STATE = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/call_to_action_type.pyi b/google-stubs/ads/googleads/v15/enums/types/call_to_action_type.pyi index cd298a005..edb149973 100644 --- a/google-stubs/ads/googleads/v15/enums/types/call_to_action_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/call_to_action_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CallToActionTypeEnum(proto.Message): class CallToActionType(proto.Enum): UNSPECIFIED = 0 @@ -24,8 +28,8 @@ class CallToActionTypeEnum(proto.Message): VISIT_SITE = 17 WATCH_NOW = 18 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/call_tracking_display_location.pyi b/google-stubs/ads/googleads/v15/enums/types/call_tracking_display_location.pyi index 0ca454109..393d6c499 100644 --- a/google-stubs/ads/googleads/v15/enums/types/call_tracking_display_location.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/call_tracking_display_location.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CallTrackingDisplayLocationEnum(proto.Message): class CallTrackingDisplayLocation(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class CallTrackingDisplayLocationEnum(proto.Message): AD = 2 LANDING_PAGE = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/call_type.pyi b/google-stubs/ads/googleads/v15/enums/types/call_type.pyi index d4884852d..52a427d35 100644 --- a/google-stubs/ads/googleads/v15/enums/types/call_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/call_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CallTypeEnum(proto.Message): class CallType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class CallTypeEnum(proto.Message): MANUALLY_DIALED = 2 HIGH_END_MOBILE_SEARCH = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/callout_placeholder_field.pyi b/google-stubs/ads/googleads/v15/enums/types/callout_placeholder_field.pyi index eb865b088..d611a5efb 100644 --- a/google-stubs/ads/googleads/v15/enums/types/callout_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/callout_placeholder_field.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CalloutPlaceholderFieldEnum(proto.Message): class CalloutPlaceholderField(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 CALLOUT_TEXT = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/campaign_criterion_status.pyi b/google-stubs/ads/googleads/v15/enums/types/campaign_criterion_status.pyi index 723a1ef1a..7573390da 100644 --- a/google-stubs/ads/googleads/v15/enums/types/campaign_criterion_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/campaign_criterion_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignCriterionStatusEnum(proto.Message): class CampaignCriterionStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class CampaignCriterionStatusEnum(proto.Message): PAUSED = 3 REMOVED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/campaign_draft_status.pyi b/google-stubs/ads/googleads/v15/enums/types/campaign_draft_status.pyi index e30985695..be864c70e 100644 --- a/google-stubs/ads/googleads/v15/enums/types/campaign_draft_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/campaign_draft_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignDraftStatusEnum(proto.Message): class CampaignDraftStatus(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class CampaignDraftStatusEnum(proto.Message): PROMOTED = 4 PROMOTE_FAILED = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/campaign_experiment_type.pyi b/google-stubs/ads/googleads/v15/enums/types/campaign_experiment_type.pyi index 284046ea4..13fdc661d 100644 --- a/google-stubs/ads/googleads/v15/enums/types/campaign_experiment_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/campaign_experiment_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignExperimentTypeEnum(proto.Message): class CampaignExperimentType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class CampaignExperimentTypeEnum(proto.Message): DRAFT = 3 EXPERIMENT = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/campaign_group_status.pyi b/google-stubs/ads/googleads/v15/enums/types/campaign_group_status.pyi index b30989e6e..f1c62c749 100644 --- a/google-stubs/ads/googleads/v15/enums/types/campaign_group_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/campaign_group_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignGroupStatusEnum(proto.Message): class CampaignGroupStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class CampaignGroupStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/campaign_primary_status.pyi b/google-stubs/ads/googleads/v15/enums/types/campaign_primary_status.pyi index f950bbef0..e958a6ede 100644 --- a/google-stubs/ads/googleads/v15/enums/types/campaign_primary_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/campaign_primary_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignPrimaryStatusEnum(proto.Message): class CampaignPrimaryStatus(proto.Enum): UNSPECIFIED = 0 @@ -16,8 +20,8 @@ class CampaignPrimaryStatusEnum(proto.Message): LEARNING = 9 NOT_ELIGIBLE = 10 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/campaign_primary_status_reason.pyi b/google-stubs/ads/googleads/v15/enums/types/campaign_primary_status_reason.pyi index 93a890c1a..d7ef529c2 100644 --- a/google-stubs/ads/googleads/v15/enums/types/campaign_primary_status_reason.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/campaign_primary_status_reason.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignPrimaryStatusReasonEnum(proto.Message): class CampaignPrimaryStatusReason(proto.Enum): UNSPECIFIED = 0 @@ -44,8 +48,8 @@ class CampaignPrimaryStatusReasonEnum(proto.Message): NO_ASSET_GROUPS = 37 ASSET_GROUPS_PAUSED = 38 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/campaign_serving_status.pyi b/google-stubs/ads/googleads/v15/enums/types/campaign_serving_status.pyi index 804032bdc..a3a4af519 100644 --- a/google-stubs/ads/googleads/v15/enums/types/campaign_serving_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/campaign_serving_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignServingStatusEnum(proto.Message): class CampaignServingStatus(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class CampaignServingStatusEnum(proto.Message): PENDING = 5 SUSPENDED = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/campaign_shared_set_status.pyi b/google-stubs/ads/googleads/v15/enums/types/campaign_shared_set_status.pyi index 64b803cb2..2036bc2ca 100644 --- a/google-stubs/ads/googleads/v15/enums/types/campaign_shared_set_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/campaign_shared_set_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignSharedSetStatusEnum(proto.Message): class CampaignSharedSetStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class CampaignSharedSetStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/campaign_status.pyi b/google-stubs/ads/googleads/v15/enums/types/campaign_status.pyi index b11ade9c4..54e899d07 100644 --- a/google-stubs/ads/googleads/v15/enums/types/campaign_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/campaign_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignStatusEnum(proto.Message): class CampaignStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class CampaignStatusEnum(proto.Message): PAUSED = 3 REMOVED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/chain_relationship_type.pyi b/google-stubs/ads/googleads/v15/enums/types/chain_relationship_type.pyi index 6dde3c8c6..74f395601 100644 --- a/google-stubs/ads/googleads/v15/enums/types/chain_relationship_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/chain_relationship_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ChainRelationshipTypeEnum(proto.Message): class ChainRelationshipType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class ChainRelationshipTypeEnum(proto.Message): AUTO_DEALERS = 2 GENERAL_RETAILERS = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/change_client_type.pyi b/google-stubs/ads/googleads/v15/enums/types/change_client_type.pyi index e3663b2a1..c39483628 100644 --- a/google-stubs/ads/googleads/v15/enums/types/change_client_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/change_client_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ChangeClientTypeEnum(proto.Message): class ChangeClientType(proto.Enum): UNSPECIFIED = 0 @@ -20,8 +24,8 @@ class ChangeClientTypeEnum(proto.Message): OTHER = 13 GOOGLE_ADS_RECOMMENDATIONS_SUBSCRIPTION = 14 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/change_event_resource_type.pyi b/google-stubs/ads/googleads/v15/enums/types/change_event_resource_type.pyi index f78321337..b153ac94a 100644 --- a/google-stubs/ads/googleads/v15/enums/types/change_event_resource_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/change_event_resource_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ChangeEventResourceTypeEnum(proto.Message): class ChangeEventResourceType(proto.Enum): UNSPECIFIED = 0 @@ -26,8 +30,8 @@ class ChangeEventResourceTypeEnum(proto.Message): ASSET_SET_ASSET = 19 CAMPAIGN_ASSET_SET = 20 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/change_status_operation.pyi b/google-stubs/ads/googleads/v15/enums/types/change_status_operation.pyi index e4f80a138..14a2a186f 100644 --- a/google-stubs/ads/googleads/v15/enums/types/change_status_operation.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/change_status_operation.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ChangeStatusOperationEnum(proto.Message): class ChangeStatusOperation(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ChangeStatusOperationEnum(proto.Message): CHANGED = 3 REMOVED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/change_status_resource_type.pyi b/google-stubs/ads/googleads/v15/enums/types/change_status_resource_type.pyi index ce97a9be5..ef33f50d7 100644 --- a/google-stubs/ads/googleads/v15/enums/types/change_status_resource_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/change_status_resource_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ChangeStatusResourceTypeEnum(proto.Message): class ChangeStatusResourceType(proto.Enum): UNSPECIFIED = 0 @@ -24,8 +28,8 @@ class ChangeStatusResourceTypeEnum(proto.Message): AD_GROUP_ASSET = 19 COMBINED_AUDIENCE = 20 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/click_type.pyi b/google-stubs/ads/googleads/v15/enums/types/click_type.pyi index baf12b00e..606b5a35a 100644 --- a/google-stubs/ads/googleads/v15/enums/types/click_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/click_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ClickTypeEnum(proto.Message): class ClickType(proto.Enum): UNSPECIFIED = 0 @@ -61,8 +65,8 @@ class ClickTypeEnum(proto.Message): SHOPPING_COMPARISON_LISTING = 56 CROSS_NETWORK = 57 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/combined_audience_status.pyi b/google-stubs/ads/googleads/v15/enums/types/combined_audience_status.pyi index 14ee414e7..2d38c87d4 100644 --- a/google-stubs/ads/googleads/v15/enums/types/combined_audience_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/combined_audience_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CombinedAudienceStatusEnum(proto.Message): class CombinedAudienceStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class CombinedAudienceStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/consent_status.pyi b/google-stubs/ads/googleads/v15/enums/types/consent_status.pyi index afd9d626e..1a56c92f9 100644 --- a/google-stubs/ads/googleads/v15/enums/types/consent_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/consent_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConsentStatusEnum(proto.Message): class ConsentStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class ConsentStatusEnum(proto.Message): GRANTED = 2 DENIED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/content_label_type.pyi b/google-stubs/ads/googleads/v15/enums/types/content_label_type.pyi index 3e8b30d78..ce3b815f8 100644 --- a/google-stubs/ads/googleads/v15/enums/types/content_label_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/content_label_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ContentLabelTypeEnum(proto.Message): class ContentLabelType(proto.Enum): UNSPECIFIED = 0 @@ -22,8 +26,8 @@ class ContentLabelTypeEnum(proto.Message): LIVE_STREAMING_VIDEO = 16 SOCIAL_ISSUES = 17 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/conversion_action_category.pyi b/google-stubs/ads/googleads/v15/enums/types/conversion_action_category.pyi index e8fbff9f7..c7d474d88 100644 --- a/google-stubs/ads/googleads/v15/enums/types/conversion_action_category.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/conversion_action_category.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionActionCategoryEnum(proto.Message): class ConversionActionCategory(proto.Enum): UNSPECIFIED = 0 @@ -28,8 +32,8 @@ class ConversionActionCategoryEnum(proto.Message): QUALIFIED_LEAD = 22 CONVERTED_LEAD = 23 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/conversion_action_counting_type.pyi b/google-stubs/ads/googleads/v15/enums/types/conversion_action_counting_type.pyi index d4160a8ce..a59e926d6 100644 --- a/google-stubs/ads/googleads/v15/enums/types/conversion_action_counting_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/conversion_action_counting_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionActionCountingTypeEnum(proto.Message): class ConversionActionCountingType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class ConversionActionCountingTypeEnum(proto.Message): ONE_PER_CLICK = 2 MANY_PER_CLICK = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/conversion_action_status.pyi b/google-stubs/ads/googleads/v15/enums/types/conversion_action_status.pyi index 29c72e4bd..41d3b997a 100644 --- a/google-stubs/ads/googleads/v15/enums/types/conversion_action_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/conversion_action_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionActionStatusEnum(proto.Message): class ConversionActionStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ConversionActionStatusEnum(proto.Message): REMOVED = 3 HIDDEN = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/conversion_action_type.pyi b/google-stubs/ads/googleads/v15/enums/types/conversion_action_type.pyi index 9b33b0cd5..50a4cb639 100644 --- a/google-stubs/ads/googleads/v15/enums/types/conversion_action_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/conversion_action_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionActionTypeEnum(proto.Message): class ConversionActionType(proto.Enum): UNSPECIFIED = 0 @@ -47,8 +51,8 @@ class ConversionActionTypeEnum(proto.Message): GOOGLE_ANALYTICS_4_CUSTOM = 40 GOOGLE_ANALYTICS_4_PURCHASE = 41 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/conversion_adjustment_type.pyi b/google-stubs/ads/googleads/v15/enums/types/conversion_adjustment_type.pyi index 8ffd703dc..60b929555 100644 --- a/google-stubs/ads/googleads/v15/enums/types/conversion_adjustment_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/conversion_adjustment_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionAdjustmentTypeEnum(proto.Message): class ConversionAdjustmentType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ConversionAdjustmentTypeEnum(proto.Message): RESTATEMENT = 3 ENHANCEMENT = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/conversion_attribution_event_type.pyi b/google-stubs/ads/googleads/v15/enums/types/conversion_attribution_event_type.pyi index a6dea4f2a..aeaa536c7 100644 --- a/google-stubs/ads/googleads/v15/enums/types/conversion_attribution_event_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/conversion_attribution_event_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionAttributionEventTypeEnum(proto.Message): class ConversionAttributionEventType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class ConversionAttributionEventTypeEnum(proto.Message): IMPRESSION = 2 INTERACTION = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/conversion_custom_variable_status.pyi b/google-stubs/ads/googleads/v15/enums/types/conversion_custom_variable_status.pyi index cadccdcbc..9c461c37a 100644 --- a/google-stubs/ads/googleads/v15/enums/types/conversion_custom_variable_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/conversion_custom_variable_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionCustomVariableStatusEnum(proto.Message): class ConversionCustomVariableStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ConversionCustomVariableStatusEnum(proto.Message): ENABLED = 3 PAUSED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/conversion_environment_enum.pyi b/google-stubs/ads/googleads/v15/enums/types/conversion_environment_enum.pyi index a41b0cbd9..133165865 100644 --- a/google-stubs/ads/googleads/v15/enums/types/conversion_environment_enum.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/conversion_environment_enum.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionEnvironmentEnum(proto.Message): class ConversionEnvironment(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class ConversionEnvironmentEnum(proto.Message): APP = 2 WEB = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/conversion_lag_bucket.pyi b/google-stubs/ads/googleads/v15/enums/types/conversion_lag_bucket.pyi index 5b9daddb3..e01e7997f 100644 --- a/google-stubs/ads/googleads/v15/enums/types/conversion_lag_bucket.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/conversion_lag_bucket.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionLagBucketEnum(proto.Message): class ConversionLagBucket(proto.Enum): UNSPECIFIED = 0 @@ -26,8 +30,8 @@ class ConversionLagBucketEnum(proto.Message): FORTY_FIVE_TO_SIXTY_DAYS = 19 SIXTY_TO_NINETY_DAYS = 20 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/conversion_or_adjustment_lag_bucket.pyi b/google-stubs/ads/googleads/v15/enums/types/conversion_or_adjustment_lag_bucket.pyi index fa1eba25d..a02deb23b 100644 --- a/google-stubs/ads/googleads/v15/enums/types/conversion_or_adjustment_lag_bucket.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/conversion_or_adjustment_lag_bucket.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionOrAdjustmentLagBucketEnum(proto.Message): class ConversionOrAdjustmentLagBucket(proto.Enum): UNSPECIFIED = 0 @@ -48,8 +52,8 @@ class ConversionOrAdjustmentLagBucketEnum(proto.Message): CONVERSION_UNKNOWN = 41 ADJUSTMENT_UNKNOWN = 42 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/conversion_origin.pyi b/google-stubs/ads/googleads/v15/enums/types/conversion_origin.pyi index d8efcfaab..fb3cb751f 100644 --- a/google-stubs/ads/googleads/v15/enums/types/conversion_origin.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/conversion_origin.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionOriginEnum(proto.Message): class ConversionOrigin(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class ConversionOriginEnum(proto.Message): STORE = 6 YOUTUBE_HOSTED = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/conversion_tracking_status_enum.pyi b/google-stubs/ads/googleads/v15/enums/types/conversion_tracking_status_enum.pyi index 9bf9684d2..330269e23 100644 --- a/google-stubs/ads/googleads/v15/enums/types/conversion_tracking_status_enum.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/conversion_tracking_status_enum.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionTrackingStatusEnum(proto.Message): class ConversionTrackingStatus(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class ConversionTrackingStatusEnum(proto.Message): CONVERSION_TRACKING_MANAGED_BY_THIS_MANAGER = 4 CONVERSION_TRACKING_MANAGED_BY_ANOTHER_MANAGER = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/conversion_value_rule_primary_dimension.pyi b/google-stubs/ads/googleads/v15/enums/types/conversion_value_rule_primary_dimension.pyi index 4b6bb81d3..2652647d3 100644 --- a/google-stubs/ads/googleads/v15/enums/types/conversion_value_rule_primary_dimension.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/conversion_value_rule_primary_dimension.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionValueRulePrimaryDimensionEnum(proto.Message): class ConversionValueRulePrimaryDimension(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class ConversionValueRulePrimaryDimensionEnum(proto.Message): AUDIENCE = 7 MULTIPLE = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/conversion_value_rule_set_status.pyi b/google-stubs/ads/googleads/v15/enums/types/conversion_value_rule_set_status.pyi index c9a5a0556..319287803 100644 --- a/google-stubs/ads/googleads/v15/enums/types/conversion_value_rule_set_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/conversion_value_rule_set_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionValueRuleSetStatusEnum(proto.Message): class ConversionValueRuleSetStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ConversionValueRuleSetStatusEnum(proto.Message): REMOVED = 3 PAUSED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/conversion_value_rule_status.pyi b/google-stubs/ads/googleads/v15/enums/types/conversion_value_rule_status.pyi index 86cc55bde..187562fc0 100644 --- a/google-stubs/ads/googleads/v15/enums/types/conversion_value_rule_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/conversion_value_rule_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionValueRuleStatusEnum(proto.Message): class ConversionValueRuleStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ConversionValueRuleStatusEnum(proto.Message): REMOVED = 3 PAUSED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/converting_user_prior_engagement_type_and_ltv_bucket.pyi b/google-stubs/ads/googleads/v15/enums/types/converting_user_prior_engagement_type_and_ltv_bucket.pyi index a04488028..2b718266a 100644 --- a/google-stubs/ads/googleads/v15/enums/types/converting_user_prior_engagement_type_and_ltv_bucket.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/converting_user_prior_engagement_type_and_ltv_bucket.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConvertingUserPriorEngagementTypeAndLtvBucketEnum(proto.Message): class ConvertingUserPriorEngagementTypeAndLtvBucket(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ConvertingUserPriorEngagementTypeAndLtvBucketEnum(proto.Message): RETURNING = 3 NEW_AND_HIGH_LTV = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/criterion_category_channel_availability_mode.pyi b/google-stubs/ads/googleads/v15/enums/types/criterion_category_channel_availability_mode.pyi index ea7d0a2a8..d1c3af4c6 100644 --- a/google-stubs/ads/googleads/v15/enums/types/criterion_category_channel_availability_mode.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/criterion_category_channel_availability_mode.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CriterionCategoryChannelAvailabilityModeEnum(proto.Message): class CriterionCategoryChannelAvailabilityMode(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class CriterionCategoryChannelAvailabilityModeEnum(proto.Message): CHANNEL_TYPE_AND_ALL_SUBTYPES = 3 CHANNEL_TYPE_AND_SUBSET_SUBTYPES = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/criterion_category_locale_availability_mode.pyi b/google-stubs/ads/googleads/v15/enums/types/criterion_category_locale_availability_mode.pyi index f53743b32..d42ac04e0 100644 --- a/google-stubs/ads/googleads/v15/enums/types/criterion_category_locale_availability_mode.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/criterion_category_locale_availability_mode.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CriterionCategoryLocaleAvailabilityModeEnum(proto.Message): class CriterionCategoryLocaleAvailabilityMode(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class CriterionCategoryLocaleAvailabilityModeEnum(proto.Message): LANGUAGE_AND_ALL_COUNTRIES = 4 COUNTRY_AND_LANGUAGE = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/criterion_system_serving_status.pyi b/google-stubs/ads/googleads/v15/enums/types/criterion_system_serving_status.pyi index 1c5d30d88..234a78280 100644 --- a/google-stubs/ads/googleads/v15/enums/types/criterion_system_serving_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/criterion_system_serving_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CriterionSystemServingStatusEnum(proto.Message): class CriterionSystemServingStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class CriterionSystemServingStatusEnum(proto.Message): ELIGIBLE = 2 RARELY_SERVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/criterion_type.pyi b/google-stubs/ads/googleads/v15/enums/types/criterion_type.pyi index 21eb4d02e..ac96c166d 100644 --- a/google-stubs/ads/googleads/v15/enums/types/criterion_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/criterion_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CriterionTypeEnum(proto.Message): class CriterionType(proto.Enum): UNSPECIFIED = 0 @@ -46,8 +50,8 @@ class CriterionTypeEnum(proto.Message): BRAND = 39 BRAND_LIST = 40 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/custom_audience_member_type.pyi b/google-stubs/ads/googleads/v15/enums/types/custom_audience_member_type.pyi index c815ec93e..0858e7ca0 100644 --- a/google-stubs/ads/googleads/v15/enums/types/custom_audience_member_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/custom_audience_member_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomAudienceMemberTypeEnum(proto.Message): class CustomAudienceMemberType(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class CustomAudienceMemberTypeEnum(proto.Message): PLACE_CATEGORY = 4 APP = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/custom_audience_status.pyi b/google-stubs/ads/googleads/v15/enums/types/custom_audience_status.pyi index df40ee3a6..79b0176b6 100644 --- a/google-stubs/ads/googleads/v15/enums/types/custom_audience_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/custom_audience_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomAudienceStatusEnum(proto.Message): class CustomAudienceStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class CustomAudienceStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/custom_audience_type.pyi b/google-stubs/ads/googleads/v15/enums/types/custom_audience_type.pyi index 5a1554ae5..bdb63a6b2 100644 --- a/google-stubs/ads/googleads/v15/enums/types/custom_audience_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/custom_audience_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomAudienceTypeEnum(proto.Message): class CustomAudienceType(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class CustomAudienceTypeEnum(proto.Message): PURCHASE_INTENT = 4 SEARCH = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/custom_conversion_goal_status.pyi b/google-stubs/ads/googleads/v15/enums/types/custom_conversion_goal_status.pyi index 4d00c62e4..9f81fd41d 100644 --- a/google-stubs/ads/googleads/v15/enums/types/custom_conversion_goal_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/custom_conversion_goal_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomConversionGoalStatusEnum(proto.Message): class CustomConversionGoalStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class CustomConversionGoalStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/custom_interest_member_type.pyi b/google-stubs/ads/googleads/v15/enums/types/custom_interest_member_type.pyi index b14b194ad..18595c0f2 100644 --- a/google-stubs/ads/googleads/v15/enums/types/custom_interest_member_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/custom_interest_member_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomInterestMemberTypeEnum(proto.Message): class CustomInterestMemberType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class CustomInterestMemberTypeEnum(proto.Message): KEYWORD = 2 URL = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/custom_interest_status.pyi b/google-stubs/ads/googleads/v15/enums/types/custom_interest_status.pyi index 5769e5d88..25c109b5b 100644 --- a/google-stubs/ads/googleads/v15/enums/types/custom_interest_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/custom_interest_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomInterestStatusEnum(proto.Message): class CustomInterestStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class CustomInterestStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/custom_interest_type.pyi b/google-stubs/ads/googleads/v15/enums/types/custom_interest_type.pyi index 299fee7ab..086611913 100644 --- a/google-stubs/ads/googleads/v15/enums/types/custom_interest_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/custom_interest_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomInterestTypeEnum(proto.Message): class CustomInterestType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class CustomInterestTypeEnum(proto.Message): CUSTOM_AFFINITY = 2 CUSTOM_INTENT = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/custom_placeholder_field.pyi b/google-stubs/ads/googleads/v15/enums/types/custom_placeholder_field.pyi index aaa97296d..b070e24a4 100644 --- a/google-stubs/ads/googleads/v15/enums/types/custom_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/custom_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomPlaceholderFieldEnum(proto.Message): class CustomPlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -27,8 +31,8 @@ class CustomPlaceholderFieldEnum(proto.Message): IOS_APP_LINK = 20 IOS_APP_STORE_ID = 21 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/customer_acquisition_optimization_mode.pyi b/google-stubs/ads/googleads/v15/enums/types/customer_acquisition_optimization_mode.pyi index d7b8d936a..4f5f6b3ab 100644 --- a/google-stubs/ads/googleads/v15/enums/types/customer_acquisition_optimization_mode.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/customer_acquisition_optimization_mode.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomerAcquisitionOptimizationModeEnum(proto.Message): class CustomerAcquisitionOptimizationMode(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class CustomerAcquisitionOptimizationModeEnum(proto.Message): BID_HIGHER_FOR_NEW_CUSTOMER = 3 TARGET_NEW_CUSTOMER = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/customer_match_upload_key_type.pyi b/google-stubs/ads/googleads/v15/enums/types/customer_match_upload_key_type.pyi index c4d0d7010..a144e7a4c 100644 --- a/google-stubs/ads/googleads/v15/enums/types/customer_match_upload_key_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/customer_match_upload_key_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomerMatchUploadKeyTypeEnum(proto.Message): class CustomerMatchUploadKeyType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class CustomerMatchUploadKeyTypeEnum(proto.Message): CRM_ID = 3 MOBILE_ADVERTISING_ID = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/customer_pay_per_conversion_eligibility_failure_reason.pyi b/google-stubs/ads/googleads/v15/enums/types/customer_pay_per_conversion_eligibility_failure_reason.pyi index 9b31e561b..3969176e0 100644 --- a/google-stubs/ads/googleads/v15/enums/types/customer_pay_per_conversion_eligibility_failure_reason.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/customer_pay_per_conversion_eligibility_failure_reason.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomerPayPerConversionEligibilityFailureReasonEnum(proto.Message): class CustomerPayPerConversionEligibilityFailureReason(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class CustomerPayPerConversionEligibilityFailureReasonEnum(proto.Message): ANALYSIS_NOT_COMPLETE = 7 OTHER = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/customer_status.pyi b/google-stubs/ads/googleads/v15/enums/types/customer_status.pyi index 51081fee7..b5339c446 100644 --- a/google-stubs/ads/googleads/v15/enums/types/customer_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/customer_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomerStatusEnum(proto.Message): class CustomerStatus(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class CustomerStatusEnum(proto.Message): SUSPENDED = 4 CLOSED = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/customizer_attribute_status.pyi b/google-stubs/ads/googleads/v15/enums/types/customizer_attribute_status.pyi index 1ee7d9484..08e4c03c8 100644 --- a/google-stubs/ads/googleads/v15/enums/types/customizer_attribute_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/customizer_attribute_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomizerAttributeStatusEnum(proto.Message): class CustomizerAttributeStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class CustomizerAttributeStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/customizer_attribute_type.pyi b/google-stubs/ads/googleads/v15/enums/types/customizer_attribute_type.pyi index c7ebfc38a..439f41282 100644 --- a/google-stubs/ads/googleads/v15/enums/types/customizer_attribute_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/customizer_attribute_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomizerAttributeTypeEnum(proto.Message): class CustomizerAttributeType(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class CustomizerAttributeTypeEnum(proto.Message): PRICE = 4 PERCENT = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/customizer_value_status.pyi b/google-stubs/ads/googleads/v15/enums/types/customizer_value_status.pyi index 10d376205..74951655a 100644 --- a/google-stubs/ads/googleads/v15/enums/types/customizer_value_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/customizer_value_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomizerValueStatusEnum(proto.Message): class CustomizerValueStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class CustomizerValueStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/data_driven_model_status.pyi b/google-stubs/ads/googleads/v15/enums/types/data_driven_model_status.pyi index 9df461fc8..050e96cd7 100644 --- a/google-stubs/ads/googleads/v15/enums/types/data_driven_model_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/data_driven_model_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class DataDrivenModelStatusEnum(proto.Message): class DataDrivenModelStatus(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class DataDrivenModelStatusEnum(proto.Message): EXPIRED = 4 NEVER_GENERATED = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/day_of_week.pyi b/google-stubs/ads/googleads/v15/enums/types/day_of_week.pyi index 32c1249fd..d2a7abf1c 100644 --- a/google-stubs/ads/googleads/v15/enums/types/day_of_week.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/day_of_week.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class DayOfWeekEnum(proto.Message): class DayOfWeek(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class DayOfWeekEnum(proto.Message): SATURDAY = 7 SUNDAY = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/device.pyi b/google-stubs/ads/googleads/v15/enums/types/device.pyi index 8b3e2d1ed..c520251d9 100644 --- a/google-stubs/ads/googleads/v15/enums/types/device.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/device.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class DeviceEnum(proto.Message): class Device(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class DeviceEnum(proto.Message): CONNECTED_TV = 6 OTHER = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/display_ad_format_setting.pyi b/google-stubs/ads/googleads/v15/enums/types/display_ad_format_setting.pyi index 48ad30c3c..d9da4965e 100644 --- a/google-stubs/ads/googleads/v15/enums/types/display_ad_format_setting.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/display_ad_format_setting.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class DisplayAdFormatSettingEnum(proto.Message): class DisplayAdFormatSetting(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class DisplayAdFormatSettingEnum(proto.Message): NON_NATIVE = 3 NATIVE = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/display_upload_product_type.pyi b/google-stubs/ads/googleads/v15/enums/types/display_upload_product_type.pyi index dc8e5cc73..6d00fabbd 100644 --- a/google-stubs/ads/googleads/v15/enums/types/display_upload_product_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/display_upload_product_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class DisplayUploadProductTypeEnum(proto.Message): class DisplayUploadProductType(proto.Enum): UNSPECIFIED = 0 @@ -17,8 +21,8 @@ class DisplayUploadProductTypeEnum(proto.Message): DYNAMIC_HTML5_TRAVEL_AD = 10 DYNAMIC_HTML5_HOTEL_AD = 11 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/distance_bucket.pyi b/google-stubs/ads/googleads/v15/enums/types/distance_bucket.pyi index 772dfa2b4..6ab0e9bd0 100644 --- a/google-stubs/ads/googleads/v15/enums/types/distance_bucket.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/distance_bucket.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class DistanceBucketEnum(proto.Message): class DistanceBucket(proto.Enum): UNSPECIFIED = 0 @@ -34,8 +38,8 @@ class DistanceBucketEnum(proto.Message): WITHIN_40MILES = 27 BEYOND_40MILES = 28 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/dsa_page_feed_criterion_field.pyi b/google-stubs/ads/googleads/v15/enums/types/dsa_page_feed_criterion_field.pyi index ea89e4530..18a326f10 100644 --- a/google-stubs/ads/googleads/v15/enums/types/dsa_page_feed_criterion_field.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/dsa_page_feed_criterion_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class DsaPageFeedCriterionFieldEnum(proto.Message): class DsaPageFeedCriterionField(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class DsaPageFeedCriterionFieldEnum(proto.Message): PAGE_URL = 2 LABEL = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/education_placeholder_field.pyi b/google-stubs/ads/googleads/v15/enums/types/education_placeholder_field.pyi index facf7ae63..130366cb1 100644 --- a/google-stubs/ads/googleads/v15/enums/types/education_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/education_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class EducationPlaceholderFieldEnum(proto.Message): class EducationPlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -24,8 +28,8 @@ class EducationPlaceholderFieldEnum(proto.Message): IOS_APP_LINK = 17 IOS_APP_STORE_ID = 18 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/experiment_metric.pyi b/google-stubs/ads/googleads/v15/enums/types/experiment_metric.pyi index 191dc4af2..56c56f03f 100644 --- a/google-stubs/ads/googleads/v15/enums/types/experiment_metric.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/experiment_metric.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ExperimentMetricEnum(proto.Message): class ExperimentMetric(proto.Enum): UNSPECIFIED = 0 @@ -20,8 +24,8 @@ class ExperimentMetricEnum(proto.Message): CONVERSIONS = 13 CONVERSION_VALUE = 14 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/experiment_metric_direction.pyi b/google-stubs/ads/googleads/v15/enums/types/experiment_metric_direction.pyi index 92d48d78d..a5c418488 100644 --- a/google-stubs/ads/googleads/v15/enums/types/experiment_metric_direction.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/experiment_metric_direction.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ExperimentMetricDirectionEnum(proto.Message): class ExperimentMetricDirection(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class ExperimentMetricDirectionEnum(proto.Message): NO_CHANGE_OR_INCREASE = 5 NO_CHANGE_OR_DECREASE = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/experiment_status.pyi b/google-stubs/ads/googleads/v15/enums/types/experiment_status.pyi index 60c06c18d..699508789 100644 --- a/google-stubs/ads/googleads/v15/enums/types/experiment_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/experiment_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ExperimentStatusEnum(proto.Message): class ExperimentStatus(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class ExperimentStatusEnum(proto.Message): INITIATED = 7 GRADUATED = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/experiment_type.pyi b/google-stubs/ads/googleads/v15/enums/types/experiment_type.pyi index 70b704a33..ed5dfdda9 100644 --- a/google-stubs/ads/googleads/v15/enums/types/experiment_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/experiment_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ExperimentTypeEnum(proto.Message): class ExperimentType(proto.Enum): UNSPECIFIED = 0 @@ -17,8 +21,8 @@ class ExperimentTypeEnum(proto.Message): SMART_MATCHING = 11 HOTEL_CUSTOM = 12 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/extension_setting_device.pyi b/google-stubs/ads/googleads/v15/enums/types/extension_setting_device.pyi index 32afeae2f..9e95ed754 100644 --- a/google-stubs/ads/googleads/v15/enums/types/extension_setting_device.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/extension_setting_device.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ExtensionSettingDeviceEnum(proto.Message): class ExtensionSettingDevice(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class ExtensionSettingDeviceEnum(proto.Message): MOBILE = 2 DESKTOP = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/extension_type.pyi b/google-stubs/ads/googleads/v15/enums/types/extension_type.pyi index 03d958d4e..ecd2c595b 100644 --- a/google-stubs/ads/googleads/v15/enums/types/extension_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/extension_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ExtensionTypeEnum(proto.Message): class ExtensionType(proto.Enum): UNSPECIFIED = 0 @@ -20,8 +24,8 @@ class ExtensionTypeEnum(proto.Message): HOTEL_CALLOUT = 15 IMAGE = 16 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/external_conversion_source.pyi b/google-stubs/ads/googleads/v15/enums/types/external_conversion_source.pyi index bffc6a14e..1dacac2d6 100644 --- a/google-stubs/ads/googleads/v15/enums/types/external_conversion_source.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/external_conversion_source.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ExternalConversionSourceEnum(proto.Message): class ExternalConversionSource(proto.Enum): UNSPECIFIED = 0 @@ -35,8 +39,8 @@ class ExternalConversionSourceEnum(proto.Message): FIREBASE_SEARCH_ADS_360 = 33 DISPLAY_AND_VIDEO_360_FLOODLIGHT = 34 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/feed_attribute_type.pyi b/google-stubs/ads/googleads/v15/enums/types/feed_attribute_type.pyi index d6d126300..c15c66c0d 100644 --- a/google-stubs/ads/googleads/v15/enums/types/feed_attribute_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/feed_attribute_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedAttributeTypeEnum(proto.Message): class FeedAttributeType(proto.Enum): UNSPECIFIED = 0 @@ -20,8 +24,8 @@ class FeedAttributeTypeEnum(proto.Message): DATE_TIME_LIST = 13 PRICE = 14 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/feed_item_quality_approval_status.pyi b/google-stubs/ads/googleads/v15/enums/types/feed_item_quality_approval_status.pyi index 96f027f04..f52a36e88 100644 --- a/google-stubs/ads/googleads/v15/enums/types/feed_item_quality_approval_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/feed_item_quality_approval_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedItemQualityApprovalStatusEnum(proto.Message): class FeedItemQualityApprovalStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class FeedItemQualityApprovalStatusEnum(proto.Message): APPROVED = 2 DISAPPROVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/feed_item_quality_disapproval_reason.pyi b/google-stubs/ads/googleads/v15/enums/types/feed_item_quality_disapproval_reason.pyi index 328b39057..573200fa0 100644 --- a/google-stubs/ads/googleads/v15/enums/types/feed_item_quality_disapproval_reason.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/feed_item_quality_disapproval_reason.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedItemQualityDisapprovalReasonEnum(proto.Message): class FeedItemQualityDisapprovalReason(proto.Enum): UNSPECIFIED = 0 @@ -25,8 +29,8 @@ class FeedItemQualityDisapprovalReasonEnum(proto.Message): STRUCTURED_SNIPPETS_EDITORIAL_GUIDELINES = 18 STRUCTURED_SNIPPETS_HAS_PROMOTIONAL_TEXT = 19 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/feed_item_set_status.pyi b/google-stubs/ads/googleads/v15/enums/types/feed_item_set_status.pyi index 6da0bae0b..b4f7afd21 100644 --- a/google-stubs/ads/googleads/v15/enums/types/feed_item_set_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/feed_item_set_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedItemSetStatusEnum(proto.Message): class FeedItemSetStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class FeedItemSetStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/feed_item_set_string_filter_type.pyi b/google-stubs/ads/googleads/v15/enums/types/feed_item_set_string_filter_type.pyi index 2165733f9..a1f715f65 100644 --- a/google-stubs/ads/googleads/v15/enums/types/feed_item_set_string_filter_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/feed_item_set_string_filter_type.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedItemSetStringFilterTypeEnum(proto.Message): class FeedItemSetStringFilterType(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 EXACT = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/feed_item_status.pyi b/google-stubs/ads/googleads/v15/enums/types/feed_item_status.pyi index c0ba7cfc1..357b5a8b0 100644 --- a/google-stubs/ads/googleads/v15/enums/types/feed_item_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/feed_item_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedItemStatusEnum(proto.Message): class FeedItemStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class FeedItemStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/feed_item_target_device.pyi b/google-stubs/ads/googleads/v15/enums/types/feed_item_target_device.pyi index f6af739ca..f4331aa9f 100644 --- a/google-stubs/ads/googleads/v15/enums/types/feed_item_target_device.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/feed_item_target_device.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedItemTargetDeviceEnum(proto.Message): class FeedItemTargetDevice(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 MOBILE = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/feed_item_target_status.pyi b/google-stubs/ads/googleads/v15/enums/types/feed_item_target_status.pyi index f277df47b..0a716c26e 100644 --- a/google-stubs/ads/googleads/v15/enums/types/feed_item_target_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/feed_item_target_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedItemTargetStatusEnum(proto.Message): class FeedItemTargetStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class FeedItemTargetStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/feed_item_target_type.pyi b/google-stubs/ads/googleads/v15/enums/types/feed_item_target_type.pyi index bf4d3d898..44a9de572 100644 --- a/google-stubs/ads/googleads/v15/enums/types/feed_item_target_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/feed_item_target_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedItemTargetTypeEnum(proto.Message): class FeedItemTargetType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class FeedItemTargetTypeEnum(proto.Message): AD_GROUP = 3 CRITERION = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/feed_item_validation_status.pyi b/google-stubs/ads/googleads/v15/enums/types/feed_item_validation_status.pyi index 2d9fdf3f5..59821405a 100644 --- a/google-stubs/ads/googleads/v15/enums/types/feed_item_validation_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/feed_item_validation_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedItemValidationStatusEnum(proto.Message): class FeedItemValidationStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class FeedItemValidationStatusEnum(proto.Message): INVALID = 3 VALID = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/feed_link_status.pyi b/google-stubs/ads/googleads/v15/enums/types/feed_link_status.pyi index 732887804..84ffd0d40 100644 --- a/google-stubs/ads/googleads/v15/enums/types/feed_link_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/feed_link_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedLinkStatusEnum(proto.Message): class FeedLinkStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class FeedLinkStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/feed_mapping_criterion_type.pyi b/google-stubs/ads/googleads/v15/enums/types/feed_mapping_criterion_type.pyi index 7f274de76..257924db8 100644 --- a/google-stubs/ads/googleads/v15/enums/types/feed_mapping_criterion_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/feed_mapping_criterion_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedMappingCriterionTypeEnum(proto.Message): class FeedMappingCriterionType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class FeedMappingCriterionTypeEnum(proto.Message): LOCATION_EXTENSION_TARGETING = 4 DSA_PAGE_FEED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/feed_mapping_status.pyi b/google-stubs/ads/googleads/v15/enums/types/feed_mapping_status.pyi index 2d07ff3bf..0791c0564 100644 --- a/google-stubs/ads/googleads/v15/enums/types/feed_mapping_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/feed_mapping_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedMappingStatusEnum(proto.Message): class FeedMappingStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class FeedMappingStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/feed_origin.pyi b/google-stubs/ads/googleads/v15/enums/types/feed_origin.pyi index 9e8c6fc5d..99ac40fd1 100644 --- a/google-stubs/ads/googleads/v15/enums/types/feed_origin.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/feed_origin.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedOriginEnum(proto.Message): class FeedOrigin(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class FeedOriginEnum(proto.Message): USER = 2 GOOGLE = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/feed_status.pyi b/google-stubs/ads/googleads/v15/enums/types/feed_status.pyi index 303d4a0a0..faacfd05b 100644 --- a/google-stubs/ads/googleads/v15/enums/types/feed_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/feed_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedStatusEnum(proto.Message): class FeedStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class FeedStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/flight_placeholder_field.pyi b/google-stubs/ads/googleads/v15/enums/types/flight_placeholder_field.pyi index 67aac5c1a..0e6f5430c 100644 --- a/google-stubs/ads/googleads/v15/enums/types/flight_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/flight_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FlightPlaceholderFieldEnum(proto.Message): class FlightPlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -24,8 +28,8 @@ class FlightPlaceholderFieldEnum(proto.Message): IOS_APP_LINK = 17 IOS_APP_STORE_ID = 18 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/frequency_cap_event_type.pyi b/google-stubs/ads/googleads/v15/enums/types/frequency_cap_event_type.pyi index 38bfcea18..a74f7b450 100644 --- a/google-stubs/ads/googleads/v15/enums/types/frequency_cap_event_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/frequency_cap_event_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FrequencyCapEventTypeEnum(proto.Message): class FrequencyCapEventType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class FrequencyCapEventTypeEnum(proto.Message): IMPRESSION = 2 VIDEO_VIEW = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/frequency_cap_level.pyi b/google-stubs/ads/googleads/v15/enums/types/frequency_cap_level.pyi index b5baa1243..51635bbb0 100644 --- a/google-stubs/ads/googleads/v15/enums/types/frequency_cap_level.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/frequency_cap_level.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FrequencyCapLevelEnum(proto.Message): class FrequencyCapLevel(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class FrequencyCapLevelEnum(proto.Message): AD_GROUP = 3 CAMPAIGN = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/frequency_cap_time_unit.pyi b/google-stubs/ads/googleads/v15/enums/types/frequency_cap_time_unit.pyi index b69c09e28..7dbc3bdf9 100644 --- a/google-stubs/ads/googleads/v15/enums/types/frequency_cap_time_unit.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/frequency_cap_time_unit.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FrequencyCapTimeUnitEnum(proto.Message): class FrequencyCapTimeUnit(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class FrequencyCapTimeUnitEnum(proto.Message): WEEK = 3 MONTH = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/gender_type.pyi b/google-stubs/ads/googleads/v15/enums/types/gender_type.pyi index e8f001217..50c5e5775 100644 --- a/google-stubs/ads/googleads/v15/enums/types/gender_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/gender_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class GenderTypeEnum(proto.Message): class GenderType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class GenderTypeEnum(proto.Message): FEMALE = 11 UNDETERMINED = 20 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/geo_target_constant_status.pyi b/google-stubs/ads/googleads/v15/enums/types/geo_target_constant_status.pyi index 4a1a57deb..f35bce078 100644 --- a/google-stubs/ads/googleads/v15/enums/types/geo_target_constant_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/geo_target_constant_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class GeoTargetConstantStatusEnum(proto.Message): class GeoTargetConstantStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class GeoTargetConstantStatusEnum(proto.Message): ENABLED = 2 REMOVAL_PLANNED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/geo_targeting_restriction.pyi b/google-stubs/ads/googleads/v15/enums/types/geo_targeting_restriction.pyi index 63267842f..d6b839e54 100644 --- a/google-stubs/ads/googleads/v15/enums/types/geo_targeting_restriction.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/geo_targeting_restriction.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class GeoTargetingRestrictionEnum(proto.Message): class GeoTargetingRestriction(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 LOCATION_OF_PRESENCE = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/geo_targeting_type.pyi b/google-stubs/ads/googleads/v15/enums/types/geo_targeting_type.pyi index 062679e5e..ed6018515 100644 --- a/google-stubs/ads/googleads/v15/enums/types/geo_targeting_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/geo_targeting_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class GeoTargetingTypeEnum(proto.Message): class GeoTargetingType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class GeoTargetingTypeEnum(proto.Message): AREA_OF_INTEREST = 2 LOCATION_OF_PRESENCE = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/goal_config_level.pyi b/google-stubs/ads/googleads/v15/enums/types/goal_config_level.pyi index dca97e242..8ec50898c 100644 --- a/google-stubs/ads/googleads/v15/enums/types/goal_config_level.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/goal_config_level.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class GoalConfigLevelEnum(proto.Message): class GoalConfigLevel(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class GoalConfigLevelEnum(proto.Message): CUSTOMER = 2 CAMPAIGN = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/google_ads_field_category.pyi b/google-stubs/ads/googleads/v15/enums/types/google_ads_field_category.pyi index f4b43e060..710d6ea9b 100644 --- a/google-stubs/ads/googleads/v15/enums/types/google_ads_field_category.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/google_ads_field_category.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class GoogleAdsFieldCategoryEnum(proto.Message): class GoogleAdsFieldCategory(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class GoogleAdsFieldCategoryEnum(proto.Message): SEGMENT = 5 METRIC = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/google_ads_field_data_type.pyi b/google-stubs/ads/googleads/v15/enums/types/google_ads_field_data_type.pyi index 0cea2e86b..970d885bd 100644 --- a/google-stubs/ads/googleads/v15/enums/types/google_ads_field_data_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/google_ads_field_data_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class GoogleAdsFieldDataTypeEnum(proto.Message): class GoogleAdsFieldDataType(proto.Enum): UNSPECIFIED = 0 @@ -18,8 +22,8 @@ class GoogleAdsFieldDataTypeEnum(proto.Message): STRING = 11 UINT64 = 12 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/google_voice_call_status.pyi b/google-stubs/ads/googleads/v15/enums/types/google_voice_call_status.pyi index 80afba629..01eaf7900 100644 --- a/google-stubs/ads/googleads/v15/enums/types/google_voice_call_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/google_voice_call_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class GoogleVoiceCallStatusEnum(proto.Message): class GoogleVoiceCallStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class GoogleVoiceCallStatusEnum(proto.Message): MISSED = 2 RECEIVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/hotel_asset_suggestion_status.pyi b/google-stubs/ads/googleads/v15/enums/types/hotel_asset_suggestion_status.pyi index 60409fa55..899ea62a3 100644 --- a/google-stubs/ads/googleads/v15/enums/types/hotel_asset_suggestion_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/hotel_asset_suggestion_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class HotelAssetSuggestionStatusEnum(proto.Message): class HotelAssetSuggestionStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class HotelAssetSuggestionStatusEnum(proto.Message): HOTEL_NOT_FOUND = 3 INVALID_PLACE_ID = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/hotel_date_selection_type.pyi b/google-stubs/ads/googleads/v15/enums/types/hotel_date_selection_type.pyi index b869169bd..6b486407a 100644 --- a/google-stubs/ads/googleads/v15/enums/types/hotel_date_selection_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/hotel_date_selection_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class HotelDateSelectionTypeEnum(proto.Message): class HotelDateSelectionType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class HotelDateSelectionTypeEnum(proto.Message): DEFAULT_SELECTION = 50 USER_SELECTED = 51 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/hotel_placeholder_field.pyi b/google-stubs/ads/googleads/v15/enums/types/hotel_placeholder_field.pyi index dc7d1ddd9..e6c85ff22 100644 --- a/google-stubs/ads/googleads/v15/enums/types/hotel_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/hotel_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class HotelPlaceholderFieldEnum(proto.Message): class HotelPlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -27,8 +31,8 @@ class HotelPlaceholderFieldEnum(proto.Message): IOS_APP_LINK = 20 IOS_APP_STORE_ID = 21 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/hotel_price_bucket.pyi b/google-stubs/ads/googleads/v15/enums/types/hotel_price_bucket.pyi index 110e6b481..1c50f55bc 100644 --- a/google-stubs/ads/googleads/v15/enums/types/hotel_price_bucket.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/hotel_price_bucket.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class HotelPriceBucketEnum(proto.Message): class HotelPriceBucket(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class HotelPriceBucketEnum(proto.Message): NOT_LOWEST = 4 ONLY_PARTNER_SHOWN = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/hotel_rate_type.pyi b/google-stubs/ads/googleads/v15/enums/types/hotel_rate_type.pyi index b82f5e0fb..7a7e9de26 100644 --- a/google-stubs/ads/googleads/v15/enums/types/hotel_rate_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/hotel_rate_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class HotelRateTypeEnum(proto.Message): class HotelRateType(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class HotelRateTypeEnum(proto.Message): QUALIFIED_RATE = 4 PRIVATE_RATE = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/hotel_reconciliation_status.pyi b/google-stubs/ads/googleads/v15/enums/types/hotel_reconciliation_status.pyi index fed37ddcd..aa6081c7c 100644 --- a/google-stubs/ads/googleads/v15/enums/types/hotel_reconciliation_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/hotel_reconciliation_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class HotelReconciliationStatusEnum(proto.Message): class HotelReconciliationStatus(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class HotelReconciliationStatusEnum(proto.Message): RECONCILED = 4 CANCELED = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/image_placeholder_field.pyi b/google-stubs/ads/googleads/v15/enums/types/image_placeholder_field.pyi index 69df0b39c..f53a1dada 100644 --- a/google-stubs/ads/googleads/v15/enums/types/image_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/image_placeholder_field.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ImagePlaceholderFieldEnum(proto.Message): class ImagePlaceholderField(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 ASSET_ID = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/income_range_type.pyi b/google-stubs/ads/googleads/v15/enums/types/income_range_type.pyi index b3dbcb71e..1ef0814b5 100644 --- a/google-stubs/ads/googleads/v15/enums/types/income_range_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/income_range_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class IncomeRangeTypeEnum(proto.Message): class IncomeRangeType(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class IncomeRangeTypeEnum(proto.Message): INCOME_RANGE_90_UP = 510006 INCOME_RANGE_UNDETERMINED = 510000 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/interaction_event_type.pyi b/google-stubs/ads/googleads/v15/enums/types/interaction_event_type.pyi index b3de7ebdf..3560d05b3 100644 --- a/google-stubs/ads/googleads/v15/enums/types/interaction_event_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/interaction_event_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class InteractionEventTypeEnum(proto.Message): class InteractionEventType(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class InteractionEventTypeEnum(proto.Message): VIDEO_VIEW = 4 NONE = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/interaction_type.pyi b/google-stubs/ads/googleads/v15/enums/types/interaction_type.pyi index 29e08b2f7..8f614418d 100644 --- a/google-stubs/ads/googleads/v15/enums/types/interaction_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/interaction_type.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class InteractionTypeEnum(proto.Message): class InteractionType(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 CALLS = 8000 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/invoice_type.pyi b/google-stubs/ads/googleads/v15/enums/types/invoice_type.pyi index 2720d54de..a95af83f8 100644 --- a/google-stubs/ads/googleads/v15/enums/types/invoice_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/invoice_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class InvoiceTypeEnum(proto.Message): class InvoiceType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class InvoiceTypeEnum(proto.Message): CREDIT_MEMO = 2 INVOICE = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/job_placeholder_field.pyi b/google-stubs/ads/googleads/v15/enums/types/job_placeholder_field.pyi index 2e470be17..dc24e2964 100644 --- a/google-stubs/ads/googleads/v15/enums/types/job_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/job_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class JobPlaceholderFieldEnum(proto.Message): class JobPlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -24,8 +28,8 @@ class JobPlaceholderFieldEnum(proto.Message): IOS_APP_LINK = 18 IOS_APP_STORE_ID = 19 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/keyword_match_type.pyi b/google-stubs/ads/googleads/v15/enums/types/keyword_match_type.pyi index d0a602236..4d6e39c19 100644 --- a/google-stubs/ads/googleads/v15/enums/types/keyword_match_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/keyword_match_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class KeywordMatchTypeEnum(proto.Message): class KeywordMatchType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class KeywordMatchTypeEnum(proto.Message): PHRASE = 3 BROAD = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/keyword_plan_aggregate_metric_type.pyi b/google-stubs/ads/googleads/v15/enums/types/keyword_plan_aggregate_metric_type.pyi index 6a5e2b87b..d80b099ce 100644 --- a/google-stubs/ads/googleads/v15/enums/types/keyword_plan_aggregate_metric_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/keyword_plan_aggregate_metric_type.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class KeywordPlanAggregateMetricTypeEnum(proto.Message): class KeywordPlanAggregateMetricType(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 DEVICE = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/keyword_plan_competition_level.pyi b/google-stubs/ads/googleads/v15/enums/types/keyword_plan_competition_level.pyi index 0c9ca77ce..bd9e05b13 100644 --- a/google-stubs/ads/googleads/v15/enums/types/keyword_plan_competition_level.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/keyword_plan_competition_level.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class KeywordPlanCompetitionLevelEnum(proto.Message): class KeywordPlanCompetitionLevel(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class KeywordPlanCompetitionLevelEnum(proto.Message): MEDIUM = 3 HIGH = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/keyword_plan_concept_group_type.pyi b/google-stubs/ads/googleads/v15/enums/types/keyword_plan_concept_group_type.pyi index 66b65ec88..f3fd64b7d 100644 --- a/google-stubs/ads/googleads/v15/enums/types/keyword_plan_concept_group_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/keyword_plan_concept_group_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class KeywordPlanConceptGroupTypeEnum(proto.Message): class KeywordPlanConceptGroupType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class KeywordPlanConceptGroupTypeEnum(proto.Message): OTHER_BRANDS = 3 NON_BRAND = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/keyword_plan_forecast_interval.pyi b/google-stubs/ads/googleads/v15/enums/types/keyword_plan_forecast_interval.pyi index e7a140a55..0605d21aa 100644 --- a/google-stubs/ads/googleads/v15/enums/types/keyword_plan_forecast_interval.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/keyword_plan_forecast_interval.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class KeywordPlanForecastIntervalEnum(proto.Message): class KeywordPlanForecastInterval(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class KeywordPlanForecastIntervalEnum(proto.Message): NEXT_MONTH = 4 NEXT_QUARTER = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/keyword_plan_keyword_annotation.pyi b/google-stubs/ads/googleads/v15/enums/types/keyword_plan_keyword_annotation.pyi index 459c4c4df..e3a9d9923 100644 --- a/google-stubs/ads/googleads/v15/enums/types/keyword_plan_keyword_annotation.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/keyword_plan_keyword_annotation.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class KeywordPlanKeywordAnnotationEnum(proto.Message): class KeywordPlanKeywordAnnotation(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 KEYWORD_CONCEPT = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/keyword_plan_network.pyi b/google-stubs/ads/googleads/v15/enums/types/keyword_plan_network.pyi index 7e992b2a4..eeb819087 100644 --- a/google-stubs/ads/googleads/v15/enums/types/keyword_plan_network.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/keyword_plan_network.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class KeywordPlanNetworkEnum(proto.Message): class KeywordPlanNetwork(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class KeywordPlanNetworkEnum(proto.Message): GOOGLE_SEARCH = 2 GOOGLE_SEARCH_AND_PARTNERS = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/label_status.pyi b/google-stubs/ads/googleads/v15/enums/types/label_status.pyi index 37b3c59e2..3502de1ea 100644 --- a/google-stubs/ads/googleads/v15/enums/types/label_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/label_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LabelStatusEnum(proto.Message): class LabelStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class LabelStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/lead_form_call_to_action_type.pyi b/google-stubs/ads/googleads/v15/enums/types/lead_form_call_to_action_type.pyi index 4451a48b5..c0b7d8aad 100644 --- a/google-stubs/ads/googleads/v15/enums/types/lead_form_call_to_action_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/lead_form_call_to_action_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LeadFormCallToActionTypeEnum(proto.Message): class LeadFormCallToActionType(proto.Enum): UNSPECIFIED = 0 @@ -21,8 +25,8 @@ class LeadFormCallToActionTypeEnum(proto.Message): JOIN_NOW = 14 GET_STARTED = 15 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/lead_form_desired_intent.pyi b/google-stubs/ads/googleads/v15/enums/types/lead_form_desired_intent.pyi index d2d2c429e..6f81aacc5 100644 --- a/google-stubs/ads/googleads/v15/enums/types/lead_form_desired_intent.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/lead_form_desired_intent.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LeadFormDesiredIntentEnum(proto.Message): class LeadFormDesiredIntent(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class LeadFormDesiredIntentEnum(proto.Message): LOW_INTENT = 2 HIGH_INTENT = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/lead_form_field_user_input_type.pyi b/google-stubs/ads/googleads/v15/enums/types/lead_form_field_user_input_type.pyi index 2bec929db..b13672a10 100644 --- a/google-stubs/ads/googleads/v15/enums/types/lead_form_field_user_input_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/lead_form_field_user_input_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LeadFormFieldUserInputTypeEnum(proto.Message): class LeadFormFieldUserInputType(proto.Enum): UNSPECIFIED = 0 @@ -123,8 +127,8 @@ class LeadFormFieldUserInputTypeEnum(proto.Message): TRAVEL_BUDGET = 1046 TRAVEL_ACCOMMODATION = 1047 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/lead_form_post_submit_call_to_action_type.pyi b/google-stubs/ads/googleads/v15/enums/types/lead_form_post_submit_call_to_action_type.pyi index be0af8fc2..b5316784b 100644 --- a/google-stubs/ads/googleads/v15/enums/types/lead_form_post_submit_call_to_action_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/lead_form_post_submit_call_to_action_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LeadFormPostSubmitCallToActionTypeEnum(proto.Message): class LeadFormPostSubmitCallToActionType(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class LeadFormPostSubmitCallToActionTypeEnum(proto.Message): LEARN_MORE = 4 SHOP_NOW = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/legacy_app_install_ad_app_store.pyi b/google-stubs/ads/googleads/v15/enums/types/legacy_app_install_ad_app_store.pyi index 43fd41d2d..53c10ec0e 100644 --- a/google-stubs/ads/googleads/v15/enums/types/legacy_app_install_ad_app_store.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/legacy_app_install_ad_app_store.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LegacyAppInstallAdAppStoreEnum(proto.Message): class LegacyAppInstallAdAppStore(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class LegacyAppInstallAdAppStoreEnum(proto.Message): WINDOWS_PHONE_STORE = 5 CN_APP_STORE = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/linked_account_type.pyi b/google-stubs/ads/googleads/v15/enums/types/linked_account_type.pyi index c3fda4f65..7a453fc12 100644 --- a/google-stubs/ads/googleads/v15/enums/types/linked_account_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/linked_account_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LinkedAccountTypeEnum(proto.Message): class LinkedAccountType(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class LinkedAccountTypeEnum(proto.Message): GOOGLE_ADS = 4 ADVERTISING_PARTNER = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/linked_product_type.pyi b/google-stubs/ads/googleads/v15/enums/types/linked_product_type.pyi index bc9075975..eb3bdec49 100644 --- a/google-stubs/ads/googleads/v15/enums/types/linked_product_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/linked_product_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LinkedProductTypeEnum(proto.Message): class LinkedProductType(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class LinkedProductTypeEnum(proto.Message): HOTEL_CENTER = 7 MERCHANT_CENTER = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/listing_group_filter_custom_attribute_index.pyi b/google-stubs/ads/googleads/v15/enums/types/listing_group_filter_custom_attribute_index.pyi index 7bc7cc683..722028ce5 100644 --- a/google-stubs/ads/googleads/v15/enums/types/listing_group_filter_custom_attribute_index.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/listing_group_filter_custom_attribute_index.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ListingGroupFilterCustomAttributeIndexEnum(proto.Message): class ListingGroupFilterCustomAttributeIndex(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class ListingGroupFilterCustomAttributeIndexEnum(proto.Message): INDEX3 = 5 INDEX4 = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/listing_group_filter_listing_source.pyi b/google-stubs/ads/googleads/v15/enums/types/listing_group_filter_listing_source.pyi index 9bc656161..e3e1a29c1 100644 --- a/google-stubs/ads/googleads/v15/enums/types/listing_group_filter_listing_source.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/listing_group_filter_listing_source.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ListingGroupFilterListingSourceEnum(proto.Message): class ListingGroupFilterListingSource(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class ListingGroupFilterListingSourceEnum(proto.Message): SHOPPING = 2 WEBPAGE = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/listing_group_filter_product_category_level.pyi b/google-stubs/ads/googleads/v15/enums/types/listing_group_filter_product_category_level.pyi index e022165e5..25cd712bd 100644 --- a/google-stubs/ads/googleads/v15/enums/types/listing_group_filter_product_category_level.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/listing_group_filter_product_category_level.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ListingGroupFilterProductCategoryLevelEnum(proto.Message): class ListingGroupFilterProductCategoryLevel(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class ListingGroupFilterProductCategoryLevelEnum(proto.Message): LEVEL4 = 5 LEVEL5 = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/listing_group_filter_product_channel.pyi b/google-stubs/ads/googleads/v15/enums/types/listing_group_filter_product_channel.pyi index fb4aa5a59..5b60633f7 100644 --- a/google-stubs/ads/googleads/v15/enums/types/listing_group_filter_product_channel.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/listing_group_filter_product_channel.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ListingGroupFilterProductChannelEnum(proto.Message): class ListingGroupFilterProductChannel(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class ListingGroupFilterProductChannelEnum(proto.Message): ONLINE = 2 LOCAL = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/listing_group_filter_product_condition.pyi b/google-stubs/ads/googleads/v15/enums/types/listing_group_filter_product_condition.pyi index fe1abe2bf..f810a37ab 100644 --- a/google-stubs/ads/googleads/v15/enums/types/listing_group_filter_product_condition.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/listing_group_filter_product_condition.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ListingGroupFilterProductConditionEnum(proto.Message): class ListingGroupFilterProductCondition(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ListingGroupFilterProductConditionEnum(proto.Message): REFURBISHED = 3 USED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/listing_group_filter_product_type_level.pyi b/google-stubs/ads/googleads/v15/enums/types/listing_group_filter_product_type_level.pyi index 10d7af085..93a41c12b 100644 --- a/google-stubs/ads/googleads/v15/enums/types/listing_group_filter_product_type_level.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/listing_group_filter_product_type_level.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ListingGroupFilterProductTypeLevelEnum(proto.Message): class ListingGroupFilterProductTypeLevel(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class ListingGroupFilterProductTypeLevelEnum(proto.Message): LEVEL4 = 5 LEVEL5 = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/listing_group_filter_type_enum.pyi b/google-stubs/ads/googleads/v15/enums/types/listing_group_filter_type_enum.pyi index 495fb901f..9ffedcdcf 100644 --- a/google-stubs/ads/googleads/v15/enums/types/listing_group_filter_type_enum.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/listing_group_filter_type_enum.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ListingGroupFilterTypeEnum(proto.Message): class ListingGroupFilterType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ListingGroupFilterTypeEnum(proto.Message): UNIT_INCLUDED = 3 UNIT_EXCLUDED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/listing_group_type.pyi b/google-stubs/ads/googleads/v15/enums/types/listing_group_type.pyi index 8a98fe529..d6430741e 100644 --- a/google-stubs/ads/googleads/v15/enums/types/listing_group_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/listing_group_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ListingGroupTypeEnum(proto.Message): class ListingGroupType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class ListingGroupTypeEnum(proto.Message): SUBDIVISION = 2 UNIT = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/listing_type.pyi b/google-stubs/ads/googleads/v15/enums/types/listing_type.pyi index 24ebffdec..86446b776 100644 --- a/google-stubs/ads/googleads/v15/enums/types/listing_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/listing_type.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ListingTypeEnum(proto.Message): class ListingType(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 VEHICLES = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/local_placeholder_field.pyi b/google-stubs/ads/googleads/v15/enums/types/local_placeholder_field.pyi index 7979139b2..469a6f042 100644 --- a/google-stubs/ads/googleads/v15/enums/types/local_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/local_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LocalPlaceholderFieldEnum(proto.Message): class LocalPlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -26,8 +30,8 @@ class LocalPlaceholderFieldEnum(proto.Message): IOS_APP_LINK = 19 IOS_APP_STORE_ID = 20 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/local_services_conversation_type.pyi b/google-stubs/ads/googleads/v15/enums/types/local_services_conversation_type.pyi index 3c193693b..12b2ab350 100644 --- a/google-stubs/ads/googleads/v15/enums/types/local_services_conversation_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/local_services_conversation_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LocalServicesLeadConversationTypeEnum(proto.Message): class ConversationType(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class LocalServicesLeadConversationTypeEnum(proto.Message): SMS = 5 BOOKING = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/local_services_insurance_rejection_reason.pyi b/google-stubs/ads/googleads/v15/enums/types/local_services_insurance_rejection_reason.pyi index ef64a8092..3b504ba82 100644 --- a/google-stubs/ads/googleads/v15/enums/types/local_services_insurance_rejection_reason.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/local_services_insurance_rejection_reason.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LocalServicesInsuranceRejectionReasonEnum(proto.Message): class LocalServicesInsuranceRejectionReason(proto.Enum): UNSPECIFIED = 0 @@ -21,8 +25,8 @@ class LocalServicesInsuranceRejectionReasonEnum(proto.Message): NON_FINAL = 14 OTHER = 15 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/local_services_lead_status.pyi b/google-stubs/ads/googleads/v15/enums/types/local_services_lead_status.pyi index 23da8d3fa..d375e87ee 100644 --- a/google-stubs/ads/googleads/v15/enums/types/local_services_lead_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/local_services_lead_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LocalServicesLeadStatusEnum(proto.Message): class LeadStatus(proto.Enum): UNSPECIFIED = 0 @@ -15,8 +19,8 @@ class LocalServicesLeadStatusEnum(proto.Message): CONSUMER_DECLINED = 8 WIPED_OUT = 9 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/local_services_lead_type.pyi b/google-stubs/ads/googleads/v15/enums/types/local_services_lead_type.pyi index a301e4b44..5c2ae30b9 100644 --- a/google-stubs/ads/googleads/v15/enums/types/local_services_lead_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/local_services_lead_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LocalServicesLeadTypeEnum(proto.Message): class LeadType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class LocalServicesLeadTypeEnum(proto.Message): PHONE_CALL = 3 BOOKING = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/local_services_license_rejection_reason.pyi b/google-stubs/ads/googleads/v15/enums/types/local_services_license_rejection_reason.pyi index 8e4296667..460cecddd 100644 --- a/google-stubs/ads/googleads/v15/enums/types/local_services_license_rejection_reason.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/local_services_license_rejection_reason.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LocalServicesLicenseRejectionReasonEnum(proto.Message): class LocalServicesLicenseRejectionReason(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class LocalServicesLicenseRejectionReasonEnum(proto.Message): WRONG_DOCUMENT_OR_ID = 7 OTHER = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/local_services_participant_type.pyi b/google-stubs/ads/googleads/v15/enums/types/local_services_participant_type.pyi index 918c3baf1..7cf65ae9b 100644 --- a/google-stubs/ads/googleads/v15/enums/types/local_services_participant_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/local_services_participant_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LocalServicesParticipantTypeEnum(proto.Message): class ParticipantType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class LocalServicesParticipantTypeEnum(proto.Message): ADVERTISER = 2 CONSUMER = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/local_services_verification_artifact_status.pyi b/google-stubs/ads/googleads/v15/enums/types/local_services_verification_artifact_status.pyi index 96ff08499..d0942c724 100644 --- a/google-stubs/ads/googleads/v15/enums/types/local_services_verification_artifact_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/local_services_verification_artifact_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LocalServicesVerificationArtifactStatusEnum(proto.Message): class LocalServicesVerificationArtifactStatus(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class LocalServicesVerificationArtifactStatusEnum(proto.Message): NO_SUBMISSION = 5 CANCELLED = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/local_services_verification_artifact_type.pyi b/google-stubs/ads/googleads/v15/enums/types/local_services_verification_artifact_type.pyi index 87a268374..5493ee1c2 100644 --- a/google-stubs/ads/googleads/v15/enums/types/local_services_verification_artifact_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/local_services_verification_artifact_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LocalServicesVerificationArtifactTypeEnum(proto.Message): class LocalServicesVerificationArtifactType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class LocalServicesVerificationArtifactTypeEnum(proto.Message): INSURANCE = 3 LICENSE = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/local_services_verification_status.pyi b/google-stubs/ads/googleads/v15/enums/types/local_services_verification_status.pyi index 931ba9bc6..28887b7c5 100644 --- a/google-stubs/ads/googleads/v15/enums/types/local_services_verification_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/local_services_verification_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LocalServicesVerificationStatusEnum(proto.Message): class LocalServicesVerificationStatus(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class LocalServicesVerificationStatusEnum(proto.Message): PARTIAL_SUBMISSION = 7 PENDING_ESCALATION = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/location_extension_targeting_criterion_field.pyi b/google-stubs/ads/googleads/v15/enums/types/location_extension_targeting_criterion_field.pyi index 2f3ef814c..9a2881491 100644 --- a/google-stubs/ads/googleads/v15/enums/types/location_extension_targeting_criterion_field.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/location_extension_targeting_criterion_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LocationExtensionTargetingCriterionFieldEnum(proto.Message): class LocationExtensionTargetingCriterionField(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class LocationExtensionTargetingCriterionFieldEnum(proto.Message): POSTAL_CODE = 6 COUNTRY_CODE = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/location_group_radius_units.pyi b/google-stubs/ads/googleads/v15/enums/types/location_group_radius_units.pyi index bd921c7c3..5ac186010 100644 --- a/google-stubs/ads/googleads/v15/enums/types/location_group_radius_units.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/location_group_radius_units.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LocationGroupRadiusUnitsEnum(proto.Message): class LocationGroupRadiusUnits(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class LocationGroupRadiusUnitsEnum(proto.Message): MILES = 3 MILLI_MILES = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/location_ownership_type.pyi b/google-stubs/ads/googleads/v15/enums/types/location_ownership_type.pyi index 0a3348e10..cf72bba91 100644 --- a/google-stubs/ads/googleads/v15/enums/types/location_ownership_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/location_ownership_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LocationOwnershipTypeEnum(proto.Message): class LocationOwnershipType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class LocationOwnershipTypeEnum(proto.Message): BUSINESS_OWNER = 2 AFFILIATE = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/location_placeholder_field.pyi b/google-stubs/ads/googleads/v15/enums/types/location_placeholder_field.pyi index 7eb7285ec..029fb0937 100644 --- a/google-stubs/ads/googleads/v15/enums/types/location_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/location_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LocationPlaceholderFieldEnum(proto.Message): class LocationPlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -15,8 +19,8 @@ class LocationPlaceholderFieldEnum(proto.Message): COUNTRY_CODE = 8 PHONE_NUMBER = 9 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/location_source_type.pyi b/google-stubs/ads/googleads/v15/enums/types/location_source_type.pyi index 0f98220f2..7f1b2ca20 100644 --- a/google-stubs/ads/googleads/v15/enums/types/location_source_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/location_source_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LocationSourceTypeEnum(proto.Message): class LocationSourceType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class LocationSourceTypeEnum(proto.Message): GOOGLE_MY_BUSINESS = 2 AFFILIATE = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/location_string_filter_type.pyi b/google-stubs/ads/googleads/v15/enums/types/location_string_filter_type.pyi index 9ba7329ab..7535e42f7 100644 --- a/google-stubs/ads/googleads/v15/enums/types/location_string_filter_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/location_string_filter_type.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LocationStringFilterTypeEnum(proto.Message): class LocationStringFilterType(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 EXACT = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/lookalike_expansion_level.pyi b/google-stubs/ads/googleads/v15/enums/types/lookalike_expansion_level.pyi index fbec33b10..3d02a9d23 100644 --- a/google-stubs/ads/googleads/v15/enums/types/lookalike_expansion_level.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/lookalike_expansion_level.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LookalikeExpansionLevelEnum(proto.Message): class LookalikeExpansionLevel(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class LookalikeExpansionLevelEnum(proto.Message): BALANCED = 3 BROAD = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/manager_link_status.pyi b/google-stubs/ads/googleads/v15/enums/types/manager_link_status.pyi index aac6dffa4..03fbf1d25 100644 --- a/google-stubs/ads/googleads/v15/enums/types/manager_link_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/manager_link_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ManagerLinkStatusEnum(proto.Message): class ManagerLinkStatus(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class ManagerLinkStatusEnum(proto.Message): REFUSED = 5 CANCELED = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/matching_function_context_type.pyi b/google-stubs/ads/googleads/v15/enums/types/matching_function_context_type.pyi index c6edebf08..6b75917b7 100644 --- a/google-stubs/ads/googleads/v15/enums/types/matching_function_context_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/matching_function_context_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MatchingFunctionContextTypeEnum(proto.Message): class MatchingFunctionContextType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class MatchingFunctionContextTypeEnum(proto.Message): DEVICE_NAME = 3 FEED_ITEM_SET_ID = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/matching_function_operator.pyi b/google-stubs/ads/googleads/v15/enums/types/matching_function_operator.pyi index b0a8045b1..d617d77ee 100644 --- a/google-stubs/ads/googleads/v15/enums/types/matching_function_operator.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/matching_function_operator.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MatchingFunctionOperatorEnum(proto.Message): class MatchingFunctionOperator(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class MatchingFunctionOperatorEnum(proto.Message): AND = 5 CONTAINS_ANY = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/media_type.pyi b/google-stubs/ads/googleads/v15/enums/types/media_type.pyi index a2dad9a19..174c372a7 100644 --- a/google-stubs/ads/googleads/v15/enums/types/media_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/media_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MediaTypeEnum(proto.Message): class MediaType(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class MediaTypeEnum(proto.Message): VIDEO = 6 DYNAMIC_IMAGE = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/message_placeholder_field.pyi b/google-stubs/ads/googleads/v15/enums/types/message_placeholder_field.pyi index e37429a3e..4efa61100 100644 --- a/google-stubs/ads/googleads/v15/enums/types/message_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/message_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MessagePlaceholderFieldEnum(proto.Message): class MessagePlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class MessagePlaceholderFieldEnum(proto.Message): MESSAGE_EXTENSION_TEXT = 5 MESSAGE_TEXT = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/mime_type.pyi b/google-stubs/ads/googleads/v15/enums/types/mime_type.pyi index ba290806a..a59fd8f9d 100644 --- a/google-stubs/ads/googleads/v15/enums/types/mime_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/mime_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MimeTypeEnum(proto.Message): class MimeType(proto.Enum): UNSPECIFIED = 0 @@ -19,8 +23,8 @@ class MimeTypeEnum(proto.Message): AUDIO_MP3 = 12 HTML5_AD_ZIP = 13 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/minute_of_hour.pyi b/google-stubs/ads/googleads/v15/enums/types/minute_of_hour.pyi index b632119b4..dcbec75ed 100644 --- a/google-stubs/ads/googleads/v15/enums/types/minute_of_hour.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/minute_of_hour.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MinuteOfHourEnum(proto.Message): class MinuteOfHour(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class MinuteOfHourEnum(proto.Message): THIRTY = 4 FORTY_FIVE = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/mobile_app_vendor.pyi b/google-stubs/ads/googleads/v15/enums/types/mobile_app_vendor.pyi index 6d028233e..3eb29d58a 100644 --- a/google-stubs/ads/googleads/v15/enums/types/mobile_app_vendor.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/mobile_app_vendor.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MobileAppVendorEnum(proto.Message): class MobileAppVendor(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class MobileAppVendorEnum(proto.Message): APPLE_APP_STORE = 2 GOOGLE_APP_STORE = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/mobile_device_type.pyi b/google-stubs/ads/googleads/v15/enums/types/mobile_device_type.pyi index 8b8e31766..d05b6c703 100644 --- a/google-stubs/ads/googleads/v15/enums/types/mobile_device_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/mobile_device_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MobileDeviceTypeEnum(proto.Message): class MobileDeviceType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class MobileDeviceTypeEnum(proto.Message): MOBILE = 2 TABLET = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/month_of_year.pyi b/google-stubs/ads/googleads/v15/enums/types/month_of_year.pyi index 58b44faea..345d6c82d 100644 --- a/google-stubs/ads/googleads/v15/enums/types/month_of_year.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/month_of_year.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MonthOfYearEnum(proto.Message): class MonthOfYear(proto.Enum): UNSPECIFIED = 0 @@ -19,8 +23,8 @@ class MonthOfYearEnum(proto.Message): NOVEMBER = 12 DECEMBER = 13 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/negative_geo_target_type.pyi b/google-stubs/ads/googleads/v15/enums/types/negative_geo_target_type.pyi index e7dd157a8..b57bd4333 100644 --- a/google-stubs/ads/googleads/v15/enums/types/negative_geo_target_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/negative_geo_target_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class NegativeGeoTargetTypeEnum(proto.Message): class NegativeGeoTargetType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class NegativeGeoTargetTypeEnum(proto.Message): PRESENCE_OR_INTEREST = 4 PRESENCE = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/offline_conversion_diagnostic_status_enum.pyi b/google-stubs/ads/googleads/v15/enums/types/offline_conversion_diagnostic_status_enum.pyi index 9ee3e16b0..0904a802e 100644 --- a/google-stubs/ads/googleads/v15/enums/types/offline_conversion_diagnostic_status_enum.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/offline_conversion_diagnostic_status_enum.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class OfflineConversionDiagnosticStatusEnum(proto.Message): class OfflineConversionDiagnosticStatus(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class OfflineConversionDiagnosticStatusEnum(proto.Message): NEEDS_ATTENTION = 4 NO_RECENT_UPLOAD = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/offline_event_upload_client_enum.pyi b/google-stubs/ads/googleads/v15/enums/types/offline_event_upload_client_enum.pyi index f087b0648..cfe1faae7 100644 --- a/google-stubs/ads/googleads/v15/enums/types/offline_event_upload_client_enum.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/offline_event_upload_client_enum.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class OfflineEventUploadClientEnum(proto.Message): class OfflineEventUploadClient(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class OfflineEventUploadClientEnum(proto.Message): GOOGLE_ADS_WEB_CLIENT = 3 ADS_DATA_CONNECTOR = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/offline_user_data_job_failure_reason.pyi b/google-stubs/ads/googleads/v15/enums/types/offline_user_data_job_failure_reason.pyi index 696180968..2688ed086 100644 --- a/google-stubs/ads/googleads/v15/enums/types/offline_user_data_job_failure_reason.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/offline_user_data_job_failure_reason.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class OfflineUserDataJobFailureReasonEnum(proto.Message): class OfflineUserDataJobFailureReason(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class OfflineUserDataJobFailureReasonEnum(proto.Message): LOW_AVERAGE_TRANSACTION_VALUE = 5 NEWLY_OBSERVED_CURRENCY_CODE = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/offline_user_data_job_match_rate_range.pyi b/google-stubs/ads/googleads/v15/enums/types/offline_user_data_job_match_rate_range.pyi index 9f736d8e2..7e0f30878 100644 --- a/google-stubs/ads/googleads/v15/enums/types/offline_user_data_job_match_rate_range.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/offline_user_data_job_match_rate_range.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class OfflineUserDataJobMatchRateRangeEnum(proto.Message): class OfflineUserDataJobMatchRateRange(proto.Enum): UNSPECIFIED = 0 @@ -16,8 +20,8 @@ class OfflineUserDataJobMatchRateRangeEnum(proto.Message): MATCH_RANGE_81_TO_90 = 9 MATCH_RANGE_91_TO_100 = 10 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/offline_user_data_job_status.pyi b/google-stubs/ads/googleads/v15/enums/types/offline_user_data_job_status.pyi index 2c577b1d9..aad0bfdf4 100644 --- a/google-stubs/ads/googleads/v15/enums/types/offline_user_data_job_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/offline_user_data_job_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class OfflineUserDataJobStatusEnum(proto.Message): class OfflineUserDataJobStatus(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class OfflineUserDataJobStatusEnum(proto.Message): SUCCESS = 4 FAILED = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/offline_user_data_job_type.pyi b/google-stubs/ads/googleads/v15/enums/types/offline_user_data_job_type.pyi index a6fa2b98d..60ea339c6 100644 --- a/google-stubs/ads/googleads/v15/enums/types/offline_user_data_job_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/offline_user_data_job_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class OfflineUserDataJobTypeEnum(proto.Message): class OfflineUserDataJobType(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class OfflineUserDataJobTypeEnum(proto.Message): CUSTOMER_MATCH_USER_LIST = 4 CUSTOMER_MATCH_WITH_ATTRIBUTES = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/operating_system_version_operator_type.pyi b/google-stubs/ads/googleads/v15/enums/types/operating_system_version_operator_type.pyi index 4810ca55b..000074f0e 100644 --- a/google-stubs/ads/googleads/v15/enums/types/operating_system_version_operator_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/operating_system_version_operator_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class OperatingSystemVersionOperatorTypeEnum(proto.Message): class OperatingSystemVersionOperatorType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class OperatingSystemVersionOperatorTypeEnum(proto.Message): EQUALS_TO = 2 GREATER_THAN_EQUALS_TO = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/optimization_goal_type.pyi b/google-stubs/ads/googleads/v15/enums/types/optimization_goal_type.pyi index d7658fe4d..e3c398c2d 100644 --- a/google-stubs/ads/googleads/v15/enums/types/optimization_goal_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/optimization_goal_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class OptimizationGoalTypeEnum(proto.Message): class OptimizationGoalType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class OptimizationGoalTypeEnum(proto.Message): DRIVING_DIRECTIONS = 3 APP_PRE_REGISTRATION = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/parental_status_type.pyi b/google-stubs/ads/googleads/v15/enums/types/parental_status_type.pyi index a6c025e3d..7f1d956b1 100644 --- a/google-stubs/ads/googleads/v15/enums/types/parental_status_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/parental_status_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ParentalStatusTypeEnum(proto.Message): class ParentalStatusType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ParentalStatusTypeEnum(proto.Message): NOT_A_PARENT = 301 UNDETERMINED = 302 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/payment_mode.pyi b/google-stubs/ads/googleads/v15/enums/types/payment_mode.pyi index 3a3cfcfd0..e5530b2e6 100644 --- a/google-stubs/ads/googleads/v15/enums/types/payment_mode.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/payment_mode.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PaymentModeEnum(proto.Message): class PaymentMode(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class PaymentModeEnum(proto.Message): CONVERSIONS = 6 GUEST_STAY = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/performance_max_upgrade_status.pyi b/google-stubs/ads/googleads/v15/enums/types/performance_max_upgrade_status.pyi index 293687d26..1c893cdb6 100644 --- a/google-stubs/ads/googleads/v15/enums/types/performance_max_upgrade_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/performance_max_upgrade_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PerformanceMaxUpgradeStatusEnum(proto.Message): class PerformanceMaxUpgradeStatus(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class PerformanceMaxUpgradeStatusEnum(proto.Message): UPGRADE_FAILED = 5 UPGRADE_ELIGIBLE = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/placeholder_type.pyi b/google-stubs/ads/googleads/v15/enums/types/placeholder_type.pyi index 468c0134a..db8c0502b 100644 --- a/google-stubs/ads/googleads/v15/enums/types/placeholder_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/placeholder_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PlaceholderTypeEnum(proto.Message): class PlaceholderType(proto.Enum): UNSPECIFIED = 0 @@ -27,8 +31,8 @@ class PlaceholderTypeEnum(proto.Message): DYNAMIC_JOB = 20 IMAGE = 21 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/placement_type.pyi b/google-stubs/ads/googleads/v15/enums/types/placement_type.pyi index 488ffcd87..664e74ca0 100644 --- a/google-stubs/ads/googleads/v15/enums/types/placement_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/placement_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PlacementTypeEnum(proto.Message): class PlacementType(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class PlacementTypeEnum(proto.Message): YOUTUBE_CHANNEL = 6 GOOGLE_PRODUCTS = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/policy_approval_status.pyi b/google-stubs/ads/googleads/v15/enums/types/policy_approval_status.pyi index 92df527dc..8e4324dda 100644 --- a/google-stubs/ads/googleads/v15/enums/types/policy_approval_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/policy_approval_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PolicyApprovalStatusEnum(proto.Message): class PolicyApprovalStatus(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class PolicyApprovalStatusEnum(proto.Message): APPROVED = 4 AREA_OF_INTEREST_ONLY = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/policy_review_status.pyi b/google-stubs/ads/googleads/v15/enums/types/policy_review_status.pyi index 4ae953777..6d5763b3f 100644 --- a/google-stubs/ads/googleads/v15/enums/types/policy_review_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/policy_review_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PolicyReviewStatusEnum(proto.Message): class PolicyReviewStatus(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class PolicyReviewStatusEnum(proto.Message): UNDER_APPEAL = 4 ELIGIBLE_MAY_SERVE = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/policy_topic_entry_type.pyi b/google-stubs/ads/googleads/v15/enums/types/policy_topic_entry_type.pyi index 3f1a1343d..fbf72fb43 100644 --- a/google-stubs/ads/googleads/v15/enums/types/policy_topic_entry_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/policy_topic_entry_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PolicyTopicEntryTypeEnum(proto.Message): class PolicyTopicEntryType(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class PolicyTopicEntryTypeEnum(proto.Message): BROADENING = 6 AREA_OF_INTEREST_ONLY = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/policy_topic_evidence_destination_mismatch_url_type.pyi b/google-stubs/ads/googleads/v15/enums/types/policy_topic_evidence_destination_mismatch_url_type.pyi index 469631383..ebc7ccdab 100644 --- a/google-stubs/ads/googleads/v15/enums/types/policy_topic_evidence_destination_mismatch_url_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/policy_topic_evidence_destination_mismatch_url_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PolicyTopicEvidenceDestinationMismatchUrlTypeEnum(proto.Message): class PolicyTopicEvidenceDestinationMismatchUrlType(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class PolicyTopicEvidenceDestinationMismatchUrlTypeEnum(proto.Message): TRACKING_URL = 5 MOBILE_TRACKING_URL = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/policy_topic_evidence_destination_not_working_device.pyi b/google-stubs/ads/googleads/v15/enums/types/policy_topic_evidence_destination_not_working_device.pyi index 0d5c22dbe..cc8fb5a35 100644 --- a/google-stubs/ads/googleads/v15/enums/types/policy_topic_evidence_destination_not_working_device.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/policy_topic_evidence_destination_not_working_device.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PolicyTopicEvidenceDestinationNotWorkingDeviceEnum(proto.Message): class PolicyTopicEvidenceDestinationNotWorkingDevice(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class PolicyTopicEvidenceDestinationNotWorkingDeviceEnum(proto.Message): ANDROID = 3 IOS = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/policy_topic_evidence_destination_not_working_dns_error_type.pyi b/google-stubs/ads/googleads/v15/enums/types/policy_topic_evidence_destination_not_working_dns_error_type.pyi index 0e6b1fa35..01eae9b2a 100644 --- a/google-stubs/ads/googleads/v15/enums/types/policy_topic_evidence_destination_not_working_dns_error_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/policy_topic_evidence_destination_not_working_dns_error_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum(proto.Message): class PolicyTopicEvidenceDestinationNotWorkingDnsErrorType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum(proto.Message): HOSTNAME_NOT_FOUND = 2 GOOGLE_CRAWLER_DNS_ISSUE = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/positive_geo_target_type.pyi b/google-stubs/ads/googleads/v15/enums/types/positive_geo_target_type.pyi index f8106cf4c..e2d454c44 100644 --- a/google-stubs/ads/googleads/v15/enums/types/positive_geo_target_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/positive_geo_target_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PositiveGeoTargetTypeEnum(proto.Message): class PositiveGeoTargetType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class PositiveGeoTargetTypeEnum(proto.Message): SEARCH_INTEREST = 6 PRESENCE = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/price_extension_price_qualifier.pyi b/google-stubs/ads/googleads/v15/enums/types/price_extension_price_qualifier.pyi index 884922570..ba4303389 100644 --- a/google-stubs/ads/googleads/v15/enums/types/price_extension_price_qualifier.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/price_extension_price_qualifier.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PriceExtensionPriceQualifierEnum(proto.Message): class PriceExtensionPriceQualifier(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class PriceExtensionPriceQualifierEnum(proto.Message): UP_TO = 3 AVERAGE = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/price_extension_price_unit.pyi b/google-stubs/ads/googleads/v15/enums/types/price_extension_price_unit.pyi index 127e443bd..b5ca6e0b1 100644 --- a/google-stubs/ads/googleads/v15/enums/types/price_extension_price_unit.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/price_extension_price_unit.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PriceExtensionPriceUnitEnum(proto.Message): class PriceExtensionPriceUnit(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class PriceExtensionPriceUnitEnum(proto.Message): PER_YEAR = 6 PER_NIGHT = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/price_extension_type.pyi b/google-stubs/ads/googleads/v15/enums/types/price_extension_type.pyi index 20e2dcfb4..46b74a61a 100644 --- a/google-stubs/ads/googleads/v15/enums/types/price_extension_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/price_extension_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PriceExtensionTypeEnum(proto.Message): class PriceExtensionType(proto.Enum): UNSPECIFIED = 0 @@ -16,8 +20,8 @@ class PriceExtensionTypeEnum(proto.Message): SERVICE_CATEGORIES = 9 SERVICE_TIERS = 10 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/price_placeholder_field.pyi b/google-stubs/ads/googleads/v15/enums/types/price_placeholder_field.pyi index 6165716f6..d819c2874 100644 --- a/google-stubs/ads/googleads/v15/enums/types/price_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/price_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PricePlaceholderFieldEnum(proto.Message): class PricePlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -60,8 +64,8 @@ class PricePlaceholderFieldEnum(proto.Message): ITEM_8_FINAL_URLS = 804 ITEM_8_FINAL_MOBILE_URLS = 805 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/product_category_level.pyi b/google-stubs/ads/googleads/v15/enums/types/product_category_level.pyi index bbb9955c4..75e7200f0 100644 --- a/google-stubs/ads/googleads/v15/enums/types/product_category_level.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/product_category_level.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ProductCategoryLevelEnum(proto.Message): class ProductCategoryLevel(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class ProductCategoryLevelEnum(proto.Message): LEVEL4 = 5 LEVEL5 = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/product_category_state.pyi b/google-stubs/ads/googleads/v15/enums/types/product_category_state.pyi index 56dd5fd3d..d2ed21ebf 100644 --- a/google-stubs/ads/googleads/v15/enums/types/product_category_state.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/product_category_state.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ProductCategoryStateEnum(proto.Message): class ProductCategoryState(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class ProductCategoryStateEnum(proto.Message): ENABLED = 2 OBSOLETE = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/product_channel.pyi b/google-stubs/ads/googleads/v15/enums/types/product_channel.pyi index 7691b87da..75bfbe001 100644 --- a/google-stubs/ads/googleads/v15/enums/types/product_channel.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/product_channel.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ProductChannelEnum(proto.Message): class ProductChannel(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class ProductChannelEnum(proto.Message): ONLINE = 2 LOCAL = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/product_channel_exclusivity.pyi b/google-stubs/ads/googleads/v15/enums/types/product_channel_exclusivity.pyi index c37808121..aaa3f9028 100644 --- a/google-stubs/ads/googleads/v15/enums/types/product_channel_exclusivity.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/product_channel_exclusivity.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ProductChannelExclusivityEnum(proto.Message): class ProductChannelExclusivity(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class ProductChannelExclusivityEnum(proto.Message): SINGLE_CHANNEL = 2 MULTI_CHANNEL = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/product_condition.pyi b/google-stubs/ads/googleads/v15/enums/types/product_condition.pyi index d2634be84..1106dbb39 100644 --- a/google-stubs/ads/googleads/v15/enums/types/product_condition.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/product_condition.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ProductConditionEnum(proto.Message): class ProductCondition(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ProductConditionEnum(proto.Message): REFURBISHED = 4 USED = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/product_custom_attribute_index.pyi b/google-stubs/ads/googleads/v15/enums/types/product_custom_attribute_index.pyi index 053fb583b..9382d0ad7 100644 --- a/google-stubs/ads/googleads/v15/enums/types/product_custom_attribute_index.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/product_custom_attribute_index.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ProductCustomAttributeIndexEnum(proto.Message): class ProductCustomAttributeIndex(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class ProductCustomAttributeIndexEnum(proto.Message): INDEX3 = 10 INDEX4 = 11 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/product_link_invitation_status.pyi b/google-stubs/ads/googleads/v15/enums/types/product_link_invitation_status.pyi index 820ee818d..5f60cbf4b 100644 --- a/google-stubs/ads/googleads/v15/enums/types/product_link_invitation_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/product_link_invitation_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ProductLinkInvitationStatusEnum(proto.Message): class ProductLinkInvitationStatus(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class ProductLinkInvitationStatusEnum(proto.Message): REJECTED = 6 EXPIRED = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/product_type_level.pyi b/google-stubs/ads/googleads/v15/enums/types/product_type_level.pyi index 1077c7930..45b6b42c1 100644 --- a/google-stubs/ads/googleads/v15/enums/types/product_type_level.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/product_type_level.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ProductTypeLevelEnum(proto.Message): class ProductTypeLevel(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class ProductTypeLevelEnum(proto.Message): LEVEL4 = 10 LEVEL5 = 11 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/promotion_extension_discount_modifier.pyi b/google-stubs/ads/googleads/v15/enums/types/promotion_extension_discount_modifier.pyi index a40f2d2e3..ee8aef5a3 100644 --- a/google-stubs/ads/googleads/v15/enums/types/promotion_extension_discount_modifier.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/promotion_extension_discount_modifier.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PromotionExtensionDiscountModifierEnum(proto.Message): class PromotionExtensionDiscountModifier(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 UP_TO = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/promotion_extension_occasion.pyi b/google-stubs/ads/googleads/v15/enums/types/promotion_extension_occasion.pyi index 9c7071a25..2dd102f62 100644 --- a/google-stubs/ads/googleads/v15/enums/types/promotion_extension_occasion.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/promotion_extension_occasion.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PromotionExtensionOccasionEnum(proto.Message): class PromotionExtensionOccasion(proto.Enum): UNSPECIFIED = 0 @@ -44,8 +48,8 @@ class PromotionExtensionOccasionEnum(proto.Message): SONGKRAN = 37 YEAR_END_GIFT = 38 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/promotion_placeholder_field.pyi b/google-stubs/ads/googleads/v15/enums/types/promotion_placeholder_field.pyi index d062b6474..84d3e72d6 100644 --- a/google-stubs/ads/googleads/v15/enums/types/promotion_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/promotion_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PromotionPlaceholderFieldEnum(proto.Message): class PromotionPlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -21,8 +25,8 @@ class PromotionPlaceholderFieldEnum(proto.Message): LANGUAGE = 14 FINAL_URL_SUFFIX = 15 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/proximity_radius_units.pyi b/google-stubs/ads/googleads/v15/enums/types/proximity_radius_units.pyi index 0719757e0..0bdd69d55 100644 --- a/google-stubs/ads/googleads/v15/enums/types/proximity_radius_units.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/proximity_radius_units.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ProximityRadiusUnitsEnum(proto.Message): class ProximityRadiusUnits(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class ProximityRadiusUnitsEnum(proto.Message): MILES = 2 KILOMETERS = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/quality_score_bucket.pyi b/google-stubs/ads/googleads/v15/enums/types/quality_score_bucket.pyi index 70602e523..348604c17 100644 --- a/google-stubs/ads/googleads/v15/enums/types/quality_score_bucket.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/quality_score_bucket.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class QualityScoreBucketEnum(proto.Message): class QualityScoreBucket(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class QualityScoreBucketEnum(proto.Message): AVERAGE = 3 ABOVE_AVERAGE = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/reach_plan_age_range.pyi b/google-stubs/ads/googleads/v15/enums/types/reach_plan_age_range.pyi index 166e5ad19..e76378d44 100644 --- a/google-stubs/ads/googleads/v15/enums/types/reach_plan_age_range.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/reach_plan_age_range.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ReachPlanAgeRangeEnum(proto.Message): class ReachPlanAgeRange(proto.Enum): UNSPECIFIED = 0 @@ -33,8 +37,8 @@ class ReachPlanAgeRangeEnum(proto.Message): AGE_RANGE_55_65_UP = 21 AGE_RANGE_65_UP = 503006 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/reach_plan_network.pyi b/google-stubs/ads/googleads/v15/enums/types/reach_plan_network.pyi index d989eb8e5..9eb69d864 100644 --- a/google-stubs/ads/googleads/v15/enums/types/reach_plan_network.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/reach_plan_network.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ReachPlanNetworkEnum(proto.Message): class ReachPlanNetwork(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ReachPlanNetworkEnum(proto.Message): GOOGLE_VIDEO_PARTNERS = 3 YOUTUBE_AND_GOOGLE_VIDEO_PARTNERS = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/reach_plan_surface.pyi b/google-stubs/ads/googleads/v15/enums/types/reach_plan_surface.pyi index 0418d3e6c..8f0488de8 100644 --- a/google-stubs/ads/googleads/v15/enums/types/reach_plan_surface.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/reach_plan_surface.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ReachPlanSurfaceEnum(proto.Message): class ReachPlanSurface(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class ReachPlanSurfaceEnum(proto.Message): IN_STREAM_SKIPPABLE = 5 SHORTS = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/real_estate_placeholder_field.pyi b/google-stubs/ads/googleads/v15/enums/types/real_estate_placeholder_field.pyi index 5b912679c..600598f9b 100644 --- a/google-stubs/ads/googleads/v15/enums/types/real_estate_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/real_estate_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class RealEstatePlaceholderFieldEnum(proto.Message): class RealEstatePlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -25,8 +29,8 @@ class RealEstatePlaceholderFieldEnum(proto.Message): IOS_APP_LINK = 18 IOS_APP_STORE_ID = 19 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/recommendation_subscription_status.pyi b/google-stubs/ads/googleads/v15/enums/types/recommendation_subscription_status.pyi index 7c4a0ae8c..228dfdd13 100644 --- a/google-stubs/ads/googleads/v15/enums/types/recommendation_subscription_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/recommendation_subscription_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class RecommendationSubscriptionStatusEnum(proto.Message): class RecommendationSubscriptionStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class RecommendationSubscriptionStatusEnum(proto.Message): ENABLED = 2 PAUSED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/recommendation_type.pyi b/google-stubs/ads/googleads/v15/enums/types/recommendation_type.pyi index 40c8ba370..595ab7fda 100644 --- a/google-stubs/ads/googleads/v15/enums/types/recommendation_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/recommendation_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class RecommendationTypeEnum(proto.Message): class RecommendationType(proto.Enum): UNSPECIFIED = 0 @@ -54,8 +58,8 @@ class RecommendationTypeEnum(proto.Message): SET_TARGET_CPA = 50 SET_TARGET_ROAS = 51 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/resource_change_operation.pyi b/google-stubs/ads/googleads/v15/enums/types/resource_change_operation.pyi index 12d697349..3cd278d2f 100644 --- a/google-stubs/ads/googleads/v15/enums/types/resource_change_operation.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/resource_change_operation.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ResourceChangeOperationEnum(proto.Message): class ResourceChangeOperation(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ResourceChangeOperationEnum(proto.Message): UPDATE = 3 REMOVE = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/resource_limit_type.pyi b/google-stubs/ads/googleads/v15/enums/types/resource_limit_type.pyi index cf6ae3d7f..677f211c0 100644 --- a/google-stubs/ads/googleads/v15/enums/types/resource_limit_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/resource_limit_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ResourceLimitTypeEnum(proto.Message): class ResourceLimitType(proto.Enum): UNSPECIFIED = 0 @@ -148,8 +152,8 @@ class ResourceLimitTypeEnum(proto.Message): ENABLED_BRAND_LIST_CRITERIA_PER_CAMPAIGN = 184 SHARED_SETS_PER_ACCOUNT_FOR_BRAND = 185 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/response_content_type.pyi b/google-stubs/ads/googleads/v15/enums/types/response_content_type.pyi index c955a392b..e710036c6 100644 --- a/google-stubs/ads/googleads/v15/enums/types/response_content_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/response_content_type.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ResponseContentTypeEnum(proto.Message): class ResponseContentType(proto.Enum): UNSPECIFIED = 0 RESOURCE_NAME_ONLY = 1 MUTABLE_RESOURCE = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/search_engine_results_page_type.pyi b/google-stubs/ads/googleads/v15/enums/types/search_engine_results_page_type.pyi index 6c05cece7..7ef06d97a 100644 --- a/google-stubs/ads/googleads/v15/enums/types/search_engine_results_page_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/search_engine_results_page_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SearchEngineResultsPageTypeEnum(proto.Message): class SearchEngineResultsPageType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class SearchEngineResultsPageTypeEnum(proto.Message): ORGANIC_ONLY = 3 ADS_AND_ORGANIC = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/search_term_match_type.pyi b/google-stubs/ads/googleads/v15/enums/types/search_term_match_type.pyi index 8cb50b03d..6dd7a961d 100644 --- a/google-stubs/ads/googleads/v15/enums/types/search_term_match_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/search_term_match_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SearchTermMatchTypeEnum(proto.Message): class SearchTermMatchType(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class SearchTermMatchTypeEnum(proto.Message): NEAR_EXACT = 5 NEAR_PHRASE = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/search_term_targeting_status.pyi b/google-stubs/ads/googleads/v15/enums/types/search_term_targeting_status.pyi index 156395bb5..20adbe350 100644 --- a/google-stubs/ads/googleads/v15/enums/types/search_term_targeting_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/search_term_targeting_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SearchTermTargetingStatusEnum(proto.Message): class SearchTermTargetingStatus(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class SearchTermTargetingStatusEnum(proto.Message): ADDED_EXCLUDED = 4 NONE = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/seasonality_event_scope.pyi b/google-stubs/ads/googleads/v15/enums/types/seasonality_event_scope.pyi index 679d98d75..d72555ea8 100644 --- a/google-stubs/ads/googleads/v15/enums/types/seasonality_event_scope.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/seasonality_event_scope.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SeasonalityEventScopeEnum(proto.Message): class SeasonalityEventScope(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class SeasonalityEventScopeEnum(proto.Message): CAMPAIGN = 4 CHANNEL = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/seasonality_event_status.pyi b/google-stubs/ads/googleads/v15/enums/types/seasonality_event_status.pyi index 3d65b5284..e71c4c1b0 100644 --- a/google-stubs/ads/googleads/v15/enums/types/seasonality_event_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/seasonality_event_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SeasonalityEventStatusEnum(proto.Message): class SeasonalityEventStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class SeasonalityEventStatusEnum(proto.Message): ENABLED = 2 REMOVED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/served_asset_field_type.pyi b/google-stubs/ads/googleads/v15/enums/types/served_asset_field_type.pyi index 100c57ff8..888452e95 100644 --- a/google-stubs/ads/googleads/v15/enums/types/served_asset_field_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/served_asset_field_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ServedAssetFieldTypeEnum(proto.Message): class ServedAssetFieldType(proto.Enum): UNSPECIFIED = 0 @@ -37,8 +41,8 @@ class ServedAssetFieldTypeEnum(proto.Message): LEAD_FORM = 30 BUSINESS_LOGO = 31 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/shared_set_status.pyi b/google-stubs/ads/googleads/v15/enums/types/shared_set_status.pyi index 96cbe7970..0a0a25e51 100644 --- a/google-stubs/ads/googleads/v15/enums/types/shared_set_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/shared_set_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SharedSetStatusEnum(proto.Message): class SharedSetStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class SharedSetStatusEnum(proto.Message): ENABLED = 2 REMOVED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/shared_set_type.pyi b/google-stubs/ads/googleads/v15/enums/types/shared_set_type.pyi index bca5b1df8..53395ccdd 100644 --- a/google-stubs/ads/googleads/v15/enums/types/shared_set_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/shared_set_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SharedSetTypeEnum(proto.Message): class SharedSetType(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class SharedSetTypeEnum(proto.Message): ACCOUNT_LEVEL_NEGATIVE_KEYWORDS = 4 BRANDS = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/shopping_add_products_to_campaign_recommendation_enum.pyi b/google-stubs/ads/googleads/v15/enums/types/shopping_add_products_to_campaign_recommendation_enum.pyi index 8a315b246..443a224be 100644 --- a/google-stubs/ads/googleads/v15/enums/types/shopping_add_products_to_campaign_recommendation_enum.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/shopping_add_products_to_campaign_recommendation_enum.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ShoppingAddProductsToCampaignRecommendationEnum(proto.Message): class Reason(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class ShoppingAddProductsToCampaignRecommendationEnum(proto.Message): ADS_ACCOUNT_EXCLUDES_OFFERS_FROM_CAMPAIGN = 4 ALL_PRODUCTS_ARE_EXCLUDED_FROM_CAMPAIGN = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/simulation_modification_method.pyi b/google-stubs/ads/googleads/v15/enums/types/simulation_modification_method.pyi index f1114e379..85d63db17 100644 --- a/google-stubs/ads/googleads/v15/enums/types/simulation_modification_method.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/simulation_modification_method.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SimulationModificationMethodEnum(proto.Message): class SimulationModificationMethod(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class SimulationModificationMethodEnum(proto.Message): DEFAULT = 3 SCALING = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/simulation_type.pyi b/google-stubs/ads/googleads/v15/enums/types/simulation_type.pyi index e8832011b..076d32f73 100644 --- a/google-stubs/ads/googleads/v15/enums/types/simulation_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/simulation_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SimulationTypeEnum(proto.Message): class SimulationType(proto.Enum): UNSPECIFIED = 0 @@ -15,8 +19,8 @@ class SimulationTypeEnum(proto.Message): TARGET_IMPRESSION_SHARE = 8 BUDGET = 9 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/sitelink_placeholder_field.pyi b/google-stubs/ads/googleads/v15/enums/types/sitelink_placeholder_field.pyi index 6d5307bf5..2a8cc3197 100644 --- a/google-stubs/ads/googleads/v15/enums/types/sitelink_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/sitelink_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SitelinkPlaceholderFieldEnum(proto.Message): class SitelinkPlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class SitelinkPlaceholderFieldEnum(proto.Message): TRACKING_URL = 7 FINAL_URL_SUFFIX = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/sk_ad_network_ad_event_type.pyi b/google-stubs/ads/googleads/v15/enums/types/sk_ad_network_ad_event_type.pyi index a7c403e97..9c82cfe2c 100644 --- a/google-stubs/ads/googleads/v15/enums/types/sk_ad_network_ad_event_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/sk_ad_network_ad_event_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SkAdNetworkAdEventTypeEnum(proto.Message): class SkAdNetworkAdEventType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class SkAdNetworkAdEventTypeEnum(proto.Message): INTERACTION = 3 VIEW = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/sk_ad_network_attribution_credit.pyi b/google-stubs/ads/googleads/v15/enums/types/sk_ad_network_attribution_credit.pyi index 95b32d501..7d299e726 100644 --- a/google-stubs/ads/googleads/v15/enums/types/sk_ad_network_attribution_credit.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/sk_ad_network_attribution_credit.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SkAdNetworkAttributionCreditEnum(proto.Message): class SkAdNetworkAttributionCredit(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class SkAdNetworkAttributionCreditEnum(proto.Message): WON = 3 CONTRIBUTED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/sk_ad_network_coarse_conversion_value.pyi b/google-stubs/ads/googleads/v15/enums/types/sk_ad_network_coarse_conversion_value.pyi index 694155948..c50f305ac 100644 --- a/google-stubs/ads/googleads/v15/enums/types/sk_ad_network_coarse_conversion_value.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/sk_ad_network_coarse_conversion_value.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SkAdNetworkCoarseConversionValueEnum(proto.Message): class SkAdNetworkCoarseConversionValue(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class SkAdNetworkCoarseConversionValueEnum(proto.Message): HIGH = 5 NONE = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/sk_ad_network_source_type.pyi b/google-stubs/ads/googleads/v15/enums/types/sk_ad_network_source_type.pyi index 033dc624c..dd77ad6b4 100644 --- a/google-stubs/ads/googleads/v15/enums/types/sk_ad_network_source_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/sk_ad_network_source_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SkAdNetworkSourceTypeEnum(proto.Message): class SkAdNetworkSourceType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class SkAdNetworkSourceTypeEnum(proto.Message): WEBSITE = 3 MOBILE_APPLICATION = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/sk_ad_network_user_type.pyi b/google-stubs/ads/googleads/v15/enums/types/sk_ad_network_user_type.pyi index 66deafefe..fb87cd489 100644 --- a/google-stubs/ads/googleads/v15/enums/types/sk_ad_network_user_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/sk_ad_network_user_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SkAdNetworkUserTypeEnum(proto.Message): class SkAdNetworkUserType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class SkAdNetworkUserTypeEnum(proto.Message): NEW_INSTALLER = 3 REINSTALLER = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/slot.pyi b/google-stubs/ads/googleads/v15/enums/types/slot.pyi index f46e9e531..cf6cc239f 100644 --- a/google-stubs/ads/googleads/v15/enums/types/slot.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/slot.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SlotEnum(proto.Message): class Slot(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class SlotEnum(proto.Message): SEARCH_PARTNER_OTHER = 7 MIXED = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/smart_campaign_not_eligible_reason.pyi b/google-stubs/ads/googleads/v15/enums/types/smart_campaign_not_eligible_reason.pyi index 28a97469c..e75d7e633 100644 --- a/google-stubs/ads/googleads/v15/enums/types/smart_campaign_not_eligible_reason.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/smart_campaign_not_eligible_reason.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SmartCampaignNotEligibleReasonEnum(proto.Message): class SmartCampaignNotEligibleReason(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class SmartCampaignNotEligibleReasonEnum(proto.Message): BUSINESS_PROFILE_LOCATION_REMOVED = 4 ALL_ADS_DISAPPROVED = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/smart_campaign_status.pyi b/google-stubs/ads/googleads/v15/enums/types/smart_campaign_status.pyi index 8c34e5c5b..f62f97028 100644 --- a/google-stubs/ads/googleads/v15/enums/types/smart_campaign_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/smart_campaign_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SmartCampaignStatusEnum(proto.Message): class SmartCampaignStatus(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class SmartCampaignStatusEnum(proto.Message): REMOVED = 6 ENDED = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/spending_limit_type.pyi b/google-stubs/ads/googleads/v15/enums/types/spending_limit_type.pyi index 6fcf3e986..dccc3e8aa 100644 --- a/google-stubs/ads/googleads/v15/enums/types/spending_limit_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/spending_limit_type.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SpendingLimitTypeEnum(proto.Message): class SpendingLimitType(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 INFINITE = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/structured_snippet_placeholder_field.pyi b/google-stubs/ads/googleads/v15/enums/types/structured_snippet_placeholder_field.pyi index 0823c571f..232276dc7 100644 --- a/google-stubs/ads/googleads/v15/enums/types/structured_snippet_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/structured_snippet_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class StructuredSnippetPlaceholderFieldEnum(proto.Message): class StructuredSnippetPlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class StructuredSnippetPlaceholderFieldEnum(proto.Message): HEADER = 2 SNIPPETS = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/summary_row_setting.pyi b/google-stubs/ads/googleads/v15/enums/types/summary_row_setting.pyi index 80110abb5..b0b9f2fee 100644 --- a/google-stubs/ads/googleads/v15/enums/types/summary_row_setting.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/summary_row_setting.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SummaryRowSettingEnum(proto.Message): class SummaryRowSetting(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class SummaryRowSettingEnum(proto.Message): SUMMARY_ROW_WITH_RESULTS = 3 SUMMARY_ROW_ONLY = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/system_managed_entity_source.pyi b/google-stubs/ads/googleads/v15/enums/types/system_managed_entity_source.pyi index d2c83ec29..fa94a4225 100644 --- a/google-stubs/ads/googleads/v15/enums/types/system_managed_entity_source.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/system_managed_entity_source.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SystemManagedResourceSourceEnum(proto.Message): class SystemManagedResourceSource(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 AD_VARIATIONS = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/target_cpa_opt_in_recommendation_goal.pyi b/google-stubs/ads/googleads/v15/enums/types/target_cpa_opt_in_recommendation_goal.pyi index 9b70b9bc7..95c91ee51 100644 --- a/google-stubs/ads/googleads/v15/enums/types/target_cpa_opt_in_recommendation_goal.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/target_cpa_opt_in_recommendation_goal.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class TargetCpaOptInRecommendationGoalEnum(proto.Message): class TargetCpaOptInRecommendationGoal(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class TargetCpaOptInRecommendationGoalEnum(proto.Message): SAME_CPA = 4 CLOSEST_CPA = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/target_frequency_time_unit.pyi b/google-stubs/ads/googleads/v15/enums/types/target_frequency_time_unit.pyi index 5e6136876..867259677 100644 --- a/google-stubs/ads/googleads/v15/enums/types/target_frequency_time_unit.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/target_frequency_time_unit.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class TargetFrequencyTimeUnitEnum(proto.Message): class TargetFrequencyTimeUnit(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 WEEKLY = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/target_impression_share_location.pyi b/google-stubs/ads/googleads/v15/enums/types/target_impression_share_location.pyi index 2c6eab970..0d4edad19 100644 --- a/google-stubs/ads/googleads/v15/enums/types/target_impression_share_location.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/target_impression_share_location.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class TargetImpressionShareLocationEnum(proto.Message): class TargetImpressionShareLocation(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class TargetImpressionShareLocationEnum(proto.Message): TOP_OF_PAGE = 3 ABSOLUTE_TOP_OF_PAGE = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/targeting_dimension.pyi b/google-stubs/ads/googleads/v15/enums/types/targeting_dimension.pyi index a7804b2a1..59ce943b3 100644 --- a/google-stubs/ads/googleads/v15/enums/types/targeting_dimension.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/targeting_dimension.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class TargetingDimensionEnum(proto.Message): class TargetingDimension(proto.Enum): UNSPECIFIED = 0 @@ -15,8 +19,8 @@ class TargetingDimensionEnum(proto.Message): PARENTAL_STATUS = 8 INCOME_RANGE = 9 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/time_type.pyi b/google-stubs/ads/googleads/v15/enums/types/time_type.pyi index 76b00af9a..3dc487733 100644 --- a/google-stubs/ads/googleads/v15/enums/types/time_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/time_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class TimeTypeEnum(proto.Message): class TimeType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class TimeTypeEnum(proto.Message): NOW = 2 FOREVER = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/tracking_code_page_format.pyi b/google-stubs/ads/googleads/v15/enums/types/tracking_code_page_format.pyi index 061d6eefa..3124b20b7 100644 --- a/google-stubs/ads/googleads/v15/enums/types/tracking_code_page_format.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/tracking_code_page_format.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class TrackingCodePageFormatEnum(proto.Message): class TrackingCodePageFormat(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class TrackingCodePageFormatEnum(proto.Message): HTML = 2 AMP = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/tracking_code_type.pyi b/google-stubs/ads/googleads/v15/enums/types/tracking_code_type.pyi index 032f26580..d20c820e6 100644 --- a/google-stubs/ads/googleads/v15/enums/types/tracking_code_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/tracking_code_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class TrackingCodeTypeEnum(proto.Message): class TrackingCodeType(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class TrackingCodeTypeEnum(proto.Message): CLICK_TO_CALL = 4 WEBSITE_CALL = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/travel_placeholder_field.pyi b/google-stubs/ads/googleads/v15/enums/types/travel_placeholder_field.pyi index 4639b404a..af01e6dff 100644 --- a/google-stubs/ads/googleads/v15/enums/types/travel_placeholder_field.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/travel_placeholder_field.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class TravelPlaceholderFieldEnum(proto.Message): class TravelPlaceholderField(proto.Enum): UNSPECIFIED = 0 @@ -27,8 +31,8 @@ class TravelPlaceholderFieldEnum(proto.Message): IOS_APP_LINK = 20 IOS_APP_STORE_ID = 21 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/user_identifier_source.pyi b/google-stubs/ads/googleads/v15/enums/types/user_identifier_source.pyi index 9dfcca521..f1b68ee5b 100644 --- a/google-stubs/ads/googleads/v15/enums/types/user_identifier_source.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/user_identifier_source.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserIdentifierSourceEnum(proto.Message): class UserIdentifierSource(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class UserIdentifierSourceEnum(proto.Message): FIRST_PARTY = 2 THIRD_PARTY = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/user_interest_taxonomy_type.pyi b/google-stubs/ads/googleads/v15/enums/types/user_interest_taxonomy_type.pyi index c72e6a4f3..c2afaf459 100644 --- a/google-stubs/ads/googleads/v15/enums/types/user_interest_taxonomy_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/user_interest_taxonomy_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserInterestTaxonomyTypeEnum(proto.Message): class UserInterestTaxonomyType(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class UserInterestTaxonomyTypeEnum(proto.Message): VERTICAL_GEO = 5 NEW_SMART_PHONE_USER = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/user_list_access_status.pyi b/google-stubs/ads/googleads/v15/enums/types/user_list_access_status.pyi index 81f0f912c..f1dee3a2a 100644 --- a/google-stubs/ads/googleads/v15/enums/types/user_list_access_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/user_list_access_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserListAccessStatusEnum(proto.Message): class UserListAccessStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class UserListAccessStatusEnum(proto.Message): ENABLED = 2 DISABLED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/user_list_closing_reason.pyi b/google-stubs/ads/googleads/v15/enums/types/user_list_closing_reason.pyi index 7286a4fa3..0c45eac42 100644 --- a/google-stubs/ads/googleads/v15/enums/types/user_list_closing_reason.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/user_list_closing_reason.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserListClosingReasonEnum(proto.Message): class UserListClosingReason(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 UNUSED = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/user_list_crm_data_source_type.pyi b/google-stubs/ads/googleads/v15/enums/types/user_list_crm_data_source_type.pyi index d15007d84..6bb1bd825 100644 --- a/google-stubs/ads/googleads/v15/enums/types/user_list_crm_data_source_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/user_list_crm_data_source_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserListCrmDataSourceTypeEnum(proto.Message): class UserListCrmDataSourceType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class UserListCrmDataSourceTypeEnum(proto.Message): THIRD_PARTY_CREDIT_BUREAU = 3 THIRD_PARTY_VOTER_FILE = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/user_list_date_rule_item_operator.pyi b/google-stubs/ads/googleads/v15/enums/types/user_list_date_rule_item_operator.pyi index 40b7d95f6..ff78cf01d 100644 --- a/google-stubs/ads/googleads/v15/enums/types/user_list_date_rule_item_operator.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/user_list_date_rule_item_operator.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserListDateRuleItemOperatorEnum(proto.Message): class UserListDateRuleItemOperator(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class UserListDateRuleItemOperatorEnum(proto.Message): BEFORE = 4 AFTER = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/user_list_flexible_rule_operator.pyi b/google-stubs/ads/googleads/v15/enums/types/user_list_flexible_rule_operator.pyi index 77dfe9c1e..74396a64e 100644 --- a/google-stubs/ads/googleads/v15/enums/types/user_list_flexible_rule_operator.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/user_list_flexible_rule_operator.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserListFlexibleRuleOperatorEnum(proto.Message): class UserListFlexibleRuleOperator(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class UserListFlexibleRuleOperatorEnum(proto.Message): AND = 2 OR = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/user_list_logical_rule_operator.pyi b/google-stubs/ads/googleads/v15/enums/types/user_list_logical_rule_operator.pyi index 8f8adef81..a5a689c8e 100644 --- a/google-stubs/ads/googleads/v15/enums/types/user_list_logical_rule_operator.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/user_list_logical_rule_operator.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserListLogicalRuleOperatorEnum(proto.Message): class UserListLogicalRuleOperator(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class UserListLogicalRuleOperatorEnum(proto.Message): ANY = 3 NONE = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/user_list_membership_status.pyi b/google-stubs/ads/googleads/v15/enums/types/user_list_membership_status.pyi index fe854d086..8120d8552 100644 --- a/google-stubs/ads/googleads/v15/enums/types/user_list_membership_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/user_list_membership_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserListMembershipStatusEnum(proto.Message): class UserListMembershipStatus(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class UserListMembershipStatusEnum(proto.Message): OPEN = 2 CLOSED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/user_list_number_rule_item_operator.pyi b/google-stubs/ads/googleads/v15/enums/types/user_list_number_rule_item_operator.pyi index 203d84686..d29be1be6 100644 --- a/google-stubs/ads/googleads/v15/enums/types/user_list_number_rule_item_operator.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/user_list_number_rule_item_operator.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserListNumberRuleItemOperatorEnum(proto.Message): class UserListNumberRuleItemOperator(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class UserListNumberRuleItemOperatorEnum(proto.Message): LESS_THAN = 6 LESS_THAN_OR_EQUAL = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/user_list_prepopulation_status.pyi b/google-stubs/ads/googleads/v15/enums/types/user_list_prepopulation_status.pyi index 05ac39109..916d34fb9 100644 --- a/google-stubs/ads/googleads/v15/enums/types/user_list_prepopulation_status.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/user_list_prepopulation_status.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserListPrepopulationStatusEnum(proto.Message): class UserListPrepopulationStatus(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class UserListPrepopulationStatusEnum(proto.Message): FINISHED = 3 FAILED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/user_list_rule_type.pyi b/google-stubs/ads/googleads/v15/enums/types/user_list_rule_type.pyi index 17502113f..a8ca00138 100644 --- a/google-stubs/ads/googleads/v15/enums/types/user_list_rule_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/user_list_rule_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserListRuleTypeEnum(proto.Message): class UserListRuleType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class UserListRuleTypeEnum(proto.Message): AND_OF_ORS = 2 OR_OF_ANDS = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/user_list_size_range.pyi b/google-stubs/ads/googleads/v15/enums/types/user_list_size_range.pyi index 02a9bb5fa..7327b9ad0 100644 --- a/google-stubs/ads/googleads/v15/enums/types/user_list_size_range.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/user_list_size_range.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserListSizeRangeEnum(proto.Message): class UserListSizeRange(proto.Enum): UNSPECIFIED = 0 @@ -23,8 +27,8 @@ class UserListSizeRangeEnum(proto.Message): THIRTY_MILLION_TO_FIFTY_MILLION = 16 OVER_FIFTY_MILLION = 17 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/user_list_string_rule_item_operator.pyi b/google-stubs/ads/googleads/v15/enums/types/user_list_string_rule_item_operator.pyi index c26e8b4f2..bb41dbd75 100644 --- a/google-stubs/ads/googleads/v15/enums/types/user_list_string_rule_item_operator.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/user_list_string_rule_item_operator.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserListStringRuleItemOperatorEnum(proto.Message): class UserListStringRuleItemOperator(proto.Enum): UNSPECIFIED = 0 @@ -15,8 +19,8 @@ class UserListStringRuleItemOperatorEnum(proto.Message): NOT_STARTS_WITH = 8 NOT_ENDS_WITH = 9 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/user_list_type.pyi b/google-stubs/ads/googleads/v15/enums/types/user_list_type.pyi index 06d8b4897..6829d8ba1 100644 --- a/google-stubs/ads/googleads/v15/enums/types/user_list_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/user_list_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserListTypeEnum(proto.Message): class UserListType(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class UserListTypeEnum(proto.Message): CRM_BASED = 7 LOOKALIKE = 9 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/value_rule_device_type.pyi b/google-stubs/ads/googleads/v15/enums/types/value_rule_device_type.pyi index 5a2dbb505..d48468969 100644 --- a/google-stubs/ads/googleads/v15/enums/types/value_rule_device_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/value_rule_device_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ValueRuleDeviceTypeEnum(proto.Message): class ValueRuleDeviceType(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ValueRuleDeviceTypeEnum(proto.Message): DESKTOP = 3 TABLET = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/value_rule_geo_location_match_type.pyi b/google-stubs/ads/googleads/v15/enums/types/value_rule_geo_location_match_type.pyi index 6bd41c2b3..16385e6e7 100644 --- a/google-stubs/ads/googleads/v15/enums/types/value_rule_geo_location_match_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/value_rule_geo_location_match_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ValueRuleGeoLocationMatchTypeEnum(proto.Message): class ValueRuleGeoLocationMatchType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class ValueRuleGeoLocationMatchTypeEnum(proto.Message): ANY = 2 LOCATION_OF_PRESENCE = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/value_rule_operation.pyi b/google-stubs/ads/googleads/v15/enums/types/value_rule_operation.pyi index f1bef1479..eabd62514 100644 --- a/google-stubs/ads/googleads/v15/enums/types/value_rule_operation.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/value_rule_operation.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ValueRuleOperationEnum(proto.Message): class ValueRuleOperation(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ValueRuleOperationEnum(proto.Message): MULTIPLY = 3 SET = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/value_rule_set_attachment_type.pyi b/google-stubs/ads/googleads/v15/enums/types/value_rule_set_attachment_type.pyi index 508fe8a40..3095a5426 100644 --- a/google-stubs/ads/googleads/v15/enums/types/value_rule_set_attachment_type.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/value_rule_set_attachment_type.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ValueRuleSetAttachmentTypeEnum(proto.Message): class ValueRuleSetAttachmentType(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class ValueRuleSetAttachmentTypeEnum(proto.Message): CUSTOMER = 2 CAMPAIGN = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/value_rule_set_dimension.pyi b/google-stubs/ads/googleads/v15/enums/types/value_rule_set_dimension.pyi index 67d6830a6..a4f01ed90 100644 --- a/google-stubs/ads/googleads/v15/enums/types/value_rule_set_dimension.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/value_rule_set_dimension.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ValueRuleSetDimensionEnum(proto.Message): class ValueRuleSetDimension(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class ValueRuleSetDimensionEnum(proto.Message): AUDIENCE = 4 NO_CONDITION = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/vanity_pharma_display_url_mode.pyi b/google-stubs/ads/googleads/v15/enums/types/vanity_pharma_display_url_mode.pyi index 9ddee7872..13e5c26ae 100644 --- a/google-stubs/ads/googleads/v15/enums/types/vanity_pharma_display_url_mode.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/vanity_pharma_display_url_mode.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class VanityPharmaDisplayUrlModeEnum(proto.Message): class VanityPharmaDisplayUrlMode(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class VanityPharmaDisplayUrlModeEnum(proto.Message): MANUFACTURER_WEBSITE_URL = 2 WEBSITE_DESCRIPTION = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/vanity_pharma_text.pyi b/google-stubs/ads/googleads/v15/enums/types/vanity_pharma_text.pyi index 8bae7f236..0ccdfa50a 100644 --- a/google-stubs/ads/googleads/v15/enums/types/vanity_pharma_text.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/vanity_pharma_text.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class VanityPharmaTextEnum(proto.Message): class VanityPharmaText(proto.Enum): UNSPECIFIED = 0 @@ -19,8 +23,8 @@ class VanityPharmaTextEnum(proto.Message): PRESCRIPTION_VACCINE_WEBSITE_EN = 12 PRESCRIPTION_VACCINE_WEBSITE_ES = 13 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/video_thumbnail.pyi b/google-stubs/ads/googleads/v15/enums/types/video_thumbnail.pyi index b6fa14389..5ce423cd5 100644 --- a/google-stubs/ads/googleads/v15/enums/types/video_thumbnail.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/video_thumbnail.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class VideoThumbnailEnum(proto.Message): class VideoThumbnail(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class VideoThumbnailEnum(proto.Message): THUMBNAIL_2 = 4 THUMBNAIL_3 = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/webpage_condition_operand.pyi b/google-stubs/ads/googleads/v15/enums/types/webpage_condition_operand.pyi index 3c9773e10..62e403644 100644 --- a/google-stubs/ads/googleads/v15/enums/types/webpage_condition_operand.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/webpage_condition_operand.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class WebpageConditionOperandEnum(proto.Message): class WebpageConditionOperand(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class WebpageConditionOperandEnum(proto.Message): PAGE_CONTENT = 5 CUSTOM_LABEL = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/enums/types/webpage_condition_operator.pyi b/google-stubs/ads/googleads/v15/enums/types/webpage_condition_operator.pyi index f619b08a3..7e415c55f 100644 --- a/google-stubs/ads/googleads/v15/enums/types/webpage_condition_operator.pyi +++ b/google-stubs/ads/googleads/v15/enums/types/webpage_condition_operator.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class WebpageConditionOperatorEnum(proto.Message): class WebpageConditionOperator(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class WebpageConditionOperatorEnum(proto.Message): EQUALS = 2 CONTAINS = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/access_invitation_error.pyi b/google-stubs/ads/googleads/v15/errors/types/access_invitation_error.pyi index e449a6f07..470985698 100644 --- a/google-stubs/ads/googleads/v15/errors/types/access_invitation_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/access_invitation_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AccessInvitationErrorEnum(proto.Message): class AccessInvitationError(proto.Enum): UNSPECIFIED = 0 @@ -15,8 +19,8 @@ class AccessInvitationErrorEnum(proto.Message): PENDING_INVITATIONS_LIMIT_EXCEEDED = 8 EMAIL_DOMAIN_POLICY_VIOLATED = 9 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/account_budget_proposal_error.pyi b/google-stubs/ads/googleads/v15/errors/types/account_budget_proposal_error.pyi index 54a68522c..9c2aae695 100644 --- a/google-stubs/ads/googleads/v15/errors/types/account_budget_proposal_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/account_budget_proposal_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AccountBudgetProposalErrorEnum(proto.Message): class AccountBudgetProposalError(proto.Enum): UNSPECIFIED = 0 @@ -33,8 +37,8 @@ class AccountBudgetProposalErrorEnum(proto.Message): INVALID_MASTER_SERVICE_AGREEMENT = 26 CANCELED_BILLING_SETUP = 27 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/account_link_error.pyi b/google-stubs/ads/googleads/v15/errors/types/account_link_error.pyi index 626f451aa..c06df694a 100644 --- a/google-stubs/ads/googleads/v15/errors/types/account_link_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/account_link_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AccountLinkErrorEnum(proto.Message): class AccountLinkError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class AccountLinkErrorEnum(proto.Message): INVALID_STATUS = 2 PERMISSION_DENIED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/ad_customizer_error.pyi b/google-stubs/ads/googleads/v15/errors/types/ad_customizer_error.pyi index ffdea484c..e7e10bfa5 100644 --- a/google-stubs/ads/googleads/v15/errors/types/ad_customizer_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/ad_customizer_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdCustomizerErrorEnum(proto.Message): class AdCustomizerError(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class AdCustomizerErrorEnum(proto.Message): COUNTDOWN_INVALID_START_DAYS_BEFORE = 5 UNKNOWN_USER_LIST = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/ad_error.pyi b/google-stubs/ads/googleads/v15/errors/types/ad_error.pyi index 7ddbdf515..fb21e9c7b 100644 --- a/google-stubs/ads/googleads/v15/errors/types/ad_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/ad_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdErrorEnum(proto.Message): class AdError(proto.Enum): UNSPECIFIED = 0 @@ -159,8 +163,8 @@ class AdErrorEnum(proto.Message): MISMATCHED_ASPECT_RATIOS = 155 DUPLICATE_IMAGE_ACROSS_CAROUSEL_CARDS = 156 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/ad_group_ad_error.pyi b/google-stubs/ads/googleads/v15/errors/types/ad_group_ad_error.pyi index 583380be3..f7d3213f4 100644 --- a/google-stubs/ads/googleads/v15/errors/types/ad_group_ad_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/ad_group_ad_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupAdErrorEnum(proto.Message): class AdGroupAdError(proto.Enum): UNSPECIFIED = 0 @@ -18,8 +22,8 @@ class AdGroupAdErrorEnum(proto.Message): AD_TYPE_CANNOT_BE_REMOVED = 11 CANNOT_UPDATE_DEPRECATED_ADS = 12 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/ad_group_bid_modifier_error.pyi b/google-stubs/ads/googleads/v15/errors/types/ad_group_bid_modifier_error.pyi index 2e396271b..afeebf03d 100644 --- a/google-stubs/ads/googleads/v15/errors/types/ad_group_bid_modifier_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/ad_group_bid_modifier_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupBidModifierErrorEnum(proto.Message): class AdGroupBidModifierError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class AdGroupBidModifierErrorEnum(proto.Message): CRITERION_ID_NOT_SUPPORTED = 2 CANNOT_OVERRIDE_OPTED_OUT_CAMPAIGN_CRITERION_BID_MODIFIER = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/ad_group_criterion_customizer_error.pyi b/google-stubs/ads/googleads/v15/errors/types/ad_group_criterion_customizer_error.pyi index f0b34cf7b..a56a7431d 100644 --- a/google-stubs/ads/googleads/v15/errors/types/ad_group_criterion_customizer_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/ad_group_criterion_customizer_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupCriterionCustomizerErrorEnum(proto.Message): class AdGroupCriterionCustomizerError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 CRITERION_IS_NOT_KEYWORD = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/ad_group_criterion_error.pyi b/google-stubs/ads/googleads/v15/errors/types/ad_group_criterion_error.pyi index 424a186a5..df814dac2 100644 --- a/google-stubs/ads/googleads/v15/errors/types/ad_group_criterion_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/ad_group_criterion_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupCriterionErrorEnum(proto.Message): class AdGroupCriterionError(proto.Enum): UNSPECIFIED = 0 @@ -35,8 +39,8 @@ class AdGroupCriterionErrorEnum(proto.Message): FINAL_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE = 37 FINAL_MOBILE_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE = 38 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/ad_group_customizer_error.pyi b/google-stubs/ads/googleads/v15/errors/types/ad_group_customizer_error.pyi index f785c0dec..446d8ce5f 100644 --- a/google-stubs/ads/googleads/v15/errors/types/ad_group_customizer_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/ad_group_customizer_error.pyi @@ -1,14 +1,18 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupCustomizerErrorEnum(proto.Message): class AdGroupCustomizerError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/ad_group_error.pyi b/google-stubs/ads/googleads/v15/errors/types/ad_group_error.pyi index 43c270008..9faaf9328 100644 --- a/google-stubs/ads/googleads/v15/errors/types/ad_group_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/ad_group_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupErrorEnum(proto.Message): class AdGroupError(proto.Enum): UNSPECIFIED = 0 @@ -22,8 +26,8 @@ class AdGroupErrorEnum(proto.Message): INVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPE = 16 INVALID_EXCLUDED_PARENT_ASSET_SET_TYPE = 17 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/ad_group_feed_error.pyi b/google-stubs/ads/googleads/v15/errors/types/ad_group_feed_error.pyi index a14dd3fda..00b182beb 100644 --- a/google-stubs/ads/googleads/v15/errors/types/ad_group_feed_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/ad_group_feed_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupFeedErrorEnum(proto.Message): class AdGroupFeedError(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class AdGroupFeedErrorEnum(proto.Message): MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE = 7 NO_EXISTING_LOCATION_CUSTOMER_FEED = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/ad_parameter_error.pyi b/google-stubs/ads/googleads/v15/errors/types/ad_parameter_error.pyi index 5537c8f31..45377171b 100644 --- a/google-stubs/ads/googleads/v15/errors/types/ad_parameter_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/ad_parameter_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdParameterErrorEnum(proto.Message): class AdParameterError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class AdParameterErrorEnum(proto.Message): AD_GROUP_CRITERION_MUST_BE_KEYWORD = 2 INVALID_INSERTION_TEXT_FORMAT = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/ad_sharing_error.pyi b/google-stubs/ads/googleads/v15/errors/types/ad_sharing_error.pyi index 1d6388308..f78c81a31 100644 --- a/google-stubs/ads/googleads/v15/errors/types/ad_sharing_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/ad_sharing_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdSharingErrorEnum(proto.Message): class AdSharingError(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class AdSharingErrorEnum(proto.Message): INCOMPATIBLE_AD_UNDER_AD_GROUP = 3 CANNOT_SHARE_INACTIVE_AD = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/adx_error.pyi b/google-stubs/ads/googleads/v15/errors/types/adx_error.pyi index e93cd1b26..be5cb98e6 100644 --- a/google-stubs/ads/googleads/v15/errors/types/adx_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/adx_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdxErrorEnum(proto.Message): class AdxError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 UNSUPPORTED_FEATURE = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/asset_error.pyi b/google-stubs/ads/googleads/v15/errors/types/asset_error.pyi index 3811a1afd..6171abdb6 100644 --- a/google-stubs/ads/googleads/v15/errors/types/asset_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/asset_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetErrorEnum(proto.Message): class AssetError(proto.Enum): UNSPECIFIED = 0 @@ -43,8 +47,8 @@ class AssetErrorEnum(proto.Message): LEAD_FORM_LOCATION_ANSWER_TYPE_DISALLOWED = 37 PAGE_FEED_INVALID_LABEL_TEXT = 38 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/asset_group_asset_error.pyi b/google-stubs/ads/googleads/v15/errors/types/asset_group_asset_error.pyi index 9844fd568..1ef11cc8f 100644 --- a/google-stubs/ads/googleads/v15/errors/types/asset_group_asset_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/asset_group_asset_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetGroupAssetErrorEnum(proto.Message): class AssetGroupAssetError(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class AssetGroupAssetErrorEnum(proto.Message): AD_CUSTOMIZER_NOT_SUPPORTED = 4 HOTEL_PROPERTY_ASSET_NOT_LINKED_TO_CAMPAIGN = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/asset_group_error.pyi b/google-stubs/ads/googleads/v15/errors/types/asset_group_error.pyi index 5b30a95ab..cb3468834 100644 --- a/google-stubs/ads/googleads/v15/errors/types/asset_group_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/asset_group_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetGroupErrorEnum(proto.Message): class AssetGroupError(proto.Enum): UNSPECIFIED = 0 @@ -23,8 +27,8 @@ class AssetGroupErrorEnum(proto.Message): AD_CUSTOMIZER_NOT_SUPPORTED = 16 CANNOT_MUTATE_ASSET_GROUP_FOR_REMOVED_CAMPAIGN = 17 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/asset_group_listing_group_filter_error.pyi b/google-stubs/ads/googleads/v15/errors/types/asset_group_listing_group_filter_error.pyi index 516f1fd51..c200d375d 100644 --- a/google-stubs/ads/googleads/v15/errors/types/asset_group_listing_group_filter_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/asset_group_listing_group_filter_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetGroupListingGroupFilterErrorEnum(proto.Message): class AssetGroupListingGroupFilterError(proto.Enum): UNSPECIFIED = 0 @@ -21,8 +25,8 @@ class AssetGroupListingGroupFilterErrorEnum(proto.Message): CANNOT_REFINE_HIERARCHICAL_EVERYTHING_ELSE = 14 MULTIPLE_OPERATIONS_ON_ONE_NODE = 23 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/asset_group_signal_error.pyi b/google-stubs/ads/googleads/v15/errors/types/asset_group_signal_error.pyi index 7fb4d6022..199222303 100644 --- a/google-stubs/ads/googleads/v15/errors/types/asset_group_signal_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/asset_group_signal_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetGroupSignalErrorEnum(proto.Message): class AssetGroupSignalError(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class AssetGroupSignalErrorEnum(proto.Message): SEARCH_THEME_POLICY_VIOLATION = 3 AUDIENCE_WITH_WRONG_ASSET_GROUP_ID = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/asset_link_error.pyi b/google-stubs/ads/googleads/v15/errors/types/asset_link_error.pyi index d9989653f..78694bdd3 100644 --- a/google-stubs/ads/googleads/v15/errors/types/asset_link_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/asset_link_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetLinkErrorEnum(proto.Message): class AssetLinkError(proto.Enum): UNSPECIFIED = 0 @@ -30,8 +34,8 @@ class AssetLinkErrorEnum(proto.Message): CUSTOMER_NOT_VERIFIED = 23 UNSUPPORTED_CALL_TO_ACTION = 24 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/asset_set_asset_error.pyi b/google-stubs/ads/googleads/v15/errors/types/asset_set_asset_error.pyi index 6335487ca..39b070906 100644 --- a/google-stubs/ads/googleads/v15/errors/types/asset_set_asset_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/asset_set_asset_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetSetAssetErrorEnum(proto.Message): class AssetSetAssetError(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class AssetSetAssetErrorEnum(proto.Message): DUPLICATE_EXTERNAL_KEY = 4 PARENT_LINKAGE_DOES_NOT_EXIST = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/asset_set_error.pyi b/google-stubs/ads/googleads/v15/errors/types/asset_set_error.pyi index e61f9ad1e..4ae87a556 100644 --- a/google-stubs/ads/googleads/v15/errors/types/asset_set_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/asset_set_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetSetErrorEnum(proto.Message): class AssetSetError(proto.Enum): UNSPECIFIED = 0 @@ -18,8 +22,8 @@ class AssetSetErrorEnum(proto.Message): OAUTH_INFO_MISSING = 12 CANNOT_DELETE_AS_ENABLED_LINKAGES_EXIST = 10 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/asset_set_link_error.pyi b/google-stubs/ads/googleads/v15/errors/types/asset_set_link_error.pyi index 8682c24b7..73d92a12f 100644 --- a/google-stubs/ads/googleads/v15/errors/types/asset_set_link_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/asset_set_link_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetSetLinkErrorEnum(proto.Message): class AssetSetLinkError(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class AssetSetLinkErrorEnum(proto.Message): DUPLICATE_ASSET_SET_LINK = 5 ASSET_SET_LINK_CANNOT_BE_REMOVED = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/audience_error.pyi b/google-stubs/ads/googleads/v15/errors/types/audience_error.pyi index 3b52f942f..d28451831 100644 --- a/google-stubs/ads/googleads/v15/errors/types/audience_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/audience_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AudienceErrorEnum(proto.Message): class AudienceError(proto.Enum): UNSPECIFIED = 0 @@ -17,8 +21,8 @@ class AudienceErrorEnum(proto.Message): MISSING_ASSET_GROUP_ID = 10 CANNOT_CHANGE_FROM_CUSTOMER_TO_ASSET_GROUP_SCOPE = 11 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/audience_insights_error.pyi b/google-stubs/ads/googleads/v15/errors/types/audience_insights_error.pyi index 91b012e35..cd5d01aa5 100644 --- a/google-stubs/ads/googleads/v15/errors/types/audience_insights_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/audience_insights_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AudienceInsightsErrorEnum(proto.Message): class AudienceInsightsError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 DIMENSION_INCOMPATIBLE_WITH_TOPIC_AUDIENCE_COMBINATIONS = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/authentication_error.pyi b/google-stubs/ads/googleads/v15/errors/types/authentication_error.pyi index 36a7d39d1..de5b29764 100644 --- a/google-stubs/ads/googleads/v15/errors/types/authentication_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/authentication_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AuthenticationErrorEnum(proto.Message): class AuthenticationError(proto.Enum): UNSPECIFIED = 0 @@ -28,8 +32,8 @@ class AuthenticationErrorEnum(proto.Message): ORGANIZATION_NOT_APPROVED = 27 ORGANIZATION_NOT_ASSOCIATED_WITH_DEVELOPER_TOKEN = 28 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/authorization_error.pyi b/google-stubs/ads/googleads/v15/errors/types/authorization_error.pyi index b83b1b3a6..6a2cd261e 100644 --- a/google-stubs/ads/googleads/v15/errors/types/authorization_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/authorization_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AuthorizationErrorEnum(proto.Message): class AuthorizationError(proto.Enum): UNSPECIFIED = 0 @@ -22,8 +26,8 @@ class AuthorizationErrorEnum(proto.Message): METRIC_ACCESS_DENIED = 26 CLOUD_PROJECT_NOT_UNDER_ORGANIZATION = 27 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/batch_job_error.pyi b/google-stubs/ads/googleads/v15/errors/types/batch_job_error.pyi index 0f6a42997..95df4b69e 100644 --- a/google-stubs/ads/googleads/v15/errors/types/batch_job_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/batch_job_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BatchJobErrorEnum(proto.Message): class BatchJobError(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class BatchJobErrorEnum(proto.Message): CAN_ONLY_REMOVE_PENDING_JOB = 7 CANNOT_LIST_RESULTS = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/bidding_error.pyi b/google-stubs/ads/googleads/v15/errors/types/bidding_error.pyi index c9616fdce..25519e4b6 100644 --- a/google-stubs/ads/googleads/v15/errors/types/bidding_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/bidding_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BiddingErrorEnum(proto.Message): class BiddingError(proto.Enum): UNSPECIFIED = 0 @@ -31,8 +35,8 @@ class BiddingErrorEnum(proto.Message): BIDDING_STRATEGY_AND_BUDGET_MUST_BE_REMOVED_TOGETHER = 40 CPC_BID_FLOOR_MICROS_GREATER_THAN_CPC_BID_CEILING_MICROS = 41 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/bidding_strategy_error.pyi b/google-stubs/ads/googleads/v15/errors/types/bidding_strategy_error.pyi index cb240f23c..e77a0ca60 100644 --- a/google-stubs/ads/googleads/v15/errors/types/bidding_strategy_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/bidding_strategy_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BiddingStrategyErrorEnum(proto.Message): class BiddingStrategyError(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class BiddingStrategyErrorEnum(proto.Message): BIDDING_STRATEGY_NOT_SUPPORTED = 5 INCOMPATIBLE_BIDDING_STRATEGY_AND_BIDDING_STRATEGY_GOAL_TYPE = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/billing_setup_error.pyi b/google-stubs/ads/googleads/v15/errors/types/billing_setup_error.pyi index 257ddf6cc..557e575a1 100644 --- a/google-stubs/ads/googleads/v15/errors/types/billing_setup_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/billing_setup_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class BillingSetupErrorEnum(proto.Message): class BillingSetupError(proto.Enum): UNSPECIFIED = 0 @@ -27,8 +31,8 @@ class BillingSetupErrorEnum(proto.Message): FUTURE_START_TIME_PROHIBITED = 20 TOO_MANY_BILLING_SETUPS_FOR_PAYMENTS_ACCOUNT = 21 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/campaign_budget_error.pyi b/google-stubs/ads/googleads/v15/errors/types/campaign_budget_error.pyi index 481d157e4..f62f0bc91 100644 --- a/google-stubs/ads/googleads/v15/errors/types/campaign_budget_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/campaign_budget_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignBudgetErrorEnum(proto.Message): class CampaignBudgetError(proto.Enum): UNSPECIFIED = 0 @@ -26,8 +30,8 @@ class CampaignBudgetErrorEnum(proto.Message): CANNOT_USE_ACCELERATED_DELIVERY_MODE = 20 BUDGET_AMOUNT_MUST_BE_UNSET_FOR_CUSTOM_BUDGET_PERIOD = 21 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/campaign_conversion_goal_error.pyi b/google-stubs/ads/googleads/v15/errors/types/campaign_conversion_goal_error.pyi index 39b44bf70..f6a618129 100644 --- a/google-stubs/ads/googleads/v15/errors/types/campaign_conversion_goal_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/campaign_conversion_goal_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignConversionGoalErrorEnum(proto.Message): class CampaignConversionGoalError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class CampaignConversionGoalErrorEnum(proto.Message): CANNOT_USE_CAMPAIGN_GOAL_FOR_SEARCH_ADS_360_MANAGED_CAMPAIGN = 2 CANNOT_USE_STORE_SALE_GOAL_FOR_PERFORMANCE_MAX_CAMPAIGN = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/campaign_criterion_error.pyi b/google-stubs/ads/googleads/v15/errors/types/campaign_criterion_error.pyi index d16e39cf2..5d6da415d 100644 --- a/google-stubs/ads/googleads/v15/errors/types/campaign_criterion_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/campaign_criterion_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignCriterionErrorEnum(proto.Message): class CampaignCriterionError(proto.Enum): UNSPECIFIED = 0 @@ -34,8 +38,8 @@ class CampaignCriterionErrorEnum(proto.Message): LOCAL_SERVICE_ID_NOT_FOUND_FOR_CATEGORY = 25 CANNOT_ATTACH_BRAND_LIST_TO_NON_QUALIFIED_SEARCH_CAMPAIGN = 26 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/campaign_customizer_error.pyi b/google-stubs/ads/googleads/v15/errors/types/campaign_customizer_error.pyi index 0595f3223..e44225407 100644 --- a/google-stubs/ads/googleads/v15/errors/types/campaign_customizer_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/campaign_customizer_error.pyi @@ -1,14 +1,18 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignCustomizerErrorEnum(proto.Message): class CampaignCustomizerError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/campaign_draft_error.pyi b/google-stubs/ads/googleads/v15/errors/types/campaign_draft_error.pyi index b7fe0836a..1d0dd6699 100644 --- a/google-stubs/ads/googleads/v15/errors/types/campaign_draft_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/campaign_draft_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignDraftErrorEnum(proto.Message): class CampaignDraftError(proto.Enum): UNSPECIFIED = 0 @@ -17,8 +21,8 @@ class CampaignDraftErrorEnum(proto.Message): MAX_NUMBER_OF_DRAFTS_PER_CAMPAIGN_REACHED = 10 LIST_ERRORS_FOR_PROMOTED_DRAFT_ONLY = 11 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/campaign_error.pyi b/google-stubs/ads/googleads/v15/errors/types/campaign_error.pyi index c56584df4..4e471e7a8 100644 --- a/google-stubs/ads/googleads/v15/errors/types/campaign_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/campaign_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignErrorEnum(proto.Message): class CampaignError(proto.Enum): UNSPECIFIED = 0 @@ -80,8 +84,8 @@ class CampaignErrorEnum(proto.Message): INVALID_NUMBER_OF_ADVERTISING_PARTNER_IDS = 84 CANNOT_TARGET_DISPLAY_NETWORK_WITHOUT_YOUTUBE = 85 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/campaign_experiment_error.pyi b/google-stubs/ads/googleads/v15/errors/types/campaign_experiment_error.pyi index fac3c6a3d..30dae9500 100644 --- a/google-stubs/ads/googleads/v15/errors/types/campaign_experiment_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/campaign_experiment_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignExperimentErrorEnum(proto.Message): class CampaignExperimentError(proto.Enum): UNSPECIFIED = 0 @@ -17,8 +21,8 @@ class CampaignExperimentErrorEnum(proto.Message): EXPERIMENT_DURATION_MUST_BE_WITHIN_CAMPAIGN_DURATION = 10 CANNOT_MUTATE_EXPERIMENT_DUE_TO_STATUS = 11 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/campaign_feed_error.pyi b/google-stubs/ads/googleads/v15/errors/types/campaign_feed_error.pyi index dd04ba57b..4af608d47 100644 --- a/google-stubs/ads/googleads/v15/errors/types/campaign_feed_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/campaign_feed_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignFeedErrorEnum(proto.Message): class CampaignFeedError(proto.Enum): UNSPECIFIED = 0 @@ -15,8 +19,8 @@ class CampaignFeedErrorEnum(proto.Message): NO_EXISTING_LOCATION_CUSTOMER_FEED = 9 LEGACY_FEED_TYPE_READ_ONLY = 10 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/campaign_lifecycle_goal_error.pyi b/google-stubs/ads/googleads/v15/errors/types/campaign_lifecycle_goal_error.pyi index 6fa950698..e4a1bf346 100644 --- a/google-stubs/ads/googleads/v15/errors/types/campaign_lifecycle_goal_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/campaign_lifecycle_goal_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignLifecycleGoalErrorEnum(proto.Message): class CampaignLifecycleGoalError(proto.Enum): UNSPECIFIED = 0 @@ -18,8 +22,8 @@ class CampaignLifecycleGoalErrorEnum(proto.Message): CUSTOMER_ACQUISITION_MISSING_EXISTING_CUSTOMER_DEFINITION = 11 CUSTOMER_ACQUISITION_MISSING_HIGH_VALUE_CUSTOMER_DEFINITION = 12 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/campaign_shared_set_error.pyi b/google-stubs/ads/googleads/v15/errors/types/campaign_shared_set_error.pyi index 737e4b670..de118c89b 100644 --- a/google-stubs/ads/googleads/v15/errors/types/campaign_shared_set_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/campaign_shared_set_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignSharedSetErrorEnum(proto.Message): class CampaignSharedSetError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 SHARED_SET_ACCESS_DENIED = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/change_event_error.pyi b/google-stubs/ads/googleads/v15/errors/types/change_event_error.pyi index cde38dadd..7397fa450 100644 --- a/google-stubs/ads/googleads/v15/errors/types/change_event_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/change_event_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ChangeEventErrorEnum(proto.Message): class ChangeEventError(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class ChangeEventErrorEnum(proto.Message): LIMIT_NOT_SPECIFIED = 5 INVALID_LIMIT_CLAUSE = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/change_status_error.pyi b/google-stubs/ads/googleads/v15/errors/types/change_status_error.pyi index 26ab02949..f214d7a33 100644 --- a/google-stubs/ads/googleads/v15/errors/types/change_status_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/change_status_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ChangeStatusErrorEnum(proto.Message): class ChangeStatusError(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class ChangeStatusErrorEnum(proto.Message): LIMIT_NOT_SPECIFIED = 6 INVALID_LIMIT_CLAUSE = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/collection_size_error.pyi b/google-stubs/ads/googleads/v15/errors/types/collection_size_error.pyi index 160b7d102..ab895ad90 100644 --- a/google-stubs/ads/googleads/v15/errors/types/collection_size_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/collection_size_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CollectionSizeErrorEnum(proto.Message): class CollectionSizeError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class CollectionSizeErrorEnum(proto.Message): TOO_FEW = 2 TOO_MANY = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/context_error.pyi b/google-stubs/ads/googleads/v15/errors/types/context_error.pyi index d9287174a..033eaeee0 100644 --- a/google-stubs/ads/googleads/v15/errors/types/context_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/context_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ContextErrorEnum(proto.Message): class ContextError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class ContextErrorEnum(proto.Message): OPERATION_NOT_PERMITTED_FOR_CONTEXT = 2 OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/conversion_action_error.pyi b/google-stubs/ads/googleads/v15/errors/types/conversion_action_error.pyi index 4c318b3dd..f25363e2f 100644 --- a/google-stubs/ads/googleads/v15/errors/types/conversion_action_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/conversion_action_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionActionErrorEnum(proto.Message): class ConversionActionError(proto.Enum): UNSPECIFIED = 0 @@ -18,8 +22,8 @@ class ConversionActionErrorEnum(proto.Message): UPDATE_NOT_SUPPORTED = 11 CANNOT_SET_RULE_BASED_ATTRIBUTION_MODELS = 12 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/conversion_adjustment_upload_error.pyi b/google-stubs/ads/googleads/v15/errors/types/conversion_adjustment_upload_error.pyi index f6bff1aac..e6d571bf3 100644 --- a/google-stubs/ads/googleads/v15/errors/types/conversion_adjustment_upload_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/conversion_adjustment_upload_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionAdjustmentUploadErrorEnum(proto.Message): class ConversionAdjustmentUploadError(proto.Enum): UNSPECIFIED = 0 @@ -32,8 +36,8 @@ class ConversionAdjustmentUploadErrorEnum(proto.Message): NO_CONVERSION_ACTION_FOUND = 27 INVALID_CONVERSION_ACTION_TYPE = 28 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/conversion_custom_variable_error.pyi b/google-stubs/ads/googleads/v15/errors/types/conversion_custom_variable_error.pyi index 9675a8e18..10f81f166 100644 --- a/google-stubs/ads/googleads/v15/errors/types/conversion_custom_variable_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/conversion_custom_variable_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionCustomVariableErrorEnum(proto.Message): class ConversionCustomVariableError(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ConversionCustomVariableErrorEnum(proto.Message): DUPLICATE_TAG = 3 RESERVED_TAG = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/conversion_goal_campaign_config_error.pyi b/google-stubs/ads/googleads/v15/errors/types/conversion_goal_campaign_config_error.pyi index 5fdb15a30..fdb63f23b 100644 --- a/google-stubs/ads/googleads/v15/errors/types/conversion_goal_campaign_config_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/conversion_goal_campaign_config_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionGoalCampaignConfigErrorEnum(proto.Message): class ConversionGoalCampaignConfigError(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class ConversionGoalCampaignConfigErrorEnum(proto.Message): STORE_SALE_STORE_VISIT_CANNOT_BE_BOTH_INCLUDED = 6 PERFORMANCE_MAX_CAMPAIGN_CANNOT_USE_CUSTOM_GOAL_WITH_STORE_SALES = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/conversion_upload_error.pyi b/google-stubs/ads/googleads/v15/errors/types/conversion_upload_error.pyi index 60ec19fa2..acf259fa5 100644 --- a/google-stubs/ads/googleads/v15/errors/types/conversion_upload_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/conversion_upload_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionUploadErrorEnum(proto.Message): class ConversionUploadError(proto.Enum): UNSPECIFIED = 0 @@ -55,8 +59,8 @@ class ConversionUploadErrorEnum(proto.Message): NO_CONVERSION_ACTION_FOUND = 53 INVALID_CONVERSION_ACTION_TYPE = 54 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/conversion_value_rule_error.pyi b/google-stubs/ads/googleads/v15/errors/types/conversion_value_rule_error.pyi index 9d2a01f0b..3de824214 100644 --- a/google-stubs/ads/googleads/v15/errors/types/conversion_value_rule_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/conversion_value_rule_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionValueRuleErrorEnum(proto.Message): class ConversionValueRuleError(proto.Enum): UNSPECIFIED = 0 @@ -19,8 +23,8 @@ class ConversionValueRuleErrorEnum(proto.Message): INVALID_AUDIENCE_USER_INTEREST = 12 CANNOT_ADD_RULE_WITH_STATUS_REMOVED = 13 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/conversion_value_rule_set_error.pyi b/google-stubs/ads/googleads/v15/errors/types/conversion_value_rule_set_error.pyi index df65ec11e..ef386ed66 100644 --- a/google-stubs/ads/googleads/v15/errors/types/conversion_value_rule_set_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/conversion_value_rule_set_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ConversionValueRuleSetErrorEnum(proto.Message): class ConversionValueRuleSetError(proto.Enum): UNSPECIFIED = 0 @@ -20,8 +24,8 @@ class ConversionValueRuleSetErrorEnum(proto.Message): DIMENSION_NO_CONDITION_NOT_ALLOWED = 13 UNSUPPORTED_CONVERSION_ACTION_CATEGORIES = 14 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/country_code_error.pyi b/google-stubs/ads/googleads/v15/errors/types/country_code_error.pyi index fe7425d25..64fcb6fce 100644 --- a/google-stubs/ads/googleads/v15/errors/types/country_code_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/country_code_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CountryCodeErrorEnum(proto.Message): class CountryCodeError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 INVALID_COUNTRY_CODE = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/criterion_error.pyi b/google-stubs/ads/googleads/v15/errors/types/criterion_error.pyi index c972be4b5..1ad6f80b6 100644 --- a/google-stubs/ads/googleads/v15/errors/types/criterion_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/criterion_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CriterionErrorEnum(proto.Message): class CriterionError(proto.Enum): UNSPECIFIED = 0 @@ -155,8 +159,8 @@ class CriterionErrorEnum(proto.Message): CANNOT_ADD_REMOVED_BRAND_SHARED_SET = 157 ONLY_EXCLUSION_BRAND_LIST_ALLOWED_FOR_CAMPAIGN_TYPE = 158 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/currency_code_error.pyi b/google-stubs/ads/googleads/v15/errors/types/currency_code_error.pyi index 771422a6d..862785d0e 100644 --- a/google-stubs/ads/googleads/v15/errors/types/currency_code_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/currency_code_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CurrencyCodeErrorEnum(proto.Message): class CurrencyCodeError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 UNSUPPORTED = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/currency_error.pyi b/google-stubs/ads/googleads/v15/errors/types/currency_error.pyi index 240f3409f..8797e2d05 100644 --- a/google-stubs/ads/googleads/v15/errors/types/currency_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/currency_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CurrencyErrorEnum(proto.Message): class CurrencyError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 VALUE_NOT_MULTIPLE_OF_BILLABLE_UNIT = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/custom_audience_error.pyi b/google-stubs/ads/googleads/v15/errors/types/custom_audience_error.pyi index 5022b5e06..d5d54df73 100644 --- a/google-stubs/ads/googleads/v15/errors/types/custom_audience_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/custom_audience_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomAudienceErrorEnum(proto.Message): class CustomAudienceError(proto.Enum): UNSPECIFIED = 0 @@ -15,8 +19,8 @@ class CustomAudienceErrorEnum(proto.Message): POLICY_VIOLATION = 8 INVALID_TYPE_CHANGE = 9 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/custom_conversion_goal_error.pyi b/google-stubs/ads/googleads/v15/errors/types/custom_conversion_goal_error.pyi index 95ed00ee2..b40a68f36 100644 --- a/google-stubs/ads/googleads/v15/errors/types/custom_conversion_goal_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/custom_conversion_goal_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomConversionGoalErrorEnum(proto.Message): class CustomConversionGoalError(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class CustomConversionGoalErrorEnum(proto.Message): DUPLICATE_CONVERSION_ACTION_LIST = 6 NON_BIDDABLE_CONVERSION_ACTION_NOT_ELIGIBLE_FOR_CUSTOM_GOAL = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/custom_interest_error.pyi b/google-stubs/ads/googleads/v15/errors/types/custom_interest_error.pyi index ae8ee848f..31dc90883 100644 --- a/google-stubs/ads/googleads/v15/errors/types/custom_interest_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/custom_interest_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomInterestErrorEnum(proto.Message): class CustomInterestError(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class CustomInterestErrorEnum(proto.Message): CANNOT_REMOVE_WHILE_IN_USE = 7 CANNOT_CHANGE_TYPE = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/customer_client_link_error.pyi b/google-stubs/ads/googleads/v15/errors/types/customer_client_link_error.pyi index 7f2bdc553..b47254072 100644 --- a/google-stubs/ads/googleads/v15/errors/types/customer_client_link_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/customer_client_link_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomerClientLinkErrorEnum(proto.Message): class CustomerClientLinkError(proto.Enum): UNSPECIFIED = 0 @@ -15,8 +19,8 @@ class CustomerClientLinkErrorEnum(proto.Message): CUSTOMER_HAS_TOO_MANY_ACCOUNTS_AT_MANAGER = 8 CLIENT_HAS_TOO_MANY_MANAGERS = 9 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/customer_customizer_error.pyi b/google-stubs/ads/googleads/v15/errors/types/customer_customizer_error.pyi index 12082a4ca..2e1d735ad 100644 --- a/google-stubs/ads/googleads/v15/errors/types/customer_customizer_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/customer_customizer_error.pyi @@ -1,14 +1,18 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomerCustomizerErrorEnum(proto.Message): class CustomerCustomizerError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/customer_error.pyi b/google-stubs/ads/googleads/v15/errors/types/customer_error.pyi index e3683863d..ed394dcc7 100644 --- a/google-stubs/ads/googleads/v15/errors/types/customer_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/customer_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomerErrorEnum(proto.Message): class CustomerError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class CustomerErrorEnum(proto.Message): STATUS_CHANGE_DISALLOWED = 2 ACCOUNT_NOT_SET_UP = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/customer_feed_error.pyi b/google-stubs/ads/googleads/v15/errors/types/customer_feed_error.pyi index e3d279c46..3fb1a4669 100644 --- a/google-stubs/ads/googleads/v15/errors/types/customer_feed_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/customer_feed_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomerFeedErrorEnum(proto.Message): class CustomerFeedError(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class CustomerFeedErrorEnum(proto.Message): MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE = 7 PLACEHOLDER_TYPE_NOT_ALLOWED_ON_CUSTOMER_FEED = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/customer_lifecycle_goal_error.pyi b/google-stubs/ads/googleads/v15/errors/types/customer_lifecycle_goal_error.pyi index 72b321784..6ee2a8b8b 100644 --- a/google-stubs/ads/googleads/v15/errors/types/customer_lifecycle_goal_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/customer_lifecycle_goal_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomerLifecycleGoalErrorEnum(proto.Message): class CustomerLifecycleGoalError(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class CustomerLifecycleGoalErrorEnum(proto.Message): INVALID_EXISTING_USER_LIST = 7 INVALID_HIGH_LIFETIME_VALUE_USER_LIST = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/customer_manager_link_error.pyi b/google-stubs/ads/googleads/v15/errors/types/customer_manager_link_error.pyi index 990bd4494..5993e714f 100644 --- a/google-stubs/ads/googleads/v15/errors/types/customer_manager_link_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/customer_manager_link_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomerManagerLinkErrorEnum(proto.Message): class CustomerManagerLinkError(proto.Enum): UNSPECIFIED = 0 @@ -16,8 +20,8 @@ class CustomerManagerLinkErrorEnum(proto.Message): DUPLICATE_CHILD_FOUND = 9 TEST_ACCOUNT_LINKS_TOO_MANY_CHILD_ACCOUNTS = 10 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/customer_sk_ad_network_conversion_value_schema_error.pyi b/google-stubs/ads/googleads/v15/errors/types/customer_sk_ad_network_conversion_value_schema_error.pyi index d42924684..d186225e3 100644 --- a/google-stubs/ads/googleads/v15/errors/types/customer_sk_ad_network_conversion_value_schema_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/customer_sk_ad_network_conversion_value_schema_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomerSkAdNetworkConversionValueSchemaErrorEnum(proto.Message): class CustomerSkAdNetworkConversionValueSchemaError(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class CustomerSkAdNetworkConversionValueSchemaErrorEnum(proto.Message): INVALID_SCHEMA = 4 LINK_CODE_NOT_FOUND = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/customer_user_access_error.pyi b/google-stubs/ads/googleads/v15/errors/types/customer_user_access_error.pyi index fc98ce712..0f65ae95e 100644 --- a/google-stubs/ads/googleads/v15/errors/types/customer_user_access_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/customer_user_access_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomerUserAccessErrorEnum(proto.Message): class CustomerUserAccessError(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class CustomerUserAccessErrorEnum(proto.Message): LAST_ADMIN_USER_OF_SERVING_CUSTOMER = 5 LAST_ADMIN_USER_OF_MANAGER = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/customizer_attribute_error.pyi b/google-stubs/ads/googleads/v15/errors/types/customizer_attribute_error.pyi index 22b9ae0df..8c51c67a6 100644 --- a/google-stubs/ads/googleads/v15/errors/types/customizer_attribute_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/customizer_attribute_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomizerAttributeErrorEnum(proto.Message): class CustomizerAttributeError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 DUPLICATE_CUSTOMIZER_ATTRIBUTE_NAME = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/database_error.pyi b/google-stubs/ads/googleads/v15/errors/types/database_error.pyi index b2c56bfc5..9f7a374b7 100644 --- a/google-stubs/ads/googleads/v15/errors/types/database_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/database_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class DatabaseErrorEnum(proto.Message): class DatabaseError(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class DatabaseErrorEnum(proto.Message): DATA_CONSTRAINT_VIOLATION = 3 REQUEST_TOO_LARGE = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/date_error.pyi b/google-stubs/ads/googleads/v15/errors/types/date_error.pyi index 510f83e37..ebe09dcaa 100644 --- a/google-stubs/ads/googleads/v15/errors/types/date_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/date_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class DateErrorEnum(proto.Message): class DateError(proto.Enum): UNSPECIFIED = 0 @@ -17,8 +21,8 @@ class DateErrorEnum(proto.Message): DATE_RANGE_MINIMUM_DATE_LATER_THAN_MAXIMUM_DATE = 9 DATE_RANGE_MINIMUM_AND_MAXIMUM_DATES_BOTH_NULL = 10 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/date_range_error.pyi b/google-stubs/ads/googleads/v15/errors/types/date_range_error.pyi index 4bfc8a944..44f0e1a3f 100644 --- a/google-stubs/ads/googleads/v15/errors/types/date_range_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/date_range_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class DateRangeErrorEnum(proto.Message): class DateRangeError(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class DateRangeErrorEnum(proto.Message): AFTER_MAXIMUM_ALLOWABLE_DATE = 5 CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/distinct_error.pyi b/google-stubs/ads/googleads/v15/errors/types/distinct_error.pyi index d3e3ab805..36a4a6701 100644 --- a/google-stubs/ads/googleads/v15/errors/types/distinct_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/distinct_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class DistinctErrorEnum(proto.Message): class DistinctError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class DistinctErrorEnum(proto.Message): DUPLICATE_ELEMENT = 2 DUPLICATE_TYPE = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/enum_error.pyi b/google-stubs/ads/googleads/v15/errors/types/enum_error.pyi index 0d51287f1..f0a147085 100644 --- a/google-stubs/ads/googleads/v15/errors/types/enum_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/enum_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class EnumErrorEnum(proto.Message): class EnumError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 ENUM_VALUE_NOT_PERMITTED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/errors.pyi b/google-stubs/ads/googleads/v15/errors/types/errors.pyi index 3483c9799..66e62de53 100644 --- a/google-stubs/ads/googleads/v15/errors/types/errors.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/errors.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.duration_pb2 import Duration @@ -357,6 +358,8 @@ from google.ads.googleads.v15.errors.types.youtube_video_registration_error impo YoutubeVideoRegistrationErrorEnum, ) +_M = TypeVar("_M") + class ErrorCode(proto.Message): request_error: RequestErrorEnum.RequestError bidding_strategy_error: BiddingStrategyErrorEnum.BiddingStrategyError @@ -509,8 +512,8 @@ class ErrorCode(proto.Message): customer_lifecycle_goal_error: CustomerLifecycleGoalErrorEnum.CustomerLifecycleGoalError campaign_lifecycle_goal_error: CampaignLifecycleGoalErrorEnum.CampaignLifecycleGoalError def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., request_error: RequestErrorEnum.RequestError = ..., @@ -672,8 +675,8 @@ class ErrorDetails(proto.Message): quota_error_details: QuotaErrorDetails resource_count_details: ResourceCountDetails def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., unpublished_error_code: str = ..., @@ -688,8 +691,8 @@ class ErrorLocation(proto.Message): field_name: str index: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., field_name: str = ..., @@ -697,8 +700,8 @@ class ErrorLocation(proto.Message): ) -> None: ... field_path_elements: MutableSequence[ErrorLocation.FieldPathElement] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., field_path_elements: MutableSequence[ErrorLocation.FieldPathElement] = ... @@ -711,8 +714,8 @@ class GoogleAdsError(proto.Message): location: ErrorLocation details: ErrorDetails def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., error_code: ErrorCode = ..., @@ -726,8 +729,8 @@ class GoogleAdsFailure(proto.Message): errors: MutableSequence[GoogleAdsError] request_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., errors: MutableSequence[GoogleAdsError] = ..., @@ -737,8 +740,8 @@ class GoogleAdsFailure(proto.Message): class PolicyFindingDetails(proto.Message): policy_topic_entries: MutableSequence[PolicyTopicEntry] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., policy_topic_entries: MutableSequence[PolicyTopicEntry] = ... @@ -750,8 +753,8 @@ class PolicyViolationDetails(proto.Message): external_policy_name: str is_exemptible: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., external_policy_description: str = ..., @@ -770,8 +773,8 @@ class QuotaErrorDetails(proto.Message): rate_name: str retry_delay: Duration def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., rate_scope: QuotaErrorDetails.QuotaRateScope = ..., @@ -786,8 +789,8 @@ class ResourceCountDetails(proto.Message): limit_type: ResourceLimitTypeEnum.ResourceLimitType existing_count: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., enclosing_id: str = ..., diff --git a/google-stubs/ads/googleads/v15/errors/types/experiment_arm_error.pyi b/google-stubs/ads/googleads/v15/errors/types/experiment_arm_error.pyi index 68dd5576f..cf51a8fce 100644 --- a/google-stubs/ads/googleads/v15/errors/types/experiment_arm_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/experiment_arm_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ExperimentArmErrorEnum(proto.Message): class ExperimentArmError(proto.Enum): UNSPECIFIED = 0 @@ -21,8 +25,8 @@ class ExperimentArmErrorEnum(proto.Message): BIDDING_STRATEGY_NOT_SUPPORTED_IN_EXPERIMENTS = 14 TRAFFIC_SPLIT_NOT_SUPPORTED_FOR_CHANNEL_TYPE = 15 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/experiment_error.pyi b/google-stubs/ads/googleads/v15/errors/types/experiment_error.pyi index 3b22f1952..e28a46353 100644 --- a/google-stubs/ads/googleads/v15/errors/types/experiment_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/experiment_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ExperimentErrorEnum(proto.Message): class ExperimentError(proto.Enum): UNSPECIFIED = 0 @@ -34,8 +38,8 @@ class ExperimentErrorEnum(proto.Message): CANNOT_REMOVE_IN_CREATION_EXPERIMENT = 27 CANNOT_ADD_CAMPAIGN_WITH_DEPRECATED_AD_TYPES = 28 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/extension_feed_item_error.pyi b/google-stubs/ads/googleads/v15/errors/types/extension_feed_item_error.pyi index 75062086a..bace6103a 100644 --- a/google-stubs/ads/googleads/v15/errors/types/extension_feed_item_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/extension_feed_item_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ExtensionFeedItemErrorEnum(proto.Message): class ExtensionFeedItemError(proto.Enum): UNSPECIFIED = 0 @@ -52,8 +56,8 @@ class ExtensionFeedItemErrorEnum(proto.Message): CONCRETE_EXTENSION_TYPE_REQUIRED = 45 SCHEDULE_END_NOT_AFTER_START = 46 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/extension_setting_error.pyi b/google-stubs/ads/googleads/v15/errors/types/extension_setting_error.pyi index d19ec78c5..9f0fb58fe 100644 --- a/google-stubs/ads/googleads/v15/errors/types/extension_setting_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/extension_setting_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ExtensionSettingErrorEnum(proto.Message): class ExtensionSettingError(proto.Enum): UNSPECIFIED = 0 @@ -72,8 +76,8 @@ class ExtensionSettingErrorEnum(proto.Message): EXTENSION_SETTING_UPDATE_IS_A_NOOP = 67 DISALLOWED_TEXT = 68 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/feed_attribute_reference_error.pyi b/google-stubs/ads/googleads/v15/errors/types/feed_attribute_reference_error.pyi index 90dcc90ef..105883e1f 100644 --- a/google-stubs/ads/googleads/v15/errors/types/feed_attribute_reference_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/feed_attribute_reference_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedAttributeReferenceErrorEnum(proto.Message): class FeedAttributeReferenceError(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class FeedAttributeReferenceErrorEnum(proto.Message): INVALID_FEED_NAME = 3 INVALID_FEED_ATTRIBUTE_NAME = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/feed_error.pyi b/google-stubs/ads/googleads/v15/errors/types/feed_error.pyi index c31999db2..7a8a523c7 100644 --- a/google-stubs/ads/googleads/v15/errors/types/feed_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/feed_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedErrorEnum(proto.Message): class FeedError(proto.Enum): UNSPECIFIED = 0 @@ -30,8 +34,8 @@ class FeedErrorEnum(proto.Message): CANNOT_HAVE_LOCATION_AND_AFFILIATE_LOCATION_FEEDS = 23 LEGACY_EXTENSION_TYPE_READ_ONLY = 24 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/feed_item_error.pyi b/google-stubs/ads/googleads/v15/errors/types/feed_item_error.pyi index df6b746ce..dfbc19a2d 100644 --- a/google-stubs/ads/googleads/v15/errors/types/feed_item_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/feed_item_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedItemErrorEnum(proto.Message): class FeedItemError(proto.Enum): UNSPECIFIED = 0 @@ -17,8 +21,8 @@ class FeedItemErrorEnum(proto.Message): SIZE_TOO_LARGE_FOR_MULTI_VALUE_ATTRIBUTE = 10 LEGACY_FEED_TYPE_READ_ONLY = 11 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/feed_item_set_error.pyi b/google-stubs/ads/googleads/v15/errors/types/feed_item_set_error.pyi index 3c08af59f..334cd61ed 100644 --- a/google-stubs/ads/googleads/v15/errors/types/feed_item_set_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/feed_item_set_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedItemSetErrorEnum(proto.Message): class FeedItemSetError(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class FeedItemSetErrorEnum(proto.Message): WRONG_DYNAMIC_FILTER_FOR_FEED_TYPE = 7 DYNAMIC_FILTER_INVALID_CHAIN_IDS = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/feed_item_set_link_error.pyi b/google-stubs/ads/googleads/v15/errors/types/feed_item_set_link_error.pyi index cf09206d1..256ee23c2 100644 --- a/google-stubs/ads/googleads/v15/errors/types/feed_item_set_link_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/feed_item_set_link_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedItemSetLinkErrorEnum(proto.Message): class FeedItemSetLinkError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class FeedItemSetLinkErrorEnum(proto.Message): FEED_ID_MISMATCH = 2 NO_MUTATE_ALLOWED_FOR_DYNAMIC_SET = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/feed_item_target_error.pyi b/google-stubs/ads/googleads/v15/errors/types/feed_item_target_error.pyi index a920b704e..3bfc13b61 100644 --- a/google-stubs/ads/googleads/v15/errors/types/feed_item_target_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/feed_item_target_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedItemTargetErrorEnum(proto.Message): class FeedItemTargetError(proto.Enum): UNSPECIFIED = 0 @@ -15,8 +19,8 @@ class FeedItemTargetErrorEnum(proto.Message): DUPLICATE_AD_SCHEDULE = 8 DUPLICATE_KEYWORD = 9 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/feed_item_validation_error.pyi b/google-stubs/ads/googleads/v15/errors/types/feed_item_validation_error.pyi index 34b1a3e29..6750522f4 100644 --- a/google-stubs/ads/googleads/v15/errors/types/feed_item_validation_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/feed_item_validation_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedItemValidationErrorEnum(proto.Message): class FeedItemValidationError(proto.Enum): UNSPECIFIED = 0 @@ -112,8 +116,8 @@ class FeedItemValidationErrorEnum(proto.Message): IMAGE_ERROR_CONSTRAINTS_VIOLATED = 106 IMAGE_ERROR_SERVER_ERROR = 107 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/feed_mapping_error.pyi b/google-stubs/ads/googleads/v15/errors/types/feed_mapping_error.pyi index 52d6acc83..2f5bd13b7 100644 --- a/google-stubs/ads/googleads/v15/errors/types/feed_mapping_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/feed_mapping_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedMappingErrorEnum(proto.Message): class FeedMappingError(proto.Enum): UNSPECIFIED = 0 @@ -25,8 +29,8 @@ class FeedMappingErrorEnum(proto.Message): ATTRIBUTE_FIELD_MAPPING_MISSING_FIELD = 19 LEGACY_FEED_TYPE_READ_ONLY = 20 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/field_error.pyi b/google-stubs/ads/googleads/v15/errors/types/field_error.pyi index 4f6e4fd47..9d1b8ec93 100644 --- a/google-stubs/ads/googleads/v15/errors/types/field_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/field_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FieldErrorEnum(proto.Message): class FieldError(proto.Enum): UNSPECIFIED = 0 @@ -15,8 +19,8 @@ class FieldErrorEnum(proto.Message): BLOCKED_VALUE = 9 FIELD_CAN_ONLY_BE_CLEARED = 10 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/field_mask_error.pyi b/google-stubs/ads/googleads/v15/errors/types/field_mask_error.pyi index ac20091e5..2713485c7 100644 --- a/google-stubs/ads/googleads/v15/errors/types/field_mask_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/field_mask_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FieldMaskErrorEnum(proto.Message): class FieldMaskError(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class FieldMaskErrorEnum(proto.Message): FIELD_NOT_FOUND = 2 FIELD_HAS_SUBFIELDS = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/function_error.pyi b/google-stubs/ads/googleads/v15/errors/types/function_error.pyi index f99e8c76e..86b5f59bc 100644 --- a/google-stubs/ads/googleads/v15/errors/types/function_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/function_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FunctionErrorEnum(proto.Message): class FunctionError(proto.Enum): UNSPECIFIED = 0 @@ -23,8 +27,8 @@ class FunctionErrorEnum(proto.Message): INVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA = 16 INVALID_ATTRIBUTE_NAME = 17 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/function_parsing_error.pyi b/google-stubs/ads/googleads/v15/errors/types/function_parsing_error.pyi index 39a65a19b..34787a22b 100644 --- a/google-stubs/ads/googleads/v15/errors/types/function_parsing_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/function_parsing_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FunctionParsingErrorEnum(proto.Message): class FunctionParsingError(proto.Enum): UNSPECIFIED = 0 @@ -18,8 +22,8 @@ class FunctionParsingErrorEnum(proto.Message): NO_OPERANDS = 11 TOO_MANY_OPERANDS = 12 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/geo_target_constant_suggestion_error.pyi b/google-stubs/ads/googleads/v15/errors/types/geo_target_constant_suggestion_error.pyi index 58d5a3d3f..3ed4dc1a9 100644 --- a/google-stubs/ads/googleads/v15/errors/types/geo_target_constant_suggestion_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/geo_target_constant_suggestion_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class GeoTargetConstantSuggestionErrorEnum(proto.Message): class GeoTargetConstantSuggestionError(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class GeoTargetConstantSuggestionErrorEnum(proto.Message): INVALID_COUNTRY_CODE = 4 REQUEST_PARAMETERS_UNSET = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/header_error.pyi b/google-stubs/ads/googleads/v15/errors/types/header_error.pyi index d880d6d37..5d2239436 100644 --- a/google-stubs/ads/googleads/v15/errors/types/header_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/header_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class HeaderErrorEnum(proto.Message): class HeaderError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class HeaderErrorEnum(proto.Message): INVALID_LOGIN_CUSTOMER_ID = 3 INVALID_LINKED_CUSTOMER_ID = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/id_error.pyi b/google-stubs/ads/googleads/v15/errors/types/id_error.pyi index ce3d0c6b4..27d303276 100644 --- a/google-stubs/ads/googleads/v15/errors/types/id_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/id_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class IdErrorEnum(proto.Message): class IdError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 NOT_FOUND = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/image_error.pyi b/google-stubs/ads/googleads/v15/errors/types/image_error.pyi index b2eba91f6..eceecab1d 100644 --- a/google-stubs/ads/googleads/v15/errors/types/image_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/image_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ImageErrorEnum(proto.Message): class ImageError(proto.Enum): UNSPECIFIED = 0 @@ -46,8 +50,8 @@ class ImageErrorEnum(proto.Message): IMAGE_CONSTRAINTS_VIOLATED = 39 FORMAT_NOT_ALLOWED = 40 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/internal_error.pyi b/google-stubs/ads/googleads/v15/errors/types/internal_error.pyi index db0faa58f..14b607589 100644 --- a/google-stubs/ads/googleads/v15/errors/types/internal_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/internal_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class InternalErrorEnum(proto.Message): class InternalError(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class InternalErrorEnum(proto.Message): TRANSIENT_ERROR = 4 DEADLINE_EXCEEDED = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/invoice_error.pyi b/google-stubs/ads/googleads/v15/errors/types/invoice_error.pyi index d18769636..7685c23ef 100644 --- a/google-stubs/ads/googleads/v15/errors/types/invoice_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/invoice_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class InvoiceErrorEnum(proto.Message): class InvoiceError(proto.Enum): UNSPECIFIED = 0 @@ -12,8 +16,8 @@ class InvoiceErrorEnum(proto.Message): BILLING_SETUP_NOT_ON_MONTHLY_INVOICING = 5 NON_SERVING_CUSTOMER = 6 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/keyword_plan_ad_group_error.pyi b/google-stubs/ads/googleads/v15/errors/types/keyword_plan_ad_group_error.pyi index 599095df9..8abed8ee2 100644 --- a/google-stubs/ads/googleads/v15/errors/types/keyword_plan_ad_group_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/keyword_plan_ad_group_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class KeywordPlanAdGroupErrorEnum(proto.Message): class KeywordPlanAdGroupError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class KeywordPlanAdGroupErrorEnum(proto.Message): INVALID_NAME = 2 DUPLICATE_NAME = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/keyword_plan_ad_group_keyword_error.pyi b/google-stubs/ads/googleads/v15/errors/types/keyword_plan_ad_group_keyword_error.pyi index e84505178..baa1ca73b 100644 --- a/google-stubs/ads/googleads/v15/errors/types/keyword_plan_ad_group_keyword_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/keyword_plan_ad_group_keyword_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class KeywordPlanAdGroupKeywordErrorEnum(proto.Message): class KeywordPlanAdGroupKeywordError(proto.Enum): UNSPECIFIED = 0 @@ -15,8 +19,8 @@ class KeywordPlanAdGroupKeywordErrorEnum(proto.Message): NEGATIVE_KEYWORD_HAS_CPC_BID = 8 NEW_BMM_KEYWORDS_NOT_ALLOWED = 9 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/keyword_plan_campaign_error.pyi b/google-stubs/ads/googleads/v15/errors/types/keyword_plan_campaign_error.pyi index d03e01156..f9b8c3ea6 100644 --- a/google-stubs/ads/googleads/v15/errors/types/keyword_plan_campaign_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/keyword_plan_campaign_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class KeywordPlanCampaignErrorEnum(proto.Message): class KeywordPlanCampaignError(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class KeywordPlanCampaignErrorEnum(proto.Message): MAX_GEOS_EXCEEDED = 6 MAX_LANGUAGES_EXCEEDED = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/keyword_plan_campaign_keyword_error.pyi b/google-stubs/ads/googleads/v15/errors/types/keyword_plan_campaign_keyword_error.pyi index ba301b897..9ff1bbab1 100644 --- a/google-stubs/ads/googleads/v15/errors/types/keyword_plan_campaign_keyword_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/keyword_plan_campaign_keyword_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class KeywordPlanCampaignKeywordErrorEnum(proto.Message): class KeywordPlanCampaignKeywordError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 CAMPAIGN_KEYWORD_IS_POSITIVE = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/keyword_plan_error.pyi b/google-stubs/ads/googleads/v15/errors/types/keyword_plan_error.pyi index bbd4c02fe..8431c0f69 100644 --- a/google-stubs/ads/googleads/v15/errors/types/keyword_plan_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/keyword_plan_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class KeywordPlanErrorEnum(proto.Message): class KeywordPlanError(proto.Enum): UNSPECIFIED = 0 @@ -21,8 +25,8 @@ class KeywordPlanErrorEnum(proto.Message): INVALID_FORECAST_DATE_RANGE = 15 INVALID_NAME = 16 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/keyword_plan_idea_error.pyi b/google-stubs/ads/googleads/v15/errors/types/keyword_plan_idea_error.pyi index 0bea5157b..cbccaaf60 100644 --- a/google-stubs/ads/googleads/v15/errors/types/keyword_plan_idea_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/keyword_plan_idea_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class KeywordPlanIdeaErrorEnum(proto.Message): class KeywordPlanIdeaError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class KeywordPlanIdeaErrorEnum(proto.Message): URL_CRAWL_ERROR = 2 INVALID_VALUE = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/label_error.pyi b/google-stubs/ads/googleads/v15/errors/types/label_error.pyi index d8207fe5b..d1648ace3 100644 --- a/google-stubs/ads/googleads/v15/errors/types/label_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/label_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LabelErrorEnum(proto.Message): class LabelError(proto.Enum): UNSPECIFIED = 0 @@ -16,8 +20,8 @@ class LabelErrorEnum(proto.Message): CANNOT_ATTACH_LABEL_TO_DRAFT = 9 CANNOT_ATTACH_NON_MANAGER_LABEL_TO_CUSTOMER = 10 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/language_code_error.pyi b/google-stubs/ads/googleads/v15/errors/types/language_code_error.pyi index 2bce8afb0..857ef1991 100644 --- a/google-stubs/ads/googleads/v15/errors/types/language_code_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/language_code_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LanguageCodeErrorEnum(proto.Message): class LanguageCodeError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class LanguageCodeErrorEnum(proto.Message): LANGUAGE_CODE_NOT_FOUND = 2 INVALID_LANGUAGE_CODE = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/list_operation_error.pyi b/google-stubs/ads/googleads/v15/errors/types/list_operation_error.pyi index 532872bc7..4eb66d7a9 100644 --- a/google-stubs/ads/googleads/v15/errors/types/list_operation_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/list_operation_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ListOperationErrorEnum(proto.Message): class ListOperationError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class ListOperationErrorEnum(proto.Message): REQUIRED_FIELD_MISSING = 7 DUPLICATE_VALUES = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/manager_link_error.pyi b/google-stubs/ads/googleads/v15/errors/types/manager_link_error.pyi index 01c1a0f23..d4acda6c2 100644 --- a/google-stubs/ads/googleads/v15/errors/types/manager_link_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/manager_link_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ManagerLinkErrorEnum(proto.Message): class ManagerLinkError(proto.Enum): UNSPECIFIED = 0 @@ -26,8 +30,8 @@ class ManagerLinkErrorEnum(proto.Message): CUSTOMER_CANNOT_MANAGE_SELF = 19 CREATING_ENABLED_LINK_NOT_ALLOWED = 20 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/media_bundle_error.pyi b/google-stubs/ads/googleads/v15/errors/types/media_bundle_error.pyi index 801fc656e..aab91c4b9 100644 --- a/google-stubs/ads/googleads/v15/errors/types/media_bundle_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/media_bundle_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MediaBundleErrorEnum(proto.Message): class MediaBundleError(proto.Enum): UNSPECIFIED = 0 @@ -29,8 +33,8 @@ class MediaBundleErrorEnum(proto.Message): URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT = 23 CUSTOM_EXIT_NOT_ALLOWED = 24 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/media_file_error.pyi b/google-stubs/ads/googleads/v15/errors/types/media_file_error.pyi index 45a44b8a0..e116834a8 100644 --- a/google-stubs/ads/googleads/v15/errors/types/media_file_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/media_file_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MediaFileErrorEnum(proto.Message): class MediaFileError(proto.Enum): UNSPECIFIED = 0 @@ -30,8 +34,8 @@ class MediaFileErrorEnum(proto.Message): YOU_TUBE_VIDEO_HAS_NON_POSITIVE_DURATION = 23 YOU_TUBE_VIDEO_NOT_FOUND = 24 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/media_upload_error.pyi b/google-stubs/ads/googleads/v15/errors/types/media_upload_error.pyi index af97b7194..7a670c216 100644 --- a/google-stubs/ads/googleads/v15/errors/types/media_upload_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/media_upload_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MediaUploadErrorEnum(proto.Message): class MediaUploadError(proto.Enum): UNSPECIFIED = 0 @@ -41,8 +45,8 @@ class MediaUploadErrorEnum(proto.Message): CANNOT_UPLOAD_MEDIA_TYPE_THROUGH_API = 34 DIMENSIONS_NOT_ALLOWED = 35 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/merchant_center_error.pyi b/google-stubs/ads/googleads/v15/errors/types/merchant_center_error.pyi index 5034598f0..f8acb4528 100644 --- a/google-stubs/ads/googleads/v15/errors/types/merchant_center_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/merchant_center_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MerchantCenterErrorEnum(proto.Message): class MerchantCenterError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class MerchantCenterErrorEnum(proto.Message): MERCHANT_ID_CANNOT_BE_ACCESSED = 2 CUSTOMER_NOT_ALLOWED_FOR_SHOPPING_PERFORMANCE_MAX = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/multiplier_error.pyi b/google-stubs/ads/googleads/v15/errors/types/multiplier_error.pyi index 36cf77cba..84dd85e53 100644 --- a/google-stubs/ads/googleads/v15/errors/types/multiplier_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/multiplier_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MultiplierErrorEnum(proto.Message): class MultiplierError(proto.Enum): UNSPECIFIED = 0 @@ -19,8 +23,8 @@ class MultiplierErrorEnum(proto.Message): BID_LESS_THAN_MIN_ALLOWED_BID_WITH_MULTIPLIER = 12 MULTIPLIER_AND_BIDDING_STRATEGY_TYPE_MISMATCH = 13 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/mutate_error.pyi b/google-stubs/ads/googleads/v15/errors/types/mutate_error.pyi index 7f1591eae..7225986e3 100644 --- a/google-stubs/ads/googleads/v15/errors/types/mutate_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/mutate_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MutateErrorEnum(proto.Message): class MutateError(proto.Enum): UNSPECIFIED = 0 @@ -16,8 +20,8 @@ class MutateErrorEnum(proto.Message): OPERATION_DOES_NOT_SUPPORT_PARTIAL_FAILURE = 16 RESOURCE_READ_ONLY = 13 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/new_resource_creation_error.pyi b/google-stubs/ads/googleads/v15/errors/types/new_resource_creation_error.pyi index bbae6c65e..5bc7d94f9 100644 --- a/google-stubs/ads/googleads/v15/errors/types/new_resource_creation_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/new_resource_creation_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class NewResourceCreationErrorEnum(proto.Message): class NewResourceCreationError(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class NewResourceCreationErrorEnum(proto.Message): DUPLICATE_TEMP_IDS = 3 TEMP_ID_RESOURCE_HAD_ERRORS = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/not_allowlisted_error.pyi b/google-stubs/ads/googleads/v15/errors/types/not_allowlisted_error.pyi index 980794065..23698cc90 100644 --- a/google-stubs/ads/googleads/v15/errors/types/not_allowlisted_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/not_allowlisted_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class NotAllowlistedErrorEnum(proto.Message): class NotAllowlistedError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 CUSTOMER_NOT_ALLOWLISTED_FOR_THIS_FEATURE = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/not_empty_error.pyi b/google-stubs/ads/googleads/v15/errors/types/not_empty_error.pyi index 95ff3420a..ae56769b3 100644 --- a/google-stubs/ads/googleads/v15/errors/types/not_empty_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/not_empty_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class NotEmptyErrorEnum(proto.Message): class NotEmptyError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 EMPTY_LIST = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/null_error.pyi b/google-stubs/ads/googleads/v15/errors/types/null_error.pyi index 5895335a1..70609249e 100644 --- a/google-stubs/ads/googleads/v15/errors/types/null_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/null_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class NullErrorEnum(proto.Message): class NullError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 NULL_CONTENT = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/offline_user_data_job_error.pyi b/google-stubs/ads/googleads/v15/errors/types/offline_user_data_job_error.pyi index d38a2c449..b69eedcf9 100644 --- a/google-stubs/ads/googleads/v15/errors/types/offline_user_data_job_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/offline_user_data_job_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class OfflineUserDataJobErrorEnum(proto.Message): class OfflineUserDataJobError(proto.Enum): UNSPECIFIED = 0 @@ -45,8 +49,8 @@ class OfflineUserDataJobErrorEnum(proto.Message): INVALID_EVENT_VALUE = 44 EVENT_ATTRIBUTE_ALL_FIELDS_ARE_REQUIRED = 45 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/operation_access_denied_error.pyi b/google-stubs/ads/googleads/v15/errors/types/operation_access_denied_error.pyi index 5e558f7ef..efa19ff83 100644 --- a/google-stubs/ads/googleads/v15/errors/types/operation_access_denied_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/operation_access_denied_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class OperationAccessDeniedErrorEnum(proto.Message): class OperationAccessDeniedError(proto.Enum): UNSPECIFIED = 0 @@ -17,8 +21,8 @@ class OperationAccessDeniedErrorEnum(proto.Message): OPERATION_NOT_PERMITTED_FOR_AD_GROUP_TYPE = 10 MUTATE_NOT_PERMITTED_FOR_CUSTOMER = 11 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/operator_error.pyi b/google-stubs/ads/googleads/v15/errors/types/operator_error.pyi index c8fe2fe28..4b730af5c 100644 --- a/google-stubs/ads/googleads/v15/errors/types/operator_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/operator_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class OperatorErrorEnum(proto.Message): class OperatorError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 OPERATOR_NOT_SUPPORTED = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/partial_failure_error.pyi b/google-stubs/ads/googleads/v15/errors/types/partial_failure_error.pyi index 8eae8768e..1e5edc93d 100644 --- a/google-stubs/ads/googleads/v15/errors/types/partial_failure_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/partial_failure_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PartialFailureErrorEnum(proto.Message): class PartialFailureError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 PARTIAL_FAILURE_MODE_REQUIRED = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/payments_account_error.pyi b/google-stubs/ads/googleads/v15/errors/types/payments_account_error.pyi index c5ccc044d..2bcc37a84 100644 --- a/google-stubs/ads/googleads/v15/errors/types/payments_account_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/payments_account_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PaymentsAccountErrorEnum(proto.Message): class PaymentsAccountError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 NOT_SUPPORTED_FOR_MANAGER_CUSTOMER = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/policy_finding_error.pyi b/google-stubs/ads/googleads/v15/errors/types/policy_finding_error.pyi index 157f2dc22..456962e8d 100644 --- a/google-stubs/ads/googleads/v15/errors/types/policy_finding_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/policy_finding_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PolicyFindingErrorEnum(proto.Message): class PolicyFindingError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class PolicyFindingErrorEnum(proto.Message): POLICY_FINDING = 2 POLICY_TOPIC_NOT_FOUND = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/policy_validation_parameter_error.pyi b/google-stubs/ads/googleads/v15/errors/types/policy_validation_parameter_error.pyi index db1bf2a84..46b9d4dd2 100644 --- a/google-stubs/ads/googleads/v15/errors/types/policy_validation_parameter_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/policy_validation_parameter_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PolicyValidationParameterErrorEnum(proto.Message): class PolicyValidationParameterError(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class PolicyValidationParameterErrorEnum(proto.Message): UNSUPPORTED_AD_TYPE_FOR_EXEMPT_POLICY_VIOLATION_KEYS = 3 CANNOT_SET_BOTH_IGNORABLE_POLICY_TOPICS_AND_EXEMPT_POLICY_VIOLATION_KEYS = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/policy_violation_error.pyi b/google-stubs/ads/googleads/v15/errors/types/policy_violation_error.pyi index 358590000..85259e732 100644 --- a/google-stubs/ads/googleads/v15/errors/types/policy_violation_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/policy_violation_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PolicyViolationErrorEnum(proto.Message): class PolicyViolationError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 POLICY_ERROR = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/product_link_error.pyi b/google-stubs/ads/googleads/v15/errors/types/product_link_error.pyi index b4ad5bac1..d37cddebf 100644 --- a/google-stubs/ads/googleads/v15/errors/types/product_link_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/product_link_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ProductLinkErrorEnum(proto.Message): class ProductLinkError(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ProductLinkErrorEnum(proto.Message): CREATION_NOT_PERMITTED = 3 INVITATION_EXISTS = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/product_link_invitation_error.pyi b/google-stubs/ads/googleads/v15/errors/types/product_link_invitation_error.pyi index 3271fb204..79fb0891e 100644 --- a/google-stubs/ads/googleads/v15/errors/types/product_link_invitation_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/product_link_invitation_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ProductLinkInvitationErrorEnum(proto.Message): class ProductLinkInvitationError(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ProductLinkInvitationErrorEnum(proto.Message): PERMISSION_DENIED = 3 NO_INVITATION_REQUIRED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/query_error.pyi b/google-stubs/ads/googleads/v15/errors/types/query_error.pyi index 79e17cb1f..90721f404 100644 --- a/google-stubs/ads/googleads/v15/errors/types/query_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/query_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class QueryErrorEnum(proto.Message): class QueryError(proto.Enum): UNSPECIFIED = 0 @@ -62,8 +66,8 @@ class QueryErrorEnum(proto.Message): REQUESTED_METRICS_FOR_MANAGER = 59 FILTER_HAS_TOO_MANY_VALUES = 63 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/quota_error.pyi b/google-stubs/ads/googleads/v15/errors/types/quota_error.pyi index 0a6248e38..43f75ed77 100644 --- a/google-stubs/ads/googleads/v15/errors/types/quota_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/quota_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class QuotaErrorEnum(proto.Message): class QuotaError(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class QuotaErrorEnum(proto.Message): ACCESS_PROHIBITED = 3 RESOURCE_TEMPORARILY_EXHAUSTED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/range_error.pyi b/google-stubs/ads/googleads/v15/errors/types/range_error.pyi index 859b69ef8..c025f726e 100644 --- a/google-stubs/ads/googleads/v15/errors/types/range_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/range_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class RangeErrorEnum(proto.Message): class RangeError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class RangeErrorEnum(proto.Message): TOO_LOW = 2 TOO_HIGH = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/reach_plan_error.pyi b/google-stubs/ads/googleads/v15/errors/types/reach_plan_error.pyi index 9a6bd228f..26ad12b7d 100644 --- a/google-stubs/ads/googleads/v15/errors/types/reach_plan_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/reach_plan_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ReachPlanErrorEnum(proto.Message): class ReachPlanError(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class ReachPlanErrorEnum(proto.Message): NOT_FORECASTABLE_NOT_ENOUGH_INVENTORY = 3 NOT_FORECASTABLE_ACCOUNT_NOT_ENABLED = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/recommendation_error.pyi b/google-stubs/ads/googleads/v15/errors/types/recommendation_error.pyi index 3530687a1..2a71201bb 100644 --- a/google-stubs/ads/googleads/v15/errors/types/recommendation_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/recommendation_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class RecommendationErrorEnum(proto.Message): class RecommendationError(proto.Enum): UNSPECIFIED = 0 @@ -23,8 +27,8 @@ class RecommendationErrorEnum(proto.Message): RECOMMENDATION_TYPE_APPLY_NOT_SUPPORTED = 17 INVALID_MULTIPLIER = 18 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/recommendation_subscription_error.pyi b/google-stubs/ads/googleads/v15/errors/types/recommendation_subscription_error.pyi index 49b14a79d..a6e0ab0ce 100644 --- a/google-stubs/ads/googleads/v15/errors/types/recommendation_subscription_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/recommendation_subscription_error.pyi @@ -1,14 +1,18 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class RecommendationSubscriptionErrorEnum(proto.Message): class RecommendationSubscriptionError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/region_code_error.pyi b/google-stubs/ads/googleads/v15/errors/types/region_code_error.pyi index 2a6f21dec..49fd29ff2 100644 --- a/google-stubs/ads/googleads/v15/errors/types/region_code_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/region_code_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class RegionCodeErrorEnum(proto.Message): class RegionCodeError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 INVALID_REGION_CODE = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/request_error.pyi b/google-stubs/ads/googleads/v15/errors/types/request_error.pyi index 9e39f31cf..ad0a4167e 100644 --- a/google-stubs/ads/googleads/v15/errors/types/request_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/request_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class RequestErrorEnum(proto.Message): class RequestError(proto.Enum): UNSPECIFIED = 0 @@ -32,8 +36,8 @@ class RequestErrorEnum(proto.Message): UNSUPPORTED_VERSION = 38 CLOUD_PROJECT_NOT_FOUND = 39 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/resource_access_denied_error.pyi b/google-stubs/ads/googleads/v15/errors/types/resource_access_denied_error.pyi index bca8554c2..03c253af6 100644 --- a/google-stubs/ads/googleads/v15/errors/types/resource_access_denied_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/resource_access_denied_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ResourceAccessDeniedErrorEnum(proto.Message): class ResourceAccessDeniedError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 WRITE_ACCESS_DENIED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/resource_count_limit_exceeded_error.pyi b/google-stubs/ads/googleads/v15/errors/types/resource_count_limit_exceeded_error.pyi index 89e0efb0e..fbac68c12 100644 --- a/google-stubs/ads/googleads/v15/errors/types/resource_count_limit_exceeded_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/resource_count_limit_exceeded_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ResourceCountLimitExceededErrorEnum(proto.Message): class ResourceCountLimitExceededError(proto.Enum): UNSPECIFIED = 0 @@ -16,8 +20,8 @@ class ResourceCountLimitExceededErrorEnum(proto.Message): RESPONSE_ROW_LIMIT_EXCEEDED = 9 RESOURCE_LIMIT = 10 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/search_term_insight_error.pyi b/google-stubs/ads/googleads/v15/errors/types/search_term_insight_error.pyi index 8d9a80eb1..465f7d46c 100644 --- a/google-stubs/ads/googleads/v15/errors/types/search_term_insight_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/search_term_insight_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SearchTermInsightErrorEnum(proto.Message): class SearchTermInsightError(proto.Enum): UNSPECIFIED = 0 @@ -13,8 +17,8 @@ class SearchTermInsightErrorEnum(proto.Message): SORTING_NOT_ALLOWED_WITH_SEGMENTS = 6 SUMMARY_ROW_NOT_ALLOWED_WITH_SEGMENTS = 7 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/setting_error.pyi b/google-stubs/ads/googleads/v15/errors/types/setting_error.pyi index 93217c866..0037dcce1 100644 --- a/google-stubs/ads/googleads/v15/errors/types/setting_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/setting_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SettingErrorEnum(proto.Message): class SettingError(proto.Enum): UNSPECIFIED = 0 @@ -23,8 +27,8 @@ class SettingErrorEnum(proto.Message): SETTING_VALUE_NOT_COMPATIBLE_WITH_CAMPAIGN = 20 BID_ONLY_IS_NOT_ALLOWED_TO_BE_MODIFIED_WITH_CUSTOMER_MATCH_TARGETING = 21 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/shared_criterion_error.pyi b/google-stubs/ads/googleads/v15/errors/types/shared_criterion_error.pyi index f00c2c7e1..8909cff48 100644 --- a/google-stubs/ads/googleads/v15/errors/types/shared_criterion_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/shared_criterion_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SharedCriterionErrorEnum(proto.Message): class SharedCriterionError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 CRITERION_TYPE_NOT_ALLOWED_FOR_SHARED_SET_TYPE = 2 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/shared_set_error.pyi b/google-stubs/ads/googleads/v15/errors/types/shared_set_error.pyi index bf3a2a346..6d3dd53b9 100644 --- a/google-stubs/ads/googleads/v15/errors/types/shared_set_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/shared_set_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SharedSetErrorEnum(proto.Message): class SharedSetError(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class SharedSetErrorEnum(proto.Message): SHARED_SET_REMOVED = 4 SHARED_SET_IN_USE = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/size_limit_error.pyi b/google-stubs/ads/googleads/v15/errors/types/size_limit_error.pyi index 9dfc78703..61df7d4a8 100644 --- a/google-stubs/ads/googleads/v15/errors/types/size_limit_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/size_limit_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SizeLimitErrorEnum(proto.Message): class SizeLimitError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class SizeLimitErrorEnum(proto.Message): REQUEST_SIZE_LIMIT_EXCEEDED = 2 RESPONSE_SIZE_LIMIT_EXCEEDED = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/smart_campaign_error.pyi b/google-stubs/ads/googleads/v15/errors/types/smart_campaign_error.pyi index 173c3edb1..10095a2bd 100644 --- a/google-stubs/ads/googleads/v15/errors/types/smart_campaign_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/smart_campaign_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SmartCampaignErrorEnum(proto.Message): class SmartCampaignError(proto.Enum): UNSPECIFIED = 0 @@ -14,8 +18,8 @@ class SmartCampaignErrorEnum(proto.Message): CANNOT_DETERMINE_SUGGESTION_LOCALE = 7 FINAL_URL_NOT_CRAWLABLE = 8 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/string_format_error.pyi b/google-stubs/ads/googleads/v15/errors/types/string_format_error.pyi index d20fc6ae9..596b13696 100644 --- a/google-stubs/ads/googleads/v15/errors/types/string_format_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/string_format_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class StringFormatErrorEnum(proto.Message): class StringFormatError(proto.Enum): UNSPECIFIED = 0 @@ -9,8 +13,8 @@ class StringFormatErrorEnum(proto.Message): ILLEGAL_CHARS = 2 INVALID_FORMAT = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/string_length_error.pyi b/google-stubs/ads/googleads/v15/errors/types/string_length_error.pyi index 8beb0ac1c..d91ad821f 100644 --- a/google-stubs/ads/googleads/v15/errors/types/string_length_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/string_length_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class StringLengthErrorEnum(proto.Message): class StringLengthError(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class StringLengthErrorEnum(proto.Message): TOO_SHORT = 2 TOO_LONG = 3 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/third_party_app_analytics_link_error.pyi b/google-stubs/ads/googleads/v15/errors/types/third_party_app_analytics_link_error.pyi index df48fe954..aa681dff7 100644 --- a/google-stubs/ads/googleads/v15/errors/types/third_party_app_analytics_link_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/third_party_app_analytics_link_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ThirdPartyAppAnalyticsLinkErrorEnum(proto.Message): class ThirdPartyAppAnalyticsLinkError(proto.Enum): UNSPECIFIED = 0 @@ -11,8 +15,8 @@ class ThirdPartyAppAnalyticsLinkErrorEnum(proto.Message): MOBILE_APP_IS_NOT_ENABLED = 4 CANNOT_REGENERATE_SHAREABLE_LINK_ID_FOR_REMOVED_LINK = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/time_zone_error.pyi b/google-stubs/ads/googleads/v15/errors/types/time_zone_error.pyi index a7954a497..0ecdd3962 100644 --- a/google-stubs/ads/googleads/v15/errors/types/time_zone_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/time_zone_error.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class TimeZoneErrorEnum(proto.Message): class TimeZoneError(proto.Enum): UNSPECIFIED = 0 UNKNOWN = 1 INVALID_TIME_ZONE = 5 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/url_field_error.pyi b/google-stubs/ads/googleads/v15/errors/types/url_field_error.pyi index 1ceae7042..ce39628dc 100644 --- a/google-stubs/ads/googleads/v15/errors/types/url_field_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/url_field_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UrlFieldErrorEnum(proto.Message): class UrlFieldError(proto.Enum): UNSPECIFIED = 0 @@ -60,8 +64,8 @@ class UrlFieldErrorEnum(proto.Message): NULL_CUSTOM_PARAMETER_VALUE = 57 VALUE_TRACK_PARAMETER_NOT_SUPPORTED = 58 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/user_data_error.pyi b/google-stubs/ads/googleads/v15/errors/types/user_data_error.pyi index cd773b236..872a37e9a 100644 --- a/google-stubs/ads/googleads/v15/errors/types/user_data_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/user_data_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserDataErrorEnum(proto.Message): class UserDataError(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class UserDataErrorEnum(proto.Message): TOO_MANY_USER_IDENTIFIERS = 3 USER_LIST_NOT_APPLICABLE = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/user_list_error.pyi b/google-stubs/ads/googleads/v15/errors/types/user_list_error.pyi index 4b0757b99..18a596760 100644 --- a/google-stubs/ads/googleads/v15/errors/types/user_list_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/user_list_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserListErrorEnum(proto.Message): class UserListError(proto.Enum): UNSPECIFIED = 0 @@ -40,8 +44,8 @@ class UserListErrorEnum(proto.Message): INVALID_SEED_LIST_TYPE = 44 INVALID_COUNTRY_CODES = 45 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/errors/types/youtube_video_registration_error.pyi b/google-stubs/ads/googleads/v15/errors/types/youtube_video_registration_error.pyi index c59513eaf..da2dbeae7 100644 --- a/google-stubs/ads/googleads/v15/errors/types/youtube_video_registration_error.pyi +++ b/google-stubs/ads/googleads/v15/errors/types/youtube_video_registration_error.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class YoutubeVideoRegistrationErrorEnum(proto.Message): class YoutubeVideoRegistrationError(proto.Enum): UNSPECIFIED = 0 @@ -10,8 +14,8 @@ class YoutubeVideoRegistrationErrorEnum(proto.Message): VIDEO_NOT_ACCESSIBLE = 3 VIDEO_NOT_ELIGIBLE = 4 def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/resources/types/accessible_bidding_strategy.pyi b/google-stubs/ads/googleads/v15/resources/types/accessible_bidding_strategy.pyi index 96a674fb1..cbcad1daf 100644 --- a/google-stubs/ads/googleads/v15/resources/types/accessible_bidding_strategy.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/accessible_bidding_strategy.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.bidding_strategy_type import ( @@ -9,12 +11,14 @@ from google.ads.googleads.v15.enums.types.target_impression_share_location impor TargetImpressionShareLocationEnum, ) +_M = TypeVar("_M") + class AccessibleBiddingStrategy(proto.Message): class MaximizeConversionValue(proto.Message): target_roas: float def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_roas: float = ... @@ -23,8 +27,8 @@ class AccessibleBiddingStrategy(proto.Message): class MaximizeConversions(proto.Message): target_cpa_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_cpa_micros: int = ... @@ -33,8 +37,8 @@ class AccessibleBiddingStrategy(proto.Message): class TargetCpa(proto.Message): target_cpa_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_cpa_micros: int = ... @@ -45,8 +49,8 @@ class AccessibleBiddingStrategy(proto.Message): location_fraction_micros: int cpc_bid_ceiling_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., location: TargetImpressionShareLocationEnum.TargetImpressionShareLocation = ..., @@ -57,8 +61,8 @@ class AccessibleBiddingStrategy(proto.Message): class TargetRoas(proto.Message): target_roas: float def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_roas: float = ... @@ -68,8 +72,8 @@ class AccessibleBiddingStrategy(proto.Message): target_spend_micros: int cpc_bid_ceiling_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_spend_micros: int = ..., @@ -88,8 +92,8 @@ class AccessibleBiddingStrategy(proto.Message): target_roas: AccessibleBiddingStrategy.TargetRoas target_spend: AccessibleBiddingStrategy.TargetSpend def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/account_budget.pyi b/google-stubs/ads/googleads/v15/resources/types/account_budget.pyi index dbd9f48cf..fe4a012d6 100644 --- a/google-stubs/ads/googleads/v15/resources/types/account_budget.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/account_budget.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.account_budget_proposal_type import ( @@ -13,6 +15,8 @@ from google.ads.googleads.v15.enums.types.spending_limit_type import ( ) from google.ads.googleads.v15.enums.types.time_type import TimeTypeEnum +_M = TypeVar("_M") + class AccountBudget(proto.Message): class PendingAccountBudgetProposal(proto.Message): account_budget_proposal: str @@ -27,8 +31,8 @@ class AccountBudget(proto.Message): spending_limit_micros: int spending_limit_type: SpendingLimitTypeEnum.SpendingLimitType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., account_budget_proposal: str = ..., @@ -66,8 +70,8 @@ class AccountBudget(proto.Message): adjusted_spending_limit_micros: int adjusted_spending_limit_type: SpendingLimitTypeEnum.SpendingLimitType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/account_budget_proposal.pyi b/google-stubs/ads/googleads/v15/resources/types/account_budget_proposal.pyi index 583a9220d..8bf9ef80f 100644 --- a/google-stubs/ads/googleads/v15/resources/types/account_budget_proposal.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/account_budget_proposal.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.account_budget_proposal_status import ( @@ -13,6 +15,8 @@ from google.ads.googleads.v15.enums.types.spending_limit_type import ( ) from google.ads.googleads.v15.enums.types.time_type import TimeTypeEnum +_M = TypeVar("_M") + class AccountBudgetProposal(proto.Message): resource_name: str id: int @@ -37,8 +41,8 @@ class AccountBudgetProposal(proto.Message): approved_spending_limit_micros: int approved_spending_limit_type: SpendingLimitTypeEnum.SpendingLimitType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/account_link.pyi b/google-stubs/ads/googleads/v15/resources/types/account_link.pyi index 934c8630d..a4a1fc7b2 100644 --- a/google-stubs/ads/googleads/v15/resources/types/account_link.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/account_link.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.account_link_status import ( @@ -10,6 +12,8 @@ from google.ads.googleads.v15.enums.types.linked_account_type import ( ) from google.ads.googleads.v15.enums.types.mobile_app_vendor import MobileAppVendorEnum +_M = TypeVar("_M") + class AccountLink(proto.Message): resource_name: str account_link_id: int @@ -20,8 +24,8 @@ class AccountLink(proto.Message): google_ads: GoogleAdsLinkIdentifier advertising_partner: AdvertisingPartnerLinkIdentifier def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -37,8 +41,8 @@ class AccountLink(proto.Message): class AdvertisingPartnerLinkIdentifier(proto.Message): customer: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer: str = ... @@ -47,8 +51,8 @@ class AdvertisingPartnerLinkIdentifier(proto.Message): class DataPartnerLinkIdentifier(proto.Message): data_partner_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., data_partner_id: int = ... @@ -57,8 +61,8 @@ class DataPartnerLinkIdentifier(proto.Message): class GoogleAdsLinkIdentifier(proto.Message): customer: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer: str = ... @@ -69,8 +73,8 @@ class ThirdPartyAppAnalyticsLinkIdentifier(proto.Message): app_id: str app_vendor: MobileAppVendorEnum.MobileAppVendor def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., app_analytics_provider_id: int = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/ad.pyi b/google-stubs/ads/googleads/v15/resources/types/ad.pyi index e99edf7ed..970e98269 100644 --- a/google-stubs/ads/googleads/v15/resources/types/ad.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/ad.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.ad_type_infos import ( @@ -39,6 +40,8 @@ from google.ads.googleads.v15.enums.types.system_managed_entity_source import ( SystemManagedResourceSourceEnum, ) +_M = TypeVar("_M") + class Ad(proto.Message): resource_name: str id: int @@ -81,8 +84,8 @@ class Ad(proto.Message): discovery_video_responsive_ad: DiscoveryVideoResponsiveAdInfo travel_ad: TravelAdInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/ad_group.pyi b/google-stubs/ads/googleads/v15/resources/types/ad_group.pyi index e1757fd2f..576a357d4 100644 --- a/google-stubs/ads/googleads/v15/resources/types/ad_group.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/ad_group.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.custom_parameter import CustomParameter @@ -17,12 +18,14 @@ from google.ads.googleads.v15.enums.types.targeting_dimension import ( TargetingDimensionEnum, ) +_M = TypeVar("_M") + class AdGroup(proto.Message): class AudienceSetting(proto.Message): use_audience_grouped: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., use_audience_grouped: bool = ... @@ -60,8 +63,8 @@ class AdGroup(proto.Message): ] excluded_parent_asset_set_types: MutableSequence[AssetSetTypeEnum.AssetSetType] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/ad_group_ad.pyi b/google-stubs/ads/googleads/v15/resources/types/ad_group_ad.pyi index b37ecee2e..2e83024d4 100644 --- a/google-stubs/ads/googleads/v15/resources/types/ad_group_ad.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/ad_group_ad.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.policy import PolicyTopicEntry @@ -14,6 +15,8 @@ from google.ads.googleads.v15.enums.types.policy_review_status import ( ) from google.ads.googleads.v15.resources.types.ad import Ad +_M = TypeVar("_M") + class AdGroupAd(proto.Message): resource_name: str status: AdGroupAdStatusEnum.AdGroupAdStatus @@ -24,8 +27,8 @@ class AdGroupAd(proto.Message): action_items: MutableSequence[str] labels: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -43,8 +46,8 @@ class AdGroupAdPolicySummary(proto.Message): review_status: PolicyReviewStatusEnum.PolicyReviewStatus approval_status: PolicyApprovalStatusEnum.PolicyApprovalStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., policy_topic_entries: MutableSequence[PolicyTopicEntry] = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/ad_group_ad_asset_combination_view.pyi b/google-stubs/ads/googleads/v15/resources/types/ad_group_ad_asset_combination_view.pyi index bc804616d..667346fd1 100644 --- a/google-stubs/ads/googleads/v15/resources/types/ad_group_ad_asset_combination_view.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/ad_group_ad_asset_combination_view.pyi @@ -1,17 +1,20 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.asset_usage import AssetUsage +_M = TypeVar("_M") + class AdGroupAdAssetCombinationView(proto.Message): resource_name: str served_assets: MutableSequence[AssetUsage] enabled: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/ad_group_ad_asset_view.pyi b/google-stubs/ads/googleads/v15/resources/types/ad_group_ad_asset_view.pyi index 85db63f0f..52081f91b 100644 --- a/google-stubs/ads/googleads/v15/resources/types/ad_group_ad_asset_view.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/ad_group_ad_asset_view.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.policy import PolicyTopicEntry @@ -19,13 +20,15 @@ from google.ads.googleads.v15.enums.types.served_asset_field_type import ( ServedAssetFieldTypeEnum, ) +_M = TypeVar("_M") + class AdGroupAdAssetPolicySummary(proto.Message): policy_topic_entries: MutableSequence[PolicyTopicEntry] review_status: PolicyReviewStatusEnum.PolicyReviewStatus approval_status: PolicyApprovalStatusEnum.PolicyApprovalStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., policy_topic_entries: MutableSequence[PolicyTopicEntry] = ..., @@ -44,8 +47,8 @@ class AdGroupAdAssetView(proto.Message): pinned_field: ServedAssetFieldTypeEnum.ServedAssetFieldType source: AssetSourceEnum.AssetSource def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/ad_group_ad_label.pyi b/google-stubs/ads/googleads/v15/resources/types/ad_group_ad_label.pyi index f58ecfedc..793b78a9d 100644 --- a/google-stubs/ads/googleads/v15/resources/types/ad_group_ad_label.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/ad_group_ad_label.pyi @@ -1,14 +1,18 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupAdLabel(proto.Message): resource_name: str ad_group_ad: str label: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/ad_group_asset.pyi b/google-stubs/ads/googleads/v15/resources/types/ad_group_asset.pyi index 36c3a4536..d4e1b4b19 100644 --- a/google-stubs/ads/googleads/v15/resources/types/ad_group_asset.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/ad_group_asset.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.asset_policy import ( @@ -16,6 +17,8 @@ from google.ads.googleads.v15.enums.types.asset_link_primary_status_reason impor from google.ads.googleads.v15.enums.types.asset_link_status import AssetLinkStatusEnum from google.ads.googleads.v15.enums.types.asset_source import AssetSourceEnum +_M = TypeVar("_M") + class AdGroupAsset(proto.Message): resource_name: str ad_group: str @@ -29,8 +32,8 @@ class AdGroupAsset(proto.Message): AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason ] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/ad_group_asset_set.pyi b/google-stubs/ads/googleads/v15/resources/types/ad_group_asset_set.pyi index dc4e0b97e..8d673eeb7 100644 --- a/google-stubs/ads/googleads/v15/resources/types/ad_group_asset_set.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/ad_group_asset_set.pyi @@ -1,19 +1,23 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.asset_set_link_status import ( AssetSetLinkStatusEnum, ) +_M = TypeVar("_M") + class AdGroupAssetSet(proto.Message): resource_name: str ad_group: str asset_set: str status: AssetSetLinkStatusEnum.AssetSetLinkStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/ad_group_audience_view.pyi b/google-stubs/ads/googleads/v15/resources/types/ad_group_audience_view.pyi index ee52c397a..eac5aa03e 100644 --- a/google-stubs/ads/googleads/v15/resources/types/ad_group_audience_view.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/ad_group_audience_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupAudienceView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v15/resources/types/ad_group_bid_modifier.pyi b/google-stubs/ads/googleads/v15/resources/types/ad_group_bid_modifier.pyi index 7f9a6b088..e817ff28c 100644 --- a/google-stubs/ads/googleads/v15/resources/types/ad_group_bid_modifier.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/ad_group_bid_modifier.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.criteria import ( @@ -14,6 +16,8 @@ from google.ads.googleads.v15.enums.types.bid_modifier_source import ( BidModifierSourceEnum, ) +_M = TypeVar("_M") + class AdGroupBidModifier(proto.Message): resource_name: str ad_group: str @@ -28,8 +32,8 @@ class AdGroupBidModifier(proto.Message): device: DeviceInfo hotel_check_in_date_range: HotelCheckInDateRangeInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/ad_group_criterion.pyi b/google-stubs/ads/googleads/v15/resources/types/ad_group_criterion.pyi index 0a3f728ef..f27f65c3d 100644 --- a/google-stubs/ads/googleads/v15/resources/types/ad_group_criterion.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/ad_group_criterion.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.criteria import ( @@ -44,6 +45,8 @@ from google.ads.googleads.v15.enums.types.quality_score_bucket import ( QualityScoreBucketEnum, ) +_M = TypeVar("_M") + class AdGroupCriterion(proto.Message): class PositionEstimates(proto.Message): first_page_cpc_micros: int @@ -52,8 +55,8 @@ class AdGroupCriterion(proto.Message): estimated_add_clicks_at_first_position_cpc: int estimated_add_cost_at_first_position_cpc: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., first_page_cpc_micros: int = ..., @@ -69,8 +72,8 @@ class AdGroupCriterion(proto.Message): post_click_quality_score: QualityScoreBucketEnum.QualityScoreBucket search_predicted_ctr: QualityScoreBucketEnum.QualityScoreBucket def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., quality_score: int = ..., @@ -133,8 +136,8 @@ class AdGroupCriterion(proto.Message): location: LocationInfo language: LanguageInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/ad_group_criterion_customizer.pyi b/google-stubs/ads/googleads/v15/resources/types/ad_group_criterion_customizer.pyi index 4f61395d1..95e0c8342 100644 --- a/google-stubs/ads/googleads/v15/resources/types/ad_group_criterion_customizer.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/ad_group_criterion_customizer.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.customizer_value import CustomizerValue @@ -7,6 +9,8 @@ from google.ads.googleads.v15.enums.types.customizer_value_status import ( CustomizerValueStatusEnum, ) +_M = TypeVar("_M") + class AdGroupCriterionCustomizer(proto.Message): resource_name: str ad_group_criterion: str @@ -14,8 +18,8 @@ class AdGroupCriterionCustomizer(proto.Message): status: CustomizerValueStatusEnum.CustomizerValueStatus value: CustomizerValue def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/ad_group_criterion_label.pyi b/google-stubs/ads/googleads/v15/resources/types/ad_group_criterion_label.pyi index 94a5cf50b..5a131423d 100644 --- a/google-stubs/ads/googleads/v15/resources/types/ad_group_criterion_label.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/ad_group_criterion_label.pyi @@ -1,14 +1,18 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupCriterionLabel(proto.Message): resource_name: str ad_group_criterion: str label: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/ad_group_criterion_simulation.pyi b/google-stubs/ads/googleads/v15/resources/types/ad_group_criterion_simulation.pyi index 5c4d02514..a6b9512a6 100644 --- a/google-stubs/ads/googleads/v15/resources/types/ad_group_criterion_simulation.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/ad_group_criterion_simulation.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.simulation import ( @@ -11,6 +13,8 @@ from google.ads.googleads.v15.enums.types.simulation_modification_method import ) from google.ads.googleads.v15.enums.types.simulation_type import SimulationTypeEnum +_M = TypeVar("_M") + class AdGroupCriterionSimulation(proto.Message): resource_name: str ad_group_id: int @@ -22,8 +26,8 @@ class AdGroupCriterionSimulation(proto.Message): cpc_bid_point_list: CpcBidSimulationPointList percent_cpc_bid_point_list: PercentCpcBidSimulationPointList def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/ad_group_customizer.pyi b/google-stubs/ads/googleads/v15/resources/types/ad_group_customizer.pyi index 6fec19a1c..1d0b24bc6 100644 --- a/google-stubs/ads/googleads/v15/resources/types/ad_group_customizer.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/ad_group_customizer.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.customizer_value import CustomizerValue @@ -7,6 +9,8 @@ from google.ads.googleads.v15.enums.types.customizer_value_status import ( CustomizerValueStatusEnum, ) +_M = TypeVar("_M") + class AdGroupCustomizer(proto.Message): resource_name: str ad_group: str @@ -14,8 +18,8 @@ class AdGroupCustomizer(proto.Message): status: CustomizerValueStatusEnum.CustomizerValueStatus value: CustomizerValue def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/ad_group_extension_setting.pyi b/google-stubs/ads/googleads/v15/resources/types/ad_group_extension_setting.pyi index c8072c4f9..7116e0f09 100644 --- a/google-stubs/ads/googleads/v15/resources/types/ad_group_extension_setting.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/ad_group_extension_setting.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.extension_setting_device import ( @@ -8,6 +9,8 @@ from google.ads.googleads.v15.enums.types.extension_setting_device import ( ) from google.ads.googleads.v15.enums.types.extension_type import ExtensionTypeEnum +_M = TypeVar("_M") + class AdGroupExtensionSetting(proto.Message): resource_name: str extension_type: ExtensionTypeEnum.ExtensionType @@ -15,8 +18,8 @@ class AdGroupExtensionSetting(proto.Message): extension_feed_items: MutableSequence[str] device: ExtensionSettingDeviceEnum.ExtensionSettingDevice def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/ad_group_feed.pyi b/google-stubs/ads/googleads/v15/resources/types/ad_group_feed.pyi index 6f36f0c49..cf4b51f87 100644 --- a/google-stubs/ads/googleads/v15/resources/types/ad_group_feed.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/ad_group_feed.pyi @@ -1,12 +1,15 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.matching_function import MatchingFunction from google.ads.googleads.v15.enums.types.feed_link_status import FeedLinkStatusEnum from google.ads.googleads.v15.enums.types.placeholder_type import PlaceholderTypeEnum +_M = TypeVar("_M") + class AdGroupFeed(proto.Message): resource_name: str feed: str @@ -15,8 +18,8 @@ class AdGroupFeed(proto.Message): matching_function: MatchingFunction status: FeedLinkStatusEnum.FeedLinkStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/ad_group_label.pyi b/google-stubs/ads/googleads/v15/resources/types/ad_group_label.pyi index 8251db0a9..11c2ab2bf 100644 --- a/google-stubs/ads/googleads/v15/resources/types/ad_group_label.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/ad_group_label.pyi @@ -1,14 +1,18 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdGroupLabel(proto.Message): resource_name: str ad_group: str label: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/ad_group_simulation.pyi b/google-stubs/ads/googleads/v15/resources/types/ad_group_simulation.pyi index a5f031070..81af2c1d6 100644 --- a/google-stubs/ads/googleads/v15/resources/types/ad_group_simulation.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/ad_group_simulation.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.simulation import ( @@ -13,6 +15,8 @@ from google.ads.googleads.v15.enums.types.simulation_modification_method import ) from google.ads.googleads.v15.enums.types.simulation_type import SimulationTypeEnum +_M = TypeVar("_M") + class AdGroupSimulation(proto.Message): resource_name: str ad_group_id: int @@ -25,8 +29,8 @@ class AdGroupSimulation(proto.Message): target_cpa_point_list: TargetCpaSimulationPointList target_roas_point_list: TargetRoasSimulationPointList def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/ad_parameter.pyi b/google-stubs/ads/googleads/v15/resources/types/ad_parameter.pyi index 2c60207d0..637f1bed9 100644 --- a/google-stubs/ads/googleads/v15/resources/types/ad_parameter.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/ad_parameter.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdParameter(proto.Message): resource_name: str ad_group_criterion: str parameter_index: int insertion_text: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/ad_schedule_view.pyi b/google-stubs/ads/googleads/v15/resources/types/ad_schedule_view.pyi index 2ec05d006..62864cf5a 100644 --- a/google-stubs/ads/googleads/v15/resources/types/ad_schedule_view.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/ad_schedule_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AdScheduleView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v15/resources/types/age_range_view.pyi b/google-stubs/ads/googleads/v15/resources/types/age_range_view.pyi index 91060cdf8..a3a6e669f 100644 --- a/google-stubs/ads/googleads/v15/resources/types/age_range_view.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/age_range_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AgeRangeView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v15/resources/types/android_privacy_shared_key_google_ad_group.pyi b/google-stubs/ads/googleads/v15/resources/types/android_privacy_shared_key_google_ad_group.pyi index c9b196b39..5a3e53d44 100644 --- a/google-stubs/ads/googleads/v15/resources/types/android_privacy_shared_key_google_ad_group.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/android_privacy_shared_key_google_ad_group.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.android_privacy_interaction_type import ( @@ -9,6 +11,8 @@ from google.ads.googleads.v15.enums.types.android_privacy_network_type import ( AndroidPrivacyNetworkTypeEnum, ) +_M = TypeVar("_M") + class AndroidPrivacySharedKeyGoogleAdGroup(proto.Message): resource_name: str campaign_id: int @@ -18,8 +22,8 @@ class AndroidPrivacySharedKeyGoogleAdGroup(proto.Message): ad_group_id: int shared_ad_group_key: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/android_privacy_shared_key_google_campaign.pyi b/google-stubs/ads/googleads/v15/resources/types/android_privacy_shared_key_google_campaign.pyi index f95f730ce..8f9e76d2b 100644 --- a/google-stubs/ads/googleads/v15/resources/types/android_privacy_shared_key_google_campaign.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/android_privacy_shared_key_google_campaign.pyi @@ -1,11 +1,15 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.android_privacy_interaction_type import ( AndroidPrivacyInteractionTypeEnum, ) +_M = TypeVar("_M") + class AndroidPrivacySharedKeyGoogleCampaign(proto.Message): resource_name: str campaign_id: int @@ -13,8 +17,8 @@ class AndroidPrivacySharedKeyGoogleCampaign(proto.Message): android_privacy_interaction_date: str shared_campaign_key: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/android_privacy_shared_key_google_network_type.pyi b/google-stubs/ads/googleads/v15/resources/types/android_privacy_shared_key_google_network_type.pyi index fa68a14d8..5afbc4318 100644 --- a/google-stubs/ads/googleads/v15/resources/types/android_privacy_shared_key_google_network_type.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/android_privacy_shared_key_google_network_type.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.android_privacy_interaction_type import ( @@ -9,6 +11,8 @@ from google.ads.googleads.v15.enums.types.android_privacy_network_type import ( AndroidPrivacyNetworkTypeEnum, ) +_M = TypeVar("_M") + class AndroidPrivacySharedKeyGoogleNetworkType(proto.Message): resource_name: str campaign_id: int @@ -17,8 +21,8 @@ class AndroidPrivacySharedKeyGoogleNetworkType(proto.Message): android_privacy_network_type: AndroidPrivacyNetworkTypeEnum.AndroidPrivacyNetworkType shared_network_type_key: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/asset.pyi b/google-stubs/ads/googleads/v15/resources/types/asset.pyi index 78edab00b..58448674c 100644 --- a/google-stubs/ads/googleads/v15/resources/types/asset.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/asset.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.asset_types import ( @@ -44,6 +45,8 @@ from google.ads.googleads.v15.enums.types.policy_review_status import ( PolicyReviewStatusEnum, ) +_M = TypeVar("_M") + class Asset(proto.Message): resource_name: str id: int @@ -85,8 +88,8 @@ class Asset(proto.Message): location_asset: LocationAsset hotel_property_asset: HotelPropertyAsset def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -135,8 +138,8 @@ class AssetFieldTypePolicySummary(proto.Message): asset_source: AssetSourceEnum.AssetSource policy_summary_info: AssetPolicySummary def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., asset_field_type: AssetFieldTypeEnum.AssetFieldType = ..., @@ -149,8 +152,8 @@ class AssetPolicySummary(proto.Message): review_status: PolicyReviewStatusEnum.PolicyReviewStatus approval_status: PolicyApprovalStatusEnum.PolicyApprovalStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., policy_topic_entries: MutableSequence[PolicyTopicEntry] = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/asset_field_type_view.pyi b/google-stubs/ads/googleads/v15/resources/types/asset_field_type_view.pyi index 66d342bf5..58a404bab 100644 --- a/google-stubs/ads/googleads/v15/resources/types/asset_field_type_view.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/asset_field_type_view.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.asset_field_type import AssetFieldTypeEnum +_M = TypeVar("_M") + class AssetFieldTypeView(proto.Message): resource_name: str field_type: AssetFieldTypeEnum.AssetFieldType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/asset_group.pyi b/google-stubs/ads/googleads/v15/resources/types/asset_group.pyi index b60330a3a..c05421acb 100644 --- a/google-stubs/ads/googleads/v15/resources/types/asset_group.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/asset_group.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.ad_strength import AdStrengthEnum @@ -12,6 +13,8 @@ from google.ads.googleads.v15.enums.types.asset_group_primary_status_reason impo ) from google.ads.googleads.v15.enums.types.asset_group_status import AssetGroupStatusEnum +_M = TypeVar("_M") + class AssetGroup(proto.Message): resource_name: str id: int @@ -28,8 +31,8 @@ class AssetGroup(proto.Message): path2: str ad_strength: AdStrengthEnum.AdStrength def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/asset_group_asset.pyi b/google-stubs/ads/googleads/v15/resources/types/asset_group_asset.pyi index c06de1065..c725595fb 100644 --- a/google-stubs/ads/googleads/v15/resources/types/asset_group_asset.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/asset_group_asset.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.asset_policy import ( @@ -20,6 +21,8 @@ from google.ads.googleads.v15.enums.types.asset_performance_label import ( ) from google.ads.googleads.v15.enums.types.asset_source import AssetSourceEnum +_M = TypeVar("_M") + class AssetGroupAsset(proto.Message): resource_name: str asset_group: str @@ -35,8 +38,8 @@ class AssetGroupAsset(proto.Message): policy_summary: PolicySummary source: AssetSourceEnum.AssetSource def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/asset_group_listing_group_filter.pyi b/google-stubs/ads/googleads/v15/resources/types/asset_group_listing_group_filter.pyi index cd5f9c42a..21a753d0b 100644 --- a/google-stubs/ads/googleads/v15/resources/types/asset_group_listing_group_filter.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/asset_group_listing_group_filter.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.listing_group_filter_custom_attribute_index import ( @@ -25,6 +26,8 @@ from google.ads.googleads.v15.enums.types.listing_group_filter_type_enum import ListingGroupFilterTypeEnum, ) +_M = TypeVar("_M") + class AssetGroupListingGroupFilter(proto.Message): resource_name: str asset_group: str @@ -35,8 +38,8 @@ class AssetGroupListingGroupFilter(proto.Message): parent_listing_group_filter: str path: ListingGroupFilterDimensionPath def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -53,8 +56,8 @@ class ListingGroupFilterDimension(proto.Message): class ProductBrand(proto.Message): value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: str = ... @@ -64,8 +67,8 @@ class ListingGroupFilterDimension(proto.Message): category_id: int level: ListingGroupFilterProductCategoryLevelEnum.ListingGroupFilterProductCategoryLevel def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., category_id: int = ..., @@ -75,8 +78,8 @@ class ListingGroupFilterDimension(proto.Message): class ProductChannel(proto.Message): channel: ListingGroupFilterProductChannelEnum.ListingGroupFilterProductChannel def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., channel: ListingGroupFilterProductChannelEnum.ListingGroupFilterProductChannel = ... @@ -85,8 +88,8 @@ class ListingGroupFilterDimension(proto.Message): class ProductCondition(proto.Message): condition: ListingGroupFilterProductConditionEnum.ListingGroupFilterProductCondition def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., condition: ListingGroupFilterProductConditionEnum.ListingGroupFilterProductCondition = ... @@ -96,8 +99,8 @@ class ListingGroupFilterDimension(proto.Message): value: str index: ListingGroupFilterCustomAttributeIndexEnum.ListingGroupFilterCustomAttributeIndex def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: str = ..., @@ -107,8 +110,8 @@ class ListingGroupFilterDimension(proto.Message): class ProductItemId(proto.Message): value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: str = ... @@ -118,8 +121,8 @@ class ListingGroupFilterDimension(proto.Message): value: str level: ListingGroupFilterProductTypeLevelEnum.ListingGroupFilterProductTypeLevel def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., value: str = ..., @@ -129,8 +132,8 @@ class ListingGroupFilterDimension(proto.Message): class Webpage(proto.Message): conditions: MutableSequence[ListingGroupFilterDimension.WebpageCondition] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., conditions: MutableSequence[ @@ -142,8 +145,8 @@ class ListingGroupFilterDimension(proto.Message): custom_label: str url_contains: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., custom_label: str = ..., @@ -158,8 +161,8 @@ class ListingGroupFilterDimension(proto.Message): product_type: ListingGroupFilterDimension.ProductType webpage: ListingGroupFilterDimension.Webpage def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., product_category: ListingGroupFilterDimension.ProductCategory = ..., @@ -175,8 +178,8 @@ class ListingGroupFilterDimension(proto.Message): class ListingGroupFilterDimensionPath(proto.Message): dimensions: MutableSequence[ListingGroupFilterDimension] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., dimensions: MutableSequence[ListingGroupFilterDimension] = ... diff --git a/google-stubs/ads/googleads/v15/resources/types/asset_group_product_group_view.pyi b/google-stubs/ads/googleads/v15/resources/types/asset_group_product_group_view.pyi index f3214ec6f..160f1c8fc 100644 --- a/google-stubs/ads/googleads/v15/resources/types/asset_group_product_group_view.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/asset_group_product_group_view.pyi @@ -1,14 +1,18 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class AssetGroupProductGroupView(proto.Message): resource_name: str asset_group: str asset_group_listing_group_filter: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/asset_group_signal.pyi b/google-stubs/ads/googleads/v15/resources/types/asset_group_signal.pyi index dec0437c1..570c60e4b 100644 --- a/google-stubs/ads/googleads/v15/resources/types/asset_group_signal.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/asset_group_signal.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.criteria import AudienceInfo, SearchThemeInfo @@ -8,6 +9,8 @@ from google.ads.googleads.v15.enums.types.asset_group_signal_approval_status imp AssetGroupSignalApprovalStatusEnum, ) +_M = TypeVar("_M") + class AssetGroupSignal(proto.Message): resource_name: str asset_group: str @@ -16,8 +19,8 @@ class AssetGroupSignal(proto.Message): audience: AudienceInfo search_theme: SearchThemeInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/asset_group_top_combination_view.pyi b/google-stubs/ads/googleads/v15/resources/types/asset_group_top_combination_view.pyi index ef0dd5d6c..9d22724e3 100644 --- a/google-stubs/ads/googleads/v15/resources/types/asset_group_top_combination_view.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/asset_group_top_combination_view.pyi @@ -1,15 +1,18 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.asset_usage import AssetUsage +_M = TypeVar("_M") + class AssetGroupAssetCombinationData(proto.Message): asset_combination_served_assets: MutableSequence[AssetUsage] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., asset_combination_served_assets: MutableSequence[AssetUsage] = ... @@ -19,8 +22,8 @@ class AssetGroupTopCombinationView(proto.Message): resource_name: str asset_group_top_combinations: MutableSequence[AssetGroupAssetCombinationData] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/asset_set.pyi b/google-stubs/ads/googleads/v15/resources/types/asset_set.pyi index 2b361b961..2909a9e8c 100644 --- a/google-stubs/ads/googleads/v15/resources/types/asset_set.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/asset_set.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.asset_set_types import ( @@ -10,13 +12,15 @@ from google.ads.googleads.v15.common.types.asset_set_types import ( from google.ads.googleads.v15.enums.types.asset_set_status import AssetSetStatusEnum from google.ads.googleads.v15.enums.types.asset_set_type import AssetSetTypeEnum +_M = TypeVar("_M") + class AssetSet(proto.Message): class HotelPropertyData(proto.Message): hotel_center_id: int partner_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., hotel_center_id: int = ..., @@ -27,8 +31,8 @@ class AssetSet(proto.Message): merchant_id: int feed_label: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., merchant_id: int = ..., @@ -46,8 +50,8 @@ class AssetSet(proto.Message): business_profile_location_group: BusinessProfileLocationGroup chain_location_group: ChainLocationGroup def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., id: int = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/asset_set_asset.pyi b/google-stubs/ads/googleads/v15/resources/types/asset_set_asset.pyi index 5b4a9fe1d..af18d173b 100644 --- a/google-stubs/ads/googleads/v15/resources/types/asset_set_asset.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/asset_set_asset.pyi @@ -1,19 +1,23 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.asset_set_asset_status import ( AssetSetAssetStatusEnum, ) +_M = TypeVar("_M") + class AssetSetAsset(proto.Message): resource_name: str asset_set: str asset: str status: AssetSetAssetStatusEnum.AssetSetAssetStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/asset_set_type_view.pyi b/google-stubs/ads/googleads/v15/resources/types/asset_set_type_view.pyi index 348726ca1..ba876a035 100644 --- a/google-stubs/ads/googleads/v15/resources/types/asset_set_type_view.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/asset_set_type_view.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.asset_set_type import AssetSetTypeEnum +_M = TypeVar("_M") + class AssetSetTypeView(proto.Message): resource_name: str asset_set_type: AssetSetTypeEnum.AssetSetType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/audience.pyi b/google-stubs/ads/googleads/v15/resources/types/audience.pyi index 961229882..935368fec 100644 --- a/google-stubs/ads/googleads/v15/resources/types/audience.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/audience.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.audiences import ( @@ -10,6 +11,8 @@ from google.ads.googleads.v15.common.types.audiences import ( from google.ads.googleads.v15.enums.types.audience_scope import AudienceScopeEnum from google.ads.googleads.v15.enums.types.audience_status import AudienceStatusEnum +_M = TypeVar("_M") + class Audience(proto.Message): resource_name: str id: int @@ -21,8 +24,8 @@ class Audience(proto.Message): scope: AudienceScopeEnum.AudienceScope asset_group: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/batch_job.pyi b/google-stubs/ads/googleads/v15/resources/types/batch_job.pyi index bd9b62c4e..ae803fdb6 100644 --- a/google-stubs/ads/googleads/v15/resources/types/batch_job.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/batch_job.pyi @@ -1,9 +1,13 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.batch_job_status import BatchJobStatusEnum +_M = TypeVar("_M") + class BatchJob(proto.Message): class BatchJobMetadata(proto.Message): creation_date_time: str @@ -14,8 +18,8 @@ class BatchJob(proto.Message): executed_operation_count: int execution_limit_seconds: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., creation_date_time: str = ..., @@ -33,8 +37,8 @@ class BatchJob(proto.Message): status: BatchJobStatusEnum.BatchJobStatus long_running_operation: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/bidding_data_exclusion.pyi b/google-stubs/ads/googleads/v15/resources/types/bidding_data_exclusion.pyi index a2975dbb1..142da7296 100644 --- a/google-stubs/ads/googleads/v15/resources/types/bidding_data_exclusion.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/bidding_data_exclusion.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.advertising_channel_type import ( @@ -14,6 +15,8 @@ from google.ads.googleads.v15.enums.types.seasonality_event_status import ( SeasonalityEventStatusEnum, ) +_M = TypeVar("_M") + class BiddingDataExclusion(proto.Message): resource_name: str data_exclusion_id: int @@ -29,8 +32,8 @@ class BiddingDataExclusion(proto.Message): AdvertisingChannelTypeEnum.AdvertisingChannelType ] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/bidding_seasonality_adjustment.pyi b/google-stubs/ads/googleads/v15/resources/types/bidding_seasonality_adjustment.pyi index d67c2fca3..0a55f66c5 100644 --- a/google-stubs/ads/googleads/v15/resources/types/bidding_seasonality_adjustment.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/bidding_seasonality_adjustment.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.advertising_channel_type import ( @@ -14,6 +15,8 @@ from google.ads.googleads.v15.enums.types.seasonality_event_status import ( SeasonalityEventStatusEnum, ) +_M = TypeVar("_M") + class BiddingSeasonalityAdjustment(proto.Message): resource_name: str seasonality_adjustment_id: int @@ -30,8 +33,8 @@ class BiddingSeasonalityAdjustment(proto.Message): AdvertisingChannelTypeEnum.AdvertisingChannelType ] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/bidding_strategy.pyi b/google-stubs/ads/googleads/v15/resources/types/bidding_strategy.pyi index 730c602ce..00c4e8023 100644 --- a/google-stubs/ads/googleads/v15/resources/types/bidding_strategy.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/bidding_strategy.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.bidding import ( @@ -18,6 +20,8 @@ from google.ads.googleads.v15.enums.types.bidding_strategy_type import ( BiddingStrategyTypeEnum, ) +_M = TypeVar("_M") + class BiddingStrategy(proto.Message): resource_name: str id: int @@ -37,8 +41,8 @@ class BiddingStrategy(proto.Message): target_roas: TargetRoas target_spend: TargetSpend def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/bidding_strategy_simulation.pyi b/google-stubs/ads/googleads/v15/resources/types/bidding_strategy_simulation.pyi index d172396ad..41e0939ef 100644 --- a/google-stubs/ads/googleads/v15/resources/types/bidding_strategy_simulation.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/bidding_strategy_simulation.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.simulation import ( @@ -11,6 +13,8 @@ from google.ads.googleads.v15.enums.types.simulation_modification_method import ) from google.ads.googleads.v15.enums.types.simulation_type import SimulationTypeEnum +_M = TypeVar("_M") + class BiddingStrategySimulation(proto.Message): resource_name: str bidding_strategy_id: int @@ -21,8 +25,8 @@ class BiddingStrategySimulation(proto.Message): target_cpa_point_list: TargetCpaSimulationPointList target_roas_point_list: TargetRoasSimulationPointList def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/billing_setup.pyi b/google-stubs/ads/googleads/v15/resources/types/billing_setup.pyi index 855835ec0..8949175bc 100644 --- a/google-stubs/ads/googleads/v15/resources/types/billing_setup.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/billing_setup.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.billing_setup_status import ( @@ -7,6 +9,8 @@ from google.ads.googleads.v15.enums.types.billing_setup_status import ( ) from google.ads.googleads.v15.enums.types.time_type import TimeTypeEnum +_M = TypeVar("_M") + class BillingSetup(proto.Message): class PaymentsAccountInfo(proto.Message): payments_account_id: str @@ -15,8 +19,8 @@ class BillingSetup(proto.Message): payments_profile_name: str secondary_payments_profile_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., payments_account_id: str = ..., @@ -35,8 +39,8 @@ class BillingSetup(proto.Message): end_date_time: str end_time_type: TimeTypeEnum.TimeType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/call_view.pyi b/google-stubs/ads/googleads/v15/resources/types/call_view.pyi index 80a04b91a..be76f127c 100644 --- a/google-stubs/ads/googleads/v15/resources/types/call_view.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/call_view.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.call_tracking_display_location import ( @@ -10,6 +12,8 @@ from google.ads.googleads.v15.enums.types.google_voice_call_status import ( GoogleVoiceCallStatusEnum, ) +_M = TypeVar("_M") + class CallView(proto.Message): resource_name: str caller_country_code: str @@ -21,8 +25,8 @@ class CallView(proto.Message): type_: CallTypeEnum.CallType call_status: GoogleVoiceCallStatusEnum.GoogleVoiceCallStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/campaign.pyi b/google-stubs/ads/googleads/v15/resources/types/campaign.pyi index 55f943f06..e80e12e64 100644 --- a/google-stubs/ads/googleads/v15/resources/types/campaign.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/campaign.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.bidding import ( @@ -91,14 +92,16 @@ from google.ads.googleads.v15.enums.types.vanity_pharma_display_url_mode import ) from google.ads.googleads.v15.enums.types.vanity_pharma_text import VanityPharmaTextEnum +_M = TypeVar("_M") + class Campaign(proto.Message): class AppCampaignSetting(proto.Message): bidding_strategy_goal_type: AppCampaignBiddingStrategyGoalTypeEnum.AppCampaignBiddingStrategyGoalType app_id: str app_store: AppCampaignAppStoreEnum.AppCampaignAppStore def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., bidding_strategy_goal_type: AppCampaignBiddingStrategyGoalTypeEnum.AppCampaignBiddingStrategyGoalType = ..., @@ -110,8 +113,8 @@ class Campaign(proto.Message): asset_automation_type: AssetAutomationTypeEnum.AssetAutomationType asset_automation_status: AssetAutomationStatusEnum.AssetAutomationStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., asset_automation_type: AssetAutomationTypeEnum.AssetAutomationType = ..., @@ -121,8 +124,8 @@ class Campaign(proto.Message): class AudienceSetting(proto.Message): use_audience_grouped: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., use_audience_grouped: bool = ... @@ -132,8 +135,8 @@ class Campaign(proto.Message): category_id: str manual_cpa_bid_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., category_id: str = ..., @@ -143,8 +146,8 @@ class Campaign(proto.Message): class DiscoveryCampaignSettings(proto.Message): upgraded_targeting: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., upgraded_targeting: bool = ... @@ -156,8 +159,8 @@ class Campaign(proto.Message): use_supplied_urls_only: bool feeds: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., domain_name: str = ..., @@ -170,8 +173,8 @@ class Campaign(proto.Message): positive_geo_target_type: PositiveGeoTargetTypeEnum.PositiveGeoTargetType negative_geo_target_type: NegativeGeoTargetTypeEnum.NegativeGeoTargetType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., positive_geo_target_type: PositiveGeoTargetTypeEnum.PositiveGeoTargetType = ..., @@ -181,8 +184,8 @@ class Campaign(proto.Message): class HotelSettingInfo(proto.Message): hotel_center_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., hotel_center_id: int = ... @@ -191,8 +194,8 @@ class Campaign(proto.Message): class LocalCampaignSetting(proto.Message): location_source_type: LocationSourceTypeEnum.LocationSourceType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., location_source_type: LocationSourceTypeEnum.LocationSourceType = ... @@ -201,8 +204,8 @@ class Campaign(proto.Message): class LocalServicesCampaignSettings(proto.Message): category_bids: MutableSequence[Campaign.CategoryBid] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., category_bids: MutableSequence[Campaign.CategoryBid] = ... @@ -216,8 +219,8 @@ class Campaign(proto.Message): target_youtube: bool target_google_tv_network: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_google_search: bool = ..., @@ -233,8 +236,8 @@ class Campaign(proto.Message): OptimizationGoalTypeEnum.OptimizationGoalType ] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., optimization_goal_types: MutableSequence[ @@ -247,8 +250,8 @@ class Campaign(proto.Message): pre_upgrade_campaign: str status: PerformanceMaxUpgradeStatusEnum.PerformanceMaxUpgradeStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., performance_max_campaign: str = ..., @@ -259,8 +262,8 @@ class Campaign(proto.Message): class SelectiveOptimization(proto.Message): conversion_actions: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., conversion_actions: MutableSequence[str] = ... @@ -274,8 +277,8 @@ class Campaign(proto.Message): use_vehicle_inventory: bool advertising_partner_ids: MutableSequence[int] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., merchant_id: int = ..., @@ -289,8 +292,8 @@ class Campaign(proto.Message): class TrackingSetting(proto.Message): tracking_url: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., tracking_url: str = ... @@ -299,8 +302,8 @@ class Campaign(proto.Message): class TravelCampaignSettings(proto.Message): travel_account_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., travel_account_id: int = ... @@ -310,8 +313,8 @@ class Campaign(proto.Message): vanity_pharma_display_url_mode: VanityPharmaDisplayUrlModeEnum.VanityPharmaDisplayUrlMode vanity_pharma_text: VanityPharmaTextEnum.VanityPharmaText def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., vanity_pharma_display_url_mode: VanityPharmaDisplayUrlModeEnum.VanityPharmaDisplayUrlMode = ..., @@ -387,8 +390,8 @@ class Campaign(proto.Message): percent_cpc: PercentCpc target_cpm: TargetCpm def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/campaign_asset.pyi b/google-stubs/ads/googleads/v15/resources/types/campaign_asset.pyi index 022eaeb35..516a00016 100644 --- a/google-stubs/ads/googleads/v15/resources/types/campaign_asset.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/campaign_asset.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.asset_policy import ( @@ -16,6 +17,8 @@ from google.ads.googleads.v15.enums.types.asset_link_primary_status_reason impor from google.ads.googleads.v15.enums.types.asset_link_status import AssetLinkStatusEnum from google.ads.googleads.v15.enums.types.asset_source import AssetSourceEnum +_M = TypeVar("_M") + class CampaignAsset(proto.Message): resource_name: str campaign: str @@ -29,8 +32,8 @@ class CampaignAsset(proto.Message): AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason ] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/campaign_asset_set.pyi b/google-stubs/ads/googleads/v15/resources/types/campaign_asset_set.pyi index d6f7069f0..5e02dac22 100644 --- a/google-stubs/ads/googleads/v15/resources/types/campaign_asset_set.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/campaign_asset_set.pyi @@ -1,19 +1,23 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.asset_set_link_status import ( AssetSetLinkStatusEnum, ) +_M = TypeVar("_M") + class CampaignAssetSet(proto.Message): resource_name: str campaign: str asset_set: str status: AssetSetLinkStatusEnum.AssetSetLinkStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/campaign_audience_view.pyi b/google-stubs/ads/googleads/v15/resources/types/campaign_audience_view.pyi index 46c78802a..f646c4a70 100644 --- a/google-stubs/ads/googleads/v15/resources/types/campaign_audience_view.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/campaign_audience_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignAudienceView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v15/resources/types/campaign_bid_modifier.pyi b/google-stubs/ads/googleads/v15/resources/types/campaign_bid_modifier.pyi index 3bb0ad90c..8f7ba3bd8 100644 --- a/google-stubs/ads/googleads/v15/resources/types/campaign_bid_modifier.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/campaign_bid_modifier.pyi @@ -1,9 +1,13 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.criteria import InteractionTypeInfo +_M = TypeVar("_M") + class CampaignBidModifier(proto.Message): resource_name: str campaign: str @@ -11,8 +15,8 @@ class CampaignBidModifier(proto.Message): bid_modifier: float interaction_type: InteractionTypeInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/campaign_budget.pyi b/google-stubs/ads/googleads/v15/resources/types/campaign_budget.pyi index 1302239fe..a1c086d44 100644 --- a/google-stubs/ads/googleads/v15/resources/types/campaign_budget.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/campaign_budget.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.budget_delivery_method import ( @@ -9,6 +11,8 @@ from google.ads.googleads.v15.enums.types.budget_period import BudgetPeriodEnum from google.ads.googleads.v15.enums.types.budget_status import BudgetStatusEnum from google.ads.googleads.v15.enums.types.budget_type import BudgetTypeEnum +_M = TypeVar("_M") + class CampaignBudget(proto.Message): resource_name: str id: int @@ -29,8 +33,8 @@ class CampaignBudget(proto.Message): type_: BudgetTypeEnum.BudgetType aligned_bidding_strategy_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/campaign_conversion_goal.pyi b/google-stubs/ads/googleads/v15/resources/types/campaign_conversion_goal.pyi index f99361a20..753aa1e4d 100644 --- a/google-stubs/ads/googleads/v15/resources/types/campaign_conversion_goal.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/campaign_conversion_goal.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.conversion_action_category import ( @@ -7,6 +9,8 @@ from google.ads.googleads.v15.enums.types.conversion_action_category import ( ) from google.ads.googleads.v15.enums.types.conversion_origin import ConversionOriginEnum +_M = TypeVar("_M") + class CampaignConversionGoal(proto.Message): resource_name: str campaign: str @@ -14,8 +18,8 @@ class CampaignConversionGoal(proto.Message): origin: ConversionOriginEnum.ConversionOrigin biddable: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/campaign_criterion.pyi b/google-stubs/ads/googleads/v15/resources/types/campaign_criterion.pyi index 470f7c742..0705d6179 100644 --- a/google-stubs/ads/googleads/v15/resources/types/campaign_criterion.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/campaign_criterion.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.criteria import ( @@ -41,6 +43,8 @@ from google.ads.googleads.v15.enums.types.campaign_criterion_status import ( ) from google.ads.googleads.v15.enums.types.criterion_type import CriterionTypeEnum +_M = TypeVar("_M") + class CampaignCriterion(proto.Message): resource_name: str campaign: str @@ -83,8 +87,8 @@ class CampaignCriterion(proto.Message): local_service_id: LocalServiceIdInfo brand_list: BrandListInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/campaign_customizer.pyi b/google-stubs/ads/googleads/v15/resources/types/campaign_customizer.pyi index 4f78f8d92..43430a949 100644 --- a/google-stubs/ads/googleads/v15/resources/types/campaign_customizer.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/campaign_customizer.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.customizer_value import CustomizerValue @@ -7,6 +9,8 @@ from google.ads.googleads.v15.enums.types.customizer_value_status import ( CustomizerValueStatusEnum, ) +_M = TypeVar("_M") + class CampaignCustomizer(proto.Message): resource_name: str campaign: str @@ -14,8 +18,8 @@ class CampaignCustomizer(proto.Message): status: CustomizerValueStatusEnum.CustomizerValueStatus value: CustomizerValue def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/campaign_draft.pyi b/google-stubs/ads/googleads/v15/resources/types/campaign_draft.pyi index 7d56e7d69..bf7967f56 100644 --- a/google-stubs/ads/googleads/v15/resources/types/campaign_draft.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/campaign_draft.pyi @@ -1,11 +1,15 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.campaign_draft_status import ( CampaignDraftStatusEnum, ) +_M = TypeVar("_M") + class CampaignDraft(proto.Message): resource_name: str draft_id: int @@ -16,8 +20,8 @@ class CampaignDraft(proto.Message): has_experiment_running: bool long_running_operation: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/campaign_extension_setting.pyi b/google-stubs/ads/googleads/v15/resources/types/campaign_extension_setting.pyi index 83b27bb43..48403fd84 100644 --- a/google-stubs/ads/googleads/v15/resources/types/campaign_extension_setting.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/campaign_extension_setting.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.extension_setting_device import ( @@ -8,6 +9,8 @@ from google.ads.googleads.v15.enums.types.extension_setting_device import ( ) from google.ads.googleads.v15.enums.types.extension_type import ExtensionTypeEnum +_M = TypeVar("_M") + class CampaignExtensionSetting(proto.Message): resource_name: str extension_type: ExtensionTypeEnum.ExtensionType @@ -15,8 +18,8 @@ class CampaignExtensionSetting(proto.Message): extension_feed_items: MutableSequence[str] device: ExtensionSettingDeviceEnum.ExtensionSettingDevice def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/campaign_feed.pyi b/google-stubs/ads/googleads/v15/resources/types/campaign_feed.pyi index 08269980f..e05cbca9a 100644 --- a/google-stubs/ads/googleads/v15/resources/types/campaign_feed.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/campaign_feed.pyi @@ -1,12 +1,15 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.matching_function import MatchingFunction from google.ads.googleads.v15.enums.types.feed_link_status import FeedLinkStatusEnum from google.ads.googleads.v15.enums.types.placeholder_type import PlaceholderTypeEnum +_M = TypeVar("_M") + class CampaignFeed(proto.Message): resource_name: str feed: str @@ -15,8 +18,8 @@ class CampaignFeed(proto.Message): matching_function: MatchingFunction status: FeedLinkStatusEnum.FeedLinkStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/campaign_group.pyi b/google-stubs/ads/googleads/v15/resources/types/campaign_group.pyi index c00599bcb..8b04e5042 100644 --- a/google-stubs/ads/googleads/v15/resources/types/campaign_group.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/campaign_group.pyi @@ -1,19 +1,23 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.campaign_group_status import ( CampaignGroupStatusEnum, ) +_M = TypeVar("_M") + class CampaignGroup(proto.Message): resource_name: str id: int name: str status: CampaignGroupStatusEnum.CampaignGroupStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/campaign_label.pyi b/google-stubs/ads/googleads/v15/resources/types/campaign_label.pyi index 947a41a57..97a4dd365 100644 --- a/google-stubs/ads/googleads/v15/resources/types/campaign_label.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/campaign_label.pyi @@ -1,14 +1,18 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignLabel(proto.Message): resource_name: str campaign: str label: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/campaign_lifecycle_goal.pyi b/google-stubs/ads/googleads/v15/resources/types/campaign_lifecycle_goal.pyi index 31e4522bc..926e2a174 100644 --- a/google-stubs/ads/googleads/v15/resources/types/campaign_lifecycle_goal.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/campaign_lifecycle_goal.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.lifecycle_goals import ( @@ -9,13 +11,15 @@ from google.ads.googleads.v15.enums.types.customer_acquisition_optimization_mode CustomerAcquisitionOptimizationModeEnum, ) +_M = TypeVar("_M") + class CampaignLifecycleGoal(proto.Message): resource_name: str campaign: str customer_acquisition_goal_settings: CustomerAcquisitionGoalSettings def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -27,8 +31,8 @@ class CustomerAcquisitionGoalSettings(proto.Message): optimization_mode: CustomerAcquisitionOptimizationModeEnum.CustomerAcquisitionOptimizationMode value_settings: LifecycleGoalValueSettings def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., optimization_mode: CustomerAcquisitionOptimizationModeEnum.CustomerAcquisitionOptimizationMode = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/campaign_search_term_insight.pyi b/google-stubs/ads/googleads/v15/resources/types/campaign_search_term_insight.pyi index 5321701ed..bf11cb8e2 100644 --- a/google-stubs/ads/googleads/v15/resources/types/campaign_search_term_insight.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/campaign_search_term_insight.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CampaignSearchTermInsight(proto.Message): resource_name: str category_label: str id: int campaign_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/campaign_shared_set.pyi b/google-stubs/ads/googleads/v15/resources/types/campaign_shared_set.pyi index 924eb7f40..fe5a3cbe8 100644 --- a/google-stubs/ads/googleads/v15/resources/types/campaign_shared_set.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/campaign_shared_set.pyi @@ -1,19 +1,23 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.campaign_shared_set_status import ( CampaignSharedSetStatusEnum, ) +_M = TypeVar("_M") + class CampaignSharedSet(proto.Message): resource_name: str campaign: str shared_set: str status: CampaignSharedSetStatusEnum.CampaignSharedSetStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/campaign_simulation.pyi b/google-stubs/ads/googleads/v15/resources/types/campaign_simulation.pyi index d59035f86..aca697718 100644 --- a/google-stubs/ads/googleads/v15/resources/types/campaign_simulation.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/campaign_simulation.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.simulation import ( @@ -14,6 +16,8 @@ from google.ads.googleads.v15.enums.types.simulation_modification_method import ) from google.ads.googleads.v15.enums.types.simulation_type import SimulationTypeEnum +_M = TypeVar("_M") + class CampaignSimulation(proto.Message): resource_name: str campaign_id: int @@ -27,8 +31,8 @@ class CampaignSimulation(proto.Message): target_impression_share_point_list: TargetImpressionShareSimulationPointList budget_point_list: BudgetSimulationPointList def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/carrier_constant.pyi b/google-stubs/ads/googleads/v15/resources/types/carrier_constant.pyi index 596a1987d..f9f6328a3 100644 --- a/google-stubs/ads/googleads/v15/resources/types/carrier_constant.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/carrier_constant.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CarrierConstant(proto.Message): resource_name: str id: int name: str country_code: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/change_event.pyi b/google-stubs/ads/googleads/v15/resources/types/change_event.pyi index ce3f66375..4013a1bed 100644 --- a/google-stubs/ads/googleads/v15/resources/types/change_event.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/change_event.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask @@ -34,6 +36,8 @@ from google.ads.googleads.v15.resources.types.customer_asset import CustomerAsse from google.ads.googleads.v15.resources.types.feed import Feed from google.ads.googleads.v15.resources.types.feed_item import FeedItem +_M = TypeVar("_M") + class ChangeEvent(proto.Message): class ChangedResource(proto.Message): ad: Ad @@ -56,8 +60,8 @@ class ChangeEvent(proto.Message): asset_set_asset: AssetSetAsset campaign_asset_set: CampaignAssetSet def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad: Ad = ..., @@ -96,8 +100,8 @@ class ChangeEvent(proto.Message): feed_item: str asset: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/change_status.pyi b/google-stubs/ads/googleads/v15/resources/types/change_status.pyi index 2f1043c0f..0b5f3e388 100644 --- a/google-stubs/ads/googleads/v15/resources/types/change_status.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/change_status.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.change_status_operation import ( @@ -9,6 +11,8 @@ from google.ads.googleads.v15.enums.types.change_status_resource_type import ( ChangeStatusResourceTypeEnum, ) +_M = TypeVar("_M") + class ChangeStatus(proto.Message): resource_name: str last_change_date_time: str @@ -32,8 +36,8 @@ class ChangeStatus(proto.Message): ad_group_asset: str combined_audience: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/click_view.pyi b/google-stubs/ads/googleads/v15/resources/types/click_view.pyi index cd88fd85c..757f25ffa 100644 --- a/google-stubs/ads/googleads/v15/resources/types/click_view.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/click_view.pyi @@ -1,10 +1,14 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.click_location import ClickLocation from google.ads.googleads.v15.common.types.criteria import KeywordInfo +_M = TypeVar("_M") + class ClickView(proto.Message): resource_name: str gclid: str @@ -17,8 +21,8 @@ class ClickView(proto.Message): keyword: str keyword_info: KeywordInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/combined_audience.pyi b/google-stubs/ads/googleads/v15/resources/types/combined_audience.pyi index e3e10e1c8..f1600bb6d 100644 --- a/google-stubs/ads/googleads/v15/resources/types/combined_audience.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/combined_audience.pyi @@ -1,11 +1,15 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.combined_audience_status import ( CombinedAudienceStatusEnum, ) +_M = TypeVar("_M") + class CombinedAudience(proto.Message): resource_name: str id: int @@ -13,8 +17,8 @@ class CombinedAudience(proto.Message): name: str description: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/conversion_action.pyi b/google-stubs/ads/googleads/v15/resources/types/conversion_action.pyi index a75168343..37300ce35 100644 --- a/google-stubs/ads/googleads/v15/resources/types/conversion_action.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/conversion_action.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.tag_snippet import TagSnippet @@ -23,13 +24,15 @@ from google.ads.googleads.v15.enums.types.data_driven_model_status import ( ) from google.ads.googleads.v15.enums.types.mobile_app_vendor import MobileAppVendorEnum +_M = TypeVar("_M") + class ConversionAction(proto.Message): class AttributionModelSettings(proto.Message): attribution_model: AttributionModelEnum.AttributionModel data_driven_model_status: DataDrivenModelStatusEnum.DataDrivenModelStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., attribution_model: AttributionModelEnum.AttributionModel = ..., @@ -42,8 +45,8 @@ class ConversionAction(proto.Message): property_id: int property_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., event_name: str = ..., @@ -57,8 +60,8 @@ class ConversionAction(proto.Message): property_name: str property_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., event_name: str = ..., @@ -70,8 +73,8 @@ class ConversionAction(proto.Message): event_name: str provider_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., event_name: str = ..., @@ -83,8 +86,8 @@ class ConversionAction(proto.Message): default_currency_code: str always_use_default_value: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., default_value: float = ..., @@ -114,8 +117,8 @@ class ConversionAction(proto.Message): third_party_app_analytics_settings: ConversionAction.ThirdPartyAppAnalyticsSettings google_analytics_4_settings: ConversionAction.GoogleAnalytics4Settings def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/conversion_custom_variable.pyi b/google-stubs/ads/googleads/v15/resources/types/conversion_custom_variable.pyi index 4f1e20cf1..f1bd0d7a4 100644 --- a/google-stubs/ads/googleads/v15/resources/types/conversion_custom_variable.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/conversion_custom_variable.pyi @@ -1,11 +1,15 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.conversion_custom_variable_status import ( ConversionCustomVariableStatusEnum, ) +_M = TypeVar("_M") + class ConversionCustomVariable(proto.Message): resource_name: str id: int @@ -14,8 +18,8 @@ class ConversionCustomVariable(proto.Message): status: ConversionCustomVariableStatusEnum.ConversionCustomVariableStatus owner_customer: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/conversion_goal_campaign_config.pyi b/google-stubs/ads/googleads/v15/resources/types/conversion_goal_campaign_config.pyi index 38b8e3fab..4ac9c7f60 100644 --- a/google-stubs/ads/googleads/v15/resources/types/conversion_goal_campaign_config.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/conversion_goal_campaign_config.pyi @@ -1,17 +1,21 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.goal_config_level import GoalConfigLevelEnum +_M = TypeVar("_M") + class ConversionGoalCampaignConfig(proto.Message): resource_name: str campaign: str goal_config_level: GoalConfigLevelEnum.GoalConfigLevel custom_conversion_goal: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/conversion_value_rule.pyi b/google-stubs/ads/googleads/v15/resources/types/conversion_value_rule.pyi index 4705120f3..7f386cf86 100644 --- a/google-stubs/ads/googleads/v15/resources/types/conversion_value_rule.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/conversion_value_rule.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.conversion_value_rule_status import ( @@ -16,13 +17,15 @@ from google.ads.googleads.v15.enums.types.value_rule_operation import ( ValueRuleOperationEnum, ) +_M = TypeVar("_M") + class ConversionValueRule(proto.Message): class ValueRuleAction(proto.Message): operation: ValueRuleOperationEnum.ValueRuleOperation value: float def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., operation: ValueRuleOperationEnum.ValueRuleOperation = ..., @@ -33,8 +36,8 @@ class ConversionValueRule(proto.Message): user_lists: MutableSequence[str] user_interests: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., user_lists: MutableSequence[str] = ..., @@ -44,8 +47,8 @@ class ConversionValueRule(proto.Message): class ValueRuleDeviceCondition(proto.Message): device_types: MutableSequence[ValueRuleDeviceTypeEnum.ValueRuleDeviceType] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., device_types: MutableSequence[ @@ -59,8 +62,8 @@ class ConversionValueRule(proto.Message): geo_target_constants: MutableSequence[str] geo_match_type: ValueRuleGeoLocationMatchTypeEnum.ValueRuleGeoLocationMatchType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., excluded_geo_target_constants: MutableSequence[str] = ..., @@ -77,8 +80,8 @@ class ConversionValueRule(proto.Message): owner_customer: str status: ConversionValueRuleStatusEnum.ConversionValueRuleStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/conversion_value_rule_set.pyi b/google-stubs/ads/googleads/v15/resources/types/conversion_value_rule_set.pyi index ba4103033..25b9dbbf0 100644 --- a/google-stubs/ads/googleads/v15/resources/types/conversion_value_rule_set.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/conversion_value_rule_set.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.conversion_action_category import ( @@ -16,6 +17,8 @@ from google.ads.googleads.v15.enums.types.value_rule_set_dimension import ( ValueRuleSetDimensionEnum, ) +_M = TypeVar("_M") + class ConversionValueRuleSet(proto.Message): resource_name: str id: int @@ -29,8 +32,8 @@ class ConversionValueRuleSet(proto.Message): ConversionActionCategoryEnum.ConversionActionCategory ] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/currency_constant.pyi b/google-stubs/ads/googleads/v15/resources/types/currency_constant.pyi index 90578cea6..d05f7ec3b 100644 --- a/google-stubs/ads/googleads/v15/resources/types/currency_constant.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/currency_constant.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CurrencyConstant(proto.Message): resource_name: str code: str @@ -9,8 +13,8 @@ class CurrencyConstant(proto.Message): symbol: str billable_unit_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/custom_audience.pyi b/google-stubs/ads/googleads/v15/resources/types/custom_audience.pyi index dab90673d..fdcdee2e6 100644 --- a/google-stubs/ads/googleads/v15/resources/types/custom_audience.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/custom_audience.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.custom_audience_member_type import ( @@ -13,6 +14,8 @@ from google.ads.googleads.v15.enums.types.custom_audience_type import ( CustomAudienceTypeEnum, ) +_M = TypeVar("_M") + class CustomAudience(proto.Message): resource_name: str id: int @@ -22,8 +25,8 @@ class CustomAudience(proto.Message): description: str members: MutableSequence[CustomAudienceMember] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -42,8 +45,8 @@ class CustomAudienceMember(proto.Message): place_category: int app: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., member_type: CustomAudienceMemberTypeEnum.CustomAudienceMemberType = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/custom_conversion_goal.pyi b/google-stubs/ads/googleads/v15/resources/types/custom_conversion_goal.pyi index 24f426abf..0fd064ee1 100644 --- a/google-stubs/ads/googleads/v15/resources/types/custom_conversion_goal.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/custom_conversion_goal.pyi @@ -1,12 +1,15 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.custom_conversion_goal_status import ( CustomConversionGoalStatusEnum, ) +_M = TypeVar("_M") + class CustomConversionGoal(proto.Message): resource_name: str id: int @@ -14,8 +17,8 @@ class CustomConversionGoal(proto.Message): conversion_actions: MutableSequence[str] status: CustomConversionGoalStatusEnum.CustomConversionGoalStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/custom_interest.pyi b/google-stubs/ads/googleads/v15/resources/types/custom_interest.pyi index 60767a13b..839895798 100644 --- a/google-stubs/ads/googleads/v15/resources/types/custom_interest.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/custom_interest.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.custom_interest_member_type import ( @@ -13,6 +14,8 @@ from google.ads.googleads.v15.enums.types.custom_interest_type import ( CustomInterestTypeEnum, ) +_M = TypeVar("_M") + class CustomInterest(proto.Message): resource_name: str id: int @@ -22,8 +25,8 @@ class CustomInterest(proto.Message): description: str members: MutableSequence[CustomInterestMember] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -39,8 +42,8 @@ class CustomInterestMember(proto.Message): member_type: CustomInterestMemberTypeEnum.CustomInterestMemberType parameter: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., member_type: CustomInterestMemberTypeEnum.CustomInterestMemberType = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/customer.pyi b/google-stubs/ads/googleads/v15/resources/types/customer.pyi index 803e61feb..9f1958011 100644 --- a/google-stubs/ads/googleads/v15/resources/types/customer.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/customer.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.conversion_tracking_status_enum import ( @@ -14,13 +15,15 @@ from google.ads.googleads.v15.enums.types.local_services_verification_status imp LocalServicesVerificationStatusEnum, ) +_M = TypeVar("_M") + class CallReportingSetting(proto.Message): call_reporting_enabled: bool call_conversion_reporting_enabled: bool call_conversion_action: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., call_reporting_enabled: bool = ..., @@ -36,8 +39,8 @@ class ConversionTrackingSetting(proto.Message): enhanced_conversions_for_leads_enabled: bool google_ads_conversion_customer: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., conversion_tracking_id: int = ..., @@ -76,8 +79,8 @@ class Customer(proto.Message): customer_agreement_setting: CustomerAgreementSetting local_services_settings: LocalServicesSettings def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -111,8 +114,8 @@ class Customer(proto.Message): class CustomerAgreementSetting(proto.Message): accepted_lead_form_terms: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., accepted_lead_form_terms: bool = ... @@ -123,8 +126,8 @@ class GranularInsuranceStatus(proto.Message): category_id: str verification_status: LocalServicesVerificationStatusEnum.LocalServicesVerificationStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., geo_criterion_id: int = ..., @@ -137,8 +140,8 @@ class GranularLicenseStatus(proto.Message): category_id: str verification_status: LocalServicesVerificationStatusEnum.LocalServicesVerificationStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., geo_criterion_id: int = ..., @@ -150,8 +153,8 @@ class LocalServicesSettings(proto.Message): granular_license_statuses: MutableSequence[GranularLicenseStatus] granular_insurance_statuses: MutableSequence[GranularInsuranceStatus] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., granular_license_statuses: MutableSequence[GranularLicenseStatus] = ..., @@ -161,8 +164,8 @@ class LocalServicesSettings(proto.Message): class RemarketingSetting(proto.Message): google_global_site_tag: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., google_global_site_tag: str = ... diff --git a/google-stubs/ads/googleads/v15/resources/types/customer_asset.pyi b/google-stubs/ads/googleads/v15/resources/types/customer_asset.pyi index 8715ef57f..96566bd3d 100644 --- a/google-stubs/ads/googleads/v15/resources/types/customer_asset.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/customer_asset.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.asset_policy import ( @@ -16,6 +17,8 @@ from google.ads.googleads.v15.enums.types.asset_link_primary_status_reason impor from google.ads.googleads.v15.enums.types.asset_link_status import AssetLinkStatusEnum from google.ads.googleads.v15.enums.types.asset_source import AssetSourceEnum +_M = TypeVar("_M") + class CustomerAsset(proto.Message): resource_name: str asset: str @@ -28,8 +31,8 @@ class CustomerAsset(proto.Message): AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason ] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/customer_asset_set.pyi b/google-stubs/ads/googleads/v15/resources/types/customer_asset_set.pyi index 04b10a03f..7b2be56c7 100644 --- a/google-stubs/ads/googleads/v15/resources/types/customer_asset_set.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/customer_asset_set.pyi @@ -1,19 +1,23 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.asset_set_link_status import ( AssetSetLinkStatusEnum, ) +_M = TypeVar("_M") + class CustomerAssetSet(proto.Message): resource_name: str asset_set: str customer: str status: AssetSetLinkStatusEnum.AssetSetLinkStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/customer_client.pyi b/google-stubs/ads/googleads/v15/resources/types/customer_client.pyi index bf3269fad..d3bac9444 100644 --- a/google-stubs/ads/googleads/v15/resources/types/customer_client.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/customer_client.pyi @@ -1,10 +1,13 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.customer_status import CustomerStatusEnum +_M = TypeVar("_M") + class CustomerClient(proto.Message): resource_name: str client_customer: str @@ -19,8 +22,8 @@ class CustomerClient(proto.Message): applied_labels: MutableSequence[str] status: CustomerStatusEnum.CustomerStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/customer_client_link.pyi b/google-stubs/ads/googleads/v15/resources/types/customer_client_link.pyi index 7e9e60577..784420c8d 100644 --- a/google-stubs/ads/googleads/v15/resources/types/customer_client_link.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/customer_client_link.pyi @@ -1,11 +1,15 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.manager_link_status import ( ManagerLinkStatusEnum, ) +_M = TypeVar("_M") + class CustomerClientLink(proto.Message): resource_name: str client_customer: str @@ -13,8 +17,8 @@ class CustomerClientLink(proto.Message): status: ManagerLinkStatusEnum.ManagerLinkStatus hidden: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/customer_conversion_goal.pyi b/google-stubs/ads/googleads/v15/resources/types/customer_conversion_goal.pyi index 418fda98b..d00bae552 100644 --- a/google-stubs/ads/googleads/v15/resources/types/customer_conversion_goal.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/customer_conversion_goal.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.conversion_action_category import ( @@ -7,14 +9,16 @@ from google.ads.googleads.v15.enums.types.conversion_action_category import ( ) from google.ads.googleads.v15.enums.types.conversion_origin import ConversionOriginEnum +_M = TypeVar("_M") + class CustomerConversionGoal(proto.Message): resource_name: str category: ConversionActionCategoryEnum.ConversionActionCategory origin: ConversionOriginEnum.ConversionOrigin biddable: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/customer_customizer.pyi b/google-stubs/ads/googleads/v15/resources/types/customer_customizer.pyi index cf955383a..1ed5a4575 100644 --- a/google-stubs/ads/googleads/v15/resources/types/customer_customizer.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/customer_customizer.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.customizer_value import CustomizerValue @@ -7,14 +9,16 @@ from google.ads.googleads.v15.enums.types.customizer_value_status import ( CustomizerValueStatusEnum, ) +_M = TypeVar("_M") + class CustomerCustomizer(proto.Message): resource_name: str customizer_attribute: str status: CustomizerValueStatusEnum.CustomizerValueStatus value: CustomizerValue def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/customer_extension_setting.pyi b/google-stubs/ads/googleads/v15/resources/types/customer_extension_setting.pyi index fc5a5c222..78ad4131d 100644 --- a/google-stubs/ads/googleads/v15/resources/types/customer_extension_setting.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/customer_extension_setting.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.extension_setting_device import ( @@ -8,14 +9,16 @@ from google.ads.googleads.v15.enums.types.extension_setting_device import ( ) from google.ads.googleads.v15.enums.types.extension_type import ExtensionTypeEnum +_M = TypeVar("_M") + class CustomerExtensionSetting(proto.Message): resource_name: str extension_type: ExtensionTypeEnum.ExtensionType extension_feed_items: MutableSequence[str] device: ExtensionSettingDeviceEnum.ExtensionSettingDevice def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/customer_feed.pyi b/google-stubs/ads/googleads/v15/resources/types/customer_feed.pyi index 1243b84bf..7155d4e6b 100644 --- a/google-stubs/ads/googleads/v15/resources/types/customer_feed.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/customer_feed.pyi @@ -1,12 +1,15 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.matching_function import MatchingFunction from google.ads.googleads.v15.enums.types.feed_link_status import FeedLinkStatusEnum from google.ads.googleads.v15.enums.types.placeholder_type import PlaceholderTypeEnum +_M = TypeVar("_M") + class CustomerFeed(proto.Message): resource_name: str feed: str @@ -14,8 +17,8 @@ class CustomerFeed(proto.Message): matching_function: MatchingFunction status: FeedLinkStatusEnum.FeedLinkStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/customer_label.pyi b/google-stubs/ads/googleads/v15/resources/types/customer_label.pyi index dcaeaa60f..12ec6c8f4 100644 --- a/google-stubs/ads/googleads/v15/resources/types/customer_label.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/customer_label.pyi @@ -1,14 +1,18 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomerLabel(proto.Message): resource_name: str customer: str label: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/customer_lifecycle_goal.pyi b/google-stubs/ads/googleads/v15/resources/types/customer_lifecycle_goal.pyi index e7bc38446..3e6ac7624 100644 --- a/google-stubs/ads/googleads/v15/resources/types/customer_lifecycle_goal.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/customer_lifecycle_goal.pyi @@ -1,19 +1,22 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.lifecycle_goals import ( LifecycleGoalValueSettings, ) +_M = TypeVar("_M") + class CustomerLifecycleGoal(proto.Message): class LifecycleGoalCustomerDefinitionSettings(proto.Message): existing_user_lists: MutableSequence[str] high_lifetime_value_user_lists: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., existing_user_lists: MutableSequence[str] = ..., @@ -23,8 +26,8 @@ class CustomerLifecycleGoal(proto.Message): lifecycle_goal_customer_definition_settings: CustomerLifecycleGoal.LifecycleGoalCustomerDefinitionSettings customer_acquisition_goal_value_settings: LifecycleGoalValueSettings def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/customer_manager_link.pyi b/google-stubs/ads/googleads/v15/resources/types/customer_manager_link.pyi index 14883eb7e..62d326d68 100644 --- a/google-stubs/ads/googleads/v15/resources/types/customer_manager_link.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/customer_manager_link.pyi @@ -1,19 +1,23 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.manager_link_status import ( ManagerLinkStatusEnum, ) +_M = TypeVar("_M") + class CustomerManagerLink(proto.Message): resource_name: str manager_customer: str manager_link_id: int status: ManagerLinkStatusEnum.ManagerLinkStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/customer_negative_criterion.pyi b/google-stubs/ads/googleads/v15/resources/types/customer_negative_criterion.pyi index f1eac1170..d976d0a4b 100644 --- a/google-stubs/ads/googleads/v15/resources/types/customer_negative_criterion.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/customer_negative_criterion.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.criteria import ( @@ -13,6 +15,8 @@ from google.ads.googleads.v15.common.types.criteria import ( ) from google.ads.googleads.v15.enums.types.criterion_type import CriterionTypeEnum +_M = TypeVar("_M") + class CustomerNegativeCriterion(proto.Message): resource_name: str id: int @@ -25,8 +29,8 @@ class CustomerNegativeCriterion(proto.Message): youtube_channel: YouTubeChannelInfo negative_keyword_list: NegativeKeywordListInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/customer_search_term_insight.pyi b/google-stubs/ads/googleads/v15/resources/types/customer_search_term_insight.pyi index 32eac339e..e2b07b3e5 100644 --- a/google-stubs/ads/googleads/v15/resources/types/customer_search_term_insight.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/customer_search_term_insight.pyi @@ -1,14 +1,18 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomerSearchTermInsight(proto.Message): resource_name: str category_label: str id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/customer_sk_ad_network_conversion_value_schema.pyi b/google-stubs/ads/googleads/v15/resources/types/customer_sk_ad_network_conversion_value_schema.pyi index 9a3758526..10c188627 100644 --- a/google-stubs/ads/googleads/v15/resources/types/customer_sk_ad_network_conversion_value_schema.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/customer_sk_ad_network_conversion_value_schema.pyi @@ -1,8 +1,11 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class CustomerSkAdNetworkConversionValueSchema(proto.Message): class SkAdNetworkConversionValueSchema(proto.Message): class ConversionValueMapping(proto.Message): @@ -12,8 +15,8 @@ class CustomerSkAdNetworkConversionValueSchema(proto.Message): CustomerSkAdNetworkConversionValueSchema.SkAdNetworkConversionValueSchema.Event ] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., min_time_post_install_hours: int = ..., @@ -28,8 +31,11 @@ class CustomerSkAdNetworkConversionValueSchema(proto.Message): min_event_count: int max_event_count: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M + | Mapping + | google.protobuf.message.Message + | None = ..., *, ignore_unknown_fields: bool = ..., min_event_count: int = ..., @@ -40,8 +46,11 @@ class CustomerSkAdNetworkConversionValueSchema(proto.Message): min_event_revenue: float max_event_revenue: float def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M + | Mapping + | google.protobuf.message.Message + | None = ..., *, ignore_unknown_fields: bool = ..., min_event_revenue: float = ..., @@ -54,8 +63,8 @@ class CustomerSkAdNetworkConversionValueSchema(proto.Message): event_occurrence_range: CustomerSkAdNetworkConversionValueSchema.SkAdNetworkConversionValueSchema.Event.EventOccurrenceRange event_counter: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., mapped_event_name: str = ..., @@ -70,8 +79,8 @@ class CustomerSkAdNetworkConversionValueSchema(proto.Message): fine_grained_conversion_value: int conversion_value_mapping: CustomerSkAdNetworkConversionValueSchema.SkAdNetworkConversionValueSchema.ConversionValueMapping def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., fine_grained_conversion_value: int = ..., @@ -83,8 +92,8 @@ class CustomerSkAdNetworkConversionValueSchema(proto.Message): CustomerSkAdNetworkConversionValueSchema.SkAdNetworkConversionValueSchema.FineGrainedConversionValueMappings ] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., app_id: str = ..., @@ -96,8 +105,8 @@ class CustomerSkAdNetworkConversionValueSchema(proto.Message): resource_name: str schema: CustomerSkAdNetworkConversionValueSchema.SkAdNetworkConversionValueSchema def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/customer_user_access.pyi b/google-stubs/ads/googleads/v15/resources/types/customer_user_access.pyi index 3225e92ff..12bd5c120 100644 --- a/google-stubs/ads/googleads/v15/resources/types/customer_user_access.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/customer_user_access.pyi @@ -1,9 +1,13 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.access_role import AccessRoleEnum +_M = TypeVar("_M") + class CustomerUserAccess(proto.Message): resource_name: str user_id: int @@ -12,8 +16,8 @@ class CustomerUserAccess(proto.Message): access_creation_date_time: str inviter_user_email_address: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/customer_user_access_invitation.pyi b/google-stubs/ads/googleads/v15/resources/types/customer_user_access_invitation.pyi index 8d16c5813..cef106a98 100644 --- a/google-stubs/ads/googleads/v15/resources/types/customer_user_access_invitation.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/customer_user_access_invitation.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.access_invitation_status import ( @@ -7,6 +9,8 @@ from google.ads.googleads.v15.enums.types.access_invitation_status import ( ) from google.ads.googleads.v15.enums.types.access_role import AccessRoleEnum +_M = TypeVar("_M") + class CustomerUserAccessInvitation(proto.Message): resource_name: str invitation_id: int @@ -15,8 +19,8 @@ class CustomerUserAccessInvitation(proto.Message): creation_date_time: str invitation_status: AccessInvitationStatusEnum.AccessInvitationStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/customizer_attribute.pyi b/google-stubs/ads/googleads/v15/resources/types/customizer_attribute.pyi index 728a38109..a402535f9 100644 --- a/google-stubs/ads/googleads/v15/resources/types/customizer_attribute.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/customizer_attribute.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.customizer_attribute_status import ( @@ -9,6 +11,8 @@ from google.ads.googleads.v15.enums.types.customizer_attribute_type import ( CustomizerAttributeTypeEnum, ) +_M = TypeVar("_M") + class CustomizerAttribute(proto.Message): resource_name: str id: int @@ -16,8 +20,8 @@ class CustomizerAttribute(proto.Message): type_: CustomizerAttributeTypeEnum.CustomizerAttributeType status: CustomizerAttributeStatusEnum.CustomizerAttributeStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/detail_placement_view.pyi b/google-stubs/ads/googleads/v15/resources/types/detail_placement_view.pyi index 3184cc6d4..3a6791ec8 100644 --- a/google-stubs/ads/googleads/v15/resources/types/detail_placement_view.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/detail_placement_view.pyi @@ -1,9 +1,13 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.placement_type import PlacementTypeEnum +_M = TypeVar("_M") + class DetailPlacementView(proto.Message): resource_name: str placement: str @@ -12,8 +16,8 @@ class DetailPlacementView(proto.Message): target_url: str placement_type: PlacementTypeEnum.PlacementType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/detailed_demographic.pyi b/google-stubs/ads/googleads/v15/resources/types/detailed_demographic.pyi index ed69c2af0..049f61395 100644 --- a/google-stubs/ads/googleads/v15/resources/types/detailed_demographic.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/detailed_demographic.pyi @@ -1,12 +1,15 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.criterion_category_availability import ( CriterionCategoryAvailability, ) +_M = TypeVar("_M") + class DetailedDemographic(proto.Message): resource_name: str id: int @@ -15,8 +18,8 @@ class DetailedDemographic(proto.Message): launched_to_all: bool availabilities: MutableSequence[CriterionCategoryAvailability] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/display_keyword_view.pyi b/google-stubs/ads/googleads/v15/resources/types/display_keyword_view.pyi index 4808af26f..fb262da23 100644 --- a/google-stubs/ads/googleads/v15/resources/types/display_keyword_view.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/display_keyword_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class DisplayKeywordView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v15/resources/types/distance_view.pyi b/google-stubs/ads/googleads/v15/resources/types/distance_view.pyi index 7b8c14bdb..fe9fa42fe 100644 --- a/google-stubs/ads/googleads/v15/resources/types/distance_view.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/distance_view.pyi @@ -1,16 +1,20 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.distance_bucket import DistanceBucketEnum +_M = TypeVar("_M") + class DistanceView(proto.Message): resource_name: str distance_bucket: DistanceBucketEnum.DistanceBucket metric_system: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/domain_category.pyi b/google-stubs/ads/googleads/v15/resources/types/domain_category.pyi index 5006c9904..fffe80165 100644 --- a/google-stubs/ads/googleads/v15/resources/types/domain_category.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/domain_category.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class DomainCategory(proto.Message): resource_name: str campaign: str @@ -13,8 +17,8 @@ class DomainCategory(proto.Message): has_children: bool recommended_cpc_bid_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/dynamic_search_ads_search_term_view.pyi b/google-stubs/ads/googleads/v15/resources/types/dynamic_search_ads_search_term_view.pyi index 4ed7efa29..dad1d47e2 100644 --- a/google-stubs/ads/googleads/v15/resources/types/dynamic_search_ads_search_term_view.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/dynamic_search_ads_search_term_view.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class DynamicSearchAdsSearchTermView(proto.Message): resource_name: str search_term: str @@ -12,8 +16,8 @@ class DynamicSearchAdsSearchTermView(proto.Message): has_matching_keyword: bool has_negative_url: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/expanded_landing_page_view.pyi b/google-stubs/ads/googleads/v15/resources/types/expanded_landing_page_view.pyi index 952d175b0..508cf151b 100644 --- a/google-stubs/ads/googleads/v15/resources/types/expanded_landing_page_view.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/expanded_landing_page_view.pyi @@ -1,13 +1,17 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ExpandedLandingPageView(proto.Message): resource_name: str expanded_final_url: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/experiment.pyi b/google-stubs/ads/googleads/v15/resources/types/experiment.pyi index b81c28d79..b60ea78d5 100644 --- a/google-stubs/ads/googleads/v15/resources/types/experiment.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/experiment.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.metric_goal import MetricGoal @@ -10,6 +11,8 @@ from google.ads.googleads.v15.enums.types.async_action_status import ( from google.ads.googleads.v15.enums.types.experiment_status import ExperimentStatusEnum from google.ads.googleads.v15.enums.types.experiment_type import ExperimentTypeEnum +_M = TypeVar("_M") + class Experiment(proto.Message): resource_name: str experiment_id: int @@ -24,8 +27,8 @@ class Experiment(proto.Message): long_running_operation: str promote_status: AsyncActionStatusEnum.AsyncActionStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/experiment_arm.pyi b/google-stubs/ads/googleads/v15/resources/types/experiment_arm.pyi index 0a2d9b210..57e75d7df 100644 --- a/google-stubs/ads/googleads/v15/resources/types/experiment_arm.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/experiment_arm.pyi @@ -1,8 +1,11 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ExperimentArm(proto.Message): resource_name: str experiment: str @@ -12,8 +15,8 @@ class ExperimentArm(proto.Message): campaigns: MutableSequence[str] in_design_campaigns: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/extension_feed_item.pyi b/google-stubs/ads/googleads/v15/resources/types/extension_feed_item.pyi index 85b669f07..bbc5c634b 100644 --- a/google-stubs/ads/googleads/v15/resources/types/extension_feed_item.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/extension_feed_item.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.criteria import AdScheduleInfo, KeywordInfo @@ -24,6 +25,8 @@ from google.ads.googleads.v15.enums.types.feed_item_target_device import ( FeedItemTargetDeviceEnum, ) +_M = TypeVar("_M") + class ExtensionFeedItem(proto.Message): resource_name: str id: int @@ -50,8 +53,8 @@ class ExtensionFeedItem(proto.Message): targeted_campaign: str targeted_ad_group: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/feed.pyi b/google-stubs/ads/googleads/v15/resources/types/feed.pyi index ead8e28f9..05548fd7e 100644 --- a/google-stubs/ads/googleads/v15/resources/types/feed.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/feed.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.affiliate_location_feed_relationship_type import ( @@ -12,13 +13,15 @@ from google.ads.googleads.v15.enums.types.feed_attribute_type import ( from google.ads.googleads.v15.enums.types.feed_origin import FeedOriginEnum from google.ads.googleads.v15.enums.types.feed_status import FeedStatusEnum +_M = TypeVar("_M") + class Feed(proto.Message): class AffiliateLocationFeedData(proto.Message): chain_ids: MutableSequence[int] relationship_type: AffiliateLocationFeedRelationshipTypeEnum.AffiliateLocationFeedRelationshipType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., chain_ids: MutableSequence[int] = ..., @@ -31,8 +34,8 @@ class Feed(proto.Message): http_request_url: str http_authorization_header: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., http_method: str = ..., @@ -46,8 +49,8 @@ class Feed(proto.Message): category_filters: MutableSequence[str] label_filters: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., oauth_info: Feed.PlacesLocationFeedData.OAuthInfo = ..., @@ -67,8 +70,8 @@ class Feed(proto.Message): places_location_feed_data: Feed.PlacesLocationFeedData affiliate_location_feed_data: Feed.AffiliateLocationFeedData def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -88,8 +91,8 @@ class FeedAttribute(proto.Message): type_: FeedAttributeTypeEnum.FeedAttributeType is_part_of_key: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., id: int = ..., @@ -106,8 +109,8 @@ class FeedAttributeOperation(proto.Message): operator: FeedAttributeOperation.Operator value: FeedAttribute def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., operator: FeedAttributeOperation.Operator = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/feed_item.pyi b/google-stubs/ads/googleads/v15/resources/types/feed_item.pyi index 9857ac23c..28b2b598e 100644 --- a/google-stubs/ads/googleads/v15/resources/types/feed_item.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/feed_item.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.custom_parameter import CustomParameter @@ -30,6 +31,8 @@ from google.ads.googleads.v15.errors.types.feed_item_validation_error import ( FeedItemValidationErrorEnum, ) +_M = TypeVar("_M") + class FeedItem(proto.Message): resource_name: str feed: str @@ -42,8 +45,8 @@ class FeedItem(proto.Message): status: FeedItemStatusEnum.FeedItemStatus policy_infos: MutableSequence[FeedItemPlaceholderPolicyInfo] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -70,8 +73,8 @@ class FeedItemAttributeValue(proto.Message): string_values: MutableSequence[str] double_values: MutableSequence[float] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., feed_attribute_id: int = ..., @@ -99,8 +102,8 @@ class FeedItemPlaceholderPolicyInfo(proto.Message): FeedItemQualityDisapprovalReasonEnum.FeedItemQualityDisapprovalReason ] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., placeholder_type_enum: PlaceholderTypeEnum.PlaceholderType = ..., @@ -122,8 +125,8 @@ class FeedItemValidationError(proto.Message): feed_attribute_ids: MutableSequence[int] extra_info: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., validation_error: FeedItemValidationErrorEnum.FeedItemValidationError = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/feed_item_set.pyi b/google-stubs/ads/googleads/v15/resources/types/feed_item_set.pyi index a156cba8d..0904ee6da 100644 --- a/google-stubs/ads/googleads/v15/resources/types/feed_item_set.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/feed_item_set.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.feed_item_set_filter_type_infos import ( @@ -10,6 +12,8 @@ from google.ads.googleads.v15.enums.types.feed_item_set_status import ( FeedItemSetStatusEnum, ) +_M = TypeVar("_M") + class FeedItemSet(proto.Message): resource_name: str feed: str @@ -19,8 +23,8 @@ class FeedItemSet(proto.Message): dynamic_location_set_filter: DynamicLocationSetFilter dynamic_affiliate_location_set_filter: DynamicAffiliateLocationSetFilter def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/feed_item_set_link.pyi b/google-stubs/ads/googleads/v15/resources/types/feed_item_set_link.pyi index 1304eaad5..19c9bb22a 100644 --- a/google-stubs/ads/googleads/v15/resources/types/feed_item_set_link.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/feed_item_set_link.pyi @@ -1,14 +1,18 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class FeedItemSetLink(proto.Message): resource_name: str feed_item: str feed_item_set: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/feed_item_target.pyi b/google-stubs/ads/googleads/v15/resources/types/feed_item_target.pyi index fabc61cdb..cd1ab4b10 100644 --- a/google-stubs/ads/googleads/v15/resources/types/feed_item_target.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/feed_item_target.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.criteria import AdScheduleInfo, KeywordInfo @@ -13,6 +15,8 @@ from google.ads.googleads.v15.enums.types.feed_item_target_type import ( FeedItemTargetTypeEnum, ) +_M = TypeVar("_M") + class FeedItemTarget(proto.Message): resource_name: str feed_item: str @@ -26,8 +30,8 @@ class FeedItemTarget(proto.Message): device: FeedItemTargetDeviceEnum.FeedItemTargetDevice ad_schedule: AdScheduleInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/feed_mapping.pyi b/google-stubs/ads/googleads/v15/resources/types/feed_mapping.pyi index adc49b722..0161d5dda 100644 --- a/google-stubs/ads/googleads/v15/resources/types/feed_mapping.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/feed_mapping.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.ad_customizer_placeholder_field import ( @@ -77,6 +78,8 @@ from google.ads.googleads.v15.enums.types.travel_placeholder_field import ( TravelPlaceholderFieldEnum, ) +_M = TypeVar("_M") + class AttributeFieldMapping(proto.Message): feed_attribute_id: int field_id: int @@ -103,8 +106,8 @@ class AttributeFieldMapping(proto.Message): job_field: JobPlaceholderFieldEnum.JobPlaceholderField image_field: ImagePlaceholderFieldEnum.ImagePlaceholderField def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., feed_attribute_id: int = ..., @@ -141,8 +144,8 @@ class FeedMapping(proto.Message): placeholder_type: PlaceholderTypeEnum.PlaceholderType criterion_type: FeedMappingCriterionTypeEnum.FeedMappingCriterionType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/feed_placeholder_view.pyi b/google-stubs/ads/googleads/v15/resources/types/feed_placeholder_view.pyi index 22a7b5046..00c475dbc 100644 --- a/google-stubs/ads/googleads/v15/resources/types/feed_placeholder_view.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/feed_placeholder_view.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.placeholder_type import PlaceholderTypeEnum +_M = TypeVar("_M") + class FeedPlaceholderView(proto.Message): resource_name: str placeholder_type: PlaceholderTypeEnum.PlaceholderType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/gender_view.pyi b/google-stubs/ads/googleads/v15/resources/types/gender_view.pyi index c4ad696f0..ee2ce34b3 100644 --- a/google-stubs/ads/googleads/v15/resources/types/gender_view.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/gender_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class GenderView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v15/resources/types/geo_target_constant.pyi b/google-stubs/ads/googleads/v15/resources/types/geo_target_constant.pyi index ec20d5fd9..fa3a4d9d3 100644 --- a/google-stubs/ads/googleads/v15/resources/types/geo_target_constant.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/geo_target_constant.pyi @@ -1,11 +1,15 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.geo_target_constant_status import ( GeoTargetConstantStatusEnum, ) +_M = TypeVar("_M") + class GeoTargetConstant(proto.Message): resource_name: str id: int @@ -16,8 +20,8 @@ class GeoTargetConstant(proto.Message): canonical_name: str parent_geo_target: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/geographic_view.pyi b/google-stubs/ads/googleads/v15/resources/types/geographic_view.pyi index 87e571252..22045638d 100644 --- a/google-stubs/ads/googleads/v15/resources/types/geographic_view.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/geographic_view.pyi @@ -1,16 +1,20 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.geo_targeting_type import GeoTargetingTypeEnum +_M = TypeVar("_M") + class GeographicView(proto.Message): resource_name: str location_type: GeoTargetingTypeEnum.GeoTargetingType country_criterion_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/google_ads_field.pyi b/google-stubs/ads/googleads/v15/resources/types/google_ads_field.pyi index f1fbfe221..72157aa12 100644 --- a/google-stubs/ads/googleads/v15/resources/types/google_ads_field.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/google_ads_field.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.google_ads_field_category import ( @@ -10,6 +11,8 @@ from google.ads.googleads.v15.enums.types.google_ads_field_data_type import ( GoogleAdsFieldDataTypeEnum, ) +_M = TypeVar("_M") + class GoogleAdsField(proto.Message): resource_name: str name: str @@ -26,8 +29,8 @@ class GoogleAdsField(proto.Message): type_url: str is_repeated: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/group_placement_view.pyi b/google-stubs/ads/googleads/v15/resources/types/group_placement_view.pyi index 79051517c..92f2e578b 100644 --- a/google-stubs/ads/googleads/v15/resources/types/group_placement_view.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/group_placement_view.pyi @@ -1,9 +1,13 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.placement_type import PlacementTypeEnum +_M = TypeVar("_M") + class GroupPlacementView(proto.Message): resource_name: str placement: str @@ -11,8 +15,8 @@ class GroupPlacementView(proto.Message): target_url: str placement_type: PlacementTypeEnum.PlacementType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/hotel_group_view.pyi b/google-stubs/ads/googleads/v15/resources/types/hotel_group_view.pyi index b6e3a1632..3be6e1810 100644 --- a/google-stubs/ads/googleads/v15/resources/types/hotel_group_view.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/hotel_group_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class HotelGroupView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v15/resources/types/hotel_performance_view.pyi b/google-stubs/ads/googleads/v15/resources/types/hotel_performance_view.pyi index d4dfc2125..e8866b806 100644 --- a/google-stubs/ads/googleads/v15/resources/types/hotel_performance_view.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/hotel_performance_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class HotelPerformanceView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v15/resources/types/hotel_reconciliation.pyi b/google-stubs/ads/googleads/v15/resources/types/hotel_reconciliation.pyi index 1032c65d5..19a1cc2c1 100644 --- a/google-stubs/ads/googleads/v15/resources/types/hotel_reconciliation.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/hotel_reconciliation.pyi @@ -1,11 +1,15 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.hotel_reconciliation_status import ( HotelReconciliationStatusEnum, ) +_M = TypeVar("_M") + class HotelReconciliation(proto.Message): resource_name: str commission_id: str @@ -19,8 +23,8 @@ class HotelReconciliation(proto.Message): billed: bool status: HotelReconciliationStatusEnum.HotelReconciliationStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/income_range_view.pyi b/google-stubs/ads/googleads/v15/resources/types/income_range_view.pyi index cb66892b2..040c44c60 100644 --- a/google-stubs/ads/googleads/v15/resources/types/income_range_view.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/income_range_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class IncomeRangeView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v15/resources/types/invoice.pyi b/google-stubs/ads/googleads/v15/resources/types/invoice.pyi index 0dcb7d0a2..340f06107 100644 --- a/google-stubs/ads/googleads/v15/resources/types/invoice.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/invoice.pyi @@ -1,12 +1,15 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.dates import DateRange from google.ads.googleads.v15.enums.types.invoice_type import InvoiceTypeEnum from google.ads.googleads.v15.enums.types.month_of_year import MonthOfYearEnum +_M = TypeVar("_M") + class Invoice(proto.Message): class AccountBudgetSummary(proto.Message): customer: str @@ -24,8 +27,8 @@ class Invoice(proto.Message): invalid_activity_amount_micros: int invalid_activity_summaries: MutableSequence[Invoice.InvalidActivitySummary] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer: str = ..., @@ -67,8 +70,8 @@ class Invoice(proto.Message): tax_amount_micros: int total_amount_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer: str = ..., @@ -100,8 +103,8 @@ class Invoice(proto.Message): original_purchase_order_number: str amount_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., original_month_of_service: MonthOfYearEnum.MonthOfYear = ..., @@ -139,8 +142,8 @@ class Invoice(proto.Message): account_budget_summaries: MutableSequence[Invoice.AccountBudgetSummary] account_summaries: MutableSequence[Invoice.AccountSummary] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/keyword_plan.pyi b/google-stubs/ads/googleads/v15/resources/types/keyword_plan.pyi index 387e78306..7645b430f 100644 --- a/google-stubs/ads/googleads/v15/resources/types/keyword_plan.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/keyword_plan.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.dates import DateRange @@ -7,14 +9,16 @@ from google.ads.googleads.v15.enums.types.keyword_plan_forecast_interval import KeywordPlanForecastIntervalEnum, ) +_M = TypeVar("_M") + class KeywordPlan(proto.Message): resource_name: str id: int name: str forecast_period: KeywordPlanForecastPeriod def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -27,8 +31,8 @@ class KeywordPlanForecastPeriod(proto.Message): date_interval: KeywordPlanForecastIntervalEnum.KeywordPlanForecastInterval date_range: DateRange def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., date_interval: KeywordPlanForecastIntervalEnum.KeywordPlanForecastInterval = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/keyword_plan_ad_group.pyi b/google-stubs/ads/googleads/v15/resources/types/keyword_plan_ad_group.pyi index 24b16d9a3..e5b927559 100644 --- a/google-stubs/ads/googleads/v15/resources/types/keyword_plan_ad_group.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/keyword_plan_ad_group.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class KeywordPlanAdGroup(proto.Message): resource_name: str keyword_plan_campaign: str @@ -9,8 +13,8 @@ class KeywordPlanAdGroup(proto.Message): name: str cpc_bid_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/keyword_plan_ad_group_keyword.pyi b/google-stubs/ads/googleads/v15/resources/types/keyword_plan_ad_group_keyword.pyi index ff87ad39f..a22889735 100644 --- a/google-stubs/ads/googleads/v15/resources/types/keyword_plan_ad_group_keyword.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/keyword_plan_ad_group_keyword.pyi @@ -1,9 +1,13 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.keyword_match_type import KeywordMatchTypeEnum +_M = TypeVar("_M") + class KeywordPlanAdGroupKeyword(proto.Message): resource_name: str keyword_plan_ad_group: str @@ -13,8 +17,8 @@ class KeywordPlanAdGroupKeyword(proto.Message): cpc_bid_micros: int negative: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/keyword_plan_campaign.pyi b/google-stubs/ads/googleads/v15/resources/types/keyword_plan_campaign.pyi index 55fd9317d..a8094896e 100644 --- a/google-stubs/ads/googleads/v15/resources/types/keyword_plan_campaign.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/keyword_plan_campaign.pyi @@ -1,12 +1,15 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.keyword_plan_network import ( KeywordPlanNetworkEnum, ) +_M = TypeVar("_M") + class KeywordPlanCampaign(proto.Message): resource_name: str keyword_plan: str @@ -17,8 +20,8 @@ class KeywordPlanCampaign(proto.Message): cpc_bid_micros: int geo_targets: MutableSequence[KeywordPlanGeoTarget] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -34,8 +37,8 @@ class KeywordPlanCampaign(proto.Message): class KeywordPlanGeoTarget(proto.Message): geo_target_constant: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., geo_target_constant: str = ... diff --git a/google-stubs/ads/googleads/v15/resources/types/keyword_plan_campaign_keyword.pyi b/google-stubs/ads/googleads/v15/resources/types/keyword_plan_campaign_keyword.pyi index d2b2869a5..335092c69 100644 --- a/google-stubs/ads/googleads/v15/resources/types/keyword_plan_campaign_keyword.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/keyword_plan_campaign_keyword.pyi @@ -1,9 +1,13 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.keyword_match_type import KeywordMatchTypeEnum +_M = TypeVar("_M") + class KeywordPlanCampaignKeyword(proto.Message): resource_name: str keyword_plan_campaign: str @@ -12,8 +16,8 @@ class KeywordPlanCampaignKeyword(proto.Message): match_type: KeywordMatchTypeEnum.KeywordMatchType negative: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/keyword_theme_constant.pyi b/google-stubs/ads/googleads/v15/resources/types/keyword_theme_constant.pyi index 2104253ec..4b8f24f1e 100644 --- a/google-stubs/ads/googleads/v15/resources/types/keyword_theme_constant.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/keyword_theme_constant.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class KeywordThemeConstant(proto.Message): resource_name: str country_code: str language_code: str display_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/keyword_view.pyi b/google-stubs/ads/googleads/v15/resources/types/keyword_view.pyi index a6ed8f2d8..256ecfdbb 100644 --- a/google-stubs/ads/googleads/v15/resources/types/keyword_view.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/keyword_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class KeywordView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v15/resources/types/label.pyi b/google-stubs/ads/googleads/v15/resources/types/label.pyi index bd1e7fe44..fff55921a 100644 --- a/google-stubs/ads/googleads/v15/resources/types/label.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/label.pyi @@ -1,10 +1,14 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.text_label import TextLabel from google.ads.googleads.v15.enums.types.label_status import LabelStatusEnum +_M = TypeVar("_M") + class Label(proto.Message): resource_name: str id: int @@ -12,8 +16,8 @@ class Label(proto.Message): status: LabelStatusEnum.LabelStatus text_label: TextLabel def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/landing_page_view.pyi b/google-stubs/ads/googleads/v15/resources/types/landing_page_view.pyi index b2752128d..e3f799e12 100644 --- a/google-stubs/ads/googleads/v15/resources/types/landing_page_view.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/landing_page_view.pyi @@ -1,13 +1,17 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LandingPageView(proto.Message): resource_name: str unexpanded_final_url: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/language_constant.pyi b/google-stubs/ads/googleads/v15/resources/types/language_constant.pyi index cb762b073..721b4ff92 100644 --- a/google-stubs/ads/googleads/v15/resources/types/language_constant.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/language_constant.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LanguageConstant(proto.Message): resource_name: str id: int @@ -9,8 +13,8 @@ class LanguageConstant(proto.Message): name: str targetable: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/lead_form_submission_data.pyi b/google-stubs/ads/googleads/v15/resources/types/lead_form_submission_data.pyi index 7ce853e22..ff8d87a04 100644 --- a/google-stubs/ads/googleads/v15/resources/types/lead_form_submission_data.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/lead_form_submission_data.pyi @@ -1,18 +1,21 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.lead_form_field_user_input_type import ( LeadFormFieldUserInputTypeEnum, ) +_M = TypeVar("_M") + class CustomLeadFormSubmissionField(proto.Message): question_text: str field_value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., question_text: str = ..., @@ -31,8 +34,8 @@ class LeadFormSubmissionData(proto.Message): gclid: str submission_date_time: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -53,8 +56,8 @@ class LeadFormSubmissionField(proto.Message): field_type: LeadFormFieldUserInputTypeEnum.LeadFormFieldUserInputType field_value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., field_type: LeadFormFieldUserInputTypeEnum.LeadFormFieldUserInputType = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/life_event.pyi b/google-stubs/ads/googleads/v15/resources/types/life_event.pyi index 0a90b3f49..4b4263857 100644 --- a/google-stubs/ads/googleads/v15/resources/types/life_event.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/life_event.pyi @@ -1,12 +1,15 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.criterion_category_availability import ( CriterionCategoryAvailability, ) +_M = TypeVar("_M") + class LifeEvent(proto.Message): resource_name: str id: int @@ -15,8 +18,8 @@ class LifeEvent(proto.Message): launched_to_all: bool availabilities: MutableSequence[CriterionCategoryAvailability] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/local_services_lead.pyi b/google-stubs/ads/googleads/v15/resources/types/local_services_lead.pyi index 98447ef42..c9e28363e 100644 --- a/google-stubs/ads/googleads/v15/resources/types/local_services_lead.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/local_services_lead.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.local_services_lead_status import ( @@ -9,13 +11,15 @@ from google.ads.googleads.v15.enums.types.local_services_lead_type import ( LocalServicesLeadTypeEnum, ) +_M = TypeVar("_M") + class ContactDetails(proto.Message): phone_number: str email: str consumer_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., phone_number: str = ..., @@ -36,8 +40,8 @@ class LocalServicesLead(proto.Message): note: Note lead_charged: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -57,8 +61,8 @@ class Note(proto.Message): edit_date_time: str description: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., edit_date_time: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/local_services_lead_conversation.pyi b/google-stubs/ads/googleads/v15/resources/types/local_services_lead_conversation.pyi index 24386869b..5dae7bd42 100644 --- a/google-stubs/ads/googleads/v15/resources/types/local_services_lead_conversation.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/local_services_lead_conversation.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.local_services_conversation_type import ( @@ -9,6 +11,8 @@ from google.ads.googleads.v15.enums.types.local_services_participant_type import LocalServicesParticipantTypeEnum, ) +_M = TypeVar("_M") + class LocalServicesLeadConversation(proto.Message): resource_name: str id: int @@ -19,8 +23,8 @@ class LocalServicesLeadConversation(proto.Message): phone_call_details: PhoneCallDetails message_details: MessageDetails def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -36,8 +40,8 @@ class LocalServicesLeadConversation(proto.Message): class MessageDetails(proto.Message): text: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., text: str = ... @@ -47,8 +51,8 @@ class PhoneCallDetails(proto.Message): call_duration_millis: int call_recording_url: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., call_duration_millis: int = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/local_services_verification_artifact.pyi b/google-stubs/ads/googleads/v15/resources/types/local_services_verification_artifact.pyi index 50d91a8d5..ddff31fef 100644 --- a/google-stubs/ads/googleads/v15/resources/types/local_services_verification_artifact.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/local_services_verification_artifact.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.local_services import ( @@ -18,12 +20,14 @@ from google.ads.googleads.v15.enums.types.local_services_verification_artifact_t LocalServicesVerificationArtifactTypeEnum, ) +_M = TypeVar("_M") + class BackgroundCheckVerificationArtifact(proto.Message): case_url: str final_adjudication_date_time: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., case_url: str = ..., @@ -35,8 +39,8 @@ class InsuranceVerificationArtifact(proto.Message): rejection_reason: LocalServicesInsuranceRejectionReasonEnum.LocalServicesInsuranceRejectionReason insurance_document_readonly: LocalServicesDocumentReadOnly def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., amount_micros: int = ..., @@ -52,8 +56,8 @@ class LicenseVerificationArtifact(proto.Message): rejection_reason: LocalServicesLicenseRejectionReasonEnum.LocalServicesLicenseRejectionReason license_document_readonly: LocalServicesDocumentReadOnly def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., license_type: str = ..., @@ -74,8 +78,8 @@ class LocalServicesVerificationArtifact(proto.Message): insurance_verification_artifact: InsuranceVerificationArtifact license_verification_artifact: LicenseVerificationArtifact def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/location_view.pyi b/google-stubs/ads/googleads/v15/resources/types/location_view.pyi index a250dd34d..5aa3c843b 100644 --- a/google-stubs/ads/googleads/v15/resources/types/location_view.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/location_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class LocationView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v15/resources/types/managed_placement_view.pyi b/google-stubs/ads/googleads/v15/resources/types/managed_placement_view.pyi index 07e369bf6..fc77870c2 100644 --- a/google-stubs/ads/googleads/v15/resources/types/managed_placement_view.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/managed_placement_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ManagedPlacementView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v15/resources/types/media_file.pyi b/google-stubs/ads/googleads/v15/resources/types/media_file.pyi index fc00e96c6..ac75242d5 100644 --- a/google-stubs/ads/googleads/v15/resources/types/media_file.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/media_file.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.media_type import MediaTypeEnum from google.ads.googleads.v15.enums.types.mime_type import MimeTypeEnum +_M = TypeVar("_M") + class MediaAudio(proto.Message): ad_duration_millis: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad_duration_millis: int = ... @@ -19,8 +23,8 @@ class MediaBundle(proto.Message): data: bytes url: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., data: bytes = ..., @@ -40,8 +44,8 @@ class MediaFile(proto.Message): audio: MediaAudio video: MediaVideo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -62,8 +66,8 @@ class MediaImage(proto.Message): full_size_image_url: str preview_size_image_url: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., data: bytes = ..., @@ -77,8 +81,8 @@ class MediaVideo(proto.Message): advertising_id_code: str isci_code: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad_duration_millis: int = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/mobile_app_category_constant.pyi b/google-stubs/ads/googleads/v15/resources/types/mobile_app_category_constant.pyi index 8836379a5..56a525d7d 100644 --- a/google-stubs/ads/googleads/v15/resources/types/mobile_app_category_constant.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/mobile_app_category_constant.pyi @@ -1,14 +1,18 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class MobileAppCategoryConstant(proto.Message): resource_name: str id: int name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/mobile_device_constant.pyi b/google-stubs/ads/googleads/v15/resources/types/mobile_device_constant.pyi index 94ecd96a1..50e389fe3 100644 --- a/google-stubs/ads/googleads/v15/resources/types/mobile_device_constant.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/mobile_device_constant.pyi @@ -1,9 +1,13 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.mobile_device_type import MobileDeviceTypeEnum +_M = TypeVar("_M") + class MobileDeviceConstant(proto.Message): resource_name: str id: int @@ -12,8 +16,8 @@ class MobileDeviceConstant(proto.Message): operating_system_name: str type_: MobileDeviceTypeEnum.MobileDeviceType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/offline_conversion_upload_client_summary.pyi b/google-stubs/ads/googleads/v15/resources/types/offline_conversion_upload_client_summary.pyi index e523e9c6c..40072ce4c 100644 --- a/google-stubs/ads/googleads/v15/resources/types/offline_conversion_upload_client_summary.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/offline_conversion_upload_client_summary.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.offline_conversion_diagnostic_status_enum import ( @@ -32,12 +33,14 @@ from google.ads.googleads.v15.errors.types.string_length_error import ( StringLengthErrorEnum, ) +_M = TypeVar("_M") + class OfflineConversionAlert(proto.Message): error: OfflineConversionError error_percentage: float def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., error: OfflineConversionError = ..., @@ -56,8 +59,8 @@ class OfflineConversionError(proto.Message): string_format_error: StringFormatErrorEnum.StringFormatError string_length_error: StringLengthErrorEnum.StringLengthError def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., collection_size_error: CollectionSizeErrorEnum.CollectionSizeError = ..., @@ -78,8 +81,8 @@ class OfflineConversionSummary(proto.Message): job_id: int upload_date: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., successful_count: int = ..., @@ -100,8 +103,8 @@ class OfflineConversionUploadClientSummary(proto.Message): job_summaries: MutableSequence[OfflineConversionSummary] alerts: MutableSequence[OfflineConversionAlert] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/offline_user_data_job.pyi b/google-stubs/ads/googleads/v15/resources/types/offline_user_data_job.pyi index 325146c1a..b162b23c2 100644 --- a/google-stubs/ads/googleads/v15/resources/types/offline_user_data_job.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/offline_user_data_job.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.offline_user_data import ( @@ -19,6 +21,8 @@ from google.ads.googleads.v15.enums.types.offline_user_data_job_type import ( OfflineUserDataJobTypeEnum, ) +_M = TypeVar("_M") + class OfflineUserDataJob(proto.Message): resource_name: str id: int @@ -30,8 +34,8 @@ class OfflineUserDataJob(proto.Message): customer_match_user_list_metadata: CustomerMatchUserListMetadata store_sales_metadata: StoreSalesMetadata def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -48,8 +52,8 @@ class OfflineUserDataJob(proto.Message): class OfflineUserDataJobMetadata(proto.Message): match_rate_range: OfflineUserDataJobMatchRateRangeEnum.OfflineUserDataJobMatchRateRange def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., match_rate_range: OfflineUserDataJobMatchRateRangeEnum.OfflineUserDataJobMatchRateRange = ... diff --git a/google-stubs/ads/googleads/v15/resources/types/operating_system_version_constant.pyi b/google-stubs/ads/googleads/v15/resources/types/operating_system_version_constant.pyi index 5ca637638..76da15a1d 100644 --- a/google-stubs/ads/googleads/v15/resources/types/operating_system_version_constant.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/operating_system_version_constant.pyi @@ -1,11 +1,15 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.operating_system_version_operator_type import ( OperatingSystemVersionOperatorTypeEnum, ) +_M = TypeVar("_M") + class OperatingSystemVersionConstant(proto.Message): resource_name: str id: int @@ -14,8 +18,8 @@ class OperatingSystemVersionConstant(proto.Message): os_minor_version: int operator_type: OperatingSystemVersionOperatorTypeEnum.OperatingSystemVersionOperatorType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/paid_organic_search_term_view.pyi b/google-stubs/ads/googleads/v15/resources/types/paid_organic_search_term_view.pyi index 2c16a0c38..75021aa0d 100644 --- a/google-stubs/ads/googleads/v15/resources/types/paid_organic_search_term_view.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/paid_organic_search_term_view.pyi @@ -1,13 +1,17 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PaidOrganicSearchTermView(proto.Message): resource_name: str search_term: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/parental_status_view.pyi b/google-stubs/ads/googleads/v15/resources/types/parental_status_view.pyi index 62706fb8a..519486ee9 100644 --- a/google-stubs/ads/googleads/v15/resources/types/parental_status_view.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/parental_status_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ParentalStatusView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v15/resources/types/payments_account.pyi b/google-stubs/ads/googleads/v15/resources/types/payments_account.pyi index 4c86dd996..05a72c828 100644 --- a/google-stubs/ads/googleads/v15/resources/types/payments_account.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/payments_account.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PaymentsAccount(proto.Message): resource_name: str payments_account_id: str @@ -11,8 +15,8 @@ class PaymentsAccount(proto.Message): secondary_payments_profile_id: str paying_manager_customer: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/per_store_view.pyi b/google-stubs/ads/googleads/v15/resources/types/per_store_view.pyi index 6bd1c396a..4620611b3 100644 --- a/google-stubs/ads/googleads/v15/resources/types/per_store_view.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/per_store_view.pyi @@ -1,13 +1,17 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class PerStoreView(proto.Message): resource_name: str place_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/product_category_constant.pyi b/google-stubs/ads/googleads/v15/resources/types/product_category_constant.pyi index e637e8ef4..6c678df1c 100644 --- a/google-stubs/ads/googleads/v15/resources/types/product_category_constant.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/product_category_constant.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.product_category_level import ( @@ -10,14 +11,16 @@ from google.ads.googleads.v15.enums.types.product_category_state import ( ProductCategoryStateEnum, ) +_M = TypeVar("_M") + class ProductCategoryConstant(proto.Message): class ProductCategoryLocalization(proto.Message): region_code: str language_code: str value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., region_code: str = ..., @@ -31,8 +34,8 @@ class ProductCategoryConstant(proto.Message): state: ProductCategoryStateEnum.ProductCategoryState localizations: MutableSequence[ProductCategoryConstant.ProductCategoryLocalization] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/product_group_view.pyi b/google-stubs/ads/googleads/v15/resources/types/product_group_view.pyi index 6f82f4f65..3b358fcb9 100644 --- a/google-stubs/ads/googleads/v15/resources/types/product_group_view.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/product_group_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ProductGroupView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v15/resources/types/product_link.pyi b/google-stubs/ads/googleads/v15/resources/types/product_link.pyi index 9383f480d..994b1926f 100644 --- a/google-stubs/ads/googleads/v15/resources/types/product_link.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/product_link.pyi @@ -1,16 +1,20 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.linked_product_type import ( LinkedProductTypeEnum, ) +_M = TypeVar("_M") + class DataPartnerIdentifier(proto.Message): data_partner_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., data_partner_id: int = ... @@ -19,8 +23,8 @@ class DataPartnerIdentifier(proto.Message): class GoogleAdsIdentifier(proto.Message): customer: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer: str = ... @@ -29,8 +33,8 @@ class GoogleAdsIdentifier(proto.Message): class MerchantCenterIdentifier(proto.Message): merchant_center_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., merchant_center_id: int = ... @@ -44,8 +48,8 @@ class ProductLink(proto.Message): google_ads: GoogleAdsIdentifier merchant_center: MerchantCenterIdentifier def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/product_link_invitation.pyi b/google-stubs/ads/googleads/v15/resources/types/product_link_invitation.pyi index 5527e7a30..63f1edd3e 100644 --- a/google-stubs/ads/googleads/v15/resources/types/product_link_invitation.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/product_link_invitation.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.linked_product_type import ( @@ -9,11 +11,13 @@ from google.ads.googleads.v15.enums.types.product_link_invitation_status import ProductLinkInvitationStatusEnum, ) +_M = TypeVar("_M") + class HotelCenterLinkInvitationIdentifier(proto.Message): hotel_center_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., hotel_center_id: int = ... @@ -22,8 +26,8 @@ class HotelCenterLinkInvitationIdentifier(proto.Message): class MerchantCenterLinkInvitationIdentifier(proto.Message): merchant_center_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., merchant_center_id: int = ... @@ -37,8 +41,8 @@ class ProductLinkInvitation(proto.Message): hotel_center: HotelCenterLinkInvitationIdentifier merchant_center: MerchantCenterLinkInvitationIdentifier def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/qualifying_question.pyi b/google-stubs/ads/googleads/v15/resources/types/qualifying_question.pyi index ec2eec511..091d623b0 100644 --- a/google-stubs/ads/googleads/v15/resources/types/qualifying_question.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/qualifying_question.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class QualifyingQuestion(proto.Message): resource_name: str qualifying_question_id: int locale: str text: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/recommendation.pyi b/google-stubs/ads/googleads/v15/resources/types/recommendation.pyi index bc19ce233..2ec33d4b0 100644 --- a/google-stubs/ads/googleads/v15/resources/types/recommendation.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/recommendation.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.criteria import KeywordInfo @@ -18,11 +19,13 @@ from google.ads.googleads.v15.enums.types.target_cpa_opt_in_recommendation_goal from google.ads.googleads.v15.resources.types.ad import Ad from google.ads.googleads.v15.resources.types.asset import Asset +_M = TypeVar("_M") + class Recommendation(proto.Message): class CallAssetRecommendation(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -32,8 +35,8 @@ class Recommendation(proto.Message): recommended_campaign_callout_assets: MutableSequence[Asset] recommended_customer_callout_assets: MutableSequence[Asset] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., recommended_campaign_callout_assets: MutableSequence[Asset] = ..., @@ -45,8 +48,8 @@ class Recommendation(proto.Message): recommended_new_amount_micros: int new_start_date: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., current_amount_micros: int = ..., @@ -59,8 +62,8 @@ class Recommendation(proto.Message): budget_amount_micros: int impact: Recommendation.RecommendationImpact def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., budget_amount_micros: int = ..., @@ -72,8 +75,8 @@ class Recommendation(proto.Message): Recommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOption ] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., current_budget_amount_micros: int = ..., @@ -85,8 +88,8 @@ class Recommendation(proto.Message): class DisplayExpansionOptInRecommendation(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -94,8 +97,8 @@ class Recommendation(proto.Message): class DynamicImageExtensionOptInRecommendation(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -103,8 +106,8 @@ class Recommendation(proto.Message): class EnhancedCpcOptInRecommendation(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -114,8 +117,8 @@ class Recommendation(proto.Message): recommended_target_cpa_micros: int campaign_budget: Recommendation.CampaignBudget def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., recommended_target_cpa_micros: int = ..., @@ -126,8 +129,8 @@ class Recommendation(proto.Message): recommended_target_roas: float campaign_budget: Recommendation.CampaignBudget def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., recommended_target_roas: float = ..., @@ -137,8 +140,8 @@ class Recommendation(proto.Message): class ImprovePerformanceMaxAdStrengthRecommendation(proto.Message): asset_group: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., asset_group: str = ..., @@ -148,8 +151,8 @@ class Recommendation(proto.Message): keyword: KeywordInfo recommended_match_type: KeywordMatchTypeEnum.KeywordMatchType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., keyword: KeywordInfo = ..., @@ -161,8 +164,8 @@ class Recommendation(proto.Message): text: str estimated_weekly_search_count: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., text: str = ..., @@ -172,8 +175,8 @@ class Recommendation(proto.Message): search_terms: MutableSequence[Recommendation.KeywordRecommendation.SearchTerm] recommended_cpc_bid_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., keyword: KeywordInfo = ..., @@ -186,8 +189,8 @@ class Recommendation(proto.Message): class LowerTargetRoasRecommendation(proto.Message): target_adjustment: Recommendation.TargetAdjustmentInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_adjustment: Recommendation.TargetAdjustmentInfo = ..., @@ -196,8 +199,8 @@ class Recommendation(proto.Message): class MaximizeClicksOptInRecommendation(proto.Message): recommended_budget_amount_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., recommended_budget_amount_micros: int = ..., @@ -206,8 +209,8 @@ class Recommendation(proto.Message): class MaximizeConversionsOptInRecommendation(proto.Message): recommended_budget_amount_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., recommended_budget_amount_micros: int = ..., @@ -218,8 +221,8 @@ class Recommendation(proto.Message): name: str multi_client: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., id: int = ..., @@ -230,8 +233,8 @@ class Recommendation(proto.Message): class MigrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation(proto.Message): apply_link: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., apply_link: str = ..., @@ -241,8 +244,8 @@ class Recommendation(proto.Message): excess_campaign_budget: str budget_recommendation: Recommendation.CampaignBudgetRecommendation def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., excess_campaign_budget: str = ..., @@ -251,8 +254,8 @@ class Recommendation(proto.Message): class OptimizeAdRotationRecommendation(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -260,8 +263,8 @@ class Recommendation(proto.Message): class PerformanceMaxOptInRecommendation(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -271,8 +274,8 @@ class Recommendation(proto.Message): recommended_target_multiplier: float average_target_cpa_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., recommended_target_multiplier: float = ..., @@ -283,8 +286,8 @@ class Recommendation(proto.Message): target_adjustment: Recommendation.TargetAdjustmentInfo app_bidding_goal: AppBiddingGoalEnum.AppBiddingGoal def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_adjustment: Recommendation.TargetAdjustmentInfo = ..., @@ -295,8 +298,8 @@ class Recommendation(proto.Message): base_metrics: Recommendation.RecommendationMetrics potential_metrics: Recommendation.RecommendationMetrics def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., base_metrics: Recommendation.RecommendationMetrics = ..., @@ -310,8 +313,8 @@ class Recommendation(proto.Message): conversions: float video_views: float def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., impressions: float = ..., @@ -325,8 +328,8 @@ class Recommendation(proto.Message): current_ad: Ad recommended_assets: Ad def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., current_ad: Ad = ..., @@ -337,8 +340,8 @@ class Recommendation(proto.Message): current_ad: Ad recommended_ad: Ad def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., current_ad: Ad = ..., @@ -348,8 +351,8 @@ class Recommendation(proto.Message): class ResponsiveSearchAdRecommendation(proto.Message): ad: Ad def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad: Ad = ..., @@ -357,8 +360,8 @@ class Recommendation(proto.Message): class SearchPartnersOptInRecommendation(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -369,8 +372,8 @@ class Recommendation(proto.Message): feed_label: str reason: ShoppingAddProductsToCampaignRecommendationEnum.Reason def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., merchant: Recommendation.MerchantInfo = ..., @@ -384,8 +387,8 @@ class Recommendation(proto.Message): products_count: int disapproved_products_count: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., merchant: Recommendation.MerchantInfo = ..., @@ -398,8 +401,8 @@ class Recommendation(proto.Message): merchant: Recommendation.MerchantInfo feed_label: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., merchant: Recommendation.MerchantInfo = ..., @@ -412,8 +415,8 @@ class Recommendation(proto.Message): merchant: Recommendation.MerchantInfo feed_label: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., merchant: Recommendation.MerchantInfo = ..., @@ -426,8 +429,8 @@ class Recommendation(proto.Message): offers_count: int demoted_offers_count: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., merchant: Recommendation.MerchantInfo = ..., @@ -441,8 +444,8 @@ class Recommendation(proto.Message): untargeted_offers_count: int feed_label: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., merchant: Recommendation.MerchantInfo = ..., @@ -454,8 +457,8 @@ class Recommendation(proto.Message): recommended_campaign_sitelink_assets: MutableSequence[Asset] recommended_customer_sitelink_assets: MutableSequence[Asset] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., recommended_campaign_sitelink_assets: MutableSequence[Asset] = ..., @@ -467,8 +470,8 @@ class Recommendation(proto.Message): recommended_target_multiplier: float current_average_target_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., shared_set: str = ..., @@ -483,8 +486,8 @@ class Recommendation(proto.Message): required_campaign_budget_amount_micros: int impact: Recommendation.RecommendationImpact def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., goal: TargetCpaOptInRecommendationGoalEnum.TargetCpaOptInRecommendationGoal = ..., @@ -497,8 +500,8 @@ class Recommendation(proto.Message): ] recommended_target_cpa_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., options: MutableSequence[ @@ -511,8 +514,8 @@ class Recommendation(proto.Message): recommended_target_roas: float required_campaign_budget_amount_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., recommended_target_roas: float = ..., @@ -524,8 +527,8 @@ class Recommendation(proto.Message): creation_date: str auto_apply_date: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad: Ad = ..., @@ -535,8 +538,8 @@ class Recommendation(proto.Message): class UpgradeLocalCampaignToPerformanceMaxRecommendation(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -546,8 +549,8 @@ class Recommendation(proto.Message): merchant_id: int sales_country_code: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., merchant_id: int = ..., @@ -561,8 +564,8 @@ class Recommendation(proto.Message): campaign_uses_shared_budget: bool required_campaign_budget_amount_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., keyword: MutableSequence[KeywordInfo] = ..., @@ -627,8 +630,8 @@ class Recommendation(proto.Message): set_target_cpa_recommendation: Recommendation.ForecastingSetTargetCpaRecommendation set_target_roas_recommendation: Recommendation.ForecastingSetTargetRoasRecommendation def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/recommendation_subscription.pyi b/google-stubs/ads/googleads/v15/resources/types/recommendation_subscription.pyi index e6b24127f..51bb3290b 100644 --- a/google-stubs/ads/googleads/v15/resources/types/recommendation_subscription.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/recommendation_subscription.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.recommendation_subscription_status import ( @@ -9,6 +11,8 @@ from google.ads.googleads.v15.enums.types.recommendation_type import ( RecommendationTypeEnum, ) +_M = TypeVar("_M") + class RecommendationSubscription(proto.Message): resource_name: str type_: RecommendationTypeEnum.RecommendationType @@ -16,8 +20,8 @@ class RecommendationSubscription(proto.Message): modify_date_time: str status: RecommendationSubscriptionStatusEnum.RecommendationSubscriptionStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/remarketing_action.pyi b/google-stubs/ads/googleads/v15/resources/types/remarketing_action.pyi index a862d09a7..b07f86a38 100644 --- a/google-stubs/ads/googleads/v15/resources/types/remarketing_action.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/remarketing_action.pyi @@ -1,18 +1,21 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.tag_snippet import TagSnippet +_M = TypeVar("_M") + class RemarketingAction(proto.Message): resource_name: str id: int name: str tag_snippets: MutableSequence[TagSnippet] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/search_term_view.pyi b/google-stubs/ads/googleads/v15/resources/types/search_term_view.pyi index d9c880670..68b59a27f 100644 --- a/google-stubs/ads/googleads/v15/resources/types/search_term_view.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/search_term_view.pyi @@ -1,19 +1,23 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.search_term_targeting_status import ( SearchTermTargetingStatusEnum, ) +_M = TypeVar("_M") + class SearchTermView(proto.Message): resource_name: str search_term: str ad_group: str status: SearchTermTargetingStatusEnum.SearchTermTargetingStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/shared_criterion.pyi b/google-stubs/ads/googleads/v15/resources/types/shared_criterion.pyi index 295cd1134..77b2da649 100644 --- a/google-stubs/ads/googleads/v15/resources/types/shared_criterion.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/shared_criterion.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.criteria import ( @@ -13,6 +15,8 @@ from google.ads.googleads.v15.common.types.criteria import ( ) from google.ads.googleads.v15.enums.types.criterion_type import CriterionTypeEnum +_M = TypeVar("_M") + class SharedCriterion(proto.Message): resource_name: str shared_set: str @@ -26,8 +30,8 @@ class SharedCriterion(proto.Message): mobile_application: MobileApplicationInfo brand: BrandInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/shared_set.pyi b/google-stubs/ads/googleads/v15/resources/types/shared_set.pyi index 7caa0b573..5088b47a7 100644 --- a/google-stubs/ads/googleads/v15/resources/types/shared_set.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/shared_set.pyi @@ -1,10 +1,14 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.shared_set_status import SharedSetStatusEnum from google.ads.googleads.v15.enums.types.shared_set_type import SharedSetTypeEnum +_M = TypeVar("_M") + class SharedSet(proto.Message): resource_name: str id: int @@ -14,8 +18,8 @@ class SharedSet(proto.Message): member_count: int reference_count: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/shopping_performance_view.pyi b/google-stubs/ads/googleads/v15/resources/types/shopping_performance_view.pyi index 1e8af2db1..f55bfd55b 100644 --- a/google-stubs/ads/googleads/v15/resources/types/shopping_performance_view.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/shopping_performance_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ShoppingPerformanceView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v15/resources/types/smart_campaign_search_term_view.pyi b/google-stubs/ads/googleads/v15/resources/types/smart_campaign_search_term_view.pyi index 63341d65f..10365a45f 100644 --- a/google-stubs/ads/googleads/v15/resources/types/smart_campaign_search_term_view.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/smart_campaign_search_term_view.pyi @@ -1,14 +1,18 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SmartCampaignSearchTermView(proto.Message): resource_name: str search_term: str campaign: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/smart_campaign_setting.pyi b/google-stubs/ads/googleads/v15/resources/types/smart_campaign_setting.pyi index 255bdd553..30069da4b 100644 --- a/google-stubs/ads/googleads/v15/resources/types/smart_campaign_setting.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/smart_campaign_setting.pyi @@ -1,13 +1,17 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class SmartCampaignSetting(proto.Message): class AdOptimizedBusinessProfileSetting(proto.Message): include_lead_form: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., include_lead_form: bool = ... @@ -17,8 +21,8 @@ class SmartCampaignSetting(proto.Message): phone_number: str country_code: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., phone_number: str = ..., @@ -33,8 +37,8 @@ class SmartCampaignSetting(proto.Message): business_name: str business_profile_location: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/third_party_app_analytics_link.pyi b/google-stubs/ads/googleads/v15/resources/types/third_party_app_analytics_link.pyi index d941e0a11..cfd2fba3f 100644 --- a/google-stubs/ads/googleads/v15/resources/types/third_party_app_analytics_link.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/third_party_app_analytics_link.pyi @@ -1,13 +1,17 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class ThirdPartyAppAnalyticsLink(proto.Message): resource_name: str shareable_link_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/topic_constant.pyi b/google-stubs/ads/googleads/v15/resources/types/topic_constant.pyi index a8978f2f9..48e7d23b4 100644 --- a/google-stubs/ads/googleads/v15/resources/types/topic_constant.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/topic_constant.pyi @@ -1,16 +1,19 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class TopicConstant(proto.Message): resource_name: str id: int topic_constant_parent: str path: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/topic_view.pyi b/google-stubs/ads/googleads/v15/resources/types/topic_view.pyi index 9c0ce6219..b1f5f932e 100644 --- a/google-stubs/ads/googleads/v15/resources/types/topic_view.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/topic_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class TopicView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v15/resources/types/travel_activity_group_view.pyi b/google-stubs/ads/googleads/v15/resources/types/travel_activity_group_view.pyi index c866aac4c..f7f3526a7 100644 --- a/google-stubs/ads/googleads/v15/resources/types/travel_activity_group_view.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/travel_activity_group_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class TravelActivityGroupView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v15/resources/types/travel_activity_performance_view.pyi b/google-stubs/ads/googleads/v15/resources/types/travel_activity_performance_view.pyi index 121c4d458..147bf6301 100644 --- a/google-stubs/ads/googleads/v15/resources/types/travel_activity_performance_view.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/travel_activity_performance_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class TravelActivityPerformanceView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v15/resources/types/user_interest.pyi b/google-stubs/ads/googleads/v15/resources/types/user_interest.pyi index ee3f9d3f4..0584c2825 100644 --- a/google-stubs/ads/googleads/v15/resources/types/user_interest.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/user_interest.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.criterion_category_availability import ( @@ -10,6 +11,8 @@ from google.ads.googleads.v15.enums.types.user_interest_taxonomy_type import ( UserInterestTaxonomyTypeEnum, ) +_M = TypeVar("_M") + class UserInterest(proto.Message): resource_name: str taxonomy_type: UserInterestTaxonomyTypeEnum.UserInterestTaxonomyType @@ -19,8 +22,8 @@ class UserInterest(proto.Message): launched_to_all: bool availabilities: MutableSequence[CriterionCategoryAvailability] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/user_list.pyi b/google-stubs/ads/googleads/v15/resources/types/user_list.pyi index b76045739..6843545ef 100644 --- a/google-stubs/ads/googleads/v15/resources/types/user_list.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/user_list.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.user_lists import ( @@ -25,6 +27,8 @@ from google.ads.googleads.v15.enums.types.user_list_size_range import ( ) from google.ads.googleads.v15.enums.types.user_list_type import UserListTypeEnum +_M = TypeVar("_M") + class UserList(proto.Message): resource_name: str id: int @@ -52,8 +56,8 @@ class UserList(proto.Message): basic_user_list: BasicUserListInfo lookalike_user_list: LookalikeUserListInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/user_location_view.pyi b/google-stubs/ads/googleads/v15/resources/types/user_location_view.pyi index ece0a7d91..4093d91b2 100644 --- a/google-stubs/ads/googleads/v15/resources/types/user_location_view.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/user_location_view.pyi @@ -1,14 +1,18 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class UserLocationView(proto.Message): resource_name: str country_criterion_id: int targeting_location: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/video.pyi b/google-stubs/ads/googleads/v15/resources/types/video.pyi index 1bca0c3d3..92cce03dd 100644 --- a/google-stubs/ads/googleads/v15/resources/types/video.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/video.pyi @@ -1,7 +1,11 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class Video(proto.Message): resource_name: str id: str @@ -9,8 +13,8 @@ class Video(proto.Message): duration_millis: int title: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/resources/types/webpage_view.pyi b/google-stubs/ads/googleads/v15/resources/types/webpage_view.pyi index 4fee73d99..515d03ed9 100644 --- a/google-stubs/ads/googleads/v15/resources/types/webpage_view.pyi +++ b/google-stubs/ads/googleads/v15/resources/types/webpage_view.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class WebpageView(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v15/services/types/account_budget_proposal_service.pyi b/google-stubs/ads/googleads/v15/services/types/account_budget_proposal_service.pyi index 15ab7240d..67b2b85e1 100644 --- a/google-stubs/ads/googleads/v15/services/types/account_budget_proposal_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/account_budget_proposal_service.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask @@ -7,13 +9,15 @@ from google.ads.googleads.v15.resources.types.account_budget_proposal import ( AccountBudgetProposal, ) +_M = TypeVar("_M") + class AccountBudgetProposalOperation(proto.Message): update_mask: FieldMask create: AccountBudgetProposal remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -26,8 +30,8 @@ class MutateAccountBudgetProposalRequest(proto.Message): operation: AccountBudgetProposalOperation validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -38,8 +42,8 @@ class MutateAccountBudgetProposalRequest(proto.Message): class MutateAccountBudgetProposalResponse(proto.Message): result: MutateAccountBudgetProposalResult def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., result: MutateAccountBudgetProposalResult = ... @@ -48,8 +52,8 @@ class MutateAccountBudgetProposalResponse(proto.Message): class MutateAccountBudgetProposalResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v15/services/types/account_link_service.pyi b/google-stubs/ads/googleads/v15/services/types/account_link_service.pyi index 255f42c54..1396b9ffe 100644 --- a/google-stubs/ads/googleads/v15/services/types/account_link_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/account_link_service.pyi @@ -1,18 +1,22 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status from google.ads.googleads.v15.resources.types.account_link import AccountLink +_M = TypeVar("_M") + class AccountLinkOperation(proto.Message): update_mask: FieldMask update: AccountLink remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -24,8 +28,8 @@ class CreateAccountLinkRequest(proto.Message): customer_id: str account_link: AccountLink def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -35,8 +39,8 @@ class CreateAccountLinkRequest(proto.Message): class CreateAccountLinkResponse(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -48,8 +52,8 @@ class MutateAccountLinkRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -62,8 +66,8 @@ class MutateAccountLinkResponse(proto.Message): result: MutateAccountLinkResult partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., result: MutateAccountLinkResult = ..., @@ -73,8 +77,8 @@ class MutateAccountLinkResponse(proto.Message): class MutateAccountLinkResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v15/services/types/ad_group_ad_label_service.pyi b/google-stubs/ads/googleads/v15/services/types/ad_group_ad_label_service.pyi index 0c0058df2..3705d8785 100644 --- a/google-stubs/ads/googleads/v15/services/types/ad_group_ad_label_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/ad_group_ad_label_service.pyi @@ -1,17 +1,20 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status from google.ads.googleads.v15.resources.types.ad_group_ad_label import AdGroupAdLabel +_M = TypeVar("_M") + class AdGroupAdLabelOperation(proto.Message): create: AdGroupAdLabel remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: AdGroupAdLabel = ..., @@ -21,8 +24,8 @@ class AdGroupAdLabelOperation(proto.Message): class MutateAdGroupAdLabelResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -34,8 +37,8 @@ class MutateAdGroupAdLabelsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -48,8 +51,8 @@ class MutateAdGroupAdLabelsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateAdGroupAdLabelResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/ad_group_ad_service.pyi b/google-stubs/ads/googleads/v15/services/types/ad_group_ad_service.pyi index c6f982225..39cbafc99 100644 --- a/google-stubs/ads/googleads/v15/services/types/ad_group_ad_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/ad_group_ad_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -11,6 +12,8 @@ from google.ads.googleads.v15.enums.types.response_content_type import ( ) from google.ads.googleads.v15.resources.types.ad_group_ad import AdGroupAd +_M = TypeVar("_M") + class AdGroupAdOperation(proto.Message): update_mask: FieldMask policy_validation_parameter: PolicyValidationParameter @@ -18,8 +21,8 @@ class AdGroupAdOperation(proto.Message): update: AdGroupAd remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -33,8 +36,8 @@ class MutateAdGroupAdResult(proto.Message): resource_name: str ad_group_ad: AdGroupAd def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -48,8 +51,8 @@ class MutateAdGroupAdsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -63,8 +66,8 @@ class MutateAdGroupAdsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateAdGroupAdResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/ad_group_asset_service.pyi b/google-stubs/ads/googleads/v15/services/types/ad_group_asset_service.pyi index 52e473d37..6ba45470d 100644 --- a/google-stubs/ads/googleads/v15/services/types/ad_group_asset_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/ad_group_asset_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v15.enums.types.response_content_type import ( ) from google.ads.googleads.v15.resources.types.ad_group_asset import AdGroupAsset +_M = TypeVar("_M") + class AdGroupAssetOperation(proto.Message): update_mask: FieldMask create: AdGroupAsset update: AdGroupAsset remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateAdGroupAssetResult(proto.Message): resource_name: str ad_group_asset: AdGroupAsset def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateAdGroupAssetsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateAdGroupAssetsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateAdGroupAssetResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/ad_group_asset_set_service.pyi b/google-stubs/ads/googleads/v15/services/types/ad_group_asset_set_service.pyi index dbc875666..0e403ecf2 100644 --- a/google-stubs/ads/googleads/v15/services/types/ad_group_asset_set_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/ad_group_asset_set_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -9,12 +10,14 @@ from google.ads.googleads.v15.enums.types.response_content_type import ( ) from google.ads.googleads.v15.resources.types.ad_group_asset_set import AdGroupAssetSet +_M = TypeVar("_M") + class AdGroupAssetSetOperation(proto.Message): create: AdGroupAssetSet remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: AdGroupAssetSet = ..., @@ -25,8 +28,8 @@ class MutateAdGroupAssetSetResult(proto.Message): resource_name: str ad_group_asset_set: AdGroupAssetSet def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -40,8 +43,8 @@ class MutateAdGroupAssetSetsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -55,8 +58,8 @@ class MutateAdGroupAssetSetsResponse(proto.Message): results: MutableSequence[MutateAdGroupAssetSetResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateAdGroupAssetSetResult] = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/ad_group_bid_modifier_service.pyi b/google-stubs/ads/googleads/v15/services/types/ad_group_bid_modifier_service.pyi index c65556130..a84552877 100644 --- a/google-stubs/ads/googleads/v15/services/types/ad_group_bid_modifier_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/ad_group_bid_modifier_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -12,14 +13,16 @@ from google.ads.googleads.v15.resources.types.ad_group_bid_modifier import ( AdGroupBidModifier, ) +_M = TypeVar("_M") + class AdGroupBidModifierOperation(proto.Message): update_mask: FieldMask create: AdGroupBidModifier update: AdGroupBidModifier remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -32,8 +35,8 @@ class MutateAdGroupBidModifierResult(proto.Message): resource_name: str ad_group_bid_modifier: AdGroupBidModifier def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -47,8 +50,8 @@ class MutateAdGroupBidModifiersRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -62,8 +65,8 @@ class MutateAdGroupBidModifiersResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateAdGroupBidModifierResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/ad_group_criterion_customizer_service.pyi b/google-stubs/ads/googleads/v15/services/types/ad_group_criterion_customizer_service.pyi index 27c4eca06..23a5707eb 100644 --- a/google-stubs/ads/googleads/v15/services/types/ad_group_criterion_customizer_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/ad_group_criterion_customizer_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -11,12 +12,14 @@ from google.ads.googleads.v15.resources.types.ad_group_criterion_customizer impo AdGroupCriterionCustomizer, ) +_M = TypeVar("_M") + class AdGroupCriterionCustomizerOperation(proto.Message): create: AdGroupCriterionCustomizer remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: AdGroupCriterionCustomizer = ..., @@ -27,8 +30,8 @@ class MutateAdGroupCriterionCustomizerResult(proto.Message): resource_name: str ad_group_criterion_customizer: AdGroupCriterionCustomizer def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -42,8 +45,8 @@ class MutateAdGroupCriterionCustomizersRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -57,8 +60,8 @@ class MutateAdGroupCriterionCustomizersResponse(proto.Message): results: MutableSequence[MutateAdGroupCriterionCustomizerResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateAdGroupCriterionCustomizerResult] = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/ad_group_criterion_label_service.pyi b/google-stubs/ads/googleads/v15/services/types/ad_group_criterion_label_service.pyi index 0cfaea45b..50b6d2e62 100644 --- a/google-stubs/ads/googleads/v15/services/types/ad_group_criterion_label_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/ad_group_criterion_label_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -8,12 +9,14 @@ from google.ads.googleads.v15.resources.types.ad_group_criterion_label import ( AdGroupCriterionLabel, ) +_M = TypeVar("_M") + class AdGroupCriterionLabelOperation(proto.Message): create: AdGroupCriterionLabel remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: AdGroupCriterionLabel = ..., @@ -23,8 +26,8 @@ class AdGroupCriterionLabelOperation(proto.Message): class MutateAdGroupCriterionLabelResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -36,8 +39,8 @@ class MutateAdGroupCriterionLabelsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -50,8 +53,8 @@ class MutateAdGroupCriterionLabelsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateAdGroupCriterionLabelResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/ad_group_criterion_service.pyi b/google-stubs/ads/googleads/v15/services/types/ad_group_criterion_service.pyi index 1120c15f4..2af2c3c8a 100644 --- a/google-stubs/ads/googleads/v15/services/types/ad_group_criterion_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/ad_group_criterion_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -11,6 +12,8 @@ from google.ads.googleads.v15.enums.types.response_content_type import ( ) from google.ads.googleads.v15.resources.types.ad_group_criterion import AdGroupCriterion +_M = TypeVar("_M") + class AdGroupCriterionOperation(proto.Message): update_mask: FieldMask exempt_policy_violation_keys: MutableSequence[PolicyViolationKey] @@ -18,8 +21,8 @@ class AdGroupCriterionOperation(proto.Message): update: AdGroupCriterion remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -36,8 +39,8 @@ class MutateAdGroupCriteriaRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -51,8 +54,8 @@ class MutateAdGroupCriteriaResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateAdGroupCriterionResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -63,8 +66,8 @@ class MutateAdGroupCriterionResult(proto.Message): resource_name: str ad_group_criterion: AdGroupCriterion def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/ad_group_customizer_service.pyi b/google-stubs/ads/googleads/v15/services/types/ad_group_customizer_service.pyi index 8593bee5d..8b37655f6 100644 --- a/google-stubs/ads/googleads/v15/services/types/ad_group_customizer_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/ad_group_customizer_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -11,12 +12,14 @@ from google.ads.googleads.v15.resources.types.ad_group_customizer import ( AdGroupCustomizer, ) +_M = TypeVar("_M") + class AdGroupCustomizerOperation(proto.Message): create: AdGroupCustomizer remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: AdGroupCustomizer = ..., @@ -27,8 +30,8 @@ class MutateAdGroupCustomizerResult(proto.Message): resource_name: str ad_group_customizer: AdGroupCustomizer def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -42,8 +45,8 @@ class MutateAdGroupCustomizersRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -57,8 +60,8 @@ class MutateAdGroupCustomizersResponse(proto.Message): results: MutableSequence[MutateAdGroupCustomizerResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateAdGroupCustomizerResult] = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/ad_group_extension_setting_service.pyi b/google-stubs/ads/googleads/v15/services/types/ad_group_extension_setting_service.pyi index 0fc8b1be5..08fa7348f 100644 --- a/google-stubs/ads/googleads/v15/services/types/ad_group_extension_setting_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/ad_group_extension_setting_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -12,6 +13,8 @@ from google.ads.googleads.v15.resources.types.ad_group_extension_setting import AdGroupExtensionSetting, ) +_M = TypeVar("_M") + class AdGroupExtensionSettingOperation(proto.Message): update_mask: FieldMask response_content_type: ResponseContentTypeEnum.ResponseContentType @@ -19,8 +22,8 @@ class AdGroupExtensionSettingOperation(proto.Message): update: AdGroupExtensionSetting remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -34,8 +37,8 @@ class MutateAdGroupExtensionSettingResult(proto.Message): resource_name: str ad_group_extension_setting: AdGroupExtensionSetting def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -48,8 +51,8 @@ class MutateAdGroupExtensionSettingsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -62,8 +65,8 @@ class MutateAdGroupExtensionSettingsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateAdGroupExtensionSettingResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/ad_group_feed_service.pyi b/google-stubs/ads/googleads/v15/services/types/ad_group_feed_service.pyi index b6a8fd234..ec8d9e6ef 100644 --- a/google-stubs/ads/googleads/v15/services/types/ad_group_feed_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/ad_group_feed_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v15.enums.types.response_content_type import ( ) from google.ads.googleads.v15.resources.types.ad_group_feed import AdGroupFeed +_M = TypeVar("_M") + class AdGroupFeedOperation(proto.Message): update_mask: FieldMask create: AdGroupFeed update: AdGroupFeed remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateAdGroupFeedResult(proto.Message): resource_name: str ad_group_feed: AdGroupFeed def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateAdGroupFeedsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateAdGroupFeedsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateAdGroupFeedResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/ad_group_label_service.pyi b/google-stubs/ads/googleads/v15/services/types/ad_group_label_service.pyi index c1ea2fb7a..7b7131fb2 100644 --- a/google-stubs/ads/googleads/v15/services/types/ad_group_label_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/ad_group_label_service.pyi @@ -1,17 +1,20 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status from google.ads.googleads.v15.resources.types.ad_group_label import AdGroupLabel +_M = TypeVar("_M") + class AdGroupLabelOperation(proto.Message): create: AdGroupLabel remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: AdGroupLabel = ..., @@ -21,8 +24,8 @@ class AdGroupLabelOperation(proto.Message): class MutateAdGroupLabelResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -34,8 +37,8 @@ class MutateAdGroupLabelsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -48,8 +51,8 @@ class MutateAdGroupLabelsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateAdGroupLabelResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/ad_group_service.pyi b/google-stubs/ads/googleads/v15/services/types/ad_group_service.pyi index 59d598fc7..d5659b0b6 100644 --- a/google-stubs/ads/googleads/v15/services/types/ad_group_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/ad_group_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v15.enums.types.response_content_type import ( ) from google.ads.googleads.v15.resources.types.ad_group import AdGroup +_M = TypeVar("_M") + class AdGroupOperation(proto.Message): update_mask: FieldMask create: AdGroup update: AdGroup remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateAdGroupResult(proto.Message): resource_name: str ad_group: AdGroup def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateAdGroupsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateAdGroupsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateAdGroupResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/ad_parameter_service.pyi b/google-stubs/ads/googleads/v15/services/types/ad_parameter_service.pyi index bd50f451d..8f8f10400 100644 --- a/google-stubs/ads/googleads/v15/services/types/ad_parameter_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/ad_parameter_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v15.enums.types.response_content_type import ( ) from google.ads.googleads.v15.resources.types.ad_parameter import AdParameter +_M = TypeVar("_M") + class AdParameterOperation(proto.Message): update_mask: FieldMask create: AdParameter update: AdParameter remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateAdParameterResult(proto.Message): resource_name: str ad_parameter: AdParameter def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateAdParametersRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateAdParametersResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateAdParameterResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/ad_service.pyi b/google-stubs/ads/googleads/v15/services/types/ad_service.pyi index 0193bd723..6332471aa 100644 --- a/google-stubs/ads/googleads/v15/services/types/ad_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/ad_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -11,13 +12,15 @@ from google.ads.googleads.v15.enums.types.response_content_type import ( ) from google.ads.googleads.v15.resources.types.ad import Ad +_M = TypeVar("_M") + class AdOperation(proto.Message): update_mask: FieldMask policy_validation_parameter: PolicyValidationParameter update: Ad def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -28,8 +31,8 @@ class AdOperation(proto.Message): class GetAdRequest(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -39,8 +42,8 @@ class MutateAdResult(proto.Message): resource_name: str ad: Ad def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -54,8 +57,8 @@ class MutateAdsRequest(proto.Message): response_content_type: ResponseContentTypeEnum.ResponseContentType validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -69,8 +72,8 @@ class MutateAdsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateAdResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/asset_group_asset_service.pyi b/google-stubs/ads/googleads/v15/services/types/asset_group_asset_service.pyi index 59b448be7..ea95bf0fd 100644 --- a/google-stubs/ads/googleads/v15/services/types/asset_group_asset_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/asset_group_asset_service.pyi @@ -1,20 +1,23 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status from google.ads.googleads.v15.resources.types.asset_group_asset import AssetGroupAsset +_M = TypeVar("_M") + class AssetGroupAssetOperation(proto.Message): update_mask: FieldMask create: AssetGroupAsset update: AssetGroupAsset remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -26,8 +29,8 @@ class AssetGroupAssetOperation(proto.Message): class MutateAssetGroupAssetResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -39,8 +42,8 @@ class MutateAssetGroupAssetsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -53,8 +56,8 @@ class MutateAssetGroupAssetsResponse(proto.Message): results: MutableSequence[MutateAssetGroupAssetResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateAssetGroupAssetResult] = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/asset_group_listing_group_filter_service.pyi b/google-stubs/ads/googleads/v15/services/types/asset_group_listing_group_filter_service.pyi index e9ce7ee1c..ff8097664 100644 --- a/google-stubs/ads/googleads/v15/services/types/asset_group_listing_group_filter_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/asset_group_listing_group_filter_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask @@ -11,14 +12,16 @@ from google.ads.googleads.v15.resources.types.asset_group_listing_group_filter i AssetGroupListingGroupFilter, ) +_M = TypeVar("_M") + class AssetGroupListingGroupFilterOperation(proto.Message): update_mask: FieldMask create: AssetGroupListingGroupFilter update: AssetGroupListingGroupFilter remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -31,8 +34,8 @@ class MutateAssetGroupListingGroupFilterResult(proto.Message): resource_name: str asset_group_listing_group_filter: AssetGroupListingGroupFilter def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateAssetGroupListingGroupFiltersRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -58,8 +61,8 @@ class MutateAssetGroupListingGroupFiltersRequest(proto.Message): class MutateAssetGroupListingGroupFiltersResponse(proto.Message): results: MutableSequence[MutateAssetGroupListingGroupFilterResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateAssetGroupListingGroupFilterResult] = ... diff --git a/google-stubs/ads/googleads/v15/services/types/asset_group_service.pyi b/google-stubs/ads/googleads/v15/services/types/asset_group_service.pyi index 2a0445c47..708c70fba 100644 --- a/google-stubs/ads/googleads/v15/services/types/asset_group_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/asset_group_service.pyi @@ -1,20 +1,23 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status from google.ads.googleads.v15.resources.types.asset_group import AssetGroup +_M = TypeVar("_M") + class AssetGroupOperation(proto.Message): update_mask: FieldMask create: AssetGroup update: AssetGroup remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -26,8 +29,8 @@ class AssetGroupOperation(proto.Message): class MutateAssetGroupResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -38,8 +41,8 @@ class MutateAssetGroupsRequest(proto.Message): operations: MutableSequence[AssetGroupOperation] validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -51,8 +54,8 @@ class MutateAssetGroupsResponse(proto.Message): results: MutableSequence[MutateAssetGroupResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateAssetGroupResult] = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/asset_group_signal_service.pyi b/google-stubs/ads/googleads/v15/services/types/asset_group_signal_service.pyi index aaef7ae10..b97eb8d6c 100644 --- a/google-stubs/ads/googleads/v15/services/types/asset_group_signal_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/asset_group_signal_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -10,13 +11,15 @@ from google.ads.googleads.v15.enums.types.response_content_type import ( ) from google.ads.googleads.v15.resources.types.asset_group_signal import AssetGroupSignal +_M = TypeVar("_M") + class AssetGroupSignalOperation(proto.Message): exempt_policy_violation_keys: MutableSequence[PolicyViolationKey] create: AssetGroupSignal remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., exempt_policy_violation_keys: MutableSequence[PolicyViolationKey] = ..., @@ -28,8 +31,8 @@ class MutateAssetGroupSignalResult(proto.Message): resource_name: str asset_group_signal: AssetGroupSignal def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -43,8 +46,8 @@ class MutateAssetGroupSignalsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -58,8 +61,8 @@ class MutateAssetGroupSignalsResponse(proto.Message): results: MutableSequence[MutateAssetGroupSignalResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateAssetGroupSignalResult] = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/asset_service.pyi b/google-stubs/ads/googleads/v15/services/types/asset_service.pyi index 4bb82b54f..4a63832ac 100644 --- a/google-stubs/ads/googleads/v15/services/types/asset_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/asset_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,13 +11,15 @@ from google.ads.googleads.v15.enums.types.response_content_type import ( ) from google.ads.googleads.v15.resources.types.asset import Asset +_M = TypeVar("_M") + class AssetOperation(proto.Message): update_mask: FieldMask create: Asset update: Asset def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -28,8 +31,8 @@ class MutateAssetResult(proto.Message): resource_name: str asset: Asset def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -43,8 +46,8 @@ class MutateAssetsRequest(proto.Message): response_content_type: ResponseContentTypeEnum.ResponseContentType validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -58,8 +61,8 @@ class MutateAssetsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateAssetResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/asset_set_asset_service.pyi b/google-stubs/ads/googleads/v15/services/types/asset_set_asset_service.pyi index 987e60f1c..329558e6e 100644 --- a/google-stubs/ads/googleads/v15/services/types/asset_set_asset_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/asset_set_asset_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -9,12 +10,14 @@ from google.ads.googleads.v15.enums.types.response_content_type import ( ) from google.ads.googleads.v15.resources.types.asset_set_asset import AssetSetAsset +_M = TypeVar("_M") + class AssetSetAssetOperation(proto.Message): create: AssetSetAsset remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: AssetSetAsset = ..., @@ -25,8 +28,8 @@ class MutateAssetSetAssetResult(proto.Message): resource_name: str asset_set_asset: AssetSetAsset def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -40,8 +43,8 @@ class MutateAssetSetAssetsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -55,8 +58,8 @@ class MutateAssetSetAssetsResponse(proto.Message): results: MutableSequence[MutateAssetSetAssetResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateAssetSetAssetResult] = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/asset_set_service.pyi b/google-stubs/ads/googleads/v15/services/types/asset_set_service.pyi index 88ef30e4f..b41335f56 100644 --- a/google-stubs/ads/googleads/v15/services/types/asset_set_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/asset_set_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v15.enums.types.response_content_type import ( ) from google.ads.googleads.v15.resources.types.asset_set import AssetSet +_M = TypeVar("_M") + class AssetSetOperation(proto.Message): update_mask: FieldMask create: AssetSet update: AssetSet remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateAssetSetResult(proto.Message): resource_name: str asset_set: AssetSet def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateAssetSetsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateAssetSetsResponse(proto.Message): results: MutableSequence[MutateAssetSetResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateAssetSetResult] = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/audience_insights_service.pyi b/google-stubs/ads/googleads/v15/services/types/audience_insights_service.pyi index 573b09386..96c932076 100644 --- a/google-stubs/ads/googleads/v15/services/types/audience_insights_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/audience_insights_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.criteria import ( @@ -17,12 +18,14 @@ from google.ads.googleads.v15.enums.types.audience_insights_dimension import ( AudienceInsightsDimensionEnum, ) +_M = TypeVar("_M") + class AudienceCompositionAttribute(proto.Message): attribute_metadata: AudienceInsightsAttributeMetadata metrics: AudienceCompositionMetrics def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., attribute_metadata: AudienceInsightsAttributeMetadata = ..., @@ -34,8 +37,8 @@ class AudienceCompositionAttributeCluster(proto.Message): cluster_metrics: AudienceCompositionMetrics attributes: MutableSequence[AudienceCompositionAttribute] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., cluster_display_name: str = ..., @@ -49,8 +52,8 @@ class AudienceCompositionMetrics(proto.Message): index: float score: float def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., baseline_audience_share: float = ..., @@ -64,8 +67,8 @@ class AudienceCompositionSection(proto.Message): top_attributes: MutableSequence[AudienceCompositionAttribute] clustered_attributes: MutableSequence[AudienceCompositionAttributeCluster] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., dimension: AudienceInsightsDimensionEnum.AudienceInsightsDimension = ..., @@ -87,8 +90,8 @@ class AudienceInsightsAttribute(proto.Message): income_range: IncomeRangeInfo youtube_channel: YouTubeChannelInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., age_range: AgeRangeInfo = ..., @@ -113,8 +116,8 @@ class AudienceInsightsAttributeMetadata(proto.Message): dynamic_attribute_metadata: DynamicLineupAttributeMetadata location_attribute_metadata: LocationAttributeMetadata def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., dimension: AudienceInsightsDimensionEnum.AudienceInsightsDimension = ..., @@ -130,8 +133,8 @@ class AudienceInsightsAttributeMetadata(proto.Message): class AudienceInsightsCategory(proto.Message): category_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., category_id: str = ..., @@ -140,8 +143,8 @@ class AudienceInsightsCategory(proto.Message): class AudienceInsightsDynamicLineup(proto.Message): dynamic_lineup_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., dynamic_lineup_id: str = ..., @@ -150,8 +153,8 @@ class AudienceInsightsDynamicLineup(proto.Message): class AudienceInsightsEntity(proto.Message): knowledge_graph_machine_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., knowledge_graph_machine_id: str = ..., @@ -161,8 +164,8 @@ class AudienceInsightsTopic(proto.Message): entity: AudienceInsightsEntity category: AudienceInsightsCategory def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., entity: AudienceInsightsEntity = ..., @@ -177,8 +180,8 @@ class BasicInsightsAudience(proto.Message): user_interests: MutableSequence[UserInterestInfo] topics: MutableSequence[AudienceInsightsTopic] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., country_location: MutableSequence[LocationInfo] = ..., @@ -195,8 +198,8 @@ class DynamicLineupAttributeMetadata(proto.Message): display_name: str youtube_channel_metadata: YouTubeChannelAttributeMetadata def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., youtube_channel: YouTubeChannelInfo = ..., @@ -209,8 +212,8 @@ class DynamicLineupAttributeMetadata(proto.Message): channel_count_upper_bound: int sample_channels: MutableSequence[DynamicLineupAttributeMetadata.SampleChannel] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., inventory_country: LocationInfo = ..., @@ -230,8 +233,8 @@ class GenerateAudienceCompositionInsightsRequest(proto.Message): dimensions: MutableSequence[AudienceInsightsDimensionEnum.AudienceInsightsDimension] customer_insights_group: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -247,8 +250,8 @@ class GenerateAudienceCompositionInsightsRequest(proto.Message): class GenerateAudienceCompositionInsightsResponse(proto.Message): sections: MutableSequence[AudienceCompositionSection] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., sections: MutableSequence[AudienceCompositionSection] = ..., @@ -260,8 +263,8 @@ class GenerateInsightsFinderReportRequest(proto.Message): specific_audience: BasicInsightsAudience customer_insights_group: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -273,8 +276,8 @@ class GenerateInsightsFinderReportRequest(proto.Message): class GenerateInsightsFinderReportResponse(proto.Message): saved_report_url: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., saved_report_url: str = ..., @@ -287,8 +290,8 @@ class GenerateSuggestedTargetingInsightsRequest(proto.Message): data_month: str customer_insights_group: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -301,8 +304,8 @@ class GenerateSuggestedTargetingInsightsRequest(proto.Message): class GenerateSuggestedTargetingInsightsResponse(proto.Message): suggestions: MutableSequence[TargetingSuggestionMetrics] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., suggestions: MutableSequence[TargetingSuggestionMetrics] = ..., @@ -318,8 +321,8 @@ class InsightsAudience(proto.Message): dynamic_lineups: MutableSequence[AudienceInsightsDynamicLineup] topic_audience_combinations: MutableSequence[InsightsAudienceAttributeGroup] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., country_locations: MutableSequence[LocationInfo] = ..., @@ -337,8 +340,8 @@ class InsightsAudience(proto.Message): class InsightsAudienceAttributeGroup(proto.Message): attributes: MutableSequence[AudienceInsightsAttribute] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., attributes: MutableSequence[AudienceInsightsAttribute] = ..., @@ -351,8 +354,8 @@ class ListAudienceInsightsAttributesRequest(proto.Message): customer_insights_group: str location_country_filters: MutableSequence[LocationInfo] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -367,8 +370,8 @@ class ListAudienceInsightsAttributesRequest(proto.Message): class ListAudienceInsightsAttributesResponse(proto.Message): attributes: MutableSequence[AudienceInsightsAttributeMetadata] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., attributes: MutableSequence[AudienceInsightsAttributeMetadata] = ..., @@ -376,8 +379,8 @@ class ListAudienceInsightsAttributesResponse(proto.Message): class ListInsightsEligibleDatesRequest(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -387,8 +390,8 @@ class ListInsightsEligibleDatesResponse(proto.Message): data_months: MutableSequence[str] last_thirty_days: DateRange def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., data_months: MutableSequence[str] = ..., @@ -398,8 +401,8 @@ class ListInsightsEligibleDatesResponse(proto.Message): class LocationAttributeMetadata(proto.Message): country_location: LocationInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., country_location: LocationInfo = ..., @@ -414,8 +417,8 @@ class TargetingSuggestionMetrics(proto.Message): index: float potential_youtube_reach: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., locations: MutableSequence[AudienceInsightsAttributeMetadata] = ..., @@ -430,8 +433,8 @@ class TargetingSuggestionMetrics(proto.Message): class YouTubeChannelAttributeMetadata(proto.Message): subscriber_count: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., subscriber_count: int = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/audience_service.pyi b/google-stubs/ads/googleads/v15/services/types/audience_service.pyi index 0d279714e..86db9e980 100644 --- a/google-stubs/ads/googleads/v15/services/types/audience_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/audience_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,13 +11,15 @@ from google.ads.googleads.v15.enums.types.response_content_type import ( ) from google.ads.googleads.v15.resources.types.audience import Audience +_M = TypeVar("_M") + class AudienceOperation(proto.Message): update_mask: FieldMask create: Audience update: Audience def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -28,8 +31,8 @@ class MutateAudienceResult(proto.Message): resource_name: str audience: Audience def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -43,8 +46,8 @@ class MutateAudiencesRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -58,8 +61,8 @@ class MutateAudiencesResponse(proto.Message): results: MutableSequence[MutateAudienceResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateAudienceResult] = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/batch_job_service.pyi b/google-stubs/ads/googleads/v15/services/types/batch_job_service.pyi index f90357e75..ef23f71bf 100644 --- a/google-stubs/ads/googleads/v15/services/types/batch_job_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/batch_job_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -13,13 +14,15 @@ from google.ads.googleads.v15.services.types.google_ads_service import ( MutateOperationResponse, ) +_M = TypeVar("_M") + class AddBatchJobOperationsRequest(proto.Message): resource_name: str sequence_token: str mutate_operations: MutableSequence[MutateOperation] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -31,8 +34,8 @@ class AddBatchJobOperationsResponse(proto.Message): total_operations: int next_sequence_token: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., total_operations: int = ..., @@ -43,8 +46,8 @@ class BatchJobOperation(proto.Message): create: BatchJob remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: BatchJob = ..., @@ -56,8 +59,8 @@ class BatchJobResult(proto.Message): mutate_operation_response: MutateOperationResponse status: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., operation_index: int = ..., @@ -71,8 +74,8 @@ class ListBatchJobResultsRequest(proto.Message): page_size: int response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -85,8 +88,8 @@ class ListBatchJobResultsResponse(proto.Message): results: MutableSequence[BatchJobResult] next_page_token: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[BatchJobResult] = ..., @@ -97,8 +100,8 @@ class MutateBatchJobRequest(proto.Message): customer_id: str operation: BatchJobOperation def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -108,8 +111,8 @@ class MutateBatchJobRequest(proto.Message): class MutateBatchJobResponse(proto.Message): result: MutateBatchJobResult def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., result: MutateBatchJobResult = ... @@ -118,8 +121,8 @@ class MutateBatchJobResponse(proto.Message): class MutateBatchJobResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -128,8 +131,8 @@ class MutateBatchJobResult(proto.Message): class RunBatchJobRequest(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v15/services/types/bidding_data_exclusion_service.pyi b/google-stubs/ads/googleads/v15/services/types/bidding_data_exclusion_service.pyi index 44b1dedcb..03d6e7572 100644 --- a/google-stubs/ads/googleads/v15/services/types/bidding_data_exclusion_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/bidding_data_exclusion_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -12,14 +13,16 @@ from google.ads.googleads.v15.resources.types.bidding_data_exclusion import ( BiddingDataExclusion, ) +_M = TypeVar("_M") + class BiddingDataExclusionOperation(proto.Message): update_mask: FieldMask create: BiddingDataExclusion update: BiddingDataExclusion remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -35,8 +38,8 @@ class MutateBiddingDataExclusionsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -50,8 +53,8 @@ class MutateBiddingDataExclusionsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateBiddingDataExclusionsResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -62,8 +65,8 @@ class MutateBiddingDataExclusionsResult(proto.Message): resource_name: str bidding_data_exclusion: BiddingDataExclusion def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/bidding_seasonality_adjustment_service.pyi b/google-stubs/ads/googleads/v15/services/types/bidding_seasonality_adjustment_service.pyi index 9a4c4632f..bd1574b14 100644 --- a/google-stubs/ads/googleads/v15/services/types/bidding_seasonality_adjustment_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/bidding_seasonality_adjustment_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -12,14 +13,16 @@ from google.ads.googleads.v15.resources.types.bidding_seasonality_adjustment imp BiddingSeasonalityAdjustment, ) +_M = TypeVar("_M") + class BiddingSeasonalityAdjustmentOperation(proto.Message): update_mask: FieldMask create: BiddingSeasonalityAdjustment update: BiddingSeasonalityAdjustment remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -35,8 +38,8 @@ class MutateBiddingSeasonalityAdjustmentsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -50,8 +53,8 @@ class MutateBiddingSeasonalityAdjustmentsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateBiddingSeasonalityAdjustmentsResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -62,8 +65,8 @@ class MutateBiddingSeasonalityAdjustmentsResult(proto.Message): resource_name: str bidding_seasonality_adjustment: BiddingSeasonalityAdjustment def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/bidding_strategy_service.pyi b/google-stubs/ads/googleads/v15/services/types/bidding_strategy_service.pyi index 6439f71be..57615e5da 100644 --- a/google-stubs/ads/googleads/v15/services/types/bidding_strategy_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/bidding_strategy_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v15.enums.types.response_content_type import ( ) from google.ads.googleads.v15.resources.types.bidding_strategy import BiddingStrategy +_M = TypeVar("_M") + class BiddingStrategyOperation(proto.Message): update_mask: FieldMask create: BiddingStrategy update: BiddingStrategy remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -33,8 +36,8 @@ class MutateBiddingStrategiesRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -48,8 +51,8 @@ class MutateBiddingStrategiesResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateBiddingStrategyResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -60,8 +63,8 @@ class MutateBiddingStrategyResult(proto.Message): resource_name: str bidding_strategy: BiddingStrategy def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/billing_setup_service.pyi b/google-stubs/ads/googleads/v15/services/types/billing_setup_service.pyi index 437256322..adae06a97 100644 --- a/google-stubs/ads/googleads/v15/services/types/billing_setup_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/billing_setup_service.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.resources.types.billing_setup import BillingSetup +_M = TypeVar("_M") + class BillingSetupOperation(proto.Message): create: BillingSetup remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: BillingSetup = ..., @@ -20,8 +24,8 @@ class MutateBillingSetupRequest(proto.Message): customer_id: str operation: BillingSetupOperation def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -31,8 +35,8 @@ class MutateBillingSetupRequest(proto.Message): class MutateBillingSetupResponse(proto.Message): result: MutateBillingSetupResult def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., result: MutateBillingSetupResult = ... @@ -41,8 +45,8 @@ class MutateBillingSetupResponse(proto.Message): class MutateBillingSetupResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v15/services/types/brand_suggestion_service.pyi b/google-stubs/ads/googleads/v15/services/types/brand_suggestion_service.pyi index 546748e7a..83f3d238b 100644 --- a/google-stubs/ads/googleads/v15/services/types/brand_suggestion_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/brand_suggestion_service.pyi @@ -1,18 +1,21 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.brand_state import BrandStateEnum +_M = TypeVar("_M") + class BrandSuggestion(proto.Message): id: str name: str urls: MutableSequence[str] state: BrandStateEnum.BrandState def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., id: str = ..., @@ -26,8 +29,8 @@ class SuggestBrandsRequest(proto.Message): brand_prefix: str selected_brands: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -38,8 +41,8 @@ class SuggestBrandsRequest(proto.Message): class SuggestBrandsResponse(proto.Message): brands: MutableSequence[BrandSuggestion] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., brands: MutableSequence[BrandSuggestion] = ... diff --git a/google-stubs/ads/googleads/v15/services/types/campaign_asset_service.pyi b/google-stubs/ads/googleads/v15/services/types/campaign_asset_service.pyi index 76cad1b07..f9a2605c4 100644 --- a/google-stubs/ads/googleads/v15/services/types/campaign_asset_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/campaign_asset_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v15.enums.types.response_content_type import ( ) from google.ads.googleads.v15.resources.types.campaign_asset import CampaignAsset +_M = TypeVar("_M") + class CampaignAssetOperation(proto.Message): update_mask: FieldMask create: CampaignAsset update: CampaignAsset remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateCampaignAssetResult(proto.Message): resource_name: str campaign_asset: CampaignAsset def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateCampaignAssetsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateCampaignAssetsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateCampaignAssetResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/campaign_asset_set_service.pyi b/google-stubs/ads/googleads/v15/services/types/campaign_asset_set_service.pyi index b110d6fdd..e0a0cad38 100644 --- a/google-stubs/ads/googleads/v15/services/types/campaign_asset_set_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/campaign_asset_set_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -9,12 +10,14 @@ from google.ads.googleads.v15.enums.types.response_content_type import ( ) from google.ads.googleads.v15.resources.types.campaign_asset_set import CampaignAssetSet +_M = TypeVar("_M") + class CampaignAssetSetOperation(proto.Message): create: CampaignAssetSet remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: CampaignAssetSet = ..., @@ -25,8 +28,8 @@ class MutateCampaignAssetSetResult(proto.Message): resource_name: str campaign_asset_set: CampaignAssetSet def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -40,8 +43,8 @@ class MutateCampaignAssetSetsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -55,8 +58,8 @@ class MutateCampaignAssetSetsResponse(proto.Message): results: MutableSequence[MutateCampaignAssetSetResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateCampaignAssetSetResult] = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/campaign_bid_modifier_service.pyi b/google-stubs/ads/googleads/v15/services/types/campaign_bid_modifier_service.pyi index 33ae81df0..5737478be 100644 --- a/google-stubs/ads/googleads/v15/services/types/campaign_bid_modifier_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/campaign_bid_modifier_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -12,14 +13,16 @@ from google.ads.googleads.v15.resources.types.campaign_bid_modifier import ( CampaignBidModifier, ) +_M = TypeVar("_M") + class CampaignBidModifierOperation(proto.Message): update_mask: FieldMask create: CampaignBidModifier update: CampaignBidModifier remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -32,8 +35,8 @@ class MutateCampaignBidModifierResult(proto.Message): resource_name: str campaign_bid_modifier: CampaignBidModifier def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -47,8 +50,8 @@ class MutateCampaignBidModifiersRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -62,8 +65,8 @@ class MutateCampaignBidModifiersResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateCampaignBidModifierResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/campaign_budget_service.pyi b/google-stubs/ads/googleads/v15/services/types/campaign_budget_service.pyi index 9935efc31..5e128f595 100644 --- a/google-stubs/ads/googleads/v15/services/types/campaign_budget_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/campaign_budget_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v15.enums.types.response_content_type import ( ) from google.ads.googleads.v15.resources.types.campaign_budget import CampaignBudget +_M = TypeVar("_M") + class CampaignBudgetOperation(proto.Message): update_mask: FieldMask create: CampaignBudget update: CampaignBudget remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateCampaignBudgetResult(proto.Message): resource_name: str campaign_budget: CampaignBudget def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateCampaignBudgetsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateCampaignBudgetsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateCampaignBudgetResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/campaign_conversion_goal_service.pyi b/google-stubs/ads/googleads/v15/services/types/campaign_conversion_goal_service.pyi index e028d0619..977e8913a 100644 --- a/google-stubs/ads/googleads/v15/services/types/campaign_conversion_goal_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/campaign_conversion_goal_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask @@ -8,12 +9,14 @@ from google.ads.googleads.v15.resources.types.campaign_conversion_goal import ( CampaignConversionGoal, ) +_M = TypeVar("_M") + class CampaignConversionGoalOperation(proto.Message): update_mask: FieldMask update: CampaignConversionGoal def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -23,8 +26,8 @@ class CampaignConversionGoalOperation(proto.Message): class MutateCampaignConversionGoalResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -35,8 +38,8 @@ class MutateCampaignConversionGoalsRequest(proto.Message): operations: MutableSequence[CampaignConversionGoalOperation] validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -47,8 +50,8 @@ class MutateCampaignConversionGoalsRequest(proto.Message): class MutateCampaignConversionGoalsResponse(proto.Message): results: MutableSequence[MutateCampaignConversionGoalResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateCampaignConversionGoalResult] = ... diff --git a/google-stubs/ads/googleads/v15/services/types/campaign_criterion_service.pyi b/google-stubs/ads/googleads/v15/services/types/campaign_criterion_service.pyi index fa9f8ac46..0599e5596 100644 --- a/google-stubs/ads/googleads/v15/services/types/campaign_criterion_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/campaign_criterion_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -12,14 +13,16 @@ from google.ads.googleads.v15.resources.types.campaign_criterion import ( CampaignCriterion, ) +_M = TypeVar("_M") + class CampaignCriterionOperation(proto.Message): update_mask: FieldMask create: CampaignCriterion update: CampaignCriterion remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -35,8 +38,8 @@ class MutateCampaignCriteriaRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -50,8 +53,8 @@ class MutateCampaignCriteriaResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateCampaignCriterionResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -62,8 +65,8 @@ class MutateCampaignCriterionResult(proto.Message): resource_name: str campaign_criterion: CampaignCriterion def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/campaign_customizer_service.pyi b/google-stubs/ads/googleads/v15/services/types/campaign_customizer_service.pyi index d5fb60eed..e4e58e522 100644 --- a/google-stubs/ads/googleads/v15/services/types/campaign_customizer_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/campaign_customizer_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -11,12 +12,14 @@ from google.ads.googleads.v15.resources.types.campaign_customizer import ( CampaignCustomizer, ) +_M = TypeVar("_M") + class CampaignCustomizerOperation(proto.Message): create: CampaignCustomizer remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: CampaignCustomizer = ..., @@ -27,8 +30,8 @@ class MutateCampaignCustomizerResult(proto.Message): resource_name: str campaign_customizer: CampaignCustomizer def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -42,8 +45,8 @@ class MutateCampaignCustomizersRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -57,8 +60,8 @@ class MutateCampaignCustomizersResponse(proto.Message): results: MutableSequence[MutateCampaignCustomizerResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateCampaignCustomizerResult] = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/campaign_draft_service.pyi b/google-stubs/ads/googleads/v15/services/types/campaign_draft_service.pyi index 6c58c4a68..9f2d9205c 100644 --- a/google-stubs/ads/googleads/v15/services/types/campaign_draft_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/campaign_draft_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v15.enums.types.response_content_type import ( ) from google.ads.googleads.v15.resources.types.campaign_draft import CampaignDraft +_M = TypeVar("_M") + class CampaignDraftOperation(proto.Message): update_mask: FieldMask create: CampaignDraft update: CampaignDraft remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -31,8 +34,8 @@ class ListCampaignDraftAsyncErrorsRequest(proto.Message): page_token: str page_size: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -44,8 +47,8 @@ class ListCampaignDraftAsyncErrorsResponse(proto.Message): errors: MutableSequence[Status] next_page_token: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., errors: MutableSequence[Status] = ..., @@ -56,8 +59,8 @@ class MutateCampaignDraftResult(proto.Message): resource_name: str campaign_draft: CampaignDraft def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -71,8 +74,8 @@ class MutateCampaignDraftsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -86,8 +89,8 @@ class MutateCampaignDraftsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateCampaignDraftResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -98,8 +101,8 @@ class PromoteCampaignDraftRequest(proto.Message): campaign_draft: str validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., campaign_draft: str = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/campaign_extension_setting_service.pyi b/google-stubs/ads/googleads/v15/services/types/campaign_extension_setting_service.pyi index 807057b9b..989225f58 100644 --- a/google-stubs/ads/googleads/v15/services/types/campaign_extension_setting_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/campaign_extension_setting_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -12,14 +13,16 @@ from google.ads.googleads.v15.resources.types.campaign_extension_setting import CampaignExtensionSetting, ) +_M = TypeVar("_M") + class CampaignExtensionSettingOperation(proto.Message): update_mask: FieldMask create: CampaignExtensionSetting update: CampaignExtensionSetting remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -32,8 +35,8 @@ class MutateCampaignExtensionSettingResult(proto.Message): resource_name: str campaign_extension_setting: CampaignExtensionSetting def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -47,8 +50,8 @@ class MutateCampaignExtensionSettingsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -62,8 +65,8 @@ class MutateCampaignExtensionSettingsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateCampaignExtensionSettingResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/campaign_feed_service.pyi b/google-stubs/ads/googleads/v15/services/types/campaign_feed_service.pyi index 167b0843b..243501b03 100644 --- a/google-stubs/ads/googleads/v15/services/types/campaign_feed_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/campaign_feed_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v15.enums.types.response_content_type import ( ) from google.ads.googleads.v15.resources.types.campaign_feed import CampaignFeed +_M = TypeVar("_M") + class CampaignFeedOperation(proto.Message): update_mask: FieldMask create: CampaignFeed update: CampaignFeed remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateCampaignFeedResult(proto.Message): resource_name: str campaign_feed: CampaignFeed def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateCampaignFeedsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateCampaignFeedsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateCampaignFeedResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/campaign_group_service.pyi b/google-stubs/ads/googleads/v15/services/types/campaign_group_service.pyi index 17f29d982..454ec4f45 100644 --- a/google-stubs/ads/googleads/v15/services/types/campaign_group_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/campaign_group_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v15.enums.types.response_content_type import ( ) from google.ads.googleads.v15.resources.types.campaign_group import CampaignGroup +_M = TypeVar("_M") + class CampaignGroupOperation(proto.Message): update_mask: FieldMask create: CampaignGroup update: CampaignGroup remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateCampaignGroupResult(proto.Message): resource_name: str campaign_group: CampaignGroup def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateCampaignGroupsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateCampaignGroupsResponse(proto.Message): results: MutableSequence[MutateCampaignGroupResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateCampaignGroupResult] = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/campaign_label_service.pyi b/google-stubs/ads/googleads/v15/services/types/campaign_label_service.pyi index f042b7adf..d5f36259c 100644 --- a/google-stubs/ads/googleads/v15/services/types/campaign_label_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/campaign_label_service.pyi @@ -1,17 +1,20 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status from google.ads.googleads.v15.resources.types.campaign_label import CampaignLabel +_M = TypeVar("_M") + class CampaignLabelOperation(proto.Message): create: CampaignLabel remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: CampaignLabel = ..., @@ -21,8 +24,8 @@ class CampaignLabelOperation(proto.Message): class MutateCampaignLabelResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -34,8 +37,8 @@ class MutateCampaignLabelsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -48,8 +51,8 @@ class MutateCampaignLabelsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateCampaignLabelResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/campaign_lifecycle_goal_service.pyi b/google-stubs/ads/googleads/v15/services/types/campaign_lifecycle_goal_service.pyi index 1c9a0a041..ea97d2b9b 100644 --- a/google-stubs/ads/googleads/v15/services/types/campaign_lifecycle_goal_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/campaign_lifecycle_goal_service.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask @@ -7,12 +9,14 @@ from google.ads.googleads.v15.resources.types.campaign_lifecycle_goal import ( CampaignLifecycleGoal, ) +_M = TypeVar("_M") + class CampaignLifecycleGoalOperation(proto.Message): update_mask: FieldMask create: CampaignLifecycleGoal def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -24,8 +28,8 @@ class ConfigureCampaignLifecycleGoalsRequest(proto.Message): operation: CampaignLifecycleGoalOperation validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -36,8 +40,8 @@ class ConfigureCampaignLifecycleGoalsRequest(proto.Message): class ConfigureCampaignLifecycleGoalsResponse(proto.Message): result: ConfigureCampaignLifecycleGoalsResult def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., result: ConfigureCampaignLifecycleGoalsResult = ... @@ -46,8 +50,8 @@ class ConfigureCampaignLifecycleGoalsResponse(proto.Message): class ConfigureCampaignLifecycleGoalsResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v15/services/types/campaign_service.pyi b/google-stubs/ads/googleads/v15/services/types/campaign_service.pyi index 51e9aa681..b58b8ff35 100644 --- a/google-stubs/ads/googleads/v15/services/types/campaign_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/campaign_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v15.enums.types.response_content_type import ( ) from google.ads.googleads.v15.resources.types.campaign import Campaign +_M = TypeVar("_M") + class CampaignOperation(proto.Message): update_mask: FieldMask create: Campaign update: Campaign remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateCampaignResult(proto.Message): resource_name: str campaign: Campaign def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateCampaignsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateCampaignsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateCampaignResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/campaign_shared_set_service.pyi b/google-stubs/ads/googleads/v15/services/types/campaign_shared_set_service.pyi index 47cee7c7c..4327eb886 100644 --- a/google-stubs/ads/googleads/v15/services/types/campaign_shared_set_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/campaign_shared_set_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -11,12 +12,14 @@ from google.ads.googleads.v15.resources.types.campaign_shared_set import ( CampaignSharedSet, ) +_M = TypeVar("_M") + class CampaignSharedSetOperation(proto.Message): create: CampaignSharedSet remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: CampaignSharedSet = ..., @@ -27,8 +30,8 @@ class MutateCampaignSharedSetResult(proto.Message): resource_name: str campaign_shared_set: CampaignSharedSet def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -42,8 +45,8 @@ class MutateCampaignSharedSetsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -57,8 +60,8 @@ class MutateCampaignSharedSetsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateCampaignSharedSetResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/conversion_action_service.pyi b/google-stubs/ads/googleads/v15/services/types/conversion_action_service.pyi index d6a2ad486..d5a7b1820 100644 --- a/google-stubs/ads/googleads/v15/services/types/conversion_action_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/conversion_action_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v15.enums.types.response_content_type import ( ) from google.ads.googleads.v15.resources.types.conversion_action import ConversionAction +_M = TypeVar("_M") + class ConversionActionOperation(proto.Message): update_mask: FieldMask create: ConversionAction update: ConversionAction remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateConversionActionResult(proto.Message): resource_name: str conversion_action: ConversionAction def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateConversionActionsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateConversionActionsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateConversionActionResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/conversion_adjustment_upload_service.pyi b/google-stubs/ads/googleads/v15/services/types/conversion_adjustment_upload_service.pyi index 466d484ac..b9bb9fb0f 100644 --- a/google-stubs/ads/googleads/v15/services/types/conversion_adjustment_upload_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/conversion_adjustment_upload_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -9,6 +10,8 @@ from google.ads.googleads.v15.enums.types.conversion_adjustment_type import ( ConversionAdjustmentTypeEnum, ) +_M = TypeVar("_M") + class ConversionAdjustment(proto.Message): gclid_date_time_pair: GclidDateTimePair order_id: str @@ -19,8 +22,8 @@ class ConversionAdjustment(proto.Message): user_identifiers: MutableSequence[UserIdentifier] user_agent: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., gclid_date_time_pair: GclidDateTimePair = ..., @@ -40,8 +43,8 @@ class ConversionAdjustmentResult(proto.Message): adjustment_date_time: str adjustment_type: ConversionAdjustmentTypeEnum.ConversionAdjustmentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., gclid_date_time_pair: GclidDateTimePair = ..., @@ -55,8 +58,8 @@ class GclidDateTimePair(proto.Message): gclid: str conversion_date_time: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., gclid: str = ..., @@ -67,8 +70,8 @@ class RestatementValue(proto.Message): adjusted_value: float currency_code: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., adjusted_value: float = ..., @@ -82,8 +85,8 @@ class UploadConversionAdjustmentsRequest(proto.Message): validate_only: bool job_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -98,8 +101,8 @@ class UploadConversionAdjustmentsResponse(proto.Message): results: MutableSequence[ConversionAdjustmentResult] job_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/conversion_custom_variable_service.pyi b/google-stubs/ads/googleads/v15/services/types/conversion_custom_variable_service.pyi index 56f9ba38f..07251eafc 100644 --- a/google-stubs/ads/googleads/v15/services/types/conversion_custom_variable_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/conversion_custom_variable_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -12,13 +13,15 @@ from google.ads.googleads.v15.resources.types.conversion_custom_variable import ConversionCustomVariable, ) +_M = TypeVar("_M") + class ConversionCustomVariableOperation(proto.Message): update_mask: FieldMask create: ConversionCustomVariable update: ConversionCustomVariable def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateConversionCustomVariableResult(proto.Message): resource_name: str conversion_custom_variable: ConversionCustomVariable def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateConversionCustomVariablesRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateConversionCustomVariablesResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateConversionCustomVariableResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/conversion_goal_campaign_config_service.pyi b/google-stubs/ads/googleads/v15/services/types/conversion_goal_campaign_config_service.pyi index 00332b9b6..2b798f55a 100644 --- a/google-stubs/ads/googleads/v15/services/types/conversion_goal_campaign_config_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/conversion_goal_campaign_config_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask @@ -11,12 +12,14 @@ from google.ads.googleads.v15.resources.types.conversion_goal_campaign_config im ConversionGoalCampaignConfig, ) +_M = TypeVar("_M") + class ConversionGoalCampaignConfigOperation(proto.Message): update_mask: FieldMask update: ConversionGoalCampaignConfig def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -27,8 +30,8 @@ class MutateConversionGoalCampaignConfigResult(proto.Message): resource_name: str conversion_goal_campaign_config: ConversionGoalCampaignConfig def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -41,8 +44,8 @@ class MutateConversionGoalCampaignConfigsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -54,8 +57,8 @@ class MutateConversionGoalCampaignConfigsRequest(proto.Message): class MutateConversionGoalCampaignConfigsResponse(proto.Message): results: MutableSequence[MutateConversionGoalCampaignConfigResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateConversionGoalCampaignConfigResult] = ... diff --git a/google-stubs/ads/googleads/v15/services/types/conversion_upload_service.pyi b/google-stubs/ads/googleads/v15/services/types/conversion_upload_service.pyi index 260a12172..1e3e6f281 100644 --- a/google-stubs/ads/googleads/v15/services/types/conversion_upload_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/conversion_upload_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -10,6 +11,8 @@ from google.ads.googleads.v15.enums.types.conversion_environment_enum import ( ConversionEnvironmentEnum, ) +_M = TypeVar("_M") + class CallConversion(proto.Message): caller_id: str call_start_date_time: str @@ -20,8 +23,8 @@ class CallConversion(proto.Message): custom_variables: MutableSequence[CustomVariable] consent: Consent def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., caller_id: str = ..., @@ -40,8 +43,8 @@ class CallConversionResult(proto.Message): conversion_action: str conversion_date_time: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., caller_id: str = ..., @@ -56,8 +59,8 @@ class CartData(proto.Message): quantity: int unit_price: float def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., product_id: str = ..., @@ -70,8 +73,8 @@ class CartData(proto.Message): local_transaction_cost: float items: MutableSequence[CartData.Item] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., merchant_id: int = ..., @@ -97,8 +100,8 @@ class ClickConversion(proto.Message): conversion_environment: ConversionEnvironmentEnum.ConversionEnvironment consent: Consent def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., gclid: str = ..., @@ -125,8 +128,8 @@ class ClickConversionResult(proto.Message): conversion_date_time: str user_identifiers: MutableSequence[UserIdentifier] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., gclid: str = ..., @@ -141,8 +144,8 @@ class CustomVariable(proto.Message): conversion_custom_variable: str value: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., conversion_custom_variable: str = ..., @@ -153,8 +156,8 @@ class ExternalAttributionData(proto.Message): external_attribution_credit: float external_attribution_model: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., external_attribution_credit: float = ..., @@ -167,8 +170,8 @@ class UploadCallConversionsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -181,8 +184,8 @@ class UploadCallConversionsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[CallConversionResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -197,8 +200,8 @@ class UploadClickConversionsRequest(proto.Message): debug_enabled: bool job_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -214,8 +217,8 @@ class UploadClickConversionsResponse(proto.Message): results: MutableSequence[ClickConversionResult] job_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/conversion_value_rule_service.pyi b/google-stubs/ads/googleads/v15/services/types/conversion_value_rule_service.pyi index 6ba946878..1744bb8bd 100644 --- a/google-stubs/ads/googleads/v15/services/types/conversion_value_rule_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/conversion_value_rule_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -12,14 +13,16 @@ from google.ads.googleads.v15.resources.types.conversion_value_rule import ( ConversionValueRule, ) +_M = TypeVar("_M") + class ConversionValueRuleOperation(proto.Message): update_mask: FieldMask create: ConversionValueRule update: ConversionValueRule remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -32,8 +35,8 @@ class MutateConversionValueRuleResult(proto.Message): resource_name: str conversion_value_rule: ConversionValueRule def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -47,8 +50,8 @@ class MutateConversionValueRulesRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -62,8 +65,8 @@ class MutateConversionValueRulesResponse(proto.Message): results: MutableSequence[MutateConversionValueRuleResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateConversionValueRuleResult] = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/conversion_value_rule_set_service.pyi b/google-stubs/ads/googleads/v15/services/types/conversion_value_rule_set_service.pyi index d1a00e24d..64b57f897 100644 --- a/google-stubs/ads/googleads/v15/services/types/conversion_value_rule_set_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/conversion_value_rule_set_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -12,14 +13,16 @@ from google.ads.googleads.v15.resources.types.conversion_value_rule_set import ( ConversionValueRuleSet, ) +_M = TypeVar("_M") + class ConversionValueRuleSetOperation(proto.Message): update_mask: FieldMask create: ConversionValueRuleSet update: ConversionValueRuleSet remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -32,8 +35,8 @@ class MutateConversionValueRuleSetResult(proto.Message): resource_name: str conversion_value_rule_set: ConversionValueRuleSet def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -47,8 +50,8 @@ class MutateConversionValueRuleSetsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -62,8 +65,8 @@ class MutateConversionValueRuleSetsResponse(proto.Message): results: MutableSequence[MutateConversionValueRuleSetResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateConversionValueRuleSetResult] = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/custom_audience_service.pyi b/google-stubs/ads/googleads/v15/services/types/custom_audience_service.pyi index 5090f686e..7a3361e72 100644 --- a/google-stubs/ads/googleads/v15/services/types/custom_audience_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/custom_audience_service.pyi @@ -1,19 +1,22 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.ads.googleads.v15.resources.types.custom_audience import CustomAudience +_M = TypeVar("_M") + class CustomAudienceOperation(proto.Message): update_mask: FieldMask create: CustomAudience update: CustomAudience remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -25,8 +28,8 @@ class CustomAudienceOperation(proto.Message): class MutateCustomAudienceResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -37,8 +40,8 @@ class MutateCustomAudiencesRequest(proto.Message): operations: MutableSequence[CustomAudienceOperation] validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -49,8 +52,8 @@ class MutateCustomAudiencesRequest(proto.Message): class MutateCustomAudiencesResponse(proto.Message): results: MutableSequence[MutateCustomAudienceResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateCustomAudienceResult] = ... diff --git a/google-stubs/ads/googleads/v15/services/types/custom_conversion_goal_service.pyi b/google-stubs/ads/googleads/v15/services/types/custom_conversion_goal_service.pyi index 8b22097d1..5a960a0ad 100644 --- a/google-stubs/ads/googleads/v15/services/types/custom_conversion_goal_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/custom_conversion_goal_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask @@ -11,14 +12,16 @@ from google.ads.googleads.v15.resources.types.custom_conversion_goal import ( CustomConversionGoal, ) +_M = TypeVar("_M") + class CustomConversionGoalOperation(proto.Message): update_mask: FieldMask create: CustomConversionGoal update: CustomConversionGoal remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -31,8 +34,8 @@ class MutateCustomConversionGoalResult(proto.Message): resource_name: str custom_conversion_goal: CustomConversionGoal def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateCustomConversionGoalsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -58,8 +61,8 @@ class MutateCustomConversionGoalsRequest(proto.Message): class MutateCustomConversionGoalsResponse(proto.Message): results: MutableSequence[MutateCustomConversionGoalResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateCustomConversionGoalResult] = ... diff --git a/google-stubs/ads/googleads/v15/services/types/custom_interest_service.pyi b/google-stubs/ads/googleads/v15/services/types/custom_interest_service.pyi index 12d2b6b78..7d5ed9e6e 100644 --- a/google-stubs/ads/googleads/v15/services/types/custom_interest_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/custom_interest_service.pyi @@ -1,18 +1,21 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.ads.googleads.v15.resources.types.custom_interest import CustomInterest +_M = TypeVar("_M") + class CustomInterestOperation(proto.Message): update_mask: FieldMask create: CustomInterest update: CustomInterest def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -23,8 +26,8 @@ class CustomInterestOperation(proto.Message): class MutateCustomInterestResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -35,8 +38,8 @@ class MutateCustomInterestsRequest(proto.Message): operations: MutableSequence[CustomInterestOperation] validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -47,8 +50,8 @@ class MutateCustomInterestsRequest(proto.Message): class MutateCustomInterestsResponse(proto.Message): results: MutableSequence[MutateCustomInterestResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateCustomInterestResult] = ... diff --git a/google-stubs/ads/googleads/v15/services/types/customer_asset_service.pyi b/google-stubs/ads/googleads/v15/services/types/customer_asset_service.pyi index 4281f89cf..4134a3a24 100644 --- a/google-stubs/ads/googleads/v15/services/types/customer_asset_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/customer_asset_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v15.enums.types.response_content_type import ( ) from google.ads.googleads.v15.resources.types.customer_asset import CustomerAsset +_M = TypeVar("_M") + class CustomerAssetOperation(proto.Message): update_mask: FieldMask create: CustomerAsset update: CustomerAsset remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateCustomerAssetResult(proto.Message): resource_name: str customer_asset: CustomerAsset def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateCustomerAssetsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateCustomerAssetsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateCustomerAssetResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/customer_asset_set_service.pyi b/google-stubs/ads/googleads/v15/services/types/customer_asset_set_service.pyi index e0b6d5121..e2156b182 100644 --- a/google-stubs/ads/googleads/v15/services/types/customer_asset_set_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/customer_asset_set_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -9,12 +10,14 @@ from google.ads.googleads.v15.enums.types.response_content_type import ( ) from google.ads.googleads.v15.resources.types.customer_asset_set import CustomerAssetSet +_M = TypeVar("_M") + class CustomerAssetSetOperation(proto.Message): create: CustomerAssetSet remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: CustomerAssetSet = ..., @@ -25,8 +28,8 @@ class MutateCustomerAssetSetResult(proto.Message): resource_name: str customer_asset_set: CustomerAssetSet def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -40,8 +43,8 @@ class MutateCustomerAssetSetsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -55,8 +58,8 @@ class MutateCustomerAssetSetsResponse(proto.Message): results: MutableSequence[MutateCustomerAssetSetResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateCustomerAssetSetResult] = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/customer_client_link_service.pyi b/google-stubs/ads/googleads/v15/services/types/customer_client_link_service.pyi index c0d94503e..8e44e4768 100644 --- a/google-stubs/ads/googleads/v15/services/types/customer_client_link_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/customer_client_link_service.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask @@ -7,13 +9,15 @@ from google.ads.googleads.v15.resources.types.customer_client_link import ( CustomerClientLink, ) +_M = TypeVar("_M") + class CustomerClientLinkOperation(proto.Message): update_mask: FieldMask create: CustomerClientLink update: CustomerClientLink def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -26,8 +30,8 @@ class MutateCustomerClientLinkRequest(proto.Message): operation: CustomerClientLinkOperation validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -38,8 +42,8 @@ class MutateCustomerClientLinkRequest(proto.Message): class MutateCustomerClientLinkResponse(proto.Message): result: MutateCustomerClientLinkResult def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., result: MutateCustomerClientLinkResult = ... @@ -48,8 +52,8 @@ class MutateCustomerClientLinkResponse(proto.Message): class MutateCustomerClientLinkResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v15/services/types/customer_conversion_goal_service.pyi b/google-stubs/ads/googleads/v15/services/types/customer_conversion_goal_service.pyi index 6e98e2bc8..f6945663a 100644 --- a/google-stubs/ads/googleads/v15/services/types/customer_conversion_goal_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/customer_conversion_goal_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask @@ -8,12 +9,14 @@ from google.ads.googleads.v15.resources.types.customer_conversion_goal import ( CustomerConversionGoal, ) +_M = TypeVar("_M") + class CustomerConversionGoalOperation(proto.Message): update_mask: FieldMask update: CustomerConversionGoal def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -23,8 +26,8 @@ class CustomerConversionGoalOperation(proto.Message): class MutateCustomerConversionGoalResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -35,8 +38,8 @@ class MutateCustomerConversionGoalsRequest(proto.Message): operations: MutableSequence[CustomerConversionGoalOperation] validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -47,8 +50,8 @@ class MutateCustomerConversionGoalsRequest(proto.Message): class MutateCustomerConversionGoalsResponse(proto.Message): results: MutableSequence[MutateCustomerConversionGoalResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateCustomerConversionGoalResult] = ... diff --git a/google-stubs/ads/googleads/v15/services/types/customer_customizer_service.pyi b/google-stubs/ads/googleads/v15/services/types/customer_customizer_service.pyi index 341ff65c4..8826694c9 100644 --- a/google-stubs/ads/googleads/v15/services/types/customer_customizer_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/customer_customizer_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -11,12 +12,14 @@ from google.ads.googleads.v15.resources.types.customer_customizer import ( CustomerCustomizer, ) +_M = TypeVar("_M") + class CustomerCustomizerOperation(proto.Message): create: CustomerCustomizer remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: CustomerCustomizer = ..., @@ -27,8 +30,8 @@ class MutateCustomerCustomizerResult(proto.Message): resource_name: str customer_customizer: CustomerCustomizer def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -42,8 +45,8 @@ class MutateCustomerCustomizersRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -57,8 +60,8 @@ class MutateCustomerCustomizersResponse(proto.Message): results: MutableSequence[MutateCustomerCustomizerResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateCustomerCustomizerResult] = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/customer_extension_setting_service.pyi b/google-stubs/ads/googleads/v15/services/types/customer_extension_setting_service.pyi index 7d0eff083..be3103e8e 100644 --- a/google-stubs/ads/googleads/v15/services/types/customer_extension_setting_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/customer_extension_setting_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -12,14 +13,16 @@ from google.ads.googleads.v15.resources.types.customer_extension_setting import CustomerExtensionSetting, ) +_M = TypeVar("_M") + class CustomerExtensionSettingOperation(proto.Message): update_mask: FieldMask create: CustomerExtensionSetting update: CustomerExtensionSetting remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -32,8 +35,8 @@ class MutateCustomerExtensionSettingResult(proto.Message): resource_name: str customer_extension_setting: CustomerExtensionSetting def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -47,8 +50,8 @@ class MutateCustomerExtensionSettingsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -62,8 +65,8 @@ class MutateCustomerExtensionSettingsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateCustomerExtensionSettingResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/customer_feed_service.pyi b/google-stubs/ads/googleads/v15/services/types/customer_feed_service.pyi index eb543b55b..2f3588b69 100644 --- a/google-stubs/ads/googleads/v15/services/types/customer_feed_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/customer_feed_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v15.enums.types.response_content_type import ( ) from google.ads.googleads.v15.resources.types.customer_feed import CustomerFeed +_M = TypeVar("_M") + class CustomerFeedOperation(proto.Message): update_mask: FieldMask create: CustomerFeed update: CustomerFeed remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateCustomerFeedResult(proto.Message): resource_name: str customer_feed: CustomerFeed def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateCustomerFeedsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateCustomerFeedsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateCustomerFeedResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/customer_label_service.pyi b/google-stubs/ads/googleads/v15/services/types/customer_label_service.pyi index 2a0e88f5e..8100c6e5c 100644 --- a/google-stubs/ads/googleads/v15/services/types/customer_label_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/customer_label_service.pyi @@ -1,17 +1,20 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status from google.ads.googleads.v15.resources.types.customer_label import CustomerLabel +_M = TypeVar("_M") + class CustomerLabelOperation(proto.Message): create: CustomerLabel remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: CustomerLabel = ..., @@ -21,8 +24,8 @@ class CustomerLabelOperation(proto.Message): class MutateCustomerLabelResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -34,8 +37,8 @@ class MutateCustomerLabelsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -48,8 +51,8 @@ class MutateCustomerLabelsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateCustomerLabelResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/customer_lifecycle_goal_service.pyi b/google-stubs/ads/googleads/v15/services/types/customer_lifecycle_goal_service.pyi index ef3386405..760000cff 100644 --- a/google-stubs/ads/googleads/v15/services/types/customer_lifecycle_goal_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/customer_lifecycle_goal_service.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask @@ -7,13 +9,15 @@ from google.ads.googleads.v15.resources.types.customer_lifecycle_goal import ( CustomerLifecycleGoal, ) +_M = TypeVar("_M") + class ConfigureCustomerLifecycleGoalsRequest(proto.Message): customer_id: str operation: CustomerLifecycleGoalOperation validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -24,8 +28,8 @@ class ConfigureCustomerLifecycleGoalsRequest(proto.Message): class ConfigureCustomerLifecycleGoalsResponse(proto.Message): result: ConfigureCustomerLifecycleGoalsResult def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., result: ConfigureCustomerLifecycleGoalsResult = ... @@ -34,8 +38,8 @@ class ConfigureCustomerLifecycleGoalsResponse(proto.Message): class ConfigureCustomerLifecycleGoalsResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -45,8 +49,8 @@ class CustomerLifecycleGoalOperation(proto.Message): update_mask: FieldMask create: CustomerLifecycleGoal def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/customer_manager_link_service.pyi b/google-stubs/ads/googleads/v15/services/types/customer_manager_link_service.pyi index 20e98b51d..ee948e7f6 100644 --- a/google-stubs/ads/googleads/v15/services/types/customer_manager_link_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/customer_manager_link_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask @@ -8,12 +9,14 @@ from google.ads.googleads.v15.resources.types.customer_manager_link import ( CustomerManagerLink, ) +_M = TypeVar("_M") + class CustomerManagerLinkOperation(proto.Message): update_mask: FieldMask update: CustomerManagerLink def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -26,8 +29,8 @@ class MoveManagerLinkRequest(proto.Message): new_manager: str validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -39,8 +42,8 @@ class MoveManagerLinkRequest(proto.Message): class MoveManagerLinkResponse(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -51,8 +54,8 @@ class MutateCustomerManagerLinkRequest(proto.Message): operations: MutableSequence[CustomerManagerLinkOperation] validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -63,8 +66,8 @@ class MutateCustomerManagerLinkRequest(proto.Message): class MutateCustomerManagerLinkResponse(proto.Message): results: MutableSequence[MutateCustomerManagerLinkResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateCustomerManagerLinkResult] = ... @@ -73,8 +76,8 @@ class MutateCustomerManagerLinkResponse(proto.Message): class MutateCustomerManagerLinkResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v15/services/types/customer_negative_criterion_service.pyi b/google-stubs/ads/googleads/v15/services/types/customer_negative_criterion_service.pyi index cf511bedc..ae7d52f7d 100644 --- a/google-stubs/ads/googleads/v15/services/types/customer_negative_criterion_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/customer_negative_criterion_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -11,12 +12,14 @@ from google.ads.googleads.v15.resources.types.customer_negative_criterion import CustomerNegativeCriterion, ) +_M = TypeVar("_M") + class CustomerNegativeCriterionOperation(proto.Message): create: CustomerNegativeCriterion remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: CustomerNegativeCriterion = ..., @@ -30,8 +33,8 @@ class MutateCustomerNegativeCriteriaRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -45,8 +48,8 @@ class MutateCustomerNegativeCriteriaResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateCustomerNegativeCriteriaResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -57,8 +60,8 @@ class MutateCustomerNegativeCriteriaResult(proto.Message): resource_name: str customer_negative_criterion: CustomerNegativeCriterion def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/customer_service.pyi b/google-stubs/ads/googleads/v15/services/types/customer_service.pyi index 64bcc2188..e3aeb2eea 100644 --- a/google-stubs/ads/googleads/v15/services/types/customer_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/customer_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask @@ -10,6 +11,8 @@ from google.ads.googleads.v15.enums.types.response_content_type import ( ) from google.ads.googleads.v15.resources.types.customer import Customer +_M = TypeVar("_M") + class CreateCustomerClientRequest(proto.Message): customer_id: str customer_client: Customer @@ -17,8 +20,8 @@ class CreateCustomerClientRequest(proto.Message): access_role: AccessRoleEnum.AccessRole validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -32,8 +35,8 @@ class CreateCustomerClientResponse(proto.Message): resource_name: str invitation_link: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -44,8 +47,8 @@ class CustomerOperation(proto.Message): update: Customer update_mask: FieldMask def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update: Customer = ..., @@ -54,8 +57,8 @@ class CustomerOperation(proto.Message): class ListAccessibleCustomersRequest(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -64,8 +67,8 @@ class ListAccessibleCustomersRequest(proto.Message): class ListAccessibleCustomersResponse(proto.Message): resource_names: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_names: MutableSequence[str] = ..., @@ -77,8 +80,8 @@ class MutateCustomerRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -90,8 +93,8 @@ class MutateCustomerRequest(proto.Message): class MutateCustomerResponse(proto.Message): result: MutateCustomerResult def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., result: MutateCustomerResult = ..., @@ -101,8 +104,8 @@ class MutateCustomerResult(proto.Message): resource_name: str customer: Customer def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/customer_sk_ad_network_conversion_value_schema_service.pyi b/google-stubs/ads/googleads/v15/services/types/customer_sk_ad_network_conversion_value_schema_service.pyi index ac18a8569..ec9744afa 100644 --- a/google-stubs/ads/googleads/v15/services/types/customer_sk_ad_network_conversion_value_schema_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/customer_sk_ad_network_conversion_value_schema_service.pyi @@ -1,16 +1,20 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.resources.types.customer_sk_ad_network_conversion_value_schema import ( CustomerSkAdNetworkConversionValueSchema, ) +_M = TypeVar("_M") + class CustomerSkAdNetworkConversionValueSchemaOperation(proto.Message): update: CustomerSkAdNetworkConversionValueSchema def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update: CustomerSkAdNetworkConversionValueSchema = ... @@ -21,8 +25,8 @@ class MutateCustomerSkAdNetworkConversionValueSchemaRequest(proto.Message): operation: CustomerSkAdNetworkConversionValueSchemaOperation validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -33,8 +37,8 @@ class MutateCustomerSkAdNetworkConversionValueSchemaRequest(proto.Message): class MutateCustomerSkAdNetworkConversionValueSchemaResponse(proto.Message): result: MutateCustomerSkAdNetworkConversionValueSchemaResult def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., result: MutateCustomerSkAdNetworkConversionValueSchemaResult = ... @@ -44,8 +48,8 @@ class MutateCustomerSkAdNetworkConversionValueSchemaResult(proto.Message): resource_name: str app_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/customer_user_access_invitation_service.pyi b/google-stubs/ads/googleads/v15/services/types/customer_user_access_invitation_service.pyi index 6ddf68ac0..a0eecd56f 100644 --- a/google-stubs/ads/googleads/v15/services/types/customer_user_access_invitation_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/customer_user_access_invitation_service.pyi @@ -1,17 +1,21 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.resources.types.customer_user_access_invitation import ( CustomerUserAccessInvitation, ) +_M = TypeVar("_M") + class CustomerUserAccessInvitationOperation(proto.Message): create: CustomerUserAccessInvitation remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: CustomerUserAccessInvitation = ..., @@ -22,8 +26,8 @@ class MutateCustomerUserAccessInvitationRequest(proto.Message): customer_id: str operation: CustomerUserAccessInvitationOperation def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -33,8 +37,8 @@ class MutateCustomerUserAccessInvitationRequest(proto.Message): class MutateCustomerUserAccessInvitationResponse(proto.Message): result: MutateCustomerUserAccessInvitationResult def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., result: MutateCustomerUserAccessInvitationResult = ... @@ -43,8 +47,8 @@ class MutateCustomerUserAccessInvitationResponse(proto.Message): class MutateCustomerUserAccessInvitationResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v15/services/types/customer_user_access_service.pyi b/google-stubs/ads/googleads/v15/services/types/customer_user_access_service.pyi index 93d08e396..ae98e0585 100644 --- a/google-stubs/ads/googleads/v15/services/types/customer_user_access_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/customer_user_access_service.pyi @@ -1,5 +1,7 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask @@ -7,13 +9,15 @@ from google.ads.googleads.v15.resources.types.customer_user_access import ( CustomerUserAccess, ) +_M = TypeVar("_M") + class CustomerUserAccessOperation(proto.Message): update_mask: FieldMask update: CustomerUserAccess remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -25,8 +29,8 @@ class MutateCustomerUserAccessRequest(proto.Message): customer_id: str operation: CustomerUserAccessOperation def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -36,8 +40,8 @@ class MutateCustomerUserAccessRequest(proto.Message): class MutateCustomerUserAccessResponse(proto.Message): result: MutateCustomerUserAccessResult def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., result: MutateCustomerUserAccessResult = ... @@ -46,8 +50,8 @@ class MutateCustomerUserAccessResponse(proto.Message): class MutateCustomerUserAccessResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v15/services/types/customizer_attribute_service.pyi b/google-stubs/ads/googleads/v15/services/types/customizer_attribute_service.pyi index 0a6ac074f..3ff3aff05 100644 --- a/google-stubs/ads/googleads/v15/services/types/customizer_attribute_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/customizer_attribute_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -12,13 +13,15 @@ from google.ads.googleads.v15.resources.types.customizer_attribute import ( CustomizerAttribute, ) +_M = TypeVar("_M") + class CustomizerAttributeOperation(proto.Message): update_mask: FieldMask create: CustomizerAttribute remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateCustomizerAttributeResult(proto.Message): resource_name: str customizer_attribute: CustomizerAttribute def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateCustomizerAttributesRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateCustomizerAttributesResponse(proto.Message): results: MutableSequence[MutateCustomizerAttributeResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateCustomizerAttributeResult] = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/experiment_arm_service.pyi b/google-stubs/ads/googleads/v15/services/types/experiment_arm_service.pyi index aa77d5b0c..adde596cd 100644 --- a/google-stubs/ads/googleads/v15/services/types/experiment_arm_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/experiment_arm_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v15.enums.types.response_content_type import ( ) from google.ads.googleads.v15.resources.types.experiment_arm import ExperimentArm +_M = TypeVar("_M") + class ExperimentArmOperation(proto.Message): update_mask: FieldMask create: ExperimentArm update: ExperimentArm remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateExperimentArmResult(proto.Message): resource_name: str experiment_arm: ExperimentArm def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateExperimentArmsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateExperimentArmsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateExperimentArmResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/experiment_service.pyi b/google-stubs/ads/googleads/v15/services/types/experiment_service.pyi index 1e47fd082..2497bde69 100644 --- a/google-stubs/ads/googleads/v15/services/types/experiment_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/experiment_service.pyi @@ -1,18 +1,21 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status from google.ads.googleads.v15.resources.types.experiment import Experiment +_M = TypeVar("_M") + class CampaignBudgetMapping(proto.Message): experiment_campaign: str campaign_budget: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., experiment_campaign: str = ..., @@ -23,8 +26,8 @@ class EndExperimentRequest(proto.Message): experiment: str validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., experiment: str = ..., @@ -37,8 +40,8 @@ class ExperimentOperation(proto.Message): update: Experiment remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -52,8 +55,8 @@ class GraduateExperimentRequest(proto.Message): campaign_budget_mappings: MutableSequence[CampaignBudgetMapping] validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., experiment: str = ..., @@ -66,8 +69,8 @@ class ListExperimentAsyncErrorsRequest(proto.Message): page_token: str page_size: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -79,8 +82,8 @@ class ListExperimentAsyncErrorsResponse(proto.Message): errors: MutableSequence[Status] next_page_token: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., errors: MutableSequence[Status] = ..., @@ -90,8 +93,8 @@ class ListExperimentAsyncErrorsResponse(proto.Message): class MutateExperimentResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -103,8 +106,8 @@ class MutateExperimentsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -117,8 +120,8 @@ class MutateExperimentsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateExperimentResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -128,8 +131,8 @@ class MutateExperimentsResponse(proto.Message): class PromoteExperimentMetadata(proto.Message): experiment: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., experiment: str = ... @@ -139,8 +142,8 @@ class PromoteExperimentRequest(proto.Message): resource_name: str validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -150,8 +153,8 @@ class PromoteExperimentRequest(proto.Message): class ScheduleExperimentMetadata(proto.Message): experiment: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., experiment: str = ... @@ -161,8 +164,8 @@ class ScheduleExperimentRequest(proto.Message): resource_name: str validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/extension_feed_item_service.pyi b/google-stubs/ads/googleads/v15/services/types/extension_feed_item_service.pyi index b76627a58..5d7724ac6 100644 --- a/google-stubs/ads/googleads/v15/services/types/extension_feed_item_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/extension_feed_item_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -12,14 +13,16 @@ from google.ads.googleads.v15.resources.types.extension_feed_item import ( ExtensionFeedItem, ) +_M = TypeVar("_M") + class ExtensionFeedItemOperation(proto.Message): update_mask: FieldMask create: ExtensionFeedItem update: ExtensionFeedItem remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -32,8 +35,8 @@ class MutateExtensionFeedItemResult(proto.Message): resource_name: str extension_feed_item: ExtensionFeedItem def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -47,8 +50,8 @@ class MutateExtensionFeedItemsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -62,8 +65,8 @@ class MutateExtensionFeedItemsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateExtensionFeedItemResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/feed_item_service.pyi b/google-stubs/ads/googleads/v15/services/types/feed_item_service.pyi index 962ea8a07..a50c31391 100644 --- a/google-stubs/ads/googleads/v15/services/types/feed_item_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/feed_item_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v15.enums.types.response_content_type import ( ) from google.ads.googleads.v15.resources.types.feed_item import FeedItem +_M = TypeVar("_M") + class FeedItemOperation(proto.Message): update_mask: FieldMask create: FeedItem update: FeedItem remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateFeedItemResult(proto.Message): resource_name: str feed_item: FeedItem def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateFeedItemsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateFeedItemsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateFeedItemResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/feed_item_set_link_service.pyi b/google-stubs/ads/googleads/v15/services/types/feed_item_set_link_service.pyi index fed579aa2..a22fb399a 100644 --- a/google-stubs/ads/googleads/v15/services/types/feed_item_set_link_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/feed_item_set_link_service.pyi @@ -1,17 +1,20 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status from google.ads.googleads.v15.resources.types.feed_item_set_link import FeedItemSetLink +_M = TypeVar("_M") + class FeedItemSetLinkOperation(proto.Message): create: FeedItemSetLink remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: FeedItemSetLink = ..., @@ -21,8 +24,8 @@ class FeedItemSetLinkOperation(proto.Message): class MutateFeedItemSetLinkResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -34,8 +37,8 @@ class MutateFeedItemSetLinksRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -48,8 +51,8 @@ class MutateFeedItemSetLinksResponse(proto.Message): results: MutableSequence[MutateFeedItemSetLinkResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateFeedItemSetLinkResult] = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/feed_item_set_service.pyi b/google-stubs/ads/googleads/v15/services/types/feed_item_set_service.pyi index 79f63f11c..fbc966eea 100644 --- a/google-stubs/ads/googleads/v15/services/types/feed_item_set_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/feed_item_set_service.pyi @@ -1,20 +1,23 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status from google.ads.googleads.v15.resources.types.feed_item_set import FeedItemSet +_M = TypeVar("_M") + class FeedItemSetOperation(proto.Message): update_mask: FieldMask create: FeedItemSet update: FeedItemSet remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -26,8 +29,8 @@ class FeedItemSetOperation(proto.Message): class MutateFeedItemSetResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -39,8 +42,8 @@ class MutateFeedItemSetsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -53,8 +56,8 @@ class MutateFeedItemSetsResponse(proto.Message): results: MutableSequence[MutateFeedItemSetResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateFeedItemSetResult] = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/feed_item_target_service.pyi b/google-stubs/ads/googleads/v15/services/types/feed_item_target_service.pyi index 8fb62f41e..0d7f1f45e 100644 --- a/google-stubs/ads/googleads/v15/services/types/feed_item_target_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/feed_item_target_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -9,12 +10,14 @@ from google.ads.googleads.v15.enums.types.response_content_type import ( ) from google.ads.googleads.v15.resources.types.feed_item_target import FeedItemTarget +_M = TypeVar("_M") + class FeedItemTargetOperation(proto.Message): create: FeedItemTarget remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: FeedItemTarget = ..., @@ -25,8 +28,8 @@ class MutateFeedItemTargetResult(proto.Message): resource_name: str feed_item_target: FeedItemTarget def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -40,8 +43,8 @@ class MutateFeedItemTargetsRequest(proto.Message): response_content_type: ResponseContentTypeEnum.ResponseContentType validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -55,8 +58,8 @@ class MutateFeedItemTargetsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateFeedItemTargetResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/feed_mapping_service.pyi b/google-stubs/ads/googleads/v15/services/types/feed_mapping_service.pyi index 51cb14448..d6b42d1b3 100644 --- a/google-stubs/ads/googleads/v15/services/types/feed_mapping_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/feed_mapping_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -9,12 +10,14 @@ from google.ads.googleads.v15.enums.types.response_content_type import ( ) from google.ads.googleads.v15.resources.types.feed_mapping import FeedMapping +_M = TypeVar("_M") + class FeedMappingOperation(proto.Message): create: FeedMapping remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: FeedMapping = ..., @@ -25,8 +28,8 @@ class MutateFeedMappingResult(proto.Message): resource_name: str feed_mapping: FeedMapping def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -40,8 +43,8 @@ class MutateFeedMappingsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -55,8 +58,8 @@ class MutateFeedMappingsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateFeedMappingResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/feed_service.pyi b/google-stubs/ads/googleads/v15/services/types/feed_service.pyi index 1cbad7feb..effcd95fa 100644 --- a/google-stubs/ads/googleads/v15/services/types/feed_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/feed_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v15.enums.types.response_content_type import ( ) from google.ads.googleads.v15.resources.types.feed import Feed +_M = TypeVar("_M") + class FeedOperation(proto.Message): update_mask: FieldMask create: Feed update: Feed remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateFeedResult(proto.Message): resource_name: str feed: Feed def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateFeedsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateFeedsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateFeedResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/geo_target_constant_service.pyi b/google-stubs/ads/googleads/v15/services/types/geo_target_constant_service.pyi index b8321f796..9a68f58bb 100644 --- a/google-stubs/ads/googleads/v15/services/types/geo_target_constant_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/geo_target_constant_service.pyi @@ -1,12 +1,15 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.resources.types.geo_target_constant import ( GeoTargetConstant, ) +_M = TypeVar("_M") + class GeoTargetConstantSuggestion(proto.Message): locale: str reach: int @@ -14,8 +17,8 @@ class GeoTargetConstantSuggestion(proto.Message): geo_target_constant: GeoTargetConstant geo_target_constant_parents: MutableSequence[GeoTargetConstant] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., locale: str = ..., @@ -29,8 +32,8 @@ class SuggestGeoTargetConstantsRequest(proto.Message): class GeoTargets(proto.Message): geo_target_constants: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., geo_target_constants: MutableSequence[str] = ... @@ -39,8 +42,8 @@ class SuggestGeoTargetConstantsRequest(proto.Message): class LocationNames(proto.Message): names: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., names: MutableSequence[str] = ... @@ -50,8 +53,8 @@ class SuggestGeoTargetConstantsRequest(proto.Message): location_names: SuggestGeoTargetConstantsRequest.LocationNames geo_targets: SuggestGeoTargetConstantsRequest.GeoTargets def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., locale: str = ..., @@ -63,8 +66,8 @@ class SuggestGeoTargetConstantsRequest(proto.Message): class SuggestGeoTargetConstantsResponse(proto.Message): geo_target_constant_suggestions: MutableSequence[GeoTargetConstantSuggestion] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., geo_target_constant_suggestions: MutableSequence[ diff --git a/google-stubs/ads/googleads/v15/services/types/google_ads_field_service.pyi b/google-stubs/ads/googleads/v15/services/types/google_ads_field_service.pyi index a88b053c7..c19c2d406 100644 --- a/google-stubs/ads/googleads/v15/services/types/google_ads_field_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/google_ads_field_service.pyi @@ -1,15 +1,18 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.resources.types.google_ads_field import GoogleAdsField +_M = TypeVar("_M") + class GetGoogleAdsFieldRequest(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -20,8 +23,8 @@ class SearchGoogleAdsFieldsRequest(proto.Message): page_token: str page_size: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., query: str = ..., @@ -34,8 +37,8 @@ class SearchGoogleAdsFieldsResponse(proto.Message): next_page_token: str total_results_count: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[GoogleAdsField] = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/google_ads_service.pyi b/google-stubs/ads/googleads/v15/services/types/google_ads_service.pyi index e812be59d..c6b64047d 100644 --- a/google-stubs/ads/googleads/v15/services/types/google_ads_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/google_ads_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -661,6 +662,8 @@ from google.ads.googleads.v15.services.types.user_list_service import ( UserListOperation, ) +_M = TypeVar("_M") + class GoogleAdsRow(proto.Message): account_budget: AccountBudget account_budget_proposal: AccountBudgetProposal @@ -836,8 +839,8 @@ class GoogleAdsRow(proto.Message): metrics: Metrics segments: Segments def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., account_budget: AccountBudget = ..., @@ -1022,8 +1025,8 @@ class MutateGoogleAdsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -1037,8 +1040,8 @@ class MutateGoogleAdsResponse(proto.Message): partial_failure_error: Status mutate_operation_responses: MutableSequence[MutateOperationResponse] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -1122,8 +1125,8 @@ class MutateOperation(proto.Message): smart_campaign_setting_operation: SmartCampaignSettingOperation user_list_operation: UserListOperation def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad_group_ad_label_operation: AdGroupAdLabelOperation = ..., @@ -1280,8 +1283,8 @@ class MutateOperationResponse(proto.Message): smart_campaign_setting_result: MutateSmartCampaignSettingResult user_list_result: MutateUserListResult def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad_group_ad_label_result: MutateAdGroupAdLabelResult = ..., @@ -1370,8 +1373,8 @@ class SearchGoogleAdsRequest(proto.Message): return_total_results_count: bool summary_row_setting: SummaryRowSettingEnum.SummaryRowSetting def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -1391,8 +1394,8 @@ class SearchGoogleAdsResponse(proto.Message): summary_row: GoogleAdsRow query_resource_consumption: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[GoogleAdsRow] = ..., @@ -1408,8 +1411,8 @@ class SearchGoogleAdsStreamRequest(proto.Message): query: str summary_row_setting: SummaryRowSettingEnum.SummaryRowSetting def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -1424,8 +1427,8 @@ class SearchGoogleAdsStreamResponse(proto.Message): request_id: str query_resource_consumption: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[GoogleAdsRow] = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/invoice_service.pyi b/google-stubs/ads/googleads/v15/services/types/invoice_service.pyi index fd1d5e93d..5436983fe 100644 --- a/google-stubs/ads/googleads/v15/services/types/invoice_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/invoice_service.pyi @@ -1,19 +1,22 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.month_of_year import MonthOfYearEnum from google.ads.googleads.v15.resources.types.invoice import Invoice +_M = TypeVar("_M") + class ListInvoicesRequest(proto.Message): customer_id: str billing_setup: str issue_year: str issue_month: MonthOfYearEnum.MonthOfYear def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -25,8 +28,8 @@ class ListInvoicesRequest(proto.Message): class ListInvoicesResponse(proto.Message): invoices: MutableSequence[Invoice] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., invoices: MutableSequence[Invoice] = ... diff --git a/google-stubs/ads/googleads/v15/services/types/keyword_plan_ad_group_keyword_service.pyi b/google-stubs/ads/googleads/v15/services/types/keyword_plan_ad_group_keyword_service.pyi index 2c2424b34..366b467dd 100644 --- a/google-stubs/ads/googleads/v15/services/types/keyword_plan_ad_group_keyword_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/keyword_plan_ad_group_keyword_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -9,14 +10,16 @@ from google.ads.googleads.v15.resources.types.keyword_plan_ad_group_keyword impo KeywordPlanAdGroupKeyword, ) +_M = TypeVar("_M") + class KeywordPlanAdGroupKeywordOperation(proto.Message): update_mask: FieldMask create: KeywordPlanAdGroupKeyword update: KeywordPlanAdGroupKeyword remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -28,8 +31,8 @@ class KeywordPlanAdGroupKeywordOperation(proto.Message): class MutateKeywordPlanAdGroupKeywordResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -41,8 +44,8 @@ class MutateKeywordPlanAdGroupKeywordsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -55,8 +58,8 @@ class MutateKeywordPlanAdGroupKeywordsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateKeywordPlanAdGroupKeywordResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/keyword_plan_ad_group_service.pyi b/google-stubs/ads/googleads/v15/services/types/keyword_plan_ad_group_service.pyi index 64a770037..ceb7d9065 100644 --- a/google-stubs/ads/googleads/v15/services/types/keyword_plan_ad_group_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/keyword_plan_ad_group_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -9,14 +10,16 @@ from google.ads.googleads.v15.resources.types.keyword_plan_ad_group import ( KeywordPlanAdGroup, ) +_M = TypeVar("_M") + class KeywordPlanAdGroupOperation(proto.Message): update_mask: FieldMask create: KeywordPlanAdGroup update: KeywordPlanAdGroup remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -28,8 +31,8 @@ class KeywordPlanAdGroupOperation(proto.Message): class MutateKeywordPlanAdGroupResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -41,8 +44,8 @@ class MutateKeywordPlanAdGroupsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -55,8 +58,8 @@ class MutateKeywordPlanAdGroupsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateKeywordPlanAdGroupResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/keyword_plan_campaign_keyword_service.pyi b/google-stubs/ads/googleads/v15/services/types/keyword_plan_campaign_keyword_service.pyi index e0f34def2..4f92c8795 100644 --- a/google-stubs/ads/googleads/v15/services/types/keyword_plan_campaign_keyword_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/keyword_plan_campaign_keyword_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -9,14 +10,16 @@ from google.ads.googleads.v15.resources.types.keyword_plan_campaign_keyword impo KeywordPlanCampaignKeyword, ) +_M = TypeVar("_M") + class KeywordPlanCampaignKeywordOperation(proto.Message): update_mask: FieldMask create: KeywordPlanCampaignKeyword update: KeywordPlanCampaignKeyword remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -28,8 +31,8 @@ class KeywordPlanCampaignKeywordOperation(proto.Message): class MutateKeywordPlanCampaignKeywordResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -41,8 +44,8 @@ class MutateKeywordPlanCampaignKeywordsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -55,8 +58,8 @@ class MutateKeywordPlanCampaignKeywordsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateKeywordPlanCampaignKeywordResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/keyword_plan_campaign_service.pyi b/google-stubs/ads/googleads/v15/services/types/keyword_plan_campaign_service.pyi index f4d680683..77b40ca47 100644 --- a/google-stubs/ads/googleads/v15/services/types/keyword_plan_campaign_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/keyword_plan_campaign_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -9,14 +10,16 @@ from google.ads.googleads.v15.resources.types.keyword_plan_campaign import ( KeywordPlanCampaign, ) +_M = TypeVar("_M") + class KeywordPlanCampaignOperation(proto.Message): update_mask: FieldMask create: KeywordPlanCampaign update: KeywordPlanCampaign remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -28,8 +31,8 @@ class KeywordPlanCampaignOperation(proto.Message): class MutateKeywordPlanCampaignResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -41,8 +44,8 @@ class MutateKeywordPlanCampaignsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -55,8 +58,8 @@ class MutateKeywordPlanCampaignsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateKeywordPlanCampaignResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/keyword_plan_idea_service.pyi b/google-stubs/ads/googleads/v15/services/types/keyword_plan_idea_service.pyi index cbf7bc5c1..9cc402967 100644 --- a/google-stubs/ads/googleads/v15/services/types/keyword_plan_idea_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/keyword_plan_idea_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.criteria import KeywordInfo @@ -20,6 +21,8 @@ from google.ads.googleads.v15.enums.types.keyword_plan_network import ( KeywordPlanNetworkEnum, ) +_M = TypeVar("_M") + class AdGroupKeywordSuggestion(proto.Message): keyword_text: str suggested_keyword_text: str @@ -27,8 +30,8 @@ class AdGroupKeywordSuggestion(proto.Message): suggested_ad_group: str suggested_campaign: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., keyword_text: str = ..., @@ -42,8 +45,8 @@ class BiddableKeyword(proto.Message): keyword: KeywordInfo max_cpc_bid_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., keyword: KeywordInfo = ..., @@ -56,8 +59,8 @@ class CampaignToForecast(proto.Message): maximize_clicks_bidding_strategy: MaximizeClicksBiddingStrategy maximize_conversions_bidding_strategy: MaximizeConversionsBiddingStrategy def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., manual_cpc_bidding_strategy: ManualCpcBiddingStrategy = ..., @@ -72,8 +75,8 @@ class CampaignToForecast(proto.Message): conversion_rate: float ad_groups: MutableSequence[ForecastAdGroup] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., language_constants: MutableSequence[str] = ..., @@ -89,8 +92,8 @@ class CriterionBidModifier(proto.Message): geo_target_constant: str bid_modifier: float def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., geo_target_constant: str = ..., @@ -102,8 +105,8 @@ class ForecastAdGroup(proto.Message): biddable_keywords: MutableSequence[BiddableKeyword] negative_keywords: MutableSequence[KeywordInfo] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., max_cpc_bid_micros: int = ..., @@ -116,8 +119,8 @@ class GenerateAdGroupThemesRequest(proto.Message): keywords: MutableSequence[str] ad_groups: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -129,8 +132,8 @@ class GenerateAdGroupThemesResponse(proto.Message): ad_group_keyword_suggestions: MutableSequence[AdGroupKeywordSuggestion] unusable_ad_groups: MutableSequence[UnusableAdGroup] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad_group_keyword_suggestions: MutableSequence[AdGroupKeywordSuggestion] = ..., @@ -143,8 +146,8 @@ class GenerateKeywordForecastMetricsRequest(proto.Message): forecast_period: DateRange campaign: CampaignToForecast def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -156,8 +159,8 @@ class GenerateKeywordForecastMetricsRequest(proto.Message): class GenerateKeywordForecastMetricsResponse(proto.Message): campaign_forecast_metrics: KeywordForecastMetrics def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., campaign_forecast_metrics: KeywordForecastMetrics = ... @@ -173,8 +176,8 @@ class GenerateKeywordHistoricalMetricsRequest(proto.Message): aggregate_metrics: KeywordPlanAggregateMetrics historical_metrics_options: HistoricalMetricsOptions def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -191,8 +194,8 @@ class GenerateKeywordHistoricalMetricsResponse(proto.Message): results: MutableSequence[GenerateKeywordHistoricalMetricsResult] aggregate_metric_results: KeywordPlanAggregateMetricResults def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[GenerateKeywordHistoricalMetricsResult] = ..., @@ -204,8 +207,8 @@ class GenerateKeywordHistoricalMetricsResult(proto.Message): close_variants: MutableSequence[str] keyword_metrics: KeywordPlanHistoricalMetrics def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., text: str = ..., @@ -219,8 +222,8 @@ class GenerateKeywordIdeaResponse(proto.Message): next_page_token: str total_size: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[GenerateKeywordIdeaResult] = ..., @@ -235,8 +238,8 @@ class GenerateKeywordIdeaResult(proto.Message): keyword_annotations: KeywordAnnotations close_variants: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., text: str = ..., @@ -263,8 +266,8 @@ class GenerateKeywordIdeasRequest(proto.Message): url_seed: UrlSeed site_seed: SiteSeed def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -289,8 +292,8 @@ class KeywordAndUrlSeed(proto.Message): url: str keywords: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., url: str = ..., @@ -307,8 +310,8 @@ class KeywordForecastMetrics(proto.Message): conversion_rate: float average_cpa_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., impressions: float = ..., @@ -324,8 +327,8 @@ class KeywordForecastMetrics(proto.Message): class KeywordSeed(proto.Message): keywords: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., keywords: MutableSequence[str] = ... @@ -335,8 +338,8 @@ class ManualCpcBiddingStrategy(proto.Message): daily_budget_micros: int max_cpc_bid_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., daily_budget_micros: int = ..., @@ -347,8 +350,8 @@ class MaximizeClicksBiddingStrategy(proto.Message): daily_target_spend_micros: int max_cpc_bid_ceiling_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., daily_target_spend_micros: int = ..., @@ -358,8 +361,8 @@ class MaximizeClicksBiddingStrategy(proto.Message): class MaximizeConversionsBiddingStrategy(proto.Message): daily_target_spend_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., daily_target_spend_micros: int = ... @@ -368,8 +371,8 @@ class MaximizeConversionsBiddingStrategy(proto.Message): class SiteSeed(proto.Message): site: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., site: str = ... @@ -379,8 +382,8 @@ class UnusableAdGroup(proto.Message): ad_group: str campaign: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad_group: str = ..., @@ -390,8 +393,8 @@ class UnusableAdGroup(proto.Message): class UrlSeed(proto.Message): url: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., url: str = ... diff --git a/google-stubs/ads/googleads/v15/services/types/keyword_plan_service.pyi b/google-stubs/ads/googleads/v15/services/types/keyword_plan_service.pyi index 01847e680..341758f2c 100644 --- a/google-stubs/ads/googleads/v15/services/types/keyword_plan_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/keyword_plan_service.pyi @@ -1,20 +1,23 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status from google.ads.googleads.v15.resources.types.keyword_plan import KeywordPlan +_M = TypeVar("_M") + class KeywordPlanOperation(proto.Message): update_mask: FieldMask create: KeywordPlan update: KeywordPlan remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -29,8 +32,8 @@ class MutateKeywordPlansRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -43,8 +46,8 @@ class MutateKeywordPlansResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateKeywordPlansResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -54,8 +57,8 @@ class MutateKeywordPlansResponse(proto.Message): class MutateKeywordPlansResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v15/services/types/keyword_theme_constant_service.pyi b/google-stubs/ads/googleads/v15/services/types/keyword_theme_constant_service.pyi index 7c0bff0ba..80b99e3de 100644 --- a/google-stubs/ads/googleads/v15/services/types/keyword_theme_constant_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/keyword_theme_constant_service.pyi @@ -1,19 +1,22 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.resources.types.keyword_theme_constant import ( KeywordThemeConstant, ) +_M = TypeVar("_M") + class SuggestKeywordThemeConstantsRequest(proto.Message): query_text: str country_code: str language_code: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., query_text: str = ..., @@ -24,8 +27,8 @@ class SuggestKeywordThemeConstantsRequest(proto.Message): class SuggestKeywordThemeConstantsResponse(proto.Message): keyword_theme_constants: MutableSequence[KeywordThemeConstant] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., keyword_theme_constants: MutableSequence[KeywordThemeConstant] = ... diff --git a/google-stubs/ads/googleads/v15/services/types/label_service.pyi b/google-stubs/ads/googleads/v15/services/types/label_service.pyi index 480215f12..073b9ea45 100644 --- a/google-stubs/ads/googleads/v15/services/types/label_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/label_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,14 +11,16 @@ from google.ads.googleads.v15.enums.types.response_content_type import ( ) from google.ads.googleads.v15.resources.types.label import Label +_M = TypeVar("_M") + class LabelOperation(proto.Message): update_mask: FieldMask create: Label update: Label remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., @@ -30,8 +33,8 @@ class MutateLabelResult(proto.Message): resource_name: str label: Label def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -45,8 +48,8 @@ class MutateLabelsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -60,8 +63,8 @@ class MutateLabelsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateLabelResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/offline_user_data_job_service.pyi b/google-stubs/ads/googleads/v15/services/types/offline_user_data_job_service.pyi index fa7d4eef3..df6c0f7c8 100644 --- a/google-stubs/ads/googleads/v15/services/types/offline_user_data_job_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/offline_user_data_job_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -9,6 +10,8 @@ from google.ads.googleads.v15.resources.types.offline_user_data_job import ( OfflineUserDataJob, ) +_M = TypeVar("_M") + class AddOfflineUserDataJobOperationsRequest(proto.Message): resource_name: str enable_partial_failure: bool @@ -16,8 +19,8 @@ class AddOfflineUserDataJobOperationsRequest(proto.Message): operations: MutableSequence[OfflineUserDataJobOperation] validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -31,8 +34,8 @@ class AddOfflineUserDataJobOperationsResponse(proto.Message): partial_failure_error: Status warning: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -45,8 +48,8 @@ class CreateOfflineUserDataJobRequest(proto.Message): validate_only: bool enable_match_rate_range_preview: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -58,8 +61,8 @@ class CreateOfflineUserDataJobRequest(proto.Message): class CreateOfflineUserDataJobResponse(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -70,8 +73,8 @@ class OfflineUserDataJobOperation(proto.Message): remove: UserData remove_all: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: UserData = ..., @@ -83,8 +86,8 @@ class RunOfflineUserDataJobRequest(proto.Message): resource_name: str validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/payments_account_service.pyi b/google-stubs/ads/googleads/v15/services/types/payments_account_service.pyi index b75686d6a..e3ced3376 100644 --- a/google-stubs/ads/googleads/v15/services/types/payments_account_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/payments_account_service.pyi @@ -1,15 +1,18 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.resources.types.payments_account import PaymentsAccount +_M = TypeVar("_M") + class ListPaymentsAccountsRequest(proto.Message): customer_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ... @@ -18,8 +21,8 @@ class ListPaymentsAccountsRequest(proto.Message): class ListPaymentsAccountsResponse(proto.Message): payments_accounts: MutableSequence[PaymentsAccount] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., payments_accounts: MutableSequence[PaymentsAccount] = ... diff --git a/google-stubs/ads/googleads/v15/services/types/product_link_invitation_service.pyi b/google-stubs/ads/googleads/v15/services/types/product_link_invitation_service.pyi index 5ca6c59b3..f0ace6e4a 100644 --- a/google-stubs/ads/googleads/v15/services/types/product_link_invitation_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/product_link_invitation_service.pyi @@ -1,18 +1,22 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.product_link_invitation_status import ( ProductLinkInvitationStatusEnum, ) +_M = TypeVar("_M") + class UpdateProductLinkInvitationRequest(proto.Message): customer_id: str product_link_invitation_status: ProductLinkInvitationStatusEnum.ProductLinkInvitationStatus resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -23,8 +27,8 @@ class UpdateProductLinkInvitationRequest(proto.Message): class UpdateProductLinkInvitationResponse(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v15/services/types/product_link_service.pyi b/google-stubs/ads/googleads/v15/services/types/product_link_service.pyi index 43b31afef..169e09a90 100644 --- a/google-stubs/ads/googleads/v15/services/types/product_link_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/product_link_service.pyi @@ -1,15 +1,19 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.resources.types.product_link import ProductLink +_M = TypeVar("_M") + class CreateProductLinkRequest(proto.Message): customer_id: str product_link: ProductLink def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -19,8 +23,8 @@ class CreateProductLinkRequest(proto.Message): class CreateProductLinkResponse(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -31,8 +35,8 @@ class RemoveProductLinkRequest(proto.Message): resource_name: str validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -43,8 +47,8 @@ class RemoveProductLinkRequest(proto.Message): class RemoveProductLinkResponse(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... diff --git a/google-stubs/ads/googleads/v15/services/types/reach_plan_service.pyi b/google-stubs/ads/googleads/v15/services/types/reach_plan_service.pyi index e995a93c4..b1cda58fe 100644 --- a/google-stubs/ads/googleads/v15/services/types/reach_plan_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/reach_plan_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.criteria import ( @@ -21,13 +22,15 @@ from google.ads.googleads.v15.enums.types.target_frequency_time_unit import ( TargetFrequencyTimeUnitEnum, ) +_M = TypeVar("_M") + class AdvancedProductTargeting(proto.Message): surface_targeting_settings: SurfaceTargeting target_frequency_settings: TargetFrequencySettings youtube_select_settings: YouTubeSelectSettings def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., surface_targeting_settings: SurfaceTargeting = ..., @@ -38,8 +41,8 @@ class AdvancedProductTargeting(proto.Message): class AudienceTargeting(proto.Message): user_interest: MutableSequence[UserInterestInfo] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., user_interest: MutableSequence[UserInterestInfo] = ..., @@ -49,8 +52,8 @@ class CampaignDuration(proto.Message): duration_in_days: int date_range: DateRange def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., duration_in_days: int = ..., @@ -64,8 +67,8 @@ class EffectiveFrequencyBreakdown(proto.Message): effective_coview_reach: int on_target_effective_coview_reach: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., effective_frequency: int = ..., @@ -78,8 +81,8 @@ class EffectiveFrequencyBreakdown(proto.Message): class EffectiveFrequencyLimit(proto.Message): effective_frequency_breakdown_limit: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., effective_frequency_breakdown_limit: int = ..., @@ -98,8 +101,8 @@ class Forecast(proto.Message): total_coview_impressions: int views: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., on_target_reach: int = ..., @@ -120,8 +123,8 @@ class Forecast(proto.Message): class ForecastMetricOptions(proto.Message): include_coview: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., include_coview: bool = ..., @@ -131,8 +134,8 @@ class FrequencyCap(proto.Message): impressions: int time_unit: FrequencyCapTimeUnitEnum.FrequencyCapTimeUnit def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., impressions: int = ..., @@ -152,8 +155,8 @@ class GenerateReachForecastRequest(proto.Message): forecast_metric_options: ForecastMetricOptions customer_reach_group: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -173,8 +176,8 @@ class GenerateReachForecastResponse(proto.Message): on_target_audience_metrics: OnTargetAudienceMetrics reach_curve: ReachCurve def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., on_target_audience_metrics: OnTargetAudienceMetrics = ..., @@ -183,8 +186,8 @@ class GenerateReachForecastResponse(proto.Message): class ListPlannableLocationsRequest(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... @@ -193,8 +196,8 @@ class ListPlannableLocationsRequest(proto.Message): class ListPlannableLocationsResponse(proto.Message): plannable_locations: MutableSequence[PlannableLocation] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., plannable_locations: MutableSequence[PlannableLocation] = ..., @@ -203,8 +206,8 @@ class ListPlannableLocationsResponse(proto.Message): class ListPlannableProductsRequest(proto.Message): plannable_location_id: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., plannable_location_id: str = ..., @@ -213,8 +216,8 @@ class ListPlannableProductsRequest(proto.Message): class ListPlannableProductsResponse(proto.Message): product_metadata: MutableSequence[ProductMetadata] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., product_metadata: MutableSequence[ProductMetadata] = ..., @@ -224,8 +227,8 @@ class OnTargetAudienceMetrics(proto.Message): youtube_audience_size: int census_audience_size: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., youtube_audience_size: int = ..., @@ -239,8 +242,8 @@ class PlannableLocation(proto.Message): country_code: str location_type: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., id: str = ..., @@ -258,8 +261,8 @@ class PlannableTargeting(proto.Message): youtube_select_lineups: MutableSequence[YouTubeSelectLineUp] surface_targeting: SurfaceTargetingCombinations def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., age_ranges: MutableSequence[ReachPlanAgeRangeEnum.ReachPlanAgeRange] = ..., @@ -275,8 +278,8 @@ class PlannedProduct(proto.Message): budget_micros: int advanced_product_targeting: AdvancedProductTargeting def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., plannable_product_code: str = ..., @@ -297,8 +300,8 @@ class PlannedProductForecast(proto.Message): average_frequency: float views: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., on_target_reach: int = ..., @@ -319,8 +322,8 @@ class PlannedProductReachForecast(proto.Message): cost_micros: int planned_product_forecast: PlannedProductForecast def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., plannable_product_code: str = ..., @@ -333,8 +336,8 @@ class ProductMetadata(proto.Message): plannable_product_name: str plannable_targeting: PlannableTargeting def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., plannable_product_code: str = ..., @@ -345,8 +348,8 @@ class ProductMetadata(proto.Message): class ReachCurve(proto.Message): reach_forecasts: MutableSequence[ReachForecast] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., reach_forecasts: MutableSequence[ReachForecast] = ..., @@ -357,8 +360,8 @@ class ReachForecast(proto.Message): forecast: Forecast planned_product_reach_forecasts: MutableSequence[PlannedProductReachForecast] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., cost_micros: int = ..., @@ -371,8 +374,8 @@ class ReachForecast(proto.Message): class SurfaceTargeting(proto.Message): surfaces: MutableSequence[ReachPlanSurfaceEnum.ReachPlanSurface] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., surfaces: MutableSequence[ReachPlanSurfaceEnum.ReachPlanSurface] = ..., @@ -382,8 +385,8 @@ class SurfaceTargetingCombinations(proto.Message): default_targeting: SurfaceTargeting available_targeting_combinations: MutableSequence[SurfaceTargeting] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., default_targeting: SurfaceTargeting = ..., @@ -394,8 +397,8 @@ class TargetFrequencySettings(proto.Message): time_unit: TargetFrequencyTimeUnitEnum.TargetFrequencyTimeUnit target_frequency: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., time_unit: TargetFrequencyTimeUnitEnum.TargetFrequencyTimeUnit = ..., @@ -411,8 +414,8 @@ class Targeting(proto.Message): network: ReachPlanNetworkEnum.ReachPlanNetwork audience_targeting: AudienceTargeting def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., plannable_location_id: str = ..., @@ -428,8 +431,8 @@ class YouTubeSelectLineUp(proto.Message): lineup_id: int lineup_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., lineup_id: int = ..., @@ -439,8 +442,8 @@ class YouTubeSelectLineUp(proto.Message): class YouTubeSelectSettings(proto.Message): lineup_id: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., lineup_id: int = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/recommendation_service.pyi b/google-stubs/ads/googleads/v15/services/types/recommendation_service.pyi index f0a5bb6eb..2776b8561 100644 --- a/google-stubs/ads/googleads/v15/services/types/recommendation_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/recommendation_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -13,6 +14,8 @@ from google.ads.googleads.v15.enums.types.keyword_match_type import KeywordMatch from google.ads.googleads.v15.resources.types.ad import Ad from google.ads.googleads.v15.resources.types.asset import Asset +_M = TypeVar("_M") + class ApplyRecommendationOperation(proto.Message): class AdAssetApplyParameters(proto.Message): class ApplyScope(proto.Enum): @@ -24,8 +27,8 @@ class ApplyRecommendationOperation(proto.Message): existing_assets: MutableSequence[str] scope: ApplyRecommendationOperation.AdAssetApplyParameters.ApplyScope def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., new_assets: MutableSequence[Asset] = ..., @@ -36,8 +39,8 @@ class ApplyRecommendationOperation(proto.Message): class CallAssetParameters(proto.Message): ad_asset_apply_parameters: ApplyRecommendationOperation.AdAssetApplyParameters def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad_asset_apply_parameters: ApplyRecommendationOperation.AdAssetApplyParameters = ... @@ -46,8 +49,8 @@ class ApplyRecommendationOperation(proto.Message): class CallExtensionParameters(proto.Message): call_extensions: MutableSequence[CallFeedItem] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., call_extensions: MutableSequence[CallFeedItem] = ... @@ -56,8 +59,8 @@ class ApplyRecommendationOperation(proto.Message): class CalloutAssetParameters(proto.Message): ad_asset_apply_parameters: ApplyRecommendationOperation.AdAssetApplyParameters def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad_asset_apply_parameters: ApplyRecommendationOperation.AdAssetApplyParameters = ... @@ -66,8 +69,8 @@ class ApplyRecommendationOperation(proto.Message): class CalloutExtensionParameters(proto.Message): callout_extensions: MutableSequence[CalloutFeedItem] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., callout_extensions: MutableSequence[CalloutFeedItem] = ... @@ -76,8 +79,8 @@ class ApplyRecommendationOperation(proto.Message): class CampaignBudgetParameters(proto.Message): new_budget_amount_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., new_budget_amount_micros: int = ... @@ -87,8 +90,8 @@ class ApplyRecommendationOperation(proto.Message): target_cpa_micros: int campaign_budget_amount_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_cpa_micros: int = ..., @@ -99,8 +102,8 @@ class ApplyRecommendationOperation(proto.Message): target_roas: float campaign_budget_amount_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_roas: float = ..., @@ -112,8 +115,8 @@ class ApplyRecommendationOperation(proto.Message): match_type: KeywordMatchTypeEnum.KeywordMatchType cpc_bid_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad_group: str = ..., @@ -124,8 +127,8 @@ class ApplyRecommendationOperation(proto.Message): class LowerTargetRoasParameters(proto.Message): target_roas_multiplier: float def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_roas_multiplier: float = ... @@ -134,8 +137,8 @@ class ApplyRecommendationOperation(proto.Message): class MoveUnusedBudgetParameters(proto.Message): budget_micros_to_move: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., budget_micros_to_move: int = ... @@ -144,8 +147,8 @@ class ApplyRecommendationOperation(proto.Message): class RaiseTargetCpaBidTooLowParameters(proto.Message): target_multiplier: float def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_multiplier: float = ... @@ -154,8 +157,8 @@ class ApplyRecommendationOperation(proto.Message): class RaiseTargetCpaParameters(proto.Message): target_cpa_multiplier: float def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_cpa_multiplier: float = ... @@ -164,8 +167,8 @@ class ApplyRecommendationOperation(proto.Message): class ResponsiveSearchAdAssetParameters(proto.Message): updated_ad: Ad def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., updated_ad: Ad = ... @@ -174,8 +177,8 @@ class ApplyRecommendationOperation(proto.Message): class ResponsiveSearchAdImproveAdStrengthParameters(proto.Message): updated_ad: Ad def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., updated_ad: Ad = ... @@ -184,8 +187,8 @@ class ApplyRecommendationOperation(proto.Message): class ResponsiveSearchAdParameters(proto.Message): ad: Ad def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad: Ad = ... @@ -194,8 +197,8 @@ class ApplyRecommendationOperation(proto.Message): class SitelinkAssetParameters(proto.Message): ad_asset_apply_parameters: ApplyRecommendationOperation.AdAssetApplyParameters def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad_asset_apply_parameters: ApplyRecommendationOperation.AdAssetApplyParameters = ... @@ -204,8 +207,8 @@ class ApplyRecommendationOperation(proto.Message): class SitelinkExtensionParameters(proto.Message): sitelink_extensions: MutableSequence[SitelinkFeedItem] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., sitelink_extensions: MutableSequence[SitelinkFeedItem] = ... @@ -215,8 +218,8 @@ class ApplyRecommendationOperation(proto.Message): target_cpa_micros: int new_campaign_budget_amount_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_cpa_micros: int = ..., @@ -227,8 +230,8 @@ class ApplyRecommendationOperation(proto.Message): target_roas: float new_campaign_budget_amount_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., target_roas: float = ..., @@ -238,8 +241,8 @@ class ApplyRecommendationOperation(proto.Message): class TextAdParameters(proto.Message): ad: Ad def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad: Ad = ... @@ -248,8 +251,8 @@ class ApplyRecommendationOperation(proto.Message): class UseBroadMatchKeywordParameters(proto.Message): new_budget_amount_micros: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., new_budget_amount_micros: int = ... @@ -279,8 +282,8 @@ class ApplyRecommendationOperation(proto.Message): set_target_cpa: ApplyRecommendationOperation.ForecastingSetTargetCpaParameters set_target_roas: ApplyRecommendationOperation.ForecastingSetTargetRoasParameters def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -314,8 +317,8 @@ class ApplyRecommendationRequest(proto.Message): operations: MutableSequence[ApplyRecommendationOperation] partial_failure: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -327,8 +330,8 @@ class ApplyRecommendationResponse(proto.Message): results: MutableSequence[ApplyRecommendationResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[ApplyRecommendationResult] = ..., @@ -338,8 +341,8 @@ class ApplyRecommendationResponse(proto.Message): class ApplyRecommendationResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -349,8 +352,8 @@ class DismissRecommendationRequest(proto.Message): class DismissRecommendationOperation(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -361,8 +364,8 @@ class DismissRecommendationRequest(proto.Message): ] partial_failure: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -376,8 +379,8 @@ class DismissRecommendationResponse(proto.Message): class DismissRecommendationResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -385,8 +388,8 @@ class DismissRecommendationResponse(proto.Message): results: MutableSequence[DismissRecommendationResponse.DismissRecommendationResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[ diff --git a/google-stubs/ads/googleads/v15/services/types/recommendation_subscription_service.pyi b/google-stubs/ads/googleads/v15/services/types/recommendation_subscription_service.pyi index e20cc9660..0d2fb35a5 100644 --- a/google-stubs/ads/googleads/v15/services/types/recommendation_subscription_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/recommendation_subscription_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -12,6 +13,8 @@ from google.ads.googleads.v15.resources.types.recommendation_subscription import RecommendationSubscription, ) +_M = TypeVar("_M") + class MutateRecommendationSubscriptionRequest(proto.Message): customer_id: str operations: MutableSequence[RecommendationSubscriptionOperation] @@ -19,8 +22,8 @@ class MutateRecommendationSubscriptionRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -34,8 +37,8 @@ class MutateRecommendationSubscriptionResponse(proto.Message): results: MutableSequence[MutateRecommendationSubscriptionResult] partial_failure_error: Status def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., results: MutableSequence[MutateRecommendationSubscriptionResult] = ..., @@ -46,8 +49,8 @@ class MutateRecommendationSubscriptionResult(proto.Message): resource_name: str recommendation_subscription: RecommendationSubscription def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -59,8 +62,8 @@ class RecommendationSubscriptionOperation(proto.Message): create: RecommendationSubscription update: RecommendationSubscription def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/remarketing_action_service.pyi b/google-stubs/ads/googleads/v15/services/types/remarketing_action_service.pyi index ced06dab8..d39d12794 100644 --- a/google-stubs/ads/googleads/v15/services/types/remarketing_action_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/remarketing_action_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -9,11 +10,13 @@ from google.ads.googleads.v15.resources.types.remarketing_action import ( RemarketingAction, ) +_M = TypeVar("_M") + class MutateRemarketingActionResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -25,8 +28,8 @@ class MutateRemarketingActionsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -39,8 +42,8 @@ class MutateRemarketingActionsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateRemarketingActionResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -52,8 +55,8 @@ class RemarketingActionOperation(proto.Message): create: RemarketingAction update: RemarketingAction def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/shared_criterion_service.pyi b/google-stubs/ads/googleads/v15/services/types/shared_criterion_service.pyi index 09a05fc6f..b887afc89 100644 --- a/google-stubs/ads/googleads/v15/services/types/shared_criterion_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/shared_criterion_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.rpc.status_pb2 import Status @@ -9,6 +10,8 @@ from google.ads.googleads.v15.enums.types.response_content_type import ( ) from google.ads.googleads.v15.resources.types.shared_criterion import SharedCriterion +_M = TypeVar("_M") + class MutateSharedCriteriaRequest(proto.Message): customer_id: str operations: MutableSequence[SharedCriterionOperation] @@ -16,8 +19,8 @@ class MutateSharedCriteriaRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -31,8 +34,8 @@ class MutateSharedCriteriaResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateSharedCriterionResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -43,8 +46,8 @@ class MutateSharedCriterionResult(proto.Message): resource_name: str shared_criterion: SharedCriterion def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -55,8 +58,8 @@ class SharedCriterionOperation(proto.Message): create: SharedCriterion remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: SharedCriterion = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/shared_set_service.pyi b/google-stubs/ads/googleads/v15/services/types/shared_set_service.pyi index 3cbcd7d98..28d27368c 100644 --- a/google-stubs/ads/googleads/v15/services/types/shared_set_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/shared_set_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -10,12 +11,14 @@ from google.ads.googleads.v15.enums.types.response_content_type import ( ) from google.ads.googleads.v15.resources.types.shared_set import SharedSet +_M = TypeVar("_M") + class MutateSharedSetResult(proto.Message): resource_name: str shared_set: SharedSet def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -29,8 +32,8 @@ class MutateSharedSetsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -44,8 +47,8 @@ class MutateSharedSetsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateSharedSetResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -58,8 +61,8 @@ class SharedSetOperation(proto.Message): update: SharedSet remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/smart_campaign_setting_service.pyi b/google-stubs/ads/googleads/v15/services/types/smart_campaign_setting_service.pyi index e10ce3338..3126edc78 100644 --- a/google-stubs/ads/googleads/v15/services/types/smart_campaign_setting_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/smart_campaign_setting_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status @@ -18,11 +19,13 @@ from google.ads.googleads.v15.resources.types.smart_campaign_setting import ( SmartCampaignSetting, ) +_M = TypeVar("_M") + class GetSmartCampaignStatusRequest(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -36,8 +39,8 @@ class GetSmartCampaignStatusResponse(proto.Message): removed_details: SmartCampaignRemovedDetails ended_details: SmartCampaignEndedDetails def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., smart_campaign_status: SmartCampaignStatusEnum.SmartCampaignStatus = ..., @@ -52,8 +55,8 @@ class MutateSmartCampaignSettingResult(proto.Message): resource_name: str smart_campaign_setting: SmartCampaignSetting def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -67,8 +70,8 @@ class MutateSmartCampaignSettingsRequest(proto.Message): validate_only: bool response_content_type: ResponseContentTypeEnum.ResponseContentType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -82,8 +85,8 @@ class MutateSmartCampaignSettingsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateSmartCampaignSettingResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -94,8 +97,8 @@ class SmartCampaignEligibleDetails(proto.Message): last_impression_date_time: str end_date_time: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., last_impression_date_time: str = ..., @@ -105,8 +108,8 @@ class SmartCampaignEligibleDetails(proto.Message): class SmartCampaignEndedDetails(proto.Message): end_date_time: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., end_date_time: str = ... @@ -115,8 +118,8 @@ class SmartCampaignEndedDetails(proto.Message): class SmartCampaignNotEligibleDetails(proto.Message): not_eligible_reason: SmartCampaignNotEligibleReasonEnum.SmartCampaignNotEligibleReason def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., not_eligible_reason: SmartCampaignNotEligibleReasonEnum.SmartCampaignNotEligibleReason = ... @@ -125,8 +128,8 @@ class SmartCampaignNotEligibleDetails(proto.Message): class SmartCampaignPausedDetails(proto.Message): paused_date_time: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., paused_date_time: str = ... @@ -135,8 +138,8 @@ class SmartCampaignPausedDetails(proto.Message): class SmartCampaignRemovedDetails(proto.Message): removed_date_time: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., removed_date_time: str = ... @@ -146,8 +149,8 @@ class SmartCampaignSettingOperation(proto.Message): update: SmartCampaignSetting update_mask: FieldMask def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update: SmartCampaignSetting = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/smart_campaign_suggest_service.pyi b/google-stubs/ads/googleads/v15/services/types/smart_campaign_suggest_service.pyi index 5f2f22515..212025ab0 100644 --- a/google-stubs/ads/googleads/v15/services/types/smart_campaign_suggest_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/smart_campaign_suggest_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.ad_type_infos import SmartCampaignAdInfo @@ -14,12 +15,14 @@ from google.ads.googleads.v15.resources.types.keyword_theme_constant import ( KeywordThemeConstant, ) +_M = TypeVar("_M") + class SmartCampaignSuggestionInfo(proto.Message): class BusinessContext(proto.Message): business_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., business_name: str = ... @@ -28,8 +31,8 @@ class SmartCampaignSuggestionInfo(proto.Message): class LocationList(proto.Message): locations: MutableSequence[LocationInfo] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., locations: MutableSequence[LocationInfo] = ... @@ -43,8 +46,8 @@ class SmartCampaignSuggestionInfo(proto.Message): location_list: SmartCampaignSuggestionInfo.LocationList proximity: ProximityInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., final_url: str = ..., @@ -61,8 +64,8 @@ class SuggestKeywordThemesRequest(proto.Message): customer_id: str suggestion_info: SmartCampaignSuggestionInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -74,8 +77,8 @@ class SuggestKeywordThemesResponse(proto.Message): keyword_theme_constant: KeywordThemeConstant free_form_keyword_theme: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., keyword_theme_constant: KeywordThemeConstant = ..., @@ -83,8 +86,8 @@ class SuggestKeywordThemesResponse(proto.Message): ) -> None: ... keyword_themes: MutableSequence[SuggestKeywordThemesResponse.KeywordTheme] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., keyword_themes: MutableSequence[SuggestKeywordThemesResponse.KeywordTheme] = ... @@ -94,8 +97,8 @@ class SuggestSmartCampaignAdRequest(proto.Message): customer_id: str suggestion_info: SmartCampaignSuggestionInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -105,8 +108,8 @@ class SuggestSmartCampaignAdRequest(proto.Message): class SuggestSmartCampaignAdResponse(proto.Message): ad_info: SmartCampaignAdInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ad_info: SmartCampaignAdInfo = ... @@ -117,8 +120,8 @@ class SuggestSmartCampaignBudgetOptionsRequest(proto.Message): campaign: str suggestion_info: SmartCampaignSuggestionInfo def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -131,8 +134,8 @@ class SuggestSmartCampaignBudgetOptionsResponse(proto.Message): daily_amount_micros: int metrics: SuggestSmartCampaignBudgetOptionsResponse.Metrics def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., daily_amount_micros: int = ..., @@ -143,8 +146,8 @@ class SuggestSmartCampaignBudgetOptionsResponse(proto.Message): min_daily_clicks: int max_daily_clicks: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., min_daily_clicks: int = ..., @@ -154,8 +157,8 @@ class SuggestSmartCampaignBudgetOptionsResponse(proto.Message): recommended: SuggestSmartCampaignBudgetOptionsResponse.BudgetOption high: SuggestSmartCampaignBudgetOptionsResponse.BudgetOption def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., low: SuggestSmartCampaignBudgetOptionsResponse.BudgetOption = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/third_party_app_analytics_link_service.pyi b/google-stubs/ads/googleads/v15/services/types/third_party_app_analytics_link_service.pyi index 8c236044e..db1aef4ca 100644 --- a/google-stubs/ads/googleads/v15/services/types/third_party_app_analytics_link_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/third_party_app_analytics_link_service.pyi @@ -1,12 +1,16 @@ -from typing import Any +from collections.abc import Mapping +from typing import Any, TypeVar +import google.protobuf.message import proto +_M = TypeVar("_M") + class RegenerateShareableLinkIdRequest(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ..., @@ -14,8 +18,8 @@ class RegenerateShareableLinkIdRequest(proto.Message): class RegenerateShareableLinkIdResponse(proto.Message): def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., ) -> None: ... diff --git a/google-stubs/ads/googleads/v15/services/types/travel_asset_suggestion_service.pyi b/google-stubs/ads/googleads/v15/services/types/travel_asset_suggestion_service.pyi index 31e184fad..f4d76548d 100644 --- a/google-stubs/ads/googleads/v15/services/types/travel_asset_suggestion_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/travel_asset_suggestion_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.enums.types.asset_field_type import AssetFieldTypeEnum @@ -11,6 +12,8 @@ from google.ads.googleads.v15.enums.types.hotel_asset_suggestion_status import ( HotelAssetSuggestionStatusEnum, ) +_M = TypeVar("_M") + class HotelAssetSuggestion(proto.Message): place_id: str final_url: str @@ -20,8 +23,8 @@ class HotelAssetSuggestion(proto.Message): image_assets: MutableSequence[HotelImageAsset] status: HotelAssetSuggestionStatusEnum.HotelAssetSuggestionStatus def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., place_id: str = ..., @@ -37,8 +40,8 @@ class HotelImageAsset(proto.Message): uri: str asset_field_type: AssetFieldTypeEnum.AssetFieldType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., uri: str = ..., @@ -49,8 +52,8 @@ class HotelTextAsset(proto.Message): text: str asset_field_type: AssetFieldTypeEnum.AssetFieldType def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., text: str = ..., @@ -62,8 +65,8 @@ class SuggestTravelAssetsRequest(proto.Message): language_option: str place_ids: MutableSequence[str] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -74,8 +77,8 @@ class SuggestTravelAssetsRequest(proto.Message): class SuggestTravelAssetsResponse(proto.Message): hotel_asset_suggestions: MutableSequence[HotelAssetSuggestion] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., hotel_asset_suggestions: MutableSequence[HotelAssetSuggestion] = ... diff --git a/google-stubs/ads/googleads/v15/services/types/user_data_service.pyi b/google-stubs/ads/googleads/v15/services/types/user_data_service.pyi index afee71879..6cf3206a1 100644 --- a/google-stubs/ads/googleads/v15/services/types/user_data_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/user_data_service.pyi @@ -1,6 +1,7 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.ads.googleads.v15.common.types.offline_user_data import ( @@ -8,13 +9,15 @@ from google.ads.googleads.v15.common.types.offline_user_data import ( UserData, ) +_M = TypeVar("_M") + class UploadUserDataRequest(proto.Message): customer_id: str operations: MutableSequence[UserDataOperation] customer_match_user_list_metadata: CustomerMatchUserListMetadata def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -26,8 +29,8 @@ class UploadUserDataResponse(proto.Message): upload_date_time: str received_operations_count: int def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., upload_date_time: str = ..., @@ -38,8 +41,8 @@ class UserDataOperation(proto.Message): create: UserData remove: UserData def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., create: UserData = ..., diff --git a/google-stubs/ads/googleads/v15/services/types/user_list_service.pyi b/google-stubs/ads/googleads/v15/services/types/user_list_service.pyi index afd52055a..8b3b29fe3 100644 --- a/google-stubs/ads/googleads/v15/services/types/user_list_service.pyi +++ b/google-stubs/ads/googleads/v15/services/types/user_list_service.pyi @@ -1,17 +1,20 @@ -from collections.abc import MutableSequence -from typing import Any +from collections.abc import Mapping, MutableSequence +from typing import Any, TypeVar +import google.protobuf.message import proto from google.protobuf.field_mask_pb2 import FieldMask from google.rpc.status_pb2 import Status from google.ads.googleads.v15.resources.types.user_list import UserList +_M = TypeVar("_M") + class MutateUserListResult(proto.Message): resource_name: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., resource_name: str = ... @@ -23,8 +26,8 @@ class MutateUserListsRequest(proto.Message): partial_failure: bool validate_only: bool def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., customer_id: str = ..., @@ -37,8 +40,8 @@ class MutateUserListsResponse(proto.Message): partial_failure_error: Status results: MutableSequence[MutateUserListResult] def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., partial_failure_error: Status = ..., @@ -51,8 +54,8 @@ class UserListOperation(proto.Message): update: UserList remove: str def __init__( - self, - mapping: Any | None = ..., + self: _M, + mapping: _M | Mapping | google.protobuf.message.Message | None = ..., *, ignore_unknown_fields: bool = ..., update_mask: FieldMask = ..., diff --git a/pyproject.toml b/pyproject.toml index 4c2c5bc7b..1fdfbab2a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,7 +20,7 @@ googleapis-common-protos-stubs = ">=2.0.0" google-ads = ">=22.1.0" grpc-stubs = ">=1.24.7" types-protobuf = ">=3.18.0" -proto-plus-stubs = ">=0.1.0" +proto-plus-stubs = ">=0.3.0" google-auth-stubs = ">=0.1.0" [tool.poetry.group.dev.dependencies]