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::V2::Services::AdGroupCriterionLabelOperation.new
|
21
21
|
end
|
22
22
|
|
23
|
-
# Create a new
|
23
|
+
# Create a new CustomInterestOperation
|
24
24
|
#
|
25
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
26
|
-
def self.
|
27
|
-
require "google/ads/google_ads/v2/services/
|
28
|
-
Google::Ads::GoogleAds::V2::Services::
|
25
|
+
# @return [Google::Ads::GoogleAds::V2::Services::CustomInterestOperation] the operation
|
26
|
+
def self.custom_interest
|
27
|
+
require "google/ads/google_ads/v2/services/custom_interest_service_pb.rb"
|
28
|
+
Google::Ads::GoogleAds::V2::Services::CustomInterestOperation.new
|
29
29
|
end
|
30
30
|
|
31
|
-
# Create a new
|
31
|
+
# Create a new CustomerNegativeCriterionOperation
|
32
32
|
#
|
33
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
34
|
-
def self.
|
35
|
-
require "google/ads/google_ads/v2/services/
|
36
|
-
Google::Ads::GoogleAds::V2::Services::
|
33
|
+
# @return [Google::Ads::GoogleAds::V2::Services::CustomerNegativeCriterionOperation] the operation
|
34
|
+
def self.customer_negative_criterion
|
35
|
+
require "google/ads/google_ads/v2/services/customer_negative_criterion_service_pb.rb"
|
36
|
+
Google::Ads::GoogleAds::V2::Services::CustomerNegativeCriterionOperation.new
|
37
37
|
end
|
38
38
|
|
39
|
-
# Create a new
|
39
|
+
# Create a new SharedCriterionOperation
|
40
40
|
#
|
41
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
42
|
-
def self.
|
43
|
-
require "google/ads/google_ads/v2/services/
|
44
|
-
Google::Ads::GoogleAds::V2::Services::
|
41
|
+
# @return [Google::Ads::GoogleAds::V2::Services::SharedCriterionOperation] the operation
|
42
|
+
def self.shared_criterion
|
43
|
+
require "google/ads/google_ads/v2/services/shared_criterion_service_pb.rb"
|
44
|
+
Google::Ads::GoogleAds::V2::Services::SharedCriterionOperation.new
|
45
45
|
end
|
46
46
|
|
47
|
-
# Create a new
|
47
|
+
# Create a new FeedMappingOperation
|
48
48
|
#
|
49
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
50
|
-
def self.
|
51
|
-
require "google/ads/google_ads/v2/services/
|
52
|
-
Google::Ads::GoogleAds::V2::Services::
|
49
|
+
# @return [Google::Ads::GoogleAds::V2::Services::FeedMappingOperation] the operation
|
50
|
+
def self.feed_mapping
|
51
|
+
require "google/ads/google_ads/v2/services/feed_mapping_service_pb.rb"
|
52
|
+
Google::Ads::GoogleAds::V2::Services::FeedMappingOperation.new
|
53
53
|
end
|
54
54
|
|
55
|
-
# Create a new
|
55
|
+
# Create a new AdGroupOperation
|
56
56
|
#
|
57
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
58
|
-
def self.
|
59
|
-
require "google/ads/google_ads/v2/services/
|
60
|
-
Google::Ads::GoogleAds::V2::Services::
|
57
|
+
# @return [Google::Ads::GoogleAds::V2::Services::AdGroupOperation] the operation
|
58
|
+
def self.ad_group
|
59
|
+
require "google/ads/google_ads/v2/services/ad_group_service_pb.rb"
|
60
|
+
Google::Ads::GoogleAds::V2::Services::AdGroupOperation.new
|
61
61
|
end
|
62
62
|
|
63
|
-
# Create a new
|
63
|
+
# Create a new ExtensionFeedItemOperation
|
64
64
|
#
|
65
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
66
|
-
def self.
|
67
|
-
require "google/ads/google_ads/v2/services/
|
68
|
-
Google::Ads::GoogleAds::V2::Services::
|
65
|
+
# @return [Google::Ads::GoogleAds::V2::Services::ExtensionFeedItemOperation] the operation
|
66
|
+
def self.extension_feed_item
|
67
|
+
require "google/ads/google_ads/v2/services/extension_feed_item_service_pb.rb"
|
68
|
+
Google::Ads::GoogleAds::V2::Services::ExtensionFeedItemOperation.new
|
69
69
|
end
|
70
70
|
|
71
|
-
# Create a new
|
71
|
+
# Create a new CampaignBidModifierOperation
|
72
72
|
#
|
73
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
74
|
-
def self.
|
75
|
-
require "google/ads/google_ads/v2/services/
|
76
|
-
Google::Ads::GoogleAds::V2::Services::
|
73
|
+
# @return [Google::Ads::GoogleAds::V2::Services::CampaignBidModifierOperation] the operation
|
74
|
+
def self.campaign_bid_modifier
|
75
|
+
require "google/ads/google_ads/v2/services/campaign_bid_modifier_service_pb.rb"
|
76
|
+
Google::Ads::GoogleAds::V2::Services::CampaignBidModifierOperation.new
|
77
77
|
end
|
78
78
|
|
79
|
-
# Create a new
|
79
|
+
# Create a new CampaignDraftOperation
|
80
80
|
#
|
81
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
82
|
-
def self.
|
83
|
-
require "google/ads/google_ads/v2/services/
|
84
|
-
Google::Ads::GoogleAds::V2::Services::
|
81
|
+
# @return [Google::Ads::GoogleAds::V2::Services::CampaignDraftOperation] the operation
|
82
|
+
def self.campaign_draft
|
83
|
+
require "google/ads/google_ads/v2/services/campaign_draft_service_pb.rb"
|
84
|
+
Google::Ads::GoogleAds::V2::Services::CampaignDraftOperation.new
|
85
85
|
end
|
86
86
|
|
87
|
-
# Create a new
|
87
|
+
# Create a new CustomerOperation
|
88
88
|
#
|
89
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
90
|
-
def self.
|
91
|
-
require "google/ads/google_ads/v2/services/
|
92
|
-
Google::Ads::GoogleAds::V2::Services::
|
89
|
+
# @return [Google::Ads::GoogleAds::V2::Services::CustomerOperation] the operation
|
90
|
+
def self.customer
|
91
|
+
require "google/ads/google_ads/v2/services/customer_service_pb.rb"
|
92
|
+
Google::Ads::GoogleAds::V2::Services::CustomerOperation.new
|
93
|
+
end
|
94
|
+
|
95
|
+
# Create a new SharedSetOperation
|
96
|
+
#
|
97
|
+
# @return [Google::Ads::GoogleAds::V2::Services::SharedSetOperation] the operation
|
98
|
+
def self.shared_set
|
99
|
+
require "google/ads/google_ads/v2/services/shared_set_service_pb.rb"
|
100
|
+
Google::Ads::GoogleAds::V2::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::V2::Services::CampaignFeedOperation.new
|
101
109
|
end
|
102
110
|
|
103
|
-
# Create a new
|
104
|
-
#
|
105
|
-
# @return [Google::Ads::GoogleAds::V2::Services::SharedCriterionOperation] the operation
|
106
|
-
def self.shared_criterion
|
107
|
-
require "google/ads/google_ads/v2/services/shared_criterion_service_pb.rb"
|
108
|
-
Google::Ads::GoogleAds::V2::Services::SharedCriterionOperation.new
|
109
|
-
end
|
110
|
-
|
111
|
-
# Create a new RemarketingActionOperation
|
112
|
-
#
|
113
|
-
# @return [Google::Ads::GoogleAds::V2::Services::RemarketingActionOperation] the operation
|
114
|
-
def self.remarketing_action
|
115
|
-
require "google/ads/google_ads/v2/services/remarketing_action_service_pb.rb"
|
116
|
-
Google::Ads::GoogleAds::V2::Services::RemarketingActionOperation.new
|
117
|
-
end
|
118
|
-
|
119
|
-
# Create a new AdGroupLabelOperation
|
111
|
+
# Create a new LabelOperation
|
120
112
|
#
|
121
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
122
|
-
def self.
|
123
|
-
require "google/ads/google_ads/v2/services/
|
124
|
-
Google::Ads::GoogleAds::V2::Services::
|
113
|
+
# @return [Google::Ads::GoogleAds::V2::Services::LabelOperation] the operation
|
114
|
+
def self.label
|
115
|
+
require "google/ads/google_ads/v2/services/label_service_pb.rb"
|
116
|
+
Google::Ads::GoogleAds::V2::Services::LabelOperation.new
|
125
117
|
end
|
126
118
|
|
127
|
-
# Create a new
|
119
|
+
# Create a new AdGroupAdLabelOperation
|
128
120
|
#
|
129
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
130
|
-
def self.
|
131
|
-
require "google/ads/google_ads/v2/services/
|
132
|
-
Google::Ads::GoogleAds::V2::Services::
|
121
|
+
# @return [Google::Ads::GoogleAds::V2::Services::AdGroupAdLabelOperation] the operation
|
122
|
+
def self.ad_group_ad_label
|
123
|
+
require "google/ads/google_ads/v2/services/ad_group_ad_label_service_pb.rb"
|
124
|
+
Google::Ads::GoogleAds::V2::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::V2::Services::AdGroupAdOperation.new
|
141
133
|
end
|
142
134
|
|
135
|
+
# Create a new AdGroupBidModifierOperation
|
136
|
+
#
|
137
|
+
# @return [Google::Ads::GoogleAds::V2::Services::AdGroupBidModifierOperation] the operation
|
138
|
+
def self.ad_group_bid_modifier
|
139
|
+
require "google/ads/google_ads/v2/services/ad_group_bid_modifier_service_pb.rb"
|
140
|
+
Google::Ads::GoogleAds::V2::Services::AdGroupBidModifierOperation.new
|
141
|
+
end
|
142
|
+
|
143
143
|
# Create a new AdGroupCriterionOperation
|
144
144
|
#
|
145
145
|
# @return [Google::Ads::GoogleAds::V2::Services::AdGroupCriterionOperation] the operation
|
@@ -164,12 +164,12 @@ module Google
|
|
164
164
|
Google::Ads::GoogleAds::V2::Services::AdGroupFeedOperation.new
|
165
165
|
end
|
166
166
|
|
167
|
-
# Create a new
|
167
|
+
# Create a new AdGroupLabelOperation
|
168
168
|
#
|
169
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
170
|
-
def self.
|
171
|
-
require "google/ads/google_ads/v2/services/
|
172
|
-
Google::Ads::GoogleAds::V2::Services::
|
169
|
+
# @return [Google::Ads::GoogleAds::V2::Services::AdGroupLabelOperation] the operation
|
170
|
+
def self.ad_group_label
|
171
|
+
require "google/ads/google_ads/v2/services/ad_group_label_service_pb.rb"
|
172
|
+
Google::Ads::GoogleAds::V2::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::V2::Services::BiddingStrategyOperation.new
|
197
197
|
end
|
198
198
|
|
199
|
-
# Create a new CampaignBidModifierOperation
|
200
|
-
#
|
201
|
-
# @return [Google::Ads::GoogleAds::V2::Services::CampaignBidModifierOperation] the operation
|
202
|
-
def self.campaign_bid_modifier
|
203
|
-
require "google/ads/google_ads/v2/services/campaign_bid_modifier_service_pb.rb"
|
204
|
-
Google::Ads::GoogleAds::V2::Services::CampaignBidModifierOperation.new
|
205
|
-
end
|
206
|
-
|
207
199
|
# Create a new CampaignBudgetOperation
|
208
200
|
#
|
209
201
|
# @return [Google::Ads::GoogleAds::V2::Services::CampaignBudgetOperation] the operation
|
@@ -220,14 +212,6 @@ module Google
|
|
220
212
|
Google::Ads::GoogleAds::V2::Services::CampaignCriterionOperation.new
|
221
213
|
end
|
222
214
|
|
223
|
-
# Create a new CampaignDraftOperation
|
224
|
-
#
|
225
|
-
# @return [Google::Ads::GoogleAds::V2::Services::CampaignDraftOperation] the operation
|
226
|
-
def self.campaign_draft
|
227
|
-
require "google/ads/google_ads/v2/services/campaign_draft_service_pb.rb"
|
228
|
-
Google::Ads::GoogleAds::V2::Services::CampaignDraftOperation.new
|
229
|
-
end
|
230
|
-
|
231
215
|
# Create a new CampaignExperimentOperation
|
232
216
|
#
|
233
217
|
# @return [Google::Ads::GoogleAds::V2::Services::CampaignExperimentOperation] the operation
|
@@ -260,6 +244,14 @@ module Google
|
|
260
244
|
Google::Ads::GoogleAds::V2::Services::CampaignOperation.new
|
261
245
|
end
|
262
246
|
|
247
|
+
# Create a new CampaignSharedSetOperation
|
248
|
+
#
|
249
|
+
# @return [Google::Ads::GoogleAds::V2::Services::CampaignSharedSetOperation] the operation
|
250
|
+
def self.campaign_shared_set
|
251
|
+
require "google/ads/google_ads/v2/services/campaign_shared_set_service_pb.rb"
|
252
|
+
Google::Ads::GoogleAds::V2::Services::CampaignSharedSetOperation.new
|
253
|
+
end
|
254
|
+
|
263
255
|
# Create a new ConversionActionOperation
|
264
256
|
#
|
265
257
|
# @return [Google::Ads::GoogleAds::V2::Services::ConversionActionOperation] the operation
|
@@ -284,28 +276,12 @@ module Google
|
|
284
276
|
Google::Ads::GoogleAds::V2::Services::CustomerFeedOperation.new
|
285
277
|
end
|
286
278
|
|
287
|
-
# Create a new
|
288
|
-
#
|
289
|
-
# @return [Google::Ads::GoogleAds::V2::Services::CustomerNegativeCriterionOperation] the operation
|
290
|
-
def self.customer_negative_criterion
|
291
|
-
require "google/ads/google_ads/v2/services/customer_negative_criterion_service_pb.rb"
|
292
|
-
Google::Ads::GoogleAds::V2::Services::CustomerNegativeCriterionOperation.new
|
293
|
-
end
|
294
|
-
|
295
|
-
# Create a new CustomerOperation
|
296
|
-
#
|
297
|
-
# @return [Google::Ads::GoogleAds::V2::Services::CustomerOperation] the operation
|
298
|
-
def self.customer
|
299
|
-
require "google/ads/google_ads/v2/services/customer_service_pb.rb"
|
300
|
-
Google::Ads::GoogleAds::V2::Services::CustomerOperation.new
|
301
|
-
end
|
302
|
-
|
303
|
-
# Create a new ExtensionFeedItemOperation
|
279
|
+
# Create a new CustomerLabelOperation
|
304
280
|
#
|
305
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
306
|
-
def self.
|
307
|
-
require "google/ads/google_ads/v2/services/
|
308
|
-
Google::Ads::GoogleAds::V2::Services::
|
281
|
+
# @return [Google::Ads::GoogleAds::V2::Services::CustomerLabelOperation] the operation
|
282
|
+
def self.customer_label
|
283
|
+
require "google/ads/google_ads/v2/services/customer_label_service_pb.rb"
|
284
|
+
Google::Ads::GoogleAds::V2::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::V2::Services::FeedItemTargetOperation.new
|
325
301
|
end
|
326
302
|
|
327
|
-
# Create a new
|
328
|
-
#
|
329
|
-
# @return [Google::Ads::GoogleAds::V2::Services::FeedMappingOperation] the operation
|
330
|
-
def self.feed_mapping
|
331
|
-
require "google/ads/google_ads/v2/services/feed_mapping_service_pb.rb"
|
332
|
-
Google::Ads::GoogleAds::V2::Services::FeedMappingOperation.new
|
333
|
-
end
|
334
|
-
|
335
|
-
# Create a new LabelOperation
|
303
|
+
# Create a new FeedOperation
|
336
304
|
#
|
337
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
338
|
-
def self.
|
339
|
-
require "google/ads/google_ads/v2/services/
|
340
|
-
Google::Ads::GoogleAds::V2::Services::
|
305
|
+
# @return [Google::Ads::GoogleAds::V2::Services::FeedOperation] the operation
|
306
|
+
def self.feed
|
307
|
+
require "google/ads/google_ads/v2/services/feed_service_pb.rb"
|
308
|
+
Google::Ads::GoogleAds::V2::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::V2::Services::MediaFileOperation.new
|
349
317
|
end
|
350
318
|
|
319
|
+
# Create a new RemarketingActionOperation
|
320
|
+
#
|
321
|
+
# @return [Google::Ads::GoogleAds::V2::Services::RemarketingActionOperation] the operation
|
322
|
+
def self.remarketing_action
|
323
|
+
require "google/ads/google_ads/v2/services/remarketing_action_service_pb.rb"
|
324
|
+
Google::Ads::GoogleAds::V2::Services::RemarketingActionOperation.new
|
325
|
+
end
|
326
|
+
|
351
327
|
# Create a new UserListOperation
|
352
328
|
#
|
353
329
|
# @return [Google::Ads::GoogleAds::V2::Services::UserListOperation] the operation
|
@@ -364,12 +340,20 @@ module Google
|
|
364
340
|
Google::Ads::GoogleAds::V2::Services::MutateOperation.new
|
365
341
|
end
|
366
342
|
|
367
|
-
# Create a new
|
343
|
+
# Create a new CustomerClientLinkOperation
|
368
344
|
#
|
369
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
370
|
-
def self.
|
371
|
-
require "google/ads/google_ads/v2/services/
|
372
|
-
Google::Ads::GoogleAds::V2::Services::
|
345
|
+
# @return [Google::Ads::GoogleAds::V2::Services::CustomerClientLinkOperation] the operation
|
346
|
+
def self.customer_client_link
|
347
|
+
require "google/ads/google_ads/v2/services/customer_client_link_service_pb.rb"
|
348
|
+
Google::Ads::GoogleAds::V2::Services::CustomerClientLinkOperation.new
|
349
|
+
end
|
350
|
+
|
351
|
+
# Create a new AdOperation
|
352
|
+
#
|
353
|
+
# @return [Google::Ads::GoogleAds::V2::Services::AdOperation] the operation
|
354
|
+
def self.ad
|
355
|
+
require "google/ads/google_ads/v2/services/ad_service_pb.rb"
|
356
|
+
Google::Ads::GoogleAds::V2::Services::AdOperation.new
|
373
357
|
end
|
374
358
|
|
375
359
|
# Create a new KeywordPlanAdGroupOperation
|
@@ -380,22 +364,6 @@ module Google
|
|
380
364
|
Google::Ads::GoogleAds::V2::Services::KeywordPlanAdGroupOperation.new
|
381
365
|
end
|
382
366
|
|
383
|
-
# Create a new BillingSetupOperation
|
384
|
-
#
|
385
|
-
# @return [Google::Ads::GoogleAds::V2::Services::BillingSetupOperation] the operation
|
386
|
-
def self.billing_setup
|
387
|
-
require "google/ads/google_ads/v2/services/billing_setup_service_pb.rb"
|
388
|
-
Google::Ads::GoogleAds::V2::Services::BillingSetupOperation.new
|
389
|
-
end
|
390
|
-
|
391
|
-
# Create a new CustomInterestOperation
|
392
|
-
#
|
393
|
-
# @return [Google::Ads::GoogleAds::V2::Services::CustomInterestOperation] the operation
|
394
|
-
def self.custom_interest
|
395
|
-
require "google/ads/google_ads/v2/services/custom_interest_service_pb.rb"
|
396
|
-
Google::Ads::GoogleAds::V2::Services::CustomInterestOperation.new
|
397
|
-
end
|
398
|
-
|
399
367
|
# Create a new KeywordPlanNegativeKeywordOperation
|
400
368
|
#
|
401
369
|
# @return [Google::Ads::GoogleAds::V2::Services::KeywordPlanNegativeKeywordOperation] the operation
|
@@ -404,14 +372,6 @@ module Google
|
|
404
372
|
Google::Ads::GoogleAds::V2::Services::KeywordPlanNegativeKeywordOperation.new
|
405
373
|
end
|
406
374
|
|
407
|
-
# Create a new AdOperation
|
408
|
-
#
|
409
|
-
# @return [Google::Ads::GoogleAds::V2::Services::AdOperation] the operation
|
410
|
-
def self.ad
|
411
|
-
require "google/ads/google_ads/v2/services/ad_service_pb.rb"
|
412
|
-
Google::Ads::GoogleAds::V2::Services::AdOperation.new
|
413
|
-
end
|
414
|
-
|
415
375
|
# Create a new KeywordPlanOperation
|
416
376
|
#
|
417
377
|
# @return [Google::Ads::GoogleAds::V2::Services::KeywordPlanOperation] the operation
|
@@ -420,6 +380,22 @@ module Google
|
|
420
380
|
Google::Ads::GoogleAds::V2::Services::KeywordPlanOperation.new
|
421
381
|
end
|
422
382
|
|
383
|
+
# Create a new KeywordPlanKeywordOperation
|
384
|
+
#
|
385
|
+
# @return [Google::Ads::GoogleAds::V2::Services::KeywordPlanKeywordOperation] the operation
|
386
|
+
def self.keyword_plan_keyword
|
387
|
+
require "google/ads/google_ads/v2/services/keyword_plan_keyword_service_pb.rb"
|
388
|
+
Google::Ads::GoogleAds::V2::Services::KeywordPlanKeywordOperation.new
|
389
|
+
end
|
390
|
+
|
391
|
+
# Create a new KeywordPlanCampaignOperation
|
392
|
+
#
|
393
|
+
# @return [Google::Ads::GoogleAds::V2::Services::KeywordPlanCampaignOperation] the operation
|
394
|
+
def self.keyword_plan_campaign
|
395
|
+
require "google/ads/google_ads/v2/services/keyword_plan_campaign_service_pb.rb"
|
396
|
+
Google::Ads::GoogleAds::V2::Services::KeywordPlanCampaignOperation.new
|
397
|
+
end
|
398
|
+
|
423
399
|
# Create a new ApplyRecommendationOperation
|
424
400
|
#
|
425
401
|
# @return [Google::Ads::GoogleAds::V2::Services::ApplyRecommendationOperation] the operation
|
@@ -444,6 +420,30 @@ module Google
|
|
444
420
|
Google::Ads::GoogleAds::V2::Services::AccountBudgetProposalOperation.new
|
445
421
|
end
|
446
422
|
|
423
|
+
# Create a new CustomerManagerLinkOperation
|
424
|
+
#
|
425
|
+
# @return [Google::Ads::GoogleAds::V2::Services::CustomerManagerLinkOperation] the operation
|
426
|
+
def self.customer_manager_link
|
427
|
+
require "google/ads/google_ads/v2/services/customer_manager_link_service_pb.rb"
|
428
|
+
Google::Ads::GoogleAds::V2::Services::CustomerManagerLinkOperation.new
|
429
|
+
end
|
430
|
+
|
431
|
+
# Create a new BillingSetupOperation
|
432
|
+
#
|
433
|
+
# @return [Google::Ads::GoogleAds::V2::Services::BillingSetupOperation] the operation
|
434
|
+
def self.billing_setup
|
435
|
+
require "google/ads/google_ads/v2/services/billing_setup_service_pb.rb"
|
436
|
+
Google::Ads::GoogleAds::V2::Services::BillingSetupOperation.new
|
437
|
+
end
|
438
|
+
|
439
|
+
# Create a new MerchantCenterLinkOperation
|
440
|
+
#
|
441
|
+
# @return [Google::Ads::GoogleAds::V2::Services::MerchantCenterLinkOperation] the operation
|
442
|
+
def self.merchant_center_link
|
443
|
+
require "google/ads/google_ads/v2/services/merchant_center_link_service_pb.rb"
|
444
|
+
Google::Ads::GoogleAds::V2::Services::MerchantCenterLinkOperation.new
|
445
|
+
end
|
446
|
+
|
447
447
|
# Get a reference module containing convenience methods for creating
|
448
448
|
# resources
|
449
449
|
#
|
@@ -494,301 +494,301 @@ module Google
|
|
494
494
|
op
|
495
495
|
end
|
496
496
|
|
497
|
-
# A convenience method for creating an
|
498
|
-
# its "create" field prepopulated with an
|
497
|
+
# A convenience method for creating an CustomInterestOperation instance with
|
498
|
+
# its "create" field prepopulated with an CustomInterest instance.
|
499
499
|
#
|
500
|
-
# @overload
|
501
|
-
# creates an operation instance, yielding a newly fabricated
|
500
|
+
# @overload custom_interest
|
501
|
+
# creates an operation instance, yielding a newly fabricated CustomInterest
|
502
502
|
# which can be used for setting attributes on the newly created resource
|
503
|
-
# @overload
|
503
|
+
# @overload custom_interest(res)
|
504
504
|
# creates an operation instance, with the resource to be created
|
505
505
|
# set to the passed value (res)
|
506
|
-
# @param res [Google::Ads::GoogleAds::V2::Resources::
|
506
|
+
# @param res [Google::Ads::GoogleAds::V2::Resources::CustomInterest]
|
507
507
|
# a resource instance to be used for creation in this operation.
|
508
508
|
#
|
509
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
510
|
-
def self.
|
511
|
-
require "google/ads/google_ads/v2/services/
|
512
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
509
|
+
# @return [Google::Ads::GoogleAds::V2::Services::CustomInterestOperation] instance that will create the resource
|
510
|
+
def self.custom_interest(res = nil, &blk)
|
511
|
+
require "google/ads/google_ads/v2/services/custom_interest_service_pb.rb"
|
512
|
+
op = Google::Ads::GoogleAds::V2::Services::CustomInterestOperation.new
|
513
513
|
if !res.nil?
|
514
514
|
op["create"] = res
|
515
515
|
elsif !blk.nil?
|
516
|
-
op["create"] = Factories::V2::Resources.
|
516
|
+
op["create"] = Factories::V2::Resources.custom_interest(&blk)
|
517
517
|
end
|
518
518
|
|
519
519
|
op
|
520
520
|
end
|
521
521
|
|
522
|
-
# A convenience method for creating an
|
523
|
-
# its "create" field prepopulated with an
|
522
|
+
# A convenience method for creating an CustomerNegativeCriterionOperation instance with
|
523
|
+
# its "create" field prepopulated with an CustomerNegativeCriterion instance.
|
524
524
|
#
|
525
|
-
# @overload
|
526
|
-
# creates an operation instance, yielding a newly fabricated
|
525
|
+
# @overload customer_negative_criterion
|
526
|
+
# creates an operation instance, yielding a newly fabricated CustomerNegativeCriterion
|
527
527
|
# which can be used for setting attributes on the newly created resource
|
528
|
-
# @overload
|
528
|
+
# @overload customer_negative_criterion(res)
|
529
529
|
# creates an operation instance, with the resource to be created
|
530
530
|
# set to the passed value (res)
|
531
|
-
# @param res [Google::Ads::GoogleAds::V2::Resources::
|
531
|
+
# @param res [Google::Ads::GoogleAds::V2::Resources::CustomerNegativeCriterion]
|
532
532
|
# a resource instance to be used for creation in this operation.
|
533
533
|
#
|
534
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
535
|
-
def self.
|
536
|
-
require "google/ads/google_ads/v2/services/
|
537
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
534
|
+
# @return [Google::Ads::GoogleAds::V2::Services::CustomerNegativeCriterionOperation] instance that will create the resource
|
535
|
+
def self.customer_negative_criterion(res = nil, &blk)
|
536
|
+
require "google/ads/google_ads/v2/services/customer_negative_criterion_service_pb.rb"
|
537
|
+
op = Google::Ads::GoogleAds::V2::Services::CustomerNegativeCriterionOperation.new
|
538
538
|
if !res.nil?
|
539
539
|
op["create"] = res
|
540
540
|
elsif !blk.nil?
|
541
|
-
op["create"] = Factories::V2::Resources.
|
541
|
+
op["create"] = Factories::V2::Resources.customer_negative_criterion(&blk)
|
542
542
|
end
|
543
543
|
|
544
544
|
op
|
545
545
|
end
|
546
546
|
|
547
|
-
# A convenience method for creating an
|
548
|
-
# its "create" field prepopulated with an
|
547
|
+
# A convenience method for creating an SharedCriterionOperation instance with
|
548
|
+
# its "create" field prepopulated with an SharedCriterion instance.
|
549
549
|
#
|
550
|
-
# @overload
|
551
|
-
# creates an operation instance, yielding a newly fabricated
|
550
|
+
# @overload shared_criterion
|
551
|
+
# creates an operation instance, yielding a newly fabricated SharedCriterion
|
552
552
|
# which can be used for setting attributes on the newly created resource
|
553
|
-
# @overload
|
553
|
+
# @overload shared_criterion(res)
|
554
554
|
# creates an operation instance, with the resource to be created
|
555
555
|
# set to the passed value (res)
|
556
|
-
# @param res [Google::Ads::GoogleAds::V2::Resources::
|
556
|
+
# @param res [Google::Ads::GoogleAds::V2::Resources::SharedCriterion]
|
557
557
|
# a resource instance to be used for creation in this operation.
|
558
558
|
#
|
559
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
560
|
-
def self.
|
561
|
-
require "google/ads/google_ads/v2/services/
|
562
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
559
|
+
# @return [Google::Ads::GoogleAds::V2::Services::SharedCriterionOperation] instance that will create the resource
|
560
|
+
def self.shared_criterion(res = nil, &blk)
|
561
|
+
require "google/ads/google_ads/v2/services/shared_criterion_service_pb.rb"
|
562
|
+
op = Google::Ads::GoogleAds::V2::Services::SharedCriterionOperation.new
|
563
563
|
if !res.nil?
|
564
564
|
op["create"] = res
|
565
565
|
elsif !blk.nil?
|
566
|
-
op["create"] = Factories::V2::Resources.
|
566
|
+
op["create"] = Factories::V2::Resources.shared_criterion(&blk)
|
567
567
|
end
|
568
568
|
|
569
569
|
op
|
570
570
|
end
|
571
571
|
|
572
|
-
# A convenience method for creating an
|
573
|
-
# its "create" field prepopulated with an
|
572
|
+
# A convenience method for creating an FeedMappingOperation instance with
|
573
|
+
# its "create" field prepopulated with an FeedMapping instance.
|
574
574
|
#
|
575
|
-
# @overload
|
576
|
-
# creates an operation instance, yielding a newly fabricated
|
575
|
+
# @overload feed_mapping
|
576
|
+
# creates an operation instance, yielding a newly fabricated FeedMapping
|
577
577
|
# which can be used for setting attributes on the newly created resource
|
578
|
-
# @overload
|
578
|
+
# @overload feed_mapping(res)
|
579
579
|
# creates an operation instance, with the resource to be created
|
580
580
|
# set to the passed value (res)
|
581
|
-
# @param res [Google::Ads::GoogleAds::V2::Resources::
|
581
|
+
# @param res [Google::Ads::GoogleAds::V2::Resources::FeedMapping]
|
582
582
|
# a resource instance to be used for creation in this operation.
|
583
583
|
#
|
584
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
585
|
-
def self.
|
586
|
-
require "google/ads/google_ads/v2/services/
|
587
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
584
|
+
# @return [Google::Ads::GoogleAds::V2::Services::FeedMappingOperation] instance that will create the resource
|
585
|
+
def self.feed_mapping(res = nil, &blk)
|
586
|
+
require "google/ads/google_ads/v2/services/feed_mapping_service_pb.rb"
|
587
|
+
op = Google::Ads::GoogleAds::V2::Services::FeedMappingOperation.new
|
588
588
|
if !res.nil?
|
589
589
|
op["create"] = res
|
590
590
|
elsif !blk.nil?
|
591
|
-
op["create"] = Factories::V2::Resources.
|
591
|
+
op["create"] = Factories::V2::Resources.feed_mapping(&blk)
|
592
592
|
end
|
593
593
|
|
594
594
|
op
|
595
595
|
end
|
596
596
|
|
597
|
-
# A convenience method for creating an
|
598
|
-
# its "create" field prepopulated with an
|
597
|
+
# A convenience method for creating an AdGroupOperation instance with
|
598
|
+
# its "create" field prepopulated with an AdGroup instance.
|
599
599
|
#
|
600
|
-
# @overload
|
601
|
-
# creates an operation instance, yielding a newly fabricated
|
600
|
+
# @overload ad_group
|
601
|
+
# creates an operation instance, yielding a newly fabricated AdGroup
|
602
602
|
# which can be used for setting attributes on the newly created resource
|
603
|
-
# @overload
|
603
|
+
# @overload ad_group(res)
|
604
604
|
# creates an operation instance, with the resource to be created
|
605
605
|
# set to the passed value (res)
|
606
|
-
# @param res [Google::Ads::GoogleAds::V2::Resources::
|
606
|
+
# @param res [Google::Ads::GoogleAds::V2::Resources::AdGroup]
|
607
607
|
# a resource instance to be used for creation in this operation.
|
608
608
|
#
|
609
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
610
|
-
def self.
|
611
|
-
require "google/ads/google_ads/v2/services/
|
612
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
609
|
+
# @return [Google::Ads::GoogleAds::V2::Services::AdGroupOperation] instance that will create the resource
|
610
|
+
def self.ad_group(res = nil, &blk)
|
611
|
+
require "google/ads/google_ads/v2/services/ad_group_service_pb.rb"
|
612
|
+
op = Google::Ads::GoogleAds::V2::Services::AdGroupOperation.new
|
613
613
|
if !res.nil?
|
614
614
|
op["create"] = res
|
615
615
|
elsif !blk.nil?
|
616
|
-
op["create"] = Factories::V2::Resources.
|
616
|
+
op["create"] = Factories::V2::Resources.ad_group(&blk)
|
617
617
|
end
|
618
618
|
|
619
619
|
op
|
620
620
|
end
|
621
621
|
|
622
|
-
# A convenience method for creating an
|
623
|
-
# its "create" field prepopulated with an
|
622
|
+
# A convenience method for creating an ExtensionFeedItemOperation instance with
|
623
|
+
# its "create" field prepopulated with an ExtensionFeedItem instance.
|
624
624
|
#
|
625
|
-
# @overload
|
626
|
-
# creates an operation instance, yielding a newly fabricated
|
625
|
+
# @overload extension_feed_item
|
626
|
+
# creates an operation instance, yielding a newly fabricated ExtensionFeedItem
|
627
627
|
# which can be used for setting attributes on the newly created resource
|
628
|
-
# @overload
|
628
|
+
# @overload extension_feed_item(res)
|
629
629
|
# creates an operation instance, with the resource to be created
|
630
630
|
# set to the passed value (res)
|
631
|
-
# @param res [Google::Ads::GoogleAds::V2::Resources::
|
631
|
+
# @param res [Google::Ads::GoogleAds::V2::Resources::ExtensionFeedItem]
|
632
632
|
# a resource instance to be used for creation in this operation.
|
633
633
|
#
|
634
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
635
|
-
def self.
|
636
|
-
require "google/ads/google_ads/v2/services/
|
637
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
634
|
+
# @return [Google::Ads::GoogleAds::V2::Services::ExtensionFeedItemOperation] instance that will create the resource
|
635
|
+
def self.extension_feed_item(res = nil, &blk)
|
636
|
+
require "google/ads/google_ads/v2/services/extension_feed_item_service_pb.rb"
|
637
|
+
op = Google::Ads::GoogleAds::V2::Services::ExtensionFeedItemOperation.new
|
638
638
|
if !res.nil?
|
639
639
|
op["create"] = res
|
640
640
|
elsif !blk.nil?
|
641
|
-
op["create"] = Factories::V2::Resources.
|
641
|
+
op["create"] = Factories::V2::Resources.extension_feed_item(&blk)
|
642
642
|
end
|
643
643
|
|
644
644
|
op
|
645
645
|
end
|
646
646
|
|
647
|
-
# A convenience method for creating an
|
648
|
-
# its "create" field prepopulated with an
|
647
|
+
# A convenience method for creating an CampaignBidModifierOperation instance with
|
648
|
+
# its "create" field prepopulated with an CampaignBidModifier instance.
|
649
649
|
#
|
650
|
-
# @overload
|
651
|
-
# creates an operation instance, yielding a newly fabricated
|
650
|
+
# @overload campaign_bid_modifier
|
651
|
+
# creates an operation instance, yielding a newly fabricated CampaignBidModifier
|
652
652
|
# which can be used for setting attributes on the newly created resource
|
653
|
-
# @overload
|
653
|
+
# @overload campaign_bid_modifier(res)
|
654
654
|
# creates an operation instance, with the resource to be created
|
655
655
|
# set to the passed value (res)
|
656
|
-
# @param res [Google::Ads::GoogleAds::V2::Resources::
|
656
|
+
# @param res [Google::Ads::GoogleAds::V2::Resources::CampaignBidModifier]
|
657
657
|
# a resource instance to be used for creation in this operation.
|
658
658
|
#
|
659
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
660
|
-
def self.
|
661
|
-
require "google/ads/google_ads/v2/services/
|
662
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
659
|
+
# @return [Google::Ads::GoogleAds::V2::Services::CampaignBidModifierOperation] instance that will create the resource
|
660
|
+
def self.campaign_bid_modifier(res = nil, &blk)
|
661
|
+
require "google/ads/google_ads/v2/services/campaign_bid_modifier_service_pb.rb"
|
662
|
+
op = Google::Ads::GoogleAds::V2::Services::CampaignBidModifierOperation.new
|
663
663
|
if !res.nil?
|
664
664
|
op["create"] = res
|
665
665
|
elsif !blk.nil?
|
666
|
-
op["create"] = Factories::V2::Resources.
|
666
|
+
op["create"] = Factories::V2::Resources.campaign_bid_modifier(&blk)
|
667
667
|
end
|
668
668
|
|
669
669
|
op
|
670
670
|
end
|
671
671
|
|
672
|
-
# A convenience method for creating an
|
673
|
-
# its "create" field prepopulated with an
|
672
|
+
# A convenience method for creating an CampaignDraftOperation instance with
|
673
|
+
# its "create" field prepopulated with an CampaignDraft instance.
|
674
674
|
#
|
675
|
-
# @overload
|
676
|
-
# creates an operation instance, yielding a newly fabricated
|
675
|
+
# @overload campaign_draft
|
676
|
+
# creates an operation instance, yielding a newly fabricated CampaignDraft
|
677
677
|
# which can be used for setting attributes on the newly created resource
|
678
|
-
# @overload
|
678
|
+
# @overload campaign_draft(res)
|
679
679
|
# creates an operation instance, with the resource to be created
|
680
680
|
# set to the passed value (res)
|
681
|
-
# @param res [Google::Ads::GoogleAds::V2::Resources::
|
681
|
+
# @param res [Google::Ads::GoogleAds::V2::Resources::CampaignDraft]
|
682
682
|
# a resource instance to be used for creation in this operation.
|
683
683
|
#
|
684
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
685
|
-
def self.
|
686
|
-
require "google/ads/google_ads/v2/services/
|
687
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
684
|
+
# @return [Google::Ads::GoogleAds::V2::Services::CampaignDraftOperation] instance that will create the resource
|
685
|
+
def self.campaign_draft(res = nil, &blk)
|
686
|
+
require "google/ads/google_ads/v2/services/campaign_draft_service_pb.rb"
|
687
|
+
op = Google::Ads::GoogleAds::V2::Services::CampaignDraftOperation.new
|
688
688
|
if !res.nil?
|
689
689
|
op["create"] = res
|
690
690
|
elsif !blk.nil?
|
691
|
-
op["create"] = Factories::V2::Resources.
|
691
|
+
op["create"] = Factories::V2::Resources.campaign_draft(&blk)
|
692
692
|
end
|
693
693
|
|
694
694
|
op
|
695
695
|
end
|
696
696
|
|
697
|
-
# A convenience method for creating an
|
698
|
-
# its "create" field prepopulated with an
|
697
|
+
# A convenience method for creating an SharedSetOperation instance with
|
698
|
+
# its "create" field prepopulated with an SharedSet instance.
|
699
699
|
#
|
700
|
-
# @overload
|
701
|
-
# creates an operation instance, yielding a newly fabricated
|
700
|
+
# @overload shared_set
|
701
|
+
# creates an operation instance, yielding a newly fabricated SharedSet
|
702
702
|
# which can be used for setting attributes on the newly created resource
|
703
|
-
# @overload
|
703
|
+
# @overload shared_set(res)
|
704
704
|
# creates an operation instance, with the resource to be created
|
705
705
|
# set to the passed value (res)
|
706
|
-
# @param res [Google::Ads::GoogleAds::V2::Resources::
|
706
|
+
# @param res [Google::Ads::GoogleAds::V2::Resources::SharedSet]
|
707
707
|
# a resource instance to be used for creation in this operation.
|
708
708
|
#
|
709
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
710
|
-
def self.
|
711
|
-
require "google/ads/google_ads/v2/services/
|
712
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
709
|
+
# @return [Google::Ads::GoogleAds::V2::Services::SharedSetOperation] instance that will create the resource
|
710
|
+
def self.shared_set(res = nil, &blk)
|
711
|
+
require "google/ads/google_ads/v2/services/shared_set_service_pb.rb"
|
712
|
+
op = Google::Ads::GoogleAds::V2::Services::SharedSetOperation.new
|
713
713
|
if !res.nil?
|
714
714
|
op["create"] = res
|
715
715
|
elsif !blk.nil?
|
716
|
-
op["create"] = Factories::V2::Resources.
|
716
|
+
op["create"] = Factories::V2::Resources.shared_set(&blk)
|
717
717
|
end
|
718
718
|
|
719
719
|
op
|
720
720
|
end
|
721
721
|
|
722
|
-
# A convenience method for creating an
|
723
|
-
# its "create" field prepopulated with an
|
722
|
+
# A convenience method for creating an CampaignFeedOperation instance with
|
723
|
+
# its "create" field prepopulated with an CampaignFeed instance.
|
724
724
|
#
|
725
|
-
# @overload
|
726
|
-
# creates an operation instance, yielding a newly fabricated
|
725
|
+
# @overload campaign_feed
|
726
|
+
# creates an operation instance, yielding a newly fabricated CampaignFeed
|
727
727
|
# which can be used for setting attributes on the newly created resource
|
728
|
-
# @overload
|
728
|
+
# @overload campaign_feed(res)
|
729
729
|
# creates an operation instance, with the resource to be created
|
730
730
|
# set to the passed value (res)
|
731
|
-
# @param res [Google::Ads::GoogleAds::V2::Resources::
|
731
|
+
# @param res [Google::Ads::GoogleAds::V2::Resources::CampaignFeed]
|
732
732
|
# a resource instance to be used for creation in this operation.
|
733
733
|
#
|
734
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
735
|
-
def self.
|
736
|
-
require "google/ads/google_ads/v2/services/
|
737
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
734
|
+
# @return [Google::Ads::GoogleAds::V2::Services::CampaignFeedOperation] instance that will create the resource
|
735
|
+
def self.campaign_feed(res = nil, &blk)
|
736
|
+
require "google/ads/google_ads/v2/services/campaign_feed_service_pb.rb"
|
737
|
+
op = Google::Ads::GoogleAds::V2::Services::CampaignFeedOperation.new
|
738
738
|
if !res.nil?
|
739
739
|
op["create"] = res
|
740
740
|
elsif !blk.nil?
|
741
|
-
op["create"] = Factories::V2::Resources.
|
741
|
+
op["create"] = Factories::V2::Resources.campaign_feed(&blk)
|
742
742
|
end
|
743
743
|
|
744
744
|
op
|
745
745
|
end
|
746
746
|
|
747
|
-
# A convenience method for creating an
|
748
|
-
# its "create" field prepopulated with an
|
747
|
+
# A convenience method for creating an LabelOperation instance with
|
748
|
+
# its "create" field prepopulated with an Label instance.
|
749
749
|
#
|
750
|
-
# @overload
|
751
|
-
# creates an operation instance, yielding a newly fabricated
|
750
|
+
# @overload label
|
751
|
+
# creates an operation instance, yielding a newly fabricated Label
|
752
752
|
# which can be used for setting attributes on the newly created resource
|
753
|
-
# @overload
|
753
|
+
# @overload label(res)
|
754
754
|
# creates an operation instance, with the resource to be created
|
755
755
|
# set to the passed value (res)
|
756
|
-
# @param res [Google::Ads::GoogleAds::V2::Resources::
|
756
|
+
# @param res [Google::Ads::GoogleAds::V2::Resources::Label]
|
757
757
|
# a resource instance to be used for creation in this operation.
|
758
758
|
#
|
759
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
760
|
-
def self.
|
761
|
-
require "google/ads/google_ads/v2/services/
|
762
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
759
|
+
# @return [Google::Ads::GoogleAds::V2::Services::LabelOperation] instance that will create the resource
|
760
|
+
def self.label(res = nil, &blk)
|
761
|
+
require "google/ads/google_ads/v2/services/label_service_pb.rb"
|
762
|
+
op = Google::Ads::GoogleAds::V2::Services::LabelOperation.new
|
763
763
|
if !res.nil?
|
764
764
|
op["create"] = res
|
765
765
|
elsif !blk.nil?
|
766
|
-
op["create"] = Factories::V2::Resources.
|
766
|
+
op["create"] = Factories::V2::Resources.label(&blk)
|
767
767
|
end
|
768
768
|
|
769
769
|
op
|
770
770
|
end
|
771
771
|
|
772
|
-
# A convenience method for creating an
|
773
|
-
# its "create" field prepopulated with an
|
772
|
+
# A convenience method for creating an AdGroupAdLabelOperation instance with
|
773
|
+
# its "create" field prepopulated with an AdGroupAdLabel instance.
|
774
774
|
#
|
775
|
-
# @overload
|
776
|
-
# creates an operation instance, yielding a newly fabricated
|
775
|
+
# @overload ad_group_ad_label
|
776
|
+
# creates an operation instance, yielding a newly fabricated AdGroupAdLabel
|
777
777
|
# which can be used for setting attributes on the newly created resource
|
778
|
-
# @overload
|
778
|
+
# @overload ad_group_ad_label(res)
|
779
779
|
# creates an operation instance, with the resource to be created
|
780
780
|
# set to the passed value (res)
|
781
|
-
# @param res [Google::Ads::GoogleAds::V2::Resources::
|
781
|
+
# @param res [Google::Ads::GoogleAds::V2::Resources::AdGroupAdLabel]
|
782
782
|
# a resource instance to be used for creation in this operation.
|
783
783
|
#
|
784
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
785
|
-
def self.
|
786
|
-
require "google/ads/google_ads/v2/services/
|
787
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
784
|
+
# @return [Google::Ads::GoogleAds::V2::Services::AdGroupAdLabelOperation] instance that will create the resource
|
785
|
+
def self.ad_group_ad_label(res = nil, &blk)
|
786
|
+
require "google/ads/google_ads/v2/services/ad_group_ad_label_service_pb.rb"
|
787
|
+
op = Google::Ads::GoogleAds::V2::Services::AdGroupAdLabelOperation.new
|
788
788
|
if !res.nil?
|
789
789
|
op["create"] = res
|
790
790
|
elsif !blk.nil?
|
791
|
-
op["create"] = Factories::V2::Resources.
|
791
|
+
op["create"] = Factories::V2::Resources.ad_group_ad_label(&blk)
|
792
792
|
end
|
793
793
|
|
794
794
|
op
|
@@ -819,6 +819,31 @@ module Google
|
|
819
819
|
op
|
820
820
|
end
|
821
821
|
|
822
|
+
# A convenience method for creating an AdGroupBidModifierOperation instance with
|
823
|
+
# its "create" field prepopulated with an AdGroupBidModifier instance.
|
824
|
+
#
|
825
|
+
# @overload ad_group_bid_modifier
|
826
|
+
# creates an operation instance, yielding a newly fabricated AdGroupBidModifier
|
827
|
+
# which can be used for setting attributes on the newly created resource
|
828
|
+
# @overload ad_group_bid_modifier(res)
|
829
|
+
# creates an operation instance, with the resource to be created
|
830
|
+
# set to the passed value (res)
|
831
|
+
# @param res [Google::Ads::GoogleAds::V2::Resources::AdGroupBidModifier]
|
832
|
+
# a resource instance to be used for creation in this operation.
|
833
|
+
#
|
834
|
+
# @return [Google::Ads::GoogleAds::V2::Services::AdGroupBidModifierOperation] instance that will create the resource
|
835
|
+
def self.ad_group_bid_modifier(res = nil, &blk)
|
836
|
+
require "google/ads/google_ads/v2/services/ad_group_bid_modifier_service_pb.rb"
|
837
|
+
op = Google::Ads::GoogleAds::V2::Services::AdGroupBidModifierOperation.new
|
838
|
+
if !res.nil?
|
839
|
+
op["create"] = res
|
840
|
+
elsif !blk.nil?
|
841
|
+
op["create"] = Factories::V2::Resources.ad_group_bid_modifier(&blk)
|
842
|
+
end
|
843
|
+
|
844
|
+
op
|
845
|
+
end
|
846
|
+
|
822
847
|
# A convenience method for creating an AdGroupCriterionOperation instance with
|
823
848
|
# its "create" field prepopulated with an AdGroupCriterion instance.
|
824
849
|
#
|
@@ -894,26 +919,26 @@ module Google
|
|
894
919
|
op
|
895
920
|
end
|
896
921
|
|
897
|
-
# A convenience method for creating an
|
898
|
-
# its "create" field prepopulated with an
|
922
|
+
# A convenience method for creating an AdGroupLabelOperation instance with
|
923
|
+
# its "create" field prepopulated with an AdGroupLabel instance.
|
899
924
|
#
|
900
|
-
# @overload
|
901
|
-
# creates an operation instance, yielding a newly fabricated
|
925
|
+
# @overload ad_group_label
|
926
|
+
# creates an operation instance, yielding a newly fabricated AdGroupLabel
|
902
927
|
# which can be used for setting attributes on the newly created resource
|
903
|
-
# @overload
|
928
|
+
# @overload ad_group_label(res)
|
904
929
|
# creates an operation instance, with the resource to be created
|
905
930
|
# set to the passed value (res)
|
906
|
-
# @param res [Google::Ads::GoogleAds::V2::Resources::
|
931
|
+
# @param res [Google::Ads::GoogleAds::V2::Resources::AdGroupLabel]
|
907
932
|
# a resource instance to be used for creation in this operation.
|
908
933
|
#
|
909
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
910
|
-
def self.
|
911
|
-
require "google/ads/google_ads/v2/services/
|
912
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
934
|
+
# @return [Google::Ads::GoogleAds::V2::Services::AdGroupLabelOperation] instance that will create the resource
|
935
|
+
def self.ad_group_label(res = nil, &blk)
|
936
|
+
require "google/ads/google_ads/v2/services/ad_group_label_service_pb.rb"
|
937
|
+
op = Google::Ads::GoogleAds::V2::Services::AdGroupLabelOperation.new
|
913
938
|
if !res.nil?
|
914
939
|
op["create"] = res
|
915
940
|
elsif !blk.nil?
|
916
|
-
op["create"] = Factories::V2::Resources.
|
941
|
+
op["create"] = Factories::V2::Resources.ad_group_label(&blk)
|
917
942
|
end
|
918
943
|
|
919
944
|
op
|
@@ -994,31 +1019,6 @@ module Google
|
|
994
1019
|
op
|
995
1020
|
end
|
996
1021
|
|
997
|
-
# A convenience method for creating an CampaignBidModifierOperation instance with
|
998
|
-
# its "create" field prepopulated with an CampaignBidModifier instance.
|
999
|
-
#
|
1000
|
-
# @overload campaign_bid_modifier
|
1001
|
-
# creates an operation instance, yielding a newly fabricated CampaignBidModifier
|
1002
|
-
# which can be used for setting attributes on the newly created resource
|
1003
|
-
# @overload campaign_bid_modifier(res)
|
1004
|
-
# creates an operation instance, with the resource to be created
|
1005
|
-
# set to the passed value (res)
|
1006
|
-
# @param res [Google::Ads::GoogleAds::V2::Resources::CampaignBidModifier]
|
1007
|
-
# a resource instance to be used for creation in this operation.
|
1008
|
-
#
|
1009
|
-
# @return [Google::Ads::GoogleAds::V2::Services::CampaignBidModifierOperation] instance that will create the resource
|
1010
|
-
def self.campaign_bid_modifier(res = nil, &blk)
|
1011
|
-
require "google/ads/google_ads/v2/services/campaign_bid_modifier_service_pb.rb"
|
1012
|
-
op = Google::Ads::GoogleAds::V2::Services::CampaignBidModifierOperation.new
|
1013
|
-
if !res.nil?
|
1014
|
-
op["create"] = res
|
1015
|
-
elsif !blk.nil?
|
1016
|
-
op["create"] = Factories::V2::Resources.campaign_bid_modifier(&blk)
|
1017
|
-
end
|
1018
|
-
|
1019
|
-
op
|
1020
|
-
end
|
1021
|
-
|
1022
1022
|
# A convenience method for creating an CampaignBudgetOperation instance with
|
1023
1023
|
# its "create" field prepopulated with an CampaignBudget instance.
|
1024
1024
|
#
|
@@ -1069,31 +1069,6 @@ module Google
|
|
1069
1069
|
op
|
1070
1070
|
end
|
1071
1071
|
|
1072
|
-
# A convenience method for creating an CampaignDraftOperation instance with
|
1073
|
-
# its "create" field prepopulated with an CampaignDraft instance.
|
1074
|
-
#
|
1075
|
-
# @overload campaign_draft
|
1076
|
-
# creates an operation instance, yielding a newly fabricated CampaignDraft
|
1077
|
-
# which can be used for setting attributes on the newly created resource
|
1078
|
-
# @overload campaign_draft(res)
|
1079
|
-
# creates an operation instance, with the resource to be created
|
1080
|
-
# set to the passed value (res)
|
1081
|
-
# @param res [Google::Ads::GoogleAds::V2::Resources::CampaignDraft]
|
1082
|
-
# a resource instance to be used for creation in this operation.
|
1083
|
-
#
|
1084
|
-
# @return [Google::Ads::GoogleAds::V2::Services::CampaignDraftOperation] instance that will create the resource
|
1085
|
-
def self.campaign_draft(res = nil, &blk)
|
1086
|
-
require "google/ads/google_ads/v2/services/campaign_draft_service_pb.rb"
|
1087
|
-
op = Google::Ads::GoogleAds::V2::Services::CampaignDraftOperation.new
|
1088
|
-
if !res.nil?
|
1089
|
-
op["create"] = res
|
1090
|
-
elsif !blk.nil?
|
1091
|
-
op["create"] = Factories::V2::Resources.campaign_draft(&blk)
|
1092
|
-
end
|
1093
|
-
|
1094
|
-
op
|
1095
|
-
end
|
1096
|
-
|
1097
1072
|
# A convenience method for creating an CampaignExtensionSettingOperation instance with
|
1098
1073
|
# its "create" field prepopulated with an CampaignExtensionSetting instance.
|
1099
1074
|
#
|
@@ -1169,6 +1144,31 @@ module Google
|
|
1169
1144
|
op
|
1170
1145
|
end
|
1171
1146
|
|
1147
|
+
# A convenience method for creating an CampaignSharedSetOperation instance with
|
1148
|
+
# its "create" field prepopulated with an CampaignSharedSet instance.
|
1149
|
+
#
|
1150
|
+
# @overload campaign_shared_set
|
1151
|
+
# creates an operation instance, yielding a newly fabricated CampaignSharedSet
|
1152
|
+
# which can be used for setting attributes on the newly created resource
|
1153
|
+
# @overload campaign_shared_set(res)
|
1154
|
+
# creates an operation instance, with the resource to be created
|
1155
|
+
# set to the passed value (res)
|
1156
|
+
# @param res [Google::Ads::GoogleAds::V2::Resources::CampaignSharedSet]
|
1157
|
+
# a resource instance to be used for creation in this operation.
|
1158
|
+
#
|
1159
|
+
# @return [Google::Ads::GoogleAds::V2::Services::CampaignSharedSetOperation] instance that will create the resource
|
1160
|
+
def self.campaign_shared_set(res = nil, &blk)
|
1161
|
+
require "google/ads/google_ads/v2/services/campaign_shared_set_service_pb.rb"
|
1162
|
+
op = Google::Ads::GoogleAds::V2::Services::CampaignSharedSetOperation.new
|
1163
|
+
if !res.nil?
|
1164
|
+
op["create"] = res
|
1165
|
+
elsif !blk.nil?
|
1166
|
+
op["create"] = Factories::V2::Resources.campaign_shared_set(&blk)
|
1167
|
+
end
|
1168
|
+
|
1169
|
+
op
|
1170
|
+
end
|
1171
|
+
|
1172
1172
|
# A convenience method for creating an ConversionActionOperation instance with
|
1173
1173
|
# its "create" field prepopulated with an ConversionAction instance.
|
1174
1174
|
#
|
@@ -1234,61 +1234,36 @@ module Google
|
|
1234
1234
|
# @return [Google::Ads::GoogleAds::V2::Services::CustomerFeedOperation] instance that will create the resource
|
1235
1235
|
def self.customer_feed(res = nil, &blk)
|
1236
1236
|
require "google/ads/google_ads/v2/services/customer_feed_service_pb.rb"
|
1237
|
-
op = Google::Ads::GoogleAds::V2::Services::CustomerFeedOperation.new
|
1238
|
-
if !res.nil?
|
1239
|
-
op["create"] = res
|
1240
|
-
elsif !blk.nil?
|
1241
|
-
op["create"] = Factories::V2::Resources.customer_feed(&blk)
|
1242
|
-
end
|
1243
|
-
|
1244
|
-
op
|
1245
|
-
end
|
1246
|
-
|
1247
|
-
# A convenience method for creating an CustomerNegativeCriterionOperation instance with
|
1248
|
-
# its "create" field prepopulated with an CustomerNegativeCriterion instance.
|
1249
|
-
#
|
1250
|
-
# @overload customer_negative_criterion
|
1251
|
-
# creates an operation instance, yielding a newly fabricated CustomerNegativeCriterion
|
1252
|
-
# which can be used for setting attributes on the newly created resource
|
1253
|
-
# @overload customer_negative_criterion(res)
|
1254
|
-
# creates an operation instance, with the resource to be created
|
1255
|
-
# set to the passed value (res)
|
1256
|
-
# @param res [Google::Ads::GoogleAds::V2::Resources::CustomerNegativeCriterion]
|
1257
|
-
# a resource instance to be used for creation in this operation.
|
1258
|
-
#
|
1259
|
-
# @return [Google::Ads::GoogleAds::V2::Services::CustomerNegativeCriterionOperation] instance that will create the resource
|
1260
|
-
def self.customer_negative_criterion(res = nil, &blk)
|
1261
|
-
require "google/ads/google_ads/v2/services/customer_negative_criterion_service_pb.rb"
|
1262
|
-
op = Google::Ads::GoogleAds::V2::Services::CustomerNegativeCriterionOperation.new
|
1237
|
+
op = Google::Ads::GoogleAds::V2::Services::CustomerFeedOperation.new
|
1263
1238
|
if !res.nil?
|
1264
1239
|
op["create"] = res
|
1265
1240
|
elsif !blk.nil?
|
1266
|
-
op["create"] = Factories::V2::Resources.
|
1241
|
+
op["create"] = Factories::V2::Resources.customer_feed(&blk)
|
1267
1242
|
end
|
1268
1243
|
|
1269
1244
|
op
|
1270
1245
|
end
|
1271
1246
|
|
1272
|
-
# A convenience method for creating an
|
1273
|
-
# its "create" field prepopulated with an
|
1247
|
+
# A convenience method for creating an CustomerLabelOperation instance with
|
1248
|
+
# its "create" field prepopulated with an CustomerLabel instance.
|
1274
1249
|
#
|
1275
|
-
# @overload
|
1276
|
-
# creates an operation instance, yielding a newly fabricated
|
1250
|
+
# @overload customer_label
|
1251
|
+
# creates an operation instance, yielding a newly fabricated CustomerLabel
|
1277
1252
|
# which can be used for setting attributes on the newly created resource
|
1278
|
-
# @overload
|
1253
|
+
# @overload customer_label(res)
|
1279
1254
|
# creates an operation instance, with the resource to be created
|
1280
1255
|
# set to the passed value (res)
|
1281
|
-
# @param res [Google::Ads::GoogleAds::V2::Resources::
|
1256
|
+
# @param res [Google::Ads::GoogleAds::V2::Resources::CustomerLabel]
|
1282
1257
|
# a resource instance to be used for creation in this operation.
|
1283
1258
|
#
|
1284
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
1285
|
-
def self.
|
1286
|
-
require "google/ads/google_ads/v2/services/
|
1287
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
1259
|
+
# @return [Google::Ads::GoogleAds::V2::Services::CustomerLabelOperation] instance that will create the resource
|
1260
|
+
def self.customer_label(res = nil, &blk)
|
1261
|
+
require "google/ads/google_ads/v2/services/customer_label_service_pb.rb"
|
1262
|
+
op = Google::Ads::GoogleAds::V2::Services::CustomerLabelOperation.new
|
1288
1263
|
if !res.nil?
|
1289
1264
|
op["create"] = res
|
1290
1265
|
elsif !blk.nil?
|
1291
|
-
op["create"] = Factories::V2::Resources.
|
1266
|
+
op["create"] = Factories::V2::Resources.customer_label(&blk)
|
1292
1267
|
end
|
1293
1268
|
|
1294
1269
|
op
|
@@ -1344,76 +1319,76 @@ module Google
|
|
1344
1319
|
op
|
1345
1320
|
end
|
1346
1321
|
|
1347
|
-
# A convenience method for creating an
|
1348
|
-
# its "create" field prepopulated with an
|
1322
|
+
# A convenience method for creating an FeedOperation instance with
|
1323
|
+
# its "create" field prepopulated with an Feed instance.
|
1349
1324
|
#
|
1350
|
-
# @overload
|
1351
|
-
# creates an operation instance, yielding a newly fabricated
|
1325
|
+
# @overload feed
|
1326
|
+
# creates an operation instance, yielding a newly fabricated Feed
|
1352
1327
|
# which can be used for setting attributes on the newly created resource
|
1353
|
-
# @overload
|
1328
|
+
# @overload feed(res)
|
1354
1329
|
# creates an operation instance, with the resource to be created
|
1355
1330
|
# set to the passed value (res)
|
1356
|
-
# @param res [Google::Ads::GoogleAds::V2::Resources::
|
1331
|
+
# @param res [Google::Ads::GoogleAds::V2::Resources::Feed]
|
1357
1332
|
# a resource instance to be used for creation in this operation.
|
1358
1333
|
#
|
1359
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
1360
|
-
def self.
|
1361
|
-
require "google/ads/google_ads/v2/services/
|
1362
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
1334
|
+
# @return [Google::Ads::GoogleAds::V2::Services::FeedOperation] instance that will create the resource
|
1335
|
+
def self.feed(res = nil, &blk)
|
1336
|
+
require "google/ads/google_ads/v2/services/feed_service_pb.rb"
|
1337
|
+
op = Google::Ads::GoogleAds::V2::Services::FeedOperation.new
|
1363
1338
|
if !res.nil?
|
1364
1339
|
op["create"] = res
|
1365
1340
|
elsif !blk.nil?
|
1366
|
-
op["create"] = Factories::V2::Resources.
|
1341
|
+
op["create"] = Factories::V2::Resources.feed(&blk)
|
1367
1342
|
end
|
1368
1343
|
|
1369
1344
|
op
|
1370
1345
|
end
|
1371
1346
|
|
1372
|
-
# A convenience method for creating an
|
1373
|
-
# its "create" field prepopulated with an
|
1347
|
+
# A convenience method for creating an MediaFileOperation instance with
|
1348
|
+
# its "create" field prepopulated with an MediaFile instance.
|
1374
1349
|
#
|
1375
|
-
# @overload
|
1376
|
-
# creates an operation instance, yielding a newly fabricated
|
1350
|
+
# @overload media_file
|
1351
|
+
# creates an operation instance, yielding a newly fabricated MediaFile
|
1377
1352
|
# which can be used for setting attributes on the newly created resource
|
1378
|
-
# @overload
|
1353
|
+
# @overload media_file(res)
|
1379
1354
|
# creates an operation instance, with the resource to be created
|
1380
1355
|
# set to the passed value (res)
|
1381
|
-
# @param res [Google::Ads::GoogleAds::V2::Resources::
|
1356
|
+
# @param res [Google::Ads::GoogleAds::V2::Resources::MediaFile]
|
1382
1357
|
# a resource instance to be used for creation in this operation.
|
1383
1358
|
#
|
1384
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
1385
|
-
def self.
|
1386
|
-
require "google/ads/google_ads/v2/services/
|
1387
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
1359
|
+
# @return [Google::Ads::GoogleAds::V2::Services::MediaFileOperation] instance that will create the resource
|
1360
|
+
def self.media_file(res = nil, &blk)
|
1361
|
+
require "google/ads/google_ads/v2/services/media_file_service_pb.rb"
|
1362
|
+
op = Google::Ads::GoogleAds::V2::Services::MediaFileOperation.new
|
1388
1363
|
if !res.nil?
|
1389
1364
|
op["create"] = res
|
1390
1365
|
elsif !blk.nil?
|
1391
|
-
op["create"] = Factories::V2::Resources.
|
1366
|
+
op["create"] = Factories::V2::Resources.media_file(&blk)
|
1392
1367
|
end
|
1393
1368
|
|
1394
1369
|
op
|
1395
1370
|
end
|
1396
1371
|
|
1397
|
-
# A convenience method for creating an
|
1398
|
-
# its "create" field prepopulated with an
|
1372
|
+
# A convenience method for creating an RemarketingActionOperation instance with
|
1373
|
+
# its "create" field prepopulated with an RemarketingAction instance.
|
1399
1374
|
#
|
1400
|
-
# @overload
|
1401
|
-
# creates an operation instance, yielding a newly fabricated
|
1375
|
+
# @overload remarketing_action
|
1376
|
+
# creates an operation instance, yielding a newly fabricated RemarketingAction
|
1402
1377
|
# which can be used for setting attributes on the newly created resource
|
1403
|
-
# @overload
|
1378
|
+
# @overload remarketing_action(res)
|
1404
1379
|
# creates an operation instance, with the resource to be created
|
1405
1380
|
# set to the passed value (res)
|
1406
|
-
# @param res [Google::Ads::GoogleAds::V2::Resources::
|
1381
|
+
# @param res [Google::Ads::GoogleAds::V2::Resources::RemarketingAction]
|
1407
1382
|
# a resource instance to be used for creation in this operation.
|
1408
1383
|
#
|
1409
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
1410
|
-
def self.
|
1411
|
-
require "google/ads/google_ads/v2/services/
|
1412
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
1384
|
+
# @return [Google::Ads::GoogleAds::V2::Services::RemarketingActionOperation] instance that will create the resource
|
1385
|
+
def self.remarketing_action(res = nil, &blk)
|
1386
|
+
require "google/ads/google_ads/v2/services/remarketing_action_service_pb.rb"
|
1387
|
+
op = Google::Ads::GoogleAds::V2::Services::RemarketingActionOperation.new
|
1413
1388
|
if !res.nil?
|
1414
1389
|
op["create"] = res
|
1415
1390
|
elsif !blk.nil?
|
1416
|
-
op["create"] = Factories::V2::Resources.
|
1391
|
+
op["create"] = Factories::V2::Resources.remarketing_action(&blk)
|
1417
1392
|
end
|
1418
1393
|
|
1419
1394
|
op
|
@@ -1444,26 +1419,26 @@ module Google
|
|
1444
1419
|
op
|
1445
1420
|
end
|
1446
1421
|
|
1447
|
-
# A convenience method for creating an
|
1448
|
-
# its "create" field prepopulated with an
|
1422
|
+
# A convenience method for creating an CustomerClientLinkOperation instance with
|
1423
|
+
# its "create" field prepopulated with an CustomerClientLink instance.
|
1449
1424
|
#
|
1450
|
-
# @overload
|
1451
|
-
# creates an operation instance, yielding a newly fabricated
|
1425
|
+
# @overload customer_client_link
|
1426
|
+
# creates an operation instance, yielding a newly fabricated CustomerClientLink
|
1452
1427
|
# which can be used for setting attributes on the newly created resource
|
1453
|
-
# @overload
|
1428
|
+
# @overload customer_client_link(res)
|
1454
1429
|
# creates an operation instance, with the resource to be created
|
1455
1430
|
# set to the passed value (res)
|
1456
|
-
# @param res [Google::Ads::GoogleAds::V2::Resources::
|
1431
|
+
# @param res [Google::Ads::GoogleAds::V2::Resources::CustomerClientLink]
|
1457
1432
|
# a resource instance to be used for creation in this operation.
|
1458
1433
|
#
|
1459
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
1460
|
-
def self.
|
1461
|
-
require "google/ads/google_ads/v2/services/
|
1462
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
1434
|
+
# @return [Google::Ads::GoogleAds::V2::Services::CustomerClientLinkOperation] instance that will create the resource
|
1435
|
+
def self.customer_client_link(res = nil, &blk)
|
1436
|
+
require "google/ads/google_ads/v2/services/customer_client_link_service_pb.rb"
|
1437
|
+
op = Google::Ads::GoogleAds::V2::Services::CustomerClientLinkOperation.new
|
1463
1438
|
if !res.nil?
|
1464
1439
|
op["create"] = res
|
1465
1440
|
elsif !blk.nil?
|
1466
|
-
op["create"] = Factories::V2::Resources.
|
1441
|
+
op["create"] = Factories::V2::Resources.customer_client_link(&blk)
|
1467
1442
|
end
|
1468
1443
|
|
1469
1444
|
op
|
@@ -1494,101 +1469,101 @@ module Google
|
|
1494
1469
|
op
|
1495
1470
|
end
|
1496
1471
|
|
1497
|
-
# A convenience method for creating an
|
1498
|
-
# its "create" field prepopulated with an
|
1472
|
+
# A convenience method for creating an KeywordPlanNegativeKeywordOperation instance with
|
1473
|
+
# its "create" field prepopulated with an KeywordPlanNegativeKeyword instance.
|
1499
1474
|
#
|
1500
|
-
# @overload
|
1501
|
-
# creates an operation instance, yielding a newly fabricated
|
1475
|
+
# @overload keyword_plan_negative_keyword
|
1476
|
+
# creates an operation instance, yielding a newly fabricated KeywordPlanNegativeKeyword
|
1502
1477
|
# which can be used for setting attributes on the newly created resource
|
1503
|
-
# @overload
|
1478
|
+
# @overload keyword_plan_negative_keyword(res)
|
1504
1479
|
# creates an operation instance, with the resource to be created
|
1505
1480
|
# set to the passed value (res)
|
1506
|
-
# @param res [Google::Ads::GoogleAds::V2::Resources::
|
1481
|
+
# @param res [Google::Ads::GoogleAds::V2::Resources::KeywordPlanNegativeKeyword]
|
1507
1482
|
# a resource instance to be used for creation in this operation.
|
1508
1483
|
#
|
1509
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
1510
|
-
def self.
|
1511
|
-
require "google/ads/google_ads/v2/services/
|
1512
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
1484
|
+
# @return [Google::Ads::GoogleAds::V2::Services::KeywordPlanNegativeKeywordOperation] instance that will create the resource
|
1485
|
+
def self.keyword_plan_negative_keyword(res = nil, &blk)
|
1486
|
+
require "google/ads/google_ads/v2/services/keyword_plan_negative_keyword_service_pb.rb"
|
1487
|
+
op = Google::Ads::GoogleAds::V2::Services::KeywordPlanNegativeKeywordOperation.new
|
1513
1488
|
if !res.nil?
|
1514
1489
|
op["create"] = res
|
1515
1490
|
elsif !blk.nil?
|
1516
|
-
op["create"] = Factories::V2::Resources.
|
1491
|
+
op["create"] = Factories::V2::Resources.keyword_plan_negative_keyword(&blk)
|
1517
1492
|
end
|
1518
1493
|
|
1519
1494
|
op
|
1520
1495
|
end
|
1521
1496
|
|
1522
|
-
# A convenience method for creating an
|
1523
|
-
# its "create" field prepopulated with an
|
1497
|
+
# A convenience method for creating an KeywordPlanOperation instance with
|
1498
|
+
# its "create" field prepopulated with an KeywordPlan instance.
|
1524
1499
|
#
|
1525
|
-
# @overload
|
1526
|
-
# creates an operation instance, yielding a newly fabricated
|
1500
|
+
# @overload keyword_plan
|
1501
|
+
# creates an operation instance, yielding a newly fabricated KeywordPlan
|
1527
1502
|
# which can be used for setting attributes on the newly created resource
|
1528
|
-
# @overload
|
1503
|
+
# @overload keyword_plan(res)
|
1529
1504
|
# creates an operation instance, with the resource to be created
|
1530
1505
|
# set to the passed value (res)
|
1531
|
-
# @param res [Google::Ads::GoogleAds::V2::Resources::
|
1506
|
+
# @param res [Google::Ads::GoogleAds::V2::Resources::KeywordPlan]
|
1532
1507
|
# a resource instance to be used for creation in this operation.
|
1533
1508
|
#
|
1534
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
1535
|
-
def self.
|
1536
|
-
require "google/ads/google_ads/v2/services/
|
1537
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
1509
|
+
# @return [Google::Ads::GoogleAds::V2::Services::KeywordPlanOperation] instance that will create the resource
|
1510
|
+
def self.keyword_plan(res = nil, &blk)
|
1511
|
+
require "google/ads/google_ads/v2/services/keyword_plan_service_pb.rb"
|
1512
|
+
op = Google::Ads::GoogleAds::V2::Services::KeywordPlanOperation.new
|
1538
1513
|
if !res.nil?
|
1539
1514
|
op["create"] = res
|
1540
1515
|
elsif !blk.nil?
|
1541
|
-
op["create"] = Factories::V2::Resources.
|
1516
|
+
op["create"] = Factories::V2::Resources.keyword_plan(&blk)
|
1542
1517
|
end
|
1543
1518
|
|
1544
1519
|
op
|
1545
1520
|
end
|
1546
1521
|
|
1547
|
-
# A convenience method for creating an
|
1548
|
-
# its "create" field prepopulated with an
|
1522
|
+
# A convenience method for creating an KeywordPlanKeywordOperation instance with
|
1523
|
+
# its "create" field prepopulated with an KeywordPlanKeyword instance.
|
1549
1524
|
#
|
1550
|
-
# @overload
|
1551
|
-
# creates an operation instance, yielding a newly fabricated
|
1525
|
+
# @overload keyword_plan_keyword
|
1526
|
+
# creates an operation instance, yielding a newly fabricated KeywordPlanKeyword
|
1552
1527
|
# which can be used for setting attributes on the newly created resource
|
1553
|
-
# @overload
|
1528
|
+
# @overload keyword_plan_keyword(res)
|
1554
1529
|
# creates an operation instance, with the resource to be created
|
1555
1530
|
# set to the passed value (res)
|
1556
|
-
# @param res [Google::Ads::GoogleAds::V2::Resources::
|
1531
|
+
# @param res [Google::Ads::GoogleAds::V2::Resources::KeywordPlanKeyword]
|
1557
1532
|
# a resource instance to be used for creation in this operation.
|
1558
1533
|
#
|
1559
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
1560
|
-
def self.
|
1561
|
-
require "google/ads/google_ads/v2/services/
|
1562
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
1534
|
+
# @return [Google::Ads::GoogleAds::V2::Services::KeywordPlanKeywordOperation] instance that will create the resource
|
1535
|
+
def self.keyword_plan_keyword(res = nil, &blk)
|
1536
|
+
require "google/ads/google_ads/v2/services/keyword_plan_keyword_service_pb.rb"
|
1537
|
+
op = Google::Ads::GoogleAds::V2::Services::KeywordPlanKeywordOperation.new
|
1563
1538
|
if !res.nil?
|
1564
1539
|
op["create"] = res
|
1565
1540
|
elsif !blk.nil?
|
1566
|
-
op["create"] = Factories::V2::Resources.
|
1541
|
+
op["create"] = Factories::V2::Resources.keyword_plan_keyword(&blk)
|
1567
1542
|
end
|
1568
1543
|
|
1569
1544
|
op
|
1570
1545
|
end
|
1571
1546
|
|
1572
|
-
# A convenience method for creating an
|
1573
|
-
# its "create" field prepopulated with an
|
1547
|
+
# A convenience method for creating an KeywordPlanCampaignOperation instance with
|
1548
|
+
# its "create" field prepopulated with an KeywordPlanCampaign instance.
|
1574
1549
|
#
|
1575
|
-
# @overload
|
1576
|
-
# creates an operation instance, yielding a newly fabricated
|
1550
|
+
# @overload keyword_plan_campaign
|
1551
|
+
# creates an operation instance, yielding a newly fabricated KeywordPlanCampaign
|
1577
1552
|
# which can be used for setting attributes on the newly created resource
|
1578
|
-
# @overload
|
1553
|
+
# @overload keyword_plan_campaign(res)
|
1579
1554
|
# creates an operation instance, with the resource to be created
|
1580
1555
|
# set to the passed value (res)
|
1581
|
-
# @param res [Google::Ads::GoogleAds::V2::Resources::
|
1556
|
+
# @param res [Google::Ads::GoogleAds::V2::Resources::KeywordPlanCampaign]
|
1582
1557
|
# a resource instance to be used for creation in this operation.
|
1583
1558
|
#
|
1584
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
1585
|
-
def self.
|
1586
|
-
require "google/ads/google_ads/v2/services/
|
1587
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
1559
|
+
# @return [Google::Ads::GoogleAds::V2::Services::KeywordPlanCampaignOperation] instance that will create the resource
|
1560
|
+
def self.keyword_plan_campaign(res = nil, &blk)
|
1561
|
+
require "google/ads/google_ads/v2/services/keyword_plan_campaign_service_pb.rb"
|
1562
|
+
op = Google::Ads::GoogleAds::V2::Services::KeywordPlanCampaignOperation.new
|
1588
1563
|
if !res.nil?
|
1589
1564
|
op["create"] = res
|
1590
1565
|
elsif !blk.nil?
|
1591
|
-
op["create"] = Factories::V2::Resources.
|
1566
|
+
op["create"] = Factories::V2::Resources.keyword_plan_campaign(&blk)
|
1592
1567
|
end
|
1593
1568
|
|
1594
1569
|
op
|
@@ -1618,34 +1593,59 @@ module Google
|
|
1618
1593
|
|
1619
1594
|
op
|
1620
1595
|
end
|
1596
|
+
|
1597
|
+
# A convenience method for creating an BillingSetupOperation instance with
|
1598
|
+
# its "create" field prepopulated with an BillingSetup instance.
|
1599
|
+
#
|
1600
|
+
# @overload billing_setup
|
1601
|
+
# creates an operation instance, yielding a newly fabricated BillingSetup
|
1602
|
+
# which can be used for setting attributes on the newly created resource
|
1603
|
+
# @overload billing_setup(res)
|
1604
|
+
# creates an operation instance, with the resource to be created
|
1605
|
+
# set to the passed value (res)
|
1606
|
+
# @param res [Google::Ads::GoogleAds::V2::Resources::BillingSetup]
|
1607
|
+
# a resource instance to be used for creation in this operation.
|
1608
|
+
#
|
1609
|
+
# @return [Google::Ads::GoogleAds::V2::Services::BillingSetupOperation] instance that will create the resource
|
1610
|
+
def self.billing_setup(res = nil, &blk)
|
1611
|
+
require "google/ads/google_ads/v2/services/billing_setup_service_pb.rb"
|
1612
|
+
op = Google::Ads::GoogleAds::V2::Services::BillingSetupOperation.new
|
1613
|
+
if !res.nil?
|
1614
|
+
op["create"] = res
|
1615
|
+
elsif !blk.nil?
|
1616
|
+
op["create"] = Factories::V2::Resources.billing_setup(&blk)
|
1617
|
+
end
|
1618
|
+
|
1619
|
+
op
|
1620
|
+
end
|
1621
1621
|
end
|
1622
1622
|
|
1623
1623
|
module UpdateResource
|
1624
|
-
# A convenience method for creating an
|
1625
|
-
# its "update" field prepopulated with an
|
1624
|
+
# A convenience method for creating an CustomInterestOperation instance with
|
1625
|
+
# its "update" field prepopulated with an CustomInterest instance, and
|
1626
1626
|
# its "update_mask" field populated as needed to send the updates to the API.
|
1627
1627
|
#
|
1628
|
-
# @overload #
|
1628
|
+
# @overload #custom_interest(path, &blk)
|
1629
1629
|
# @param path [String] a resource path for the resource to update
|
1630
|
-
# @yield [Google::Ads::GoogleAds::V2::Resources::
|
1630
|
+
# @yield [Google::Ads::GoogleAds::V2::Resources::CustomInterest] a new instance of the resource for this update operation, on
|
1631
1631
|
# which fields can be set to update
|
1632
1632
|
#
|
1633
|
-
# @overload #
|
1634
|
-
# @param resource [Google::Ads::GoogleAds::V2::Resources::
|
1633
|
+
# @overload #custom_interest(resource, &blk)
|
1634
|
+
# @param resource [Google::Ads::GoogleAds::V2::Resources::CustomInterest] a resource instance to update
|
1635
1635
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
1636
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
1637
|
-
def self.
|
1638
|
-
require "google/ads/google_ads/v2/services/
|
1636
|
+
# @return [Google::Ads::GoogleAds::V2::Services::CustomInterestOperation] the operation instance to update the resource
|
1637
|
+
def self.custom_interest(resource_or_path, &blk)
|
1638
|
+
require "google/ads/google_ads/v2/services/custom_interest_service_pb.rb"
|
1639
1639
|
res = case resource_or_path
|
1640
|
-
when Google::Ads::GoogleAds::V2::Resources::
|
1640
|
+
when Google::Ads::GoogleAds::V2::Resources::CustomInterest
|
1641
1641
|
resource_or_path
|
1642
1642
|
# got a resource path
|
1643
1643
|
when String
|
1644
|
-
obj = Google::Ads::GoogleAds::V2::Resources::
|
1644
|
+
obj = Google::Ads::GoogleAds::V2::Resources::CustomInterest.new
|
1645
1645
|
obj.resource_name = resource_or_path
|
1646
1646
|
obj
|
1647
1647
|
else
|
1648
|
-
unless Google::Ads::GoogleAds::V2::Resources::
|
1648
|
+
unless Google::Ads::GoogleAds::V2::Resources::CustomInterest === res
|
1649
1649
|
raise ArgumentError.new(
|
1650
1650
|
"Called #{__method__} with instance of wrong type:"\
|
1651
1651
|
" #{res.class} want #{operation.update_class}"\
|
@@ -1654,37 +1654,37 @@ module Google
|
|
1654
1654
|
end
|
1655
1655
|
end
|
1656
1656
|
|
1657
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
1657
|
+
op = Google::Ads::GoogleAds::V2::Services::CustomInterestOperation.new
|
1658
1658
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
1659
1659
|
op["update"] = res
|
1660
1660
|
op
|
1661
1661
|
end
|
1662
1662
|
|
1663
|
-
# A convenience method for creating an
|
1664
|
-
# its "update" field prepopulated with an
|
1663
|
+
# A convenience method for creating an AdGroupOperation instance with
|
1664
|
+
# its "update" field prepopulated with an AdGroup instance, and
|
1665
1665
|
# its "update_mask" field populated as needed to send the updates to the API.
|
1666
1666
|
#
|
1667
|
-
# @overload #
|
1667
|
+
# @overload #ad_group(path, &blk)
|
1668
1668
|
# @param path [String] a resource path for the resource to update
|
1669
|
-
# @yield [Google::Ads::GoogleAds::V2::Resources::
|
1669
|
+
# @yield [Google::Ads::GoogleAds::V2::Resources::AdGroup] a new instance of the resource for this update operation, on
|
1670
1670
|
# which fields can be set to update
|
1671
1671
|
#
|
1672
|
-
# @overload #
|
1673
|
-
# @param resource [Google::Ads::GoogleAds::V2::Resources::
|
1672
|
+
# @overload #ad_group(resource, &blk)
|
1673
|
+
# @param resource [Google::Ads::GoogleAds::V2::Resources::AdGroup] a resource instance to update
|
1674
1674
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
1675
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
1676
|
-
def self.
|
1677
|
-
require "google/ads/google_ads/v2/services/
|
1675
|
+
# @return [Google::Ads::GoogleAds::V2::Services::AdGroupOperation] the operation instance to update the resource
|
1676
|
+
def self.ad_group(resource_or_path, &blk)
|
1677
|
+
require "google/ads/google_ads/v2/services/ad_group_service_pb.rb"
|
1678
1678
|
res = case resource_or_path
|
1679
|
-
when Google::Ads::GoogleAds::V2::Resources::
|
1679
|
+
when Google::Ads::GoogleAds::V2::Resources::AdGroup
|
1680
1680
|
resource_or_path
|
1681
1681
|
# got a resource path
|
1682
1682
|
when String
|
1683
|
-
obj = Google::Ads::GoogleAds::V2::Resources::
|
1683
|
+
obj = Google::Ads::GoogleAds::V2::Resources::AdGroup.new
|
1684
1684
|
obj.resource_name = resource_or_path
|
1685
1685
|
obj
|
1686
1686
|
else
|
1687
|
-
unless Google::Ads::GoogleAds::V2::Resources::
|
1687
|
+
unless Google::Ads::GoogleAds::V2::Resources::AdGroup === res
|
1688
1688
|
raise ArgumentError.new(
|
1689
1689
|
"Called #{__method__} with instance of wrong type:"\
|
1690
1690
|
" #{res.class} want #{operation.update_class}"\
|
@@ -1693,37 +1693,37 @@ module Google
|
|
1693
1693
|
end
|
1694
1694
|
end
|
1695
1695
|
|
1696
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
1696
|
+
op = Google::Ads::GoogleAds::V2::Services::AdGroupOperation.new
|
1697
1697
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
1698
1698
|
op["update"] = res
|
1699
1699
|
op
|
1700
1700
|
end
|
1701
1701
|
|
1702
|
-
# A convenience method for creating an
|
1703
|
-
# its "update" field prepopulated with an
|
1702
|
+
# A convenience method for creating an ExtensionFeedItemOperation instance with
|
1703
|
+
# its "update" field prepopulated with an ExtensionFeedItem instance, and
|
1704
1704
|
# its "update_mask" field populated as needed to send the updates to the API.
|
1705
1705
|
#
|
1706
|
-
# @overload #
|
1706
|
+
# @overload #extension_feed_item(path, &blk)
|
1707
1707
|
# @param path [String] a resource path for the resource to update
|
1708
|
-
# @yield [Google::Ads::GoogleAds::V2::Resources::
|
1708
|
+
# @yield [Google::Ads::GoogleAds::V2::Resources::ExtensionFeedItem] a new instance of the resource for this update operation, on
|
1709
1709
|
# which fields can be set to update
|
1710
1710
|
#
|
1711
|
-
# @overload #
|
1712
|
-
# @param resource [Google::Ads::GoogleAds::V2::Resources::
|
1711
|
+
# @overload #extension_feed_item(resource, &blk)
|
1712
|
+
# @param resource [Google::Ads::GoogleAds::V2::Resources::ExtensionFeedItem] a resource instance to update
|
1713
1713
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
1714
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
1715
|
-
def self.
|
1716
|
-
require "google/ads/google_ads/v2/services/
|
1714
|
+
# @return [Google::Ads::GoogleAds::V2::Services::ExtensionFeedItemOperation] the operation instance to update the resource
|
1715
|
+
def self.extension_feed_item(resource_or_path, &blk)
|
1716
|
+
require "google/ads/google_ads/v2/services/extension_feed_item_service_pb.rb"
|
1717
1717
|
res = case resource_or_path
|
1718
|
-
when Google::Ads::GoogleAds::V2::Resources::
|
1718
|
+
when Google::Ads::GoogleAds::V2::Resources::ExtensionFeedItem
|
1719
1719
|
resource_or_path
|
1720
1720
|
# got a resource path
|
1721
1721
|
when String
|
1722
|
-
obj = Google::Ads::GoogleAds::V2::Resources::
|
1722
|
+
obj = Google::Ads::GoogleAds::V2::Resources::ExtensionFeedItem.new
|
1723
1723
|
obj.resource_name = resource_or_path
|
1724
1724
|
obj
|
1725
1725
|
else
|
1726
|
-
unless Google::Ads::GoogleAds::V2::Resources::
|
1726
|
+
unless Google::Ads::GoogleAds::V2::Resources::ExtensionFeedItem === res
|
1727
1727
|
raise ArgumentError.new(
|
1728
1728
|
"Called #{__method__} with instance of wrong type:"\
|
1729
1729
|
" #{res.class} want #{operation.update_class}"\
|
@@ -1732,37 +1732,37 @@ module Google
|
|
1732
1732
|
end
|
1733
1733
|
end
|
1734
1734
|
|
1735
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
1735
|
+
op = Google::Ads::GoogleAds::V2::Services::ExtensionFeedItemOperation.new
|
1736
1736
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
1737
1737
|
op["update"] = res
|
1738
1738
|
op
|
1739
1739
|
end
|
1740
1740
|
|
1741
|
-
# A convenience method for creating an
|
1742
|
-
# its "update" field prepopulated with an
|
1741
|
+
# A convenience method for creating an CampaignBidModifierOperation instance with
|
1742
|
+
# its "update" field prepopulated with an CampaignBidModifier instance, and
|
1743
1743
|
# its "update_mask" field populated as needed to send the updates to the API.
|
1744
1744
|
#
|
1745
|
-
# @overload #
|
1745
|
+
# @overload #campaign_bid_modifier(path, &blk)
|
1746
1746
|
# @param path [String] a resource path for the resource to update
|
1747
|
-
# @yield [Google::Ads::GoogleAds::V2::Resources::
|
1747
|
+
# @yield [Google::Ads::GoogleAds::V2::Resources::CampaignBidModifier] a new instance of the resource for this update operation, on
|
1748
1748
|
# which fields can be set to update
|
1749
1749
|
#
|
1750
|
-
# @overload #
|
1751
|
-
# @param resource [Google::Ads::GoogleAds::V2::Resources::
|
1750
|
+
# @overload #campaign_bid_modifier(resource, &blk)
|
1751
|
+
# @param resource [Google::Ads::GoogleAds::V2::Resources::CampaignBidModifier] a resource instance to update
|
1752
1752
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
1753
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
1754
|
-
def self.
|
1755
|
-
require "google/ads/google_ads/v2/services/
|
1753
|
+
# @return [Google::Ads::GoogleAds::V2::Services::CampaignBidModifierOperation] the operation instance to update the resource
|
1754
|
+
def self.campaign_bid_modifier(resource_or_path, &blk)
|
1755
|
+
require "google/ads/google_ads/v2/services/campaign_bid_modifier_service_pb.rb"
|
1756
1756
|
res = case resource_or_path
|
1757
|
-
when Google::Ads::GoogleAds::V2::Resources::
|
1757
|
+
when Google::Ads::GoogleAds::V2::Resources::CampaignBidModifier
|
1758
1758
|
resource_or_path
|
1759
1759
|
# got a resource path
|
1760
1760
|
when String
|
1761
|
-
obj = Google::Ads::GoogleAds::V2::Resources::
|
1761
|
+
obj = Google::Ads::GoogleAds::V2::Resources::CampaignBidModifier.new
|
1762
1762
|
obj.resource_name = resource_or_path
|
1763
1763
|
obj
|
1764
1764
|
else
|
1765
|
-
unless Google::Ads::GoogleAds::V2::Resources::
|
1765
|
+
unless Google::Ads::GoogleAds::V2::Resources::CampaignBidModifier === res
|
1766
1766
|
raise ArgumentError.new(
|
1767
1767
|
"Called #{__method__} with instance of wrong type:"\
|
1768
1768
|
" #{res.class} want #{operation.update_class}"\
|
@@ -1771,37 +1771,37 @@ module Google
|
|
1771
1771
|
end
|
1772
1772
|
end
|
1773
1773
|
|
1774
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
1774
|
+
op = Google::Ads::GoogleAds::V2::Services::CampaignBidModifierOperation.new
|
1775
1775
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
1776
1776
|
op["update"] = res
|
1777
1777
|
op
|
1778
1778
|
end
|
1779
1779
|
|
1780
|
-
# A convenience method for creating an
|
1781
|
-
# its "update" field prepopulated with an
|
1780
|
+
# A convenience method for creating an CampaignDraftOperation instance with
|
1781
|
+
# its "update" field prepopulated with an CampaignDraft instance, and
|
1782
1782
|
# its "update_mask" field populated as needed to send the updates to the API.
|
1783
1783
|
#
|
1784
|
-
# @overload #
|
1784
|
+
# @overload #campaign_draft(path, &blk)
|
1785
1785
|
# @param path [String] a resource path for the resource to update
|
1786
|
-
# @yield [Google::Ads::GoogleAds::V2::Resources::
|
1786
|
+
# @yield [Google::Ads::GoogleAds::V2::Resources::CampaignDraft] a new instance of the resource for this update operation, on
|
1787
1787
|
# which fields can be set to update
|
1788
1788
|
#
|
1789
|
-
# @overload #
|
1790
|
-
# @param resource [Google::Ads::GoogleAds::V2::Resources::
|
1789
|
+
# @overload #campaign_draft(resource, &blk)
|
1790
|
+
# @param resource [Google::Ads::GoogleAds::V2::Resources::CampaignDraft] a resource instance to update
|
1791
1791
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
1792
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
1793
|
-
def self.
|
1794
|
-
require "google/ads/google_ads/v2/services/
|
1792
|
+
# @return [Google::Ads::GoogleAds::V2::Services::CampaignDraftOperation] the operation instance to update the resource
|
1793
|
+
def self.campaign_draft(resource_or_path, &blk)
|
1794
|
+
require "google/ads/google_ads/v2/services/campaign_draft_service_pb.rb"
|
1795
1795
|
res = case resource_or_path
|
1796
|
-
when Google::Ads::GoogleAds::V2::Resources::
|
1796
|
+
when Google::Ads::GoogleAds::V2::Resources::CampaignDraft
|
1797
1797
|
resource_or_path
|
1798
1798
|
# got a resource path
|
1799
1799
|
when String
|
1800
|
-
obj = Google::Ads::GoogleAds::V2::Resources::
|
1800
|
+
obj = Google::Ads::GoogleAds::V2::Resources::CampaignDraft.new
|
1801
1801
|
obj.resource_name = resource_or_path
|
1802
1802
|
obj
|
1803
1803
|
else
|
1804
|
-
unless Google::Ads::GoogleAds::V2::Resources::
|
1804
|
+
unless Google::Ads::GoogleAds::V2::Resources::CampaignDraft === res
|
1805
1805
|
raise ArgumentError.new(
|
1806
1806
|
"Called #{__method__} with instance of wrong type:"\
|
1807
1807
|
" #{res.class} want #{operation.update_class}"\
|
@@ -1810,37 +1810,37 @@ module Google
|
|
1810
1810
|
end
|
1811
1811
|
end
|
1812
1812
|
|
1813
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
1813
|
+
op = Google::Ads::GoogleAds::V2::Services::CampaignDraftOperation.new
|
1814
1814
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
1815
1815
|
op["update"] = res
|
1816
1816
|
op
|
1817
1817
|
end
|
1818
1818
|
|
1819
|
-
# A convenience method for creating an
|
1820
|
-
# its "update" field prepopulated with an
|
1819
|
+
# A convenience method for creating an CustomerOperation instance with
|
1820
|
+
# its "update" field prepopulated with an Customer instance, and
|
1821
1821
|
# its "update_mask" field populated as needed to send the updates to the API.
|
1822
1822
|
#
|
1823
|
-
# @overload #
|
1823
|
+
# @overload #customer(path, &blk)
|
1824
1824
|
# @param path [String] a resource path for the resource to update
|
1825
|
-
# @yield [Google::Ads::GoogleAds::V2::Resources::
|
1825
|
+
# @yield [Google::Ads::GoogleAds::V2::Resources::Customer] a new instance of the resource for this update operation, on
|
1826
1826
|
# which fields can be set to update
|
1827
1827
|
#
|
1828
|
-
# @overload #
|
1829
|
-
# @param resource [Google::Ads::GoogleAds::V2::Resources::
|
1828
|
+
# @overload #customer(resource, &blk)
|
1829
|
+
# @param resource [Google::Ads::GoogleAds::V2::Resources::Customer] a resource instance to update
|
1830
1830
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
1831
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
1832
|
-
def self.
|
1833
|
-
require "google/ads/google_ads/v2/services/
|
1831
|
+
# @return [Google::Ads::GoogleAds::V2::Services::CustomerOperation] the operation instance to update the resource
|
1832
|
+
def self.customer(resource_or_path, &blk)
|
1833
|
+
require "google/ads/google_ads/v2/services/customer_service_pb.rb"
|
1834
1834
|
res = case resource_or_path
|
1835
|
-
when Google::Ads::GoogleAds::V2::Resources::
|
1835
|
+
when Google::Ads::GoogleAds::V2::Resources::Customer
|
1836
1836
|
resource_or_path
|
1837
1837
|
# got a resource path
|
1838
1838
|
when String
|
1839
|
-
obj = Google::Ads::GoogleAds::V2::Resources::
|
1839
|
+
obj = Google::Ads::GoogleAds::V2::Resources::Customer.new
|
1840
1840
|
obj.resource_name = resource_or_path
|
1841
1841
|
obj
|
1842
1842
|
else
|
1843
|
-
unless Google::Ads::GoogleAds::V2::Resources::
|
1843
|
+
unless Google::Ads::GoogleAds::V2::Resources::Customer === res
|
1844
1844
|
raise ArgumentError.new(
|
1845
1845
|
"Called #{__method__} with instance of wrong type:"\
|
1846
1846
|
" #{res.class} want #{operation.update_class}"\
|
@@ -1849,37 +1849,37 @@ module Google
|
|
1849
1849
|
end
|
1850
1850
|
end
|
1851
1851
|
|
1852
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
1852
|
+
op = Google::Ads::GoogleAds::V2::Services::CustomerOperation.new
|
1853
1853
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
1854
1854
|
op["update"] = res
|
1855
1855
|
op
|
1856
1856
|
end
|
1857
1857
|
|
1858
|
-
# A convenience method for creating an
|
1859
|
-
# its "update" field prepopulated with an
|
1858
|
+
# A convenience method for creating an SharedSetOperation instance with
|
1859
|
+
# its "update" field prepopulated with an SharedSet instance, and
|
1860
1860
|
# its "update_mask" field populated as needed to send the updates to the API.
|
1861
1861
|
#
|
1862
|
-
# @overload #
|
1862
|
+
# @overload #shared_set(path, &blk)
|
1863
1863
|
# @param path [String] a resource path for the resource to update
|
1864
|
-
# @yield [Google::Ads::GoogleAds::V2::Resources::
|
1864
|
+
# @yield [Google::Ads::GoogleAds::V2::Resources::SharedSet] a new instance of the resource for this update operation, on
|
1865
1865
|
# which fields can be set to update
|
1866
1866
|
#
|
1867
|
-
# @overload #
|
1868
|
-
# @param resource [Google::Ads::GoogleAds::V2::Resources::
|
1867
|
+
# @overload #shared_set(resource, &blk)
|
1868
|
+
# @param resource [Google::Ads::GoogleAds::V2::Resources::SharedSet] a resource instance to update
|
1869
1869
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
1870
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
1871
|
-
def self.
|
1872
|
-
require "google/ads/google_ads/v2/services/
|
1870
|
+
# @return [Google::Ads::GoogleAds::V2::Services::SharedSetOperation] the operation instance to update the resource
|
1871
|
+
def self.shared_set(resource_or_path, &blk)
|
1872
|
+
require "google/ads/google_ads/v2/services/shared_set_service_pb.rb"
|
1873
1873
|
res = case resource_or_path
|
1874
|
-
when Google::Ads::GoogleAds::V2::Resources::
|
1874
|
+
when Google::Ads::GoogleAds::V2::Resources::SharedSet
|
1875
1875
|
resource_or_path
|
1876
1876
|
# got a resource path
|
1877
1877
|
when String
|
1878
|
-
obj = Google::Ads::GoogleAds::V2::Resources::
|
1878
|
+
obj = Google::Ads::GoogleAds::V2::Resources::SharedSet.new
|
1879
1879
|
obj.resource_name = resource_or_path
|
1880
1880
|
obj
|
1881
1881
|
else
|
1882
|
-
unless Google::Ads::GoogleAds::V2::Resources::
|
1882
|
+
unless Google::Ads::GoogleAds::V2::Resources::SharedSet === res
|
1883
1883
|
raise ArgumentError.new(
|
1884
1884
|
"Called #{__method__} with instance of wrong type:"\
|
1885
1885
|
" #{res.class} want #{operation.update_class}"\
|
@@ -1888,7 +1888,7 @@ module Google
|
|
1888
1888
|
end
|
1889
1889
|
end
|
1890
1890
|
|
1891
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
1891
|
+
op = Google::Ads::GoogleAds::V2::Services::SharedSetOperation.new
|
1892
1892
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
1893
1893
|
op["update"] = res
|
1894
1894
|
op
|
@@ -1933,31 +1933,31 @@ module Google
|
|
1933
1933
|
op
|
1934
1934
|
end
|
1935
1935
|
|
1936
|
-
# A convenience method for creating an
|
1937
|
-
# its "update" field prepopulated with an
|
1936
|
+
# A convenience method for creating an LabelOperation instance with
|
1937
|
+
# its "update" field prepopulated with an Label instance, and
|
1938
1938
|
# its "update_mask" field populated as needed to send the updates to the API.
|
1939
1939
|
#
|
1940
|
-
# @overload #
|
1940
|
+
# @overload #label(path, &blk)
|
1941
1941
|
# @param path [String] a resource path for the resource to update
|
1942
|
-
# @yield [Google::Ads::GoogleAds::V2::Resources::
|
1942
|
+
# @yield [Google::Ads::GoogleAds::V2::Resources::Label] a new instance of the resource for this update operation, on
|
1943
1943
|
# which fields can be set to update
|
1944
1944
|
#
|
1945
|
-
# @overload #
|
1946
|
-
# @param resource [Google::Ads::GoogleAds::V2::Resources::
|
1945
|
+
# @overload #label(resource, &blk)
|
1946
|
+
# @param resource [Google::Ads::GoogleAds::V2::Resources::Label] a resource instance to update
|
1947
1947
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
1948
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
1949
|
-
def self.
|
1950
|
-
require "google/ads/google_ads/v2/services/
|
1948
|
+
# @return [Google::Ads::GoogleAds::V2::Services::LabelOperation] the operation instance to update the resource
|
1949
|
+
def self.label(resource_or_path, &blk)
|
1950
|
+
require "google/ads/google_ads/v2/services/label_service_pb.rb"
|
1951
1951
|
res = case resource_or_path
|
1952
|
-
when Google::Ads::GoogleAds::V2::Resources::
|
1952
|
+
when Google::Ads::GoogleAds::V2::Resources::Label
|
1953
1953
|
resource_or_path
|
1954
1954
|
# got a resource path
|
1955
1955
|
when String
|
1956
|
-
obj = Google::Ads::GoogleAds::V2::Resources::
|
1956
|
+
obj = Google::Ads::GoogleAds::V2::Resources::Label.new
|
1957
1957
|
obj.resource_name = resource_or_path
|
1958
1958
|
obj
|
1959
1959
|
else
|
1960
|
-
unless Google::Ads::GoogleAds::V2::Resources::
|
1960
|
+
unless Google::Ads::GoogleAds::V2::Resources::Label === res
|
1961
1961
|
raise ArgumentError.new(
|
1962
1962
|
"Called #{__method__} with instance of wrong type:"\
|
1963
1963
|
" #{res.class} want #{operation.update_class}"\
|
@@ -1966,7 +1966,7 @@ module Google
|
|
1966
1966
|
end
|
1967
1967
|
end
|
1968
1968
|
|
1969
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
1969
|
+
op = Google::Ads::GoogleAds::V2::Services::LabelOperation.new
|
1970
1970
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
1971
1971
|
op["update"] = res
|
1972
1972
|
op
|
@@ -2011,6 +2011,45 @@ module Google
|
|
2011
2011
|
op
|
2012
2012
|
end
|
2013
2013
|
|
2014
|
+
# A convenience method for creating an AdGroupBidModifierOperation instance with
|
2015
|
+
# its "update" field prepopulated with an AdGroupBidModifier instance, and
|
2016
|
+
# its "update_mask" field populated as needed to send the updates to the API.
|
2017
|
+
#
|
2018
|
+
# @overload #ad_group_bid_modifier(path, &blk)
|
2019
|
+
# @param path [String] a resource path for the resource to update
|
2020
|
+
# @yield [Google::Ads::GoogleAds::V2::Resources::AdGroupBidModifier] a new instance of the resource for this update operation, on
|
2021
|
+
# which fields can be set to update
|
2022
|
+
#
|
2023
|
+
# @overload #ad_group_bid_modifier(resource, &blk)
|
2024
|
+
# @param resource [Google::Ads::GoogleAds::V2::Resources::AdGroupBidModifier] a resource instance to update
|
2025
|
+
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2026
|
+
# @return [Google::Ads::GoogleAds::V2::Services::AdGroupBidModifierOperation] the operation instance to update the resource
|
2027
|
+
def self.ad_group_bid_modifier(resource_or_path, &blk)
|
2028
|
+
require "google/ads/google_ads/v2/services/ad_group_bid_modifier_service_pb.rb"
|
2029
|
+
res = case resource_or_path
|
2030
|
+
when Google::Ads::GoogleAds::V2::Resources::AdGroupBidModifier
|
2031
|
+
resource_or_path
|
2032
|
+
# got a resource path
|
2033
|
+
when String
|
2034
|
+
obj = Google::Ads::GoogleAds::V2::Resources::AdGroupBidModifier.new
|
2035
|
+
obj.resource_name = resource_or_path
|
2036
|
+
obj
|
2037
|
+
else
|
2038
|
+
unless Google::Ads::GoogleAds::V2::Resources::AdGroupBidModifier === res
|
2039
|
+
raise ArgumentError.new(
|
2040
|
+
"Called #{__method__} with instance of wrong type:"\
|
2041
|
+
" #{res.class} want #{operation.update_class}"\
|
2042
|
+
" or String representing resource name"
|
2043
|
+
)
|
2044
|
+
end
|
2045
|
+
end
|
2046
|
+
|
2047
|
+
op = Google::Ads::GoogleAds::V2::Services::AdGroupBidModifierOperation.new
|
2048
|
+
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
2049
|
+
op["update"] = res
|
2050
|
+
op
|
2051
|
+
end
|
2052
|
+
|
2014
2053
|
# A convenience method for creating an AdGroupCriterionOperation instance with
|
2015
2054
|
# its "update" field prepopulated with an AdGroupCriterion instance, and
|
2016
2055
|
# its "update_mask" field populated as needed to send the updates to the API.
|
@@ -2093,66 +2132,27 @@ module Google
|
|
2093
2132
|
# its "update" field prepopulated with an AdGroupFeed instance, and
|
2094
2133
|
# its "update_mask" field populated as needed to send the updates to the API.
|
2095
2134
|
#
|
2096
|
-
# @overload #ad_group_feed(path, &blk)
|
2097
|
-
# @param path [String] a resource path for the resource to update
|
2098
|
-
# @yield [Google::Ads::GoogleAds::V2::Resources::AdGroupFeed] a new instance of the resource for this update operation, on
|
2099
|
-
# which fields can be set to update
|
2100
|
-
#
|
2101
|
-
# @overload #ad_group_feed(resource, &blk)
|
2102
|
-
# @param resource [Google::Ads::GoogleAds::V2::Resources::AdGroupFeed] a resource instance to update
|
2103
|
-
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2104
|
-
# @return [Google::Ads::GoogleAds::V2::Services::AdGroupFeedOperation] the operation instance to update the resource
|
2105
|
-
def self.ad_group_feed(resource_or_path, &blk)
|
2106
|
-
require "google/ads/google_ads/v2/services/ad_group_feed_service_pb.rb"
|
2107
|
-
res = case resource_or_path
|
2108
|
-
when Google::Ads::GoogleAds::V2::Resources::AdGroupFeed
|
2109
|
-
resource_or_path
|
2110
|
-
# got a resource path
|
2111
|
-
when String
|
2112
|
-
obj = Google::Ads::GoogleAds::V2::Resources::AdGroupFeed.new
|
2113
|
-
obj.resource_name = resource_or_path
|
2114
|
-
obj
|
2115
|
-
else
|
2116
|
-
unless Google::Ads::GoogleAds::V2::Resources::AdGroupFeed === res
|
2117
|
-
raise ArgumentError.new(
|
2118
|
-
"Called #{__method__} with instance of wrong type:"\
|
2119
|
-
" #{res.class} want #{operation.update_class}"\
|
2120
|
-
" or String representing resource name"
|
2121
|
-
)
|
2122
|
-
end
|
2123
|
-
end
|
2124
|
-
|
2125
|
-
op = Google::Ads::GoogleAds::V2::Services::AdGroupFeedOperation.new
|
2126
|
-
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
2127
|
-
op["update"] = res
|
2128
|
-
op
|
2129
|
-
end
|
2130
|
-
|
2131
|
-
# A convenience method for creating an AdGroupOperation instance with
|
2132
|
-
# its "update" field prepopulated with an AdGroup instance, and
|
2133
|
-
# its "update_mask" field populated as needed to send the updates to the API.
|
2134
|
-
#
|
2135
|
-
# @overload #ad_group(path, &blk)
|
2135
|
+
# @overload #ad_group_feed(path, &blk)
|
2136
2136
|
# @param path [String] a resource path for the resource to update
|
2137
|
-
# @yield [Google::Ads::GoogleAds::V2::Resources::
|
2137
|
+
# @yield [Google::Ads::GoogleAds::V2::Resources::AdGroupFeed] a new instance of the resource for this update operation, on
|
2138
2138
|
# which fields can be set to update
|
2139
2139
|
#
|
2140
|
-
# @overload #
|
2141
|
-
# @param resource [Google::Ads::GoogleAds::V2::Resources::
|
2140
|
+
# @overload #ad_group_feed(resource, &blk)
|
2141
|
+
# @param resource [Google::Ads::GoogleAds::V2::Resources::AdGroupFeed] a resource instance to update
|
2142
2142
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2143
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
2144
|
-
def self.
|
2145
|
-
require "google/ads/google_ads/v2/services/
|
2143
|
+
# @return [Google::Ads::GoogleAds::V2::Services::AdGroupFeedOperation] the operation instance to update the resource
|
2144
|
+
def self.ad_group_feed(resource_or_path, &blk)
|
2145
|
+
require "google/ads/google_ads/v2/services/ad_group_feed_service_pb.rb"
|
2146
2146
|
res = case resource_or_path
|
2147
|
-
when Google::Ads::GoogleAds::V2::Resources::
|
2147
|
+
when Google::Ads::GoogleAds::V2::Resources::AdGroupFeed
|
2148
2148
|
resource_or_path
|
2149
2149
|
# got a resource path
|
2150
2150
|
when String
|
2151
|
-
obj = Google::Ads::GoogleAds::V2::Resources::
|
2151
|
+
obj = Google::Ads::GoogleAds::V2::Resources::AdGroupFeed.new
|
2152
2152
|
obj.resource_name = resource_or_path
|
2153
2153
|
obj
|
2154
2154
|
else
|
2155
|
-
unless Google::Ads::GoogleAds::V2::Resources::
|
2155
|
+
unless Google::Ads::GoogleAds::V2::Resources::AdGroupFeed === res
|
2156
2156
|
raise ArgumentError.new(
|
2157
2157
|
"Called #{__method__} with instance of wrong type:"\
|
2158
2158
|
" #{res.class} want #{operation.update_class}"\
|
@@ -2161,7 +2161,7 @@ module Google
|
|
2161
2161
|
end
|
2162
2162
|
end
|
2163
2163
|
|
2164
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
2164
|
+
op = Google::Ads::GoogleAds::V2::Services::AdGroupFeedOperation.new
|
2165
2165
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
2166
2166
|
op["update"] = res
|
2167
2167
|
op
|
@@ -2245,45 +2245,6 @@ module Google
|
|
2245
2245
|
op
|
2246
2246
|
end
|
2247
2247
|
|
2248
|
-
# A convenience method for creating an CampaignBidModifierOperation instance with
|
2249
|
-
# its "update" field prepopulated with an CampaignBidModifier instance, and
|
2250
|
-
# its "update_mask" field populated as needed to send the updates to the API.
|
2251
|
-
#
|
2252
|
-
# @overload #campaign_bid_modifier(path, &blk)
|
2253
|
-
# @param path [String] a resource path for the resource to update
|
2254
|
-
# @yield [Google::Ads::GoogleAds::V2::Resources::CampaignBidModifier] a new instance of the resource for this update operation, on
|
2255
|
-
# which fields can be set to update
|
2256
|
-
#
|
2257
|
-
# @overload #campaign_bid_modifier(resource, &blk)
|
2258
|
-
# @param resource [Google::Ads::GoogleAds::V2::Resources::CampaignBidModifier] a resource instance to update
|
2259
|
-
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2260
|
-
# @return [Google::Ads::GoogleAds::V2::Services::CampaignBidModifierOperation] the operation instance to update the resource
|
2261
|
-
def self.campaign_bid_modifier(resource_or_path, &blk)
|
2262
|
-
require "google/ads/google_ads/v2/services/campaign_bid_modifier_service_pb.rb"
|
2263
|
-
res = case resource_or_path
|
2264
|
-
when Google::Ads::GoogleAds::V2::Resources::CampaignBidModifier
|
2265
|
-
resource_or_path
|
2266
|
-
# got a resource path
|
2267
|
-
when String
|
2268
|
-
obj = Google::Ads::GoogleAds::V2::Resources::CampaignBidModifier.new
|
2269
|
-
obj.resource_name = resource_or_path
|
2270
|
-
obj
|
2271
|
-
else
|
2272
|
-
unless Google::Ads::GoogleAds::V2::Resources::CampaignBidModifier === res
|
2273
|
-
raise ArgumentError.new(
|
2274
|
-
"Called #{__method__} with instance of wrong type:"\
|
2275
|
-
" #{res.class} want #{operation.update_class}"\
|
2276
|
-
" or String representing resource name"
|
2277
|
-
)
|
2278
|
-
end
|
2279
|
-
end
|
2280
|
-
|
2281
|
-
op = Google::Ads::GoogleAds::V2::Services::CampaignBidModifierOperation.new
|
2282
|
-
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
2283
|
-
op["update"] = res
|
2284
|
-
op
|
2285
|
-
end
|
2286
|
-
|
2287
2248
|
# A convenience method for creating an CampaignBudgetOperation instance with
|
2288
2249
|
# its "update" field prepopulated with an CampaignBudget instance, and
|
2289
2250
|
# its "update_mask" field populated as needed to send the updates to the API.
|
@@ -2362,45 +2323,6 @@ module Google
|
|
2362
2323
|
op
|
2363
2324
|
end
|
2364
2325
|
|
2365
|
-
# A convenience method for creating an CampaignDraftOperation instance with
|
2366
|
-
# its "update" field prepopulated with an CampaignDraft instance, and
|
2367
|
-
# its "update_mask" field populated as needed to send the updates to the API.
|
2368
|
-
#
|
2369
|
-
# @overload #campaign_draft(path, &blk)
|
2370
|
-
# @param path [String] a resource path for the resource to update
|
2371
|
-
# @yield [Google::Ads::GoogleAds::V2::Resources::CampaignDraft] a new instance of the resource for this update operation, on
|
2372
|
-
# which fields can be set to update
|
2373
|
-
#
|
2374
|
-
# @overload #campaign_draft(resource, &blk)
|
2375
|
-
# @param resource [Google::Ads::GoogleAds::V2::Resources::CampaignDraft] a resource instance to update
|
2376
|
-
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2377
|
-
# @return [Google::Ads::GoogleAds::V2::Services::CampaignDraftOperation] the operation instance to update the resource
|
2378
|
-
def self.campaign_draft(resource_or_path, &blk)
|
2379
|
-
require "google/ads/google_ads/v2/services/campaign_draft_service_pb.rb"
|
2380
|
-
res = case resource_or_path
|
2381
|
-
when Google::Ads::GoogleAds::V2::Resources::CampaignDraft
|
2382
|
-
resource_or_path
|
2383
|
-
# got a resource path
|
2384
|
-
when String
|
2385
|
-
obj = Google::Ads::GoogleAds::V2::Resources::CampaignDraft.new
|
2386
|
-
obj.resource_name = resource_or_path
|
2387
|
-
obj
|
2388
|
-
else
|
2389
|
-
unless Google::Ads::GoogleAds::V2::Resources::CampaignDraft === res
|
2390
|
-
raise ArgumentError.new(
|
2391
|
-
"Called #{__method__} with instance of wrong type:"\
|
2392
|
-
" #{res.class} want #{operation.update_class}"\
|
2393
|
-
" or String representing resource name"
|
2394
|
-
)
|
2395
|
-
end
|
2396
|
-
end
|
2397
|
-
|
2398
|
-
op = Google::Ads::GoogleAds::V2::Services::CampaignDraftOperation.new
|
2399
|
-
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
2400
|
-
op["update"] = res
|
2401
|
-
op
|
2402
|
-
end
|
2403
|
-
|
2404
2326
|
# A convenience method for creating an CampaignExperimentOperation instance with
|
2405
2327
|
# its "update" field prepopulated with an CampaignExperiment instance, and
|
2406
2328
|
# its "update_mask" field populated as needed to send the updates to the API.
|
@@ -2635,31 +2557,31 @@ module Google
|
|
2635
2557
|
op
|
2636
2558
|
end
|
2637
2559
|
|
2638
|
-
# A convenience method for creating an
|
2639
|
-
# its "update" field prepopulated with an
|
2560
|
+
# A convenience method for creating an FeedItemOperation instance with
|
2561
|
+
# its "update" field prepopulated with an FeedItem instance, and
|
2640
2562
|
# its "update_mask" field populated as needed to send the updates to the API.
|
2641
2563
|
#
|
2642
|
-
# @overload #
|
2564
|
+
# @overload #feed_item(path, &blk)
|
2643
2565
|
# @param path [String] a resource path for the resource to update
|
2644
|
-
# @yield [Google::Ads::GoogleAds::V2::Resources::
|
2566
|
+
# @yield [Google::Ads::GoogleAds::V2::Resources::FeedItem] a new instance of the resource for this update operation, on
|
2645
2567
|
# which fields can be set to update
|
2646
2568
|
#
|
2647
|
-
# @overload #
|
2648
|
-
# @param resource [Google::Ads::GoogleAds::V2::Resources::
|
2569
|
+
# @overload #feed_item(resource, &blk)
|
2570
|
+
# @param resource [Google::Ads::GoogleAds::V2::Resources::FeedItem] a resource instance to update
|
2649
2571
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2650
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
2651
|
-
def self.
|
2652
|
-
require "google/ads/google_ads/v2/services/
|
2572
|
+
# @return [Google::Ads::GoogleAds::V2::Services::FeedItemOperation] the operation instance to update the resource
|
2573
|
+
def self.feed_item(resource_or_path, &blk)
|
2574
|
+
require "google/ads/google_ads/v2/services/feed_item_service_pb.rb"
|
2653
2575
|
res = case resource_or_path
|
2654
|
-
when Google::Ads::GoogleAds::V2::Resources::
|
2576
|
+
when Google::Ads::GoogleAds::V2::Resources::FeedItem
|
2655
2577
|
resource_or_path
|
2656
2578
|
# got a resource path
|
2657
2579
|
when String
|
2658
|
-
obj = Google::Ads::GoogleAds::V2::Resources::
|
2580
|
+
obj = Google::Ads::GoogleAds::V2::Resources::FeedItem.new
|
2659
2581
|
obj.resource_name = resource_or_path
|
2660
2582
|
obj
|
2661
2583
|
else
|
2662
|
-
unless Google::Ads::GoogleAds::V2::Resources::
|
2584
|
+
unless Google::Ads::GoogleAds::V2::Resources::FeedItem === res
|
2663
2585
|
raise ArgumentError.new(
|
2664
2586
|
"Called #{__method__} with instance of wrong type:"\
|
2665
2587
|
" #{res.class} want #{operation.update_class}"\
|
@@ -2668,37 +2590,37 @@ module Google
|
|
2668
2590
|
end
|
2669
2591
|
end
|
2670
2592
|
|
2671
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
2593
|
+
op = Google::Ads::GoogleAds::V2::Services::FeedItemOperation.new
|
2672
2594
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
2673
2595
|
op["update"] = res
|
2674
2596
|
op
|
2675
2597
|
end
|
2676
2598
|
|
2677
|
-
# A convenience method for creating an
|
2678
|
-
# its "update" field prepopulated with an
|
2599
|
+
# A convenience method for creating an FeedOperation instance with
|
2600
|
+
# its "update" field prepopulated with an Feed instance, and
|
2679
2601
|
# its "update_mask" field populated as needed to send the updates to the API.
|
2680
2602
|
#
|
2681
|
-
# @overload #
|
2603
|
+
# @overload #feed(path, &blk)
|
2682
2604
|
# @param path [String] a resource path for the resource to update
|
2683
|
-
# @yield [Google::Ads::GoogleAds::V2::Resources::
|
2605
|
+
# @yield [Google::Ads::GoogleAds::V2::Resources::Feed] a new instance of the resource for this update operation, on
|
2684
2606
|
# which fields can be set to update
|
2685
2607
|
#
|
2686
|
-
# @overload #
|
2687
|
-
# @param resource [Google::Ads::GoogleAds::V2::Resources::
|
2608
|
+
# @overload #feed(resource, &blk)
|
2609
|
+
# @param resource [Google::Ads::GoogleAds::V2::Resources::Feed] a resource instance to update
|
2688
2610
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2689
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
2690
|
-
def self.
|
2691
|
-
require "google/ads/google_ads/v2/services/
|
2611
|
+
# @return [Google::Ads::GoogleAds::V2::Services::FeedOperation] the operation instance to update the resource
|
2612
|
+
def self.feed(resource_or_path, &blk)
|
2613
|
+
require "google/ads/google_ads/v2/services/feed_service_pb.rb"
|
2692
2614
|
res = case resource_or_path
|
2693
|
-
when Google::Ads::GoogleAds::V2::Resources::
|
2615
|
+
when Google::Ads::GoogleAds::V2::Resources::Feed
|
2694
2616
|
resource_or_path
|
2695
2617
|
# got a resource path
|
2696
2618
|
when String
|
2697
|
-
obj = Google::Ads::GoogleAds::V2::Resources::
|
2619
|
+
obj = Google::Ads::GoogleAds::V2::Resources::Feed.new
|
2698
2620
|
obj.resource_name = resource_or_path
|
2699
2621
|
obj
|
2700
2622
|
else
|
2701
|
-
unless Google::Ads::GoogleAds::V2::Resources::
|
2623
|
+
unless Google::Ads::GoogleAds::V2::Resources::Feed === res
|
2702
2624
|
raise ArgumentError.new(
|
2703
2625
|
"Called #{__method__} with instance of wrong type:"\
|
2704
2626
|
" #{res.class} want #{operation.update_class}"\
|
@@ -2707,37 +2629,37 @@ module Google
|
|
2707
2629
|
end
|
2708
2630
|
end
|
2709
2631
|
|
2710
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
2632
|
+
op = Google::Ads::GoogleAds::V2::Services::FeedOperation.new
|
2711
2633
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
2712
2634
|
op["update"] = res
|
2713
2635
|
op
|
2714
2636
|
end
|
2715
2637
|
|
2716
|
-
# A convenience method for creating an
|
2717
|
-
# its "update" field prepopulated with an
|
2638
|
+
# A convenience method for creating an RemarketingActionOperation instance with
|
2639
|
+
# its "update" field prepopulated with an RemarketingAction instance, and
|
2718
2640
|
# its "update_mask" field populated as needed to send the updates to the API.
|
2719
2641
|
#
|
2720
|
-
# @overload #
|
2642
|
+
# @overload #remarketing_action(path, &blk)
|
2721
2643
|
# @param path [String] a resource path for the resource to update
|
2722
|
-
# @yield [Google::Ads::GoogleAds::V2::Resources::
|
2644
|
+
# @yield [Google::Ads::GoogleAds::V2::Resources::RemarketingAction] a new instance of the resource for this update operation, on
|
2723
2645
|
# which fields can be set to update
|
2724
2646
|
#
|
2725
|
-
# @overload #
|
2726
|
-
# @param resource [Google::Ads::GoogleAds::V2::Resources::
|
2647
|
+
# @overload #remarketing_action(resource, &blk)
|
2648
|
+
# @param resource [Google::Ads::GoogleAds::V2::Resources::RemarketingAction] a resource instance to update
|
2727
2649
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2728
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
2729
|
-
def self.
|
2730
|
-
require "google/ads/google_ads/v2/services/
|
2650
|
+
# @return [Google::Ads::GoogleAds::V2::Services::RemarketingActionOperation] the operation instance to update the resource
|
2651
|
+
def self.remarketing_action(resource_or_path, &blk)
|
2652
|
+
require "google/ads/google_ads/v2/services/remarketing_action_service_pb.rb"
|
2731
2653
|
res = case resource_or_path
|
2732
|
-
when Google::Ads::GoogleAds::V2::Resources::
|
2654
|
+
when Google::Ads::GoogleAds::V2::Resources::RemarketingAction
|
2733
2655
|
resource_or_path
|
2734
2656
|
# got a resource path
|
2735
2657
|
when String
|
2736
|
-
obj = Google::Ads::GoogleAds::V2::Resources::
|
2658
|
+
obj = Google::Ads::GoogleAds::V2::Resources::RemarketingAction.new
|
2737
2659
|
obj.resource_name = resource_or_path
|
2738
2660
|
obj
|
2739
2661
|
else
|
2740
|
-
unless Google::Ads::GoogleAds::V2::Resources::
|
2662
|
+
unless Google::Ads::GoogleAds::V2::Resources::RemarketingAction === res
|
2741
2663
|
raise ArgumentError.new(
|
2742
2664
|
"Called #{__method__} with instance of wrong type:"\
|
2743
2665
|
" #{res.class} want #{operation.update_class}"\
|
@@ -2746,37 +2668,115 @@ module Google
|
|
2746
2668
|
end
|
2747
2669
|
end
|
2748
2670
|
|
2749
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
2671
|
+
op = Google::Ads::GoogleAds::V2::Services::RemarketingActionOperation.new
|
2672
|
+
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
2673
|
+
op["update"] = res
|
2674
|
+
op
|
2675
|
+
end
|
2676
|
+
|
2677
|
+
# A convenience method for creating an UserListOperation instance with
|
2678
|
+
# its "update" field prepopulated with an UserList instance, and
|
2679
|
+
# its "update_mask" field populated as needed to send the updates to the API.
|
2680
|
+
#
|
2681
|
+
# @overload #user_list(path, &blk)
|
2682
|
+
# @param path [String] a resource path for the resource to update
|
2683
|
+
# @yield [Google::Ads::GoogleAds::V2::Resources::UserList] a new instance of the resource for this update operation, on
|
2684
|
+
# which fields can be set to update
|
2685
|
+
#
|
2686
|
+
# @overload #user_list(resource, &blk)
|
2687
|
+
# @param resource [Google::Ads::GoogleAds::V2::Resources::UserList] a resource instance to update
|
2688
|
+
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2689
|
+
# @return [Google::Ads::GoogleAds::V2::Services::UserListOperation] the operation instance to update the resource
|
2690
|
+
def self.user_list(resource_or_path, &blk)
|
2691
|
+
require "google/ads/google_ads/v2/services/user_list_service_pb.rb"
|
2692
|
+
res = case resource_or_path
|
2693
|
+
when Google::Ads::GoogleAds::V2::Resources::UserList
|
2694
|
+
resource_or_path
|
2695
|
+
# got a resource path
|
2696
|
+
when String
|
2697
|
+
obj = Google::Ads::GoogleAds::V2::Resources::UserList.new
|
2698
|
+
obj.resource_name = resource_or_path
|
2699
|
+
obj
|
2700
|
+
else
|
2701
|
+
unless Google::Ads::GoogleAds::V2::Resources::UserList === res
|
2702
|
+
raise ArgumentError.new(
|
2703
|
+
"Called #{__method__} with instance of wrong type:"\
|
2704
|
+
" #{res.class} want #{operation.update_class}"\
|
2705
|
+
" or String representing resource name"
|
2706
|
+
)
|
2707
|
+
end
|
2708
|
+
end
|
2709
|
+
|
2710
|
+
op = Google::Ads::GoogleAds::V2::Services::UserListOperation.new
|
2711
|
+
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
2712
|
+
op["update"] = res
|
2713
|
+
op
|
2714
|
+
end
|
2715
|
+
|
2716
|
+
# A convenience method for creating an CustomerClientLinkOperation instance with
|
2717
|
+
# its "update" field prepopulated with an CustomerClientLink instance, and
|
2718
|
+
# its "update_mask" field populated as needed to send the updates to the API.
|
2719
|
+
#
|
2720
|
+
# @overload #customer_client_link(path, &blk)
|
2721
|
+
# @param path [String] a resource path for the resource to update
|
2722
|
+
# @yield [Google::Ads::GoogleAds::V2::Resources::CustomerClientLink] a new instance of the resource for this update operation, on
|
2723
|
+
# which fields can be set to update
|
2724
|
+
#
|
2725
|
+
# @overload #customer_client_link(resource, &blk)
|
2726
|
+
# @param resource [Google::Ads::GoogleAds::V2::Resources::CustomerClientLink] a resource instance to update
|
2727
|
+
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2728
|
+
# @return [Google::Ads::GoogleAds::V2::Services::CustomerClientLinkOperation] the operation instance to update the resource
|
2729
|
+
def self.customer_client_link(resource_or_path, &blk)
|
2730
|
+
require "google/ads/google_ads/v2/services/customer_client_link_service_pb.rb"
|
2731
|
+
res = case resource_or_path
|
2732
|
+
when Google::Ads::GoogleAds::V2::Resources::CustomerClientLink
|
2733
|
+
resource_or_path
|
2734
|
+
# got a resource path
|
2735
|
+
when String
|
2736
|
+
obj = Google::Ads::GoogleAds::V2::Resources::CustomerClientLink.new
|
2737
|
+
obj.resource_name = resource_or_path
|
2738
|
+
obj
|
2739
|
+
else
|
2740
|
+
unless Google::Ads::GoogleAds::V2::Resources::CustomerClientLink === res
|
2741
|
+
raise ArgumentError.new(
|
2742
|
+
"Called #{__method__} with instance of wrong type:"\
|
2743
|
+
" #{res.class} want #{operation.update_class}"\
|
2744
|
+
" or String representing resource name"
|
2745
|
+
)
|
2746
|
+
end
|
2747
|
+
end
|
2748
|
+
|
2749
|
+
op = Google::Ads::GoogleAds::V2::Services::CustomerClientLinkOperation.new
|
2750
2750
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
2751
2751
|
op["update"] = res
|
2752
2752
|
op
|
2753
2753
|
end
|
2754
2754
|
|
2755
|
-
# A convenience method for creating an
|
2756
|
-
# its "update" field prepopulated with an
|
2755
|
+
# A convenience method for creating an AdOperation instance with
|
2756
|
+
# its "update" field prepopulated with an Ad instance, and
|
2757
2757
|
# its "update_mask" field populated as needed to send the updates to the API.
|
2758
2758
|
#
|
2759
|
-
# @overload #
|
2759
|
+
# @overload #ad(path, &blk)
|
2760
2760
|
# @param path [String] a resource path for the resource to update
|
2761
|
-
# @yield [Google::Ads::GoogleAds::V2::Resources::
|
2761
|
+
# @yield [Google::Ads::GoogleAds::V2::Resources::Ad] a new instance of the resource for this update operation, on
|
2762
2762
|
# which fields can be set to update
|
2763
2763
|
#
|
2764
|
-
# @overload #
|
2765
|
-
# @param resource [Google::Ads::GoogleAds::V2::Resources::
|
2764
|
+
# @overload #ad(resource, &blk)
|
2765
|
+
# @param resource [Google::Ads::GoogleAds::V2::Resources::Ad] a resource instance to update
|
2766
2766
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2767
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
2768
|
-
def self.
|
2769
|
-
require "google/ads/google_ads/v2/services/
|
2767
|
+
# @return [Google::Ads::GoogleAds::V2::Services::AdOperation] the operation instance to update the resource
|
2768
|
+
def self.ad(resource_or_path, &blk)
|
2769
|
+
require "google/ads/google_ads/v2/services/ad_service_pb.rb"
|
2770
2770
|
res = case resource_or_path
|
2771
|
-
when Google::Ads::GoogleAds::V2::Resources::
|
2771
|
+
when Google::Ads::GoogleAds::V2::Resources::Ad
|
2772
2772
|
resource_or_path
|
2773
2773
|
# got a resource path
|
2774
2774
|
when String
|
2775
|
-
obj = Google::Ads::GoogleAds::V2::Resources::
|
2775
|
+
obj = Google::Ads::GoogleAds::V2::Resources::Ad.new
|
2776
2776
|
obj.resource_name = resource_or_path
|
2777
2777
|
obj
|
2778
2778
|
else
|
2779
|
-
unless Google::Ads::GoogleAds::V2::Resources::
|
2779
|
+
unless Google::Ads::GoogleAds::V2::Resources::Ad === res
|
2780
2780
|
raise ArgumentError.new(
|
2781
2781
|
"Called #{__method__} with instance of wrong type:"\
|
2782
2782
|
" #{res.class} want #{operation.update_class}"\
|
@@ -2785,37 +2785,37 @@ module Google
|
|
2785
2785
|
end
|
2786
2786
|
end
|
2787
2787
|
|
2788
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
2788
|
+
op = Google::Ads::GoogleAds::V2::Services::AdOperation.new
|
2789
2789
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
2790
2790
|
op["update"] = res
|
2791
2791
|
op
|
2792
2792
|
end
|
2793
2793
|
|
2794
|
-
# A convenience method for creating an
|
2795
|
-
# its "update" field prepopulated with an
|
2794
|
+
# A convenience method for creating an KeywordPlanAdGroupOperation instance with
|
2795
|
+
# its "update" field prepopulated with an KeywordPlanAdGroup instance, and
|
2796
2796
|
# its "update_mask" field populated as needed to send the updates to the API.
|
2797
2797
|
#
|
2798
|
-
# @overload #
|
2798
|
+
# @overload #keyword_plan_ad_group(path, &blk)
|
2799
2799
|
# @param path [String] a resource path for the resource to update
|
2800
|
-
# @yield [Google::Ads::GoogleAds::V2::Resources::
|
2800
|
+
# @yield [Google::Ads::GoogleAds::V2::Resources::KeywordPlanAdGroup] a new instance of the resource for this update operation, on
|
2801
2801
|
# which fields can be set to update
|
2802
2802
|
#
|
2803
|
-
# @overload #
|
2804
|
-
# @param resource [Google::Ads::GoogleAds::V2::Resources::
|
2803
|
+
# @overload #keyword_plan_ad_group(resource, &blk)
|
2804
|
+
# @param resource [Google::Ads::GoogleAds::V2::Resources::KeywordPlanAdGroup] a resource instance to update
|
2805
2805
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2806
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
2807
|
-
def self.
|
2808
|
-
require "google/ads/google_ads/v2/services/
|
2806
|
+
# @return [Google::Ads::GoogleAds::V2::Services::KeywordPlanAdGroupOperation] the operation instance to update the resource
|
2807
|
+
def self.keyword_plan_ad_group(resource_or_path, &blk)
|
2808
|
+
require "google/ads/google_ads/v2/services/keyword_plan_ad_group_service_pb.rb"
|
2809
2809
|
res = case resource_or_path
|
2810
|
-
when Google::Ads::GoogleAds::V2::Resources::
|
2810
|
+
when Google::Ads::GoogleAds::V2::Resources::KeywordPlanAdGroup
|
2811
2811
|
resource_or_path
|
2812
2812
|
# got a resource path
|
2813
2813
|
when String
|
2814
|
-
obj = Google::Ads::GoogleAds::V2::Resources::
|
2814
|
+
obj = Google::Ads::GoogleAds::V2::Resources::KeywordPlanAdGroup.new
|
2815
2815
|
obj.resource_name = resource_or_path
|
2816
2816
|
obj
|
2817
2817
|
else
|
2818
|
-
unless Google::Ads::GoogleAds::V2::Resources::
|
2818
|
+
unless Google::Ads::GoogleAds::V2::Resources::KeywordPlanAdGroup === res
|
2819
2819
|
raise ArgumentError.new(
|
2820
2820
|
"Called #{__method__} with instance of wrong type:"\
|
2821
2821
|
" #{res.class} want #{operation.update_class}"\
|
@@ -2824,37 +2824,37 @@ module Google
|
|
2824
2824
|
end
|
2825
2825
|
end
|
2826
2826
|
|
2827
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
2827
|
+
op = Google::Ads::GoogleAds::V2::Services::KeywordPlanAdGroupOperation.new
|
2828
2828
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
2829
2829
|
op["update"] = res
|
2830
2830
|
op
|
2831
2831
|
end
|
2832
2832
|
|
2833
|
-
# A convenience method for creating an
|
2834
|
-
# its "update" field prepopulated with an
|
2833
|
+
# A convenience method for creating an KeywordPlanNegativeKeywordOperation instance with
|
2834
|
+
# its "update" field prepopulated with an KeywordPlanNegativeKeyword instance, and
|
2835
2835
|
# its "update_mask" field populated as needed to send the updates to the API.
|
2836
2836
|
#
|
2837
|
-
# @overload #
|
2837
|
+
# @overload #keyword_plan_negative_keyword(path, &blk)
|
2838
2838
|
# @param path [String] a resource path for the resource to update
|
2839
|
-
# @yield [Google::Ads::GoogleAds::V2::Resources::
|
2839
|
+
# @yield [Google::Ads::GoogleAds::V2::Resources::KeywordPlanNegativeKeyword] a new instance of the resource for this update operation, on
|
2840
2840
|
# which fields can be set to update
|
2841
2841
|
#
|
2842
|
-
# @overload #
|
2843
|
-
# @param resource [Google::Ads::GoogleAds::V2::Resources::
|
2842
|
+
# @overload #keyword_plan_negative_keyword(resource, &blk)
|
2843
|
+
# @param resource [Google::Ads::GoogleAds::V2::Resources::KeywordPlanNegativeKeyword] a resource instance to update
|
2844
2844
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2845
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
2846
|
-
def self.
|
2847
|
-
require "google/ads/google_ads/v2/services/
|
2845
|
+
# @return [Google::Ads::GoogleAds::V2::Services::KeywordPlanNegativeKeywordOperation] the operation instance to update the resource
|
2846
|
+
def self.keyword_plan_negative_keyword(resource_or_path, &blk)
|
2847
|
+
require "google/ads/google_ads/v2/services/keyword_plan_negative_keyword_service_pb.rb"
|
2848
2848
|
res = case resource_or_path
|
2849
|
-
when Google::Ads::GoogleAds::V2::Resources::
|
2849
|
+
when Google::Ads::GoogleAds::V2::Resources::KeywordPlanNegativeKeyword
|
2850
2850
|
resource_or_path
|
2851
2851
|
# got a resource path
|
2852
2852
|
when String
|
2853
|
-
obj = Google::Ads::GoogleAds::V2::Resources::
|
2853
|
+
obj = Google::Ads::GoogleAds::V2::Resources::KeywordPlanNegativeKeyword.new
|
2854
2854
|
obj.resource_name = resource_or_path
|
2855
2855
|
obj
|
2856
2856
|
else
|
2857
|
-
unless Google::Ads::GoogleAds::V2::Resources::
|
2857
|
+
unless Google::Ads::GoogleAds::V2::Resources::KeywordPlanNegativeKeyword === res
|
2858
2858
|
raise ArgumentError.new(
|
2859
2859
|
"Called #{__method__} with instance of wrong type:"\
|
2860
2860
|
" #{res.class} want #{operation.update_class}"\
|
@@ -2863,37 +2863,37 @@ module Google
|
|
2863
2863
|
end
|
2864
2864
|
end
|
2865
2865
|
|
2866
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
2866
|
+
op = Google::Ads::GoogleAds::V2::Services::KeywordPlanNegativeKeywordOperation.new
|
2867
2867
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
2868
2868
|
op["update"] = res
|
2869
2869
|
op
|
2870
2870
|
end
|
2871
2871
|
|
2872
|
-
# A convenience method for creating an
|
2873
|
-
# its "update" field prepopulated with an
|
2872
|
+
# A convenience method for creating an KeywordPlanOperation instance with
|
2873
|
+
# its "update" field prepopulated with an KeywordPlan instance, and
|
2874
2874
|
# its "update_mask" field populated as needed to send the updates to the API.
|
2875
2875
|
#
|
2876
|
-
# @overload #
|
2876
|
+
# @overload #keyword_plan(path, &blk)
|
2877
2877
|
# @param path [String] a resource path for the resource to update
|
2878
|
-
# @yield [Google::Ads::GoogleAds::V2::Resources::
|
2878
|
+
# @yield [Google::Ads::GoogleAds::V2::Resources::KeywordPlan] a new instance of the resource for this update operation, on
|
2879
2879
|
# which fields can be set to update
|
2880
2880
|
#
|
2881
|
-
# @overload #
|
2882
|
-
# @param resource [Google::Ads::GoogleAds::V2::Resources::
|
2881
|
+
# @overload #keyword_plan(resource, &blk)
|
2882
|
+
# @param resource [Google::Ads::GoogleAds::V2::Resources::KeywordPlan] a resource instance to update
|
2883
2883
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2884
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
2885
|
-
def self.
|
2886
|
-
require "google/ads/google_ads/v2/services/
|
2884
|
+
# @return [Google::Ads::GoogleAds::V2::Services::KeywordPlanOperation] the operation instance to update the resource
|
2885
|
+
def self.keyword_plan(resource_or_path, &blk)
|
2886
|
+
require "google/ads/google_ads/v2/services/keyword_plan_service_pb.rb"
|
2887
2887
|
res = case resource_or_path
|
2888
|
-
when Google::Ads::GoogleAds::V2::Resources::
|
2888
|
+
when Google::Ads::GoogleAds::V2::Resources::KeywordPlan
|
2889
2889
|
resource_or_path
|
2890
2890
|
# got a resource path
|
2891
2891
|
when String
|
2892
|
-
obj = Google::Ads::GoogleAds::V2::Resources::
|
2892
|
+
obj = Google::Ads::GoogleAds::V2::Resources::KeywordPlan.new
|
2893
2893
|
obj.resource_name = resource_or_path
|
2894
2894
|
obj
|
2895
2895
|
else
|
2896
|
-
unless Google::Ads::GoogleAds::V2::Resources::
|
2896
|
+
unless Google::Ads::GoogleAds::V2::Resources::KeywordPlan === res
|
2897
2897
|
raise ArgumentError.new(
|
2898
2898
|
"Called #{__method__} with instance of wrong type:"\
|
2899
2899
|
" #{res.class} want #{operation.update_class}"\
|
@@ -2902,37 +2902,37 @@ module Google
|
|
2902
2902
|
end
|
2903
2903
|
end
|
2904
2904
|
|
2905
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
2905
|
+
op = Google::Ads::GoogleAds::V2::Services::KeywordPlanOperation.new
|
2906
2906
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
2907
2907
|
op["update"] = res
|
2908
2908
|
op
|
2909
2909
|
end
|
2910
2910
|
|
2911
|
-
# A convenience method for creating an
|
2912
|
-
# its "update" field prepopulated with an
|
2911
|
+
# A convenience method for creating an KeywordPlanKeywordOperation instance with
|
2912
|
+
# its "update" field prepopulated with an KeywordPlanKeyword instance, and
|
2913
2913
|
# its "update_mask" field populated as needed to send the updates to the API.
|
2914
2914
|
#
|
2915
|
-
# @overload #
|
2915
|
+
# @overload #keyword_plan_keyword(path, &blk)
|
2916
2916
|
# @param path [String] a resource path for the resource to update
|
2917
|
-
# @yield [Google::Ads::GoogleAds::V2::Resources::
|
2917
|
+
# @yield [Google::Ads::GoogleAds::V2::Resources::KeywordPlanKeyword] a new instance of the resource for this update operation, on
|
2918
2918
|
# which fields can be set to update
|
2919
2919
|
#
|
2920
|
-
# @overload #
|
2921
|
-
# @param resource [Google::Ads::GoogleAds::V2::Resources::
|
2920
|
+
# @overload #keyword_plan_keyword(resource, &blk)
|
2921
|
+
# @param resource [Google::Ads::GoogleAds::V2::Resources::KeywordPlanKeyword] a resource instance to update
|
2922
2922
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2923
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
2924
|
-
def self.
|
2925
|
-
require "google/ads/google_ads/v2/services/
|
2923
|
+
# @return [Google::Ads::GoogleAds::V2::Services::KeywordPlanKeywordOperation] the operation instance to update the resource
|
2924
|
+
def self.keyword_plan_keyword(resource_or_path, &blk)
|
2925
|
+
require "google/ads/google_ads/v2/services/keyword_plan_keyword_service_pb.rb"
|
2926
2926
|
res = case resource_or_path
|
2927
|
-
when Google::Ads::GoogleAds::V2::Resources::
|
2927
|
+
when Google::Ads::GoogleAds::V2::Resources::KeywordPlanKeyword
|
2928
2928
|
resource_or_path
|
2929
2929
|
# got a resource path
|
2930
2930
|
when String
|
2931
|
-
obj = Google::Ads::GoogleAds::V2::Resources::
|
2931
|
+
obj = Google::Ads::GoogleAds::V2::Resources::KeywordPlanKeyword.new
|
2932
2932
|
obj.resource_name = resource_or_path
|
2933
2933
|
obj
|
2934
2934
|
else
|
2935
|
-
unless Google::Ads::GoogleAds::V2::Resources::
|
2935
|
+
unless Google::Ads::GoogleAds::V2::Resources::KeywordPlanKeyword === res
|
2936
2936
|
raise ArgumentError.new(
|
2937
2937
|
"Called #{__method__} with instance of wrong type:"\
|
2938
2938
|
" #{res.class} want #{operation.update_class}"\
|
@@ -2941,37 +2941,37 @@ module Google
|
|
2941
2941
|
end
|
2942
2942
|
end
|
2943
2943
|
|
2944
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
2944
|
+
op = Google::Ads::GoogleAds::V2::Services::KeywordPlanKeywordOperation.new
|
2945
2945
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
2946
2946
|
op["update"] = res
|
2947
2947
|
op
|
2948
2948
|
end
|
2949
2949
|
|
2950
|
-
# A convenience method for creating an
|
2951
|
-
# its "update" field prepopulated with an
|
2950
|
+
# A convenience method for creating an KeywordPlanCampaignOperation instance with
|
2951
|
+
# its "update" field prepopulated with an KeywordPlanCampaign instance, and
|
2952
2952
|
# its "update_mask" field populated as needed to send the updates to the API.
|
2953
2953
|
#
|
2954
|
-
# @overload #
|
2954
|
+
# @overload #keyword_plan_campaign(path, &blk)
|
2955
2955
|
# @param path [String] a resource path for the resource to update
|
2956
|
-
# @yield [Google::Ads::GoogleAds::V2::Resources::
|
2956
|
+
# @yield [Google::Ads::GoogleAds::V2::Resources::KeywordPlanCampaign] a new instance of the resource for this update operation, on
|
2957
2957
|
# which fields can be set to update
|
2958
2958
|
#
|
2959
|
-
# @overload #
|
2960
|
-
# @param resource [Google::Ads::GoogleAds::V2::Resources::
|
2959
|
+
# @overload #keyword_plan_campaign(resource, &blk)
|
2960
|
+
# @param resource [Google::Ads::GoogleAds::V2::Resources::KeywordPlanCampaign] a resource instance to update
|
2961
2961
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2962
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
2963
|
-
def self.
|
2964
|
-
require "google/ads/google_ads/v2/services/
|
2962
|
+
# @return [Google::Ads::GoogleAds::V2::Services::KeywordPlanCampaignOperation] the operation instance to update the resource
|
2963
|
+
def self.keyword_plan_campaign(resource_or_path, &blk)
|
2964
|
+
require "google/ads/google_ads/v2/services/keyword_plan_campaign_service_pb.rb"
|
2965
2965
|
res = case resource_or_path
|
2966
|
-
when Google::Ads::GoogleAds::V2::Resources::
|
2966
|
+
when Google::Ads::GoogleAds::V2::Resources::KeywordPlanCampaign
|
2967
2967
|
resource_or_path
|
2968
2968
|
# got a resource path
|
2969
2969
|
when String
|
2970
|
-
obj = Google::Ads::GoogleAds::V2::Resources::
|
2970
|
+
obj = Google::Ads::GoogleAds::V2::Resources::KeywordPlanCampaign.new
|
2971
2971
|
obj.resource_name = resource_or_path
|
2972
2972
|
obj
|
2973
2973
|
else
|
2974
|
-
unless Google::Ads::GoogleAds::V2::Resources::
|
2974
|
+
unless Google::Ads::GoogleAds::V2::Resources::KeywordPlanCampaign === res
|
2975
2975
|
raise ArgumentError.new(
|
2976
2976
|
"Called #{__method__} with instance of wrong type:"\
|
2977
2977
|
" #{res.class} want #{operation.update_class}"\
|
@@ -2980,37 +2980,37 @@ module Google
|
|
2980
2980
|
end
|
2981
2981
|
end
|
2982
2982
|
|
2983
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
2983
|
+
op = Google::Ads::GoogleAds::V2::Services::KeywordPlanCampaignOperation.new
|
2984
2984
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
2985
2985
|
op["update"] = res
|
2986
2986
|
op
|
2987
2987
|
end
|
2988
2988
|
|
2989
|
-
# A convenience method for creating an
|
2990
|
-
# its "update" field prepopulated with an
|
2989
|
+
# A convenience method for creating an CustomerManagerLinkOperation instance with
|
2990
|
+
# its "update" field prepopulated with an CustomerManagerLink instance, and
|
2991
2991
|
# its "update_mask" field populated as needed to send the updates to the API.
|
2992
2992
|
#
|
2993
|
-
# @overload #
|
2993
|
+
# @overload #customer_manager_link(path, &blk)
|
2994
2994
|
# @param path [String] a resource path for the resource to update
|
2995
|
-
# @yield [Google::Ads::GoogleAds::V2::Resources::
|
2995
|
+
# @yield [Google::Ads::GoogleAds::V2::Resources::CustomerManagerLink] a new instance of the resource for this update operation, on
|
2996
2996
|
# which fields can be set to update
|
2997
2997
|
#
|
2998
|
-
# @overload #
|
2999
|
-
# @param resource [Google::Ads::GoogleAds::V2::Resources::
|
2998
|
+
# @overload #customer_manager_link(resource, &blk)
|
2999
|
+
# @param resource [Google::Ads::GoogleAds::V2::Resources::CustomerManagerLink] a resource instance to update
|
3000
3000
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
3001
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
3002
|
-
def self.
|
3003
|
-
require "google/ads/google_ads/v2/services/
|
3001
|
+
# @return [Google::Ads::GoogleAds::V2::Services::CustomerManagerLinkOperation] the operation instance to update the resource
|
3002
|
+
def self.customer_manager_link(resource_or_path, &blk)
|
3003
|
+
require "google/ads/google_ads/v2/services/customer_manager_link_service_pb.rb"
|
3004
3004
|
res = case resource_or_path
|
3005
|
-
when Google::Ads::GoogleAds::V2::Resources::
|
3005
|
+
when Google::Ads::GoogleAds::V2::Resources::CustomerManagerLink
|
3006
3006
|
resource_or_path
|
3007
3007
|
# got a resource path
|
3008
3008
|
when String
|
3009
|
-
obj = Google::Ads::GoogleAds::V2::Resources::
|
3009
|
+
obj = Google::Ads::GoogleAds::V2::Resources::CustomerManagerLink.new
|
3010
3010
|
obj.resource_name = resource_or_path
|
3011
3011
|
obj
|
3012
3012
|
else
|
3013
|
-
unless Google::Ads::GoogleAds::V2::Resources::
|
3013
|
+
unless Google::Ads::GoogleAds::V2::Resources::CustomerManagerLink === res
|
3014
3014
|
raise ArgumentError.new(
|
3015
3015
|
"Called #{__method__} with instance of wrong type:"\
|
3016
3016
|
" #{res.class} want #{operation.update_class}"\
|
@@ -3019,37 +3019,37 @@ module Google
|
|
3019
3019
|
end
|
3020
3020
|
end
|
3021
3021
|
|
3022
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
3022
|
+
op = Google::Ads::GoogleAds::V2::Services::CustomerManagerLinkOperation.new
|
3023
3023
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
3024
3024
|
op["update"] = res
|
3025
3025
|
op
|
3026
3026
|
end
|
3027
3027
|
|
3028
|
-
# A convenience method for creating an
|
3029
|
-
# its "update" field prepopulated with an
|
3028
|
+
# A convenience method for creating an MerchantCenterLinkOperation instance with
|
3029
|
+
# its "update" field prepopulated with an MerchantCenterLink instance, and
|
3030
3030
|
# its "update_mask" field populated as needed to send the updates to the API.
|
3031
3031
|
#
|
3032
|
-
# @overload #
|
3032
|
+
# @overload #merchant_center_link(path, &blk)
|
3033
3033
|
# @param path [String] a resource path for the resource to update
|
3034
|
-
# @yield [Google::Ads::GoogleAds::V2::Resources::
|
3034
|
+
# @yield [Google::Ads::GoogleAds::V2::Resources::MerchantCenterLink] a new instance of the resource for this update operation, on
|
3035
3035
|
# which fields can be set to update
|
3036
3036
|
#
|
3037
|
-
# @overload #
|
3038
|
-
# @param resource [Google::Ads::GoogleAds::V2::Resources::
|
3037
|
+
# @overload #merchant_center_link(resource, &blk)
|
3038
|
+
# @param resource [Google::Ads::GoogleAds::V2::Resources::MerchantCenterLink] a resource instance to update
|
3039
3039
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
3040
|
-
# @return [Google::Ads::GoogleAds::V2::Services::
|
3041
|
-
def self.
|
3042
|
-
require "google/ads/google_ads/v2/services/
|
3040
|
+
# @return [Google::Ads::GoogleAds::V2::Services::MerchantCenterLinkOperation] the operation instance to update the resource
|
3041
|
+
def self.merchant_center_link(resource_or_path, &blk)
|
3042
|
+
require "google/ads/google_ads/v2/services/merchant_center_link_service_pb.rb"
|
3043
3043
|
res = case resource_or_path
|
3044
|
-
when Google::Ads::GoogleAds::V2::Resources::
|
3044
|
+
when Google::Ads::GoogleAds::V2::Resources::MerchantCenterLink
|
3045
3045
|
resource_or_path
|
3046
3046
|
# got a resource path
|
3047
3047
|
when String
|
3048
|
-
obj = Google::Ads::GoogleAds::V2::Resources::
|
3048
|
+
obj = Google::Ads::GoogleAds::V2::Resources::MerchantCenterLink.new
|
3049
3049
|
obj.resource_name = resource_or_path
|
3050
3050
|
obj
|
3051
3051
|
else
|
3052
|
-
unless Google::Ads::GoogleAds::V2::Resources::
|
3052
|
+
unless Google::Ads::GoogleAds::V2::Resources::MerchantCenterLink === res
|
3053
3053
|
raise ArgumentError.new(
|
3054
3054
|
"Called #{__method__} with instance of wrong type:"\
|
3055
3055
|
" #{res.class} want #{operation.update_class}"\
|
@@ -3058,7 +3058,7 @@ module Google
|
|
3058
3058
|
end
|
3059
3059
|
end
|
3060
3060
|
|
3061
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
3061
|
+
op = Google::Ads::GoogleAds::V2::Services::MerchantCenterLinkOperation.new
|
3062
3062
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
3063
3063
|
op["update"] = res
|
3064
3064
|
op
|
@@ -3088,167 +3088,167 @@ module Google
|
|
3088
3088
|
op
|
3089
3089
|
end
|
3090
3090
|
|
3091
|
-
# A convenience method for creationg an
|
3091
|
+
# A convenience method for creationg an CustomInterestOperation instance with
|
3092
3092
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3093
3093
|
#
|
3094
3094
|
# @param path [String] the resource name of the resource to delete.
|
3095
|
-
def self.
|
3096
|
-
require "google/ads/google_ads/v2/services/
|
3097
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
3095
|
+
def self.custom_interest(path)
|
3096
|
+
require "google/ads/google_ads/v2/services/custom_interest_service_pb.rb"
|
3097
|
+
op = Google::Ads::GoogleAds::V2::Services::CustomInterestOperation.new
|
3098
3098
|
op["remove"] = path
|
3099
3099
|
op
|
3100
3100
|
end
|
3101
3101
|
|
3102
|
-
# A convenience method for creationg an
|
3102
|
+
# A convenience method for creationg an CustomerNegativeCriterionOperation instance with
|
3103
3103
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3104
3104
|
#
|
3105
3105
|
# @param path [String] the resource name of the resource to delete.
|
3106
|
-
def self.
|
3107
|
-
require "google/ads/google_ads/v2/services/
|
3108
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
3106
|
+
def self.customer_negative_criterion(path)
|
3107
|
+
require "google/ads/google_ads/v2/services/customer_negative_criterion_service_pb.rb"
|
3108
|
+
op = Google::Ads::GoogleAds::V2::Services::CustomerNegativeCriterionOperation.new
|
3109
3109
|
op["remove"] = path
|
3110
3110
|
op
|
3111
3111
|
end
|
3112
3112
|
|
3113
|
-
# A convenience method for creationg an
|
3113
|
+
# A convenience method for creationg an SharedCriterionOperation instance with
|
3114
3114
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3115
3115
|
#
|
3116
3116
|
# @param path [String] the resource name of the resource to delete.
|
3117
|
-
def self.
|
3118
|
-
require "google/ads/google_ads/v2/services/
|
3119
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
3117
|
+
def self.shared_criterion(path)
|
3118
|
+
require "google/ads/google_ads/v2/services/shared_criterion_service_pb.rb"
|
3119
|
+
op = Google::Ads::GoogleAds::V2::Services::SharedCriterionOperation.new
|
3120
3120
|
op["remove"] = path
|
3121
3121
|
op
|
3122
3122
|
end
|
3123
3123
|
|
3124
|
-
# A convenience method for creationg an
|
3124
|
+
# A convenience method for creationg an FeedMappingOperation instance with
|
3125
3125
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3126
3126
|
#
|
3127
3127
|
# @param path [String] the resource name of the resource to delete.
|
3128
|
-
def self.
|
3129
|
-
require "google/ads/google_ads/v2/services/
|
3130
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
3128
|
+
def self.feed_mapping(path)
|
3129
|
+
require "google/ads/google_ads/v2/services/feed_mapping_service_pb.rb"
|
3130
|
+
op = Google::Ads::GoogleAds::V2::Services::FeedMappingOperation.new
|
3131
3131
|
op["remove"] = path
|
3132
3132
|
op
|
3133
3133
|
end
|
3134
3134
|
|
3135
|
-
# A convenience method for creationg an
|
3135
|
+
# A convenience method for creationg an AdGroupOperation instance with
|
3136
3136
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3137
3137
|
#
|
3138
3138
|
# @param path [String] the resource name of the resource to delete.
|
3139
|
-
def self.
|
3140
|
-
require "google/ads/google_ads/v2/services/
|
3141
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
3139
|
+
def self.ad_group(path)
|
3140
|
+
require "google/ads/google_ads/v2/services/ad_group_service_pb.rb"
|
3141
|
+
op = Google::Ads::GoogleAds::V2::Services::AdGroupOperation.new
|
3142
3142
|
op["remove"] = path
|
3143
3143
|
op
|
3144
3144
|
end
|
3145
3145
|
|
3146
|
-
# A convenience method for creationg an
|
3146
|
+
# A convenience method for creationg an ExtensionFeedItemOperation instance with
|
3147
3147
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3148
3148
|
#
|
3149
3149
|
# @param path [String] the resource name of the resource to delete.
|
3150
|
-
def self.
|
3151
|
-
require "google/ads/google_ads/v2/services/
|
3152
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
3150
|
+
def self.extension_feed_item(path)
|
3151
|
+
require "google/ads/google_ads/v2/services/extension_feed_item_service_pb.rb"
|
3152
|
+
op = Google::Ads::GoogleAds::V2::Services::ExtensionFeedItemOperation.new
|
3153
3153
|
op["remove"] = path
|
3154
3154
|
op
|
3155
3155
|
end
|
3156
3156
|
|
3157
|
-
# A convenience method for creationg an
|
3157
|
+
# A convenience method for creationg an CampaignBidModifierOperation instance with
|
3158
3158
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3159
3159
|
#
|
3160
3160
|
# @param path [String] the resource name of the resource to delete.
|
3161
|
-
def self.
|
3162
|
-
require "google/ads/google_ads/v2/services/
|
3163
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
3161
|
+
def self.campaign_bid_modifier(path)
|
3162
|
+
require "google/ads/google_ads/v2/services/campaign_bid_modifier_service_pb.rb"
|
3163
|
+
op = Google::Ads::GoogleAds::V2::Services::CampaignBidModifierOperation.new
|
3164
3164
|
op["remove"] = path
|
3165
3165
|
op
|
3166
3166
|
end
|
3167
3167
|
|
3168
|
-
# A convenience method for creationg an
|
3168
|
+
# A convenience method for creationg an CampaignDraftOperation instance with
|
3169
3169
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3170
3170
|
#
|
3171
3171
|
# @param path [String] the resource name of the resource to delete.
|
3172
|
-
def self.
|
3173
|
-
require "google/ads/google_ads/v2/services/
|
3174
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
3172
|
+
def self.campaign_draft(path)
|
3173
|
+
require "google/ads/google_ads/v2/services/campaign_draft_service_pb.rb"
|
3174
|
+
op = Google::Ads::GoogleAds::V2::Services::CampaignDraftOperation.new
|
3175
3175
|
op["remove"] = path
|
3176
3176
|
op
|
3177
3177
|
end
|
3178
3178
|
|
3179
|
-
# A convenience method for creationg an
|
3179
|
+
# A convenience method for creationg an CustomerOperation instance with
|
3180
3180
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3181
3181
|
#
|
3182
3182
|
# @param path [String] the resource name of the resource to delete.
|
3183
|
-
def self.
|
3184
|
-
require "google/ads/google_ads/v2/services/
|
3185
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
3183
|
+
def self.customer(path)
|
3184
|
+
require "google/ads/google_ads/v2/services/customer_service_pb.rb"
|
3185
|
+
op = Google::Ads::GoogleAds::V2::Services::CustomerOperation.new
|
3186
3186
|
op["remove"] = path
|
3187
3187
|
op
|
3188
3188
|
end
|
3189
3189
|
|
3190
|
-
# A convenience method for creationg an
|
3190
|
+
# A convenience method for creationg an SharedSetOperation instance with
|
3191
3191
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3192
3192
|
#
|
3193
3193
|
# @param path [String] the resource name of the resource to delete.
|
3194
|
-
def self.
|
3195
|
-
require "google/ads/google_ads/v2/services/
|
3196
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
3194
|
+
def self.shared_set(path)
|
3195
|
+
require "google/ads/google_ads/v2/services/shared_set_service_pb.rb"
|
3196
|
+
op = Google::Ads::GoogleAds::V2::Services::SharedSetOperation.new
|
3197
3197
|
op["remove"] = path
|
3198
3198
|
op
|
3199
3199
|
end
|
3200
3200
|
|
3201
|
-
# A convenience method for creationg an
|
3201
|
+
# A convenience method for creationg an CampaignFeedOperation instance with
|
3202
3202
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3203
3203
|
#
|
3204
3204
|
# @param path [String] the resource name of the resource to delete.
|
3205
|
-
def self.
|
3206
|
-
require "google/ads/google_ads/v2/services/
|
3207
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
3205
|
+
def self.campaign_feed(path)
|
3206
|
+
require "google/ads/google_ads/v2/services/campaign_feed_service_pb.rb"
|
3207
|
+
op = Google::Ads::GoogleAds::V2::Services::CampaignFeedOperation.new
|
3208
3208
|
op["remove"] = path
|
3209
3209
|
op
|
3210
3210
|
end
|
3211
3211
|
|
3212
|
-
# A convenience method for creationg an
|
3212
|
+
# A convenience method for creationg an LabelOperation instance with
|
3213
3213
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3214
3214
|
#
|
3215
3215
|
# @param path [String] the resource name of the resource to delete.
|
3216
|
-
def self.
|
3217
|
-
require "google/ads/google_ads/v2/services/
|
3218
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
3216
|
+
def self.label(path)
|
3217
|
+
require "google/ads/google_ads/v2/services/label_service_pb.rb"
|
3218
|
+
op = Google::Ads::GoogleAds::V2::Services::LabelOperation.new
|
3219
3219
|
op["remove"] = path
|
3220
3220
|
op
|
3221
3221
|
end
|
3222
3222
|
|
3223
|
-
# A convenience method for creationg an
|
3223
|
+
# A convenience method for creationg an AdGroupAdLabelOperation instance with
|
3224
3224
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3225
3225
|
#
|
3226
3226
|
# @param path [String] the resource name of the resource to delete.
|
3227
|
-
def self.
|
3228
|
-
require "google/ads/google_ads/v2/services/
|
3229
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
3227
|
+
def self.ad_group_ad_label(path)
|
3228
|
+
require "google/ads/google_ads/v2/services/ad_group_ad_label_service_pb.rb"
|
3229
|
+
op = Google::Ads::GoogleAds::V2::Services::AdGroupAdLabelOperation.new
|
3230
3230
|
op["remove"] = path
|
3231
3231
|
op
|
3232
3232
|
end
|
3233
3233
|
|
3234
|
-
# A convenience method for creationg an
|
3234
|
+
# A convenience method for creationg an AdGroupAdOperation instance with
|
3235
3235
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3236
3236
|
#
|
3237
3237
|
# @param path [String] the resource name of the resource to delete.
|
3238
|
-
def self.
|
3239
|
-
require "google/ads/google_ads/v2/services/
|
3240
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
3238
|
+
def self.ad_group_ad(path)
|
3239
|
+
require "google/ads/google_ads/v2/services/ad_group_ad_service_pb.rb"
|
3240
|
+
op = Google::Ads::GoogleAds::V2::Services::AdGroupAdOperation.new
|
3241
3241
|
op["remove"] = path
|
3242
3242
|
op
|
3243
3243
|
end
|
3244
3244
|
|
3245
|
-
# A convenience method for creationg an
|
3245
|
+
# A convenience method for creationg an AdGroupBidModifierOperation instance with
|
3246
3246
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3247
3247
|
#
|
3248
3248
|
# @param path [String] the resource name of the resource to delete.
|
3249
|
-
def self.
|
3250
|
-
require "google/ads/google_ads/v2/services/
|
3251
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
3249
|
+
def self.ad_group_bid_modifier(path)
|
3250
|
+
require "google/ads/google_ads/v2/services/ad_group_bid_modifier_service_pb.rb"
|
3251
|
+
op = Google::Ads::GoogleAds::V2::Services::AdGroupBidModifierOperation.new
|
3252
3252
|
op["remove"] = path
|
3253
3253
|
op
|
3254
3254
|
end
|
@@ -3286,13 +3286,13 @@ module Google
|
|
3286
3286
|
op
|
3287
3287
|
end
|
3288
3288
|
|
3289
|
-
# A convenience method for creationg an
|
3289
|
+
# A convenience method for creationg an AdGroupLabelOperation instance with
|
3290
3290
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3291
3291
|
#
|
3292
3292
|
# @param path [String] the resource name of the resource to delete.
|
3293
|
-
def self.
|
3294
|
-
require "google/ads/google_ads/v2/services/
|
3295
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
3293
|
+
def self.ad_group_label(path)
|
3294
|
+
require "google/ads/google_ads/v2/services/ad_group_label_service_pb.rb"
|
3295
|
+
op = Google::Ads::GoogleAds::V2::Services::AdGroupLabelOperation.new
|
3296
3296
|
op["remove"] = path
|
3297
3297
|
op
|
3298
3298
|
end
|
@@ -3330,17 +3330,6 @@ module Google
|
|
3330
3330
|
op
|
3331
3331
|
end
|
3332
3332
|
|
3333
|
-
# A convenience method for creationg an CampaignBidModifierOperation instance with
|
3334
|
-
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3335
|
-
#
|
3336
|
-
# @param path [String] the resource name of the resource to delete.
|
3337
|
-
def self.campaign_bid_modifier(path)
|
3338
|
-
require "google/ads/google_ads/v2/services/campaign_bid_modifier_service_pb.rb"
|
3339
|
-
op = Google::Ads::GoogleAds::V2::Services::CampaignBidModifierOperation.new
|
3340
|
-
op["remove"] = path
|
3341
|
-
op
|
3342
|
-
end
|
3343
|
-
|
3344
3333
|
# A convenience method for creationg an CampaignBudgetOperation instance with
|
3345
3334
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3346
3335
|
#
|
@@ -3363,17 +3352,6 @@ module Google
|
|
3363
3352
|
op
|
3364
3353
|
end
|
3365
3354
|
|
3366
|
-
# A convenience method for creationg an CampaignDraftOperation instance with
|
3367
|
-
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3368
|
-
#
|
3369
|
-
# @param path [String] the resource name of the resource to delete.
|
3370
|
-
def self.campaign_draft(path)
|
3371
|
-
require "google/ads/google_ads/v2/services/campaign_draft_service_pb.rb"
|
3372
|
-
op = Google::Ads::GoogleAds::V2::Services::CampaignDraftOperation.new
|
3373
|
-
op["remove"] = path
|
3374
|
-
op
|
3375
|
-
end
|
3376
|
-
|
3377
3355
|
# A convenience method for creationg an CampaignExperimentOperation instance with
|
3378
3356
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3379
3357
|
#
|
@@ -3418,6 +3396,17 @@ module Google
|
|
3418
3396
|
op
|
3419
3397
|
end
|
3420
3398
|
|
3399
|
+
# A convenience method for creationg an CampaignSharedSetOperation instance with
|
3400
|
+
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3401
|
+
#
|
3402
|
+
# @param path [String] the resource name of the resource to delete.
|
3403
|
+
def self.campaign_shared_set(path)
|
3404
|
+
require "google/ads/google_ads/v2/services/campaign_shared_set_service_pb.rb"
|
3405
|
+
op = Google::Ads::GoogleAds::V2::Services::CampaignSharedSetOperation.new
|
3406
|
+
op["remove"] = path
|
3407
|
+
op
|
3408
|
+
end
|
3409
|
+
|
3421
3410
|
# A convenience method for creationg an ConversionActionOperation instance with
|
3422
3411
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3423
3412
|
#
|
@@ -3451,35 +3440,13 @@ module Google
|
|
3451
3440
|
op
|
3452
3441
|
end
|
3453
3442
|
|
3454
|
-
# A convenience method for creationg an
|
3455
|
-
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3456
|
-
#
|
3457
|
-
# @param path [String] the resource name of the resource to delete.
|
3458
|
-
def self.customer_negative_criterion(path)
|
3459
|
-
require "google/ads/google_ads/v2/services/customer_negative_criterion_service_pb.rb"
|
3460
|
-
op = Google::Ads::GoogleAds::V2::Services::CustomerNegativeCriterionOperation.new
|
3461
|
-
op["remove"] = path
|
3462
|
-
op
|
3463
|
-
end
|
3464
|
-
|
3465
|
-
# A convenience method for creationg an CustomerOperation instance with
|
3466
|
-
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3467
|
-
#
|
3468
|
-
# @param path [String] the resource name of the resource to delete.
|
3469
|
-
def self.customer(path)
|
3470
|
-
require "google/ads/google_ads/v2/services/customer_service_pb.rb"
|
3471
|
-
op = Google::Ads::GoogleAds::V2::Services::CustomerOperation.new
|
3472
|
-
op["remove"] = path
|
3473
|
-
op
|
3474
|
-
end
|
3475
|
-
|
3476
|
-
# A convenience method for creationg an ExtensionFeedItemOperation instance with
|
3443
|
+
# A convenience method for creationg an CustomerLabelOperation instance with
|
3477
3444
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3478
3445
|
#
|
3479
3446
|
# @param path [String] the resource name of the resource to delete.
|
3480
|
-
def self.
|
3481
|
-
require "google/ads/google_ads/v2/services/
|
3482
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
3447
|
+
def self.customer_label(path)
|
3448
|
+
require "google/ads/google_ads/v2/services/customer_label_service_pb.rb"
|
3449
|
+
op = Google::Ads::GoogleAds::V2::Services::CustomerLabelOperation.new
|
3483
3450
|
op["remove"] = path
|
3484
3451
|
op
|
3485
3452
|
end
|
@@ -3506,35 +3473,35 @@ module Google
|
|
3506
3473
|
op
|
3507
3474
|
end
|
3508
3475
|
|
3509
|
-
# A convenience method for creationg an
|
3476
|
+
# A convenience method for creationg an FeedOperation instance with
|
3510
3477
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3511
3478
|
#
|
3512
3479
|
# @param path [String] the resource name of the resource to delete.
|
3513
|
-
def self.
|
3514
|
-
require "google/ads/google_ads/v2/services/
|
3515
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
3480
|
+
def self.feed(path)
|
3481
|
+
require "google/ads/google_ads/v2/services/feed_service_pb.rb"
|
3482
|
+
op = Google::Ads::GoogleAds::V2::Services::FeedOperation.new
|
3516
3483
|
op["remove"] = path
|
3517
3484
|
op
|
3518
3485
|
end
|
3519
3486
|
|
3520
|
-
# A convenience method for creationg an
|
3487
|
+
# A convenience method for creationg an MediaFileOperation instance with
|
3521
3488
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3522
3489
|
#
|
3523
3490
|
# @param path [String] the resource name of the resource to delete.
|
3524
|
-
def self.
|
3525
|
-
require "google/ads/google_ads/v2/services/
|
3526
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
3491
|
+
def self.media_file(path)
|
3492
|
+
require "google/ads/google_ads/v2/services/media_file_service_pb.rb"
|
3493
|
+
op = Google::Ads::GoogleAds::V2::Services::MediaFileOperation.new
|
3527
3494
|
op["remove"] = path
|
3528
3495
|
op
|
3529
3496
|
end
|
3530
3497
|
|
3531
|
-
# A convenience method for creationg an
|
3498
|
+
# A convenience method for creationg an RemarketingActionOperation instance with
|
3532
3499
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3533
3500
|
#
|
3534
3501
|
# @param path [String] the resource name of the resource to delete.
|
3535
|
-
def self.
|
3536
|
-
require "google/ads/google_ads/v2/services/
|
3537
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
3502
|
+
def self.remarketing_action(path)
|
3503
|
+
require "google/ads/google_ads/v2/services/remarketing_action_service_pb.rb"
|
3504
|
+
op = Google::Ads::GoogleAds::V2::Services::RemarketingActionOperation.new
|
3538
3505
|
op["remove"] = path
|
3539
3506
|
op
|
3540
3507
|
end
|
@@ -3561,79 +3528,79 @@ module Google
|
|
3561
3528
|
op
|
3562
3529
|
end
|
3563
3530
|
|
3564
|
-
# A convenience method for creationg an
|
3531
|
+
# A convenience method for creationg an CustomerClientLinkOperation instance with
|
3565
3532
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3566
3533
|
#
|
3567
3534
|
# @param path [String] the resource name of the resource to delete.
|
3568
|
-
def self.
|
3569
|
-
require "google/ads/google_ads/v2/services/
|
3570
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
3535
|
+
def self.customer_client_link(path)
|
3536
|
+
require "google/ads/google_ads/v2/services/customer_client_link_service_pb.rb"
|
3537
|
+
op = Google::Ads::GoogleAds::V2::Services::CustomerClientLinkOperation.new
|
3571
3538
|
op["remove"] = path
|
3572
3539
|
op
|
3573
3540
|
end
|
3574
3541
|
|
3575
|
-
# A convenience method for creationg an
|
3542
|
+
# A convenience method for creationg an AdOperation instance with
|
3576
3543
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3577
3544
|
#
|
3578
3545
|
# @param path [String] the resource name of the resource to delete.
|
3579
|
-
def self.
|
3580
|
-
require "google/ads/google_ads/v2/services/
|
3581
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
3546
|
+
def self.ad(path)
|
3547
|
+
require "google/ads/google_ads/v2/services/ad_service_pb.rb"
|
3548
|
+
op = Google::Ads::GoogleAds::V2::Services::AdOperation.new
|
3582
3549
|
op["remove"] = path
|
3583
3550
|
op
|
3584
3551
|
end
|
3585
3552
|
|
3586
|
-
# A convenience method for creationg an
|
3553
|
+
# A convenience method for creationg an KeywordPlanAdGroupOperation instance with
|
3587
3554
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3588
3555
|
#
|
3589
3556
|
# @param path [String] the resource name of the resource to delete.
|
3590
|
-
def self.
|
3591
|
-
require "google/ads/google_ads/v2/services/
|
3592
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
3557
|
+
def self.keyword_plan_ad_group(path)
|
3558
|
+
require "google/ads/google_ads/v2/services/keyword_plan_ad_group_service_pb.rb"
|
3559
|
+
op = Google::Ads::GoogleAds::V2::Services::KeywordPlanAdGroupOperation.new
|
3593
3560
|
op["remove"] = path
|
3594
3561
|
op
|
3595
3562
|
end
|
3596
3563
|
|
3597
|
-
# A convenience method for creationg an
|
3564
|
+
# A convenience method for creationg an KeywordPlanNegativeKeywordOperation instance with
|
3598
3565
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3599
3566
|
#
|
3600
3567
|
# @param path [String] the resource name of the resource to delete.
|
3601
|
-
def self.
|
3602
|
-
require "google/ads/google_ads/v2/services/
|
3603
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
3568
|
+
def self.keyword_plan_negative_keyword(path)
|
3569
|
+
require "google/ads/google_ads/v2/services/keyword_plan_negative_keyword_service_pb.rb"
|
3570
|
+
op = Google::Ads::GoogleAds::V2::Services::KeywordPlanNegativeKeywordOperation.new
|
3604
3571
|
op["remove"] = path
|
3605
3572
|
op
|
3606
3573
|
end
|
3607
3574
|
|
3608
|
-
# A convenience method for creationg an
|
3575
|
+
# A convenience method for creationg an KeywordPlanOperation instance with
|
3609
3576
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3610
3577
|
#
|
3611
3578
|
# @param path [String] the resource name of the resource to delete.
|
3612
|
-
def self.
|
3613
|
-
require "google/ads/google_ads/v2/services/
|
3614
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
3579
|
+
def self.keyword_plan(path)
|
3580
|
+
require "google/ads/google_ads/v2/services/keyword_plan_service_pb.rb"
|
3581
|
+
op = Google::Ads::GoogleAds::V2::Services::KeywordPlanOperation.new
|
3615
3582
|
op["remove"] = path
|
3616
3583
|
op
|
3617
3584
|
end
|
3618
3585
|
|
3619
|
-
# A convenience method for creationg an
|
3586
|
+
# A convenience method for creationg an KeywordPlanKeywordOperation instance with
|
3620
3587
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3621
3588
|
#
|
3622
3589
|
# @param path [String] the resource name of the resource to delete.
|
3623
|
-
def self.
|
3624
|
-
require "google/ads/google_ads/v2/services/
|
3625
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
3590
|
+
def self.keyword_plan_keyword(path)
|
3591
|
+
require "google/ads/google_ads/v2/services/keyword_plan_keyword_service_pb.rb"
|
3592
|
+
op = Google::Ads::GoogleAds::V2::Services::KeywordPlanKeywordOperation.new
|
3626
3593
|
op["remove"] = path
|
3627
3594
|
op
|
3628
3595
|
end
|
3629
3596
|
|
3630
|
-
# A convenience method for creationg an
|
3597
|
+
# A convenience method for creationg an KeywordPlanCampaignOperation instance with
|
3631
3598
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3632
3599
|
#
|
3633
3600
|
# @param path [String] the resource name of the resource to delete.
|
3634
|
-
def self.
|
3635
|
-
require "google/ads/google_ads/v2/services/
|
3636
|
-
op = Google::Ads::GoogleAds::V2::Services::
|
3601
|
+
def self.keyword_plan_campaign(path)
|
3602
|
+
require "google/ads/google_ads/v2/services/keyword_plan_campaign_service_pb.rb"
|
3603
|
+
op = Google::Ads::GoogleAds::V2::Services::KeywordPlanCampaignOperation.new
|
3637
3604
|
op["remove"] = path
|
3638
3605
|
op
|
3639
3606
|
end
|
@@ -3670,6 +3637,39 @@ module Google
|
|
3670
3637
|
op["remove"] = path
|
3671
3638
|
op
|
3672
3639
|
end
|
3640
|
+
|
3641
|
+
# A convenience method for creationg an CustomerManagerLinkOperation instance with
|
3642
|
+
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3643
|
+
#
|
3644
|
+
# @param path [String] the resource name of the resource to delete.
|
3645
|
+
def self.customer_manager_link(path)
|
3646
|
+
require "google/ads/google_ads/v2/services/customer_manager_link_service_pb.rb"
|
3647
|
+
op = Google::Ads::GoogleAds::V2::Services::CustomerManagerLinkOperation.new
|
3648
|
+
op["remove"] = path
|
3649
|
+
op
|
3650
|
+
end
|
3651
|
+
|
3652
|
+
# A convenience method for creationg an BillingSetupOperation instance with
|
3653
|
+
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3654
|
+
#
|
3655
|
+
# @param path [String] the resource name of the resource to delete.
|
3656
|
+
def self.billing_setup(path)
|
3657
|
+
require "google/ads/google_ads/v2/services/billing_setup_service_pb.rb"
|
3658
|
+
op = Google::Ads::GoogleAds::V2::Services::BillingSetupOperation.new
|
3659
|
+
op["remove"] = path
|
3660
|
+
op
|
3661
|
+
end
|
3662
|
+
|
3663
|
+
# A convenience method for creationg an MerchantCenterLinkOperation instance with
|
3664
|
+
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3665
|
+
#
|
3666
|
+
# @param path [String] the resource name of the resource to delete.
|
3667
|
+
def self.merchant_center_link(path)
|
3668
|
+
require "google/ads/google_ads/v2/services/merchant_center_link_service_pb.rb"
|
3669
|
+
op = Google::Ads::GoogleAds::V2::Services::MerchantCenterLinkOperation.new
|
3670
|
+
op["remove"] = path
|
3671
|
+
op
|
3672
|
+
end
|
3673
3673
|
end
|
3674
3674
|
end
|
3675
3675
|
end
|