google-ads-googleads 5.0.0 → 5.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog +3 -0
- data/Rakefile +7 -2
- data/lib/google/ads/google_ads/factories.rb +3 -3
- data/lib/google/ads/google_ads/factories/v1/enums.rb +975 -975
- data/lib/google/ads/google_ads/factories/v1/operations.rb +993 -993
- data/lib/google/ads/google_ads/factories/v1/resources.rb +2289 -2289
- data/lib/google/ads/google_ads/factories/v1/services.rb +395 -395
- data/lib/google/ads/google_ads/factories/v2/enums.rb +995 -995
- data/lib/google/ads/google_ads/factories/v2/operations.rb +1001 -1001
- data/lib/google/ads/google_ads/factories/v2/resources.rb +2519 -2519
- data/lib/google/ads/google_ads/factories/v2/services.rb +419 -419
- data/lib/google/ads/google_ads/factories/v3/enums.rb +1033 -985
- data/lib/google/ads/google_ads/factories/v3/operations.rb +1092 -1004
- data/lib/google/ads/google_ads/factories/v3/resources.rb +2579 -2462
- data/lib/google/ads/google_ads/factories/v3/services.rb +460 -420
- data/lib/google/ads/google_ads/v3/common/offline_user_data_pb.rb +70 -0
- data/lib/google/ads/google_ads/v3/enums/ad_group_type_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/enums/ad_type_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/enums/conversion_action_category_pb.rb +14 -0
- data/lib/google/ads/google_ads/v3/enums/offline_user_data_job_failure_reason_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/offline_user_data_job_status_pb.rb +23 -0
- data/lib/google/ads/google_ads/v3/enums/offline_user_data_job_type_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/errors/account_budget_proposal_error_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/errors/ad_group_error_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/errors/asset_link_error_pb.rb +20 -0
- data/lib/google/ads/google_ads/v3/errors/campaign_budget_error_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/errors/criterion_error_pb.rb +6 -0
- data/lib/google/ads/google_ads/v3/errors/customer_client_link_error_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/errors/errors_pb.rb +6 -0
- data/lib/google/ads/google_ads/v3/errors/manager_link_error_pb.rb +2 -0
- data/lib/google/ads/google_ads/v3/errors/mutate_error_pb.rb +2 -0
- data/lib/google/ads/google_ads/v3/errors/offline_user_data_job_error_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/errors/user_data_error_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/resources/account_budget_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/account_budget_proposal_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/ad_group_ad_asset_view_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/ad_group_ad_label_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/ad_group_ad_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/ad_group_audience_view_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/ad_group_bid_modifier_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/ad_group_criterion_label_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/ad_group_criterion_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/ad_group_criterion_simulation_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/ad_group_extension_setting_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/ad_group_feed_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/ad_group_label_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/ad_group_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/ad_group_simulation_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/ad_parameter_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/ad_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/ad_schedule_view_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/age_range_view_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/asset_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/bidding_strategy_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/billing_setup_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/campaign_audience_view_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/campaign_bid_modifier_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/campaign_budget_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/campaign_criterion_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/campaign_criterion_simulation_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/campaign_draft_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/campaign_experiment_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/campaign_extension_setting_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/campaign_feed_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/campaign_label_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/campaign_pb.rb +11 -9
- data/lib/google/ads/google_ads/v3/resources/campaign_shared_set_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/carrier_constant_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/change_status_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/click_view_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/conversion_action_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/currency_constant_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/custom_interest_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/customer_client_link_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/customer_client_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/customer_extension_setting_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/customer_feed_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/customer_label_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/customer_manager_link_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/customer_negative_criterion_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/customer_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/detail_placement_view_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/display_keyword_view_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/distance_view_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/domain_category_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/dynamic_search_ads_search_term_view_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/expanded_landing_page_view_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/extension_feed_item_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/feed_item_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/feed_item_target_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/feed_mapping_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/feed_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/feed_placeholder_view_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/gender_view_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/geo_target_constant_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/geographic_view_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/google_ads_field_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/group_placement_view_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/hotel_group_view_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/hotel_performance_view_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/invoice_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/keyword_plan_ad_group_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/keyword_plan_campaign_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/keyword_plan_keyword_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/keyword_plan_negative_keyword_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/keyword_plan_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/keyword_view_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/label_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/landing_page_view_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/language_constant_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/location_view_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/managed_placement_view_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/media_file_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/merchant_center_link_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/mobile_app_category_constant_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/mobile_device_constant_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/mutate_job_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/offline_user_data_job_pb.rb +31 -0
- data/lib/google/ads/google_ads/v3/resources/operating_system_version_constant_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/paid_organic_search_term_view_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/parental_status_view_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/payments_account_pb.rb +2 -0
- data/lib/google/ads/google_ads/v3/resources/product_bidding_category_constant_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/product_group_view_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/recommendation_pb.rb +22 -21
- data/lib/google/ads/google_ads/v3/resources/remarketing_action_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/search_term_view_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/shared_criterion_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/shared_set_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/shopping_performance_view_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/topic_constant_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/topic_view_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/user_interest_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/user_list_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/user_location_view_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/resources/video_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/account_budget_proposal_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/account_budget_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_ad_asset_view_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_ad_label_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_ad_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_audience_view_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_bid_modifier_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_criterion_label_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_criterion_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_criterion_simulation_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_extension_setting_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_feed_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_label_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_simulation_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/ad_parameter_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/ad_schedule_view_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/ad_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/age_range_view_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/asset_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/bidding_strategy_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/billing_setup_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/campaign_audience_view_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/campaign_bid_modifier_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/campaign_budget_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/campaign_criterion_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/campaign_criterion_simulation_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/campaign_draft_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/campaign_experiment_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/campaign_extension_setting_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/campaign_feed_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/campaign_label_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/campaign_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/campaign_shared_set_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/carrier_constant_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/change_status_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/click_view_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/conversion_action_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/conversion_adjustment_upload_service_client.rb +1 -1
- data/lib/google/ads/google_ads/v3/services/conversion_upload_service_client.rb +2 -2
- data/lib/google/ads/google_ads/v3/services/currency_constant_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/custom_interest_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/customer_client_link_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/customer_client_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/customer_extension_setting_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/customer_feed_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/customer_label_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/customer_manager_link_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/customer_negative_criterion_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/customer_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/detail_placement_view_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/display_keyword_view_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/distance_view_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/domain_category_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/dynamic_search_ads_search_term_view_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/expanded_landing_page_view_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/extension_feed_item_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/feed_item_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/feed_item_target_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/feed_mapping_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/feed_placeholder_view_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/feed_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/gender_view_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/geo_target_constant_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/geographic_view_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/google_ads_field_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/google_ads_service_client_config.json +9 -1
- data/lib/google/ads/google_ads/v3/services/google_ads_service_pb.rb +5 -0
- data/lib/google/ads/google_ads/v3/services/group_placement_view_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/hotel_group_view_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/hotel_performance_view_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/keyword_plan_ad_group_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/keyword_plan_campaign_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/keyword_plan_idea_service_client.rb +1 -1
- data/lib/google/ads/google_ads/v3/services/keyword_plan_idea_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/keyword_plan_keyword_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/keyword_plan_negative_keyword_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/keyword_plan_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/keyword_view_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/label_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/landing_page_view_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/language_constant_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/location_view_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/managed_placement_view_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/media_file_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/merchant_center_link_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/mobile_app_category_constant_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/mobile_device_constant_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/mutate_job_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/offline_user_data_job_service_client.rb +415 -0
- data/lib/google/ads/google_ads/v3/services/offline_user_data_job_service_client_config.json +46 -0
- data/lib/google/ads/google_ads/v3/services/offline_user_data_job_service_pb.rb +54 -0
- data/lib/google/ads/google_ads/v3/services/offline_user_data_job_service_services_pb.rb +50 -0
- data/lib/google/ads/google_ads/v3/services/operating_system_version_constant_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/paid_organic_search_term_view_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/parental_status_view_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/product_bidding_category_constant_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/product_group_view_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/reach_plan_service_client.rb +3 -5
- data/lib/google/ads/google_ads/v3/services/recommendation_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/remarketing_action_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/search_term_view_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/shared_criterion_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/shared_set_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/shopping_performance_view_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/topic_constant_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/topic_view_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/user_data_service_client.rb +225 -0
- data/lib/google/ads/google_ads/v3/services/user_data_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/user_data_service_pb.rb +34 -0
- data/lib/google/ads/google_ads/v3/services/user_data_service_services_pb.rb +42 -0
- data/lib/google/ads/google_ads/v3/services/user_interest_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/user_list_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/user_location_view_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/v3/services/video_service_pb.rb +1 -0
- data/lib/google/ads/google_ads/version.rb +1 -1
- metadata +19 -3
@@ -20,76 +20,84 @@ module Google
|
|
20
20
|
Google::Ads::GoogleAds::V1::Services::AdGroupCriterionLabelOperation.new
|
21
21
|
end
|
22
22
|
|
23
|
-
# Create a new
|
23
|
+
# Create a new CustomInterestOperation
|
24
24
|
#
|
25
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
26
|
-
def self.
|
27
|
-
require "google/ads/google_ads/v1/services/
|
28
|
-
Google::Ads::GoogleAds::V1::Services::
|
25
|
+
# @return [Google::Ads::GoogleAds::V1::Services::CustomInterestOperation] the operation
|
26
|
+
def self.custom_interest
|
27
|
+
require "google/ads/google_ads/v1/services/custom_interest_service_pb.rb"
|
28
|
+
Google::Ads::GoogleAds::V1::Services::CustomInterestOperation.new
|
29
29
|
end
|
30
30
|
|
31
|
-
# Create a new
|
31
|
+
# Create a new CustomerNegativeCriterionOperation
|
32
32
|
#
|
33
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
34
|
-
def self.
|
35
|
-
require "google/ads/google_ads/v1/services/
|
36
|
-
Google::Ads::GoogleAds::V1::Services::
|
33
|
+
# @return [Google::Ads::GoogleAds::V1::Services::CustomerNegativeCriterionOperation] the operation
|
34
|
+
def self.customer_negative_criterion
|
35
|
+
require "google/ads/google_ads/v1/services/customer_negative_criterion_service_pb.rb"
|
36
|
+
Google::Ads::GoogleAds::V1::Services::CustomerNegativeCriterionOperation.new
|
37
37
|
end
|
38
38
|
|
39
|
-
# Create a new
|
39
|
+
# Create a new SharedCriterionOperation
|
40
40
|
#
|
41
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
42
|
-
def self.
|
43
|
-
require "google/ads/google_ads/v1/services/
|
44
|
-
Google::Ads::GoogleAds::V1::Services::
|
41
|
+
# @return [Google::Ads::GoogleAds::V1::Services::SharedCriterionOperation] the operation
|
42
|
+
def self.shared_criterion
|
43
|
+
require "google/ads/google_ads/v1/services/shared_criterion_service_pb.rb"
|
44
|
+
Google::Ads::GoogleAds::V1::Services::SharedCriterionOperation.new
|
45
45
|
end
|
46
46
|
|
47
|
-
# Create a new
|
47
|
+
# Create a new FeedMappingOperation
|
48
48
|
#
|
49
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
50
|
-
def self.
|
51
|
-
require "google/ads/google_ads/v1/services/
|
52
|
-
Google::Ads::GoogleAds::V1::Services::
|
49
|
+
# @return [Google::Ads::GoogleAds::V1::Services::FeedMappingOperation] the operation
|
50
|
+
def self.feed_mapping
|
51
|
+
require "google/ads/google_ads/v1/services/feed_mapping_service_pb.rb"
|
52
|
+
Google::Ads::GoogleAds::V1::Services::FeedMappingOperation.new
|
53
53
|
end
|
54
54
|
|
55
|
-
# Create a new
|
55
|
+
# Create a new AdGroupOperation
|
56
56
|
#
|
57
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
58
|
-
def self.
|
59
|
-
require "google/ads/google_ads/v1/services/
|
60
|
-
Google::Ads::GoogleAds::V1::Services::
|
57
|
+
# @return [Google::Ads::GoogleAds::V1::Services::AdGroupOperation] the operation
|
58
|
+
def self.ad_group
|
59
|
+
require "google/ads/google_ads/v1/services/ad_group_service_pb.rb"
|
60
|
+
Google::Ads::GoogleAds::V1::Services::AdGroupOperation.new
|
61
61
|
end
|
62
62
|
|
63
|
-
# Create a new
|
63
|
+
# Create a new ExtensionFeedItemOperation
|
64
64
|
#
|
65
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
66
|
-
def self.
|
67
|
-
require "google/ads/google_ads/v1/services/
|
68
|
-
Google::Ads::GoogleAds::V1::Services::
|
65
|
+
# @return [Google::Ads::GoogleAds::V1::Services::ExtensionFeedItemOperation] the operation
|
66
|
+
def self.extension_feed_item
|
67
|
+
require "google/ads/google_ads/v1/services/extension_feed_item_service_pb.rb"
|
68
|
+
Google::Ads::GoogleAds::V1::Services::ExtensionFeedItemOperation.new
|
69
69
|
end
|
70
70
|
|
71
|
-
# Create a new
|
71
|
+
# Create a new CampaignBidModifierOperation
|
72
72
|
#
|
73
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
74
|
-
def self.
|
75
|
-
require "google/ads/google_ads/v1/services/
|
76
|
-
Google::Ads::GoogleAds::V1::Services::
|
73
|
+
# @return [Google::Ads::GoogleAds::V1::Services::CampaignBidModifierOperation] the operation
|
74
|
+
def self.campaign_bid_modifier
|
75
|
+
require "google/ads/google_ads/v1/services/campaign_bid_modifier_service_pb.rb"
|
76
|
+
Google::Ads::GoogleAds::V1::Services::CampaignBidModifierOperation.new
|
77
77
|
end
|
78
78
|
|
79
|
-
# Create a new
|
79
|
+
# Create a new CampaignDraftOperation
|
80
80
|
#
|
81
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
82
|
-
def self.
|
83
|
-
require "google/ads/google_ads/v1/services/
|
84
|
-
Google::Ads::GoogleAds::V1::Services::
|
81
|
+
# @return [Google::Ads::GoogleAds::V1::Services::CampaignDraftOperation] the operation
|
82
|
+
def self.campaign_draft
|
83
|
+
require "google/ads/google_ads/v1/services/campaign_draft_service_pb.rb"
|
84
|
+
Google::Ads::GoogleAds::V1::Services::CampaignDraftOperation.new
|
85
85
|
end
|
86
86
|
|
87
|
-
# Create a new
|
87
|
+
# Create a new CustomerOperation
|
88
88
|
#
|
89
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
90
|
-
def self.
|
91
|
-
require "google/ads/google_ads/v1/services/
|
92
|
-
Google::Ads::GoogleAds::V1::Services::
|
89
|
+
# @return [Google::Ads::GoogleAds::V1::Services::CustomerOperation] the operation
|
90
|
+
def self.customer
|
91
|
+
require "google/ads/google_ads/v1/services/customer_service_pb.rb"
|
92
|
+
Google::Ads::GoogleAds::V1::Services::CustomerOperation.new
|
93
|
+
end
|
94
|
+
|
95
|
+
# Create a new SharedSetOperation
|
96
|
+
#
|
97
|
+
# @return [Google::Ads::GoogleAds::V1::Services::SharedSetOperation] the operation
|
98
|
+
def self.shared_set
|
99
|
+
require "google/ads/google_ads/v1/services/shared_set_service_pb.rb"
|
100
|
+
Google::Ads::GoogleAds::V1::Services::SharedSetOperation.new
|
93
101
|
end
|
94
102
|
|
95
103
|
# Create a new CampaignFeedOperation
|
@@ -100,36 +108,20 @@ module Google
|
|
100
108
|
Google::Ads::GoogleAds::V1::Services::CampaignFeedOperation.new
|
101
109
|
end
|
102
110
|
|
103
|
-
# Create a new
|
104
|
-
#
|
105
|
-
# @return [Google::Ads::GoogleAds::V1::Services::SharedCriterionOperation] the operation
|
106
|
-
def self.shared_criterion
|
107
|
-
require "google/ads/google_ads/v1/services/shared_criterion_service_pb.rb"
|
108
|
-
Google::Ads::GoogleAds::V1::Services::SharedCriterionOperation.new
|
109
|
-
end
|
110
|
-
|
111
|
-
# Create a new RemarketingActionOperation
|
112
|
-
#
|
113
|
-
# @return [Google::Ads::GoogleAds::V1::Services::RemarketingActionOperation] the operation
|
114
|
-
def self.remarketing_action
|
115
|
-
require "google/ads/google_ads/v1/services/remarketing_action_service_pb.rb"
|
116
|
-
Google::Ads::GoogleAds::V1::Services::RemarketingActionOperation.new
|
117
|
-
end
|
118
|
-
|
119
|
-
# Create a new AdGroupLabelOperation
|
111
|
+
# Create a new LabelOperation
|
120
112
|
#
|
121
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
122
|
-
def self.
|
123
|
-
require "google/ads/google_ads/v1/services/
|
124
|
-
Google::Ads::GoogleAds::V1::Services::
|
113
|
+
# @return [Google::Ads::GoogleAds::V1::Services::LabelOperation] the operation
|
114
|
+
def self.label
|
115
|
+
require "google/ads/google_ads/v1/services/label_service_pb.rb"
|
116
|
+
Google::Ads::GoogleAds::V1::Services::LabelOperation.new
|
125
117
|
end
|
126
118
|
|
127
|
-
# Create a new
|
119
|
+
# Create a new AdGroupAdLabelOperation
|
128
120
|
#
|
129
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
130
|
-
def self.
|
131
|
-
require "google/ads/google_ads/v1/services/
|
132
|
-
Google::Ads::GoogleAds::V1::Services::
|
121
|
+
# @return [Google::Ads::GoogleAds::V1::Services::AdGroupAdLabelOperation] the operation
|
122
|
+
def self.ad_group_ad_label
|
123
|
+
require "google/ads/google_ads/v1/services/ad_group_ad_label_service_pb.rb"
|
124
|
+
Google::Ads::GoogleAds::V1::Services::AdGroupAdLabelOperation.new
|
133
125
|
end
|
134
126
|
|
135
127
|
# Create a new AdGroupAdOperation
|
@@ -140,6 +132,14 @@ module Google
|
|
140
132
|
Google::Ads::GoogleAds::V1::Services::AdGroupAdOperation.new
|
141
133
|
end
|
142
134
|
|
135
|
+
# Create a new AdGroupBidModifierOperation
|
136
|
+
#
|
137
|
+
# @return [Google::Ads::GoogleAds::V1::Services::AdGroupBidModifierOperation] the operation
|
138
|
+
def self.ad_group_bid_modifier
|
139
|
+
require "google/ads/google_ads/v1/services/ad_group_bid_modifier_service_pb.rb"
|
140
|
+
Google::Ads::GoogleAds::V1::Services::AdGroupBidModifierOperation.new
|
141
|
+
end
|
142
|
+
|
143
143
|
# Create a new AdGroupCriterionOperation
|
144
144
|
#
|
145
145
|
# @return [Google::Ads::GoogleAds::V1::Services::AdGroupCriterionOperation] the operation
|
@@ -164,12 +164,12 @@ module Google
|
|
164
164
|
Google::Ads::GoogleAds::V1::Services::AdGroupFeedOperation.new
|
165
165
|
end
|
166
166
|
|
167
|
-
# Create a new
|
167
|
+
# Create a new AdGroupLabelOperation
|
168
168
|
#
|
169
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
170
|
-
def self.
|
171
|
-
require "google/ads/google_ads/v1/services/
|
172
|
-
Google::Ads::GoogleAds::V1::Services::
|
169
|
+
# @return [Google::Ads::GoogleAds::V1::Services::AdGroupLabelOperation] the operation
|
170
|
+
def self.ad_group_label
|
171
|
+
require "google/ads/google_ads/v1/services/ad_group_label_service_pb.rb"
|
172
|
+
Google::Ads::GoogleAds::V1::Services::AdGroupLabelOperation.new
|
173
173
|
end
|
174
174
|
|
175
175
|
# Create a new AdParameterOperation
|
@@ -196,14 +196,6 @@ module Google
|
|
196
196
|
Google::Ads::GoogleAds::V1::Services::BiddingStrategyOperation.new
|
197
197
|
end
|
198
198
|
|
199
|
-
# Create a new CampaignBidModifierOperation
|
200
|
-
#
|
201
|
-
# @return [Google::Ads::GoogleAds::V1::Services::CampaignBidModifierOperation] the operation
|
202
|
-
def self.campaign_bid_modifier
|
203
|
-
require "google/ads/google_ads/v1/services/campaign_bid_modifier_service_pb.rb"
|
204
|
-
Google::Ads::GoogleAds::V1::Services::CampaignBidModifierOperation.new
|
205
|
-
end
|
206
|
-
|
207
199
|
# Create a new CampaignBudgetOperation
|
208
200
|
#
|
209
201
|
# @return [Google::Ads::GoogleAds::V1::Services::CampaignBudgetOperation] the operation
|
@@ -220,14 +212,6 @@ module Google
|
|
220
212
|
Google::Ads::GoogleAds::V1::Services::CampaignCriterionOperation.new
|
221
213
|
end
|
222
214
|
|
223
|
-
# Create a new CampaignDraftOperation
|
224
|
-
#
|
225
|
-
# @return [Google::Ads::GoogleAds::V1::Services::CampaignDraftOperation] the operation
|
226
|
-
def self.campaign_draft
|
227
|
-
require "google/ads/google_ads/v1/services/campaign_draft_service_pb.rb"
|
228
|
-
Google::Ads::GoogleAds::V1::Services::CampaignDraftOperation.new
|
229
|
-
end
|
230
|
-
|
231
215
|
# Create a new CampaignExperimentOperation
|
232
216
|
#
|
233
217
|
# @return [Google::Ads::GoogleAds::V1::Services::CampaignExperimentOperation] the operation
|
@@ -260,6 +244,14 @@ module Google
|
|
260
244
|
Google::Ads::GoogleAds::V1::Services::CampaignOperation.new
|
261
245
|
end
|
262
246
|
|
247
|
+
# Create a new CampaignSharedSetOperation
|
248
|
+
#
|
249
|
+
# @return [Google::Ads::GoogleAds::V1::Services::CampaignSharedSetOperation] the operation
|
250
|
+
def self.campaign_shared_set
|
251
|
+
require "google/ads/google_ads/v1/services/campaign_shared_set_service_pb.rb"
|
252
|
+
Google::Ads::GoogleAds::V1::Services::CampaignSharedSetOperation.new
|
253
|
+
end
|
254
|
+
|
263
255
|
# Create a new ConversionActionOperation
|
264
256
|
#
|
265
257
|
# @return [Google::Ads::GoogleAds::V1::Services::ConversionActionOperation] the operation
|
@@ -284,28 +276,12 @@ module Google
|
|
284
276
|
Google::Ads::GoogleAds::V1::Services::CustomerFeedOperation.new
|
285
277
|
end
|
286
278
|
|
287
|
-
# Create a new
|
288
|
-
#
|
289
|
-
# @return [Google::Ads::GoogleAds::V1::Services::CustomerNegativeCriterionOperation] the operation
|
290
|
-
def self.customer_negative_criterion
|
291
|
-
require "google/ads/google_ads/v1/services/customer_negative_criterion_service_pb.rb"
|
292
|
-
Google::Ads::GoogleAds::V1::Services::CustomerNegativeCriterionOperation.new
|
293
|
-
end
|
294
|
-
|
295
|
-
# Create a new CustomerOperation
|
296
|
-
#
|
297
|
-
# @return [Google::Ads::GoogleAds::V1::Services::CustomerOperation] the operation
|
298
|
-
def self.customer
|
299
|
-
require "google/ads/google_ads/v1/services/customer_service_pb.rb"
|
300
|
-
Google::Ads::GoogleAds::V1::Services::CustomerOperation.new
|
301
|
-
end
|
302
|
-
|
303
|
-
# Create a new ExtensionFeedItemOperation
|
279
|
+
# Create a new CustomerLabelOperation
|
304
280
|
#
|
305
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
306
|
-
def self.
|
307
|
-
require "google/ads/google_ads/v1/services/
|
308
|
-
Google::Ads::GoogleAds::V1::Services::
|
281
|
+
# @return [Google::Ads::GoogleAds::V1::Services::CustomerLabelOperation] the operation
|
282
|
+
def self.customer_label
|
283
|
+
require "google/ads/google_ads/v1/services/customer_label_service_pb.rb"
|
284
|
+
Google::Ads::GoogleAds::V1::Services::CustomerLabelOperation.new
|
309
285
|
end
|
310
286
|
|
311
287
|
# Create a new FeedItemOperation
|
@@ -324,20 +300,12 @@ module Google
|
|
324
300
|
Google::Ads::GoogleAds::V1::Services::FeedItemTargetOperation.new
|
325
301
|
end
|
326
302
|
|
327
|
-
# Create a new
|
328
|
-
#
|
329
|
-
# @return [Google::Ads::GoogleAds::V1::Services::FeedMappingOperation] the operation
|
330
|
-
def self.feed_mapping
|
331
|
-
require "google/ads/google_ads/v1/services/feed_mapping_service_pb.rb"
|
332
|
-
Google::Ads::GoogleAds::V1::Services::FeedMappingOperation.new
|
333
|
-
end
|
334
|
-
|
335
|
-
# Create a new LabelOperation
|
303
|
+
# Create a new FeedOperation
|
336
304
|
#
|
337
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
338
|
-
def self.
|
339
|
-
require "google/ads/google_ads/v1/services/
|
340
|
-
Google::Ads::GoogleAds::V1::Services::
|
305
|
+
# @return [Google::Ads::GoogleAds::V1::Services::FeedOperation] the operation
|
306
|
+
def self.feed
|
307
|
+
require "google/ads/google_ads/v1/services/feed_service_pb.rb"
|
308
|
+
Google::Ads::GoogleAds::V1::Services::FeedOperation.new
|
341
309
|
end
|
342
310
|
|
343
311
|
# Create a new MediaFileOperation
|
@@ -348,6 +316,14 @@ module Google
|
|
348
316
|
Google::Ads::GoogleAds::V1::Services::MediaFileOperation.new
|
349
317
|
end
|
350
318
|
|
319
|
+
# Create a new RemarketingActionOperation
|
320
|
+
#
|
321
|
+
# @return [Google::Ads::GoogleAds::V1::Services::RemarketingActionOperation] the operation
|
322
|
+
def self.remarketing_action
|
323
|
+
require "google/ads/google_ads/v1/services/remarketing_action_service_pb.rb"
|
324
|
+
Google::Ads::GoogleAds::V1::Services::RemarketingActionOperation.new
|
325
|
+
end
|
326
|
+
|
351
327
|
# Create a new UserListOperation
|
352
328
|
#
|
353
329
|
# @return [Google::Ads::GoogleAds::V1::Services::UserListOperation] the operation
|
@@ -364,12 +340,12 @@ module Google
|
|
364
340
|
Google::Ads::GoogleAds::V1::Services::MutateOperation.new
|
365
341
|
end
|
366
342
|
|
367
|
-
# Create a new
|
343
|
+
# Create a new CustomerClientLinkOperation
|
368
344
|
#
|
369
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
370
|
-
def self.
|
371
|
-
require "google/ads/google_ads/v1/services/
|
372
|
-
Google::Ads::GoogleAds::V1::Services::
|
345
|
+
# @return [Google::Ads::GoogleAds::V1::Services::CustomerClientLinkOperation] the operation
|
346
|
+
def self.customer_client_link
|
347
|
+
require "google/ads/google_ads/v1/services/customer_client_link_service_pb.rb"
|
348
|
+
Google::Ads::GoogleAds::V1::Services::CustomerClientLinkOperation.new
|
373
349
|
end
|
374
350
|
|
375
351
|
# Create a new KeywordPlanAdGroupOperation
|
@@ -380,22 +356,6 @@ module Google
|
|
380
356
|
Google::Ads::GoogleAds::V1::Services::KeywordPlanAdGroupOperation.new
|
381
357
|
end
|
382
358
|
|
383
|
-
# Create a new BillingSetupOperation
|
384
|
-
#
|
385
|
-
# @return [Google::Ads::GoogleAds::V1::Services::BillingSetupOperation] the operation
|
386
|
-
def self.billing_setup
|
387
|
-
require "google/ads/google_ads/v1/services/billing_setup_service_pb.rb"
|
388
|
-
Google::Ads::GoogleAds::V1::Services::BillingSetupOperation.new
|
389
|
-
end
|
390
|
-
|
391
|
-
# Create a new CustomInterestOperation
|
392
|
-
#
|
393
|
-
# @return [Google::Ads::GoogleAds::V1::Services::CustomInterestOperation] the operation
|
394
|
-
def self.custom_interest
|
395
|
-
require "google/ads/google_ads/v1/services/custom_interest_service_pb.rb"
|
396
|
-
Google::Ads::GoogleAds::V1::Services::CustomInterestOperation.new
|
397
|
-
end
|
398
|
-
|
399
359
|
# Create a new KeywordPlanNegativeKeywordOperation
|
400
360
|
#
|
401
361
|
# @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanNegativeKeywordOperation] the operation
|
@@ -412,6 +372,22 @@ module Google
|
|
412
372
|
Google::Ads::GoogleAds::V1::Services::KeywordPlanOperation.new
|
413
373
|
end
|
414
374
|
|
375
|
+
# Create a new KeywordPlanKeywordOperation
|
376
|
+
#
|
377
|
+
# @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanKeywordOperation] the operation
|
378
|
+
def self.keyword_plan_keyword
|
379
|
+
require "google/ads/google_ads/v1/services/keyword_plan_keyword_service_pb.rb"
|
380
|
+
Google::Ads::GoogleAds::V1::Services::KeywordPlanKeywordOperation.new
|
381
|
+
end
|
382
|
+
|
383
|
+
# Create a new KeywordPlanCampaignOperation
|
384
|
+
#
|
385
|
+
# @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanCampaignOperation] the operation
|
386
|
+
def self.keyword_plan_campaign
|
387
|
+
require "google/ads/google_ads/v1/services/keyword_plan_campaign_service_pb.rb"
|
388
|
+
Google::Ads::GoogleAds::V1::Services::KeywordPlanCampaignOperation.new
|
389
|
+
end
|
390
|
+
|
415
391
|
# Create a new ApplyRecommendationOperation
|
416
392
|
#
|
417
393
|
# @return [Google::Ads::GoogleAds::V1::Services::ApplyRecommendationOperation] the operation
|
@@ -436,6 +412,30 @@ module Google
|
|
436
412
|
Google::Ads::GoogleAds::V1::Services::AccountBudgetProposalOperation.new
|
437
413
|
end
|
438
414
|
|
415
|
+
# Create a new CustomerManagerLinkOperation
|
416
|
+
#
|
417
|
+
# @return [Google::Ads::GoogleAds::V1::Services::CustomerManagerLinkOperation] the operation
|
418
|
+
def self.customer_manager_link
|
419
|
+
require "google/ads/google_ads/v1/services/customer_manager_link_service_pb.rb"
|
420
|
+
Google::Ads::GoogleAds::V1::Services::CustomerManagerLinkOperation.new
|
421
|
+
end
|
422
|
+
|
423
|
+
# Create a new BillingSetupOperation
|
424
|
+
#
|
425
|
+
# @return [Google::Ads::GoogleAds::V1::Services::BillingSetupOperation] the operation
|
426
|
+
def self.billing_setup
|
427
|
+
require "google/ads/google_ads/v1/services/billing_setup_service_pb.rb"
|
428
|
+
Google::Ads::GoogleAds::V1::Services::BillingSetupOperation.new
|
429
|
+
end
|
430
|
+
|
431
|
+
# Create a new MerchantCenterLinkOperation
|
432
|
+
#
|
433
|
+
# @return [Google::Ads::GoogleAds::V1::Services::MerchantCenterLinkOperation] the operation
|
434
|
+
def self.merchant_center_link
|
435
|
+
require "google/ads/google_ads/v1/services/merchant_center_link_service_pb.rb"
|
436
|
+
Google::Ads::GoogleAds::V1::Services::MerchantCenterLinkOperation.new
|
437
|
+
end
|
438
|
+
|
439
439
|
# Get a reference module containing convenience methods for creating
|
440
440
|
# resources
|
441
441
|
#
|
@@ -486,301 +486,301 @@ module Google
|
|
486
486
|
op
|
487
487
|
end
|
488
488
|
|
489
|
-
# A convenience method for creating an
|
490
|
-
# its "create" field prepopulated with an
|
489
|
+
# A convenience method for creating an CustomInterestOperation instance with
|
490
|
+
# its "create" field prepopulated with an CustomInterest instance.
|
491
491
|
#
|
492
|
-
# @overload
|
493
|
-
# creates an operation instance, yielding a newly fabricated
|
492
|
+
# @overload custom_interest
|
493
|
+
# creates an operation instance, yielding a newly fabricated CustomInterest
|
494
494
|
# which can be used for setting attributes on the newly created resource
|
495
|
-
# @overload
|
495
|
+
# @overload custom_interest(res)
|
496
496
|
# creates an operation instance, with the resource to be created
|
497
497
|
# set to the passed value (res)
|
498
|
-
# @param res [Google::Ads::GoogleAds::V1::Resources::
|
498
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::CustomInterest]
|
499
499
|
# a resource instance to be used for creation in this operation.
|
500
500
|
#
|
501
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
502
|
-
def self.
|
503
|
-
require "google/ads/google_ads/v1/services/
|
504
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
501
|
+
# @return [Google::Ads::GoogleAds::V1::Services::CustomInterestOperation] instance that will create the resource
|
502
|
+
def self.custom_interest(res = nil, &blk)
|
503
|
+
require "google/ads/google_ads/v1/services/custom_interest_service_pb.rb"
|
504
|
+
op = Google::Ads::GoogleAds::V1::Services::CustomInterestOperation.new
|
505
505
|
if !res.nil?
|
506
506
|
op["create"] = res
|
507
507
|
elsif !blk.nil?
|
508
|
-
op["create"] = Factories::V1::Resources.
|
508
|
+
op["create"] = Factories::V1::Resources.custom_interest(&blk)
|
509
509
|
end
|
510
510
|
|
511
511
|
op
|
512
512
|
end
|
513
513
|
|
514
|
-
# A convenience method for creating an
|
515
|
-
# its "create" field prepopulated with an
|
514
|
+
# A convenience method for creating an CustomerNegativeCriterionOperation instance with
|
515
|
+
# its "create" field prepopulated with an CustomerNegativeCriterion instance.
|
516
516
|
#
|
517
|
-
# @overload
|
518
|
-
# creates an operation instance, yielding a newly fabricated
|
517
|
+
# @overload customer_negative_criterion
|
518
|
+
# creates an operation instance, yielding a newly fabricated CustomerNegativeCriterion
|
519
519
|
# which can be used for setting attributes on the newly created resource
|
520
|
-
# @overload
|
520
|
+
# @overload customer_negative_criterion(res)
|
521
521
|
# creates an operation instance, with the resource to be created
|
522
522
|
# set to the passed value (res)
|
523
|
-
# @param res [Google::Ads::GoogleAds::V1::Resources::
|
523
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::CustomerNegativeCriterion]
|
524
524
|
# a resource instance to be used for creation in this operation.
|
525
525
|
#
|
526
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
527
|
-
def self.
|
528
|
-
require "google/ads/google_ads/v1/services/
|
529
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
526
|
+
# @return [Google::Ads::GoogleAds::V1::Services::CustomerNegativeCriterionOperation] instance that will create the resource
|
527
|
+
def self.customer_negative_criterion(res = nil, &blk)
|
528
|
+
require "google/ads/google_ads/v1/services/customer_negative_criterion_service_pb.rb"
|
529
|
+
op = Google::Ads::GoogleAds::V1::Services::CustomerNegativeCriterionOperation.new
|
530
530
|
if !res.nil?
|
531
531
|
op["create"] = res
|
532
532
|
elsif !blk.nil?
|
533
|
-
op["create"] = Factories::V1::Resources.
|
533
|
+
op["create"] = Factories::V1::Resources.customer_negative_criterion(&blk)
|
534
534
|
end
|
535
535
|
|
536
536
|
op
|
537
537
|
end
|
538
538
|
|
539
|
-
# A convenience method for creating an
|
540
|
-
# its "create" field prepopulated with an
|
539
|
+
# A convenience method for creating an SharedCriterionOperation instance with
|
540
|
+
# its "create" field prepopulated with an SharedCriterion instance.
|
541
541
|
#
|
542
|
-
# @overload
|
543
|
-
# creates an operation instance, yielding a newly fabricated
|
542
|
+
# @overload shared_criterion
|
543
|
+
# creates an operation instance, yielding a newly fabricated SharedCriterion
|
544
544
|
# which can be used for setting attributes on the newly created resource
|
545
|
-
# @overload
|
545
|
+
# @overload shared_criterion(res)
|
546
546
|
# creates an operation instance, with the resource to be created
|
547
547
|
# set to the passed value (res)
|
548
|
-
# @param res [Google::Ads::GoogleAds::V1::Resources::
|
548
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::SharedCriterion]
|
549
549
|
# a resource instance to be used for creation in this operation.
|
550
550
|
#
|
551
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
552
|
-
def self.
|
553
|
-
require "google/ads/google_ads/v1/services/
|
554
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
551
|
+
# @return [Google::Ads::GoogleAds::V1::Services::SharedCriterionOperation] instance that will create the resource
|
552
|
+
def self.shared_criterion(res = nil, &blk)
|
553
|
+
require "google/ads/google_ads/v1/services/shared_criterion_service_pb.rb"
|
554
|
+
op = Google::Ads::GoogleAds::V1::Services::SharedCriterionOperation.new
|
555
555
|
if !res.nil?
|
556
556
|
op["create"] = res
|
557
557
|
elsif !blk.nil?
|
558
|
-
op["create"] = Factories::V1::Resources.
|
558
|
+
op["create"] = Factories::V1::Resources.shared_criterion(&blk)
|
559
559
|
end
|
560
560
|
|
561
561
|
op
|
562
562
|
end
|
563
563
|
|
564
|
-
# A convenience method for creating an
|
565
|
-
# its "create" field prepopulated with an
|
564
|
+
# A convenience method for creating an FeedMappingOperation instance with
|
565
|
+
# its "create" field prepopulated with an FeedMapping instance.
|
566
566
|
#
|
567
|
-
# @overload
|
568
|
-
# creates an operation instance, yielding a newly fabricated
|
567
|
+
# @overload feed_mapping
|
568
|
+
# creates an operation instance, yielding a newly fabricated FeedMapping
|
569
569
|
# which can be used for setting attributes on the newly created resource
|
570
|
-
# @overload
|
570
|
+
# @overload feed_mapping(res)
|
571
571
|
# creates an operation instance, with the resource to be created
|
572
572
|
# set to the passed value (res)
|
573
|
-
# @param res [Google::Ads::GoogleAds::V1::Resources::
|
573
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::FeedMapping]
|
574
574
|
# a resource instance to be used for creation in this operation.
|
575
575
|
#
|
576
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
577
|
-
def self.
|
578
|
-
require "google/ads/google_ads/v1/services/
|
579
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
576
|
+
# @return [Google::Ads::GoogleAds::V1::Services::FeedMappingOperation] instance that will create the resource
|
577
|
+
def self.feed_mapping(res = nil, &blk)
|
578
|
+
require "google/ads/google_ads/v1/services/feed_mapping_service_pb.rb"
|
579
|
+
op = Google::Ads::GoogleAds::V1::Services::FeedMappingOperation.new
|
580
580
|
if !res.nil?
|
581
581
|
op["create"] = res
|
582
582
|
elsif !blk.nil?
|
583
|
-
op["create"] = Factories::V1::Resources.
|
583
|
+
op["create"] = Factories::V1::Resources.feed_mapping(&blk)
|
584
584
|
end
|
585
585
|
|
586
586
|
op
|
587
587
|
end
|
588
588
|
|
589
|
-
# A convenience method for creating an
|
590
|
-
# its "create" field prepopulated with an
|
589
|
+
# A convenience method for creating an AdGroupOperation instance with
|
590
|
+
# its "create" field prepopulated with an AdGroup instance.
|
591
591
|
#
|
592
|
-
# @overload
|
593
|
-
# creates an operation instance, yielding a newly fabricated
|
592
|
+
# @overload ad_group
|
593
|
+
# creates an operation instance, yielding a newly fabricated AdGroup
|
594
594
|
# which can be used for setting attributes on the newly created resource
|
595
|
-
# @overload
|
595
|
+
# @overload ad_group(res)
|
596
596
|
# creates an operation instance, with the resource to be created
|
597
597
|
# set to the passed value (res)
|
598
|
-
# @param res [Google::Ads::GoogleAds::V1::Resources::
|
598
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::AdGroup]
|
599
599
|
# a resource instance to be used for creation in this operation.
|
600
600
|
#
|
601
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
602
|
-
def self.
|
603
|
-
require "google/ads/google_ads/v1/services/
|
604
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
601
|
+
# @return [Google::Ads::GoogleAds::V1::Services::AdGroupOperation] instance that will create the resource
|
602
|
+
def self.ad_group(res = nil, &blk)
|
603
|
+
require "google/ads/google_ads/v1/services/ad_group_service_pb.rb"
|
604
|
+
op = Google::Ads::GoogleAds::V1::Services::AdGroupOperation.new
|
605
605
|
if !res.nil?
|
606
606
|
op["create"] = res
|
607
607
|
elsif !blk.nil?
|
608
|
-
op["create"] = Factories::V1::Resources.
|
608
|
+
op["create"] = Factories::V1::Resources.ad_group(&blk)
|
609
609
|
end
|
610
610
|
|
611
611
|
op
|
612
612
|
end
|
613
613
|
|
614
|
-
# A convenience method for creating an
|
615
|
-
# its "create" field prepopulated with an
|
614
|
+
# A convenience method for creating an ExtensionFeedItemOperation instance with
|
615
|
+
# its "create" field prepopulated with an ExtensionFeedItem instance.
|
616
616
|
#
|
617
|
-
# @overload
|
618
|
-
# creates an operation instance, yielding a newly fabricated
|
617
|
+
# @overload extension_feed_item
|
618
|
+
# creates an operation instance, yielding a newly fabricated ExtensionFeedItem
|
619
619
|
# which can be used for setting attributes on the newly created resource
|
620
|
-
# @overload
|
620
|
+
# @overload extension_feed_item(res)
|
621
621
|
# creates an operation instance, with the resource to be created
|
622
622
|
# set to the passed value (res)
|
623
|
-
# @param res [Google::Ads::GoogleAds::V1::Resources::
|
623
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::ExtensionFeedItem]
|
624
624
|
# a resource instance to be used for creation in this operation.
|
625
625
|
#
|
626
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
627
|
-
def self.
|
628
|
-
require "google/ads/google_ads/v1/services/
|
629
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
626
|
+
# @return [Google::Ads::GoogleAds::V1::Services::ExtensionFeedItemOperation] instance that will create the resource
|
627
|
+
def self.extension_feed_item(res = nil, &blk)
|
628
|
+
require "google/ads/google_ads/v1/services/extension_feed_item_service_pb.rb"
|
629
|
+
op = Google::Ads::GoogleAds::V1::Services::ExtensionFeedItemOperation.new
|
630
630
|
if !res.nil?
|
631
631
|
op["create"] = res
|
632
632
|
elsif !blk.nil?
|
633
|
-
op["create"] = Factories::V1::Resources.
|
633
|
+
op["create"] = Factories::V1::Resources.extension_feed_item(&blk)
|
634
634
|
end
|
635
635
|
|
636
636
|
op
|
637
637
|
end
|
638
638
|
|
639
|
-
# A convenience method for creating an
|
640
|
-
# its "create" field prepopulated with an
|
639
|
+
# A convenience method for creating an CampaignBidModifierOperation instance with
|
640
|
+
# its "create" field prepopulated with an CampaignBidModifier instance.
|
641
641
|
#
|
642
|
-
# @overload
|
643
|
-
# creates an operation instance, yielding a newly fabricated
|
642
|
+
# @overload campaign_bid_modifier
|
643
|
+
# creates an operation instance, yielding a newly fabricated CampaignBidModifier
|
644
644
|
# which can be used for setting attributes on the newly created resource
|
645
|
-
# @overload
|
645
|
+
# @overload campaign_bid_modifier(res)
|
646
646
|
# creates an operation instance, with the resource to be created
|
647
647
|
# set to the passed value (res)
|
648
|
-
# @param res [Google::Ads::GoogleAds::V1::Resources::
|
648
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::CampaignBidModifier]
|
649
649
|
# a resource instance to be used for creation in this operation.
|
650
650
|
#
|
651
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
652
|
-
def self.
|
653
|
-
require "google/ads/google_ads/v1/services/
|
654
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
651
|
+
# @return [Google::Ads::GoogleAds::V1::Services::CampaignBidModifierOperation] instance that will create the resource
|
652
|
+
def self.campaign_bid_modifier(res = nil, &blk)
|
653
|
+
require "google/ads/google_ads/v1/services/campaign_bid_modifier_service_pb.rb"
|
654
|
+
op = Google::Ads::GoogleAds::V1::Services::CampaignBidModifierOperation.new
|
655
655
|
if !res.nil?
|
656
656
|
op["create"] = res
|
657
657
|
elsif !blk.nil?
|
658
|
-
op["create"] = Factories::V1::Resources.
|
658
|
+
op["create"] = Factories::V1::Resources.campaign_bid_modifier(&blk)
|
659
659
|
end
|
660
660
|
|
661
661
|
op
|
662
662
|
end
|
663
663
|
|
664
|
-
# A convenience method for creating an
|
665
|
-
# its "create" field prepopulated with an
|
664
|
+
# A convenience method for creating an CampaignDraftOperation instance with
|
665
|
+
# its "create" field prepopulated with an CampaignDraft instance.
|
666
666
|
#
|
667
|
-
# @overload
|
668
|
-
# creates an operation instance, yielding a newly fabricated
|
667
|
+
# @overload campaign_draft
|
668
|
+
# creates an operation instance, yielding a newly fabricated CampaignDraft
|
669
669
|
# which can be used for setting attributes on the newly created resource
|
670
|
-
# @overload
|
670
|
+
# @overload campaign_draft(res)
|
671
671
|
# creates an operation instance, with the resource to be created
|
672
672
|
# set to the passed value (res)
|
673
|
-
# @param res [Google::Ads::GoogleAds::V1::Resources::
|
673
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::CampaignDraft]
|
674
674
|
# a resource instance to be used for creation in this operation.
|
675
675
|
#
|
676
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
677
|
-
def self.
|
678
|
-
require "google/ads/google_ads/v1/services/
|
679
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
676
|
+
# @return [Google::Ads::GoogleAds::V1::Services::CampaignDraftOperation] instance that will create the resource
|
677
|
+
def self.campaign_draft(res = nil, &blk)
|
678
|
+
require "google/ads/google_ads/v1/services/campaign_draft_service_pb.rb"
|
679
|
+
op = Google::Ads::GoogleAds::V1::Services::CampaignDraftOperation.new
|
680
680
|
if !res.nil?
|
681
681
|
op["create"] = res
|
682
682
|
elsif !blk.nil?
|
683
|
-
op["create"] = Factories::V1::Resources.
|
683
|
+
op["create"] = Factories::V1::Resources.campaign_draft(&blk)
|
684
684
|
end
|
685
685
|
|
686
686
|
op
|
687
687
|
end
|
688
688
|
|
689
|
-
# A convenience method for creating an
|
690
|
-
# its "create" field prepopulated with an
|
689
|
+
# A convenience method for creating an SharedSetOperation instance with
|
690
|
+
# its "create" field prepopulated with an SharedSet instance.
|
691
691
|
#
|
692
|
-
# @overload
|
693
|
-
# creates an operation instance, yielding a newly fabricated
|
692
|
+
# @overload shared_set
|
693
|
+
# creates an operation instance, yielding a newly fabricated SharedSet
|
694
694
|
# which can be used for setting attributes on the newly created resource
|
695
|
-
# @overload
|
695
|
+
# @overload shared_set(res)
|
696
696
|
# creates an operation instance, with the resource to be created
|
697
697
|
# set to the passed value (res)
|
698
|
-
# @param res [Google::Ads::GoogleAds::V1::Resources::
|
698
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::SharedSet]
|
699
699
|
# a resource instance to be used for creation in this operation.
|
700
700
|
#
|
701
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
702
|
-
def self.
|
703
|
-
require "google/ads/google_ads/v1/services/
|
704
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
701
|
+
# @return [Google::Ads::GoogleAds::V1::Services::SharedSetOperation] instance that will create the resource
|
702
|
+
def self.shared_set(res = nil, &blk)
|
703
|
+
require "google/ads/google_ads/v1/services/shared_set_service_pb.rb"
|
704
|
+
op = Google::Ads::GoogleAds::V1::Services::SharedSetOperation.new
|
705
705
|
if !res.nil?
|
706
706
|
op["create"] = res
|
707
707
|
elsif !blk.nil?
|
708
|
-
op["create"] = Factories::V1::Resources.
|
708
|
+
op["create"] = Factories::V1::Resources.shared_set(&blk)
|
709
709
|
end
|
710
710
|
|
711
711
|
op
|
712
712
|
end
|
713
713
|
|
714
|
-
# A convenience method for creating an
|
715
|
-
# its "create" field prepopulated with an
|
714
|
+
# A convenience method for creating an CampaignFeedOperation instance with
|
715
|
+
# its "create" field prepopulated with an CampaignFeed instance.
|
716
716
|
#
|
717
|
-
# @overload
|
718
|
-
# creates an operation instance, yielding a newly fabricated
|
717
|
+
# @overload campaign_feed
|
718
|
+
# creates an operation instance, yielding a newly fabricated CampaignFeed
|
719
719
|
# which can be used for setting attributes on the newly created resource
|
720
|
-
# @overload
|
720
|
+
# @overload campaign_feed(res)
|
721
721
|
# creates an operation instance, with the resource to be created
|
722
722
|
# set to the passed value (res)
|
723
|
-
# @param res [Google::Ads::GoogleAds::V1::Resources::
|
723
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::CampaignFeed]
|
724
724
|
# a resource instance to be used for creation in this operation.
|
725
725
|
#
|
726
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
727
|
-
def self.
|
728
|
-
require "google/ads/google_ads/v1/services/
|
729
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
726
|
+
# @return [Google::Ads::GoogleAds::V1::Services::CampaignFeedOperation] instance that will create the resource
|
727
|
+
def self.campaign_feed(res = nil, &blk)
|
728
|
+
require "google/ads/google_ads/v1/services/campaign_feed_service_pb.rb"
|
729
|
+
op = Google::Ads::GoogleAds::V1::Services::CampaignFeedOperation.new
|
730
730
|
if !res.nil?
|
731
731
|
op["create"] = res
|
732
732
|
elsif !blk.nil?
|
733
|
-
op["create"] = Factories::V1::Resources.
|
733
|
+
op["create"] = Factories::V1::Resources.campaign_feed(&blk)
|
734
734
|
end
|
735
735
|
|
736
736
|
op
|
737
737
|
end
|
738
738
|
|
739
|
-
# A convenience method for creating an
|
740
|
-
# its "create" field prepopulated with an
|
739
|
+
# A convenience method for creating an LabelOperation instance with
|
740
|
+
# its "create" field prepopulated with an Label instance.
|
741
741
|
#
|
742
|
-
# @overload
|
743
|
-
# creates an operation instance, yielding a newly fabricated
|
742
|
+
# @overload label
|
743
|
+
# creates an operation instance, yielding a newly fabricated Label
|
744
744
|
# which can be used for setting attributes on the newly created resource
|
745
|
-
# @overload
|
745
|
+
# @overload label(res)
|
746
746
|
# creates an operation instance, with the resource to be created
|
747
747
|
# set to the passed value (res)
|
748
|
-
# @param res [Google::Ads::GoogleAds::V1::Resources::
|
748
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::Label]
|
749
749
|
# a resource instance to be used for creation in this operation.
|
750
750
|
#
|
751
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
752
|
-
def self.
|
753
|
-
require "google/ads/google_ads/v1/services/
|
754
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
751
|
+
# @return [Google::Ads::GoogleAds::V1::Services::LabelOperation] instance that will create the resource
|
752
|
+
def self.label(res = nil, &blk)
|
753
|
+
require "google/ads/google_ads/v1/services/label_service_pb.rb"
|
754
|
+
op = Google::Ads::GoogleAds::V1::Services::LabelOperation.new
|
755
755
|
if !res.nil?
|
756
756
|
op["create"] = res
|
757
757
|
elsif !blk.nil?
|
758
|
-
op["create"] = Factories::V1::Resources.
|
758
|
+
op["create"] = Factories::V1::Resources.label(&blk)
|
759
759
|
end
|
760
760
|
|
761
761
|
op
|
762
762
|
end
|
763
763
|
|
764
|
-
# A convenience method for creating an
|
765
|
-
# its "create" field prepopulated with an
|
764
|
+
# A convenience method for creating an AdGroupAdLabelOperation instance with
|
765
|
+
# its "create" field prepopulated with an AdGroupAdLabel instance.
|
766
766
|
#
|
767
|
-
# @overload
|
768
|
-
# creates an operation instance, yielding a newly fabricated
|
767
|
+
# @overload ad_group_ad_label
|
768
|
+
# creates an operation instance, yielding a newly fabricated AdGroupAdLabel
|
769
769
|
# which can be used for setting attributes on the newly created resource
|
770
|
-
# @overload
|
770
|
+
# @overload ad_group_ad_label(res)
|
771
771
|
# creates an operation instance, with the resource to be created
|
772
772
|
# set to the passed value (res)
|
773
|
-
# @param res [Google::Ads::GoogleAds::V1::Resources::
|
773
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::AdGroupAdLabel]
|
774
774
|
# a resource instance to be used for creation in this operation.
|
775
775
|
#
|
776
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
777
|
-
def self.
|
778
|
-
require "google/ads/google_ads/v1/services/
|
779
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
776
|
+
# @return [Google::Ads::GoogleAds::V1::Services::AdGroupAdLabelOperation] instance that will create the resource
|
777
|
+
def self.ad_group_ad_label(res = nil, &blk)
|
778
|
+
require "google/ads/google_ads/v1/services/ad_group_ad_label_service_pb.rb"
|
779
|
+
op = Google::Ads::GoogleAds::V1::Services::AdGroupAdLabelOperation.new
|
780
780
|
if !res.nil?
|
781
781
|
op["create"] = res
|
782
782
|
elsif !blk.nil?
|
783
|
-
op["create"] = Factories::V1::Resources.
|
783
|
+
op["create"] = Factories::V1::Resources.ad_group_ad_label(&blk)
|
784
784
|
end
|
785
785
|
|
786
786
|
op
|
@@ -811,6 +811,31 @@ module Google
|
|
811
811
|
op
|
812
812
|
end
|
813
813
|
|
814
|
+
# A convenience method for creating an AdGroupBidModifierOperation instance with
|
815
|
+
# its "create" field prepopulated with an AdGroupBidModifier instance.
|
816
|
+
#
|
817
|
+
# @overload ad_group_bid_modifier
|
818
|
+
# creates an operation instance, yielding a newly fabricated AdGroupBidModifier
|
819
|
+
# which can be used for setting attributes on the newly created resource
|
820
|
+
# @overload ad_group_bid_modifier(res)
|
821
|
+
# creates an operation instance, with the resource to be created
|
822
|
+
# set to the passed value (res)
|
823
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::AdGroupBidModifier]
|
824
|
+
# a resource instance to be used for creation in this operation.
|
825
|
+
#
|
826
|
+
# @return [Google::Ads::GoogleAds::V1::Services::AdGroupBidModifierOperation] instance that will create the resource
|
827
|
+
def self.ad_group_bid_modifier(res = nil, &blk)
|
828
|
+
require "google/ads/google_ads/v1/services/ad_group_bid_modifier_service_pb.rb"
|
829
|
+
op = Google::Ads::GoogleAds::V1::Services::AdGroupBidModifierOperation.new
|
830
|
+
if !res.nil?
|
831
|
+
op["create"] = res
|
832
|
+
elsif !blk.nil?
|
833
|
+
op["create"] = Factories::V1::Resources.ad_group_bid_modifier(&blk)
|
834
|
+
end
|
835
|
+
|
836
|
+
op
|
837
|
+
end
|
838
|
+
|
814
839
|
# A convenience method for creating an AdGroupCriterionOperation instance with
|
815
840
|
# its "create" field prepopulated with an AdGroupCriterion instance.
|
816
841
|
#
|
@@ -886,26 +911,26 @@ module Google
|
|
886
911
|
op
|
887
912
|
end
|
888
913
|
|
889
|
-
# A convenience method for creating an
|
890
|
-
# its "create" field prepopulated with an
|
914
|
+
# A convenience method for creating an AdGroupLabelOperation instance with
|
915
|
+
# its "create" field prepopulated with an AdGroupLabel instance.
|
891
916
|
#
|
892
|
-
# @overload
|
893
|
-
# creates an operation instance, yielding a newly fabricated
|
917
|
+
# @overload ad_group_label
|
918
|
+
# creates an operation instance, yielding a newly fabricated AdGroupLabel
|
894
919
|
# which can be used for setting attributes on the newly created resource
|
895
|
-
# @overload
|
920
|
+
# @overload ad_group_label(res)
|
896
921
|
# creates an operation instance, with the resource to be created
|
897
922
|
# set to the passed value (res)
|
898
|
-
# @param res [Google::Ads::GoogleAds::V1::Resources::
|
923
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::AdGroupLabel]
|
899
924
|
# a resource instance to be used for creation in this operation.
|
900
925
|
#
|
901
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
902
|
-
def self.
|
903
|
-
require "google/ads/google_ads/v1/services/
|
904
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
926
|
+
# @return [Google::Ads::GoogleAds::V1::Services::AdGroupLabelOperation] instance that will create the resource
|
927
|
+
def self.ad_group_label(res = nil, &blk)
|
928
|
+
require "google/ads/google_ads/v1/services/ad_group_label_service_pb.rb"
|
929
|
+
op = Google::Ads::GoogleAds::V1::Services::AdGroupLabelOperation.new
|
905
930
|
if !res.nil?
|
906
931
|
op["create"] = res
|
907
932
|
elsif !blk.nil?
|
908
|
-
op["create"] = Factories::V1::Resources.
|
933
|
+
op["create"] = Factories::V1::Resources.ad_group_label(&blk)
|
909
934
|
end
|
910
935
|
|
911
936
|
op
|
@@ -986,31 +1011,6 @@ module Google
|
|
986
1011
|
op
|
987
1012
|
end
|
988
1013
|
|
989
|
-
# A convenience method for creating an CampaignBidModifierOperation instance with
|
990
|
-
# its "create" field prepopulated with an CampaignBidModifier instance.
|
991
|
-
#
|
992
|
-
# @overload campaign_bid_modifier
|
993
|
-
# creates an operation instance, yielding a newly fabricated CampaignBidModifier
|
994
|
-
# which can be used for setting attributes on the newly created resource
|
995
|
-
# @overload campaign_bid_modifier(res)
|
996
|
-
# creates an operation instance, with the resource to be created
|
997
|
-
# set to the passed value (res)
|
998
|
-
# @param res [Google::Ads::GoogleAds::V1::Resources::CampaignBidModifier]
|
999
|
-
# a resource instance to be used for creation in this operation.
|
1000
|
-
#
|
1001
|
-
# @return [Google::Ads::GoogleAds::V1::Services::CampaignBidModifierOperation] instance that will create the resource
|
1002
|
-
def self.campaign_bid_modifier(res = nil, &blk)
|
1003
|
-
require "google/ads/google_ads/v1/services/campaign_bid_modifier_service_pb.rb"
|
1004
|
-
op = Google::Ads::GoogleAds::V1::Services::CampaignBidModifierOperation.new
|
1005
|
-
if !res.nil?
|
1006
|
-
op["create"] = res
|
1007
|
-
elsif !blk.nil?
|
1008
|
-
op["create"] = Factories::V1::Resources.campaign_bid_modifier(&blk)
|
1009
|
-
end
|
1010
|
-
|
1011
|
-
op
|
1012
|
-
end
|
1013
|
-
|
1014
1014
|
# A convenience method for creating an CampaignBudgetOperation instance with
|
1015
1015
|
# its "create" field prepopulated with an CampaignBudget instance.
|
1016
1016
|
#
|
@@ -1061,31 +1061,6 @@ module Google
|
|
1061
1061
|
op
|
1062
1062
|
end
|
1063
1063
|
|
1064
|
-
# A convenience method for creating an CampaignDraftOperation instance with
|
1065
|
-
# its "create" field prepopulated with an CampaignDraft instance.
|
1066
|
-
#
|
1067
|
-
# @overload campaign_draft
|
1068
|
-
# creates an operation instance, yielding a newly fabricated CampaignDraft
|
1069
|
-
# which can be used for setting attributes on the newly created resource
|
1070
|
-
# @overload campaign_draft(res)
|
1071
|
-
# creates an operation instance, with the resource to be created
|
1072
|
-
# set to the passed value (res)
|
1073
|
-
# @param res [Google::Ads::GoogleAds::V1::Resources::CampaignDraft]
|
1074
|
-
# a resource instance to be used for creation in this operation.
|
1075
|
-
#
|
1076
|
-
# @return [Google::Ads::GoogleAds::V1::Services::CampaignDraftOperation] instance that will create the resource
|
1077
|
-
def self.campaign_draft(res = nil, &blk)
|
1078
|
-
require "google/ads/google_ads/v1/services/campaign_draft_service_pb.rb"
|
1079
|
-
op = Google::Ads::GoogleAds::V1::Services::CampaignDraftOperation.new
|
1080
|
-
if !res.nil?
|
1081
|
-
op["create"] = res
|
1082
|
-
elsif !blk.nil?
|
1083
|
-
op["create"] = Factories::V1::Resources.campaign_draft(&blk)
|
1084
|
-
end
|
1085
|
-
|
1086
|
-
op
|
1087
|
-
end
|
1088
|
-
|
1089
1064
|
# A convenience method for creating an CampaignExtensionSettingOperation instance with
|
1090
1065
|
# its "create" field prepopulated with an CampaignExtensionSetting instance.
|
1091
1066
|
#
|
@@ -1161,6 +1136,31 @@ module Google
|
|
1161
1136
|
op
|
1162
1137
|
end
|
1163
1138
|
|
1139
|
+
# A convenience method for creating an CampaignSharedSetOperation instance with
|
1140
|
+
# its "create" field prepopulated with an CampaignSharedSet instance.
|
1141
|
+
#
|
1142
|
+
# @overload campaign_shared_set
|
1143
|
+
# creates an operation instance, yielding a newly fabricated CampaignSharedSet
|
1144
|
+
# which can be used for setting attributes on the newly created resource
|
1145
|
+
# @overload campaign_shared_set(res)
|
1146
|
+
# creates an operation instance, with the resource to be created
|
1147
|
+
# set to the passed value (res)
|
1148
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::CampaignSharedSet]
|
1149
|
+
# a resource instance to be used for creation in this operation.
|
1150
|
+
#
|
1151
|
+
# @return [Google::Ads::GoogleAds::V1::Services::CampaignSharedSetOperation] instance that will create the resource
|
1152
|
+
def self.campaign_shared_set(res = nil, &blk)
|
1153
|
+
require "google/ads/google_ads/v1/services/campaign_shared_set_service_pb.rb"
|
1154
|
+
op = Google::Ads::GoogleAds::V1::Services::CampaignSharedSetOperation.new
|
1155
|
+
if !res.nil?
|
1156
|
+
op["create"] = res
|
1157
|
+
elsif !blk.nil?
|
1158
|
+
op["create"] = Factories::V1::Resources.campaign_shared_set(&blk)
|
1159
|
+
end
|
1160
|
+
|
1161
|
+
op
|
1162
|
+
end
|
1163
|
+
|
1164
1164
|
# A convenience method for creating an ConversionActionOperation instance with
|
1165
1165
|
# its "create" field prepopulated with an ConversionAction instance.
|
1166
1166
|
#
|
@@ -1217,70 +1217,45 @@ module Google
|
|
1217
1217
|
# @overload customer_feed
|
1218
1218
|
# creates an operation instance, yielding a newly fabricated CustomerFeed
|
1219
1219
|
# which can be used for setting attributes on the newly created resource
|
1220
|
-
# @overload customer_feed(res)
|
1221
|
-
# creates an operation instance, with the resource to be created
|
1222
|
-
# set to the passed value (res)
|
1223
|
-
# @param res [Google::Ads::GoogleAds::V1::Resources::CustomerFeed]
|
1224
|
-
# a resource instance to be used for creation in this operation.
|
1225
|
-
#
|
1226
|
-
# @return [Google::Ads::GoogleAds::V1::Services::CustomerFeedOperation] instance that will create the resource
|
1227
|
-
def self.customer_feed(res = nil, &blk)
|
1228
|
-
require "google/ads/google_ads/v1/services/customer_feed_service_pb.rb"
|
1229
|
-
op = Google::Ads::GoogleAds::V1::Services::CustomerFeedOperation.new
|
1230
|
-
if !res.nil?
|
1231
|
-
op["create"] = res
|
1232
|
-
elsif !blk.nil?
|
1233
|
-
op["create"] = Factories::V1::Resources.customer_feed(&blk)
|
1234
|
-
end
|
1235
|
-
|
1236
|
-
op
|
1237
|
-
end
|
1238
|
-
|
1239
|
-
# A convenience method for creating an CustomerNegativeCriterionOperation instance with
|
1240
|
-
# its "create" field prepopulated with an CustomerNegativeCriterion instance.
|
1241
|
-
#
|
1242
|
-
# @overload customer_negative_criterion
|
1243
|
-
# creates an operation instance, yielding a newly fabricated CustomerNegativeCriterion
|
1244
|
-
# which can be used for setting attributes on the newly created resource
|
1245
|
-
# @overload customer_negative_criterion(res)
|
1220
|
+
# @overload customer_feed(res)
|
1246
1221
|
# creates an operation instance, with the resource to be created
|
1247
1222
|
# set to the passed value (res)
|
1248
|
-
# @param res [Google::Ads::GoogleAds::V1::Resources::
|
1223
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::CustomerFeed]
|
1249
1224
|
# a resource instance to be used for creation in this operation.
|
1250
1225
|
#
|
1251
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
1252
|
-
def self.
|
1253
|
-
require "google/ads/google_ads/v1/services/
|
1254
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
1226
|
+
# @return [Google::Ads::GoogleAds::V1::Services::CustomerFeedOperation] instance that will create the resource
|
1227
|
+
def self.customer_feed(res = nil, &blk)
|
1228
|
+
require "google/ads/google_ads/v1/services/customer_feed_service_pb.rb"
|
1229
|
+
op = Google::Ads::GoogleAds::V1::Services::CustomerFeedOperation.new
|
1255
1230
|
if !res.nil?
|
1256
1231
|
op["create"] = res
|
1257
1232
|
elsif !blk.nil?
|
1258
|
-
op["create"] = Factories::V1::Resources.
|
1233
|
+
op["create"] = Factories::V1::Resources.customer_feed(&blk)
|
1259
1234
|
end
|
1260
1235
|
|
1261
1236
|
op
|
1262
1237
|
end
|
1263
1238
|
|
1264
|
-
# A convenience method for creating an
|
1265
|
-
# its "create" field prepopulated with an
|
1239
|
+
# A convenience method for creating an CustomerLabelOperation instance with
|
1240
|
+
# its "create" field prepopulated with an CustomerLabel instance.
|
1266
1241
|
#
|
1267
|
-
# @overload
|
1268
|
-
# creates an operation instance, yielding a newly fabricated
|
1242
|
+
# @overload customer_label
|
1243
|
+
# creates an operation instance, yielding a newly fabricated CustomerLabel
|
1269
1244
|
# which can be used for setting attributes on the newly created resource
|
1270
|
-
# @overload
|
1245
|
+
# @overload customer_label(res)
|
1271
1246
|
# creates an operation instance, with the resource to be created
|
1272
1247
|
# set to the passed value (res)
|
1273
|
-
# @param res [Google::Ads::GoogleAds::V1::Resources::
|
1248
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::CustomerLabel]
|
1274
1249
|
# a resource instance to be used for creation in this operation.
|
1275
1250
|
#
|
1276
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
1277
|
-
def self.
|
1278
|
-
require "google/ads/google_ads/v1/services/
|
1279
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
1251
|
+
# @return [Google::Ads::GoogleAds::V1::Services::CustomerLabelOperation] instance that will create the resource
|
1252
|
+
def self.customer_label(res = nil, &blk)
|
1253
|
+
require "google/ads/google_ads/v1/services/customer_label_service_pb.rb"
|
1254
|
+
op = Google::Ads::GoogleAds::V1::Services::CustomerLabelOperation.new
|
1280
1255
|
if !res.nil?
|
1281
1256
|
op["create"] = res
|
1282
1257
|
elsif !blk.nil?
|
1283
|
-
op["create"] = Factories::V1::Resources.
|
1258
|
+
op["create"] = Factories::V1::Resources.customer_label(&blk)
|
1284
1259
|
end
|
1285
1260
|
|
1286
1261
|
op
|
@@ -1336,76 +1311,76 @@ module Google
|
|
1336
1311
|
op
|
1337
1312
|
end
|
1338
1313
|
|
1339
|
-
# A convenience method for creating an
|
1340
|
-
# its "create" field prepopulated with an
|
1314
|
+
# A convenience method for creating an FeedOperation instance with
|
1315
|
+
# its "create" field prepopulated with an Feed instance.
|
1341
1316
|
#
|
1342
|
-
# @overload
|
1343
|
-
# creates an operation instance, yielding a newly fabricated
|
1317
|
+
# @overload feed
|
1318
|
+
# creates an operation instance, yielding a newly fabricated Feed
|
1344
1319
|
# which can be used for setting attributes on the newly created resource
|
1345
|
-
# @overload
|
1320
|
+
# @overload feed(res)
|
1346
1321
|
# creates an operation instance, with the resource to be created
|
1347
1322
|
# set to the passed value (res)
|
1348
|
-
# @param res [Google::Ads::GoogleAds::V1::Resources::
|
1323
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::Feed]
|
1349
1324
|
# a resource instance to be used for creation in this operation.
|
1350
1325
|
#
|
1351
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
1352
|
-
def self.
|
1353
|
-
require "google/ads/google_ads/v1/services/
|
1354
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
1326
|
+
# @return [Google::Ads::GoogleAds::V1::Services::FeedOperation] instance that will create the resource
|
1327
|
+
def self.feed(res = nil, &blk)
|
1328
|
+
require "google/ads/google_ads/v1/services/feed_service_pb.rb"
|
1329
|
+
op = Google::Ads::GoogleAds::V1::Services::FeedOperation.new
|
1355
1330
|
if !res.nil?
|
1356
1331
|
op["create"] = res
|
1357
1332
|
elsif !blk.nil?
|
1358
|
-
op["create"] = Factories::V1::Resources.
|
1333
|
+
op["create"] = Factories::V1::Resources.feed(&blk)
|
1359
1334
|
end
|
1360
1335
|
|
1361
1336
|
op
|
1362
1337
|
end
|
1363
1338
|
|
1364
|
-
# A convenience method for creating an
|
1365
|
-
# its "create" field prepopulated with an
|
1339
|
+
# A convenience method for creating an MediaFileOperation instance with
|
1340
|
+
# its "create" field prepopulated with an MediaFile instance.
|
1366
1341
|
#
|
1367
|
-
# @overload
|
1368
|
-
# creates an operation instance, yielding a newly fabricated
|
1342
|
+
# @overload media_file
|
1343
|
+
# creates an operation instance, yielding a newly fabricated MediaFile
|
1369
1344
|
# which can be used for setting attributes on the newly created resource
|
1370
|
-
# @overload
|
1345
|
+
# @overload media_file(res)
|
1371
1346
|
# creates an operation instance, with the resource to be created
|
1372
1347
|
# set to the passed value (res)
|
1373
|
-
# @param res [Google::Ads::GoogleAds::V1::Resources::
|
1348
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::MediaFile]
|
1374
1349
|
# a resource instance to be used for creation in this operation.
|
1375
1350
|
#
|
1376
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
1377
|
-
def self.
|
1378
|
-
require "google/ads/google_ads/v1/services/
|
1379
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
1351
|
+
# @return [Google::Ads::GoogleAds::V1::Services::MediaFileOperation] instance that will create the resource
|
1352
|
+
def self.media_file(res = nil, &blk)
|
1353
|
+
require "google/ads/google_ads/v1/services/media_file_service_pb.rb"
|
1354
|
+
op = Google::Ads::GoogleAds::V1::Services::MediaFileOperation.new
|
1380
1355
|
if !res.nil?
|
1381
1356
|
op["create"] = res
|
1382
1357
|
elsif !blk.nil?
|
1383
|
-
op["create"] = Factories::V1::Resources.
|
1358
|
+
op["create"] = Factories::V1::Resources.media_file(&blk)
|
1384
1359
|
end
|
1385
1360
|
|
1386
1361
|
op
|
1387
1362
|
end
|
1388
1363
|
|
1389
|
-
# A convenience method for creating an
|
1390
|
-
# its "create" field prepopulated with an
|
1364
|
+
# A convenience method for creating an RemarketingActionOperation instance with
|
1365
|
+
# its "create" field prepopulated with an RemarketingAction instance.
|
1391
1366
|
#
|
1392
|
-
# @overload
|
1393
|
-
# creates an operation instance, yielding a newly fabricated
|
1367
|
+
# @overload remarketing_action
|
1368
|
+
# creates an operation instance, yielding a newly fabricated RemarketingAction
|
1394
1369
|
# which can be used for setting attributes on the newly created resource
|
1395
|
-
# @overload
|
1370
|
+
# @overload remarketing_action(res)
|
1396
1371
|
# creates an operation instance, with the resource to be created
|
1397
1372
|
# set to the passed value (res)
|
1398
|
-
# @param res [Google::Ads::GoogleAds::V1::Resources::
|
1373
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::RemarketingAction]
|
1399
1374
|
# a resource instance to be used for creation in this operation.
|
1400
1375
|
#
|
1401
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
1402
|
-
def self.
|
1403
|
-
require "google/ads/google_ads/v1/services/
|
1404
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
1376
|
+
# @return [Google::Ads::GoogleAds::V1::Services::RemarketingActionOperation] instance that will create the resource
|
1377
|
+
def self.remarketing_action(res = nil, &blk)
|
1378
|
+
require "google/ads/google_ads/v1/services/remarketing_action_service_pb.rb"
|
1379
|
+
op = Google::Ads::GoogleAds::V1::Services::RemarketingActionOperation.new
|
1405
1380
|
if !res.nil?
|
1406
1381
|
op["create"] = res
|
1407
1382
|
elsif !blk.nil?
|
1408
|
-
op["create"] = Factories::V1::Resources.
|
1383
|
+
op["create"] = Factories::V1::Resources.remarketing_action(&blk)
|
1409
1384
|
end
|
1410
1385
|
|
1411
1386
|
op
|
@@ -1436,26 +1411,26 @@ module Google
|
|
1436
1411
|
op
|
1437
1412
|
end
|
1438
1413
|
|
1439
|
-
# A convenience method for creating an
|
1440
|
-
# its "create" field prepopulated with an
|
1414
|
+
# A convenience method for creating an CustomerClientLinkOperation instance with
|
1415
|
+
# its "create" field prepopulated with an CustomerClientLink instance.
|
1441
1416
|
#
|
1442
|
-
# @overload
|
1443
|
-
# creates an operation instance, yielding a newly fabricated
|
1417
|
+
# @overload customer_client_link
|
1418
|
+
# creates an operation instance, yielding a newly fabricated CustomerClientLink
|
1444
1419
|
# which can be used for setting attributes on the newly created resource
|
1445
|
-
# @overload
|
1420
|
+
# @overload customer_client_link(res)
|
1446
1421
|
# creates an operation instance, with the resource to be created
|
1447
1422
|
# set to the passed value (res)
|
1448
|
-
# @param res [Google::Ads::GoogleAds::V1::Resources::
|
1423
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::CustomerClientLink]
|
1449
1424
|
# a resource instance to be used for creation in this operation.
|
1450
1425
|
#
|
1451
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
1452
|
-
def self.
|
1453
|
-
require "google/ads/google_ads/v1/services/
|
1454
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
1426
|
+
# @return [Google::Ads::GoogleAds::V1::Services::CustomerClientLinkOperation] instance that will create the resource
|
1427
|
+
def self.customer_client_link(res = nil, &blk)
|
1428
|
+
require "google/ads/google_ads/v1/services/customer_client_link_service_pb.rb"
|
1429
|
+
op = Google::Ads::GoogleAds::V1::Services::CustomerClientLinkOperation.new
|
1455
1430
|
if !res.nil?
|
1456
1431
|
op["create"] = res
|
1457
1432
|
elsif !blk.nil?
|
1458
|
-
op["create"] = Factories::V1::Resources.
|
1433
|
+
op["create"] = Factories::V1::Resources.customer_client_link(&blk)
|
1459
1434
|
end
|
1460
1435
|
|
1461
1436
|
op
|
@@ -1486,101 +1461,101 @@ module Google
|
|
1486
1461
|
op
|
1487
1462
|
end
|
1488
1463
|
|
1489
|
-
# A convenience method for creating an
|
1490
|
-
# its "create" field prepopulated with an
|
1464
|
+
# A convenience method for creating an KeywordPlanNegativeKeywordOperation instance with
|
1465
|
+
# its "create" field prepopulated with an KeywordPlanNegativeKeyword instance.
|
1491
1466
|
#
|
1492
|
-
# @overload
|
1493
|
-
# creates an operation instance, yielding a newly fabricated
|
1467
|
+
# @overload keyword_plan_negative_keyword
|
1468
|
+
# creates an operation instance, yielding a newly fabricated KeywordPlanNegativeKeyword
|
1494
1469
|
# which can be used for setting attributes on the newly created resource
|
1495
|
-
# @overload
|
1470
|
+
# @overload keyword_plan_negative_keyword(res)
|
1496
1471
|
# creates an operation instance, with the resource to be created
|
1497
1472
|
# set to the passed value (res)
|
1498
|
-
# @param res [Google::Ads::GoogleAds::V1::Resources::
|
1473
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::KeywordPlanNegativeKeyword]
|
1499
1474
|
# a resource instance to be used for creation in this operation.
|
1500
1475
|
#
|
1501
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
1502
|
-
def self.
|
1503
|
-
require "google/ads/google_ads/v1/services/
|
1504
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
1476
|
+
# @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanNegativeKeywordOperation] instance that will create the resource
|
1477
|
+
def self.keyword_plan_negative_keyword(res = nil, &blk)
|
1478
|
+
require "google/ads/google_ads/v1/services/keyword_plan_negative_keyword_service_pb.rb"
|
1479
|
+
op = Google::Ads::GoogleAds::V1::Services::KeywordPlanNegativeKeywordOperation.new
|
1505
1480
|
if !res.nil?
|
1506
1481
|
op["create"] = res
|
1507
1482
|
elsif !blk.nil?
|
1508
|
-
op["create"] = Factories::V1::Resources.
|
1483
|
+
op["create"] = Factories::V1::Resources.keyword_plan_negative_keyword(&blk)
|
1509
1484
|
end
|
1510
1485
|
|
1511
1486
|
op
|
1512
1487
|
end
|
1513
1488
|
|
1514
|
-
# A convenience method for creating an
|
1515
|
-
# its "create" field prepopulated with an
|
1489
|
+
# A convenience method for creating an KeywordPlanOperation instance with
|
1490
|
+
# its "create" field prepopulated with an KeywordPlan instance.
|
1516
1491
|
#
|
1517
|
-
# @overload
|
1518
|
-
# creates an operation instance, yielding a newly fabricated
|
1492
|
+
# @overload keyword_plan
|
1493
|
+
# creates an operation instance, yielding a newly fabricated KeywordPlan
|
1519
1494
|
# which can be used for setting attributes on the newly created resource
|
1520
|
-
# @overload
|
1495
|
+
# @overload keyword_plan(res)
|
1521
1496
|
# creates an operation instance, with the resource to be created
|
1522
1497
|
# set to the passed value (res)
|
1523
|
-
# @param res [Google::Ads::GoogleAds::V1::Resources::
|
1498
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::KeywordPlan]
|
1524
1499
|
# a resource instance to be used for creation in this operation.
|
1525
1500
|
#
|
1526
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
1527
|
-
def self.
|
1528
|
-
require "google/ads/google_ads/v1/services/
|
1529
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
1501
|
+
# @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanOperation] instance that will create the resource
|
1502
|
+
def self.keyword_plan(res = nil, &blk)
|
1503
|
+
require "google/ads/google_ads/v1/services/keyword_plan_service_pb.rb"
|
1504
|
+
op = Google::Ads::GoogleAds::V1::Services::KeywordPlanOperation.new
|
1530
1505
|
if !res.nil?
|
1531
1506
|
op["create"] = res
|
1532
1507
|
elsif !blk.nil?
|
1533
|
-
op["create"] = Factories::V1::Resources.
|
1508
|
+
op["create"] = Factories::V1::Resources.keyword_plan(&blk)
|
1534
1509
|
end
|
1535
1510
|
|
1536
1511
|
op
|
1537
1512
|
end
|
1538
1513
|
|
1539
|
-
# A convenience method for creating an
|
1540
|
-
# its "create" field prepopulated with an
|
1514
|
+
# A convenience method for creating an KeywordPlanKeywordOperation instance with
|
1515
|
+
# its "create" field prepopulated with an KeywordPlanKeyword instance.
|
1541
1516
|
#
|
1542
|
-
# @overload
|
1543
|
-
# creates an operation instance, yielding a newly fabricated
|
1517
|
+
# @overload keyword_plan_keyword
|
1518
|
+
# creates an operation instance, yielding a newly fabricated KeywordPlanKeyword
|
1544
1519
|
# which can be used for setting attributes on the newly created resource
|
1545
|
-
# @overload
|
1520
|
+
# @overload keyword_plan_keyword(res)
|
1546
1521
|
# creates an operation instance, with the resource to be created
|
1547
1522
|
# set to the passed value (res)
|
1548
|
-
# @param res [Google::Ads::GoogleAds::V1::Resources::
|
1523
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::KeywordPlanKeyword]
|
1549
1524
|
# a resource instance to be used for creation in this operation.
|
1550
1525
|
#
|
1551
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
1552
|
-
def self.
|
1553
|
-
require "google/ads/google_ads/v1/services/
|
1554
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
1526
|
+
# @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanKeywordOperation] instance that will create the resource
|
1527
|
+
def self.keyword_plan_keyword(res = nil, &blk)
|
1528
|
+
require "google/ads/google_ads/v1/services/keyword_plan_keyword_service_pb.rb"
|
1529
|
+
op = Google::Ads::GoogleAds::V1::Services::KeywordPlanKeywordOperation.new
|
1555
1530
|
if !res.nil?
|
1556
1531
|
op["create"] = res
|
1557
1532
|
elsif !blk.nil?
|
1558
|
-
op["create"] = Factories::V1::Resources.
|
1533
|
+
op["create"] = Factories::V1::Resources.keyword_plan_keyword(&blk)
|
1559
1534
|
end
|
1560
1535
|
|
1561
1536
|
op
|
1562
1537
|
end
|
1563
1538
|
|
1564
|
-
# A convenience method for creating an
|
1565
|
-
# its "create" field prepopulated with an
|
1539
|
+
# A convenience method for creating an KeywordPlanCampaignOperation instance with
|
1540
|
+
# its "create" field prepopulated with an KeywordPlanCampaign instance.
|
1566
1541
|
#
|
1567
|
-
# @overload
|
1568
|
-
# creates an operation instance, yielding a newly fabricated
|
1542
|
+
# @overload keyword_plan_campaign
|
1543
|
+
# creates an operation instance, yielding a newly fabricated KeywordPlanCampaign
|
1569
1544
|
# which can be used for setting attributes on the newly created resource
|
1570
|
-
# @overload
|
1545
|
+
# @overload keyword_plan_campaign(res)
|
1571
1546
|
# creates an operation instance, with the resource to be created
|
1572
1547
|
# set to the passed value (res)
|
1573
|
-
# @param res [Google::Ads::GoogleAds::V1::Resources::
|
1548
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::KeywordPlanCampaign]
|
1574
1549
|
# a resource instance to be used for creation in this operation.
|
1575
1550
|
#
|
1576
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
1577
|
-
def self.
|
1578
|
-
require "google/ads/google_ads/v1/services/
|
1579
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
1551
|
+
# @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanCampaignOperation] instance that will create the resource
|
1552
|
+
def self.keyword_plan_campaign(res = nil, &blk)
|
1553
|
+
require "google/ads/google_ads/v1/services/keyword_plan_campaign_service_pb.rb"
|
1554
|
+
op = Google::Ads::GoogleAds::V1::Services::KeywordPlanCampaignOperation.new
|
1580
1555
|
if !res.nil?
|
1581
1556
|
op["create"] = res
|
1582
1557
|
elsif !blk.nil?
|
1583
|
-
op["create"] = Factories::V1::Resources.
|
1558
|
+
op["create"] = Factories::V1::Resources.keyword_plan_campaign(&blk)
|
1584
1559
|
end
|
1585
1560
|
|
1586
1561
|
op
|
@@ -1610,34 +1585,59 @@ module Google
|
|
1610
1585
|
|
1611
1586
|
op
|
1612
1587
|
end
|
1588
|
+
|
1589
|
+
# A convenience method for creating an BillingSetupOperation instance with
|
1590
|
+
# its "create" field prepopulated with an BillingSetup instance.
|
1591
|
+
#
|
1592
|
+
# @overload billing_setup
|
1593
|
+
# creates an operation instance, yielding a newly fabricated BillingSetup
|
1594
|
+
# which can be used for setting attributes on the newly created resource
|
1595
|
+
# @overload billing_setup(res)
|
1596
|
+
# creates an operation instance, with the resource to be created
|
1597
|
+
# set to the passed value (res)
|
1598
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::BillingSetup]
|
1599
|
+
# a resource instance to be used for creation in this operation.
|
1600
|
+
#
|
1601
|
+
# @return [Google::Ads::GoogleAds::V1::Services::BillingSetupOperation] instance that will create the resource
|
1602
|
+
def self.billing_setup(res = nil, &blk)
|
1603
|
+
require "google/ads/google_ads/v1/services/billing_setup_service_pb.rb"
|
1604
|
+
op = Google::Ads::GoogleAds::V1::Services::BillingSetupOperation.new
|
1605
|
+
if !res.nil?
|
1606
|
+
op["create"] = res
|
1607
|
+
elsif !blk.nil?
|
1608
|
+
op["create"] = Factories::V1::Resources.billing_setup(&blk)
|
1609
|
+
end
|
1610
|
+
|
1611
|
+
op
|
1612
|
+
end
|
1613
1613
|
end
|
1614
1614
|
|
1615
1615
|
module UpdateResource
|
1616
|
-
# A convenience method for creating an
|
1617
|
-
# its "update" field prepopulated with an
|
1616
|
+
# A convenience method for creating an CustomInterestOperation instance with
|
1617
|
+
# its "update" field prepopulated with an CustomInterest instance, and
|
1618
1618
|
# its "update_mask" field populated as needed to send the updates to the API.
|
1619
1619
|
#
|
1620
|
-
# @overload #
|
1620
|
+
# @overload #custom_interest(path, &blk)
|
1621
1621
|
# @param path [String] a resource path for the resource to update
|
1622
|
-
# @yield [Google::Ads::GoogleAds::V1::Resources::
|
1622
|
+
# @yield [Google::Ads::GoogleAds::V1::Resources::CustomInterest] a new instance of the resource for this update operation, on
|
1623
1623
|
# which fields can be set to update
|
1624
1624
|
#
|
1625
|
-
# @overload #
|
1626
|
-
# @param resource [Google::Ads::GoogleAds::V1::Resources::
|
1625
|
+
# @overload #custom_interest(resource, &blk)
|
1626
|
+
# @param resource [Google::Ads::GoogleAds::V1::Resources::CustomInterest] a resource instance to update
|
1627
1627
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
1628
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
1629
|
-
def self.
|
1630
|
-
require "google/ads/google_ads/v1/services/
|
1628
|
+
# @return [Google::Ads::GoogleAds::V1::Services::CustomInterestOperation] the operation instance to update the resource
|
1629
|
+
def self.custom_interest(resource_or_path, &blk)
|
1630
|
+
require "google/ads/google_ads/v1/services/custom_interest_service_pb.rb"
|
1631
1631
|
res = case resource_or_path
|
1632
|
-
when Google::Ads::GoogleAds::V1::Resources::
|
1632
|
+
when Google::Ads::GoogleAds::V1::Resources::CustomInterest
|
1633
1633
|
resource_or_path
|
1634
1634
|
# got a resource path
|
1635
1635
|
when String
|
1636
|
-
obj = Google::Ads::GoogleAds::V1::Resources::
|
1636
|
+
obj = Google::Ads::GoogleAds::V1::Resources::CustomInterest.new
|
1637
1637
|
obj.resource_name = resource_or_path
|
1638
1638
|
obj
|
1639
1639
|
else
|
1640
|
-
unless Google::Ads::GoogleAds::V1::Resources::
|
1640
|
+
unless Google::Ads::GoogleAds::V1::Resources::CustomInterest === res
|
1641
1641
|
raise ArgumentError.new(
|
1642
1642
|
"Called #{__method__} with instance of wrong type:"\
|
1643
1643
|
" #{res.class} want #{operation.update_class}"\
|
@@ -1646,37 +1646,37 @@ module Google
|
|
1646
1646
|
end
|
1647
1647
|
end
|
1648
1648
|
|
1649
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
1649
|
+
op = Google::Ads::GoogleAds::V1::Services::CustomInterestOperation.new
|
1650
1650
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
1651
1651
|
op["update"] = res
|
1652
1652
|
op
|
1653
1653
|
end
|
1654
1654
|
|
1655
|
-
# A convenience method for creating an
|
1656
|
-
# its "update" field prepopulated with an
|
1655
|
+
# A convenience method for creating an AdGroupOperation instance with
|
1656
|
+
# its "update" field prepopulated with an AdGroup instance, and
|
1657
1657
|
# its "update_mask" field populated as needed to send the updates to the API.
|
1658
1658
|
#
|
1659
|
-
# @overload #
|
1659
|
+
# @overload #ad_group(path, &blk)
|
1660
1660
|
# @param path [String] a resource path for the resource to update
|
1661
|
-
# @yield [Google::Ads::GoogleAds::V1::Resources::
|
1661
|
+
# @yield [Google::Ads::GoogleAds::V1::Resources::AdGroup] a new instance of the resource for this update operation, on
|
1662
1662
|
# which fields can be set to update
|
1663
1663
|
#
|
1664
|
-
# @overload #
|
1665
|
-
# @param resource [Google::Ads::GoogleAds::V1::Resources::
|
1664
|
+
# @overload #ad_group(resource, &blk)
|
1665
|
+
# @param resource [Google::Ads::GoogleAds::V1::Resources::AdGroup] a resource instance to update
|
1666
1666
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
1667
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
1668
|
-
def self.
|
1669
|
-
require "google/ads/google_ads/v1/services/
|
1667
|
+
# @return [Google::Ads::GoogleAds::V1::Services::AdGroupOperation] the operation instance to update the resource
|
1668
|
+
def self.ad_group(resource_or_path, &blk)
|
1669
|
+
require "google/ads/google_ads/v1/services/ad_group_service_pb.rb"
|
1670
1670
|
res = case resource_or_path
|
1671
|
-
when Google::Ads::GoogleAds::V1::Resources::
|
1671
|
+
when Google::Ads::GoogleAds::V1::Resources::AdGroup
|
1672
1672
|
resource_or_path
|
1673
1673
|
# got a resource path
|
1674
1674
|
when String
|
1675
|
-
obj = Google::Ads::GoogleAds::V1::Resources::
|
1675
|
+
obj = Google::Ads::GoogleAds::V1::Resources::AdGroup.new
|
1676
1676
|
obj.resource_name = resource_or_path
|
1677
1677
|
obj
|
1678
1678
|
else
|
1679
|
-
unless Google::Ads::GoogleAds::V1::Resources::
|
1679
|
+
unless Google::Ads::GoogleAds::V1::Resources::AdGroup === res
|
1680
1680
|
raise ArgumentError.new(
|
1681
1681
|
"Called #{__method__} with instance of wrong type:"\
|
1682
1682
|
" #{res.class} want #{operation.update_class}"\
|
@@ -1685,37 +1685,37 @@ module Google
|
|
1685
1685
|
end
|
1686
1686
|
end
|
1687
1687
|
|
1688
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
1688
|
+
op = Google::Ads::GoogleAds::V1::Services::AdGroupOperation.new
|
1689
1689
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
1690
1690
|
op["update"] = res
|
1691
1691
|
op
|
1692
1692
|
end
|
1693
1693
|
|
1694
|
-
# A convenience method for creating an
|
1695
|
-
# its "update" field prepopulated with an
|
1694
|
+
# A convenience method for creating an ExtensionFeedItemOperation instance with
|
1695
|
+
# its "update" field prepopulated with an ExtensionFeedItem instance, and
|
1696
1696
|
# its "update_mask" field populated as needed to send the updates to the API.
|
1697
1697
|
#
|
1698
|
-
# @overload #
|
1698
|
+
# @overload #extension_feed_item(path, &blk)
|
1699
1699
|
# @param path [String] a resource path for the resource to update
|
1700
|
-
# @yield [Google::Ads::GoogleAds::V1::Resources::
|
1700
|
+
# @yield [Google::Ads::GoogleAds::V1::Resources::ExtensionFeedItem] a new instance of the resource for this update operation, on
|
1701
1701
|
# which fields can be set to update
|
1702
1702
|
#
|
1703
|
-
# @overload #
|
1704
|
-
# @param resource [Google::Ads::GoogleAds::V1::Resources::
|
1703
|
+
# @overload #extension_feed_item(resource, &blk)
|
1704
|
+
# @param resource [Google::Ads::GoogleAds::V1::Resources::ExtensionFeedItem] a resource instance to update
|
1705
1705
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
1706
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
1707
|
-
def self.
|
1708
|
-
require "google/ads/google_ads/v1/services/
|
1706
|
+
# @return [Google::Ads::GoogleAds::V1::Services::ExtensionFeedItemOperation] the operation instance to update the resource
|
1707
|
+
def self.extension_feed_item(resource_or_path, &blk)
|
1708
|
+
require "google/ads/google_ads/v1/services/extension_feed_item_service_pb.rb"
|
1709
1709
|
res = case resource_or_path
|
1710
|
-
when Google::Ads::GoogleAds::V1::Resources::
|
1710
|
+
when Google::Ads::GoogleAds::V1::Resources::ExtensionFeedItem
|
1711
1711
|
resource_or_path
|
1712
1712
|
# got a resource path
|
1713
1713
|
when String
|
1714
|
-
obj = Google::Ads::GoogleAds::V1::Resources::
|
1714
|
+
obj = Google::Ads::GoogleAds::V1::Resources::ExtensionFeedItem.new
|
1715
1715
|
obj.resource_name = resource_or_path
|
1716
1716
|
obj
|
1717
1717
|
else
|
1718
|
-
unless Google::Ads::GoogleAds::V1::Resources::
|
1718
|
+
unless Google::Ads::GoogleAds::V1::Resources::ExtensionFeedItem === res
|
1719
1719
|
raise ArgumentError.new(
|
1720
1720
|
"Called #{__method__} with instance of wrong type:"\
|
1721
1721
|
" #{res.class} want #{operation.update_class}"\
|
@@ -1724,37 +1724,37 @@ module Google
|
|
1724
1724
|
end
|
1725
1725
|
end
|
1726
1726
|
|
1727
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
1727
|
+
op = Google::Ads::GoogleAds::V1::Services::ExtensionFeedItemOperation.new
|
1728
1728
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
1729
1729
|
op["update"] = res
|
1730
1730
|
op
|
1731
1731
|
end
|
1732
1732
|
|
1733
|
-
# A convenience method for creating an
|
1734
|
-
# its "update" field prepopulated with an
|
1733
|
+
# A convenience method for creating an CampaignBidModifierOperation instance with
|
1734
|
+
# its "update" field prepopulated with an CampaignBidModifier instance, and
|
1735
1735
|
# its "update_mask" field populated as needed to send the updates to the API.
|
1736
1736
|
#
|
1737
|
-
# @overload #
|
1737
|
+
# @overload #campaign_bid_modifier(path, &blk)
|
1738
1738
|
# @param path [String] a resource path for the resource to update
|
1739
|
-
# @yield [Google::Ads::GoogleAds::V1::Resources::
|
1739
|
+
# @yield [Google::Ads::GoogleAds::V1::Resources::CampaignBidModifier] a new instance of the resource for this update operation, on
|
1740
1740
|
# which fields can be set to update
|
1741
1741
|
#
|
1742
|
-
# @overload #
|
1743
|
-
# @param resource [Google::Ads::GoogleAds::V1::Resources::
|
1742
|
+
# @overload #campaign_bid_modifier(resource, &blk)
|
1743
|
+
# @param resource [Google::Ads::GoogleAds::V1::Resources::CampaignBidModifier] a resource instance to update
|
1744
1744
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
1745
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
1746
|
-
def self.
|
1747
|
-
require "google/ads/google_ads/v1/services/
|
1745
|
+
# @return [Google::Ads::GoogleAds::V1::Services::CampaignBidModifierOperation] the operation instance to update the resource
|
1746
|
+
def self.campaign_bid_modifier(resource_or_path, &blk)
|
1747
|
+
require "google/ads/google_ads/v1/services/campaign_bid_modifier_service_pb.rb"
|
1748
1748
|
res = case resource_or_path
|
1749
|
-
when Google::Ads::GoogleAds::V1::Resources::
|
1749
|
+
when Google::Ads::GoogleAds::V1::Resources::CampaignBidModifier
|
1750
1750
|
resource_or_path
|
1751
1751
|
# got a resource path
|
1752
1752
|
when String
|
1753
|
-
obj = Google::Ads::GoogleAds::V1::Resources::
|
1753
|
+
obj = Google::Ads::GoogleAds::V1::Resources::CampaignBidModifier.new
|
1754
1754
|
obj.resource_name = resource_or_path
|
1755
1755
|
obj
|
1756
1756
|
else
|
1757
|
-
unless Google::Ads::GoogleAds::V1::Resources::
|
1757
|
+
unless Google::Ads::GoogleAds::V1::Resources::CampaignBidModifier === res
|
1758
1758
|
raise ArgumentError.new(
|
1759
1759
|
"Called #{__method__} with instance of wrong type:"\
|
1760
1760
|
" #{res.class} want #{operation.update_class}"\
|
@@ -1763,37 +1763,37 @@ module Google
|
|
1763
1763
|
end
|
1764
1764
|
end
|
1765
1765
|
|
1766
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
1766
|
+
op = Google::Ads::GoogleAds::V1::Services::CampaignBidModifierOperation.new
|
1767
1767
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
1768
1768
|
op["update"] = res
|
1769
1769
|
op
|
1770
1770
|
end
|
1771
1771
|
|
1772
|
-
# A convenience method for creating an
|
1773
|
-
# its "update" field prepopulated with an
|
1772
|
+
# A convenience method for creating an CampaignDraftOperation instance with
|
1773
|
+
# its "update" field prepopulated with an CampaignDraft instance, and
|
1774
1774
|
# its "update_mask" field populated as needed to send the updates to the API.
|
1775
1775
|
#
|
1776
|
-
# @overload #
|
1776
|
+
# @overload #campaign_draft(path, &blk)
|
1777
1777
|
# @param path [String] a resource path for the resource to update
|
1778
|
-
# @yield [Google::Ads::GoogleAds::V1::Resources::
|
1778
|
+
# @yield [Google::Ads::GoogleAds::V1::Resources::CampaignDraft] a new instance of the resource for this update operation, on
|
1779
1779
|
# which fields can be set to update
|
1780
1780
|
#
|
1781
|
-
# @overload #
|
1782
|
-
# @param resource [Google::Ads::GoogleAds::V1::Resources::
|
1781
|
+
# @overload #campaign_draft(resource, &blk)
|
1782
|
+
# @param resource [Google::Ads::GoogleAds::V1::Resources::CampaignDraft] a resource instance to update
|
1783
1783
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
1784
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
1785
|
-
def self.
|
1786
|
-
require "google/ads/google_ads/v1/services/
|
1784
|
+
# @return [Google::Ads::GoogleAds::V1::Services::CampaignDraftOperation] the operation instance to update the resource
|
1785
|
+
def self.campaign_draft(resource_or_path, &blk)
|
1786
|
+
require "google/ads/google_ads/v1/services/campaign_draft_service_pb.rb"
|
1787
1787
|
res = case resource_or_path
|
1788
|
-
when Google::Ads::GoogleAds::V1::Resources::
|
1788
|
+
when Google::Ads::GoogleAds::V1::Resources::CampaignDraft
|
1789
1789
|
resource_or_path
|
1790
1790
|
# got a resource path
|
1791
1791
|
when String
|
1792
|
-
obj = Google::Ads::GoogleAds::V1::Resources::
|
1792
|
+
obj = Google::Ads::GoogleAds::V1::Resources::CampaignDraft.new
|
1793
1793
|
obj.resource_name = resource_or_path
|
1794
1794
|
obj
|
1795
1795
|
else
|
1796
|
-
unless Google::Ads::GoogleAds::V1::Resources::
|
1796
|
+
unless Google::Ads::GoogleAds::V1::Resources::CampaignDraft === res
|
1797
1797
|
raise ArgumentError.new(
|
1798
1798
|
"Called #{__method__} with instance of wrong type:"\
|
1799
1799
|
" #{res.class} want #{operation.update_class}"\
|
@@ -1802,37 +1802,37 @@ module Google
|
|
1802
1802
|
end
|
1803
1803
|
end
|
1804
1804
|
|
1805
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
1805
|
+
op = Google::Ads::GoogleAds::V1::Services::CampaignDraftOperation.new
|
1806
1806
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
1807
1807
|
op["update"] = res
|
1808
1808
|
op
|
1809
1809
|
end
|
1810
1810
|
|
1811
|
-
# A convenience method for creating an
|
1812
|
-
# its "update" field prepopulated with an
|
1811
|
+
# A convenience method for creating an CustomerOperation instance with
|
1812
|
+
# its "update" field prepopulated with an Customer instance, and
|
1813
1813
|
# its "update_mask" field populated as needed to send the updates to the API.
|
1814
1814
|
#
|
1815
|
-
# @overload #
|
1815
|
+
# @overload #customer(path, &blk)
|
1816
1816
|
# @param path [String] a resource path for the resource to update
|
1817
|
-
# @yield [Google::Ads::GoogleAds::V1::Resources::
|
1817
|
+
# @yield [Google::Ads::GoogleAds::V1::Resources::Customer] a new instance of the resource for this update operation, on
|
1818
1818
|
# which fields can be set to update
|
1819
1819
|
#
|
1820
|
-
# @overload #
|
1821
|
-
# @param resource [Google::Ads::GoogleAds::V1::Resources::
|
1820
|
+
# @overload #customer(resource, &blk)
|
1821
|
+
# @param resource [Google::Ads::GoogleAds::V1::Resources::Customer] a resource instance to update
|
1822
1822
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
1823
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
1824
|
-
def self.
|
1825
|
-
require "google/ads/google_ads/v1/services/
|
1823
|
+
# @return [Google::Ads::GoogleAds::V1::Services::CustomerOperation] the operation instance to update the resource
|
1824
|
+
def self.customer(resource_or_path, &blk)
|
1825
|
+
require "google/ads/google_ads/v1/services/customer_service_pb.rb"
|
1826
1826
|
res = case resource_or_path
|
1827
|
-
when Google::Ads::GoogleAds::V1::Resources::
|
1827
|
+
when Google::Ads::GoogleAds::V1::Resources::Customer
|
1828
1828
|
resource_or_path
|
1829
1829
|
# got a resource path
|
1830
1830
|
when String
|
1831
|
-
obj = Google::Ads::GoogleAds::V1::Resources::
|
1831
|
+
obj = Google::Ads::GoogleAds::V1::Resources::Customer.new
|
1832
1832
|
obj.resource_name = resource_or_path
|
1833
1833
|
obj
|
1834
1834
|
else
|
1835
|
-
unless Google::Ads::GoogleAds::V1::Resources::
|
1835
|
+
unless Google::Ads::GoogleAds::V1::Resources::Customer === res
|
1836
1836
|
raise ArgumentError.new(
|
1837
1837
|
"Called #{__method__} with instance of wrong type:"\
|
1838
1838
|
" #{res.class} want #{operation.update_class}"\
|
@@ -1841,37 +1841,37 @@ module Google
|
|
1841
1841
|
end
|
1842
1842
|
end
|
1843
1843
|
|
1844
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
1844
|
+
op = Google::Ads::GoogleAds::V1::Services::CustomerOperation.new
|
1845
1845
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
1846
1846
|
op["update"] = res
|
1847
1847
|
op
|
1848
1848
|
end
|
1849
1849
|
|
1850
|
-
# A convenience method for creating an
|
1851
|
-
# its "update" field prepopulated with an
|
1850
|
+
# A convenience method for creating an SharedSetOperation instance with
|
1851
|
+
# its "update" field prepopulated with an SharedSet instance, and
|
1852
1852
|
# its "update_mask" field populated as needed to send the updates to the API.
|
1853
1853
|
#
|
1854
|
-
# @overload #
|
1854
|
+
# @overload #shared_set(path, &blk)
|
1855
1855
|
# @param path [String] a resource path for the resource to update
|
1856
|
-
# @yield [Google::Ads::GoogleAds::V1::Resources::
|
1856
|
+
# @yield [Google::Ads::GoogleAds::V1::Resources::SharedSet] a new instance of the resource for this update operation, on
|
1857
1857
|
# which fields can be set to update
|
1858
1858
|
#
|
1859
|
-
# @overload #
|
1860
|
-
# @param resource [Google::Ads::GoogleAds::V1::Resources::
|
1859
|
+
# @overload #shared_set(resource, &blk)
|
1860
|
+
# @param resource [Google::Ads::GoogleAds::V1::Resources::SharedSet] a resource instance to update
|
1861
1861
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
1862
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
1863
|
-
def self.
|
1864
|
-
require "google/ads/google_ads/v1/services/
|
1862
|
+
# @return [Google::Ads::GoogleAds::V1::Services::SharedSetOperation] the operation instance to update the resource
|
1863
|
+
def self.shared_set(resource_or_path, &blk)
|
1864
|
+
require "google/ads/google_ads/v1/services/shared_set_service_pb.rb"
|
1865
1865
|
res = case resource_or_path
|
1866
|
-
when Google::Ads::GoogleAds::V1::Resources::
|
1866
|
+
when Google::Ads::GoogleAds::V1::Resources::SharedSet
|
1867
1867
|
resource_or_path
|
1868
1868
|
# got a resource path
|
1869
1869
|
when String
|
1870
|
-
obj = Google::Ads::GoogleAds::V1::Resources::
|
1870
|
+
obj = Google::Ads::GoogleAds::V1::Resources::SharedSet.new
|
1871
1871
|
obj.resource_name = resource_or_path
|
1872
1872
|
obj
|
1873
1873
|
else
|
1874
|
-
unless Google::Ads::GoogleAds::V1::Resources::
|
1874
|
+
unless Google::Ads::GoogleAds::V1::Resources::SharedSet === res
|
1875
1875
|
raise ArgumentError.new(
|
1876
1876
|
"Called #{__method__} with instance of wrong type:"\
|
1877
1877
|
" #{res.class} want #{operation.update_class}"\
|
@@ -1880,7 +1880,7 @@ module Google
|
|
1880
1880
|
end
|
1881
1881
|
end
|
1882
1882
|
|
1883
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
1883
|
+
op = Google::Ads::GoogleAds::V1::Services::SharedSetOperation.new
|
1884
1884
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
1885
1885
|
op["update"] = res
|
1886
1886
|
op
|
@@ -1925,31 +1925,31 @@ module Google
|
|
1925
1925
|
op
|
1926
1926
|
end
|
1927
1927
|
|
1928
|
-
# A convenience method for creating an
|
1929
|
-
# its "update" field prepopulated with an
|
1928
|
+
# A convenience method for creating an LabelOperation instance with
|
1929
|
+
# its "update" field prepopulated with an Label instance, and
|
1930
1930
|
# its "update_mask" field populated as needed to send the updates to the API.
|
1931
1931
|
#
|
1932
|
-
# @overload #
|
1932
|
+
# @overload #label(path, &blk)
|
1933
1933
|
# @param path [String] a resource path for the resource to update
|
1934
|
-
# @yield [Google::Ads::GoogleAds::V1::Resources::
|
1934
|
+
# @yield [Google::Ads::GoogleAds::V1::Resources::Label] a new instance of the resource for this update operation, on
|
1935
1935
|
# which fields can be set to update
|
1936
1936
|
#
|
1937
|
-
# @overload #
|
1938
|
-
# @param resource [Google::Ads::GoogleAds::V1::Resources::
|
1937
|
+
# @overload #label(resource, &blk)
|
1938
|
+
# @param resource [Google::Ads::GoogleAds::V1::Resources::Label] a resource instance to update
|
1939
1939
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
1940
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
1941
|
-
def self.
|
1942
|
-
require "google/ads/google_ads/v1/services/
|
1940
|
+
# @return [Google::Ads::GoogleAds::V1::Services::LabelOperation] the operation instance to update the resource
|
1941
|
+
def self.label(resource_or_path, &blk)
|
1942
|
+
require "google/ads/google_ads/v1/services/label_service_pb.rb"
|
1943
1943
|
res = case resource_or_path
|
1944
|
-
when Google::Ads::GoogleAds::V1::Resources::
|
1944
|
+
when Google::Ads::GoogleAds::V1::Resources::Label
|
1945
1945
|
resource_or_path
|
1946
1946
|
# got a resource path
|
1947
1947
|
when String
|
1948
|
-
obj = Google::Ads::GoogleAds::V1::Resources::
|
1948
|
+
obj = Google::Ads::GoogleAds::V1::Resources::Label.new
|
1949
1949
|
obj.resource_name = resource_or_path
|
1950
1950
|
obj
|
1951
1951
|
else
|
1952
|
-
unless Google::Ads::GoogleAds::V1::Resources::
|
1952
|
+
unless Google::Ads::GoogleAds::V1::Resources::Label === res
|
1953
1953
|
raise ArgumentError.new(
|
1954
1954
|
"Called #{__method__} with instance of wrong type:"\
|
1955
1955
|
" #{res.class} want #{operation.update_class}"\
|
@@ -1958,7 +1958,7 @@ module Google
|
|
1958
1958
|
end
|
1959
1959
|
end
|
1960
1960
|
|
1961
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
1961
|
+
op = Google::Ads::GoogleAds::V1::Services::LabelOperation.new
|
1962
1962
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
1963
1963
|
op["update"] = res
|
1964
1964
|
op
|
@@ -2003,31 +2003,31 @@ module Google
|
|
2003
2003
|
op
|
2004
2004
|
end
|
2005
2005
|
|
2006
|
-
# A convenience method for creating an
|
2007
|
-
# its "update" field prepopulated with an
|
2006
|
+
# A convenience method for creating an AdGroupBidModifierOperation instance with
|
2007
|
+
# its "update" field prepopulated with an AdGroupBidModifier instance, and
|
2008
2008
|
# its "update_mask" field populated as needed to send the updates to the API.
|
2009
2009
|
#
|
2010
|
-
# @overload #
|
2010
|
+
# @overload #ad_group_bid_modifier(path, &blk)
|
2011
2011
|
# @param path [String] a resource path for the resource to update
|
2012
|
-
# @yield [Google::Ads::GoogleAds::V1::Resources::
|
2012
|
+
# @yield [Google::Ads::GoogleAds::V1::Resources::AdGroupBidModifier] a new instance of the resource for this update operation, on
|
2013
2013
|
# which fields can be set to update
|
2014
2014
|
#
|
2015
|
-
# @overload #
|
2016
|
-
# @param resource [Google::Ads::GoogleAds::V1::Resources::
|
2015
|
+
# @overload #ad_group_bid_modifier(resource, &blk)
|
2016
|
+
# @param resource [Google::Ads::GoogleAds::V1::Resources::AdGroupBidModifier] a resource instance to update
|
2017
2017
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2018
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
2019
|
-
def self.
|
2020
|
-
require "google/ads/google_ads/v1/services/
|
2018
|
+
# @return [Google::Ads::GoogleAds::V1::Services::AdGroupBidModifierOperation] the operation instance to update the resource
|
2019
|
+
def self.ad_group_bid_modifier(resource_or_path, &blk)
|
2020
|
+
require "google/ads/google_ads/v1/services/ad_group_bid_modifier_service_pb.rb"
|
2021
2021
|
res = case resource_or_path
|
2022
|
-
when Google::Ads::GoogleAds::V1::Resources::
|
2022
|
+
when Google::Ads::GoogleAds::V1::Resources::AdGroupBidModifier
|
2023
2023
|
resource_or_path
|
2024
2024
|
# got a resource path
|
2025
2025
|
when String
|
2026
|
-
obj = Google::Ads::GoogleAds::V1::Resources::
|
2026
|
+
obj = Google::Ads::GoogleAds::V1::Resources::AdGroupBidModifier.new
|
2027
2027
|
obj.resource_name = resource_or_path
|
2028
2028
|
obj
|
2029
2029
|
else
|
2030
|
-
unless Google::Ads::GoogleAds::V1::Resources::
|
2030
|
+
unless Google::Ads::GoogleAds::V1::Resources::AdGroupBidModifier === res
|
2031
2031
|
raise ArgumentError.new(
|
2032
2032
|
"Called #{__method__} with instance of wrong type:"\
|
2033
2033
|
" #{res.class} want #{operation.update_class}"\
|
@@ -2036,37 +2036,37 @@ module Google
|
|
2036
2036
|
end
|
2037
2037
|
end
|
2038
2038
|
|
2039
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
2039
|
+
op = Google::Ads::GoogleAds::V1::Services::AdGroupBidModifierOperation.new
|
2040
2040
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
2041
2041
|
op["update"] = res
|
2042
2042
|
op
|
2043
2043
|
end
|
2044
2044
|
|
2045
|
-
# A convenience method for creating an
|
2046
|
-
# its "update" field prepopulated with an
|
2045
|
+
# A convenience method for creating an AdGroupCriterionOperation instance with
|
2046
|
+
# its "update" field prepopulated with an AdGroupCriterion instance, and
|
2047
2047
|
# its "update_mask" field populated as needed to send the updates to the API.
|
2048
2048
|
#
|
2049
|
-
# @overload #
|
2049
|
+
# @overload #ad_group_criterion(path, &blk)
|
2050
2050
|
# @param path [String] a resource path for the resource to update
|
2051
|
-
# @yield [Google::Ads::GoogleAds::V1::Resources::
|
2051
|
+
# @yield [Google::Ads::GoogleAds::V1::Resources::AdGroupCriterion] a new instance of the resource for this update operation, on
|
2052
2052
|
# which fields can be set to update
|
2053
2053
|
#
|
2054
|
-
# @overload #
|
2055
|
-
# @param resource [Google::Ads::GoogleAds::V1::Resources::
|
2054
|
+
# @overload #ad_group_criterion(resource, &blk)
|
2055
|
+
# @param resource [Google::Ads::GoogleAds::V1::Resources::AdGroupCriterion] a resource instance to update
|
2056
2056
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2057
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
2058
|
-
def self.
|
2059
|
-
require "google/ads/google_ads/v1/services/
|
2057
|
+
# @return [Google::Ads::GoogleAds::V1::Services::AdGroupCriterionOperation] the operation instance to update the resource
|
2058
|
+
def self.ad_group_criterion(resource_or_path, &blk)
|
2059
|
+
require "google/ads/google_ads/v1/services/ad_group_criterion_service_pb.rb"
|
2060
2060
|
res = case resource_or_path
|
2061
|
-
when Google::Ads::GoogleAds::V1::Resources::
|
2061
|
+
when Google::Ads::GoogleAds::V1::Resources::AdGroupCriterion
|
2062
2062
|
resource_or_path
|
2063
2063
|
# got a resource path
|
2064
2064
|
when String
|
2065
|
-
obj = Google::Ads::GoogleAds::V1::Resources::
|
2065
|
+
obj = Google::Ads::GoogleAds::V1::Resources::AdGroupCriterion.new
|
2066
2066
|
obj.resource_name = resource_or_path
|
2067
2067
|
obj
|
2068
2068
|
else
|
2069
|
-
unless Google::Ads::GoogleAds::V1::Resources::
|
2069
|
+
unless Google::Ads::GoogleAds::V1::Resources::AdGroupCriterion === res
|
2070
2070
|
raise ArgumentError.new(
|
2071
2071
|
"Called #{__method__} with instance of wrong type:"\
|
2072
2072
|
" #{res.class} want #{operation.update_class}"\
|
@@ -2075,37 +2075,37 @@ module Google
|
|
2075
2075
|
end
|
2076
2076
|
end
|
2077
2077
|
|
2078
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
2078
|
+
op = Google::Ads::GoogleAds::V1::Services::AdGroupCriterionOperation.new
|
2079
2079
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
2080
2080
|
op["update"] = res
|
2081
2081
|
op
|
2082
2082
|
end
|
2083
2083
|
|
2084
|
-
# A convenience method for creating an
|
2085
|
-
# its "update" field prepopulated with an
|
2084
|
+
# A convenience method for creating an AdGroupExtensionSettingOperation instance with
|
2085
|
+
# its "update" field prepopulated with an AdGroupExtensionSetting instance, and
|
2086
2086
|
# its "update_mask" field populated as needed to send the updates to the API.
|
2087
2087
|
#
|
2088
|
-
# @overload #
|
2088
|
+
# @overload #ad_group_extension_setting(path, &blk)
|
2089
2089
|
# @param path [String] a resource path for the resource to update
|
2090
|
-
# @yield [Google::Ads::GoogleAds::V1::Resources::
|
2090
|
+
# @yield [Google::Ads::GoogleAds::V1::Resources::AdGroupExtensionSetting] a new instance of the resource for this update operation, on
|
2091
2091
|
# which fields can be set to update
|
2092
2092
|
#
|
2093
|
-
# @overload #
|
2094
|
-
# @param resource [Google::Ads::GoogleAds::V1::Resources::
|
2095
|
-
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2096
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
2097
|
-
def self.
|
2098
|
-
require "google/ads/google_ads/v1/services/
|
2093
|
+
# @overload #ad_group_extension_setting(resource, &blk)
|
2094
|
+
# @param resource [Google::Ads::GoogleAds::V1::Resources::AdGroupExtensionSetting] a resource instance to update
|
2095
|
+
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2096
|
+
# @return [Google::Ads::GoogleAds::V1::Services::AdGroupExtensionSettingOperation] the operation instance to update the resource
|
2097
|
+
def self.ad_group_extension_setting(resource_or_path, &blk)
|
2098
|
+
require "google/ads/google_ads/v1/services/ad_group_extension_setting_service_pb.rb"
|
2099
2099
|
res = case resource_or_path
|
2100
|
-
when Google::Ads::GoogleAds::V1::Resources::
|
2100
|
+
when Google::Ads::GoogleAds::V1::Resources::AdGroupExtensionSetting
|
2101
2101
|
resource_or_path
|
2102
2102
|
# got a resource path
|
2103
2103
|
when String
|
2104
|
-
obj = Google::Ads::GoogleAds::V1::Resources::
|
2104
|
+
obj = Google::Ads::GoogleAds::V1::Resources::AdGroupExtensionSetting.new
|
2105
2105
|
obj.resource_name = resource_or_path
|
2106
2106
|
obj
|
2107
2107
|
else
|
2108
|
-
unless Google::Ads::GoogleAds::V1::Resources::
|
2108
|
+
unless Google::Ads::GoogleAds::V1::Resources::AdGroupExtensionSetting === res
|
2109
2109
|
raise ArgumentError.new(
|
2110
2110
|
"Called #{__method__} with instance of wrong type:"\
|
2111
2111
|
" #{res.class} want #{operation.update_class}"\
|
@@ -2114,37 +2114,37 @@ module Google
|
|
2114
2114
|
end
|
2115
2115
|
end
|
2116
2116
|
|
2117
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
2117
|
+
op = Google::Ads::GoogleAds::V1::Services::AdGroupExtensionSettingOperation.new
|
2118
2118
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
2119
2119
|
op["update"] = res
|
2120
2120
|
op
|
2121
2121
|
end
|
2122
2122
|
|
2123
|
-
# A convenience method for creating an
|
2124
|
-
# its "update" field prepopulated with an
|
2123
|
+
# A convenience method for creating an AdGroupFeedOperation instance with
|
2124
|
+
# its "update" field prepopulated with an AdGroupFeed instance, and
|
2125
2125
|
# its "update_mask" field populated as needed to send the updates to the API.
|
2126
2126
|
#
|
2127
|
-
# @overload #
|
2127
|
+
# @overload #ad_group_feed(path, &blk)
|
2128
2128
|
# @param path [String] a resource path for the resource to update
|
2129
|
-
# @yield [Google::Ads::GoogleAds::V1::Resources::
|
2129
|
+
# @yield [Google::Ads::GoogleAds::V1::Resources::AdGroupFeed] a new instance of the resource for this update operation, on
|
2130
2130
|
# which fields can be set to update
|
2131
2131
|
#
|
2132
|
-
# @overload #
|
2133
|
-
# @param resource [Google::Ads::GoogleAds::V1::Resources::
|
2132
|
+
# @overload #ad_group_feed(resource, &blk)
|
2133
|
+
# @param resource [Google::Ads::GoogleAds::V1::Resources::AdGroupFeed] a resource instance to update
|
2134
2134
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2135
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
2136
|
-
def self.
|
2137
|
-
require "google/ads/google_ads/v1/services/
|
2135
|
+
# @return [Google::Ads::GoogleAds::V1::Services::AdGroupFeedOperation] the operation instance to update the resource
|
2136
|
+
def self.ad_group_feed(resource_or_path, &blk)
|
2137
|
+
require "google/ads/google_ads/v1/services/ad_group_feed_service_pb.rb"
|
2138
2138
|
res = case resource_or_path
|
2139
|
-
when Google::Ads::GoogleAds::V1::Resources::
|
2139
|
+
when Google::Ads::GoogleAds::V1::Resources::AdGroupFeed
|
2140
2140
|
resource_or_path
|
2141
2141
|
# got a resource path
|
2142
2142
|
when String
|
2143
|
-
obj = Google::Ads::GoogleAds::V1::Resources::
|
2143
|
+
obj = Google::Ads::GoogleAds::V1::Resources::AdGroupFeed.new
|
2144
2144
|
obj.resource_name = resource_or_path
|
2145
2145
|
obj
|
2146
2146
|
else
|
2147
|
-
unless Google::Ads::GoogleAds::V1::Resources::
|
2147
|
+
unless Google::Ads::GoogleAds::V1::Resources::AdGroupFeed === res
|
2148
2148
|
raise ArgumentError.new(
|
2149
2149
|
"Called #{__method__} with instance of wrong type:"\
|
2150
2150
|
" #{res.class} want #{operation.update_class}"\
|
@@ -2153,7 +2153,7 @@ module Google
|
|
2153
2153
|
end
|
2154
2154
|
end
|
2155
2155
|
|
2156
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
2156
|
+
op = Google::Ads::GoogleAds::V1::Services::AdGroupFeedOperation.new
|
2157
2157
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
2158
2158
|
op["update"] = res
|
2159
2159
|
op
|
@@ -2237,45 +2237,6 @@ module Google
|
|
2237
2237
|
op
|
2238
2238
|
end
|
2239
2239
|
|
2240
|
-
# A convenience method for creating an CampaignBidModifierOperation instance with
|
2241
|
-
# its "update" field prepopulated with an CampaignBidModifier instance, and
|
2242
|
-
# its "update_mask" field populated as needed to send the updates to the API.
|
2243
|
-
#
|
2244
|
-
# @overload #campaign_bid_modifier(path, &blk)
|
2245
|
-
# @param path [String] a resource path for the resource to update
|
2246
|
-
# @yield [Google::Ads::GoogleAds::V1::Resources::CampaignBidModifier] a new instance of the resource for this update operation, on
|
2247
|
-
# which fields can be set to update
|
2248
|
-
#
|
2249
|
-
# @overload #campaign_bid_modifier(resource, &blk)
|
2250
|
-
# @param resource [Google::Ads::GoogleAds::V1::Resources::CampaignBidModifier] a resource instance to update
|
2251
|
-
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2252
|
-
# @return [Google::Ads::GoogleAds::V1::Services::CampaignBidModifierOperation] the operation instance to update the resource
|
2253
|
-
def self.campaign_bid_modifier(resource_or_path, &blk)
|
2254
|
-
require "google/ads/google_ads/v1/services/campaign_bid_modifier_service_pb.rb"
|
2255
|
-
res = case resource_or_path
|
2256
|
-
when Google::Ads::GoogleAds::V1::Resources::CampaignBidModifier
|
2257
|
-
resource_or_path
|
2258
|
-
# got a resource path
|
2259
|
-
when String
|
2260
|
-
obj = Google::Ads::GoogleAds::V1::Resources::CampaignBidModifier.new
|
2261
|
-
obj.resource_name = resource_or_path
|
2262
|
-
obj
|
2263
|
-
else
|
2264
|
-
unless Google::Ads::GoogleAds::V1::Resources::CampaignBidModifier === res
|
2265
|
-
raise ArgumentError.new(
|
2266
|
-
"Called #{__method__} with instance of wrong type:"\
|
2267
|
-
" #{res.class} want #{operation.update_class}"\
|
2268
|
-
" or String representing resource name"
|
2269
|
-
)
|
2270
|
-
end
|
2271
|
-
end
|
2272
|
-
|
2273
|
-
op = Google::Ads::GoogleAds::V1::Services::CampaignBidModifierOperation.new
|
2274
|
-
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
2275
|
-
op["update"] = res
|
2276
|
-
op
|
2277
|
-
end
|
2278
|
-
|
2279
2240
|
# A convenience method for creating an CampaignBudgetOperation instance with
|
2280
2241
|
# its "update" field prepopulated with an CampaignBudget instance, and
|
2281
2242
|
# its "update_mask" field populated as needed to send the updates to the API.
|
@@ -2354,45 +2315,6 @@ module Google
|
|
2354
2315
|
op
|
2355
2316
|
end
|
2356
2317
|
|
2357
|
-
# A convenience method for creating an CampaignDraftOperation instance with
|
2358
|
-
# its "update" field prepopulated with an CampaignDraft instance, and
|
2359
|
-
# its "update_mask" field populated as needed to send the updates to the API.
|
2360
|
-
#
|
2361
|
-
# @overload #campaign_draft(path, &blk)
|
2362
|
-
# @param path [String] a resource path for the resource to update
|
2363
|
-
# @yield [Google::Ads::GoogleAds::V1::Resources::CampaignDraft] a new instance of the resource for this update operation, on
|
2364
|
-
# which fields can be set to update
|
2365
|
-
#
|
2366
|
-
# @overload #campaign_draft(resource, &blk)
|
2367
|
-
# @param resource [Google::Ads::GoogleAds::V1::Resources::CampaignDraft] a resource instance to update
|
2368
|
-
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2369
|
-
# @return [Google::Ads::GoogleAds::V1::Services::CampaignDraftOperation] the operation instance to update the resource
|
2370
|
-
def self.campaign_draft(resource_or_path, &blk)
|
2371
|
-
require "google/ads/google_ads/v1/services/campaign_draft_service_pb.rb"
|
2372
|
-
res = case resource_or_path
|
2373
|
-
when Google::Ads::GoogleAds::V1::Resources::CampaignDraft
|
2374
|
-
resource_or_path
|
2375
|
-
# got a resource path
|
2376
|
-
when String
|
2377
|
-
obj = Google::Ads::GoogleAds::V1::Resources::CampaignDraft.new
|
2378
|
-
obj.resource_name = resource_or_path
|
2379
|
-
obj
|
2380
|
-
else
|
2381
|
-
unless Google::Ads::GoogleAds::V1::Resources::CampaignDraft === res
|
2382
|
-
raise ArgumentError.new(
|
2383
|
-
"Called #{__method__} with instance of wrong type:"\
|
2384
|
-
" #{res.class} want #{operation.update_class}"\
|
2385
|
-
" or String representing resource name"
|
2386
|
-
)
|
2387
|
-
end
|
2388
|
-
end
|
2389
|
-
|
2390
|
-
op = Google::Ads::GoogleAds::V1::Services::CampaignDraftOperation.new
|
2391
|
-
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
2392
|
-
op["update"] = res
|
2393
|
-
op
|
2394
|
-
end
|
2395
|
-
|
2396
2318
|
# A convenience method for creating an CampaignExperimentOperation instance with
|
2397
2319
|
# its "update" field prepopulated with an CampaignExperiment instance, and
|
2398
2320
|
# its "update_mask" field populated as needed to send the updates to the API.
|
@@ -2627,31 +2549,148 @@ module Google
|
|
2627
2549
|
op
|
2628
2550
|
end
|
2629
2551
|
|
2630
|
-
# A convenience method for creating an
|
2631
|
-
# its "update" field prepopulated with an
|
2552
|
+
# A convenience method for creating an FeedItemOperation instance with
|
2553
|
+
# its "update" field prepopulated with an FeedItem instance, and
|
2632
2554
|
# its "update_mask" field populated as needed to send the updates to the API.
|
2633
2555
|
#
|
2634
|
-
# @overload #
|
2556
|
+
# @overload #feed_item(path, &blk)
|
2635
2557
|
# @param path [String] a resource path for the resource to update
|
2636
|
-
# @yield [Google::Ads::GoogleAds::V1::Resources::
|
2558
|
+
# @yield [Google::Ads::GoogleAds::V1::Resources::FeedItem] a new instance of the resource for this update operation, on
|
2637
2559
|
# which fields can be set to update
|
2638
2560
|
#
|
2639
|
-
# @overload #
|
2640
|
-
# @param resource [Google::Ads::GoogleAds::V1::Resources::
|
2561
|
+
# @overload #feed_item(resource, &blk)
|
2562
|
+
# @param resource [Google::Ads::GoogleAds::V1::Resources::FeedItem] a resource instance to update
|
2641
2563
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2642
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
2643
|
-
def self.
|
2644
|
-
require "google/ads/google_ads/v1/services/
|
2564
|
+
# @return [Google::Ads::GoogleAds::V1::Services::FeedItemOperation] the operation instance to update the resource
|
2565
|
+
def self.feed_item(resource_or_path, &blk)
|
2566
|
+
require "google/ads/google_ads/v1/services/feed_item_service_pb.rb"
|
2645
2567
|
res = case resource_or_path
|
2646
|
-
when Google::Ads::GoogleAds::V1::Resources::
|
2568
|
+
when Google::Ads::GoogleAds::V1::Resources::FeedItem
|
2647
2569
|
resource_or_path
|
2648
2570
|
# got a resource path
|
2649
2571
|
when String
|
2650
|
-
obj = Google::Ads::GoogleAds::V1::Resources::
|
2572
|
+
obj = Google::Ads::GoogleAds::V1::Resources::FeedItem.new
|
2651
2573
|
obj.resource_name = resource_or_path
|
2652
2574
|
obj
|
2653
2575
|
else
|
2654
|
-
unless Google::Ads::GoogleAds::V1::Resources::
|
2576
|
+
unless Google::Ads::GoogleAds::V1::Resources::FeedItem === res
|
2577
|
+
raise ArgumentError.new(
|
2578
|
+
"Called #{__method__} with instance of wrong type:"\
|
2579
|
+
" #{res.class} want #{operation.update_class}"\
|
2580
|
+
" or String representing resource name"
|
2581
|
+
)
|
2582
|
+
end
|
2583
|
+
end
|
2584
|
+
|
2585
|
+
op = Google::Ads::GoogleAds::V1::Services::FeedItemOperation.new
|
2586
|
+
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
2587
|
+
op["update"] = res
|
2588
|
+
op
|
2589
|
+
end
|
2590
|
+
|
2591
|
+
# A convenience method for creating an FeedOperation instance with
|
2592
|
+
# its "update" field prepopulated with an Feed instance, and
|
2593
|
+
# its "update_mask" field populated as needed to send the updates to the API.
|
2594
|
+
#
|
2595
|
+
# @overload #feed(path, &blk)
|
2596
|
+
# @param path [String] a resource path for the resource to update
|
2597
|
+
# @yield [Google::Ads::GoogleAds::V1::Resources::Feed] a new instance of the resource for this update operation, on
|
2598
|
+
# which fields can be set to update
|
2599
|
+
#
|
2600
|
+
# @overload #feed(resource, &blk)
|
2601
|
+
# @param resource [Google::Ads::GoogleAds::V1::Resources::Feed] a resource instance to update
|
2602
|
+
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2603
|
+
# @return [Google::Ads::GoogleAds::V1::Services::FeedOperation] the operation instance to update the resource
|
2604
|
+
def self.feed(resource_or_path, &blk)
|
2605
|
+
require "google/ads/google_ads/v1/services/feed_service_pb.rb"
|
2606
|
+
res = case resource_or_path
|
2607
|
+
when Google::Ads::GoogleAds::V1::Resources::Feed
|
2608
|
+
resource_or_path
|
2609
|
+
# got a resource path
|
2610
|
+
when String
|
2611
|
+
obj = Google::Ads::GoogleAds::V1::Resources::Feed.new
|
2612
|
+
obj.resource_name = resource_or_path
|
2613
|
+
obj
|
2614
|
+
else
|
2615
|
+
unless Google::Ads::GoogleAds::V1::Resources::Feed === res
|
2616
|
+
raise ArgumentError.new(
|
2617
|
+
"Called #{__method__} with instance of wrong type:"\
|
2618
|
+
" #{res.class} want #{operation.update_class}"\
|
2619
|
+
" or String representing resource name"
|
2620
|
+
)
|
2621
|
+
end
|
2622
|
+
end
|
2623
|
+
|
2624
|
+
op = Google::Ads::GoogleAds::V1::Services::FeedOperation.new
|
2625
|
+
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
2626
|
+
op["update"] = res
|
2627
|
+
op
|
2628
|
+
end
|
2629
|
+
|
2630
|
+
# A convenience method for creating an RemarketingActionOperation instance with
|
2631
|
+
# its "update" field prepopulated with an RemarketingAction instance, and
|
2632
|
+
# its "update_mask" field populated as needed to send the updates to the API.
|
2633
|
+
#
|
2634
|
+
# @overload #remarketing_action(path, &blk)
|
2635
|
+
# @param path [String] a resource path for the resource to update
|
2636
|
+
# @yield [Google::Ads::GoogleAds::V1::Resources::RemarketingAction] a new instance of the resource for this update operation, on
|
2637
|
+
# which fields can be set to update
|
2638
|
+
#
|
2639
|
+
# @overload #remarketing_action(resource, &blk)
|
2640
|
+
# @param resource [Google::Ads::GoogleAds::V1::Resources::RemarketingAction] a resource instance to update
|
2641
|
+
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2642
|
+
# @return [Google::Ads::GoogleAds::V1::Services::RemarketingActionOperation] the operation instance to update the resource
|
2643
|
+
def self.remarketing_action(resource_or_path, &blk)
|
2644
|
+
require "google/ads/google_ads/v1/services/remarketing_action_service_pb.rb"
|
2645
|
+
res = case resource_or_path
|
2646
|
+
when Google::Ads::GoogleAds::V1::Resources::RemarketingAction
|
2647
|
+
resource_or_path
|
2648
|
+
# got a resource path
|
2649
|
+
when String
|
2650
|
+
obj = Google::Ads::GoogleAds::V1::Resources::RemarketingAction.new
|
2651
|
+
obj.resource_name = resource_or_path
|
2652
|
+
obj
|
2653
|
+
else
|
2654
|
+
unless Google::Ads::GoogleAds::V1::Resources::RemarketingAction === res
|
2655
|
+
raise ArgumentError.new(
|
2656
|
+
"Called #{__method__} with instance of wrong type:"\
|
2657
|
+
" #{res.class} want #{operation.update_class}"\
|
2658
|
+
" or String representing resource name"
|
2659
|
+
)
|
2660
|
+
end
|
2661
|
+
end
|
2662
|
+
|
2663
|
+
op = Google::Ads::GoogleAds::V1::Services::RemarketingActionOperation.new
|
2664
|
+
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
2665
|
+
op["update"] = res
|
2666
|
+
op
|
2667
|
+
end
|
2668
|
+
|
2669
|
+
# A convenience method for creating an UserListOperation instance with
|
2670
|
+
# its "update" field prepopulated with an UserList instance, and
|
2671
|
+
# its "update_mask" field populated as needed to send the updates to the API.
|
2672
|
+
#
|
2673
|
+
# @overload #user_list(path, &blk)
|
2674
|
+
# @param path [String] a resource path for the resource to update
|
2675
|
+
# @yield [Google::Ads::GoogleAds::V1::Resources::UserList] a new instance of the resource for this update operation, on
|
2676
|
+
# which fields can be set to update
|
2677
|
+
#
|
2678
|
+
# @overload #user_list(resource, &blk)
|
2679
|
+
# @param resource [Google::Ads::GoogleAds::V1::Resources::UserList] a resource instance to update
|
2680
|
+
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2681
|
+
# @return [Google::Ads::GoogleAds::V1::Services::UserListOperation] the operation instance to update the resource
|
2682
|
+
def self.user_list(resource_or_path, &blk)
|
2683
|
+
require "google/ads/google_ads/v1/services/user_list_service_pb.rb"
|
2684
|
+
res = case resource_or_path
|
2685
|
+
when Google::Ads::GoogleAds::V1::Resources::UserList
|
2686
|
+
resource_or_path
|
2687
|
+
# got a resource path
|
2688
|
+
when String
|
2689
|
+
obj = Google::Ads::GoogleAds::V1::Resources::UserList.new
|
2690
|
+
obj.resource_name = resource_or_path
|
2691
|
+
obj
|
2692
|
+
else
|
2693
|
+
unless Google::Ads::GoogleAds::V1::Resources::UserList === res
|
2655
2694
|
raise ArgumentError.new(
|
2656
2695
|
"Called #{__method__} with instance of wrong type:"\
|
2657
2696
|
" #{res.class} want #{operation.update_class}"\
|
@@ -2660,37 +2699,37 @@ module Google
|
|
2660
2699
|
end
|
2661
2700
|
end
|
2662
2701
|
|
2663
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
2702
|
+
op = Google::Ads::GoogleAds::V1::Services::UserListOperation.new
|
2664
2703
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
2665
2704
|
op["update"] = res
|
2666
2705
|
op
|
2667
2706
|
end
|
2668
2707
|
|
2669
|
-
# A convenience method for creating an
|
2670
|
-
# its "update" field prepopulated with an
|
2708
|
+
# A convenience method for creating an CustomerClientLinkOperation instance with
|
2709
|
+
# its "update" field prepopulated with an CustomerClientLink instance, and
|
2671
2710
|
# its "update_mask" field populated as needed to send the updates to the API.
|
2672
2711
|
#
|
2673
|
-
# @overload #
|
2712
|
+
# @overload #customer_client_link(path, &blk)
|
2674
2713
|
# @param path [String] a resource path for the resource to update
|
2675
|
-
# @yield [Google::Ads::GoogleAds::V1::Resources::
|
2714
|
+
# @yield [Google::Ads::GoogleAds::V1::Resources::CustomerClientLink] a new instance of the resource for this update operation, on
|
2676
2715
|
# which fields can be set to update
|
2677
2716
|
#
|
2678
|
-
# @overload #
|
2679
|
-
# @param resource [Google::Ads::GoogleAds::V1::Resources::
|
2717
|
+
# @overload #customer_client_link(resource, &blk)
|
2718
|
+
# @param resource [Google::Ads::GoogleAds::V1::Resources::CustomerClientLink] a resource instance to update
|
2680
2719
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2681
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
2682
|
-
def self.
|
2683
|
-
require "google/ads/google_ads/v1/services/
|
2720
|
+
# @return [Google::Ads::GoogleAds::V1::Services::CustomerClientLinkOperation] the operation instance to update the resource
|
2721
|
+
def self.customer_client_link(resource_or_path, &blk)
|
2722
|
+
require "google/ads/google_ads/v1/services/customer_client_link_service_pb.rb"
|
2684
2723
|
res = case resource_or_path
|
2685
|
-
when Google::Ads::GoogleAds::V1::Resources::
|
2724
|
+
when Google::Ads::GoogleAds::V1::Resources::CustomerClientLink
|
2686
2725
|
resource_or_path
|
2687
2726
|
# got a resource path
|
2688
2727
|
when String
|
2689
|
-
obj = Google::Ads::GoogleAds::V1::Resources::
|
2728
|
+
obj = Google::Ads::GoogleAds::V1::Resources::CustomerClientLink.new
|
2690
2729
|
obj.resource_name = resource_or_path
|
2691
2730
|
obj
|
2692
2731
|
else
|
2693
|
-
unless Google::Ads::GoogleAds::V1::Resources::
|
2732
|
+
unless Google::Ads::GoogleAds::V1::Resources::CustomerClientLink === res
|
2694
2733
|
raise ArgumentError.new(
|
2695
2734
|
"Called #{__method__} with instance of wrong type:"\
|
2696
2735
|
" #{res.class} want #{operation.update_class}"\
|
@@ -2699,37 +2738,37 @@ module Google
|
|
2699
2738
|
end
|
2700
2739
|
end
|
2701
2740
|
|
2702
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
2741
|
+
op = Google::Ads::GoogleAds::V1::Services::CustomerClientLinkOperation.new
|
2703
2742
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
2704
2743
|
op["update"] = res
|
2705
2744
|
op
|
2706
2745
|
end
|
2707
2746
|
|
2708
|
-
# A convenience method for creating an
|
2709
|
-
# its "update" field prepopulated with an
|
2747
|
+
# A convenience method for creating an KeywordPlanAdGroupOperation instance with
|
2748
|
+
# its "update" field prepopulated with an KeywordPlanAdGroup instance, and
|
2710
2749
|
# its "update_mask" field populated as needed to send the updates to the API.
|
2711
2750
|
#
|
2712
|
-
# @overload #
|
2751
|
+
# @overload #keyword_plan_ad_group(path, &blk)
|
2713
2752
|
# @param path [String] a resource path for the resource to update
|
2714
|
-
# @yield [Google::Ads::GoogleAds::V1::Resources::
|
2753
|
+
# @yield [Google::Ads::GoogleAds::V1::Resources::KeywordPlanAdGroup] a new instance of the resource for this update operation, on
|
2715
2754
|
# which fields can be set to update
|
2716
2755
|
#
|
2717
|
-
# @overload #
|
2718
|
-
# @param resource [Google::Ads::GoogleAds::V1::Resources::
|
2756
|
+
# @overload #keyword_plan_ad_group(resource, &blk)
|
2757
|
+
# @param resource [Google::Ads::GoogleAds::V1::Resources::KeywordPlanAdGroup] a resource instance to update
|
2719
2758
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2720
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
2721
|
-
def self.
|
2722
|
-
require "google/ads/google_ads/v1/services/
|
2759
|
+
# @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanAdGroupOperation] the operation instance to update the resource
|
2760
|
+
def self.keyword_plan_ad_group(resource_or_path, &blk)
|
2761
|
+
require "google/ads/google_ads/v1/services/keyword_plan_ad_group_service_pb.rb"
|
2723
2762
|
res = case resource_or_path
|
2724
|
-
when Google::Ads::GoogleAds::V1::Resources::
|
2763
|
+
when Google::Ads::GoogleAds::V1::Resources::KeywordPlanAdGroup
|
2725
2764
|
resource_or_path
|
2726
2765
|
# got a resource path
|
2727
2766
|
when String
|
2728
|
-
obj = Google::Ads::GoogleAds::V1::Resources::
|
2767
|
+
obj = Google::Ads::GoogleAds::V1::Resources::KeywordPlanAdGroup.new
|
2729
2768
|
obj.resource_name = resource_or_path
|
2730
2769
|
obj
|
2731
2770
|
else
|
2732
|
-
unless Google::Ads::GoogleAds::V1::Resources::
|
2771
|
+
unless Google::Ads::GoogleAds::V1::Resources::KeywordPlanAdGroup === res
|
2733
2772
|
raise ArgumentError.new(
|
2734
2773
|
"Called #{__method__} with instance of wrong type:"\
|
2735
2774
|
" #{res.class} want #{operation.update_class}"\
|
@@ -2738,37 +2777,37 @@ module Google
|
|
2738
2777
|
end
|
2739
2778
|
end
|
2740
2779
|
|
2741
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
2780
|
+
op = Google::Ads::GoogleAds::V1::Services::KeywordPlanAdGroupOperation.new
|
2742
2781
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
2743
2782
|
op["update"] = res
|
2744
2783
|
op
|
2745
2784
|
end
|
2746
2785
|
|
2747
|
-
# A convenience method for creating an
|
2748
|
-
# its "update" field prepopulated with an
|
2786
|
+
# A convenience method for creating an KeywordPlanNegativeKeywordOperation instance with
|
2787
|
+
# its "update" field prepopulated with an KeywordPlanNegativeKeyword instance, and
|
2749
2788
|
# its "update_mask" field populated as needed to send the updates to the API.
|
2750
2789
|
#
|
2751
|
-
# @overload #
|
2790
|
+
# @overload #keyword_plan_negative_keyword(path, &blk)
|
2752
2791
|
# @param path [String] a resource path for the resource to update
|
2753
|
-
# @yield [Google::Ads::GoogleAds::V1::Resources::
|
2792
|
+
# @yield [Google::Ads::GoogleAds::V1::Resources::KeywordPlanNegativeKeyword] a new instance of the resource for this update operation, on
|
2754
2793
|
# which fields can be set to update
|
2755
2794
|
#
|
2756
|
-
# @overload #
|
2757
|
-
# @param resource [Google::Ads::GoogleAds::V1::Resources::
|
2795
|
+
# @overload #keyword_plan_negative_keyword(resource, &blk)
|
2796
|
+
# @param resource [Google::Ads::GoogleAds::V1::Resources::KeywordPlanNegativeKeyword] a resource instance to update
|
2758
2797
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2759
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
2760
|
-
def self.
|
2761
|
-
require "google/ads/google_ads/v1/services/
|
2798
|
+
# @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanNegativeKeywordOperation] the operation instance to update the resource
|
2799
|
+
def self.keyword_plan_negative_keyword(resource_or_path, &blk)
|
2800
|
+
require "google/ads/google_ads/v1/services/keyword_plan_negative_keyword_service_pb.rb"
|
2762
2801
|
res = case resource_or_path
|
2763
|
-
when Google::Ads::GoogleAds::V1::Resources::
|
2802
|
+
when Google::Ads::GoogleAds::V1::Resources::KeywordPlanNegativeKeyword
|
2764
2803
|
resource_or_path
|
2765
2804
|
# got a resource path
|
2766
2805
|
when String
|
2767
|
-
obj = Google::Ads::GoogleAds::V1::Resources::
|
2806
|
+
obj = Google::Ads::GoogleAds::V1::Resources::KeywordPlanNegativeKeyword.new
|
2768
2807
|
obj.resource_name = resource_or_path
|
2769
2808
|
obj
|
2770
2809
|
else
|
2771
|
-
unless Google::Ads::GoogleAds::V1::Resources::
|
2810
|
+
unless Google::Ads::GoogleAds::V1::Resources::KeywordPlanNegativeKeyword === res
|
2772
2811
|
raise ArgumentError.new(
|
2773
2812
|
"Called #{__method__} with instance of wrong type:"\
|
2774
2813
|
" #{res.class} want #{operation.update_class}"\
|
@@ -2777,37 +2816,37 @@ module Google
|
|
2777
2816
|
end
|
2778
2817
|
end
|
2779
2818
|
|
2780
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
2819
|
+
op = Google::Ads::GoogleAds::V1::Services::KeywordPlanNegativeKeywordOperation.new
|
2781
2820
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
2782
2821
|
op["update"] = res
|
2783
2822
|
op
|
2784
2823
|
end
|
2785
2824
|
|
2786
|
-
# A convenience method for creating an
|
2787
|
-
# its "update" field prepopulated with an
|
2825
|
+
# A convenience method for creating an KeywordPlanOperation instance with
|
2826
|
+
# its "update" field prepopulated with an KeywordPlan instance, and
|
2788
2827
|
# its "update_mask" field populated as needed to send the updates to the API.
|
2789
2828
|
#
|
2790
|
-
# @overload #
|
2829
|
+
# @overload #keyword_plan(path, &blk)
|
2791
2830
|
# @param path [String] a resource path for the resource to update
|
2792
|
-
# @yield [Google::Ads::GoogleAds::V1::Resources::
|
2831
|
+
# @yield [Google::Ads::GoogleAds::V1::Resources::KeywordPlan] a new instance of the resource for this update operation, on
|
2793
2832
|
# which fields can be set to update
|
2794
2833
|
#
|
2795
|
-
# @overload #
|
2796
|
-
# @param resource [Google::Ads::GoogleAds::V1::Resources::
|
2834
|
+
# @overload #keyword_plan(resource, &blk)
|
2835
|
+
# @param resource [Google::Ads::GoogleAds::V1::Resources::KeywordPlan] a resource instance to update
|
2797
2836
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2798
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
2799
|
-
def self.
|
2800
|
-
require "google/ads/google_ads/v1/services/
|
2837
|
+
# @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanOperation] the operation instance to update the resource
|
2838
|
+
def self.keyword_plan(resource_or_path, &blk)
|
2839
|
+
require "google/ads/google_ads/v1/services/keyword_plan_service_pb.rb"
|
2801
2840
|
res = case resource_or_path
|
2802
|
-
when Google::Ads::GoogleAds::V1::Resources::
|
2841
|
+
when Google::Ads::GoogleAds::V1::Resources::KeywordPlan
|
2803
2842
|
resource_or_path
|
2804
2843
|
# got a resource path
|
2805
2844
|
when String
|
2806
|
-
obj = Google::Ads::GoogleAds::V1::Resources::
|
2845
|
+
obj = Google::Ads::GoogleAds::V1::Resources::KeywordPlan.new
|
2807
2846
|
obj.resource_name = resource_or_path
|
2808
2847
|
obj
|
2809
2848
|
else
|
2810
|
-
unless Google::Ads::GoogleAds::V1::Resources::
|
2849
|
+
unless Google::Ads::GoogleAds::V1::Resources::KeywordPlan === res
|
2811
2850
|
raise ArgumentError.new(
|
2812
2851
|
"Called #{__method__} with instance of wrong type:"\
|
2813
2852
|
" #{res.class} want #{operation.update_class}"\
|
@@ -2816,7 +2855,7 @@ module Google
|
|
2816
2855
|
end
|
2817
2856
|
end
|
2818
2857
|
|
2819
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
2858
|
+
op = Google::Ads::GoogleAds::V1::Services::KeywordPlanOperation.new
|
2820
2859
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
2821
2860
|
op["update"] = res
|
2822
2861
|
op
|
@@ -2861,70 +2900,31 @@ module Google
|
|
2861
2900
|
op
|
2862
2901
|
end
|
2863
2902
|
|
2864
|
-
# A convenience method for creating an
|
2865
|
-
# its "update" field prepopulated with an
|
2866
|
-
# its "update_mask" field populated as needed to send the updates to the API.
|
2867
|
-
#
|
2868
|
-
# @overload #keyword_plan_ad_group(path, &blk)
|
2869
|
-
# @param path [String] a resource path for the resource to update
|
2870
|
-
# @yield [Google::Ads::GoogleAds::V1::Resources::KeywordPlanAdGroup] a new instance of the resource for this update operation, on
|
2871
|
-
# which fields can be set to update
|
2872
|
-
#
|
2873
|
-
# @overload #keyword_plan_ad_group(resource, &blk)
|
2874
|
-
# @param resource [Google::Ads::GoogleAds::V1::Resources::KeywordPlanAdGroup] a resource instance to update
|
2875
|
-
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2876
|
-
# @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanAdGroupOperation] the operation instance to update the resource
|
2877
|
-
def self.keyword_plan_ad_group(resource_or_path, &blk)
|
2878
|
-
require "google/ads/google_ads/v1/services/keyword_plan_ad_group_service_pb.rb"
|
2879
|
-
res = case resource_or_path
|
2880
|
-
when Google::Ads::GoogleAds::V1::Resources::KeywordPlanAdGroup
|
2881
|
-
resource_or_path
|
2882
|
-
# got a resource path
|
2883
|
-
when String
|
2884
|
-
obj = Google::Ads::GoogleAds::V1::Resources::KeywordPlanAdGroup.new
|
2885
|
-
obj.resource_name = resource_or_path
|
2886
|
-
obj
|
2887
|
-
else
|
2888
|
-
unless Google::Ads::GoogleAds::V1::Resources::KeywordPlanAdGroup === res
|
2889
|
-
raise ArgumentError.new(
|
2890
|
-
"Called #{__method__} with instance of wrong type:"\
|
2891
|
-
" #{res.class} want #{operation.update_class}"\
|
2892
|
-
" or String representing resource name"
|
2893
|
-
)
|
2894
|
-
end
|
2895
|
-
end
|
2896
|
-
|
2897
|
-
op = Google::Ads::GoogleAds::V1::Services::KeywordPlanAdGroupOperation.new
|
2898
|
-
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
2899
|
-
op["update"] = res
|
2900
|
-
op
|
2901
|
-
end
|
2902
|
-
|
2903
|
-
# A convenience method for creating an CustomInterestOperation instance with
|
2904
|
-
# its "update" field prepopulated with an CustomInterest instance, and
|
2903
|
+
# A convenience method for creating an KeywordPlanCampaignOperation instance with
|
2904
|
+
# its "update" field prepopulated with an KeywordPlanCampaign instance, and
|
2905
2905
|
# its "update_mask" field populated as needed to send the updates to the API.
|
2906
2906
|
#
|
2907
|
-
# @overload #
|
2907
|
+
# @overload #keyword_plan_campaign(path, &blk)
|
2908
2908
|
# @param path [String] a resource path for the resource to update
|
2909
|
-
# @yield [Google::Ads::GoogleAds::V1::Resources::
|
2909
|
+
# @yield [Google::Ads::GoogleAds::V1::Resources::KeywordPlanCampaign] a new instance of the resource for this update operation, on
|
2910
2910
|
# which fields can be set to update
|
2911
2911
|
#
|
2912
|
-
# @overload #
|
2913
|
-
# @param resource [Google::Ads::GoogleAds::V1::Resources::
|
2912
|
+
# @overload #keyword_plan_campaign(resource, &blk)
|
2913
|
+
# @param resource [Google::Ads::GoogleAds::V1::Resources::KeywordPlanCampaign] a resource instance to update
|
2914
2914
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2915
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
2916
|
-
def self.
|
2917
|
-
require "google/ads/google_ads/v1/services/
|
2915
|
+
# @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanCampaignOperation] the operation instance to update the resource
|
2916
|
+
def self.keyword_plan_campaign(resource_or_path, &blk)
|
2917
|
+
require "google/ads/google_ads/v1/services/keyword_plan_campaign_service_pb.rb"
|
2918
2918
|
res = case resource_or_path
|
2919
|
-
when Google::Ads::GoogleAds::V1::Resources::
|
2919
|
+
when Google::Ads::GoogleAds::V1::Resources::KeywordPlanCampaign
|
2920
2920
|
resource_or_path
|
2921
2921
|
# got a resource path
|
2922
2922
|
when String
|
2923
|
-
obj = Google::Ads::GoogleAds::V1::Resources::
|
2923
|
+
obj = Google::Ads::GoogleAds::V1::Resources::KeywordPlanCampaign.new
|
2924
2924
|
obj.resource_name = resource_or_path
|
2925
2925
|
obj
|
2926
2926
|
else
|
2927
|
-
unless Google::Ads::GoogleAds::V1::Resources::
|
2927
|
+
unless Google::Ads::GoogleAds::V1::Resources::KeywordPlanCampaign === res
|
2928
2928
|
raise ArgumentError.new(
|
2929
2929
|
"Called #{__method__} with instance of wrong type:"\
|
2930
2930
|
" #{res.class} want #{operation.update_class}"\
|
@@ -2933,37 +2933,37 @@ module Google
|
|
2933
2933
|
end
|
2934
2934
|
end
|
2935
2935
|
|
2936
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
2936
|
+
op = Google::Ads::GoogleAds::V1::Services::KeywordPlanCampaignOperation.new
|
2937
2937
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
2938
2938
|
op["update"] = res
|
2939
2939
|
op
|
2940
2940
|
end
|
2941
2941
|
|
2942
|
-
# A convenience method for creating an
|
2943
|
-
# its "update" field prepopulated with an
|
2942
|
+
# A convenience method for creating an CustomerManagerLinkOperation instance with
|
2943
|
+
# its "update" field prepopulated with an CustomerManagerLink instance, and
|
2944
2944
|
# its "update_mask" field populated as needed to send the updates to the API.
|
2945
2945
|
#
|
2946
|
-
# @overload #
|
2946
|
+
# @overload #customer_manager_link(path, &blk)
|
2947
2947
|
# @param path [String] a resource path for the resource to update
|
2948
|
-
# @yield [Google::Ads::GoogleAds::V1::Resources::
|
2948
|
+
# @yield [Google::Ads::GoogleAds::V1::Resources::CustomerManagerLink] a new instance of the resource for this update operation, on
|
2949
2949
|
# which fields can be set to update
|
2950
2950
|
#
|
2951
|
-
# @overload #
|
2952
|
-
# @param resource [Google::Ads::GoogleAds::V1::Resources::
|
2951
|
+
# @overload #customer_manager_link(resource, &blk)
|
2952
|
+
# @param resource [Google::Ads::GoogleAds::V1::Resources::CustomerManagerLink] a resource instance to update
|
2953
2953
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2954
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
2955
|
-
def self.
|
2956
|
-
require "google/ads/google_ads/v1/services/
|
2954
|
+
# @return [Google::Ads::GoogleAds::V1::Services::CustomerManagerLinkOperation] the operation instance to update the resource
|
2955
|
+
def self.customer_manager_link(resource_or_path, &blk)
|
2956
|
+
require "google/ads/google_ads/v1/services/customer_manager_link_service_pb.rb"
|
2957
2957
|
res = case resource_or_path
|
2958
|
-
when Google::Ads::GoogleAds::V1::Resources::
|
2958
|
+
when Google::Ads::GoogleAds::V1::Resources::CustomerManagerLink
|
2959
2959
|
resource_or_path
|
2960
2960
|
# got a resource path
|
2961
2961
|
when String
|
2962
|
-
obj = Google::Ads::GoogleAds::V1::Resources::
|
2962
|
+
obj = Google::Ads::GoogleAds::V1::Resources::CustomerManagerLink.new
|
2963
2963
|
obj.resource_name = resource_or_path
|
2964
2964
|
obj
|
2965
2965
|
else
|
2966
|
-
unless Google::Ads::GoogleAds::V1::Resources::
|
2966
|
+
unless Google::Ads::GoogleAds::V1::Resources::CustomerManagerLink === res
|
2967
2967
|
raise ArgumentError.new(
|
2968
2968
|
"Called #{__method__} with instance of wrong type:"\
|
2969
2969
|
" #{res.class} want #{operation.update_class}"\
|
@@ -2972,37 +2972,37 @@ module Google
|
|
2972
2972
|
end
|
2973
2973
|
end
|
2974
2974
|
|
2975
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
2975
|
+
op = Google::Ads::GoogleAds::V1::Services::CustomerManagerLinkOperation.new
|
2976
2976
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
2977
2977
|
op["update"] = res
|
2978
2978
|
op
|
2979
2979
|
end
|
2980
2980
|
|
2981
|
-
# A convenience method for creating an
|
2982
|
-
# its "update" field prepopulated with an
|
2981
|
+
# A convenience method for creating an MerchantCenterLinkOperation instance with
|
2982
|
+
# its "update" field prepopulated with an MerchantCenterLink instance, and
|
2983
2983
|
# its "update_mask" field populated as needed to send the updates to the API.
|
2984
2984
|
#
|
2985
|
-
# @overload #
|
2985
|
+
# @overload #merchant_center_link(path, &blk)
|
2986
2986
|
# @param path [String] a resource path for the resource to update
|
2987
|
-
# @yield [Google::Ads::GoogleAds::V1::Resources::
|
2987
|
+
# @yield [Google::Ads::GoogleAds::V1::Resources::MerchantCenterLink] a new instance of the resource for this update operation, on
|
2988
2988
|
# which fields can be set to update
|
2989
2989
|
#
|
2990
|
-
# @overload #
|
2991
|
-
# @param resource [Google::Ads::GoogleAds::V1::Resources::
|
2990
|
+
# @overload #merchant_center_link(resource, &blk)
|
2991
|
+
# @param resource [Google::Ads::GoogleAds::V1::Resources::MerchantCenterLink] a resource instance to update
|
2992
2992
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2993
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
2994
|
-
def self.
|
2995
|
-
require "google/ads/google_ads/v1/services/
|
2993
|
+
# @return [Google::Ads::GoogleAds::V1::Services::MerchantCenterLinkOperation] the operation instance to update the resource
|
2994
|
+
def self.merchant_center_link(resource_or_path, &blk)
|
2995
|
+
require "google/ads/google_ads/v1/services/merchant_center_link_service_pb.rb"
|
2996
2996
|
res = case resource_or_path
|
2997
|
-
when Google::Ads::GoogleAds::V1::Resources::
|
2997
|
+
when Google::Ads::GoogleAds::V1::Resources::MerchantCenterLink
|
2998
2998
|
resource_or_path
|
2999
2999
|
# got a resource path
|
3000
3000
|
when String
|
3001
|
-
obj = Google::Ads::GoogleAds::V1::Resources::
|
3001
|
+
obj = Google::Ads::GoogleAds::V1::Resources::MerchantCenterLink.new
|
3002
3002
|
obj.resource_name = resource_or_path
|
3003
3003
|
obj
|
3004
3004
|
else
|
3005
|
-
unless Google::Ads::GoogleAds::V1::Resources::
|
3005
|
+
unless Google::Ads::GoogleAds::V1::Resources::MerchantCenterLink === res
|
3006
3006
|
raise ArgumentError.new(
|
3007
3007
|
"Called #{__method__} with instance of wrong type:"\
|
3008
3008
|
" #{res.class} want #{operation.update_class}"\
|
@@ -3011,7 +3011,7 @@ module Google
|
|
3011
3011
|
end
|
3012
3012
|
end
|
3013
3013
|
|
3014
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
3014
|
+
op = Google::Ads::GoogleAds::V1::Services::MerchantCenterLinkOperation.new
|
3015
3015
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
3016
3016
|
op["update"] = res
|
3017
3017
|
op
|
@@ -3041,167 +3041,167 @@ module Google
|
|
3041
3041
|
op
|
3042
3042
|
end
|
3043
3043
|
|
3044
|
-
# A convenience method for creationg an
|
3044
|
+
# A convenience method for creationg an CustomInterestOperation instance with
|
3045
3045
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3046
3046
|
#
|
3047
3047
|
# @param path [String] the resource name of the resource to delete.
|
3048
|
-
def self.
|
3049
|
-
require "google/ads/google_ads/v1/services/
|
3050
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
3048
|
+
def self.custom_interest(path)
|
3049
|
+
require "google/ads/google_ads/v1/services/custom_interest_service_pb.rb"
|
3050
|
+
op = Google::Ads::GoogleAds::V1::Services::CustomInterestOperation.new
|
3051
3051
|
op["remove"] = path
|
3052
3052
|
op
|
3053
3053
|
end
|
3054
3054
|
|
3055
|
-
# A convenience method for creationg an
|
3055
|
+
# A convenience method for creationg an CustomerNegativeCriterionOperation instance with
|
3056
3056
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3057
3057
|
#
|
3058
3058
|
# @param path [String] the resource name of the resource to delete.
|
3059
|
-
def self.
|
3060
|
-
require "google/ads/google_ads/v1/services/
|
3061
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
3059
|
+
def self.customer_negative_criterion(path)
|
3060
|
+
require "google/ads/google_ads/v1/services/customer_negative_criterion_service_pb.rb"
|
3061
|
+
op = Google::Ads::GoogleAds::V1::Services::CustomerNegativeCriterionOperation.new
|
3062
3062
|
op["remove"] = path
|
3063
3063
|
op
|
3064
3064
|
end
|
3065
3065
|
|
3066
|
-
# A convenience method for creationg an
|
3066
|
+
# A convenience method for creationg an SharedCriterionOperation instance with
|
3067
3067
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3068
3068
|
#
|
3069
3069
|
# @param path [String] the resource name of the resource to delete.
|
3070
|
-
def self.
|
3071
|
-
require "google/ads/google_ads/v1/services/
|
3072
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
3070
|
+
def self.shared_criterion(path)
|
3071
|
+
require "google/ads/google_ads/v1/services/shared_criterion_service_pb.rb"
|
3072
|
+
op = Google::Ads::GoogleAds::V1::Services::SharedCriterionOperation.new
|
3073
3073
|
op["remove"] = path
|
3074
3074
|
op
|
3075
3075
|
end
|
3076
3076
|
|
3077
|
-
# A convenience method for creationg an
|
3077
|
+
# A convenience method for creationg an FeedMappingOperation instance with
|
3078
3078
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3079
3079
|
#
|
3080
3080
|
# @param path [String] the resource name of the resource to delete.
|
3081
|
-
def self.
|
3082
|
-
require "google/ads/google_ads/v1/services/
|
3083
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
3081
|
+
def self.feed_mapping(path)
|
3082
|
+
require "google/ads/google_ads/v1/services/feed_mapping_service_pb.rb"
|
3083
|
+
op = Google::Ads::GoogleAds::V1::Services::FeedMappingOperation.new
|
3084
3084
|
op["remove"] = path
|
3085
3085
|
op
|
3086
3086
|
end
|
3087
3087
|
|
3088
|
-
# A convenience method for creationg an
|
3088
|
+
# A convenience method for creationg an AdGroupOperation instance with
|
3089
3089
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3090
3090
|
#
|
3091
3091
|
# @param path [String] the resource name of the resource to delete.
|
3092
|
-
def self.
|
3093
|
-
require "google/ads/google_ads/v1/services/
|
3094
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
3092
|
+
def self.ad_group(path)
|
3093
|
+
require "google/ads/google_ads/v1/services/ad_group_service_pb.rb"
|
3094
|
+
op = Google::Ads::GoogleAds::V1::Services::AdGroupOperation.new
|
3095
3095
|
op["remove"] = path
|
3096
3096
|
op
|
3097
3097
|
end
|
3098
3098
|
|
3099
|
-
# A convenience method for creationg an
|
3099
|
+
# A convenience method for creationg an ExtensionFeedItemOperation instance with
|
3100
3100
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3101
3101
|
#
|
3102
3102
|
# @param path [String] the resource name of the resource to delete.
|
3103
|
-
def self.
|
3104
|
-
require "google/ads/google_ads/v1/services/
|
3105
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
3103
|
+
def self.extension_feed_item(path)
|
3104
|
+
require "google/ads/google_ads/v1/services/extension_feed_item_service_pb.rb"
|
3105
|
+
op = Google::Ads::GoogleAds::V1::Services::ExtensionFeedItemOperation.new
|
3106
3106
|
op["remove"] = path
|
3107
3107
|
op
|
3108
3108
|
end
|
3109
3109
|
|
3110
|
-
# A convenience method for creationg an
|
3110
|
+
# A convenience method for creationg an CampaignBidModifierOperation instance with
|
3111
3111
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3112
3112
|
#
|
3113
3113
|
# @param path [String] the resource name of the resource to delete.
|
3114
|
-
def self.
|
3115
|
-
require "google/ads/google_ads/v1/services/
|
3116
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
3114
|
+
def self.campaign_bid_modifier(path)
|
3115
|
+
require "google/ads/google_ads/v1/services/campaign_bid_modifier_service_pb.rb"
|
3116
|
+
op = Google::Ads::GoogleAds::V1::Services::CampaignBidModifierOperation.new
|
3117
3117
|
op["remove"] = path
|
3118
3118
|
op
|
3119
3119
|
end
|
3120
3120
|
|
3121
|
-
# A convenience method for creationg an
|
3121
|
+
# A convenience method for creationg an CampaignDraftOperation instance with
|
3122
3122
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3123
3123
|
#
|
3124
3124
|
# @param path [String] the resource name of the resource to delete.
|
3125
|
-
def self.
|
3126
|
-
require "google/ads/google_ads/v1/services/
|
3127
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
3125
|
+
def self.campaign_draft(path)
|
3126
|
+
require "google/ads/google_ads/v1/services/campaign_draft_service_pb.rb"
|
3127
|
+
op = Google::Ads::GoogleAds::V1::Services::CampaignDraftOperation.new
|
3128
3128
|
op["remove"] = path
|
3129
3129
|
op
|
3130
3130
|
end
|
3131
3131
|
|
3132
|
-
# A convenience method for creationg an
|
3132
|
+
# A convenience method for creationg an CustomerOperation instance with
|
3133
3133
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3134
3134
|
#
|
3135
3135
|
# @param path [String] the resource name of the resource to delete.
|
3136
|
-
def self.
|
3137
|
-
require "google/ads/google_ads/v1/services/
|
3138
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
3136
|
+
def self.customer(path)
|
3137
|
+
require "google/ads/google_ads/v1/services/customer_service_pb.rb"
|
3138
|
+
op = Google::Ads::GoogleAds::V1::Services::CustomerOperation.new
|
3139
3139
|
op["remove"] = path
|
3140
3140
|
op
|
3141
3141
|
end
|
3142
3142
|
|
3143
|
-
# A convenience method for creationg an
|
3143
|
+
# A convenience method for creationg an SharedSetOperation instance with
|
3144
3144
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3145
3145
|
#
|
3146
3146
|
# @param path [String] the resource name of the resource to delete.
|
3147
|
-
def self.
|
3148
|
-
require "google/ads/google_ads/v1/services/
|
3149
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
3147
|
+
def self.shared_set(path)
|
3148
|
+
require "google/ads/google_ads/v1/services/shared_set_service_pb.rb"
|
3149
|
+
op = Google::Ads::GoogleAds::V1::Services::SharedSetOperation.new
|
3150
3150
|
op["remove"] = path
|
3151
3151
|
op
|
3152
3152
|
end
|
3153
3153
|
|
3154
|
-
# A convenience method for creationg an
|
3154
|
+
# A convenience method for creationg an CampaignFeedOperation instance with
|
3155
3155
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3156
3156
|
#
|
3157
3157
|
# @param path [String] the resource name of the resource to delete.
|
3158
|
-
def self.
|
3159
|
-
require "google/ads/google_ads/v1/services/
|
3160
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
3158
|
+
def self.campaign_feed(path)
|
3159
|
+
require "google/ads/google_ads/v1/services/campaign_feed_service_pb.rb"
|
3160
|
+
op = Google::Ads::GoogleAds::V1::Services::CampaignFeedOperation.new
|
3161
3161
|
op["remove"] = path
|
3162
3162
|
op
|
3163
3163
|
end
|
3164
3164
|
|
3165
|
-
# A convenience method for creationg an
|
3165
|
+
# A convenience method for creationg an LabelOperation instance with
|
3166
3166
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3167
3167
|
#
|
3168
3168
|
# @param path [String] the resource name of the resource to delete.
|
3169
|
-
def self.
|
3170
|
-
require "google/ads/google_ads/v1/services/
|
3171
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
3169
|
+
def self.label(path)
|
3170
|
+
require "google/ads/google_ads/v1/services/label_service_pb.rb"
|
3171
|
+
op = Google::Ads::GoogleAds::V1::Services::LabelOperation.new
|
3172
3172
|
op["remove"] = path
|
3173
3173
|
op
|
3174
3174
|
end
|
3175
3175
|
|
3176
|
-
# A convenience method for creationg an
|
3176
|
+
# A convenience method for creationg an AdGroupAdLabelOperation instance with
|
3177
3177
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3178
3178
|
#
|
3179
3179
|
# @param path [String] the resource name of the resource to delete.
|
3180
|
-
def self.
|
3181
|
-
require "google/ads/google_ads/v1/services/
|
3182
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
3180
|
+
def self.ad_group_ad_label(path)
|
3181
|
+
require "google/ads/google_ads/v1/services/ad_group_ad_label_service_pb.rb"
|
3182
|
+
op = Google::Ads::GoogleAds::V1::Services::AdGroupAdLabelOperation.new
|
3183
3183
|
op["remove"] = path
|
3184
3184
|
op
|
3185
3185
|
end
|
3186
3186
|
|
3187
|
-
# A convenience method for creationg an
|
3187
|
+
# A convenience method for creationg an AdGroupAdOperation instance with
|
3188
3188
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3189
3189
|
#
|
3190
3190
|
# @param path [String] the resource name of the resource to delete.
|
3191
|
-
def self.
|
3192
|
-
require "google/ads/google_ads/v1/services/
|
3193
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
3191
|
+
def self.ad_group_ad(path)
|
3192
|
+
require "google/ads/google_ads/v1/services/ad_group_ad_service_pb.rb"
|
3193
|
+
op = Google::Ads::GoogleAds::V1::Services::AdGroupAdOperation.new
|
3194
3194
|
op["remove"] = path
|
3195
3195
|
op
|
3196
3196
|
end
|
3197
3197
|
|
3198
|
-
# A convenience method for creationg an
|
3198
|
+
# A convenience method for creationg an AdGroupBidModifierOperation instance with
|
3199
3199
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3200
3200
|
#
|
3201
3201
|
# @param path [String] the resource name of the resource to delete.
|
3202
|
-
def self.
|
3203
|
-
require "google/ads/google_ads/v1/services/
|
3204
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
3202
|
+
def self.ad_group_bid_modifier(path)
|
3203
|
+
require "google/ads/google_ads/v1/services/ad_group_bid_modifier_service_pb.rb"
|
3204
|
+
op = Google::Ads::GoogleAds::V1::Services::AdGroupBidModifierOperation.new
|
3205
3205
|
op["remove"] = path
|
3206
3206
|
op
|
3207
3207
|
end
|
@@ -3239,13 +3239,13 @@ module Google
|
|
3239
3239
|
op
|
3240
3240
|
end
|
3241
3241
|
|
3242
|
-
# A convenience method for creationg an
|
3242
|
+
# A convenience method for creationg an AdGroupLabelOperation instance with
|
3243
3243
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3244
3244
|
#
|
3245
3245
|
# @param path [String] the resource name of the resource to delete.
|
3246
|
-
def self.
|
3247
|
-
require "google/ads/google_ads/v1/services/
|
3248
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
3246
|
+
def self.ad_group_label(path)
|
3247
|
+
require "google/ads/google_ads/v1/services/ad_group_label_service_pb.rb"
|
3248
|
+
op = Google::Ads::GoogleAds::V1::Services::AdGroupLabelOperation.new
|
3249
3249
|
op["remove"] = path
|
3250
3250
|
op
|
3251
3251
|
end
|
@@ -3283,17 +3283,6 @@ module Google
|
|
3283
3283
|
op
|
3284
3284
|
end
|
3285
3285
|
|
3286
|
-
# A convenience method for creationg an CampaignBidModifierOperation instance with
|
3287
|
-
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3288
|
-
#
|
3289
|
-
# @param path [String] the resource name of the resource to delete.
|
3290
|
-
def self.campaign_bid_modifier(path)
|
3291
|
-
require "google/ads/google_ads/v1/services/campaign_bid_modifier_service_pb.rb"
|
3292
|
-
op = Google::Ads::GoogleAds::V1::Services::CampaignBidModifierOperation.new
|
3293
|
-
op["remove"] = path
|
3294
|
-
op
|
3295
|
-
end
|
3296
|
-
|
3297
3286
|
# A convenience method for creationg an CampaignBudgetOperation instance with
|
3298
3287
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3299
3288
|
#
|
@@ -3316,17 +3305,6 @@ module Google
|
|
3316
3305
|
op
|
3317
3306
|
end
|
3318
3307
|
|
3319
|
-
# A convenience method for creationg an CampaignDraftOperation instance with
|
3320
|
-
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3321
|
-
#
|
3322
|
-
# @param path [String] the resource name of the resource to delete.
|
3323
|
-
def self.campaign_draft(path)
|
3324
|
-
require "google/ads/google_ads/v1/services/campaign_draft_service_pb.rb"
|
3325
|
-
op = Google::Ads::GoogleAds::V1::Services::CampaignDraftOperation.new
|
3326
|
-
op["remove"] = path
|
3327
|
-
op
|
3328
|
-
end
|
3329
|
-
|
3330
3308
|
# A convenience method for creationg an CampaignExperimentOperation instance with
|
3331
3309
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3332
3310
|
#
|
@@ -3371,6 +3349,17 @@ module Google
|
|
3371
3349
|
op
|
3372
3350
|
end
|
3373
3351
|
|
3352
|
+
# A convenience method for creationg an CampaignSharedSetOperation instance with
|
3353
|
+
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3354
|
+
#
|
3355
|
+
# @param path [String] the resource name of the resource to delete.
|
3356
|
+
def self.campaign_shared_set(path)
|
3357
|
+
require "google/ads/google_ads/v1/services/campaign_shared_set_service_pb.rb"
|
3358
|
+
op = Google::Ads::GoogleAds::V1::Services::CampaignSharedSetOperation.new
|
3359
|
+
op["remove"] = path
|
3360
|
+
op
|
3361
|
+
end
|
3362
|
+
|
3374
3363
|
# A convenience method for creationg an ConversionActionOperation instance with
|
3375
3364
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3376
3365
|
#
|
@@ -3404,35 +3393,13 @@ module Google
|
|
3404
3393
|
op
|
3405
3394
|
end
|
3406
3395
|
|
3407
|
-
# A convenience method for creationg an
|
3408
|
-
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3409
|
-
#
|
3410
|
-
# @param path [String] the resource name of the resource to delete.
|
3411
|
-
def self.customer_negative_criterion(path)
|
3412
|
-
require "google/ads/google_ads/v1/services/customer_negative_criterion_service_pb.rb"
|
3413
|
-
op = Google::Ads::GoogleAds::V1::Services::CustomerNegativeCriterionOperation.new
|
3414
|
-
op["remove"] = path
|
3415
|
-
op
|
3416
|
-
end
|
3417
|
-
|
3418
|
-
# A convenience method for creationg an CustomerOperation instance with
|
3419
|
-
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3420
|
-
#
|
3421
|
-
# @param path [String] the resource name of the resource to delete.
|
3422
|
-
def self.customer(path)
|
3423
|
-
require "google/ads/google_ads/v1/services/customer_service_pb.rb"
|
3424
|
-
op = Google::Ads::GoogleAds::V1::Services::CustomerOperation.new
|
3425
|
-
op["remove"] = path
|
3426
|
-
op
|
3427
|
-
end
|
3428
|
-
|
3429
|
-
# A convenience method for creationg an ExtensionFeedItemOperation instance with
|
3396
|
+
# A convenience method for creationg an CustomerLabelOperation instance with
|
3430
3397
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3431
3398
|
#
|
3432
3399
|
# @param path [String] the resource name of the resource to delete.
|
3433
|
-
def self.
|
3434
|
-
require "google/ads/google_ads/v1/services/
|
3435
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
3400
|
+
def self.customer_label(path)
|
3401
|
+
require "google/ads/google_ads/v1/services/customer_label_service_pb.rb"
|
3402
|
+
op = Google::Ads::GoogleAds::V1::Services::CustomerLabelOperation.new
|
3436
3403
|
op["remove"] = path
|
3437
3404
|
op
|
3438
3405
|
end
|
@@ -3459,35 +3426,35 @@ module Google
|
|
3459
3426
|
op
|
3460
3427
|
end
|
3461
3428
|
|
3462
|
-
# A convenience method for creationg an
|
3429
|
+
# A convenience method for creationg an FeedOperation instance with
|
3463
3430
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3464
3431
|
#
|
3465
3432
|
# @param path [String] the resource name of the resource to delete.
|
3466
|
-
def self.
|
3467
|
-
require "google/ads/google_ads/v1/services/
|
3468
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
3433
|
+
def self.feed(path)
|
3434
|
+
require "google/ads/google_ads/v1/services/feed_service_pb.rb"
|
3435
|
+
op = Google::Ads::GoogleAds::V1::Services::FeedOperation.new
|
3469
3436
|
op["remove"] = path
|
3470
3437
|
op
|
3471
3438
|
end
|
3472
3439
|
|
3473
|
-
# A convenience method for creationg an
|
3440
|
+
# A convenience method for creationg an MediaFileOperation instance with
|
3474
3441
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3475
3442
|
#
|
3476
3443
|
# @param path [String] the resource name of the resource to delete.
|
3477
|
-
def self.
|
3478
|
-
require "google/ads/google_ads/v1/services/
|
3479
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
3444
|
+
def self.media_file(path)
|
3445
|
+
require "google/ads/google_ads/v1/services/media_file_service_pb.rb"
|
3446
|
+
op = Google::Ads::GoogleAds::V1::Services::MediaFileOperation.new
|
3480
3447
|
op["remove"] = path
|
3481
3448
|
op
|
3482
3449
|
end
|
3483
3450
|
|
3484
|
-
# A convenience method for creationg an
|
3451
|
+
# A convenience method for creationg an RemarketingActionOperation instance with
|
3485
3452
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3486
3453
|
#
|
3487
3454
|
# @param path [String] the resource name of the resource to delete.
|
3488
|
-
def self.
|
3489
|
-
require "google/ads/google_ads/v1/services/
|
3490
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
3455
|
+
def self.remarketing_action(path)
|
3456
|
+
require "google/ads/google_ads/v1/services/remarketing_action_service_pb.rb"
|
3457
|
+
op = Google::Ads::GoogleAds::V1::Services::RemarketingActionOperation.new
|
3491
3458
|
op["remove"] = path
|
3492
3459
|
op
|
3493
3460
|
end
|
@@ -3514,13 +3481,13 @@ module Google
|
|
3514
3481
|
op
|
3515
3482
|
end
|
3516
3483
|
|
3517
|
-
# A convenience method for creationg an
|
3484
|
+
# A convenience method for creationg an CustomerClientLinkOperation instance with
|
3518
3485
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3519
3486
|
#
|
3520
3487
|
# @param path [String] the resource name of the resource to delete.
|
3521
|
-
def self.
|
3522
|
-
require "google/ads/google_ads/v1/services/
|
3523
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
3488
|
+
def self.customer_client_link(path)
|
3489
|
+
require "google/ads/google_ads/v1/services/customer_client_link_service_pb.rb"
|
3490
|
+
op = Google::Ads::GoogleAds::V1::Services::CustomerClientLinkOperation.new
|
3524
3491
|
op["remove"] = path
|
3525
3492
|
op
|
3526
3493
|
end
|
@@ -3536,46 +3503,46 @@ module Google
|
|
3536
3503
|
op
|
3537
3504
|
end
|
3538
3505
|
|
3539
|
-
# A convenience method for creationg an
|
3506
|
+
# A convenience method for creationg an KeywordPlanNegativeKeywordOperation instance with
|
3540
3507
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3541
3508
|
#
|
3542
3509
|
# @param path [String] the resource name of the resource to delete.
|
3543
|
-
def self.
|
3544
|
-
require "google/ads/google_ads/v1/services/
|
3545
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
3510
|
+
def self.keyword_plan_negative_keyword(path)
|
3511
|
+
require "google/ads/google_ads/v1/services/keyword_plan_negative_keyword_service_pb.rb"
|
3512
|
+
op = Google::Ads::GoogleAds::V1::Services::KeywordPlanNegativeKeywordOperation.new
|
3546
3513
|
op["remove"] = path
|
3547
3514
|
op
|
3548
3515
|
end
|
3549
3516
|
|
3550
|
-
# A convenience method for creationg an
|
3517
|
+
# A convenience method for creationg an KeywordPlanOperation instance with
|
3551
3518
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3552
3519
|
#
|
3553
3520
|
# @param path [String] the resource name of the resource to delete.
|
3554
|
-
def self.
|
3555
|
-
require "google/ads/google_ads/v1/services/
|
3556
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
3521
|
+
def self.keyword_plan(path)
|
3522
|
+
require "google/ads/google_ads/v1/services/keyword_plan_service_pb.rb"
|
3523
|
+
op = Google::Ads::GoogleAds::V1::Services::KeywordPlanOperation.new
|
3557
3524
|
op["remove"] = path
|
3558
3525
|
op
|
3559
3526
|
end
|
3560
3527
|
|
3561
|
-
# A convenience method for creationg an
|
3528
|
+
# A convenience method for creationg an KeywordPlanKeywordOperation instance with
|
3562
3529
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3563
3530
|
#
|
3564
3531
|
# @param path [String] the resource name of the resource to delete.
|
3565
|
-
def self.
|
3566
|
-
require "google/ads/google_ads/v1/services/
|
3567
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
3532
|
+
def self.keyword_plan_keyword(path)
|
3533
|
+
require "google/ads/google_ads/v1/services/keyword_plan_keyword_service_pb.rb"
|
3534
|
+
op = Google::Ads::GoogleAds::V1::Services::KeywordPlanKeywordOperation.new
|
3568
3535
|
op["remove"] = path
|
3569
3536
|
op
|
3570
3537
|
end
|
3571
3538
|
|
3572
|
-
# A convenience method for creationg an
|
3539
|
+
# A convenience method for creationg an KeywordPlanCampaignOperation instance with
|
3573
3540
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3574
3541
|
#
|
3575
3542
|
# @param path [String] the resource name of the resource to delete.
|
3576
|
-
def self.
|
3577
|
-
require "google/ads/google_ads/v1/services/
|
3578
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
3543
|
+
def self.keyword_plan_campaign(path)
|
3544
|
+
require "google/ads/google_ads/v1/services/keyword_plan_campaign_service_pb.rb"
|
3545
|
+
op = Google::Ads::GoogleAds::V1::Services::KeywordPlanCampaignOperation.new
|
3579
3546
|
op["remove"] = path
|
3580
3547
|
op
|
3581
3548
|
end
|
@@ -3612,6 +3579,39 @@ module Google
|
|
3612
3579
|
op["remove"] = path
|
3613
3580
|
op
|
3614
3581
|
end
|
3582
|
+
|
3583
|
+
# A convenience method for creationg an CustomerManagerLinkOperation instance with
|
3584
|
+
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3585
|
+
#
|
3586
|
+
# @param path [String] the resource name of the resource to delete.
|
3587
|
+
def self.customer_manager_link(path)
|
3588
|
+
require "google/ads/google_ads/v1/services/customer_manager_link_service_pb.rb"
|
3589
|
+
op = Google::Ads::GoogleAds::V1::Services::CustomerManagerLinkOperation.new
|
3590
|
+
op["remove"] = path
|
3591
|
+
op
|
3592
|
+
end
|
3593
|
+
|
3594
|
+
# A convenience method for creationg an BillingSetupOperation instance with
|
3595
|
+
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3596
|
+
#
|
3597
|
+
# @param path [String] the resource name of the resource to delete.
|
3598
|
+
def self.billing_setup(path)
|
3599
|
+
require "google/ads/google_ads/v1/services/billing_setup_service_pb.rb"
|
3600
|
+
op = Google::Ads::GoogleAds::V1::Services::BillingSetupOperation.new
|
3601
|
+
op["remove"] = path
|
3602
|
+
op
|
3603
|
+
end
|
3604
|
+
|
3605
|
+
# A convenience method for creationg an MerchantCenterLinkOperation instance with
|
3606
|
+
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3607
|
+
#
|
3608
|
+
# @param path [String] the resource name of the resource to delete.
|
3609
|
+
def self.merchant_center_link(path)
|
3610
|
+
require "google/ads/google_ads/v1/services/merchant_center_link_service_pb.rb"
|
3611
|
+
op = Google::Ads::GoogleAds::V1::Services::MerchantCenterLinkOperation.new
|
3612
|
+
op["remove"] = path
|
3613
|
+
op
|
3614
|
+
end
|
3615
3615
|
end
|
3616
3616
|
end
|
3617
3617
|
end
|