google-ads-googleads 4.0.0 → 5.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (899) hide show
  1. checksums.yaml +4 -4
  2. data/ChangeLog +2 -0
  3. data/Rakefile +1 -25
  4. data/lib/google/ads/google_ads/api_versions.rb +2 -2
  5. data/lib/google/ads/google_ads/autoboxing_fields.rb +1 -0
  6. data/lib/google/ads/google_ads/error_transformer.rb +37 -0
  7. data/lib/google/ads/google_ads/factories.rb +21 -2
  8. data/lib/google/ads/google_ads/factories/v3/enums.rb +2595 -0
  9. data/lib/google/ads/google_ads/factories/v3/operations.rb +3698 -0
  10. data/lib/google/ads/google_ads/factories/v3/resources.rb +5770 -0
  11. data/lib/google/ads/google_ads/factories/v3/services.rb +2173 -0
  12. data/lib/google/ads/google_ads/google_ads_client.rb +12 -29
  13. data/lib/google/ads/google_ads/logging_interceptor.rb +26 -0
  14. data/lib/google/ads/google_ads/search_stream_intercepting_factory.rb +49 -0
  15. data/lib/google/ads/google_ads/service_lookup.rb +13 -33
  16. data/lib/google/ads/google_ads/utils/v3/path_lookup_util.rb +876 -0
  17. data/lib/google/ads/google_ads/v3/common/ad_asset_pb.rb +30 -0
  18. data/lib/google/ads/google_ads/v3/common/ad_type_infos_pb.rb +228 -0
  19. data/lib/google/ads/google_ads/v3/common/asset_types_pb.rb +38 -0
  20. data/lib/google/ads/google_ads/v3/common/bidding_pb.rb +68 -0
  21. data/lib/google/ads/google_ads/v3/common/click_location_pb.rb +20 -0
  22. data/lib/google/ads/google_ads/v3/common/criteria_pb.rb +297 -0
  23. data/lib/google/ads/google_ads/v3/common/criterion_category_availability_pb.rb +34 -0
  24. data/lib/google/ads/google_ads/v3/common/custom_parameter_pb.rb +17 -0
  25. data/lib/google/ads/google_ads/v3/common/dates_pb.rb +17 -0
  26. data/lib/google/ads/google_ads/v3/common/explorer_auto_optimizer_setting_pb.rb +16 -0
  27. data/lib/google/ads/google_ads/v3/common/extensions_pb.rb +138 -0
  28. data/lib/google/ads/google_ads/v3/common/feed_common_pb.rb +17 -0
  29. data/lib/google/ads/google_ads/v3/common/final_app_url_pb.rb +18 -0
  30. data/lib/google/ads/google_ads/v3/common/frequency_cap_pb.rb +27 -0
  31. data/lib/google/ads/google_ads/v3/common/keyword_plan_common_pb.rb +18 -0
  32. data/lib/google/ads/google_ads/v3/common/matching_function_pb.rb +52 -0
  33. data/lib/google/ads/google_ads/v3/common/metrics_pb.rb +128 -0
  34. data/lib/google/ads/google_ads/v3/common/policy_pb.rb +91 -0
  35. data/lib/google/ads/google_ads/v3/common/real_time_bidding_setting_pb.rb +16 -0
  36. data/lib/google/ads/google_ads/v3/common/segments_pb.rb +119 -0
  37. data/lib/google/ads/google_ads/v3/common/simulation_pb.rb +72 -0
  38. data/lib/google/ads/google_ads/v3/common/tag_snippet_pb.rb +21 -0
  39. data/lib/google/ads/google_ads/v3/common/targeting_setting_pb.rb +35 -0
  40. data/lib/google/ads/google_ads/v3/common/text_label_pb.rb +17 -0
  41. data/lib/google/ads/google_ads/v3/common/url_collection_pb.rb +19 -0
  42. data/lib/google/ads/google_ads/v3/common/user_lists_pb.rb +114 -0
  43. data/lib/google/ads/google_ads/v3/common/value_pb.rb +21 -0
  44. data/lib/google/ads/google_ads/v3/enums/access_reason_pb.rb +24 -0
  45. data/lib/google/ads/google_ads/v3/enums/access_role_pb.rb +22 -0
  46. data/lib/google/ads/google_ads/v3/enums/account_budget_proposal_status_pb.rb +24 -0
  47. data/lib/google/ads/google_ads/v3/enums/account_budget_proposal_type_pb.rb +23 -0
  48. data/lib/google/ads/google_ads/v3/enums/account_budget_status_pb.rb +22 -0
  49. data/lib/google/ads/google_ads/v3/enums/ad_customizer_placeholder_field_pb.rb +23 -0
  50. data/lib/google/ads/google_ads/v3/enums/ad_group_ad_rotation_mode_pb.rb +21 -0
  51. data/lib/google/ads/google_ads/v3/enums/ad_group_ad_status_pb.rb +22 -0
  52. data/lib/google/ads/google_ads/v3/enums/ad_group_criterion_approval_status_pb.rb +23 -0
  53. data/lib/google/ads/google_ads/v3/enums/ad_group_criterion_status_pb.rb +22 -0
  54. data/lib/google/ads/google_ads/v3/enums/ad_group_status_pb.rb +22 -0
  55. data/lib/google/ads/google_ads/v3/enums/ad_group_type_pb.rb +32 -0
  56. data/lib/google/ads/google_ads/v3/enums/ad_network_type_pb.rb +25 -0
  57. data/lib/google/ads/google_ads/v3/enums/ad_serving_optimization_status_pb.rb +24 -0
  58. data/lib/google/ads/google_ads/v3/enums/ad_strength_pb.rb +25 -0
  59. data/lib/google/ads/google_ads/v3/enums/ad_type_pb.rb +38 -0
  60. data/lib/google/ads/google_ads/v3/enums/advertising_channel_sub_type_pb.rb +32 -0
  61. data/lib/google/ads/google_ads/v3/enums/advertising_channel_type_pb.rb +25 -0
  62. data/lib/google/ads/google_ads/v3/enums/affiliate_location_feed_relationship_type_pb.rb +20 -0
  63. data/lib/google/ads/google_ads/v3/enums/affiliate_location_placeholder_field_pb.rb +30 -0
  64. data/lib/google/ads/google_ads/v3/enums/age_range_type_pb.rb +26 -0
  65. data/lib/google/ads/google_ads/v3/enums/app_campaign_app_store_pb.rb +21 -0
  66. data/lib/google/ads/google_ads/v3/enums/app_campaign_bidding_strategy_goal_type_pb.rb +23 -0
  67. data/lib/google/ads/google_ads/v3/enums/app_payment_model_type_pb.rb +20 -0
  68. data/lib/google/ads/google_ads/v3/enums/app_placeholder_field_pb.rb +27 -0
  69. data/lib/google/ads/google_ads/v3/enums/app_store_pb.rb +21 -0
  70. data/lib/google/ads/google_ads/v3/enums/app_url_operating_system_type_pb.rb +21 -0
  71. data/lib/google/ads/google_ads/v3/enums/asset_field_type_pb.rb +25 -0
  72. data/lib/google/ads/google_ads/v3/enums/asset_performance_label_pb.rb +24 -0
  73. data/lib/google/ads/google_ads/v3/enums/asset_type_pb.rb +23 -0
  74. data/lib/google/ads/google_ads/v3/enums/attribution_model_pb.rb +26 -0
  75. data/lib/google/ads/google_ads/v3/enums/bid_modifier_source_pb.rb +21 -0
  76. data/lib/google/ads/google_ads/v3/enums/bidding_source_pb.rb +22 -0
  77. data/lib/google/ads/google_ads/v3/enums/bidding_strategy_status_pb.rb +21 -0
  78. data/lib/google/ads/google_ads/v3/enums/bidding_strategy_type_pb.rb +34 -0
  79. data/lib/google/ads/google_ads/v3/enums/billing_setup_status_pb.rb +23 -0
  80. data/lib/google/ads/google_ads/v3/enums/brand_safety_suitability_pb.rb +22 -0
  81. data/lib/google/ads/google_ads/v3/enums/budget_delivery_method_pb.rb +21 -0
  82. data/lib/google/ads/google_ads/v3/enums/budget_period_pb.rb +20 -0
  83. data/lib/google/ads/google_ads/v3/enums/budget_status_pb.rb +21 -0
  84. data/lib/google/ads/google_ads/v3/enums/budget_type_pb.rb +22 -0
  85. data/lib/google/ads/google_ads/v3/enums/call_conversion_reporting_state_pb.rb +22 -0
  86. data/lib/google/ads/google_ads/v3/enums/call_placeholder_field_pb.rb +24 -0
  87. data/lib/google/ads/google_ads/v3/enums/callout_placeholder_field_pb.rb +20 -0
  88. data/lib/google/ads/google_ads/v3/enums/campaign_criterion_status_pb.rb +22 -0
  89. data/lib/google/ads/google_ads/v3/enums/campaign_draft_status_pb.rb +24 -0
  90. data/lib/google/ads/google_ads/v3/enums/campaign_experiment_status_pb.rb +28 -0
  91. data/lib/google/ads/google_ads/v3/enums/campaign_experiment_traffic_split_type_pb.rb +21 -0
  92. data/lib/google/ads/google_ads/v3/enums/campaign_experiment_type_pb.rb +22 -0
  93. data/lib/google/ads/google_ads/v3/enums/campaign_serving_status_pb.rb +24 -0
  94. data/lib/google/ads/google_ads/v3/enums/campaign_shared_set_status_pb.rb +21 -0
  95. data/lib/google/ads/google_ads/v3/enums/campaign_status_pb.rb +22 -0
  96. data/lib/google/ads/google_ads/v3/enums/change_status_operation_pb.rb +22 -0
  97. data/lib/google/ads/google_ads/v3/enums/change_status_resource_type_pb.rb +29 -0
  98. data/lib/google/ads/google_ads/v3/enums/click_type_pb.rb +72 -0
  99. data/lib/google/ads/google_ads/v3/enums/content_label_type_pb.rb +34 -0
  100. data/lib/google/ads/google_ads/v3/enums/conversion_action_category_pb.rb +25 -0
  101. data/lib/google/ads/google_ads/v3/enums/conversion_action_counting_type_pb.rb +21 -0
  102. data/lib/google/ads/google_ads/v3/enums/conversion_action_status_pb.rb +22 -0
  103. data/lib/google/ads/google_ads/v3/enums/conversion_action_type_pb.rb +27 -0
  104. data/lib/google/ads/google_ads/v3/enums/conversion_adjustment_type_pb.rb +21 -0
  105. data/lib/google/ads/google_ads/v3/enums/conversion_attribution_event_type_pb.rb +21 -0
  106. data/lib/google/ads/google_ads/v3/enums/conversion_lag_bucket_pb.rb +38 -0
  107. data/lib/google/ads/google_ads/v3/enums/conversion_or_adjustment_lag_bucket_pb.rb +60 -0
  108. data/lib/google/ads/google_ads/v3/enums/criterion_category_channel_availability_mode_pb.rb +22 -0
  109. data/lib/google/ads/google_ads/v3/enums/criterion_category_locale_availability_mode_pb.rb +23 -0
  110. data/lib/google/ads/google_ads/v3/enums/criterion_system_serving_status_pb.rb +21 -0
  111. data/lib/google/ads/google_ads/v3/enums/criterion_type_pb.rb +49 -0
  112. data/lib/google/ads/google_ads/v3/enums/custom_interest_member_type_pb.rb +21 -0
  113. data/lib/google/ads/google_ads/v3/enums/custom_interest_status_pb.rb +21 -0
  114. data/lib/google/ads/google_ads/v3/enums/custom_interest_type_pb.rb +21 -0
  115. data/lib/google/ads/google_ads/v3/enums/custom_placeholder_field_pb.rb +39 -0
  116. data/lib/google/ads/google_ads/v3/enums/customer_match_upload_key_type_pb.rb +22 -0
  117. data/lib/google/ads/google_ads/v3/enums/customer_pay_per_conversion_eligibility_failure_reason_pb.rb +26 -0
  118. data/lib/google/ads/google_ads/v3/enums/data_driven_model_status_pb.rb +23 -0
  119. data/lib/google/ads/google_ads/v3/enums/day_of_week_pb.rb +26 -0
  120. data/lib/google/ads/google_ads/v3/enums/device_pb.rb +24 -0
  121. data/lib/google/ads/google_ads/v3/enums/display_ad_format_setting_pb.rb +22 -0
  122. data/lib/google/ads/google_ads/v3/enums/display_upload_product_type_pb.rb +29 -0
  123. data/lib/google/ads/google_ads/v3/enums/distance_bucket_pb.rb +46 -0
  124. data/lib/google/ads/google_ads/v3/enums/dsa_page_feed_criterion_field_pb.rb +21 -0
  125. data/lib/google/ads/google_ads/v3/enums/education_placeholder_field_pb.rb +36 -0
  126. data/lib/google/ads/google_ads/v3/enums/extension_setting_device_pb.rb +21 -0
  127. data/lib/google/ads/google_ads/v3/enums/extension_type_pb.rb +31 -0
  128. data/lib/google/ads/google_ads/v3/enums/external_conversion_source_pb.rb +40 -0
  129. data/lib/google/ads/google_ads/v3/enums/feed_attribute_type_pb.rb +32 -0
  130. data/lib/google/ads/google_ads/v3/enums/feed_item_quality_approval_status_pb.rb +21 -0
  131. data/lib/google/ads/google_ads/v3/enums/feed_item_quality_disapproval_reason_pb.rb +37 -0
  132. data/lib/google/ads/google_ads/v3/enums/feed_item_status_pb.rb +21 -0
  133. data/lib/google/ads/google_ads/v3/enums/feed_item_target_device_pb.rb +20 -0
  134. data/lib/google/ads/google_ads/v3/enums/feed_item_target_status_pb.rb +21 -0
  135. data/lib/google/ads/google_ads/v3/enums/feed_item_target_type_pb.rb +22 -0
  136. data/lib/google/ads/google_ads/v3/enums/feed_item_validation_status_pb.rb +22 -0
  137. data/lib/google/ads/google_ads/v3/enums/feed_link_status_pb.rb +21 -0
  138. data/lib/google/ads/google_ads/v3/enums/feed_mapping_criterion_type_pb.rb +21 -0
  139. data/lib/google/ads/google_ads/v3/enums/feed_mapping_status_pb.rb +21 -0
  140. data/lib/google/ads/google_ads/v3/enums/feed_origin_pb.rb +21 -0
  141. data/lib/google/ads/google_ads/v3/enums/feed_status_pb.rb +21 -0
  142. data/lib/google/ads/google_ads/v3/enums/flight_placeholder_field_pb.rb +36 -0
  143. data/lib/google/ads/google_ads/v3/enums/frequency_cap_event_type_pb.rb +21 -0
  144. data/lib/google/ads/google_ads/v3/enums/frequency_cap_level_pb.rb +22 -0
  145. data/lib/google/ads/google_ads/v3/enums/frequency_cap_time_unit_pb.rb +22 -0
  146. data/lib/google/ads/google_ads/v3/enums/gender_type_pb.rb +22 -0
  147. data/lib/google/ads/google_ads/v3/enums/geo_target_constant_status_pb.rb +21 -0
  148. data/lib/google/ads/google_ads/v3/enums/geo_targeting_restriction_pb.rb +20 -0
  149. data/lib/google/ads/google_ads/v3/enums/geo_targeting_type_pb.rb +21 -0
  150. data/lib/google/ads/google_ads/v3/enums/google_ads_field_category_pb.rb +23 -0
  151. data/lib/google/ads/google_ads/v3/enums/google_ads_field_data_type_pb.rb +30 -0
  152. data/lib/google/ads/google_ads/v3/enums/hotel_date_selection_type_pb.rb +21 -0
  153. data/lib/google/ads/google_ads/v3/enums/hotel_placeholder_field_pb.rb +39 -0
  154. data/lib/google/ads/google_ads/v3/enums/hotel_price_bucket_pb.rb +21 -0
  155. data/lib/google/ads/google_ads/v3/enums/hotel_rate_type_pb.rb +23 -0
  156. data/lib/google/ads/google_ads/v3/enums/income_range_type_pb.rb +26 -0
  157. data/lib/google/ads/google_ads/v3/enums/interaction_event_type_pb.rb +23 -0
  158. data/lib/google/ads/google_ads/v3/enums/interaction_type_pb.rb +20 -0
  159. data/lib/google/ads/google_ads/v3/enums/invoice_type_pb.rb +21 -0
  160. data/lib/google/ads/google_ads/v3/enums/job_placeholder_field_pb.rb +36 -0
  161. data/lib/google/ads/google_ads/v3/enums/keyword_match_type_pb.rb +22 -0
  162. data/lib/google/ads/google_ads/v3/enums/keyword_plan_competition_level_pb.rb +22 -0
  163. data/lib/google/ads/google_ads/v3/enums/keyword_plan_forecast_interval_pb.rb +22 -0
  164. data/lib/google/ads/google_ads/v3/enums/keyword_plan_network_pb.rb +21 -0
  165. data/lib/google/ads/google_ads/v3/enums/label_status_pb.rb +21 -0
  166. data/lib/google/ads/google_ads/v3/enums/legacy_app_install_ad_app_store_pb.rb +24 -0
  167. data/lib/google/ads/google_ads/v3/enums/listing_group_type_pb.rb +21 -0
  168. data/lib/google/ads/google_ads/v3/enums/local_placeholder_field_pb.rb +38 -0
  169. data/lib/google/ads/google_ads/v3/enums/location_extension_targeting_criterion_field_pb.rb +25 -0
  170. data/lib/google/ads/google_ads/v3/enums/location_group_radius_units_pb.rb +21 -0
  171. data/lib/google/ads/google_ads/v3/enums/location_placeholder_field_pb.rb +27 -0
  172. data/lib/google/ads/google_ads/v3/enums/manager_link_status_pb.rb +24 -0
  173. data/lib/google/ads/google_ads/v3/enums/matching_function_context_type_pb.rb +21 -0
  174. data/lib/google/ads/google_ads/v3/enums/matching_function_operator_pb.rb +24 -0
  175. data/lib/google/ads/google_ads/v3/enums/media_type_pb.rb +25 -0
  176. data/lib/google/ads/google_ads/v3/enums/merchant_center_link_status_pb.rb +21 -0
  177. data/lib/google/ads/google_ads/v3/enums/message_placeholder_field_pb.rb +24 -0
  178. data/lib/google/ads/google_ads/v3/enums/mime_type_pb.rb +31 -0
  179. data/lib/google/ads/google_ads/v3/enums/minute_of_hour_pb.rb +23 -0
  180. data/lib/google/ads/google_ads/v3/enums/mobile_device_type_pb.rb +21 -0
  181. data/lib/google/ads/google_ads/v3/enums/month_of_year_pb.rb +31 -0
  182. data/lib/google/ads/google_ads/v3/enums/mutate_job_status_pb.rb +22 -0
  183. data/lib/google/ads/google_ads/v3/enums/negative_geo_target_type_pb.rb +21 -0
  184. data/lib/google/ads/google_ads/v3/enums/operating_system_version_operator_type_pb.rb +21 -0
  185. data/lib/google/ads/google_ads/v3/enums/page_one_promoted_strategy_goal_pb.rb +11 -0
  186. data/lib/google/ads/google_ads/v3/enums/parental_status_type_pb.rb +22 -0
  187. data/lib/google/ads/google_ads/v3/enums/payment_mode_pb.rb +23 -0
  188. data/lib/google/ads/google_ads/v3/enums/placeholder_type_pb.rb +38 -0
  189. data/lib/google/ads/google_ads/v3/enums/placement_type_pb.rb +24 -0
  190. data/lib/google/ads/google_ads/v3/enums/policy_approval_status_pb.rb +23 -0
  191. data/lib/google/ads/google_ads/v3/enums/policy_review_status_pb.rb +23 -0
  192. data/lib/google/ads/google_ads/v3/enums/policy_topic_entry_type_pb.rb +25 -0
  193. data/lib/google/ads/google_ads/v3/enums/policy_topic_evidence_destination_mismatch_url_type_pb.rb +24 -0
  194. data/lib/google/ads/google_ads/v3/enums/policy_topic_evidence_destination_not_working_device_pb.rb +22 -0
  195. data/lib/google/ads/google_ads/v3/enums/policy_topic_evidence_destination_not_working_dns_error_type_pb.rb +21 -0
  196. data/lib/google/ads/google_ads/v3/enums/positive_geo_target_type_pb.rb +22 -0
  197. data/lib/google/ads/google_ads/v3/enums/preferred_content_type_pb.rb +20 -0
  198. data/lib/google/ads/google_ads/v3/enums/price_extension_price_qualifier_pb.rb +22 -0
  199. data/lib/google/ads/google_ads/v3/enums/price_extension_price_unit_pb.rb +25 -0
  200. data/lib/google/ads/google_ads/v3/enums/price_extension_type_pb.rb +28 -0
  201. data/lib/google/ads/google_ads/v3/enums/price_placeholder_field_pb.rb +72 -0
  202. data/lib/google/ads/google_ads/v3/enums/product_bidding_category_level_pb.rb +24 -0
  203. data/lib/google/ads/google_ads/v3/enums/product_bidding_category_status_pb.rb +21 -0
  204. data/lib/google/ads/google_ads/v3/enums/product_channel_exclusivity_pb.rb +21 -0
  205. data/lib/google/ads/google_ads/v3/enums/product_channel_pb.rb +21 -0
  206. data/lib/google/ads/google_ads/v3/enums/product_condition_pb.rb +22 -0
  207. data/lib/google/ads/google_ads/v3/enums/product_custom_attribute_index_pb.rb +24 -0
  208. data/lib/google/ads/google_ads/v3/enums/product_type_level_pb.rb +24 -0
  209. data/lib/google/ads/google_ads/v3/enums/promotion_extension_discount_modifier_pb.rb +20 -0
  210. data/lib/google/ads/google_ads/v3/enums/promotion_extension_occasion_pb.rb +56 -0
  211. data/lib/google/ads/google_ads/v3/enums/promotion_placeholder_field_pb.rb +33 -0
  212. data/lib/google/ads/google_ads/v3/enums/proximity_radius_units_pb.rb +21 -0
  213. data/lib/google/ads/google_ads/v3/enums/quality_score_bucket_pb.rb +22 -0
  214. data/lib/google/ads/google_ads/v3/enums/reach_plan_ad_length_pb.rb +22 -0
  215. data/lib/google/ads/google_ads/v3/enums/reach_plan_age_range_pb.rb +45 -0
  216. data/lib/google/ads/google_ads/v3/enums/reach_plan_network_pb.rb +22 -0
  217. data/lib/google/ads/google_ads/v3/enums/real_estate_placeholder_field_pb.rb +37 -0
  218. data/lib/google/ads/google_ads/v3/enums/recommendation_type_pb.rb +33 -0
  219. data/lib/google/ads/google_ads/v3/enums/search_engine_results_page_type_pb.rb +22 -0
  220. data/lib/google/ads/google_ads/v3/enums/search_term_match_type_pb.rb +24 -0
  221. data/lib/google/ads/google_ads/v3/enums/search_term_targeting_status_pb.rb +23 -0
  222. data/lib/google/ads/google_ads/v3/enums/served_asset_field_type_pb.rb +24 -0
  223. data/lib/google/ads/google_ads/v3/enums/shared_set_status_pb.rb +21 -0
  224. data/lib/google/ads/google_ads/v3/enums/shared_set_type_pb.rb +21 -0
  225. data/lib/google/ads/google_ads/v3/enums/simulation_modification_method_pb.rb +21 -0
  226. data/lib/google/ads/google_ads/v3/enums/simulation_type_pb.rb +23 -0
  227. data/lib/google/ads/google_ads/v3/enums/sitelink_placeholder_field_pb.rb +26 -0
  228. data/lib/google/ads/google_ads/v3/enums/slot_pb.rb +26 -0
  229. data/lib/google/ads/google_ads/v3/enums/spending_limit_type_pb.rb +20 -0
  230. data/lib/google/ads/google_ads/v3/enums/structured_snippet_placeholder_field_pb.rb +21 -0
  231. data/lib/google/ads/google_ads/v3/enums/summary_row_setting_pb.rb +22 -0
  232. data/lib/google/ads/google_ads/v3/enums/system_managed_entity_source_pb.rb +20 -0
  233. data/lib/google/ads/google_ads/v3/enums/target_cpa_opt_in_recommendation_goal_pb.rb +23 -0
  234. data/lib/google/ads/google_ads/v3/enums/target_impression_share_location_pb.rb +22 -0
  235. data/lib/google/ads/google_ads/v3/enums/targeting_dimension_pb.rb +27 -0
  236. data/lib/google/ads/google_ads/v3/enums/time_type_pb.rb +21 -0
  237. data/lib/google/ads/google_ads/v3/enums/tracking_code_page_format_pb.rb +21 -0
  238. data/lib/google/ads/google_ads/v3/enums/tracking_code_type_pb.rb +23 -0
  239. data/lib/google/ads/google_ads/v3/enums/travel_placeholder_field_pb.rb +39 -0
  240. data/lib/google/ads/google_ads/v3/enums/user_interest_taxonomy_type_pb.rb +24 -0
  241. data/lib/google/ads/google_ads/v3/enums/user_list_access_status_pb.rb +21 -0
  242. data/lib/google/ads/google_ads/v3/enums/user_list_closing_reason_pb.rb +20 -0
  243. data/lib/google/ads/google_ads/v3/enums/user_list_combined_rule_operator_pb.rb +21 -0
  244. data/lib/google/ads/google_ads/v3/enums/user_list_crm_data_source_type_pb.rb +22 -0
  245. data/lib/google/ads/google_ads/v3/enums/user_list_date_rule_item_operator_pb.rb +23 -0
  246. data/lib/google/ads/google_ads/v3/enums/user_list_logical_rule_operator_pb.rb +22 -0
  247. data/lib/google/ads/google_ads/v3/enums/user_list_membership_status_pb.rb +21 -0
  248. data/lib/google/ads/google_ads/v3/enums/user_list_number_rule_item_operator_pb.rb +25 -0
  249. data/lib/google/ads/google_ads/v3/enums/user_list_prepopulation_status_pb.rb +22 -0
  250. data/lib/google/ads/google_ads/v3/enums/user_list_rule_type_pb.rb +21 -0
  251. data/lib/google/ads/google_ads/v3/enums/user_list_size_range_pb.rb +35 -0
  252. data/lib/google/ads/google_ads/v3/enums/user_list_string_rule_item_operator_pb.rb +27 -0
  253. data/lib/google/ads/google_ads/v3/enums/user_list_type_pb.rb +25 -0
  254. data/lib/google/ads/google_ads/v3/enums/vanity_pharma_display_url_mode_pb.rb +21 -0
  255. data/lib/google/ads/google_ads/v3/enums/vanity_pharma_text_pb.rb +31 -0
  256. data/lib/google/ads/google_ads/v3/enums/webpage_condition_operand_pb.rb +24 -0
  257. data/lib/google/ads/google_ads/v3/enums/webpage_condition_operator_pb.rb +21 -0
  258. data/lib/google/ads/google_ads/v3/errors/access_invitation_error_pb.rb +21 -0
  259. data/lib/google/ads/google_ads/v3/errors/account_budget_proposal_error_pb.rb +41 -0
  260. data/lib/google/ads/google_ads/v3/errors/ad_customizer_error_pb.rb +24 -0
  261. data/lib/google/ads/google_ads/v3/errors/ad_error_pb.rb +154 -0
  262. data/lib/google/ads/google_ads/v3/errors/ad_group_ad_error_pb.rb +27 -0
  263. data/lib/google/ads/google_ads/v3/errors/ad_group_bid_modifier_error_pb.rb +21 -0
  264. data/lib/google/ads/google_ads/v3/errors/ad_group_criterion_error_pb.rb +56 -0
  265. data/lib/google/ads/google_ads/v3/errors/ad_group_error_pb.rb +31 -0
  266. data/lib/google/ads/google_ads/v3/errors/ad_group_feed_error_pb.rb +26 -0
  267. data/lib/google/ads/google_ads/v3/errors/ad_parameter_error_pb.rb +21 -0
  268. data/lib/google/ads/google_ads/v3/errors/ad_sharing_error_pb.rb +22 -0
  269. data/lib/google/ads/google_ads/v3/errors/adx_error_pb.rb +20 -0
  270. data/lib/google/ads/google_ads/v3/errors/asset_error_pb.rb +24 -0
  271. data/lib/google/ads/google_ads/v3/errors/authentication_error_pb.rb +37 -0
  272. data/lib/google/ads/google_ads/v3/errors/authorization_error_pb.rb +31 -0
  273. data/lib/google/ads/google_ads/v3/errors/bidding_error_pb.rb +43 -0
  274. data/lib/google/ads/google_ads/v3/errors/bidding_strategy_error_pb.rb +24 -0
  275. data/lib/google/ads/google_ads/v3/errors/billing_setup_error_pb.rb +36 -0
  276. data/lib/google/ads/google_ads/v3/errors/campaign_budget_error_pb.rb +34 -0
  277. data/lib/google/ads/google_ads/v3/errors/campaign_criterion_error_pb.rb +30 -0
  278. data/lib/google/ads/google_ads/v3/errors/campaign_draft_error_pb.rb +29 -0
  279. data/lib/google/ads/google_ads/v3/errors/campaign_error_pb.rb +59 -0
  280. data/lib/google/ads/google_ads/v3/errors/campaign_experiment_error_pb.rb +29 -0
  281. data/lib/google/ads/google_ads/v3/errors/campaign_feed_error_pb.rb +26 -0
  282. data/lib/google/ads/google_ads/v3/errors/campaign_shared_set_error_pb.rb +20 -0
  283. data/lib/google/ads/google_ads/v3/errors/change_status_error_pb.rb +20 -0
  284. data/lib/google/ads/google_ads/v3/errors/collection_size_error_pb.rb +21 -0
  285. data/lib/google/ads/google_ads/v3/errors/context_error_pb.rb +21 -0
  286. data/lib/google/ads/google_ads/v3/errors/conversion_action_error_pb.rb +27 -0
  287. data/lib/google/ads/google_ads/v3/errors/conversion_adjustment_upload_error_pb.rb +30 -0
  288. data/lib/google/ads/google_ads/v3/errors/conversion_upload_error_pb.rb +40 -0
  289. data/lib/google/ads/google_ads/v3/errors/country_code_error_pb.rb +20 -0
  290. data/lib/google/ads/google_ads/v3/errors/criterion_error_pb.rb +117 -0
  291. data/lib/google/ads/google_ads/v3/errors/currency_code_error_pb.rb +20 -0
  292. data/lib/google/ads/google_ads/v3/errors/custom_interest_error_pb.rb +26 -0
  293. data/lib/google/ads/google_ads/v3/errors/customer_client_link_error_pb.rb +26 -0
  294. data/lib/google/ads/google_ads/v3/errors/customer_error_pb.rb +21 -0
  295. data/lib/google/ads/google_ads/v3/errors/customer_feed_error_pb.rb +26 -0
  296. data/lib/google/ads/google_ads/v3/errors/customer_manager_link_error_pb.rb +28 -0
  297. data/lib/google/ads/google_ads/v3/errors/database_error_pb.rb +22 -0
  298. data/lib/google/ads/google_ads/v3/errors/date_error_pb.rb +29 -0
  299. data/lib/google/ads/google_ads/v3/errors/date_range_error_pb.rb +24 -0
  300. data/lib/google/ads/google_ads/v3/errors/distinct_error_pb.rb +21 -0
  301. data/lib/google/ads/google_ads/v3/errors/enum_error_pb.rb +20 -0
  302. data/lib/google/ads/google_ads/v3/errors/errors_pb.rb +273 -0
  303. data/lib/google/ads/google_ads/v3/errors/extension_feed_item_error_pb.rb +64 -0
  304. data/lib/google/ads/google_ads/v3/errors/extension_setting_error_pb.rb +83 -0
  305. data/lib/google/ads/google_ads/v3/errors/feed_attribute_reference_error_pb.rb +22 -0
  306. data/lib/google/ads/google_ads/v3/errors/feed_error_pb.rb +41 -0
  307. data/lib/google/ads/google_ads/v3/errors/feed_item_error_pb.rb +28 -0
  308. data/lib/google/ads/google_ads/v3/errors/feed_item_target_error_pb.rb +27 -0
  309. data/lib/google/ads/google_ads/v3/errors/feed_item_validation_error_pb.rb +116 -0
  310. data/lib/google/ads/google_ads/v3/errors/feed_mapping_error_pb.rb +36 -0
  311. data/lib/google/ads/google_ads/v3/errors/field_error_pb.rb +26 -0
  312. data/lib/google/ads/google_ads/v3/errors/field_mask_error_pb.rb +23 -0
  313. data/lib/google/ads/google_ads/v3/errors/function_error_pb.rb +35 -0
  314. data/lib/google/ads/google_ads/v3/errors/function_parsing_error_pb.rb +30 -0
  315. data/lib/google/ads/google_ads/v3/errors/geo_target_constant_suggestion_error_pb.rb +23 -0
  316. data/lib/google/ads/google_ads/v3/errors/header_error_pb.rb +20 -0
  317. data/lib/google/ads/google_ads/v3/errors/id_error_pb.rb +20 -0
  318. data/lib/google/ads/google_ads/v3/errors/image_error_pb.rb +57 -0
  319. data/lib/google/ads/google_ads/v3/errors/internal_error_pb.rb +23 -0
  320. data/lib/google/ads/google_ads/v3/errors/invoice_error_pb.rb +21 -0
  321. data/lib/google/ads/google_ads/v3/errors/keyword_plan_ad_group_error_pb.rb +21 -0
  322. data/lib/google/ads/google_ads/v3/errors/keyword_plan_campaign_error_pb.rb +24 -0
  323. data/lib/google/ads/google_ads/v3/errors/keyword_plan_error_pb.rb +33 -0
  324. data/lib/google/ads/google_ads/v3/errors/keyword_plan_idea_error_pb.rb +21 -0
  325. data/lib/google/ads/google_ads/v3/errors/keyword_plan_keyword_error_pb.rb +25 -0
  326. data/lib/google/ads/google_ads/v3/errors/keyword_plan_negative_keyword_error_pb.rb +19 -0
  327. data/lib/google/ads/google_ads/v3/errors/label_error_pb.rb +28 -0
  328. data/lib/google/ads/google_ads/v3/errors/language_code_error_pb.rb +21 -0
  329. data/lib/google/ads/google_ads/v3/errors/list_operation_error_pb.rb +21 -0
  330. data/lib/google/ads/google_ads/v3/errors/manager_link_error_pb.rb +34 -0
  331. data/lib/google/ads/google_ads/v3/errors/media_bundle_error_pb.rb +41 -0
  332. data/lib/google/ads/google_ads/v3/errors/media_file_error_pb.rb +42 -0
  333. data/lib/google/ads/google_ads/v3/errors/media_upload_error_pb.rb +26 -0
  334. data/lib/google/ads/google_ads/v3/errors/multiplier_error_pb.rb +31 -0
  335. data/lib/google/ads/google_ads/v3/errors/mutate_error_pb.rb +25 -0
  336. data/lib/google/ads/google_ads/v3/errors/mutate_job_error_pb.rb +24 -0
  337. data/lib/google/ads/google_ads/v3/errors/new_resource_creation_error_pb.rb +22 -0
  338. data/lib/google/ads/google_ads/v3/errors/not_empty_error_pb.rb +20 -0
  339. data/lib/google/ads/google_ads/v3/errors/not_whitelisted_error_pb.rb +20 -0
  340. data/lib/google/ads/google_ads/v3/errors/null_error_pb.rb +20 -0
  341. data/lib/google/ads/google_ads/v3/errors/operation_access_denied_error_pb.rb +29 -0
  342. data/lib/google/ads/google_ads/v3/errors/operator_error_pb.rb +20 -0
  343. data/lib/google/ads/google_ads/v3/errors/partial_failure_error_pb.rb +20 -0
  344. data/lib/google/ads/google_ads/v3/errors/payments_account_error_pb.rb +20 -0
  345. data/lib/google/ads/google_ads/v3/errors/policy_finding_error_pb.rb +21 -0
  346. data/lib/google/ads/google_ads/v3/errors/policy_validation_parameter_error_pb.rb +22 -0
  347. data/lib/google/ads/google_ads/v3/errors/policy_violation_error_pb.rb +20 -0
  348. data/lib/google/ads/google_ads/v3/errors/query_error_pb.rb +72 -0
  349. data/lib/google/ads/google_ads/v3/errors/quota_error_pb.rb +22 -0
  350. data/lib/google/ads/google_ads/v3/errors/range_error_pb.rb +21 -0
  351. data/lib/google/ads/google_ads/v3/errors/reach_plan_error_pb.rb +19 -0
  352. data/lib/google/ads/google_ads/v3/errors/recommendation_error_pb.rb +33 -0
  353. data/lib/google/ads/google_ads/v3/errors/region_code_error_pb.rb +20 -0
  354. data/lib/google/ads/google_ads/v3/errors/request_error_pb.rb +41 -0
  355. data/lib/google/ads/google_ads/v3/errors/resource_access_denied_error_pb.rb +20 -0
  356. data/lib/google/ads/google_ads/v3/errors/resource_count_limit_exceeded_error_pb.rb +28 -0
  357. data/lib/google/ads/google_ads/v3/errors/setting_error_pb.rb +29 -0
  358. data/lib/google/ads/google_ads/v3/errors/shared_criterion_error_pb.rb +20 -0
  359. data/lib/google/ads/google_ads/v3/errors/shared_set_error_pb.rb +23 -0
  360. data/lib/google/ads/google_ads/v3/errors/size_limit_error_pb.rb +21 -0
  361. data/lib/google/ads/google_ads/v3/errors/string_format_error_pb.rb +21 -0
  362. data/lib/google/ads/google_ads/v3/errors/string_length_error_pb.rb +22 -0
  363. data/lib/google/ads/google_ads/v3/errors/time_zone_error_pb.rb +20 -0
  364. data/lib/google/ads/google_ads/v3/errors/url_field_error_pb.rb +71 -0
  365. data/lib/google/ads/google_ads/v3/errors/user_list_error_pb.rb +45 -0
  366. data/lib/google/ads/google_ads/v3/errors/youtube_video_registration_error_pb.rb +22 -0
  367. data/lib/google/ads/google_ads/v3/resources/account_budget_pb.rb +70 -0
  368. data/lib/google/ads/google_ads/v3/resources/account_budget_proposal_pb.rb +52 -0
  369. data/lib/google/ads/google_ads/v3/resources/ad_group_ad_asset_view_pb.rb +33 -0
  370. data/lib/google/ads/google_ads/v3/resources/ad_group_ad_label_pb.rb +19 -0
  371. data/lib/google/ads/google_ads/v3/resources/ad_group_ad_pb.rb +34 -0
  372. data/lib/google/ads/google_ads/v3/resources/ad_group_audience_view_pb.rb +16 -0
  373. data/lib/google/ads/google_ads/v3/resources/ad_group_bid_modifier_pb.rb +32 -0
  374. data/lib/google/ads/google_ads/v3/resources/ad_group_criterion_label_pb.rb +19 -0
  375. data/lib/google/ads/google_ads/v3/resources/ad_group_criterion_pb.rb +87 -0
  376. data/lib/google/ads/google_ads/v3/resources/ad_group_criterion_simulation_pb.rb +29 -0
  377. data/lib/google/ads/google_ads/v3/resources/ad_group_extension_setting_pb.rb +23 -0
  378. data/lib/google/ads/google_ads/v3/resources/ad_group_feed_pb.rb +25 -0
  379. data/lib/google/ads/google_ads/v3/resources/ad_group_label_pb.rb +19 -0
  380. data/lib/google/ads/google_ads/v3/resources/ad_group_pb.rb +50 -0
  381. data/lib/google/ads/google_ads/v3/resources/ad_group_simulation_pb.rb +30 -0
  382. data/lib/google/ads/google_ads/v3/resources/ad_parameter_pb.rb +20 -0
  383. data/lib/google/ads/google_ads/v3/resources/ad_pb.rb +58 -0
  384. data/lib/google/ads/google_ads/v3/resources/ad_schedule_view_pb.rb +16 -0
  385. data/lib/google/ads/google_ads/v3/resources/age_range_view_pb.rb +16 -0
  386. data/lib/google/ads/google_ads/v3/resources/asset_pb.rb +28 -0
  387. data/lib/google/ads/google_ads/v3/resources/bidding_strategy_pb.rb +33 -0
  388. data/lib/google/ads/google_ads/v3/resources/billing_setup_pb.rb +39 -0
  389. data/lib/google/ads/google_ads/v3/resources/campaign_audience_view_pb.rb +16 -0
  390. data/lib/google/ads/google_ads/v3/resources/campaign_bid_modifier_pb.rb +24 -0
  391. data/lib/google/ads/google_ads/v3/resources/campaign_budget_pb.rb +37 -0
  392. data/lib/google/ads/google_ads/v3/resources/campaign_criterion_pb.rb +55 -0
  393. data/lib/google/ads/google_ads/v3/resources/campaign_criterion_simulation_pb.rb +29 -0
  394. data/lib/google/ads/google_ads/v3/resources/campaign_draft_pb.rb +25 -0
  395. data/lib/google/ads/google_ads/v3/resources/campaign_experiment_pb.rb +30 -0
  396. data/lib/google/ads/google_ads/v3/resources/campaign_extension_setting_pb.rb +23 -0
  397. data/lib/google/ads/google_ads/v3/resources/campaign_feed_pb.rb +25 -0
  398. data/lib/google/ads/google_ads/v3/resources/campaign_label_pb.rb +19 -0
  399. data/lib/google/ads/google_ads/v3/resources/campaign_pb.rb +132 -0
  400. data/lib/google/ads/google_ads/v3/resources/campaign_shared_set_pb.rb +21 -0
  401. data/lib/google/ads/google_ads/v3/resources/carrier_constant_pb.rb +20 -0
  402. data/lib/google/ads/google_ads/v3/resources/change_status_pb.rb +32 -0
  403. data/lib/google/ads/google_ads/v3/resources/click_view_pb.rb +23 -0
  404. data/lib/google/ads/google_ads/v3/resources/conversion_action_pb.rb +50 -0
  405. data/lib/google/ads/google_ads/v3/resources/currency_constant_pb.rb +21 -0
  406. data/lib/google/ads/google_ads/v3/resources/custom_interest_pb.rb +31 -0
  407. data/lib/google/ads/google_ads/v3/resources/customer_client_link_pb.rb +22 -0
  408. data/lib/google/ads/google_ads/v3/resources/customer_client_pb.rb +26 -0
  409. data/lib/google/ads/google_ads/v3/resources/customer_extension_setting_pb.rb +22 -0
  410. data/lib/google/ads/google_ads/v3/resources/customer_feed_pb.rb +24 -0
  411. data/lib/google/ads/google_ads/v3/resources/customer_label_pb.rb +19 -0
  412. data/lib/google/ads/google_ads/v3/resources/customer_manager_link_pb.rb +21 -0
  413. data/lib/google/ads/google_ads/v3/resources/customer_negative_criterion_pb.rb +29 -0
  414. data/lib/google/ads/google_ads/v3/resources/customer_pb.rb +47 -0
  415. data/lib/google/ads/google_ads/v3/resources/detail_placement_view_pb.rb +23 -0
  416. data/lib/google/ads/google_ads/v3/resources/display_keyword_view_pb.rb +16 -0
  417. data/lib/google/ads/google_ads/v3/resources/distance_view_pb.rb +20 -0
  418. data/lib/google/ads/google_ads/v3/resources/domain_category_pb.rb +25 -0
  419. data/lib/google/ads/google_ads/v3/resources/dynamic_search_ads_search_term_view_pb.rb +24 -0
  420. data/lib/google/ads/google_ads/v3/resources/expanded_landing_page_view_pb.rb +18 -0
  421. data/lib/google/ads/google_ads/v3/resources/extension_feed_item_pb.rb +48 -0
  422. data/lib/google/ads/google_ads/v3/resources/feed_item_pb.rb +70 -0
  423. data/lib/google/ads/google_ads/v3/resources/feed_item_target_pb.rb +33 -0
  424. data/lib/google/ads/google_ads/v3/resources/feed_mapping_pb.rb +76 -0
  425. data/lib/google/ads/google_ads/v3/resources/feed_pb.rb +69 -0
  426. data/lib/google/ads/google_ads/v3/resources/feed_placeholder_view_pb.rb +18 -0
  427. data/lib/google/ads/google_ads/v3/resources/gender_view_pb.rb +16 -0
  428. data/lib/google/ads/google_ads/v3/resources/geo_target_constant_pb.rb +24 -0
  429. data/lib/google/ads/google_ads/v3/resources/geographic_view_pb.rb +20 -0
  430. data/lib/google/ads/google_ads/v3/resources/google_ads_field_pb.rb +32 -0
  431. data/lib/google/ads/google_ads/v3/resources/group_placement_view_pb.rb +22 -0
  432. data/lib/google/ads/google_ads/v3/resources/hotel_group_view_pb.rb +16 -0
  433. data/lib/google/ads/google_ads/v3/resources/hotel_performance_view_pb.rb +16 -0
  434. data/lib/google/ads/google_ads/v3/resources/invoice_pb.rb +48 -0
  435. data/lib/google/ads/google_ads/v3/resources/keyword_plan_ad_group_pb.rb +21 -0
  436. data/lib/google/ads/google_ads/v3/resources/keyword_plan_campaign_pb.rb +29 -0
  437. data/lib/google/ads/google_ads/v3/resources/keyword_plan_keyword_pb.rb +23 -0
  438. data/lib/google/ads/google_ads/v3/resources/keyword_plan_negative_keyword_pb.rb +22 -0
  439. data/lib/google/ads/google_ads/v3/resources/keyword_plan_pb.rb +29 -0
  440. data/lib/google/ads/google_ads/v3/resources/keyword_view_pb.rb +16 -0
  441. data/lib/google/ads/google_ads/v3/resources/label_pb.rb +23 -0
  442. data/lib/google/ads/google_ads/v3/resources/landing_page_view_pb.rb +18 -0
  443. data/lib/google/ads/google_ads/v3/resources/language_constant_pb.rb +21 -0
  444. data/lib/google/ads/google_ads/v3/resources/location_view_pb.rb +16 -0
  445. data/lib/google/ads/google_ads/v3/resources/managed_placement_view_pb.rb +16 -0
  446. data/lib/google/ads/google_ads/v3/resources/media_file_pb.rb +50 -0
  447. data/lib/google/ads/google_ads/v3/resources/merchant_center_link_pb.rb +21 -0
  448. data/lib/google/ads/google_ads/v3/resources/mobile_app_category_constant_pb.rb +19 -0
  449. data/lib/google/ads/google_ads/v3/resources/mobile_device_constant_pb.rb +23 -0
  450. data/lib/google/ads/google_ads/v3/resources/mutate_job_pb.rb +31 -0
  451. data/lib/google/ads/google_ads/v3/resources/operating_system_version_constant_pb.rb +23 -0
  452. data/lib/google/ads/google_ads/v3/resources/paid_organic_search_term_view_pb.rb +18 -0
  453. data/lib/google/ads/google_ads/v3/resources/parental_status_view_pb.rb +16 -0
  454. data/lib/google/ads/google_ads/v3/resources/payments_account_pb.rb +22 -0
  455. data/lib/google/ads/google_ads/v3/resources/product_bidding_category_constant_pb.rb +26 -0
  456. data/lib/google/ads/google_ads/v3/resources/product_group_view_pb.rb +16 -0
  457. data/lib/google/ads/google_ads/v3/resources/recommendation_pb.rb +131 -0
  458. data/lib/google/ads/google_ads/v3/resources/remarketing_action_pb.rb +21 -0
  459. data/lib/google/ads/google_ads/v3/resources/search_term_view_pb.rb +21 -0
  460. data/lib/google/ads/google_ads/v3/resources/shared_criterion_pb.rb +30 -0
  461. data/lib/google/ads/google_ads/v3/resources/shared_set_pb.rb +25 -0
  462. data/lib/google/ads/google_ads/v3/resources/shopping_performance_view_pb.rb +16 -0
  463. data/lib/google/ads/google_ads/v3/resources/topic_constant_pb.rb +20 -0
  464. data/lib/google/ads/google_ads/v3/resources/topic_view_pb.rb +16 -0
  465. data/lib/google/ads/google_ads/v3/resources/user_interest_pb.rb +25 -0
  466. data/lib/google/ads/google_ads/v3/resources/user_list_pb.rb +48 -0
  467. data/lib/google/ads/google_ads/v3/resources/user_location_view_pb.rb +19 -0
  468. data/lib/google/ads/google_ads/v3/resources/video_pb.rb +21 -0
  469. data/lib/google/ads/google_ads/v3/services/account_budget_proposal_service_client.rb +292 -0
  470. data/lib/google/ads/google_ads/v3/services/account_budget_proposal_service_client_config.json +36 -0
  471. data/lib/google/ads/google_ads/v3/services/account_budget_proposal_service_pb.rb +41 -0
  472. data/lib/google/ads/google_ads/v3/services/account_budget_proposal_service_services_pb.rb +57 -0
  473. data/lib/google/ads/google_ads/v3/services/account_budget_service_client.rb +226 -0
  474. data/lib/google/ads/google_ads/v3/services/account_budget_service_client_config.json +31 -0
  475. data/lib/google/ads/google_ads/v3/services/account_budget_service_pb.rb +18 -0
  476. data/lib/google/ads/google_ads/v3/services/account_budget_service_services_pb.rb +43 -0
  477. data/lib/google/ads/google_ads/v3/services/ad_group_ad_asset_view_service_client.rb +224 -0
  478. data/lib/google/ads/google_ads/v3/services/ad_group_ad_asset_view_service_client_config.json +31 -0
  479. data/lib/google/ads/google_ads/v3/services/ad_group_ad_asset_view_service_pb.rb +18 -0
  480. data/lib/google/ads/google_ads/v3/services/ad_group_ad_asset_view_service_services_pb.rb +41 -0
  481. data/lib/google/ads/google_ads/v3/services/ad_group_ad_label_service_client.rb +286 -0
  482. data/lib/google/ads/google_ads/v3/services/ad_group_ad_label_service_client_config.json +36 -0
  483. data/lib/google/ads/google_ads/v3/services/ad_group_ad_label_service_pb.rb +42 -0
  484. data/lib/google/ads/google_ads/v3/services/ad_group_ad_label_service_services_pb.rb +44 -0
  485. data/lib/google/ads/google_ads/v3/services/ad_group_ad_service_client.rb +285 -0
  486. data/lib/google/ads/google_ads/v3/services/ad_group_ad_service_client_config.json +36 -0
  487. data/lib/google/ads/google_ads/v3/services/ad_group_ad_service_pb.rb +47 -0
  488. data/lib/google/ads/google_ads/v3/services/ad_group_ad_service_services_pb.rb +43 -0
  489. data/lib/google/ads/google_ads/v3/services/ad_group_audience_view_service_client.rb +224 -0
  490. data/lib/google/ads/google_ads/v3/services/ad_group_audience_view_service_client_config.json +31 -0
  491. data/lib/google/ads/google_ads/v3/services/ad_group_audience_view_service_pb.rb +18 -0
  492. data/lib/google/ads/google_ads/v3/services/ad_group_audience_view_service_services_pb.rb +41 -0
  493. data/lib/google/ads/google_ads/v3/services/ad_group_bid_modifier_service_client.rb +286 -0
  494. data/lib/google/ads/google_ads/v3/services/ad_group_bid_modifier_service_client_config.json +36 -0
  495. data/lib/google/ads/google_ads/v3/services/ad_group_bid_modifier_service_pb.rb +45 -0
  496. data/lib/google/ads/google_ads/v3/services/ad_group_bid_modifier_service_services_pb.rb +44 -0
  497. data/lib/google/ads/google_ads/v3/services/ad_group_criterion_label_service_client.rb +286 -0
  498. data/lib/google/ads/google_ads/v3/services/ad_group_criterion_label_service_client_config.json +36 -0
  499. data/lib/google/ads/google_ads/v3/services/ad_group_criterion_label_service_pb.rb +42 -0
  500. data/lib/google/ads/google_ads/v3/services/ad_group_criterion_label_service_services_pb.rb +44 -0
  501. data/lib/google/ads/google_ads/v3/services/ad_group_criterion_service_client.rb +285 -0
  502. data/lib/google/ads/google_ads/v3/services/ad_group_criterion_service_client_config.json +36 -0
  503. data/lib/google/ads/google_ads/v3/services/ad_group_criterion_service_pb.rb +47 -0
  504. data/lib/google/ads/google_ads/v3/services/ad_group_criterion_service_services_pb.rb +43 -0
  505. data/lib/google/ads/google_ads/v3/services/ad_group_criterion_simulation_service_client.rb +224 -0
  506. data/lib/google/ads/google_ads/v3/services/ad_group_criterion_simulation_service_client_config.json +31 -0
  507. data/lib/google/ads/google_ads/v3/services/ad_group_criterion_simulation_service_pb.rb +18 -0
  508. data/lib/google/ads/google_ads/v3/services/ad_group_criterion_simulation_service_services_pb.rb +41 -0
  509. data/lib/google/ads/google_ads/v3/services/ad_group_extension_setting_service_client.rb +288 -0
  510. data/lib/google/ads/google_ads/v3/services/ad_group_extension_setting_service_client_config.json +36 -0
  511. data/lib/google/ads/google_ads/v3/services/ad_group_extension_setting_service_pb.rb +45 -0
  512. data/lib/google/ads/google_ads/v3/services/ad_group_extension_setting_service_services_pb.rb +44 -0
  513. data/lib/google/ads/google_ads/v3/services/ad_group_feed_service_client.rb +286 -0
  514. data/lib/google/ads/google_ads/v3/services/ad_group_feed_service_client_config.json +36 -0
  515. data/lib/google/ads/google_ads/v3/services/ad_group_feed_service_pb.rb +45 -0
  516. data/lib/google/ads/google_ads/v3/services/ad_group_feed_service_services_pb.rb +44 -0
  517. data/lib/google/ads/google_ads/v3/services/ad_group_label_service_client.rb +286 -0
  518. data/lib/google/ads/google_ads/v3/services/ad_group_label_service_client_config.json +36 -0
  519. data/lib/google/ads/google_ads/v3/services/ad_group_label_service_pb.rb +42 -0
  520. data/lib/google/ads/google_ads/v3/services/ad_group_label_service_services_pb.rb +44 -0
  521. data/lib/google/ads/google_ads/v3/services/ad_group_service_client.rb +285 -0
  522. data/lib/google/ads/google_ads/v3/services/ad_group_service_client_config.json +36 -0
  523. data/lib/google/ads/google_ads/v3/services/ad_group_service_pb.rb +45 -0
  524. data/lib/google/ads/google_ads/v3/services/ad_group_service_services_pb.rb +43 -0
  525. data/lib/google/ads/google_ads/v3/services/ad_group_simulation_service_client.rb +224 -0
  526. data/lib/google/ads/google_ads/v3/services/ad_group_simulation_service_client_config.json +31 -0
  527. data/lib/google/ads/google_ads/v3/services/ad_group_simulation_service_pb.rb +18 -0
  528. data/lib/google/ads/google_ads/v3/services/ad_group_simulation_service_services_pb.rb +41 -0
  529. data/lib/google/ads/google_ads/v3/services/ad_parameter_service_client.rb +286 -0
  530. data/lib/google/ads/google_ads/v3/services/ad_parameter_service_client_config.json +36 -0
  531. data/lib/google/ads/google_ads/v3/services/ad_parameter_service_pb.rb +45 -0
  532. data/lib/google/ads/google_ads/v3/services/ad_parameter_service_services_pb.rb +44 -0
  533. data/lib/google/ads/google_ads/v3/services/ad_schedule_view_service_client.rb +224 -0
  534. data/lib/google/ads/google_ads/v3/services/ad_schedule_view_service_client_config.json +31 -0
  535. data/lib/google/ads/google_ads/v3/services/ad_schedule_view_service_pb.rb +18 -0
  536. data/lib/google/ads/google_ads/v3/services/ad_schedule_view_service_services_pb.rb +41 -0
  537. data/lib/google/ads/google_ads/v3/services/ad_service_client.rb +273 -0
  538. data/lib/google/ads/google_ads/v3/services/ad_service_client_config.json +36 -0
  539. data/lib/google/ads/google_ads/v3/services/ad_service_pb.rb +39 -0
  540. data/lib/google/ads/google_ads/v3/services/ad_service_services_pb.rb +43 -0
  541. data/lib/google/ads/google_ads/v3/services/age_range_view_service_client.rb +224 -0
  542. data/lib/google/ads/google_ads/v3/services/age_range_view_service_client_config.json +31 -0
  543. data/lib/google/ads/google_ads/v3/services/age_range_view_service_pb.rb +18 -0
  544. data/lib/google/ads/google_ads/v3/services/age_range_view_service_services_pb.rb +41 -0
  545. data/lib/google/ads/google_ads/v3/services/asset_service_client.rb +275 -0
  546. data/lib/google/ads/google_ads/v3/services/asset_service_client_config.json +36 -0
  547. data/lib/google/ads/google_ads/v3/services/asset_service_pb.rb +37 -0
  548. data/lib/google/ads/google_ads/v3/services/asset_service_services_pb.rb +45 -0
  549. data/lib/google/ads/google_ads/v3/services/bidding_strategy_service_client.rb +286 -0
  550. data/lib/google/ads/google_ads/v3/services/bidding_strategy_service_client_config.json +36 -0
  551. data/lib/google/ads/google_ads/v3/services/bidding_strategy_service_pb.rb +45 -0
  552. data/lib/google/ads/google_ads/v3/services/bidding_strategy_service_services_pb.rb +44 -0
  553. data/lib/google/ads/google_ads/v3/services/billing_setup_service_client.rb +281 -0
  554. data/lib/google/ads/google_ads/v3/services/billing_setup_service_client_config.json +36 -0
  555. data/lib/google/ads/google_ads/v3/services/billing_setup_service_pb.rb +38 -0
  556. data/lib/google/ads/google_ads/v3/services/billing_setup_service_services_pb.rb +51 -0
  557. data/lib/google/ads/google_ads/v3/services/campaign_audience_view_service_client.rb +224 -0
  558. data/lib/google/ads/google_ads/v3/services/campaign_audience_view_service_client_config.json +31 -0
  559. data/lib/google/ads/google_ads/v3/services/campaign_audience_view_service_pb.rb +18 -0
  560. data/lib/google/ads/google_ads/v3/services/campaign_audience_view_service_services_pb.rb +41 -0
  561. data/lib/google/ads/google_ads/v3/services/campaign_bid_modifier_service_client.rb +286 -0
  562. data/lib/google/ads/google_ads/v3/services/campaign_bid_modifier_service_client_config.json +36 -0
  563. data/lib/google/ads/google_ads/v3/services/campaign_bid_modifier_service_pb.rb +45 -0
  564. data/lib/google/ads/google_ads/v3/services/campaign_bid_modifier_service_services_pb.rb +44 -0
  565. data/lib/google/ads/google_ads/v3/services/campaign_budget_service_client.rb +286 -0
  566. data/lib/google/ads/google_ads/v3/services/campaign_budget_service_client_config.json +36 -0
  567. data/lib/google/ads/google_ads/v3/services/campaign_budget_service_pb.rb +45 -0
  568. data/lib/google/ads/google_ads/v3/services/campaign_budget_service_services_pb.rb +44 -0
  569. data/lib/google/ads/google_ads/v3/services/campaign_criterion_service_client.rb +285 -0
  570. data/lib/google/ads/google_ads/v3/services/campaign_criterion_service_client_config.json +36 -0
  571. data/lib/google/ads/google_ads/v3/services/campaign_criterion_service_pb.rb +45 -0
  572. data/lib/google/ads/google_ads/v3/services/campaign_criterion_service_services_pb.rb +43 -0
  573. data/lib/google/ads/google_ads/v3/services/campaign_criterion_simulation_service_client.rb +224 -0
  574. data/lib/google/ads/google_ads/v3/services/campaign_criterion_simulation_service_client_config.json +31 -0
  575. data/lib/google/ads/google_ads/v3/services/campaign_criterion_simulation_service_pb.rb +18 -0
  576. data/lib/google/ads/google_ads/v3/services/campaign_criterion_simulation_service_services_pb.rb +41 -0
  577. data/lib/google/ads/google_ads/v3/services/campaign_draft_service_client.rb +451 -0
  578. data/lib/google/ads/google_ads/v3/services/campaign_draft_service_client_config.json +46 -0
  579. data/lib/google/ads/google_ads/v3/services/campaign_draft_service_pb.rb +61 -0
  580. data/lib/google/ads/google_ads/v3/services/campaign_draft_service_services_pb.rb +58 -0
  581. data/lib/google/ads/google_ads/v3/services/campaign_experiment_service_client.rb +637 -0
  582. data/lib/google/ads/google_ads/v3/services/campaign_experiment_service_client_config.json +61 -0
  583. data/lib/google/ads/google_ads/v3/services/campaign_experiment_service_pb.rb +84 -0
  584. data/lib/google/ads/google_ads/v3/services/campaign_experiment_service_services_pb.rb +81 -0
  585. data/lib/google/ads/google_ads/v3/services/campaign_extension_setting_service_client.rb +288 -0
  586. data/lib/google/ads/google_ads/v3/services/campaign_extension_setting_service_client_config.json +36 -0
  587. data/lib/google/ads/google_ads/v3/services/campaign_extension_setting_service_pb.rb +45 -0
  588. data/lib/google/ads/google_ads/v3/services/campaign_extension_setting_service_services_pb.rb +44 -0
  589. data/lib/google/ads/google_ads/v3/services/campaign_feed_service_client.rb +286 -0
  590. data/lib/google/ads/google_ads/v3/services/campaign_feed_service_client_config.json +36 -0
  591. data/lib/google/ads/google_ads/v3/services/campaign_feed_service_pb.rb +45 -0
  592. data/lib/google/ads/google_ads/v3/services/campaign_feed_service_services_pb.rb +44 -0
  593. data/lib/google/ads/google_ads/v3/services/campaign_label_service_client.rb +286 -0
  594. data/lib/google/ads/google_ads/v3/services/campaign_label_service_client_config.json +36 -0
  595. data/lib/google/ads/google_ads/v3/services/campaign_label_service_pb.rb +42 -0
  596. data/lib/google/ads/google_ads/v3/services/campaign_label_service_services_pb.rb +44 -0
  597. data/lib/google/ads/google_ads/v3/services/campaign_service_client.rb +285 -0
  598. data/lib/google/ads/google_ads/v3/services/campaign_service_client_config.json +36 -0
  599. data/lib/google/ads/google_ads/v3/services/campaign_service_pb.rb +45 -0
  600. data/lib/google/ads/google_ads/v3/services/campaign_service_services_pb.rb +43 -0
  601. data/lib/google/ads/google_ads/v3/services/campaign_shared_set_service_client.rb +285 -0
  602. data/lib/google/ads/google_ads/v3/services/campaign_shared_set_service_client_config.json +36 -0
  603. data/lib/google/ads/google_ads/v3/services/campaign_shared_set_service_pb.rb +42 -0
  604. data/lib/google/ads/google_ads/v3/services/campaign_shared_set_service_services_pb.rb +43 -0
  605. data/lib/google/ads/google_ads/v3/services/carrier_constant_service_client.rb +222 -0
  606. data/lib/google/ads/google_ads/v3/services/carrier_constant_service_client_config.json +31 -0
  607. data/lib/google/ads/google_ads/v3/services/carrier_constant_service_pb.rb +18 -0
  608. data/lib/google/ads/google_ads/v3/services/carrier_constant_service_services_pb.rb +41 -0
  609. data/lib/google/ads/google_ads/v3/services/change_status_service_client.rb +224 -0
  610. data/lib/google/ads/google_ads/v3/services/change_status_service_client_config.json +31 -0
  611. data/lib/google/ads/google_ads/v3/services/change_status_service_pb.rb +18 -0
  612. data/lib/google/ads/google_ads/v3/services/change_status_service_services_pb.rb +41 -0
  613. data/lib/google/ads/google_ads/v3/services/click_view_service_client.rb +224 -0
  614. data/lib/google/ads/google_ads/v3/services/click_view_service_client_config.json +31 -0
  615. data/lib/google/ads/google_ads/v3/services/click_view_service_pb.rb +18 -0
  616. data/lib/google/ads/google_ads/v3/services/click_view_service_services_pb.rb +41 -0
  617. data/lib/google/ads/google_ads/v3/services/conversion_action_service_client.rb +286 -0
  618. data/lib/google/ads/google_ads/v3/services/conversion_action_service_client_config.json +36 -0
  619. data/lib/google/ads/google_ads/v3/services/conversion_action_service_pb.rb +45 -0
  620. data/lib/google/ads/google_ads/v3/services/conversion_action_service_services_pb.rb +44 -0
  621. data/lib/google/ads/google_ads/v3/services/conversion_adjustment_upload_service_client.rb +230 -0
  622. data/lib/google/ads/google_ads/v3/services/conversion_adjustment_upload_service_client_config.json +31 -0
  623. data/lib/google/ads/google_ads/v3/services/conversion_adjustment_upload_service_pb.rb +59 -0
  624. data/lib/google/ads/google_ads/v3/services/conversion_adjustment_upload_service_services_pb.rb +39 -0
  625. data/lib/google/ads/google_ads/v3/services/conversion_upload_service_client.rb +291 -0
  626. data/lib/google/ads/google_ads/v3/services/conversion_upload_service_client_config.json +36 -0
  627. data/lib/google/ads/google_ads/v3/services/conversion_upload_service_pb.rb +76 -0
  628. data/lib/google/ads/google_ads/v3/services/conversion_upload_service_services_pb.rb +41 -0
  629. data/lib/google/ads/google_ads/v3/services/credentials.rb +41 -0
  630. data/lib/google/ads/google_ads/v3/services/currency_constant_service_client.rb +222 -0
  631. data/lib/google/ads/google_ads/v3/services/currency_constant_service_client_config.json +31 -0
  632. data/lib/google/ads/google_ads/v3/services/currency_constant_service_pb.rb +18 -0
  633. data/lib/google/ads/google_ads/v3/services/currency_constant_service_services_pb.rb +39 -0
  634. data/lib/google/ads/google_ads/v3/services/custom_interest_service_client.rb +278 -0
  635. data/lib/google/ads/google_ads/v3/services/custom_interest_service_client_config.json +36 -0
  636. data/lib/google/ads/google_ads/v3/services/custom_interest_service_pb.rb +41 -0
  637. data/lib/google/ads/google_ads/v3/services/custom_interest_service_services_pb.rb +43 -0
  638. data/lib/google/ads/google_ads/v3/services/customer_client_link_service_client.rb +273 -0
  639. data/lib/google/ads/google_ads/v3/services/customer_client_link_service_client_config.json +36 -0
  640. data/lib/google/ads/google_ads/v3/services/customer_client_link_service_pb.rb +40 -0
  641. data/lib/google/ads/google_ads/v3/services/customer_client_link_service_services_pb.rb +41 -0
  642. data/lib/google/ads/google_ads/v3/services/customer_client_service_client.rb +224 -0
  643. data/lib/google/ads/google_ads/v3/services/customer_client_service_client_config.json +31 -0
  644. data/lib/google/ads/google_ads/v3/services/customer_client_service_pb.rb +18 -0
  645. data/lib/google/ads/google_ads/v3/services/customer_client_service_services_pb.rb +41 -0
  646. data/lib/google/ads/google_ads/v3/services/customer_extension_setting_service_client.rb +288 -0
  647. data/lib/google/ads/google_ads/v3/services/customer_extension_setting_service_client_config.json +36 -0
  648. data/lib/google/ads/google_ads/v3/services/customer_extension_setting_service_pb.rb +45 -0
  649. data/lib/google/ads/google_ads/v3/services/customer_extension_setting_service_services_pb.rb +44 -0
  650. data/lib/google/ads/google_ads/v3/services/customer_feed_service_client.rb +286 -0
  651. data/lib/google/ads/google_ads/v3/services/customer_feed_service_client_config.json +36 -0
  652. data/lib/google/ads/google_ads/v3/services/customer_feed_service_pb.rb +45 -0
  653. data/lib/google/ads/google_ads/v3/services/customer_feed_service_services_pb.rb +44 -0
  654. data/lib/google/ads/google_ads/v3/services/customer_label_service_client.rb +286 -0
  655. data/lib/google/ads/google_ads/v3/services/customer_label_service_client_config.json +36 -0
  656. data/lib/google/ads/google_ads/v3/services/customer_label_service_pb.rb +42 -0
  657. data/lib/google/ads/google_ads/v3/services/customer_label_service_services_pb.rb +44 -0
  658. data/lib/google/ads/google_ads/v3/services/customer_manager_link_service_client.rb +334 -0
  659. data/lib/google/ads/google_ads/v3/services/customer_manager_link_service_client_config.json +41 -0
  660. data/lib/google/ads/google_ads/v3/services/customer_manager_link_service_pb.rb +49 -0
  661. data/lib/google/ads/google_ads/v3/services/customer_manager_link_service_services_pb.rb +47 -0
  662. data/lib/google/ads/google_ads/v3/services/customer_negative_criterion_service_client.rb +285 -0
  663. data/lib/google/ads/google_ads/v3/services/customer_negative_criterion_service_client_config.json +36 -0
  664. data/lib/google/ads/google_ads/v3/services/customer_negative_criterion_service_pb.rb +42 -0
  665. data/lib/google/ads/google_ads/v3/services/customer_negative_criterion_service_services_pb.rb +43 -0
  666. data/lib/google/ads/google_ads/v3/services/customer_service_client.rb +365 -0
  667. data/lib/google/ads/google_ads/v3/services/customer_service_client_config.json +46 -0
  668. data/lib/google/ads/google_ads/v3/services/customer_service_pb.rb +58 -0
  669. data/lib/google/ads/google_ads/v3/services/customer_service_services_pb.rb +48 -0
  670. data/lib/google/ads/google_ads/v3/services/detail_placement_view_service_client.rb +224 -0
  671. data/lib/google/ads/google_ads/v3/services/detail_placement_view_service_client_config.json +31 -0
  672. data/lib/google/ads/google_ads/v3/services/detail_placement_view_service_pb.rb +18 -0
  673. data/lib/google/ads/google_ads/v3/services/detail_placement_view_service_services_pb.rb +41 -0
  674. data/lib/google/ads/google_ads/v3/services/display_keyword_view_service_client.rb +224 -0
  675. data/lib/google/ads/google_ads/v3/services/display_keyword_view_service_client_config.json +31 -0
  676. data/lib/google/ads/google_ads/v3/services/display_keyword_view_service_pb.rb +18 -0
  677. data/lib/google/ads/google_ads/v3/services/display_keyword_view_service_services_pb.rb +41 -0
  678. data/lib/google/ads/google_ads/v3/services/distance_view_service_client.rb +224 -0
  679. data/lib/google/ads/google_ads/v3/services/distance_view_service_client_config.json +31 -0
  680. data/lib/google/ads/google_ads/v3/services/distance_view_service_pb.rb +18 -0
  681. data/lib/google/ads/google_ads/v3/services/distance_view_service_services_pb.rb +41 -0
  682. data/lib/google/ads/google_ads/v3/services/domain_category_service_client.rb +224 -0
  683. data/lib/google/ads/google_ads/v3/services/domain_category_service_client_config.json +31 -0
  684. data/lib/google/ads/google_ads/v3/services/domain_category_service_pb.rb +18 -0
  685. data/lib/google/ads/google_ads/v3/services/domain_category_service_services_pb.rb +41 -0
  686. data/lib/google/ads/google_ads/v3/services/dynamic_search_ads_search_term_view_service_client.rb +224 -0
  687. data/lib/google/ads/google_ads/v3/services/dynamic_search_ads_search_term_view_service_client_config.json +31 -0
  688. data/lib/google/ads/google_ads/v3/services/dynamic_search_ads_search_term_view_service_pb.rb +18 -0
  689. data/lib/google/ads/google_ads/v3/services/dynamic_search_ads_search_term_view_service_services_pb.rb +41 -0
  690. data/lib/google/ads/google_ads/v3/services/expanded_landing_page_view_service_client.rb +224 -0
  691. data/lib/google/ads/google_ads/v3/services/expanded_landing_page_view_service_client_config.json +31 -0
  692. data/lib/google/ads/google_ads/v3/services/expanded_landing_page_view_service_pb.rb +18 -0
  693. data/lib/google/ads/google_ads/v3/services/expanded_landing_page_view_service_services_pb.rb +41 -0
  694. data/lib/google/ads/google_ads/v3/services/extension_feed_item_service_client.rb +287 -0
  695. data/lib/google/ads/google_ads/v3/services/extension_feed_item_service_client_config.json +36 -0
  696. data/lib/google/ads/google_ads/v3/services/extension_feed_item_service_pb.rb +45 -0
  697. data/lib/google/ads/google_ads/v3/services/extension_feed_item_service_services_pb.rb +44 -0
  698. data/lib/google/ads/google_ads/v3/services/feed_item_service_client.rb +286 -0
  699. data/lib/google/ads/google_ads/v3/services/feed_item_service_client_config.json +36 -0
  700. data/lib/google/ads/google_ads/v3/services/feed_item_service_pb.rb +45 -0
  701. data/lib/google/ads/google_ads/v3/services/feed_item_service_services_pb.rb +44 -0
  702. data/lib/google/ads/google_ads/v3/services/feed_item_target_service_client.rb +273 -0
  703. data/lib/google/ads/google_ads/v3/services/feed_item_target_service_client_config.json +36 -0
  704. data/lib/google/ads/google_ads/v3/services/feed_item_target_service_pb.rb +38 -0
  705. data/lib/google/ads/google_ads/v3/services/feed_item_target_service_services_pb.rb +43 -0
  706. data/lib/google/ads/google_ads/v3/services/feed_mapping_service_client.rb +286 -0
  707. data/lib/google/ads/google_ads/v3/services/feed_mapping_service_client_config.json +36 -0
  708. data/lib/google/ads/google_ads/v3/services/feed_mapping_service_pb.rb +42 -0
  709. data/lib/google/ads/google_ads/v3/services/feed_mapping_service_services_pb.rb +44 -0
  710. data/lib/google/ads/google_ads/v3/services/feed_placeholder_view_service_client.rb +224 -0
  711. data/lib/google/ads/google_ads/v3/services/feed_placeholder_view_service_client_config.json +31 -0
  712. data/lib/google/ads/google_ads/v3/services/feed_placeholder_view_service_pb.rb +18 -0
  713. data/lib/google/ads/google_ads/v3/services/feed_placeholder_view_service_services_pb.rb +41 -0
  714. data/lib/google/ads/google_ads/v3/services/feed_service_client.rb +286 -0
  715. data/lib/google/ads/google_ads/v3/services/feed_service_client_config.json +36 -0
  716. data/lib/google/ads/google_ads/v3/services/feed_service_pb.rb +45 -0
  717. data/lib/google/ads/google_ads/v3/services/feed_service_services_pb.rb +44 -0
  718. data/lib/google/ads/google_ads/v3/services/gender_view_service_client.rb +224 -0
  719. data/lib/google/ads/google_ads/v3/services/gender_view_service_client_config.json +31 -0
  720. data/lib/google/ads/google_ads/v3/services/gender_view_service_pb.rb +18 -0
  721. data/lib/google/ads/google_ads/v3/services/gender_view_service_services_pb.rb +41 -0
  722. data/lib/google/ads/google_ads/v3/services/geo_target_constant_service_client.rb +284 -0
  723. data/lib/google/ads/google_ads/v3/services/geo_target_constant_service_client_config.json +36 -0
  724. data/lib/google/ads/google_ads/v3/services/geo_target_constant_service_pb.rb +48 -0
  725. data/lib/google/ads/google_ads/v3/services/geo_target_constant_service_services_pb.rb +43 -0
  726. data/lib/google/ads/google_ads/v3/services/geographic_view_service_client.rb +224 -0
  727. data/lib/google/ads/google_ads/v3/services/geographic_view_service_client_config.json +31 -0
  728. data/lib/google/ads/google_ads/v3/services/geographic_view_service_pb.rb +18 -0
  729. data/lib/google/ads/google_ads/v3/services/geographic_view_service_services_pb.rb +41 -0
  730. data/lib/google/ads/google_ads/v3/services/google_ads_field_service_client.rb +293 -0
  731. data/lib/google/ads/google_ads/v3/services/google_ads_field_service_client_config.json +36 -0
  732. data/lib/google/ads/google_ads/v3/services/google_ads_field_service_pb.rb +30 -0
  733. data/lib/google/ads/google_ads/v3/services/google_ads_field_service_services_pb.rb +43 -0
  734. data/lib/google/ads/google_ads/v3/services/google_ads_service_client.rb +430 -0
  735. data/lib/google/ads/google_ads/v3/services/google_ads_service_client_config.json +41 -0
  736. data/lib/google/ads/google_ads/v3/services/google_ads_service_pb.rb +386 -0
  737. data/lib/google/ads/google_ads/v3/services/google_ads_service_services_pb.rb +95 -0
  738. data/lib/google/ads/google_ads/v3/services/group_placement_view_service_client.rb +224 -0
  739. data/lib/google/ads/google_ads/v3/services/group_placement_view_service_client_config.json +31 -0
  740. data/lib/google/ads/google_ads/v3/services/group_placement_view_service_pb.rb +18 -0
  741. data/lib/google/ads/google_ads/v3/services/group_placement_view_service_services_pb.rb +41 -0
  742. data/lib/google/ads/google_ads/v3/services/hotel_group_view_service_client.rb +224 -0
  743. data/lib/google/ads/google_ads/v3/services/hotel_group_view_service_client_config.json +31 -0
  744. data/lib/google/ads/google_ads/v3/services/hotel_group_view_service_pb.rb +18 -0
  745. data/lib/google/ads/google_ads/v3/services/hotel_group_view_service_services_pb.rb +41 -0
  746. data/lib/google/ads/google_ads/v3/services/hotel_performance_view_service_client.rb +222 -0
  747. data/lib/google/ads/google_ads/v3/services/hotel_performance_view_service_client_config.json +31 -0
  748. data/lib/google/ads/google_ads/v3/services/hotel_performance_view_service_pb.rb +18 -0
  749. data/lib/google/ads/google_ads/v3/services/hotel_performance_view_service_services_pb.rb +41 -0
  750. data/lib/google/ads/google_ads/v3/services/invoice_service_client.rb +233 -0
  751. data/lib/google/ads/google_ads/v3/services/invoice_service_client_config.json +31 -0
  752. data/lib/google/ads/google_ads/v3/services/invoice_service_pb.rb +26 -0
  753. data/lib/google/ads/google_ads/v3/services/invoice_service_services_pb.rb +41 -0
  754. data/lib/google/ads/google_ads/v3/services/keyword_plan_ad_group_service_client.rb +286 -0
  755. data/lib/google/ads/google_ads/v3/services/keyword_plan_ad_group_service_client_config.json +36 -0
  756. data/lib/google/ads/google_ads/v3/services/keyword_plan_ad_group_service_pb.rb +45 -0
  757. data/lib/google/ads/google_ads/v3/services/keyword_plan_ad_group_service_services_pb.rb +44 -0
  758. data/lib/google/ads/google_ads/v3/services/keyword_plan_campaign_service_client.rb +286 -0
  759. data/lib/google/ads/google_ads/v3/services/keyword_plan_campaign_service_client_config.json +36 -0
  760. data/lib/google/ads/google_ads/v3/services/keyword_plan_campaign_service_pb.rb +45 -0
  761. data/lib/google/ads/google_ads/v3/services/keyword_plan_campaign_service_services_pb.rb +44 -0
  762. data/lib/google/ads/google_ads/v3/services/keyword_plan_idea_service_client.rb +255 -0
  763. data/lib/google/ads/google_ads/v3/services/keyword_plan_idea_service_client_config.json +31 -0
  764. data/lib/google/ads/google_ads/v3/services/keyword_plan_idea_service_pb.rb +49 -0
  765. data/lib/google/ads/google_ads/v3/services/keyword_plan_idea_service_services_pb.rb +41 -0
  766. data/lib/google/ads/google_ads/v3/services/keyword_plan_keyword_service_client.rb +286 -0
  767. data/lib/google/ads/google_ads/v3/services/keyword_plan_keyword_service_client_config.json +36 -0
  768. data/lib/google/ads/google_ads/v3/services/keyword_plan_keyword_service_pb.rb +45 -0
  769. data/lib/google/ads/google_ads/v3/services/keyword_plan_keyword_service_services_pb.rb +44 -0
  770. data/lib/google/ads/google_ads/v3/services/keyword_plan_negative_keyword_service_client.rb +287 -0
  771. data/lib/google/ads/google_ads/v3/services/keyword_plan_negative_keyword_service_client_config.json +36 -0
  772. data/lib/google/ads/google_ads/v3/services/keyword_plan_negative_keyword_service_pb.rb +45 -0
  773. data/lib/google/ads/google_ads/v3/services/keyword_plan_negative_keyword_service_services_pb.rb +44 -0
  774. data/lib/google/ads/google_ads/v3/services/keyword_plan_service_client.rb +363 -0
  775. data/lib/google/ads/google_ads/v3/services/keyword_plan_service_client_config.json +46 -0
  776. data/lib/google/ads/google_ads/v3/services/keyword_plan_service_pb.rb +93 -0
  777. data/lib/google/ads/google_ads/v3/services/keyword_plan_service_services_pb.rb +48 -0
  778. data/lib/google/ads/google_ads/v3/services/keyword_view_service_client.rb +224 -0
  779. data/lib/google/ads/google_ads/v3/services/keyword_view_service_client_config.json +31 -0
  780. data/lib/google/ads/google_ads/v3/services/keyword_view_service_pb.rb +18 -0
  781. data/lib/google/ads/google_ads/v3/services/keyword_view_service_services_pb.rb +41 -0
  782. data/lib/google/ads/google_ads/v3/services/label_service_client.rb +285 -0
  783. data/lib/google/ads/google_ads/v3/services/label_service_client_config.json +36 -0
  784. data/lib/google/ads/google_ads/v3/services/label_service_pb.rb +45 -0
  785. data/lib/google/ads/google_ads/v3/services/label_service_services_pb.rb +41 -0
  786. data/lib/google/ads/google_ads/v3/services/landing_page_view_service_client.rb +224 -0
  787. data/lib/google/ads/google_ads/v3/services/landing_page_view_service_client_config.json +31 -0
  788. data/lib/google/ads/google_ads/v3/services/landing_page_view_service_pb.rb +18 -0
  789. data/lib/google/ads/google_ads/v3/services/landing_page_view_service_services_pb.rb +41 -0
  790. data/lib/google/ads/google_ads/v3/services/language_constant_service_client.rb +222 -0
  791. data/lib/google/ads/google_ads/v3/services/language_constant_service_client_config.json +31 -0
  792. data/lib/google/ads/google_ads/v3/services/language_constant_service_pb.rb +18 -0
  793. data/lib/google/ads/google_ads/v3/services/language_constant_service_services_pb.rb +41 -0
  794. data/lib/google/ads/google_ads/v3/services/location_view_service_client.rb +224 -0
  795. data/lib/google/ads/google_ads/v3/services/location_view_service_client_config.json +31 -0
  796. data/lib/google/ads/google_ads/v3/services/location_view_service_pb.rb +18 -0
  797. data/lib/google/ads/google_ads/v3/services/location_view_service_services_pb.rb +41 -0
  798. data/lib/google/ads/google_ads/v3/services/managed_placement_view_service_client.rb +224 -0
  799. data/lib/google/ads/google_ads/v3/services/managed_placement_view_service_client_config.json +31 -0
  800. data/lib/google/ads/google_ads/v3/services/managed_placement_view_service_pb.rb +18 -0
  801. data/lib/google/ads/google_ads/v3/services/managed_placement_view_service_services_pb.rb +41 -0
  802. data/lib/google/ads/google_ads/v3/services/media_file_service_client.rb +285 -0
  803. data/lib/google/ads/google_ads/v3/services/media_file_service_client_config.json +36 -0
  804. data/lib/google/ads/google_ads/v3/services/media_file_service_pb.rb +41 -0
  805. data/lib/google/ads/google_ads/v3/services/media_file_service_services_pb.rb +43 -0
  806. data/lib/google/ads/google_ads/v3/services/merchant_center_link_service_client.rb +315 -0
  807. data/lib/google/ads/google_ads/v3/services/merchant_center_link_service_client_config.json +41 -0
  808. data/lib/google/ads/google_ads/v3/services/merchant_center_link_service_pb.rb +48 -0
  809. data/lib/google/ads/google_ads/v3/services/merchant_center_link_service_services_pb.rb +46 -0
  810. data/lib/google/ads/google_ads/v3/services/mobile_app_category_constant_service_client.rb +222 -0
  811. data/lib/google/ads/google_ads/v3/services/mobile_app_category_constant_service_client_config.json +31 -0
  812. data/lib/google/ads/google_ads/v3/services/mobile_app_category_constant_service_pb.rb +18 -0
  813. data/lib/google/ads/google_ads/v3/services/mobile_app_category_constant_service_services_pb.rb +39 -0
  814. data/lib/google/ads/google_ads/v3/services/mobile_device_constant_service_client.rb +222 -0
  815. data/lib/google/ads/google_ads/v3/services/mobile_device_constant_service_client_config.json +31 -0
  816. data/lib/google/ads/google_ads/v3/services/mobile_device_constant_service_pb.rb +18 -0
  817. data/lib/google/ads/google_ads/v3/services/mobile_device_constant_service_services_pb.rb +41 -0
  818. data/lib/google/ads/google_ads/v3/services/mutate_job_service_client.rb +491 -0
  819. data/lib/google/ads/google_ads/v3/services/mutate_job_service_client_config.json +51 -0
  820. data/lib/google/ads/google_ads/v3/services/mutate_job_service_pb.rb +61 -0
  821. data/lib/google/ads/google_ads/v3/services/mutate_job_service_services_pb.rb +54 -0
  822. data/lib/google/ads/google_ads/v3/services/operating_system_version_constant_service_client.rb +222 -0
  823. data/lib/google/ads/google_ads/v3/services/operating_system_version_constant_service_client_config.json +31 -0
  824. data/lib/google/ads/google_ads/v3/services/operating_system_version_constant_service_pb.rb +18 -0
  825. data/lib/google/ads/google_ads/v3/services/operating_system_version_constant_service_services_pb.rb +41 -0
  826. data/lib/google/ads/google_ads/v3/services/paid_organic_search_term_view_service_client.rb +224 -0
  827. data/lib/google/ads/google_ads/v3/services/paid_organic_search_term_view_service_client_config.json +31 -0
  828. data/lib/google/ads/google_ads/v3/services/paid_organic_search_term_view_service_pb.rb +18 -0
  829. data/lib/google/ads/google_ads/v3/services/paid_organic_search_term_view_service_services_pb.rb +41 -0
  830. data/lib/google/ads/google_ads/v3/services/parental_status_view_service_client.rb +224 -0
  831. data/lib/google/ads/google_ads/v3/services/parental_status_view_service_client_config.json +31 -0
  832. data/lib/google/ads/google_ads/v3/services/parental_status_view_service_pb.rb +18 -0
  833. data/lib/google/ads/google_ads/v3/services/parental_status_view_service_services_pb.rb +41 -0
  834. data/lib/google/ads/google_ads/v3/services/payments_account_service_client.rb +212 -0
  835. data/lib/google/ads/google_ads/v3/services/payments_account_service_client_config.json +31 -0
  836. data/lib/google/ads/google_ads/v3/services/payments_account_service_pb.rb +22 -0
  837. data/lib/google/ads/google_ads/v3/services/payments_account_service_services_pb.rb +44 -0
  838. data/lib/google/ads/google_ads/v3/services/product_bidding_category_constant_service_client.rb +222 -0
  839. data/lib/google/ads/google_ads/v3/services/product_bidding_category_constant_service_client_config.json +31 -0
  840. data/lib/google/ads/google_ads/v3/services/product_bidding_category_constant_service_pb.rb +18 -0
  841. data/lib/google/ads/google_ads/v3/services/product_bidding_category_constant_service_services_pb.rb +41 -0
  842. data/lib/google/ads/google_ads/v3/services/product_group_view_service_client.rb +224 -0
  843. data/lib/google/ads/google_ads/v3/services/product_group_view_service_client_config.json +31 -0
  844. data/lib/google/ads/google_ads/v3/services/product_group_view_service_pb.rb +18 -0
  845. data/lib/google/ads/google_ads/v3/services/product_group_view_service_services_pb.rb +41 -0
  846. data/lib/google/ads/google_ads/v3/services/reach_plan_service_client.rb +436 -0
  847. data/lib/google/ads/google_ads/v3/services/reach_plan_service_client_config.json +46 -0
  848. data/lib/google/ads/google_ads/v3/services/reach_plan_service_pb.rb +130 -0
  849. data/lib/google/ads/google_ads/v3/services/reach_plan_service_services_pb.rb +54 -0
  850. data/lib/google/ads/google_ads/v3/services/recommendation_service_client.rb +340 -0
  851. data/lib/google/ads/google_ads/v3/services/recommendation_service_client_config.json +41 -0
  852. data/lib/google/ads/google_ads/v3/services/recommendation_service_pb.rb +106 -0
  853. data/lib/google/ads/google_ads/v3/services/recommendation_service_services_pb.rb +45 -0
  854. data/lib/google/ads/google_ads/v3/services/remarketing_action_service_client.rb +285 -0
  855. data/lib/google/ads/google_ads/v3/services/remarketing_action_service_client_config.json +36 -0
  856. data/lib/google/ads/google_ads/v3/services/remarketing_action_service_pb.rb +44 -0
  857. data/lib/google/ads/google_ads/v3/services/remarketing_action_service_services_pb.rb +43 -0
  858. data/lib/google/ads/google_ads/v3/services/search_term_view_service_client.rb +224 -0
  859. data/lib/google/ads/google_ads/v3/services/search_term_view_service_client_config.json +31 -0
  860. data/lib/google/ads/google_ads/v3/services/search_term_view_service_pb.rb +18 -0
  861. data/lib/google/ads/google_ads/v3/services/search_term_view_service_services_pb.rb +41 -0
  862. data/lib/google/ads/google_ads/v3/services/shared_criterion_service_client.rb +285 -0
  863. data/lib/google/ads/google_ads/v3/services/shared_criterion_service_client_config.json +36 -0
  864. data/lib/google/ads/google_ads/v3/services/shared_criterion_service_pb.rb +42 -0
  865. data/lib/google/ads/google_ads/v3/services/shared_criterion_service_services_pb.rb +43 -0
  866. data/lib/google/ads/google_ads/v3/services/shared_set_service_client.rb +285 -0
  867. data/lib/google/ads/google_ads/v3/services/shared_set_service_client_config.json +36 -0
  868. data/lib/google/ads/google_ads/v3/services/shared_set_service_pb.rb +45 -0
  869. data/lib/google/ads/google_ads/v3/services/shared_set_service_services_pb.rb +43 -0
  870. data/lib/google/ads/google_ads/v3/services/shopping_performance_view_service_client.rb +222 -0
  871. data/lib/google/ads/google_ads/v3/services/shopping_performance_view_service_client_config.json +31 -0
  872. data/lib/google/ads/google_ads/v3/services/shopping_performance_view_service_pb.rb +18 -0
  873. data/lib/google/ads/google_ads/v3/services/shopping_performance_view_service_services_pb.rb +41 -0
  874. data/lib/google/ads/google_ads/v3/services/topic_constant_service_client.rb +222 -0
  875. data/lib/google/ads/google_ads/v3/services/topic_constant_service_client_config.json +31 -0
  876. data/lib/google/ads/google_ads/v3/services/topic_constant_service_pb.rb +18 -0
  877. data/lib/google/ads/google_ads/v3/services/topic_constant_service_services_pb.rb +41 -0
  878. data/lib/google/ads/google_ads/v3/services/topic_view_service_client.rb +224 -0
  879. data/lib/google/ads/google_ads/v3/services/topic_view_service_client_config.json +31 -0
  880. data/lib/google/ads/google_ads/v3/services/topic_view_service_pb.rb +18 -0
  881. data/lib/google/ads/google_ads/v3/services/topic_view_service_services_pb.rb +41 -0
  882. data/lib/google/ads/google_ads/v3/services/user_interest_service_client.rb +224 -0
  883. data/lib/google/ads/google_ads/v3/services/user_interest_service_client_config.json +31 -0
  884. data/lib/google/ads/google_ads/v3/services/user_interest_service_pb.rb +18 -0
  885. data/lib/google/ads/google_ads/v3/services/user_interest_service_services_pb.rb +41 -0
  886. data/lib/google/ads/google_ads/v3/services/user_list_service_client.rb +285 -0
  887. data/lib/google/ads/google_ads/v3/services/user_list_service_client_config.json +36 -0
  888. data/lib/google/ads/google_ads/v3/services/user_list_service_pb.rb +45 -0
  889. data/lib/google/ads/google_ads/v3/services/user_list_service_services_pb.rb +43 -0
  890. data/lib/google/ads/google_ads/v3/services/user_location_view_service_client.rb +224 -0
  891. data/lib/google/ads/google_ads/v3/services/user_location_view_service_client_config.json +31 -0
  892. data/lib/google/ads/google_ads/v3/services/user_location_view_service_pb.rb +18 -0
  893. data/lib/google/ads/google_ads/v3/services/user_location_view_service_services_pb.rb +41 -0
  894. data/lib/google/ads/google_ads/v3/services/video_service_client.rb +224 -0
  895. data/lib/google/ads/google_ads/v3/services/video_service_client_config.json +31 -0
  896. data/lib/google/ads/google_ads/v3/services/video_service_pb.rb +18 -0
  897. data/lib/google/ads/google_ads/v3/services/video_service_services_pb.rb +41 -0
  898. data/lib/google/ads/google_ads/version.rb +1 -1
  899. metadata +890 -2
@@ -0,0 +1,3698 @@
1
+ module Google
2
+ module Ads
3
+ module GoogleAds
4
+ module Factories
5
+ module V3
6
+ module Operations
7
+ # Create a new FeedAttributeOperation
8
+ #
9
+ # @return [Google::Ads::GoogleAds::V3::Resources::FeedAttributeOperation] the operation
10
+ def self.feed_attribute
11
+ require "google/ads/google_ads/v3/resources/feed_pb.rb"
12
+ Google::Ads::GoogleAds::V3::Resources::FeedAttributeOperation.new
13
+ end
14
+
15
+ # Create a new TargetRestrictionOperation
16
+ #
17
+ # @return [Google::Ads::GoogleAds::V3::Common::TargetRestrictionOperation] the operation
18
+ def self.target_restriction
19
+ require "google/ads/google_ads/v3/common/targeting_setting_pb.rb"
20
+ Google::Ads::GoogleAds::V3::Common::TargetRestrictionOperation.new
21
+ end
22
+
23
+ # Create a new AdGroupCriterionLabelOperation
24
+ #
25
+ # @return [Google::Ads::GoogleAds::V3::Services::AdGroupCriterionLabelOperation] the operation
26
+ def self.ad_group_criterion_label
27
+ require "google/ads/google_ads/v3/services/ad_group_criterion_label_service_pb.rb"
28
+ Google::Ads::GoogleAds::V3::Services::AdGroupCriterionLabelOperation.new
29
+ end
30
+
31
+ # Create a new CustomerManagerLinkOperation
32
+ #
33
+ # @return [Google::Ads::GoogleAds::V3::Services::CustomerManagerLinkOperation] the operation
34
+ def self.customer_manager_link
35
+ require "google/ads/google_ads/v3/services/customer_manager_link_service_pb.rb"
36
+ Google::Ads::GoogleAds::V3::Services::CustomerManagerLinkOperation.new
37
+ end
38
+
39
+ # Create a new KeywordPlanCampaignOperation
40
+ #
41
+ # @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanCampaignOperation] the operation
42
+ def self.keyword_plan_campaign
43
+ require "google/ads/google_ads/v3/services/keyword_plan_campaign_service_pb.rb"
44
+ Google::Ads::GoogleAds::V3::Services::KeywordPlanCampaignOperation.new
45
+ end
46
+
47
+ # Create a new SharedSetOperation
48
+ #
49
+ # @return [Google::Ads::GoogleAds::V3::Services::SharedSetOperation] the operation
50
+ def self.shared_set
51
+ require "google/ads/google_ads/v3/services/shared_set_service_pb.rb"
52
+ Google::Ads::GoogleAds::V3::Services::SharedSetOperation.new
53
+ end
54
+
55
+ # Create a new FeedOperation
56
+ #
57
+ # @return [Google::Ads::GoogleAds::V3::Services::FeedOperation] the operation
58
+ def self.feed
59
+ require "google/ads/google_ads/v3/services/feed_service_pb.rb"
60
+ Google::Ads::GoogleAds::V3::Services::FeedOperation.new
61
+ end
62
+
63
+ # Create a new AdGroupAdLabelOperation
64
+ #
65
+ # @return [Google::Ads::GoogleAds::V3::Services::AdGroupAdLabelOperation] the operation
66
+ def self.ad_group_ad_label
67
+ require "google/ads/google_ads/v3/services/ad_group_ad_label_service_pb.rb"
68
+ Google::Ads::GoogleAds::V3::Services::AdGroupAdLabelOperation.new
69
+ end
70
+
71
+ # Create a new CustomerClientLinkOperation
72
+ #
73
+ # @return [Google::Ads::GoogleAds::V3::Services::CustomerClientLinkOperation] the operation
74
+ def self.customer_client_link
75
+ require "google/ads/google_ads/v3/services/customer_client_link_service_pb.rb"
76
+ Google::Ads::GoogleAds::V3::Services::CustomerClientLinkOperation.new
77
+ end
78
+
79
+ # Create a new CampaignSharedSetOperation
80
+ #
81
+ # @return [Google::Ads::GoogleAds::V3::Services::CampaignSharedSetOperation] the operation
82
+ def self.campaign_shared_set
83
+ require "google/ads/google_ads/v3/services/campaign_shared_set_service_pb.rb"
84
+ Google::Ads::GoogleAds::V3::Services::CampaignSharedSetOperation.new
85
+ end
86
+
87
+ # Create a new MerchantCenterLinkOperation
88
+ #
89
+ # @return [Google::Ads::GoogleAds::V3::Services::MerchantCenterLinkOperation] the operation
90
+ def self.merchant_center_link
91
+ require "google/ads/google_ads/v3/services/merchant_center_link_service_pb.rb"
92
+ Google::Ads::GoogleAds::V3::Services::MerchantCenterLinkOperation.new
93
+ end
94
+
95
+ # Create a new AdGroupBidModifierOperation
96
+ #
97
+ # @return [Google::Ads::GoogleAds::V3::Services::AdGroupBidModifierOperation] the operation
98
+ def self.ad_group_bid_modifier
99
+ require "google/ads/google_ads/v3/services/ad_group_bid_modifier_service_pb.rb"
100
+ Google::Ads::GoogleAds::V3::Services::AdGroupBidModifierOperation.new
101
+ end
102
+
103
+ # Create a new CampaignFeedOperation
104
+ #
105
+ # @return [Google::Ads::GoogleAds::V3::Services::CampaignFeedOperation] the operation
106
+ def self.campaign_feed
107
+ require "google/ads/google_ads/v3/services/campaign_feed_service_pb.rb"
108
+ Google::Ads::GoogleAds::V3::Services::CampaignFeedOperation.new
109
+ end
110
+
111
+ # Create a new SharedCriterionOperation
112
+ #
113
+ # @return [Google::Ads::GoogleAds::V3::Services::SharedCriterionOperation] the operation
114
+ def self.shared_criterion
115
+ require "google/ads/google_ads/v3/services/shared_criterion_service_pb.rb"
116
+ Google::Ads::GoogleAds::V3::Services::SharedCriterionOperation.new
117
+ end
118
+
119
+ # Create a new RemarketingActionOperation
120
+ #
121
+ # @return [Google::Ads::GoogleAds::V3::Services::RemarketingActionOperation] the operation
122
+ def self.remarketing_action
123
+ require "google/ads/google_ads/v3/services/remarketing_action_service_pb.rb"
124
+ Google::Ads::GoogleAds::V3::Services::RemarketingActionOperation.new
125
+ end
126
+
127
+ # Create a new AdGroupLabelOperation
128
+ #
129
+ # @return [Google::Ads::GoogleAds::V3::Services::AdGroupLabelOperation] the operation
130
+ def self.ad_group_label
131
+ require "google/ads/google_ads/v3/services/ad_group_label_service_pb.rb"
132
+ Google::Ads::GoogleAds::V3::Services::AdGroupLabelOperation.new
133
+ end
134
+
135
+ # Create a new CustomerLabelOperation
136
+ #
137
+ # @return [Google::Ads::GoogleAds::V3::Services::CustomerLabelOperation] the operation
138
+ def self.customer_label
139
+ require "google/ads/google_ads/v3/services/customer_label_service_pb.rb"
140
+ Google::Ads::GoogleAds::V3::Services::CustomerLabelOperation.new
141
+ end
142
+
143
+ # Create a new AdGroupAdOperation
144
+ #
145
+ # @return [Google::Ads::GoogleAds::V3::Services::AdGroupAdOperation] the operation
146
+ def self.ad_group_ad
147
+ require "google/ads/google_ads/v3/services/ad_group_ad_service_pb.rb"
148
+ Google::Ads::GoogleAds::V3::Services::AdGroupAdOperation.new
149
+ end
150
+
151
+ # Create a new AdGroupCriterionOperation
152
+ #
153
+ # @return [Google::Ads::GoogleAds::V3::Services::AdGroupCriterionOperation] the operation
154
+ def self.ad_group_criterion
155
+ require "google/ads/google_ads/v3/services/ad_group_criterion_service_pb.rb"
156
+ Google::Ads::GoogleAds::V3::Services::AdGroupCriterionOperation.new
157
+ end
158
+
159
+ # Create a new AdGroupExtensionSettingOperation
160
+ #
161
+ # @return [Google::Ads::GoogleAds::V3::Services::AdGroupExtensionSettingOperation] the operation
162
+ def self.ad_group_extension_setting
163
+ require "google/ads/google_ads/v3/services/ad_group_extension_setting_service_pb.rb"
164
+ Google::Ads::GoogleAds::V3::Services::AdGroupExtensionSettingOperation.new
165
+ end
166
+
167
+ # Create a new AdGroupFeedOperation
168
+ #
169
+ # @return [Google::Ads::GoogleAds::V3::Services::AdGroupFeedOperation] the operation
170
+ def self.ad_group_feed
171
+ require "google/ads/google_ads/v3/services/ad_group_feed_service_pb.rb"
172
+ Google::Ads::GoogleAds::V3::Services::AdGroupFeedOperation.new
173
+ end
174
+
175
+ # Create a new AdGroupOperation
176
+ #
177
+ # @return [Google::Ads::GoogleAds::V3::Services::AdGroupOperation] the operation
178
+ def self.ad_group
179
+ require "google/ads/google_ads/v3/services/ad_group_service_pb.rb"
180
+ Google::Ads::GoogleAds::V3::Services::AdGroupOperation.new
181
+ end
182
+
183
+ # Create a new AdParameterOperation
184
+ #
185
+ # @return [Google::Ads::GoogleAds::V3::Services::AdParameterOperation] the operation
186
+ def self.ad_parameter
187
+ require "google/ads/google_ads/v3/services/ad_parameter_service_pb.rb"
188
+ Google::Ads::GoogleAds::V3::Services::AdParameterOperation.new
189
+ end
190
+
191
+ # Create a new AssetOperation
192
+ #
193
+ # @return [Google::Ads::GoogleAds::V3::Services::AssetOperation] the operation
194
+ def self.asset
195
+ require "google/ads/google_ads/v3/services/asset_service_pb.rb"
196
+ Google::Ads::GoogleAds::V3::Services::AssetOperation.new
197
+ end
198
+
199
+ # Create a new BiddingStrategyOperation
200
+ #
201
+ # @return [Google::Ads::GoogleAds::V3::Services::BiddingStrategyOperation] the operation
202
+ def self.bidding_strategy
203
+ require "google/ads/google_ads/v3/services/bidding_strategy_service_pb.rb"
204
+ Google::Ads::GoogleAds::V3::Services::BiddingStrategyOperation.new
205
+ end
206
+
207
+ # Create a new CampaignBidModifierOperation
208
+ #
209
+ # @return [Google::Ads::GoogleAds::V3::Services::CampaignBidModifierOperation] the operation
210
+ def self.campaign_bid_modifier
211
+ require "google/ads/google_ads/v3/services/campaign_bid_modifier_service_pb.rb"
212
+ Google::Ads::GoogleAds::V3::Services::CampaignBidModifierOperation.new
213
+ end
214
+
215
+ # Create a new CampaignBudgetOperation
216
+ #
217
+ # @return [Google::Ads::GoogleAds::V3::Services::CampaignBudgetOperation] the operation
218
+ def self.campaign_budget
219
+ require "google/ads/google_ads/v3/services/campaign_budget_service_pb.rb"
220
+ Google::Ads::GoogleAds::V3::Services::CampaignBudgetOperation.new
221
+ end
222
+
223
+ # Create a new CampaignCriterionOperation
224
+ #
225
+ # @return [Google::Ads::GoogleAds::V3::Services::CampaignCriterionOperation] the operation
226
+ def self.campaign_criterion
227
+ require "google/ads/google_ads/v3/services/campaign_criterion_service_pb.rb"
228
+ Google::Ads::GoogleAds::V3::Services::CampaignCriterionOperation.new
229
+ end
230
+
231
+ # Create a new CampaignDraftOperation
232
+ #
233
+ # @return [Google::Ads::GoogleAds::V3::Services::CampaignDraftOperation] the operation
234
+ def self.campaign_draft
235
+ require "google/ads/google_ads/v3/services/campaign_draft_service_pb.rb"
236
+ Google::Ads::GoogleAds::V3::Services::CampaignDraftOperation.new
237
+ end
238
+
239
+ # Create a new CampaignExperimentOperation
240
+ #
241
+ # @return [Google::Ads::GoogleAds::V3::Services::CampaignExperimentOperation] the operation
242
+ def self.campaign_experiment
243
+ require "google/ads/google_ads/v3/services/campaign_experiment_service_pb.rb"
244
+ Google::Ads::GoogleAds::V3::Services::CampaignExperimentOperation.new
245
+ end
246
+
247
+ # Create a new CampaignExtensionSettingOperation
248
+ #
249
+ # @return [Google::Ads::GoogleAds::V3::Services::CampaignExtensionSettingOperation] the operation
250
+ def self.campaign_extension_setting
251
+ require "google/ads/google_ads/v3/services/campaign_extension_setting_service_pb.rb"
252
+ Google::Ads::GoogleAds::V3::Services::CampaignExtensionSettingOperation.new
253
+ end
254
+
255
+ # Create a new CampaignLabelOperation
256
+ #
257
+ # @return [Google::Ads::GoogleAds::V3::Services::CampaignLabelOperation] the operation
258
+ def self.campaign_label
259
+ require "google/ads/google_ads/v3/services/campaign_label_service_pb.rb"
260
+ Google::Ads::GoogleAds::V3::Services::CampaignLabelOperation.new
261
+ end
262
+
263
+ # Create a new CampaignOperation
264
+ #
265
+ # @return [Google::Ads::GoogleAds::V3::Services::CampaignOperation] the operation
266
+ def self.campaign
267
+ require "google/ads/google_ads/v3/services/campaign_service_pb.rb"
268
+ Google::Ads::GoogleAds::V3::Services::CampaignOperation.new
269
+ end
270
+
271
+ # Create a new ConversionActionOperation
272
+ #
273
+ # @return [Google::Ads::GoogleAds::V3::Services::ConversionActionOperation] the operation
274
+ def self.conversion_action
275
+ require "google/ads/google_ads/v3/services/conversion_action_service_pb.rb"
276
+ Google::Ads::GoogleAds::V3::Services::ConversionActionOperation.new
277
+ end
278
+
279
+ # Create a new CustomerExtensionSettingOperation
280
+ #
281
+ # @return [Google::Ads::GoogleAds::V3::Services::CustomerExtensionSettingOperation] the operation
282
+ def self.customer_extension_setting
283
+ require "google/ads/google_ads/v3/services/customer_extension_setting_service_pb.rb"
284
+ Google::Ads::GoogleAds::V3::Services::CustomerExtensionSettingOperation.new
285
+ end
286
+
287
+ # Create a new CustomerFeedOperation
288
+ #
289
+ # @return [Google::Ads::GoogleAds::V3::Services::CustomerFeedOperation] the operation
290
+ def self.customer_feed
291
+ require "google/ads/google_ads/v3/services/customer_feed_service_pb.rb"
292
+ Google::Ads::GoogleAds::V3::Services::CustomerFeedOperation.new
293
+ end
294
+
295
+ # Create a new CustomerNegativeCriterionOperation
296
+ #
297
+ # @return [Google::Ads::GoogleAds::V3::Services::CustomerNegativeCriterionOperation] the operation
298
+ def self.customer_negative_criterion
299
+ require "google/ads/google_ads/v3/services/customer_negative_criterion_service_pb.rb"
300
+ Google::Ads::GoogleAds::V3::Services::CustomerNegativeCriterionOperation.new
301
+ end
302
+
303
+ # Create a new CustomerOperation
304
+ #
305
+ # @return [Google::Ads::GoogleAds::V3::Services::CustomerOperation] the operation
306
+ def self.customer
307
+ require "google/ads/google_ads/v3/services/customer_service_pb.rb"
308
+ Google::Ads::GoogleAds::V3::Services::CustomerOperation.new
309
+ end
310
+
311
+ # Create a new ExtensionFeedItemOperation
312
+ #
313
+ # @return [Google::Ads::GoogleAds::V3::Services::ExtensionFeedItemOperation] the operation
314
+ def self.extension_feed_item
315
+ require "google/ads/google_ads/v3/services/extension_feed_item_service_pb.rb"
316
+ Google::Ads::GoogleAds::V3::Services::ExtensionFeedItemOperation.new
317
+ end
318
+
319
+ # Create a new FeedItemOperation
320
+ #
321
+ # @return [Google::Ads::GoogleAds::V3::Services::FeedItemOperation] the operation
322
+ def self.feed_item
323
+ require "google/ads/google_ads/v3/services/feed_item_service_pb.rb"
324
+ Google::Ads::GoogleAds::V3::Services::FeedItemOperation.new
325
+ end
326
+
327
+ # Create a new FeedItemTargetOperation
328
+ #
329
+ # @return [Google::Ads::GoogleAds::V3::Services::FeedItemTargetOperation] the operation
330
+ def self.feed_item_target
331
+ require "google/ads/google_ads/v3/services/feed_item_target_service_pb.rb"
332
+ Google::Ads::GoogleAds::V3::Services::FeedItemTargetOperation.new
333
+ end
334
+
335
+ # Create a new FeedMappingOperation
336
+ #
337
+ # @return [Google::Ads::GoogleAds::V3::Services::FeedMappingOperation] the operation
338
+ def self.feed_mapping
339
+ require "google/ads/google_ads/v3/services/feed_mapping_service_pb.rb"
340
+ Google::Ads::GoogleAds::V3::Services::FeedMappingOperation.new
341
+ end
342
+
343
+ # Create a new LabelOperation
344
+ #
345
+ # @return [Google::Ads::GoogleAds::V3::Services::LabelOperation] the operation
346
+ def self.label
347
+ require "google/ads/google_ads/v3/services/label_service_pb.rb"
348
+ Google::Ads::GoogleAds::V3::Services::LabelOperation.new
349
+ end
350
+
351
+ # Create a new MediaFileOperation
352
+ #
353
+ # @return [Google::Ads::GoogleAds::V3::Services::MediaFileOperation] the operation
354
+ def self.media_file
355
+ require "google/ads/google_ads/v3/services/media_file_service_pb.rb"
356
+ Google::Ads::GoogleAds::V3::Services::MediaFileOperation.new
357
+ end
358
+
359
+ # Create a new UserListOperation
360
+ #
361
+ # @return [Google::Ads::GoogleAds::V3::Services::UserListOperation] the operation
362
+ def self.user_list
363
+ require "google/ads/google_ads/v3/services/user_list_service_pb.rb"
364
+ Google::Ads::GoogleAds::V3::Services::UserListOperation.new
365
+ end
366
+
367
+ # Create a new MutateOperation
368
+ #
369
+ # @return [Google::Ads::GoogleAds::V3::Services::MutateOperation] the operation
370
+ def self.mutate
371
+ require "google/ads/google_ads/v3/services/google_ads_service_pb.rb"
372
+ Google::Ads::GoogleAds::V3::Services::MutateOperation.new
373
+ end
374
+
375
+ # Create a new KeywordPlanKeywordOperation
376
+ #
377
+ # @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanKeywordOperation] the operation
378
+ def self.keyword_plan_keyword
379
+ require "google/ads/google_ads/v3/services/keyword_plan_keyword_service_pb.rb"
380
+ Google::Ads::GoogleAds::V3::Services::KeywordPlanKeywordOperation.new
381
+ end
382
+
383
+ # Create a new KeywordPlanAdGroupOperation
384
+ #
385
+ # @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanAdGroupOperation] the operation
386
+ def self.keyword_plan_ad_group
387
+ require "google/ads/google_ads/v3/services/keyword_plan_ad_group_service_pb.rb"
388
+ Google::Ads::GoogleAds::V3::Services::KeywordPlanAdGroupOperation.new
389
+ end
390
+
391
+ # Create a new BillingSetupOperation
392
+ #
393
+ # @return [Google::Ads::GoogleAds::V3::Services::BillingSetupOperation] the operation
394
+ def self.billing_setup
395
+ require "google/ads/google_ads/v3/services/billing_setup_service_pb.rb"
396
+ Google::Ads::GoogleAds::V3::Services::BillingSetupOperation.new
397
+ end
398
+
399
+ # Create a new CustomInterestOperation
400
+ #
401
+ # @return [Google::Ads::GoogleAds::V3::Services::CustomInterestOperation] the operation
402
+ def self.custom_interest
403
+ require "google/ads/google_ads/v3/services/custom_interest_service_pb.rb"
404
+ Google::Ads::GoogleAds::V3::Services::CustomInterestOperation.new
405
+ end
406
+
407
+ # Create a new KeywordPlanNegativeKeywordOperation
408
+ #
409
+ # @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanNegativeKeywordOperation] the operation
410
+ def self.keyword_plan_negative_keyword
411
+ require "google/ads/google_ads/v3/services/keyword_plan_negative_keyword_service_pb.rb"
412
+ Google::Ads::GoogleAds::V3::Services::KeywordPlanNegativeKeywordOperation.new
413
+ end
414
+
415
+ # Create a new AdOperation
416
+ #
417
+ # @return [Google::Ads::GoogleAds::V3::Services::AdOperation] the operation
418
+ def self.ad
419
+ require "google/ads/google_ads/v3/services/ad_service_pb.rb"
420
+ Google::Ads::GoogleAds::V3::Services::AdOperation.new
421
+ end
422
+
423
+ # Create a new KeywordPlanOperation
424
+ #
425
+ # @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanOperation] the operation
426
+ def self.keyword_plan
427
+ require "google/ads/google_ads/v3/services/keyword_plan_service_pb.rb"
428
+ Google::Ads::GoogleAds::V3::Services::KeywordPlanOperation.new
429
+ end
430
+
431
+ # Create a new ApplyRecommendationOperation
432
+ #
433
+ # @return [Google::Ads::GoogleAds::V3::Services::ApplyRecommendationOperation] the operation
434
+ def self.apply_recommendation
435
+ require "google/ads/google_ads/v3/services/recommendation_service_pb.rb"
436
+ Google::Ads::GoogleAds::V3::Services::ApplyRecommendationOperation.new
437
+ end
438
+
439
+ # Create a new DismissRecommendationOperation
440
+ #
441
+ # @return [Google::Ads::GoogleAds::V3::Services::DismissRecommendationRequest::DismissRecommendationOperation] the operation
442
+ def self.dismiss_recommendation
443
+ require "google/ads/google_ads/v3/services/recommendation_service_pb.rb"
444
+ Google::Ads::GoogleAds::V3::Services::DismissRecommendationRequest::DismissRecommendationOperation.new
445
+ end
446
+
447
+ # Create a new AccountBudgetProposalOperation
448
+ #
449
+ # @return [Google::Ads::GoogleAds::V3::Services::AccountBudgetProposalOperation] the operation
450
+ def self.account_budget_proposal
451
+ require "google/ads/google_ads/v3/services/account_budget_proposal_service_pb.rb"
452
+ Google::Ads::GoogleAds::V3::Services::AccountBudgetProposalOperation.new
453
+ end
454
+
455
+ # Get a reference module containing convenience methods for creating
456
+ # resources
457
+ #
458
+ # @return [Google::Ads::GoogleAds::Factories::V3::Operations::CreateResource]
459
+ def self.create_resource
460
+ CreateResource
461
+ end
462
+
463
+ # Get a reference module containing convenience methods for updating
464
+ # resources
465
+ #
466
+ # @return [Google::Ads::GoogleAds::Factories::V3::Operations::UpdateResource]
467
+ def self.update_resource
468
+ UpdateResource
469
+ end
470
+
471
+ # Get a reference module containing convenience methods for removing
472
+ # resources
473
+ #
474
+ # @return [Google::Ads::GoogleAds::Factories::V3::Operations::RemoveResource]
475
+ def self.remove_resource
476
+ RemoveResource
477
+ end
478
+
479
+ module CreateResource
480
+ # A convenience method for creating an AdGroupCriterionLabelOperation instance with
481
+ # its "create" field prepopulated with an AdGroupCriterionLabel instance.
482
+ #
483
+ # @overload ad_group_criterion_label
484
+ # creates an operation instance, yielding a newly fabricated AdGroupCriterionLabel
485
+ # which can be used for setting attributes on the newly created resource
486
+ # @overload ad_group_criterion_label(res)
487
+ # creates an operation instance, with the resource to be created
488
+ # set to the passed value (res)
489
+ # @param res [Google::Ads::GoogleAds::V3::Resources::AdGroupCriterionLabel]
490
+ # a resource instance to be used for creation in this operation.
491
+ #
492
+ # @return [Google::Ads::GoogleAds::V3::Services::AdGroupCriterionLabelOperation] instance that will create the resource
493
+ def self.ad_group_criterion_label(res = nil, &blk)
494
+ require "google/ads/google_ads/v3/services/ad_group_criterion_label_service_pb.rb"
495
+ op = Google::Ads::GoogleAds::V3::Services::AdGroupCriterionLabelOperation.new
496
+ if !res.nil?
497
+ op["create"] = res
498
+ elsif !blk.nil?
499
+ op["create"] = Factories::V3::Resources.ad_group_criterion_label(&blk)
500
+ end
501
+
502
+ op
503
+ end
504
+
505
+ # A convenience method for creating an KeywordPlanCampaignOperation instance with
506
+ # its "create" field prepopulated with an KeywordPlanCampaign instance.
507
+ #
508
+ # @overload keyword_plan_campaign
509
+ # creates an operation instance, yielding a newly fabricated KeywordPlanCampaign
510
+ # which can be used for setting attributes on the newly created resource
511
+ # @overload keyword_plan_campaign(res)
512
+ # creates an operation instance, with the resource to be created
513
+ # set to the passed value (res)
514
+ # @param res [Google::Ads::GoogleAds::V3::Resources::KeywordPlanCampaign]
515
+ # a resource instance to be used for creation in this operation.
516
+ #
517
+ # @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanCampaignOperation] instance that will create the resource
518
+ def self.keyword_plan_campaign(res = nil, &blk)
519
+ require "google/ads/google_ads/v3/services/keyword_plan_campaign_service_pb.rb"
520
+ op = Google::Ads::GoogleAds::V3::Services::KeywordPlanCampaignOperation.new
521
+ if !res.nil?
522
+ op["create"] = res
523
+ elsif !blk.nil?
524
+ op["create"] = Factories::V3::Resources.keyword_plan_campaign(&blk)
525
+ end
526
+
527
+ op
528
+ end
529
+
530
+ # A convenience method for creating an SharedSetOperation instance with
531
+ # its "create" field prepopulated with an SharedSet instance.
532
+ #
533
+ # @overload shared_set
534
+ # creates an operation instance, yielding a newly fabricated SharedSet
535
+ # which can be used for setting attributes on the newly created resource
536
+ # @overload shared_set(res)
537
+ # creates an operation instance, with the resource to be created
538
+ # set to the passed value (res)
539
+ # @param res [Google::Ads::GoogleAds::V3::Resources::SharedSet]
540
+ # a resource instance to be used for creation in this operation.
541
+ #
542
+ # @return [Google::Ads::GoogleAds::V3::Services::SharedSetOperation] instance that will create the resource
543
+ def self.shared_set(res = nil, &blk)
544
+ require "google/ads/google_ads/v3/services/shared_set_service_pb.rb"
545
+ op = Google::Ads::GoogleAds::V3::Services::SharedSetOperation.new
546
+ if !res.nil?
547
+ op["create"] = res
548
+ elsif !blk.nil?
549
+ op["create"] = Factories::V3::Resources.shared_set(&blk)
550
+ end
551
+
552
+ op
553
+ end
554
+
555
+ # A convenience method for creating an FeedOperation instance with
556
+ # its "create" field prepopulated with an Feed instance.
557
+ #
558
+ # @overload feed
559
+ # creates an operation instance, yielding a newly fabricated Feed
560
+ # which can be used for setting attributes on the newly created resource
561
+ # @overload feed(res)
562
+ # creates an operation instance, with the resource to be created
563
+ # set to the passed value (res)
564
+ # @param res [Google::Ads::GoogleAds::V3::Resources::Feed]
565
+ # a resource instance to be used for creation in this operation.
566
+ #
567
+ # @return [Google::Ads::GoogleAds::V3::Services::FeedOperation] instance that will create the resource
568
+ def self.feed(res = nil, &blk)
569
+ require "google/ads/google_ads/v3/services/feed_service_pb.rb"
570
+ op = Google::Ads::GoogleAds::V3::Services::FeedOperation.new
571
+ if !res.nil?
572
+ op["create"] = res
573
+ elsif !blk.nil?
574
+ op["create"] = Factories::V3::Resources.feed(&blk)
575
+ end
576
+
577
+ op
578
+ end
579
+
580
+ # A convenience method for creating an AdGroupAdLabelOperation instance with
581
+ # its "create" field prepopulated with an AdGroupAdLabel instance.
582
+ #
583
+ # @overload ad_group_ad_label
584
+ # creates an operation instance, yielding a newly fabricated AdGroupAdLabel
585
+ # which can be used for setting attributes on the newly created resource
586
+ # @overload ad_group_ad_label(res)
587
+ # creates an operation instance, with the resource to be created
588
+ # set to the passed value (res)
589
+ # @param res [Google::Ads::GoogleAds::V3::Resources::AdGroupAdLabel]
590
+ # a resource instance to be used for creation in this operation.
591
+ #
592
+ # @return [Google::Ads::GoogleAds::V3::Services::AdGroupAdLabelOperation] instance that will create the resource
593
+ def self.ad_group_ad_label(res = nil, &blk)
594
+ require "google/ads/google_ads/v3/services/ad_group_ad_label_service_pb.rb"
595
+ op = Google::Ads::GoogleAds::V3::Services::AdGroupAdLabelOperation.new
596
+ if !res.nil?
597
+ op["create"] = res
598
+ elsif !blk.nil?
599
+ op["create"] = Factories::V3::Resources.ad_group_ad_label(&blk)
600
+ end
601
+
602
+ op
603
+ end
604
+
605
+ # A convenience method for creating an CustomerClientLinkOperation instance with
606
+ # its "create" field prepopulated with an CustomerClientLink instance.
607
+ #
608
+ # @overload customer_client_link
609
+ # creates an operation instance, yielding a newly fabricated CustomerClientLink
610
+ # which can be used for setting attributes on the newly created resource
611
+ # @overload customer_client_link(res)
612
+ # creates an operation instance, with the resource to be created
613
+ # set to the passed value (res)
614
+ # @param res [Google::Ads::GoogleAds::V3::Resources::CustomerClientLink]
615
+ # a resource instance to be used for creation in this operation.
616
+ #
617
+ # @return [Google::Ads::GoogleAds::V3::Services::CustomerClientLinkOperation] instance that will create the resource
618
+ def self.customer_client_link(res = nil, &blk)
619
+ require "google/ads/google_ads/v3/services/customer_client_link_service_pb.rb"
620
+ op = Google::Ads::GoogleAds::V3::Services::CustomerClientLinkOperation.new
621
+ if !res.nil?
622
+ op["create"] = res
623
+ elsif !blk.nil?
624
+ op["create"] = Factories::V3::Resources.customer_client_link(&blk)
625
+ end
626
+
627
+ op
628
+ end
629
+
630
+ # A convenience method for creating an CampaignSharedSetOperation instance with
631
+ # its "create" field prepopulated with an CampaignSharedSet instance.
632
+ #
633
+ # @overload campaign_shared_set
634
+ # creates an operation instance, yielding a newly fabricated CampaignSharedSet
635
+ # which can be used for setting attributes on the newly created resource
636
+ # @overload campaign_shared_set(res)
637
+ # creates an operation instance, with the resource to be created
638
+ # set to the passed value (res)
639
+ # @param res [Google::Ads::GoogleAds::V3::Resources::CampaignSharedSet]
640
+ # a resource instance to be used for creation in this operation.
641
+ #
642
+ # @return [Google::Ads::GoogleAds::V3::Services::CampaignSharedSetOperation] instance that will create the resource
643
+ def self.campaign_shared_set(res = nil, &blk)
644
+ require "google/ads/google_ads/v3/services/campaign_shared_set_service_pb.rb"
645
+ op = Google::Ads::GoogleAds::V3::Services::CampaignSharedSetOperation.new
646
+ if !res.nil?
647
+ op["create"] = res
648
+ elsif !blk.nil?
649
+ op["create"] = Factories::V3::Resources.campaign_shared_set(&blk)
650
+ end
651
+
652
+ op
653
+ end
654
+
655
+ # A convenience method for creating an AdGroupBidModifierOperation instance with
656
+ # its "create" field prepopulated with an AdGroupBidModifier instance.
657
+ #
658
+ # @overload ad_group_bid_modifier
659
+ # creates an operation instance, yielding a newly fabricated AdGroupBidModifier
660
+ # which can be used for setting attributes on the newly created resource
661
+ # @overload ad_group_bid_modifier(res)
662
+ # creates an operation instance, with the resource to be created
663
+ # set to the passed value (res)
664
+ # @param res [Google::Ads::GoogleAds::V3::Resources::AdGroupBidModifier]
665
+ # a resource instance to be used for creation in this operation.
666
+ #
667
+ # @return [Google::Ads::GoogleAds::V3::Services::AdGroupBidModifierOperation] instance that will create the resource
668
+ def self.ad_group_bid_modifier(res = nil, &blk)
669
+ require "google/ads/google_ads/v3/services/ad_group_bid_modifier_service_pb.rb"
670
+ op = Google::Ads::GoogleAds::V3::Services::AdGroupBidModifierOperation.new
671
+ if !res.nil?
672
+ op["create"] = res
673
+ elsif !blk.nil?
674
+ op["create"] = Factories::V3::Resources.ad_group_bid_modifier(&blk)
675
+ end
676
+
677
+ op
678
+ end
679
+
680
+ # A convenience method for creating an CampaignFeedOperation instance with
681
+ # its "create" field prepopulated with an CampaignFeed instance.
682
+ #
683
+ # @overload campaign_feed
684
+ # creates an operation instance, yielding a newly fabricated CampaignFeed
685
+ # which can be used for setting attributes on the newly created resource
686
+ # @overload campaign_feed(res)
687
+ # creates an operation instance, with the resource to be created
688
+ # set to the passed value (res)
689
+ # @param res [Google::Ads::GoogleAds::V3::Resources::CampaignFeed]
690
+ # a resource instance to be used for creation in this operation.
691
+ #
692
+ # @return [Google::Ads::GoogleAds::V3::Services::CampaignFeedOperation] instance that will create the resource
693
+ def self.campaign_feed(res = nil, &blk)
694
+ require "google/ads/google_ads/v3/services/campaign_feed_service_pb.rb"
695
+ op = Google::Ads::GoogleAds::V3::Services::CampaignFeedOperation.new
696
+ if !res.nil?
697
+ op["create"] = res
698
+ elsif !blk.nil?
699
+ op["create"] = Factories::V3::Resources.campaign_feed(&blk)
700
+ end
701
+
702
+ op
703
+ end
704
+
705
+ # A convenience method for creating an SharedCriterionOperation instance with
706
+ # its "create" field prepopulated with an SharedCriterion instance.
707
+ #
708
+ # @overload shared_criterion
709
+ # creates an operation instance, yielding a newly fabricated SharedCriterion
710
+ # which can be used for setting attributes on the newly created resource
711
+ # @overload shared_criterion(res)
712
+ # creates an operation instance, with the resource to be created
713
+ # set to the passed value (res)
714
+ # @param res [Google::Ads::GoogleAds::V3::Resources::SharedCriterion]
715
+ # a resource instance to be used for creation in this operation.
716
+ #
717
+ # @return [Google::Ads::GoogleAds::V3::Services::SharedCriterionOperation] instance that will create the resource
718
+ def self.shared_criterion(res = nil, &blk)
719
+ require "google/ads/google_ads/v3/services/shared_criterion_service_pb.rb"
720
+ op = Google::Ads::GoogleAds::V3::Services::SharedCriterionOperation.new
721
+ if !res.nil?
722
+ op["create"] = res
723
+ elsif !blk.nil?
724
+ op["create"] = Factories::V3::Resources.shared_criterion(&blk)
725
+ end
726
+
727
+ op
728
+ end
729
+
730
+ # A convenience method for creating an RemarketingActionOperation instance with
731
+ # its "create" field prepopulated with an RemarketingAction instance.
732
+ #
733
+ # @overload remarketing_action
734
+ # creates an operation instance, yielding a newly fabricated RemarketingAction
735
+ # which can be used for setting attributes on the newly created resource
736
+ # @overload remarketing_action(res)
737
+ # creates an operation instance, with the resource to be created
738
+ # set to the passed value (res)
739
+ # @param res [Google::Ads::GoogleAds::V3::Resources::RemarketingAction]
740
+ # a resource instance to be used for creation in this operation.
741
+ #
742
+ # @return [Google::Ads::GoogleAds::V3::Services::RemarketingActionOperation] instance that will create the resource
743
+ def self.remarketing_action(res = nil, &blk)
744
+ require "google/ads/google_ads/v3/services/remarketing_action_service_pb.rb"
745
+ op = Google::Ads::GoogleAds::V3::Services::RemarketingActionOperation.new
746
+ if !res.nil?
747
+ op["create"] = res
748
+ elsif !blk.nil?
749
+ op["create"] = Factories::V3::Resources.remarketing_action(&blk)
750
+ end
751
+
752
+ op
753
+ end
754
+
755
+ # A convenience method for creating an AdGroupLabelOperation instance with
756
+ # its "create" field prepopulated with an AdGroupLabel instance.
757
+ #
758
+ # @overload ad_group_label
759
+ # creates an operation instance, yielding a newly fabricated AdGroupLabel
760
+ # which can be used for setting attributes on the newly created resource
761
+ # @overload ad_group_label(res)
762
+ # creates an operation instance, with the resource to be created
763
+ # set to the passed value (res)
764
+ # @param res [Google::Ads::GoogleAds::V3::Resources::AdGroupLabel]
765
+ # a resource instance to be used for creation in this operation.
766
+ #
767
+ # @return [Google::Ads::GoogleAds::V3::Services::AdGroupLabelOperation] instance that will create the resource
768
+ def self.ad_group_label(res = nil, &blk)
769
+ require "google/ads/google_ads/v3/services/ad_group_label_service_pb.rb"
770
+ op = Google::Ads::GoogleAds::V3::Services::AdGroupLabelOperation.new
771
+ if !res.nil?
772
+ op["create"] = res
773
+ elsif !blk.nil?
774
+ op["create"] = Factories::V3::Resources.ad_group_label(&blk)
775
+ end
776
+
777
+ op
778
+ end
779
+
780
+ # A convenience method for creating an CustomerLabelOperation instance with
781
+ # its "create" field prepopulated with an CustomerLabel instance.
782
+ #
783
+ # @overload customer_label
784
+ # creates an operation instance, yielding a newly fabricated CustomerLabel
785
+ # which can be used for setting attributes on the newly created resource
786
+ # @overload customer_label(res)
787
+ # creates an operation instance, with the resource to be created
788
+ # set to the passed value (res)
789
+ # @param res [Google::Ads::GoogleAds::V3::Resources::CustomerLabel]
790
+ # a resource instance to be used for creation in this operation.
791
+ #
792
+ # @return [Google::Ads::GoogleAds::V3::Services::CustomerLabelOperation] instance that will create the resource
793
+ def self.customer_label(res = nil, &blk)
794
+ require "google/ads/google_ads/v3/services/customer_label_service_pb.rb"
795
+ op = Google::Ads::GoogleAds::V3::Services::CustomerLabelOperation.new
796
+ if !res.nil?
797
+ op["create"] = res
798
+ elsif !blk.nil?
799
+ op["create"] = Factories::V3::Resources.customer_label(&blk)
800
+ end
801
+
802
+ op
803
+ end
804
+
805
+ # A convenience method for creating an AdGroupAdOperation instance with
806
+ # its "create" field prepopulated with an AdGroupAd instance.
807
+ #
808
+ # @overload ad_group_ad
809
+ # creates an operation instance, yielding a newly fabricated AdGroupAd
810
+ # which can be used for setting attributes on the newly created resource
811
+ # @overload ad_group_ad(res)
812
+ # creates an operation instance, with the resource to be created
813
+ # set to the passed value (res)
814
+ # @param res [Google::Ads::GoogleAds::V3::Resources::AdGroupAd]
815
+ # a resource instance to be used for creation in this operation.
816
+ #
817
+ # @return [Google::Ads::GoogleAds::V3::Services::AdGroupAdOperation] instance that will create the resource
818
+ def self.ad_group_ad(res = nil, &blk)
819
+ require "google/ads/google_ads/v3/services/ad_group_ad_service_pb.rb"
820
+ op = Google::Ads::GoogleAds::V3::Services::AdGroupAdOperation.new
821
+ if !res.nil?
822
+ op["create"] = res
823
+ elsif !blk.nil?
824
+ op["create"] = Factories::V3::Resources.ad_group_ad(&blk)
825
+ end
826
+
827
+ op
828
+ end
829
+
830
+ # A convenience method for creating an AdGroupCriterionOperation instance with
831
+ # its "create" field prepopulated with an AdGroupCriterion instance.
832
+ #
833
+ # @overload ad_group_criterion
834
+ # creates an operation instance, yielding a newly fabricated AdGroupCriterion
835
+ # which can be used for setting attributes on the newly created resource
836
+ # @overload ad_group_criterion(res)
837
+ # creates an operation instance, with the resource to be created
838
+ # set to the passed value (res)
839
+ # @param res [Google::Ads::GoogleAds::V3::Resources::AdGroupCriterion]
840
+ # a resource instance to be used for creation in this operation.
841
+ #
842
+ # @return [Google::Ads::GoogleAds::V3::Services::AdGroupCriterionOperation] instance that will create the resource
843
+ def self.ad_group_criterion(res = nil, &blk)
844
+ require "google/ads/google_ads/v3/services/ad_group_criterion_service_pb.rb"
845
+ op = Google::Ads::GoogleAds::V3::Services::AdGroupCriterionOperation.new
846
+ if !res.nil?
847
+ op["create"] = res
848
+ elsif !blk.nil?
849
+ op["create"] = Factories::V3::Resources.ad_group_criterion(&blk)
850
+ end
851
+
852
+ op
853
+ end
854
+
855
+ # A convenience method for creating an AdGroupExtensionSettingOperation instance with
856
+ # its "create" field prepopulated with an AdGroupExtensionSetting instance.
857
+ #
858
+ # @overload ad_group_extension_setting
859
+ # creates an operation instance, yielding a newly fabricated AdGroupExtensionSetting
860
+ # which can be used for setting attributes on the newly created resource
861
+ # @overload ad_group_extension_setting(res)
862
+ # creates an operation instance, with the resource to be created
863
+ # set to the passed value (res)
864
+ # @param res [Google::Ads::GoogleAds::V3::Resources::AdGroupExtensionSetting]
865
+ # a resource instance to be used for creation in this operation.
866
+ #
867
+ # @return [Google::Ads::GoogleAds::V3::Services::AdGroupExtensionSettingOperation] instance that will create the resource
868
+ def self.ad_group_extension_setting(res = nil, &blk)
869
+ require "google/ads/google_ads/v3/services/ad_group_extension_setting_service_pb.rb"
870
+ op = Google::Ads::GoogleAds::V3::Services::AdGroupExtensionSettingOperation.new
871
+ if !res.nil?
872
+ op["create"] = res
873
+ elsif !blk.nil?
874
+ op["create"] = Factories::V3::Resources.ad_group_extension_setting(&blk)
875
+ end
876
+
877
+ op
878
+ end
879
+
880
+ # A convenience method for creating an AdGroupFeedOperation instance with
881
+ # its "create" field prepopulated with an AdGroupFeed instance.
882
+ #
883
+ # @overload ad_group_feed
884
+ # creates an operation instance, yielding a newly fabricated AdGroupFeed
885
+ # which can be used for setting attributes on the newly created resource
886
+ # @overload ad_group_feed(res)
887
+ # creates an operation instance, with the resource to be created
888
+ # set to the passed value (res)
889
+ # @param res [Google::Ads::GoogleAds::V3::Resources::AdGroupFeed]
890
+ # a resource instance to be used for creation in this operation.
891
+ #
892
+ # @return [Google::Ads::GoogleAds::V3::Services::AdGroupFeedOperation] instance that will create the resource
893
+ def self.ad_group_feed(res = nil, &blk)
894
+ require "google/ads/google_ads/v3/services/ad_group_feed_service_pb.rb"
895
+ op = Google::Ads::GoogleAds::V3::Services::AdGroupFeedOperation.new
896
+ if !res.nil?
897
+ op["create"] = res
898
+ elsif !blk.nil?
899
+ op["create"] = Factories::V3::Resources.ad_group_feed(&blk)
900
+ end
901
+
902
+ op
903
+ end
904
+
905
+ # A convenience method for creating an AdGroupOperation instance with
906
+ # its "create" field prepopulated with an AdGroup instance.
907
+ #
908
+ # @overload ad_group
909
+ # creates an operation instance, yielding a newly fabricated AdGroup
910
+ # which can be used for setting attributes on the newly created resource
911
+ # @overload ad_group(res)
912
+ # creates an operation instance, with the resource to be created
913
+ # set to the passed value (res)
914
+ # @param res [Google::Ads::GoogleAds::V3::Resources::AdGroup]
915
+ # a resource instance to be used for creation in this operation.
916
+ #
917
+ # @return [Google::Ads::GoogleAds::V3::Services::AdGroupOperation] instance that will create the resource
918
+ def self.ad_group(res = nil, &blk)
919
+ require "google/ads/google_ads/v3/services/ad_group_service_pb.rb"
920
+ op = Google::Ads::GoogleAds::V3::Services::AdGroupOperation.new
921
+ if !res.nil?
922
+ op["create"] = res
923
+ elsif !blk.nil?
924
+ op["create"] = Factories::V3::Resources.ad_group(&blk)
925
+ end
926
+
927
+ op
928
+ end
929
+
930
+ # A convenience method for creating an AdParameterOperation instance with
931
+ # its "create" field prepopulated with an AdParameter instance.
932
+ #
933
+ # @overload ad_parameter
934
+ # creates an operation instance, yielding a newly fabricated AdParameter
935
+ # which can be used for setting attributes on the newly created resource
936
+ # @overload ad_parameter(res)
937
+ # creates an operation instance, with the resource to be created
938
+ # set to the passed value (res)
939
+ # @param res [Google::Ads::GoogleAds::V3::Resources::AdParameter]
940
+ # a resource instance to be used for creation in this operation.
941
+ #
942
+ # @return [Google::Ads::GoogleAds::V3::Services::AdParameterOperation] instance that will create the resource
943
+ def self.ad_parameter(res = nil, &blk)
944
+ require "google/ads/google_ads/v3/services/ad_parameter_service_pb.rb"
945
+ op = Google::Ads::GoogleAds::V3::Services::AdParameterOperation.new
946
+ if !res.nil?
947
+ op["create"] = res
948
+ elsif !blk.nil?
949
+ op["create"] = Factories::V3::Resources.ad_parameter(&blk)
950
+ end
951
+
952
+ op
953
+ end
954
+
955
+ # A convenience method for creating an AssetOperation instance with
956
+ # its "create" field prepopulated with an Asset instance.
957
+ #
958
+ # @overload asset
959
+ # creates an operation instance, yielding a newly fabricated Asset
960
+ # which can be used for setting attributes on the newly created resource
961
+ # @overload asset(res)
962
+ # creates an operation instance, with the resource to be created
963
+ # set to the passed value (res)
964
+ # @param res [Google::Ads::GoogleAds::V3::Resources::Asset]
965
+ # a resource instance to be used for creation in this operation.
966
+ #
967
+ # @return [Google::Ads::GoogleAds::V3::Services::AssetOperation] instance that will create the resource
968
+ def self.asset(res = nil, &blk)
969
+ require "google/ads/google_ads/v3/services/asset_service_pb.rb"
970
+ op = Google::Ads::GoogleAds::V3::Services::AssetOperation.new
971
+ if !res.nil?
972
+ op["create"] = res
973
+ elsif !blk.nil?
974
+ op["create"] = Factories::V3::Resources.asset(&blk)
975
+ end
976
+
977
+ op
978
+ end
979
+
980
+ # A convenience method for creating an BiddingStrategyOperation instance with
981
+ # its "create" field prepopulated with an BiddingStrategy instance.
982
+ #
983
+ # @overload bidding_strategy
984
+ # creates an operation instance, yielding a newly fabricated BiddingStrategy
985
+ # which can be used for setting attributes on the newly created resource
986
+ # @overload bidding_strategy(res)
987
+ # creates an operation instance, with the resource to be created
988
+ # set to the passed value (res)
989
+ # @param res [Google::Ads::GoogleAds::V3::Resources::BiddingStrategy]
990
+ # a resource instance to be used for creation in this operation.
991
+ #
992
+ # @return [Google::Ads::GoogleAds::V3::Services::BiddingStrategyOperation] instance that will create the resource
993
+ def self.bidding_strategy(res = nil, &blk)
994
+ require "google/ads/google_ads/v3/services/bidding_strategy_service_pb.rb"
995
+ op = Google::Ads::GoogleAds::V3::Services::BiddingStrategyOperation.new
996
+ if !res.nil?
997
+ op["create"] = res
998
+ elsif !blk.nil?
999
+ op["create"] = Factories::V3::Resources.bidding_strategy(&blk)
1000
+ end
1001
+
1002
+ op
1003
+ end
1004
+
1005
+ # A convenience method for creating an CampaignBidModifierOperation instance with
1006
+ # its "create" field prepopulated with an CampaignBidModifier instance.
1007
+ #
1008
+ # @overload campaign_bid_modifier
1009
+ # creates an operation instance, yielding a newly fabricated CampaignBidModifier
1010
+ # which can be used for setting attributes on the newly created resource
1011
+ # @overload campaign_bid_modifier(res)
1012
+ # creates an operation instance, with the resource to be created
1013
+ # set to the passed value (res)
1014
+ # @param res [Google::Ads::GoogleAds::V3::Resources::CampaignBidModifier]
1015
+ # a resource instance to be used for creation in this operation.
1016
+ #
1017
+ # @return [Google::Ads::GoogleAds::V3::Services::CampaignBidModifierOperation] instance that will create the resource
1018
+ def self.campaign_bid_modifier(res = nil, &blk)
1019
+ require "google/ads/google_ads/v3/services/campaign_bid_modifier_service_pb.rb"
1020
+ op = Google::Ads::GoogleAds::V3::Services::CampaignBidModifierOperation.new
1021
+ if !res.nil?
1022
+ op["create"] = res
1023
+ elsif !blk.nil?
1024
+ op["create"] = Factories::V3::Resources.campaign_bid_modifier(&blk)
1025
+ end
1026
+
1027
+ op
1028
+ end
1029
+
1030
+ # A convenience method for creating an CampaignBudgetOperation instance with
1031
+ # its "create" field prepopulated with an CampaignBudget instance.
1032
+ #
1033
+ # @overload campaign_budget
1034
+ # creates an operation instance, yielding a newly fabricated CampaignBudget
1035
+ # which can be used for setting attributes on the newly created resource
1036
+ # @overload campaign_budget(res)
1037
+ # creates an operation instance, with the resource to be created
1038
+ # set to the passed value (res)
1039
+ # @param res [Google::Ads::GoogleAds::V3::Resources::CampaignBudget]
1040
+ # a resource instance to be used for creation in this operation.
1041
+ #
1042
+ # @return [Google::Ads::GoogleAds::V3::Services::CampaignBudgetOperation] instance that will create the resource
1043
+ def self.campaign_budget(res = nil, &blk)
1044
+ require "google/ads/google_ads/v3/services/campaign_budget_service_pb.rb"
1045
+ op = Google::Ads::GoogleAds::V3::Services::CampaignBudgetOperation.new
1046
+ if !res.nil?
1047
+ op["create"] = res
1048
+ elsif !blk.nil?
1049
+ op["create"] = Factories::V3::Resources.campaign_budget(&blk)
1050
+ end
1051
+
1052
+ op
1053
+ end
1054
+
1055
+ # A convenience method for creating an CampaignCriterionOperation instance with
1056
+ # its "create" field prepopulated with an CampaignCriterion instance.
1057
+ #
1058
+ # @overload campaign_criterion
1059
+ # creates an operation instance, yielding a newly fabricated CampaignCriterion
1060
+ # which can be used for setting attributes on the newly created resource
1061
+ # @overload campaign_criterion(res)
1062
+ # creates an operation instance, with the resource to be created
1063
+ # set to the passed value (res)
1064
+ # @param res [Google::Ads::GoogleAds::V3::Resources::CampaignCriterion]
1065
+ # a resource instance to be used for creation in this operation.
1066
+ #
1067
+ # @return [Google::Ads::GoogleAds::V3::Services::CampaignCriterionOperation] instance that will create the resource
1068
+ def self.campaign_criterion(res = nil, &blk)
1069
+ require "google/ads/google_ads/v3/services/campaign_criterion_service_pb.rb"
1070
+ op = Google::Ads::GoogleAds::V3::Services::CampaignCriterionOperation.new
1071
+ if !res.nil?
1072
+ op["create"] = res
1073
+ elsif !blk.nil?
1074
+ op["create"] = Factories::V3::Resources.campaign_criterion(&blk)
1075
+ end
1076
+
1077
+ op
1078
+ end
1079
+
1080
+ # A convenience method for creating an CampaignDraftOperation instance with
1081
+ # its "create" field prepopulated with an CampaignDraft instance.
1082
+ #
1083
+ # @overload campaign_draft
1084
+ # creates an operation instance, yielding a newly fabricated CampaignDraft
1085
+ # which can be used for setting attributes on the newly created resource
1086
+ # @overload campaign_draft(res)
1087
+ # creates an operation instance, with the resource to be created
1088
+ # set to the passed value (res)
1089
+ # @param res [Google::Ads::GoogleAds::V3::Resources::CampaignDraft]
1090
+ # a resource instance to be used for creation in this operation.
1091
+ #
1092
+ # @return [Google::Ads::GoogleAds::V3::Services::CampaignDraftOperation] instance that will create the resource
1093
+ def self.campaign_draft(res = nil, &blk)
1094
+ require "google/ads/google_ads/v3/services/campaign_draft_service_pb.rb"
1095
+ op = Google::Ads::GoogleAds::V3::Services::CampaignDraftOperation.new
1096
+ if !res.nil?
1097
+ op["create"] = res
1098
+ elsif !blk.nil?
1099
+ op["create"] = Factories::V3::Resources.campaign_draft(&blk)
1100
+ end
1101
+
1102
+ op
1103
+ end
1104
+
1105
+ # A convenience method for creating an CampaignExtensionSettingOperation instance with
1106
+ # its "create" field prepopulated with an CampaignExtensionSetting instance.
1107
+ #
1108
+ # @overload campaign_extension_setting
1109
+ # creates an operation instance, yielding a newly fabricated CampaignExtensionSetting
1110
+ # which can be used for setting attributes on the newly created resource
1111
+ # @overload campaign_extension_setting(res)
1112
+ # creates an operation instance, with the resource to be created
1113
+ # set to the passed value (res)
1114
+ # @param res [Google::Ads::GoogleAds::V3::Resources::CampaignExtensionSetting]
1115
+ # a resource instance to be used for creation in this operation.
1116
+ #
1117
+ # @return [Google::Ads::GoogleAds::V3::Services::CampaignExtensionSettingOperation] instance that will create the resource
1118
+ def self.campaign_extension_setting(res = nil, &blk)
1119
+ require "google/ads/google_ads/v3/services/campaign_extension_setting_service_pb.rb"
1120
+ op = Google::Ads::GoogleAds::V3::Services::CampaignExtensionSettingOperation.new
1121
+ if !res.nil?
1122
+ op["create"] = res
1123
+ elsif !blk.nil?
1124
+ op["create"] = Factories::V3::Resources.campaign_extension_setting(&blk)
1125
+ end
1126
+
1127
+ op
1128
+ end
1129
+
1130
+ # A convenience method for creating an CampaignLabelOperation instance with
1131
+ # its "create" field prepopulated with an CampaignLabel instance.
1132
+ #
1133
+ # @overload campaign_label
1134
+ # creates an operation instance, yielding a newly fabricated CampaignLabel
1135
+ # which can be used for setting attributes on the newly created resource
1136
+ # @overload campaign_label(res)
1137
+ # creates an operation instance, with the resource to be created
1138
+ # set to the passed value (res)
1139
+ # @param res [Google::Ads::GoogleAds::V3::Resources::CampaignLabel]
1140
+ # a resource instance to be used for creation in this operation.
1141
+ #
1142
+ # @return [Google::Ads::GoogleAds::V3::Services::CampaignLabelOperation] instance that will create the resource
1143
+ def self.campaign_label(res = nil, &blk)
1144
+ require "google/ads/google_ads/v3/services/campaign_label_service_pb.rb"
1145
+ op = Google::Ads::GoogleAds::V3::Services::CampaignLabelOperation.new
1146
+ if !res.nil?
1147
+ op["create"] = res
1148
+ elsif !blk.nil?
1149
+ op["create"] = Factories::V3::Resources.campaign_label(&blk)
1150
+ end
1151
+
1152
+ op
1153
+ end
1154
+
1155
+ # A convenience method for creating an CampaignOperation instance with
1156
+ # its "create" field prepopulated with an Campaign instance.
1157
+ #
1158
+ # @overload campaign
1159
+ # creates an operation instance, yielding a newly fabricated Campaign
1160
+ # which can be used for setting attributes on the newly created resource
1161
+ # @overload campaign(res)
1162
+ # creates an operation instance, with the resource to be created
1163
+ # set to the passed value (res)
1164
+ # @param res [Google::Ads::GoogleAds::V3::Resources::Campaign]
1165
+ # a resource instance to be used for creation in this operation.
1166
+ #
1167
+ # @return [Google::Ads::GoogleAds::V3::Services::CampaignOperation] instance that will create the resource
1168
+ def self.campaign(res = nil, &blk)
1169
+ require "google/ads/google_ads/v3/services/campaign_service_pb.rb"
1170
+ op = Google::Ads::GoogleAds::V3::Services::CampaignOperation.new
1171
+ if !res.nil?
1172
+ op["create"] = res
1173
+ elsif !blk.nil?
1174
+ op["create"] = Factories::V3::Resources.campaign(&blk)
1175
+ end
1176
+
1177
+ op
1178
+ end
1179
+
1180
+ # A convenience method for creating an ConversionActionOperation instance with
1181
+ # its "create" field prepopulated with an ConversionAction instance.
1182
+ #
1183
+ # @overload conversion_action
1184
+ # creates an operation instance, yielding a newly fabricated ConversionAction
1185
+ # which can be used for setting attributes on the newly created resource
1186
+ # @overload conversion_action(res)
1187
+ # creates an operation instance, with the resource to be created
1188
+ # set to the passed value (res)
1189
+ # @param res [Google::Ads::GoogleAds::V3::Resources::ConversionAction]
1190
+ # a resource instance to be used for creation in this operation.
1191
+ #
1192
+ # @return [Google::Ads::GoogleAds::V3::Services::ConversionActionOperation] instance that will create the resource
1193
+ def self.conversion_action(res = nil, &blk)
1194
+ require "google/ads/google_ads/v3/services/conversion_action_service_pb.rb"
1195
+ op = Google::Ads::GoogleAds::V3::Services::ConversionActionOperation.new
1196
+ if !res.nil?
1197
+ op["create"] = res
1198
+ elsif !blk.nil?
1199
+ op["create"] = Factories::V3::Resources.conversion_action(&blk)
1200
+ end
1201
+
1202
+ op
1203
+ end
1204
+
1205
+ # A convenience method for creating an CustomerExtensionSettingOperation instance with
1206
+ # its "create" field prepopulated with an CustomerExtensionSetting instance.
1207
+ #
1208
+ # @overload customer_extension_setting
1209
+ # creates an operation instance, yielding a newly fabricated CustomerExtensionSetting
1210
+ # which can be used for setting attributes on the newly created resource
1211
+ # @overload customer_extension_setting(res)
1212
+ # creates an operation instance, with the resource to be created
1213
+ # set to the passed value (res)
1214
+ # @param res [Google::Ads::GoogleAds::V3::Resources::CustomerExtensionSetting]
1215
+ # a resource instance to be used for creation in this operation.
1216
+ #
1217
+ # @return [Google::Ads::GoogleAds::V3::Services::CustomerExtensionSettingOperation] instance that will create the resource
1218
+ def self.customer_extension_setting(res = nil, &blk)
1219
+ require "google/ads/google_ads/v3/services/customer_extension_setting_service_pb.rb"
1220
+ op = Google::Ads::GoogleAds::V3::Services::CustomerExtensionSettingOperation.new
1221
+ if !res.nil?
1222
+ op["create"] = res
1223
+ elsif !blk.nil?
1224
+ op["create"] = Factories::V3::Resources.customer_extension_setting(&blk)
1225
+ end
1226
+
1227
+ op
1228
+ end
1229
+
1230
+ # A convenience method for creating an CustomerFeedOperation instance with
1231
+ # its "create" field prepopulated with an CustomerFeed instance.
1232
+ #
1233
+ # @overload customer_feed
1234
+ # creates an operation instance, yielding a newly fabricated CustomerFeed
1235
+ # which can be used for setting attributes on the newly created resource
1236
+ # @overload customer_feed(res)
1237
+ # creates an operation instance, with the resource to be created
1238
+ # set to the passed value (res)
1239
+ # @param res [Google::Ads::GoogleAds::V3::Resources::CustomerFeed]
1240
+ # a resource instance to be used for creation in this operation.
1241
+ #
1242
+ # @return [Google::Ads::GoogleAds::V3::Services::CustomerFeedOperation] instance that will create the resource
1243
+ def self.customer_feed(res = nil, &blk)
1244
+ require "google/ads/google_ads/v3/services/customer_feed_service_pb.rb"
1245
+ op = Google::Ads::GoogleAds::V3::Services::CustomerFeedOperation.new
1246
+ if !res.nil?
1247
+ op["create"] = res
1248
+ elsif !blk.nil?
1249
+ op["create"] = Factories::V3::Resources.customer_feed(&blk)
1250
+ end
1251
+
1252
+ op
1253
+ end
1254
+
1255
+ # A convenience method for creating an CustomerNegativeCriterionOperation instance with
1256
+ # its "create" field prepopulated with an CustomerNegativeCriterion instance.
1257
+ #
1258
+ # @overload customer_negative_criterion
1259
+ # creates an operation instance, yielding a newly fabricated CustomerNegativeCriterion
1260
+ # which can be used for setting attributes on the newly created resource
1261
+ # @overload customer_negative_criterion(res)
1262
+ # creates an operation instance, with the resource to be created
1263
+ # set to the passed value (res)
1264
+ # @param res [Google::Ads::GoogleAds::V3::Resources::CustomerNegativeCriterion]
1265
+ # a resource instance to be used for creation in this operation.
1266
+ #
1267
+ # @return [Google::Ads::GoogleAds::V3::Services::CustomerNegativeCriterionOperation] instance that will create the resource
1268
+ def self.customer_negative_criterion(res = nil, &blk)
1269
+ require "google/ads/google_ads/v3/services/customer_negative_criterion_service_pb.rb"
1270
+ op = Google::Ads::GoogleAds::V3::Services::CustomerNegativeCriterionOperation.new
1271
+ if !res.nil?
1272
+ op["create"] = res
1273
+ elsif !blk.nil?
1274
+ op["create"] = Factories::V3::Resources.customer_negative_criterion(&blk)
1275
+ end
1276
+
1277
+ op
1278
+ end
1279
+
1280
+ # A convenience method for creating an ExtensionFeedItemOperation instance with
1281
+ # its "create" field prepopulated with an ExtensionFeedItem instance.
1282
+ #
1283
+ # @overload extension_feed_item
1284
+ # creates an operation instance, yielding a newly fabricated ExtensionFeedItem
1285
+ # which can be used for setting attributes on the newly created resource
1286
+ # @overload extension_feed_item(res)
1287
+ # creates an operation instance, with the resource to be created
1288
+ # set to the passed value (res)
1289
+ # @param res [Google::Ads::GoogleAds::V3::Resources::ExtensionFeedItem]
1290
+ # a resource instance to be used for creation in this operation.
1291
+ #
1292
+ # @return [Google::Ads::GoogleAds::V3::Services::ExtensionFeedItemOperation] instance that will create the resource
1293
+ def self.extension_feed_item(res = nil, &blk)
1294
+ require "google/ads/google_ads/v3/services/extension_feed_item_service_pb.rb"
1295
+ op = Google::Ads::GoogleAds::V3::Services::ExtensionFeedItemOperation.new
1296
+ if !res.nil?
1297
+ op["create"] = res
1298
+ elsif !blk.nil?
1299
+ op["create"] = Factories::V3::Resources.extension_feed_item(&blk)
1300
+ end
1301
+
1302
+ op
1303
+ end
1304
+
1305
+ # A convenience method for creating an FeedItemOperation instance with
1306
+ # its "create" field prepopulated with an FeedItem instance.
1307
+ #
1308
+ # @overload feed_item
1309
+ # creates an operation instance, yielding a newly fabricated FeedItem
1310
+ # which can be used for setting attributes on the newly created resource
1311
+ # @overload feed_item(res)
1312
+ # creates an operation instance, with the resource to be created
1313
+ # set to the passed value (res)
1314
+ # @param res [Google::Ads::GoogleAds::V3::Resources::FeedItem]
1315
+ # a resource instance to be used for creation in this operation.
1316
+ #
1317
+ # @return [Google::Ads::GoogleAds::V3::Services::FeedItemOperation] instance that will create the resource
1318
+ def self.feed_item(res = nil, &blk)
1319
+ require "google/ads/google_ads/v3/services/feed_item_service_pb.rb"
1320
+ op = Google::Ads::GoogleAds::V3::Services::FeedItemOperation.new
1321
+ if !res.nil?
1322
+ op["create"] = res
1323
+ elsif !blk.nil?
1324
+ op["create"] = Factories::V3::Resources.feed_item(&blk)
1325
+ end
1326
+
1327
+ op
1328
+ end
1329
+
1330
+ # A convenience method for creating an FeedItemTargetOperation instance with
1331
+ # its "create" field prepopulated with an FeedItemTarget instance.
1332
+ #
1333
+ # @overload feed_item_target
1334
+ # creates an operation instance, yielding a newly fabricated FeedItemTarget
1335
+ # which can be used for setting attributes on the newly created resource
1336
+ # @overload feed_item_target(res)
1337
+ # creates an operation instance, with the resource to be created
1338
+ # set to the passed value (res)
1339
+ # @param res [Google::Ads::GoogleAds::V3::Resources::FeedItemTarget]
1340
+ # a resource instance to be used for creation in this operation.
1341
+ #
1342
+ # @return [Google::Ads::GoogleAds::V3::Services::FeedItemTargetOperation] instance that will create the resource
1343
+ def self.feed_item_target(res = nil, &blk)
1344
+ require "google/ads/google_ads/v3/services/feed_item_target_service_pb.rb"
1345
+ op = Google::Ads::GoogleAds::V3::Services::FeedItemTargetOperation.new
1346
+ if !res.nil?
1347
+ op["create"] = res
1348
+ elsif !blk.nil?
1349
+ op["create"] = Factories::V3::Resources.feed_item_target(&blk)
1350
+ end
1351
+
1352
+ op
1353
+ end
1354
+
1355
+ # A convenience method for creating an FeedMappingOperation instance with
1356
+ # its "create" field prepopulated with an FeedMapping instance.
1357
+ #
1358
+ # @overload feed_mapping
1359
+ # creates an operation instance, yielding a newly fabricated FeedMapping
1360
+ # which can be used for setting attributes on the newly created resource
1361
+ # @overload feed_mapping(res)
1362
+ # creates an operation instance, with the resource to be created
1363
+ # set to the passed value (res)
1364
+ # @param res [Google::Ads::GoogleAds::V3::Resources::FeedMapping]
1365
+ # a resource instance to be used for creation in this operation.
1366
+ #
1367
+ # @return [Google::Ads::GoogleAds::V3::Services::FeedMappingOperation] instance that will create the resource
1368
+ def self.feed_mapping(res = nil, &blk)
1369
+ require "google/ads/google_ads/v3/services/feed_mapping_service_pb.rb"
1370
+ op = Google::Ads::GoogleAds::V3::Services::FeedMappingOperation.new
1371
+ if !res.nil?
1372
+ op["create"] = res
1373
+ elsif !blk.nil?
1374
+ op["create"] = Factories::V3::Resources.feed_mapping(&blk)
1375
+ end
1376
+
1377
+ op
1378
+ end
1379
+
1380
+ # A convenience method for creating an LabelOperation instance with
1381
+ # its "create" field prepopulated with an Label instance.
1382
+ #
1383
+ # @overload label
1384
+ # creates an operation instance, yielding a newly fabricated Label
1385
+ # which can be used for setting attributes on the newly created resource
1386
+ # @overload label(res)
1387
+ # creates an operation instance, with the resource to be created
1388
+ # set to the passed value (res)
1389
+ # @param res [Google::Ads::GoogleAds::V3::Resources::Label]
1390
+ # a resource instance to be used for creation in this operation.
1391
+ #
1392
+ # @return [Google::Ads::GoogleAds::V3::Services::LabelOperation] instance that will create the resource
1393
+ def self.label(res = nil, &blk)
1394
+ require "google/ads/google_ads/v3/services/label_service_pb.rb"
1395
+ op = Google::Ads::GoogleAds::V3::Services::LabelOperation.new
1396
+ if !res.nil?
1397
+ op["create"] = res
1398
+ elsif !blk.nil?
1399
+ op["create"] = Factories::V3::Resources.label(&blk)
1400
+ end
1401
+
1402
+ op
1403
+ end
1404
+
1405
+ # A convenience method for creating an MediaFileOperation instance with
1406
+ # its "create" field prepopulated with an MediaFile instance.
1407
+ #
1408
+ # @overload media_file
1409
+ # creates an operation instance, yielding a newly fabricated MediaFile
1410
+ # which can be used for setting attributes on the newly created resource
1411
+ # @overload media_file(res)
1412
+ # creates an operation instance, with the resource to be created
1413
+ # set to the passed value (res)
1414
+ # @param res [Google::Ads::GoogleAds::V3::Resources::MediaFile]
1415
+ # a resource instance to be used for creation in this operation.
1416
+ #
1417
+ # @return [Google::Ads::GoogleAds::V3::Services::MediaFileOperation] instance that will create the resource
1418
+ def self.media_file(res = nil, &blk)
1419
+ require "google/ads/google_ads/v3/services/media_file_service_pb.rb"
1420
+ op = Google::Ads::GoogleAds::V3::Services::MediaFileOperation.new
1421
+ if !res.nil?
1422
+ op["create"] = res
1423
+ elsif !blk.nil?
1424
+ op["create"] = Factories::V3::Resources.media_file(&blk)
1425
+ end
1426
+
1427
+ op
1428
+ end
1429
+
1430
+ # A convenience method for creating an UserListOperation instance with
1431
+ # its "create" field prepopulated with an UserList instance.
1432
+ #
1433
+ # @overload user_list
1434
+ # creates an operation instance, yielding a newly fabricated UserList
1435
+ # which can be used for setting attributes on the newly created resource
1436
+ # @overload user_list(res)
1437
+ # creates an operation instance, with the resource to be created
1438
+ # set to the passed value (res)
1439
+ # @param res [Google::Ads::GoogleAds::V3::Resources::UserList]
1440
+ # a resource instance to be used for creation in this operation.
1441
+ #
1442
+ # @return [Google::Ads::GoogleAds::V3::Services::UserListOperation] instance that will create the resource
1443
+ def self.user_list(res = nil, &blk)
1444
+ require "google/ads/google_ads/v3/services/user_list_service_pb.rb"
1445
+ op = Google::Ads::GoogleAds::V3::Services::UserListOperation.new
1446
+ if !res.nil?
1447
+ op["create"] = res
1448
+ elsif !blk.nil?
1449
+ op["create"] = Factories::V3::Resources.user_list(&blk)
1450
+ end
1451
+
1452
+ op
1453
+ end
1454
+
1455
+ # A convenience method for creating an KeywordPlanKeywordOperation instance with
1456
+ # its "create" field prepopulated with an KeywordPlanKeyword instance.
1457
+ #
1458
+ # @overload keyword_plan_keyword
1459
+ # creates an operation instance, yielding a newly fabricated KeywordPlanKeyword
1460
+ # which can be used for setting attributes on the newly created resource
1461
+ # @overload keyword_plan_keyword(res)
1462
+ # creates an operation instance, with the resource to be created
1463
+ # set to the passed value (res)
1464
+ # @param res [Google::Ads::GoogleAds::V3::Resources::KeywordPlanKeyword]
1465
+ # a resource instance to be used for creation in this operation.
1466
+ #
1467
+ # @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanKeywordOperation] instance that will create the resource
1468
+ def self.keyword_plan_keyword(res = nil, &blk)
1469
+ require "google/ads/google_ads/v3/services/keyword_plan_keyword_service_pb.rb"
1470
+ op = Google::Ads::GoogleAds::V3::Services::KeywordPlanKeywordOperation.new
1471
+ if !res.nil?
1472
+ op["create"] = res
1473
+ elsif !blk.nil?
1474
+ op["create"] = Factories::V3::Resources.keyword_plan_keyword(&blk)
1475
+ end
1476
+
1477
+ op
1478
+ end
1479
+
1480
+ # A convenience method for creating an KeywordPlanAdGroupOperation instance with
1481
+ # its "create" field prepopulated with an KeywordPlanAdGroup instance.
1482
+ #
1483
+ # @overload keyword_plan_ad_group
1484
+ # creates an operation instance, yielding a newly fabricated KeywordPlanAdGroup
1485
+ # which can be used for setting attributes on the newly created resource
1486
+ # @overload keyword_plan_ad_group(res)
1487
+ # creates an operation instance, with the resource to be created
1488
+ # set to the passed value (res)
1489
+ # @param res [Google::Ads::GoogleAds::V3::Resources::KeywordPlanAdGroup]
1490
+ # a resource instance to be used for creation in this operation.
1491
+ #
1492
+ # @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanAdGroupOperation] instance that will create the resource
1493
+ def self.keyword_plan_ad_group(res = nil, &blk)
1494
+ require "google/ads/google_ads/v3/services/keyword_plan_ad_group_service_pb.rb"
1495
+ op = Google::Ads::GoogleAds::V3::Services::KeywordPlanAdGroupOperation.new
1496
+ if !res.nil?
1497
+ op["create"] = res
1498
+ elsif !blk.nil?
1499
+ op["create"] = Factories::V3::Resources.keyword_plan_ad_group(&blk)
1500
+ end
1501
+
1502
+ op
1503
+ end
1504
+
1505
+ # A convenience method for creating an BillingSetupOperation instance with
1506
+ # its "create" field prepopulated with an BillingSetup instance.
1507
+ #
1508
+ # @overload billing_setup
1509
+ # creates an operation instance, yielding a newly fabricated BillingSetup
1510
+ # which can be used for setting attributes on the newly created resource
1511
+ # @overload billing_setup(res)
1512
+ # creates an operation instance, with the resource to be created
1513
+ # set to the passed value (res)
1514
+ # @param res [Google::Ads::GoogleAds::V3::Resources::BillingSetup]
1515
+ # a resource instance to be used for creation in this operation.
1516
+ #
1517
+ # @return [Google::Ads::GoogleAds::V3::Services::BillingSetupOperation] instance that will create the resource
1518
+ def self.billing_setup(res = nil, &blk)
1519
+ require "google/ads/google_ads/v3/services/billing_setup_service_pb.rb"
1520
+ op = Google::Ads::GoogleAds::V3::Services::BillingSetupOperation.new
1521
+ if !res.nil?
1522
+ op["create"] = res
1523
+ elsif !blk.nil?
1524
+ op["create"] = Factories::V3::Resources.billing_setup(&blk)
1525
+ end
1526
+
1527
+ op
1528
+ end
1529
+
1530
+ # A convenience method for creating an CustomInterestOperation instance with
1531
+ # its "create" field prepopulated with an CustomInterest instance.
1532
+ #
1533
+ # @overload custom_interest
1534
+ # creates an operation instance, yielding a newly fabricated CustomInterest
1535
+ # which can be used for setting attributes on the newly created resource
1536
+ # @overload custom_interest(res)
1537
+ # creates an operation instance, with the resource to be created
1538
+ # set to the passed value (res)
1539
+ # @param res [Google::Ads::GoogleAds::V3::Resources::CustomInterest]
1540
+ # a resource instance to be used for creation in this operation.
1541
+ #
1542
+ # @return [Google::Ads::GoogleAds::V3::Services::CustomInterestOperation] instance that will create the resource
1543
+ def self.custom_interest(res = nil, &blk)
1544
+ require "google/ads/google_ads/v3/services/custom_interest_service_pb.rb"
1545
+ op = Google::Ads::GoogleAds::V3::Services::CustomInterestOperation.new
1546
+ if !res.nil?
1547
+ op["create"] = res
1548
+ elsif !blk.nil?
1549
+ op["create"] = Factories::V3::Resources.custom_interest(&blk)
1550
+ end
1551
+
1552
+ op
1553
+ end
1554
+
1555
+ # A convenience method for creating an KeywordPlanNegativeKeywordOperation instance with
1556
+ # its "create" field prepopulated with an KeywordPlanNegativeKeyword instance.
1557
+ #
1558
+ # @overload keyword_plan_negative_keyword
1559
+ # creates an operation instance, yielding a newly fabricated KeywordPlanNegativeKeyword
1560
+ # which can be used for setting attributes on the newly created resource
1561
+ # @overload keyword_plan_negative_keyword(res)
1562
+ # creates an operation instance, with the resource to be created
1563
+ # set to the passed value (res)
1564
+ # @param res [Google::Ads::GoogleAds::V3::Resources::KeywordPlanNegativeKeyword]
1565
+ # a resource instance to be used for creation in this operation.
1566
+ #
1567
+ # @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanNegativeKeywordOperation] instance that will create the resource
1568
+ def self.keyword_plan_negative_keyword(res = nil, &blk)
1569
+ require "google/ads/google_ads/v3/services/keyword_plan_negative_keyword_service_pb.rb"
1570
+ op = Google::Ads::GoogleAds::V3::Services::KeywordPlanNegativeKeywordOperation.new
1571
+ if !res.nil?
1572
+ op["create"] = res
1573
+ elsif !blk.nil?
1574
+ op["create"] = Factories::V3::Resources.keyword_plan_negative_keyword(&blk)
1575
+ end
1576
+
1577
+ op
1578
+ end
1579
+
1580
+ # A convenience method for creating an KeywordPlanOperation instance with
1581
+ # its "create" field prepopulated with an KeywordPlan instance.
1582
+ #
1583
+ # @overload keyword_plan
1584
+ # creates an operation instance, yielding a newly fabricated KeywordPlan
1585
+ # which can be used for setting attributes on the newly created resource
1586
+ # @overload keyword_plan(res)
1587
+ # creates an operation instance, with the resource to be created
1588
+ # set to the passed value (res)
1589
+ # @param res [Google::Ads::GoogleAds::V3::Resources::KeywordPlan]
1590
+ # a resource instance to be used for creation in this operation.
1591
+ #
1592
+ # @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanOperation] instance that will create the resource
1593
+ def self.keyword_plan(res = nil, &blk)
1594
+ require "google/ads/google_ads/v3/services/keyword_plan_service_pb.rb"
1595
+ op = Google::Ads::GoogleAds::V3::Services::KeywordPlanOperation.new
1596
+ if !res.nil?
1597
+ op["create"] = res
1598
+ elsif !blk.nil?
1599
+ op["create"] = Factories::V3::Resources.keyword_plan(&blk)
1600
+ end
1601
+
1602
+ op
1603
+ end
1604
+
1605
+ # A convenience method for creating an AccountBudgetProposalOperation instance with
1606
+ # its "create" field prepopulated with an AccountBudgetProposal instance.
1607
+ #
1608
+ # @overload account_budget_proposal
1609
+ # creates an operation instance, yielding a newly fabricated AccountBudgetProposal
1610
+ # which can be used for setting attributes on the newly created resource
1611
+ # @overload account_budget_proposal(res)
1612
+ # creates an operation instance, with the resource to be created
1613
+ # set to the passed value (res)
1614
+ # @param res [Google::Ads::GoogleAds::V3::Resources::AccountBudgetProposal]
1615
+ # a resource instance to be used for creation in this operation.
1616
+ #
1617
+ # @return [Google::Ads::GoogleAds::V3::Services::AccountBudgetProposalOperation] instance that will create the resource
1618
+ def self.account_budget_proposal(res = nil, &blk)
1619
+ require "google/ads/google_ads/v3/services/account_budget_proposal_service_pb.rb"
1620
+ op = Google::Ads::GoogleAds::V3::Services::AccountBudgetProposalOperation.new
1621
+ if !res.nil?
1622
+ op["create"] = res
1623
+ elsif !blk.nil?
1624
+ op["create"] = Factories::V3::Resources.account_budget_proposal(&blk)
1625
+ end
1626
+
1627
+ op
1628
+ end
1629
+ end
1630
+
1631
+ module UpdateResource
1632
+ # A convenience method for creating an CustomerManagerLinkOperation instance with
1633
+ # its "update" field prepopulated with an CustomerManagerLink instance, and
1634
+ # its "update_mask" field populated as needed to send the updates to the API.
1635
+ #
1636
+ # @overload #customer_manager_link(path, &blk)
1637
+ # @param path [String] a resource path for the resource to update
1638
+ # @yield [Google::Ads::GoogleAds::V3::Resources::CustomerManagerLink] a new instance of the resource for this update operation, on
1639
+ # which fields can be set to update
1640
+ #
1641
+ # @overload #customer_manager_link(resource, &blk)
1642
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::CustomerManagerLink] a resource instance to update
1643
+ # @yield the passed block is called and updates against `resource` are recordered in the update mask
1644
+ # @return [Google::Ads::GoogleAds::V3::Services::CustomerManagerLinkOperation] the operation instance to update the resource
1645
+ def self.customer_manager_link(resource_or_path, &blk)
1646
+ require "google/ads/google_ads/v3/services/customer_manager_link_service_pb.rb"
1647
+ res = case resource_or_path
1648
+ when Google::Ads::GoogleAds::V3::Resources::CustomerManagerLink
1649
+ resource_or_path
1650
+ # got a resource path
1651
+ when String
1652
+ obj = Google::Ads::GoogleAds::V3::Resources::CustomerManagerLink.new
1653
+ obj.resource_name = resource_or_path
1654
+ obj
1655
+ else
1656
+ unless Google::Ads::GoogleAds::V3::Resources::CustomerManagerLink === res
1657
+ raise ArgumentError.new(
1658
+ "Called #{__method__} with instance of wrong type:"\
1659
+ " #{res.class} want #{operation.update_class}"\
1660
+ " or String representing resource name"
1661
+ )
1662
+ end
1663
+ end
1664
+
1665
+ op = Google::Ads::GoogleAds::V3::Services::CustomerManagerLinkOperation.new
1666
+ op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
1667
+ op["update"] = res
1668
+ op
1669
+ end
1670
+
1671
+ # A convenience method for creating an KeywordPlanCampaignOperation instance with
1672
+ # its "update" field prepopulated with an KeywordPlanCampaign instance, and
1673
+ # its "update_mask" field populated as needed to send the updates to the API.
1674
+ #
1675
+ # @overload #keyword_plan_campaign(path, &blk)
1676
+ # @param path [String] a resource path for the resource to update
1677
+ # @yield [Google::Ads::GoogleAds::V3::Resources::KeywordPlanCampaign] a new instance of the resource for this update operation, on
1678
+ # which fields can be set to update
1679
+ #
1680
+ # @overload #keyword_plan_campaign(resource, &blk)
1681
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::KeywordPlanCampaign] a resource instance to update
1682
+ # @yield the passed block is called and updates against `resource` are recordered in the update mask
1683
+ # @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanCampaignOperation] the operation instance to update the resource
1684
+ def self.keyword_plan_campaign(resource_or_path, &blk)
1685
+ require "google/ads/google_ads/v3/services/keyword_plan_campaign_service_pb.rb"
1686
+ res = case resource_or_path
1687
+ when Google::Ads::GoogleAds::V3::Resources::KeywordPlanCampaign
1688
+ resource_or_path
1689
+ # got a resource path
1690
+ when String
1691
+ obj = Google::Ads::GoogleAds::V3::Resources::KeywordPlanCampaign.new
1692
+ obj.resource_name = resource_or_path
1693
+ obj
1694
+ else
1695
+ unless Google::Ads::GoogleAds::V3::Resources::KeywordPlanCampaign === res
1696
+ raise ArgumentError.new(
1697
+ "Called #{__method__} with instance of wrong type:"\
1698
+ " #{res.class} want #{operation.update_class}"\
1699
+ " or String representing resource name"
1700
+ )
1701
+ end
1702
+ end
1703
+
1704
+ op = Google::Ads::GoogleAds::V3::Services::KeywordPlanCampaignOperation.new
1705
+ op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
1706
+ op["update"] = res
1707
+ op
1708
+ end
1709
+
1710
+ # A convenience method for creating an SharedSetOperation instance with
1711
+ # its "update" field prepopulated with an SharedSet instance, and
1712
+ # its "update_mask" field populated as needed to send the updates to the API.
1713
+ #
1714
+ # @overload #shared_set(path, &blk)
1715
+ # @param path [String] a resource path for the resource to update
1716
+ # @yield [Google::Ads::GoogleAds::V3::Resources::SharedSet] a new instance of the resource for this update operation, on
1717
+ # which fields can be set to update
1718
+ #
1719
+ # @overload #shared_set(resource, &blk)
1720
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::SharedSet] a resource instance to update
1721
+ # @yield the passed block is called and updates against `resource` are recordered in the update mask
1722
+ # @return [Google::Ads::GoogleAds::V3::Services::SharedSetOperation] the operation instance to update the resource
1723
+ def self.shared_set(resource_or_path, &blk)
1724
+ require "google/ads/google_ads/v3/services/shared_set_service_pb.rb"
1725
+ res = case resource_or_path
1726
+ when Google::Ads::GoogleAds::V3::Resources::SharedSet
1727
+ resource_or_path
1728
+ # got a resource path
1729
+ when String
1730
+ obj = Google::Ads::GoogleAds::V3::Resources::SharedSet.new
1731
+ obj.resource_name = resource_or_path
1732
+ obj
1733
+ else
1734
+ unless Google::Ads::GoogleAds::V3::Resources::SharedSet === res
1735
+ raise ArgumentError.new(
1736
+ "Called #{__method__} with instance of wrong type:"\
1737
+ " #{res.class} want #{operation.update_class}"\
1738
+ " or String representing resource name"
1739
+ )
1740
+ end
1741
+ end
1742
+
1743
+ op = Google::Ads::GoogleAds::V3::Services::SharedSetOperation.new
1744
+ op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
1745
+ op["update"] = res
1746
+ op
1747
+ end
1748
+
1749
+ # A convenience method for creating an FeedOperation instance with
1750
+ # its "update" field prepopulated with an Feed instance, and
1751
+ # its "update_mask" field populated as needed to send the updates to the API.
1752
+ #
1753
+ # @overload #feed(path, &blk)
1754
+ # @param path [String] a resource path for the resource to update
1755
+ # @yield [Google::Ads::GoogleAds::V3::Resources::Feed] a new instance of the resource for this update operation, on
1756
+ # which fields can be set to update
1757
+ #
1758
+ # @overload #feed(resource, &blk)
1759
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::Feed] a resource instance to update
1760
+ # @yield the passed block is called and updates against `resource` are recordered in the update mask
1761
+ # @return [Google::Ads::GoogleAds::V3::Services::FeedOperation] the operation instance to update the resource
1762
+ def self.feed(resource_or_path, &blk)
1763
+ require "google/ads/google_ads/v3/services/feed_service_pb.rb"
1764
+ res = case resource_or_path
1765
+ when Google::Ads::GoogleAds::V3::Resources::Feed
1766
+ resource_or_path
1767
+ # got a resource path
1768
+ when String
1769
+ obj = Google::Ads::GoogleAds::V3::Resources::Feed.new
1770
+ obj.resource_name = resource_or_path
1771
+ obj
1772
+ else
1773
+ unless Google::Ads::GoogleAds::V3::Resources::Feed === res
1774
+ raise ArgumentError.new(
1775
+ "Called #{__method__} with instance of wrong type:"\
1776
+ " #{res.class} want #{operation.update_class}"\
1777
+ " or String representing resource name"
1778
+ )
1779
+ end
1780
+ end
1781
+
1782
+ op = Google::Ads::GoogleAds::V3::Services::FeedOperation.new
1783
+ op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
1784
+ op["update"] = res
1785
+ op
1786
+ end
1787
+
1788
+ # A convenience method for creating an CustomerClientLinkOperation instance with
1789
+ # its "update" field prepopulated with an CustomerClientLink instance, and
1790
+ # its "update_mask" field populated as needed to send the updates to the API.
1791
+ #
1792
+ # @overload #customer_client_link(path, &blk)
1793
+ # @param path [String] a resource path for the resource to update
1794
+ # @yield [Google::Ads::GoogleAds::V3::Resources::CustomerClientLink] a new instance of the resource for this update operation, on
1795
+ # which fields can be set to update
1796
+ #
1797
+ # @overload #customer_client_link(resource, &blk)
1798
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::CustomerClientLink] a resource instance to update
1799
+ # @yield the passed block is called and updates against `resource` are recordered in the update mask
1800
+ # @return [Google::Ads::GoogleAds::V3::Services::CustomerClientLinkOperation] the operation instance to update the resource
1801
+ def self.customer_client_link(resource_or_path, &blk)
1802
+ require "google/ads/google_ads/v3/services/customer_client_link_service_pb.rb"
1803
+ res = case resource_or_path
1804
+ when Google::Ads::GoogleAds::V3::Resources::CustomerClientLink
1805
+ resource_or_path
1806
+ # got a resource path
1807
+ when String
1808
+ obj = Google::Ads::GoogleAds::V3::Resources::CustomerClientLink.new
1809
+ obj.resource_name = resource_or_path
1810
+ obj
1811
+ else
1812
+ unless Google::Ads::GoogleAds::V3::Resources::CustomerClientLink === res
1813
+ raise ArgumentError.new(
1814
+ "Called #{__method__} with instance of wrong type:"\
1815
+ " #{res.class} want #{operation.update_class}"\
1816
+ " or String representing resource name"
1817
+ )
1818
+ end
1819
+ end
1820
+
1821
+ op = Google::Ads::GoogleAds::V3::Services::CustomerClientLinkOperation.new
1822
+ op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
1823
+ op["update"] = res
1824
+ op
1825
+ end
1826
+
1827
+ # A convenience method for creating an MerchantCenterLinkOperation instance with
1828
+ # its "update" field prepopulated with an MerchantCenterLink instance, and
1829
+ # its "update_mask" field populated as needed to send the updates to the API.
1830
+ #
1831
+ # @overload #merchant_center_link(path, &blk)
1832
+ # @param path [String] a resource path for the resource to update
1833
+ # @yield [Google::Ads::GoogleAds::V3::Resources::MerchantCenterLink] a new instance of the resource for this update operation, on
1834
+ # which fields can be set to update
1835
+ #
1836
+ # @overload #merchant_center_link(resource, &blk)
1837
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::MerchantCenterLink] a resource instance to update
1838
+ # @yield the passed block is called and updates against `resource` are recordered in the update mask
1839
+ # @return [Google::Ads::GoogleAds::V3::Services::MerchantCenterLinkOperation] the operation instance to update the resource
1840
+ def self.merchant_center_link(resource_or_path, &blk)
1841
+ require "google/ads/google_ads/v3/services/merchant_center_link_service_pb.rb"
1842
+ res = case resource_or_path
1843
+ when Google::Ads::GoogleAds::V3::Resources::MerchantCenterLink
1844
+ resource_or_path
1845
+ # got a resource path
1846
+ when String
1847
+ obj = Google::Ads::GoogleAds::V3::Resources::MerchantCenterLink.new
1848
+ obj.resource_name = resource_or_path
1849
+ obj
1850
+ else
1851
+ unless Google::Ads::GoogleAds::V3::Resources::MerchantCenterLink === res
1852
+ raise ArgumentError.new(
1853
+ "Called #{__method__} with instance of wrong type:"\
1854
+ " #{res.class} want #{operation.update_class}"\
1855
+ " or String representing resource name"
1856
+ )
1857
+ end
1858
+ end
1859
+
1860
+ op = Google::Ads::GoogleAds::V3::Services::MerchantCenterLinkOperation.new
1861
+ op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
1862
+ op["update"] = res
1863
+ op
1864
+ end
1865
+
1866
+ # A convenience method for creating an AdGroupBidModifierOperation instance with
1867
+ # its "update" field prepopulated with an AdGroupBidModifier instance, and
1868
+ # its "update_mask" field populated as needed to send the updates to the API.
1869
+ #
1870
+ # @overload #ad_group_bid_modifier(path, &blk)
1871
+ # @param path [String] a resource path for the resource to update
1872
+ # @yield [Google::Ads::GoogleAds::V3::Resources::AdGroupBidModifier] a new instance of the resource for this update operation, on
1873
+ # which fields can be set to update
1874
+ #
1875
+ # @overload #ad_group_bid_modifier(resource, &blk)
1876
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::AdGroupBidModifier] a resource instance to update
1877
+ # @yield the passed block is called and updates against `resource` are recordered in the update mask
1878
+ # @return [Google::Ads::GoogleAds::V3::Services::AdGroupBidModifierOperation] the operation instance to update the resource
1879
+ def self.ad_group_bid_modifier(resource_or_path, &blk)
1880
+ require "google/ads/google_ads/v3/services/ad_group_bid_modifier_service_pb.rb"
1881
+ res = case resource_or_path
1882
+ when Google::Ads::GoogleAds::V3::Resources::AdGroupBidModifier
1883
+ resource_or_path
1884
+ # got a resource path
1885
+ when String
1886
+ obj = Google::Ads::GoogleAds::V3::Resources::AdGroupBidModifier.new
1887
+ obj.resource_name = resource_or_path
1888
+ obj
1889
+ else
1890
+ unless Google::Ads::GoogleAds::V3::Resources::AdGroupBidModifier === res
1891
+ raise ArgumentError.new(
1892
+ "Called #{__method__} with instance of wrong type:"\
1893
+ " #{res.class} want #{operation.update_class}"\
1894
+ " or String representing resource name"
1895
+ )
1896
+ end
1897
+ end
1898
+
1899
+ op = Google::Ads::GoogleAds::V3::Services::AdGroupBidModifierOperation.new
1900
+ op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
1901
+ op["update"] = res
1902
+ op
1903
+ end
1904
+
1905
+ # A convenience method for creating an CampaignFeedOperation instance with
1906
+ # its "update" field prepopulated with an CampaignFeed instance, and
1907
+ # its "update_mask" field populated as needed to send the updates to the API.
1908
+ #
1909
+ # @overload #campaign_feed(path, &blk)
1910
+ # @param path [String] a resource path for the resource to update
1911
+ # @yield [Google::Ads::GoogleAds::V3::Resources::CampaignFeed] a new instance of the resource for this update operation, on
1912
+ # which fields can be set to update
1913
+ #
1914
+ # @overload #campaign_feed(resource, &blk)
1915
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::CampaignFeed] a resource instance to update
1916
+ # @yield the passed block is called and updates against `resource` are recordered in the update mask
1917
+ # @return [Google::Ads::GoogleAds::V3::Services::CampaignFeedOperation] the operation instance to update the resource
1918
+ def self.campaign_feed(resource_or_path, &blk)
1919
+ require "google/ads/google_ads/v3/services/campaign_feed_service_pb.rb"
1920
+ res = case resource_or_path
1921
+ when Google::Ads::GoogleAds::V3::Resources::CampaignFeed
1922
+ resource_or_path
1923
+ # got a resource path
1924
+ when String
1925
+ obj = Google::Ads::GoogleAds::V3::Resources::CampaignFeed.new
1926
+ obj.resource_name = resource_or_path
1927
+ obj
1928
+ else
1929
+ unless Google::Ads::GoogleAds::V3::Resources::CampaignFeed === res
1930
+ raise ArgumentError.new(
1931
+ "Called #{__method__} with instance of wrong type:"\
1932
+ " #{res.class} want #{operation.update_class}"\
1933
+ " or String representing resource name"
1934
+ )
1935
+ end
1936
+ end
1937
+
1938
+ op = Google::Ads::GoogleAds::V3::Services::CampaignFeedOperation.new
1939
+ op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
1940
+ op["update"] = res
1941
+ op
1942
+ end
1943
+
1944
+ # A convenience method for creating an RemarketingActionOperation instance with
1945
+ # its "update" field prepopulated with an RemarketingAction instance, and
1946
+ # its "update_mask" field populated as needed to send the updates to the API.
1947
+ #
1948
+ # @overload #remarketing_action(path, &blk)
1949
+ # @param path [String] a resource path for the resource to update
1950
+ # @yield [Google::Ads::GoogleAds::V3::Resources::RemarketingAction] a new instance of the resource for this update operation, on
1951
+ # which fields can be set to update
1952
+ #
1953
+ # @overload #remarketing_action(resource, &blk)
1954
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::RemarketingAction] a resource instance to update
1955
+ # @yield the passed block is called and updates against `resource` are recordered in the update mask
1956
+ # @return [Google::Ads::GoogleAds::V3::Services::RemarketingActionOperation] the operation instance to update the resource
1957
+ def self.remarketing_action(resource_or_path, &blk)
1958
+ require "google/ads/google_ads/v3/services/remarketing_action_service_pb.rb"
1959
+ res = case resource_or_path
1960
+ when Google::Ads::GoogleAds::V3::Resources::RemarketingAction
1961
+ resource_or_path
1962
+ # got a resource path
1963
+ when String
1964
+ obj = Google::Ads::GoogleAds::V3::Resources::RemarketingAction.new
1965
+ obj.resource_name = resource_or_path
1966
+ obj
1967
+ else
1968
+ unless Google::Ads::GoogleAds::V3::Resources::RemarketingAction === res
1969
+ raise ArgumentError.new(
1970
+ "Called #{__method__} with instance of wrong type:"\
1971
+ " #{res.class} want #{operation.update_class}"\
1972
+ " or String representing resource name"
1973
+ )
1974
+ end
1975
+ end
1976
+
1977
+ op = Google::Ads::GoogleAds::V3::Services::RemarketingActionOperation.new
1978
+ op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
1979
+ op["update"] = res
1980
+ op
1981
+ end
1982
+
1983
+ # A convenience method for creating an AdGroupAdOperation instance with
1984
+ # its "update" field prepopulated with an AdGroupAd instance, and
1985
+ # its "update_mask" field populated as needed to send the updates to the API.
1986
+ #
1987
+ # @overload #ad_group_ad(path, &blk)
1988
+ # @param path [String] a resource path for the resource to update
1989
+ # @yield [Google::Ads::GoogleAds::V3::Resources::AdGroupAd] a new instance of the resource for this update operation, on
1990
+ # which fields can be set to update
1991
+ #
1992
+ # @overload #ad_group_ad(resource, &blk)
1993
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::AdGroupAd] a resource instance to update
1994
+ # @yield the passed block is called and updates against `resource` are recordered in the update mask
1995
+ # @return [Google::Ads::GoogleAds::V3::Services::AdGroupAdOperation] the operation instance to update the resource
1996
+ def self.ad_group_ad(resource_or_path, &blk)
1997
+ require "google/ads/google_ads/v3/services/ad_group_ad_service_pb.rb"
1998
+ res = case resource_or_path
1999
+ when Google::Ads::GoogleAds::V3::Resources::AdGroupAd
2000
+ resource_or_path
2001
+ # got a resource path
2002
+ when String
2003
+ obj = Google::Ads::GoogleAds::V3::Resources::AdGroupAd.new
2004
+ obj.resource_name = resource_or_path
2005
+ obj
2006
+ else
2007
+ unless Google::Ads::GoogleAds::V3::Resources::AdGroupAd === res
2008
+ raise ArgumentError.new(
2009
+ "Called #{__method__} with instance of wrong type:"\
2010
+ " #{res.class} want #{operation.update_class}"\
2011
+ " or String representing resource name"
2012
+ )
2013
+ end
2014
+ end
2015
+
2016
+ op = Google::Ads::GoogleAds::V3::Services::AdGroupAdOperation.new
2017
+ op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2018
+ op["update"] = res
2019
+ op
2020
+ end
2021
+
2022
+ # A convenience method for creating an AdGroupCriterionOperation instance with
2023
+ # its "update" field prepopulated with an AdGroupCriterion instance, and
2024
+ # its "update_mask" field populated as needed to send the updates to the API.
2025
+ #
2026
+ # @overload #ad_group_criterion(path, &blk)
2027
+ # @param path [String] a resource path for the resource to update
2028
+ # @yield [Google::Ads::GoogleAds::V3::Resources::AdGroupCriterion] a new instance of the resource for this update operation, on
2029
+ # which fields can be set to update
2030
+ #
2031
+ # @overload #ad_group_criterion(resource, &blk)
2032
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::AdGroupCriterion] a resource instance to update
2033
+ # @yield the passed block is called and updates against `resource` are recordered in the update mask
2034
+ # @return [Google::Ads::GoogleAds::V3::Services::AdGroupCriterionOperation] the operation instance to update the resource
2035
+ def self.ad_group_criterion(resource_or_path, &blk)
2036
+ require "google/ads/google_ads/v3/services/ad_group_criterion_service_pb.rb"
2037
+ res = case resource_or_path
2038
+ when Google::Ads::GoogleAds::V3::Resources::AdGroupCriterion
2039
+ resource_or_path
2040
+ # got a resource path
2041
+ when String
2042
+ obj = Google::Ads::GoogleAds::V3::Resources::AdGroupCriterion.new
2043
+ obj.resource_name = resource_or_path
2044
+ obj
2045
+ else
2046
+ unless Google::Ads::GoogleAds::V3::Resources::AdGroupCriterion === res
2047
+ raise ArgumentError.new(
2048
+ "Called #{__method__} with instance of wrong type:"\
2049
+ " #{res.class} want #{operation.update_class}"\
2050
+ " or String representing resource name"
2051
+ )
2052
+ end
2053
+ end
2054
+
2055
+ op = Google::Ads::GoogleAds::V3::Services::AdGroupCriterionOperation.new
2056
+ op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2057
+ op["update"] = res
2058
+ op
2059
+ end
2060
+
2061
+ # A convenience method for creating an AdGroupExtensionSettingOperation instance with
2062
+ # its "update" field prepopulated with an AdGroupExtensionSetting instance, and
2063
+ # its "update_mask" field populated as needed to send the updates to the API.
2064
+ #
2065
+ # @overload #ad_group_extension_setting(path, &blk)
2066
+ # @param path [String] a resource path for the resource to update
2067
+ # @yield [Google::Ads::GoogleAds::V3::Resources::AdGroupExtensionSetting] a new instance of the resource for this update operation, on
2068
+ # which fields can be set to update
2069
+ #
2070
+ # @overload #ad_group_extension_setting(resource, &blk)
2071
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::AdGroupExtensionSetting] a resource instance to update
2072
+ # @yield the passed block is called and updates against `resource` are recordered in the update mask
2073
+ # @return [Google::Ads::GoogleAds::V3::Services::AdGroupExtensionSettingOperation] the operation instance to update the resource
2074
+ def self.ad_group_extension_setting(resource_or_path, &blk)
2075
+ require "google/ads/google_ads/v3/services/ad_group_extension_setting_service_pb.rb"
2076
+ res = case resource_or_path
2077
+ when Google::Ads::GoogleAds::V3::Resources::AdGroupExtensionSetting
2078
+ resource_or_path
2079
+ # got a resource path
2080
+ when String
2081
+ obj = Google::Ads::GoogleAds::V3::Resources::AdGroupExtensionSetting.new
2082
+ obj.resource_name = resource_or_path
2083
+ obj
2084
+ else
2085
+ unless Google::Ads::GoogleAds::V3::Resources::AdGroupExtensionSetting === res
2086
+ raise ArgumentError.new(
2087
+ "Called #{__method__} with instance of wrong type:"\
2088
+ " #{res.class} want #{operation.update_class}"\
2089
+ " or String representing resource name"
2090
+ )
2091
+ end
2092
+ end
2093
+
2094
+ op = Google::Ads::GoogleAds::V3::Services::AdGroupExtensionSettingOperation.new
2095
+ op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2096
+ op["update"] = res
2097
+ op
2098
+ end
2099
+
2100
+ # A convenience method for creating an AdGroupFeedOperation instance with
2101
+ # its "update" field prepopulated with an AdGroupFeed instance, and
2102
+ # its "update_mask" field populated as needed to send the updates to the API.
2103
+ #
2104
+ # @overload #ad_group_feed(path, &blk)
2105
+ # @param path [String] a resource path for the resource to update
2106
+ # @yield [Google::Ads::GoogleAds::V3::Resources::AdGroupFeed] a new instance of the resource for this update operation, on
2107
+ # which fields can be set to update
2108
+ #
2109
+ # @overload #ad_group_feed(resource, &blk)
2110
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::AdGroupFeed] a resource instance to update
2111
+ # @yield the passed block is called and updates against `resource` are recordered in the update mask
2112
+ # @return [Google::Ads::GoogleAds::V3::Services::AdGroupFeedOperation] the operation instance to update the resource
2113
+ def self.ad_group_feed(resource_or_path, &blk)
2114
+ require "google/ads/google_ads/v3/services/ad_group_feed_service_pb.rb"
2115
+ res = case resource_or_path
2116
+ when Google::Ads::GoogleAds::V3::Resources::AdGroupFeed
2117
+ resource_or_path
2118
+ # got a resource path
2119
+ when String
2120
+ obj = Google::Ads::GoogleAds::V3::Resources::AdGroupFeed.new
2121
+ obj.resource_name = resource_or_path
2122
+ obj
2123
+ else
2124
+ unless Google::Ads::GoogleAds::V3::Resources::AdGroupFeed === res
2125
+ raise ArgumentError.new(
2126
+ "Called #{__method__} with instance of wrong type:"\
2127
+ " #{res.class} want #{operation.update_class}"\
2128
+ " or String representing resource name"
2129
+ )
2130
+ end
2131
+ end
2132
+
2133
+ op = Google::Ads::GoogleAds::V3::Services::AdGroupFeedOperation.new
2134
+ op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2135
+ op["update"] = res
2136
+ op
2137
+ end
2138
+
2139
+ # A convenience method for creating an AdGroupOperation instance with
2140
+ # its "update" field prepopulated with an AdGroup instance, and
2141
+ # its "update_mask" field populated as needed to send the updates to the API.
2142
+ #
2143
+ # @overload #ad_group(path, &blk)
2144
+ # @param path [String] a resource path for the resource to update
2145
+ # @yield [Google::Ads::GoogleAds::V3::Resources::AdGroup] a new instance of the resource for this update operation, on
2146
+ # which fields can be set to update
2147
+ #
2148
+ # @overload #ad_group(resource, &blk)
2149
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::AdGroup] a resource instance to update
2150
+ # @yield the passed block is called and updates against `resource` are recordered in the update mask
2151
+ # @return [Google::Ads::GoogleAds::V3::Services::AdGroupOperation] the operation instance to update the resource
2152
+ def self.ad_group(resource_or_path, &blk)
2153
+ require "google/ads/google_ads/v3/services/ad_group_service_pb.rb"
2154
+ res = case resource_or_path
2155
+ when Google::Ads::GoogleAds::V3::Resources::AdGroup
2156
+ resource_or_path
2157
+ # got a resource path
2158
+ when String
2159
+ obj = Google::Ads::GoogleAds::V3::Resources::AdGroup.new
2160
+ obj.resource_name = resource_or_path
2161
+ obj
2162
+ else
2163
+ unless Google::Ads::GoogleAds::V3::Resources::AdGroup === res
2164
+ raise ArgumentError.new(
2165
+ "Called #{__method__} with instance of wrong type:"\
2166
+ " #{res.class} want #{operation.update_class}"\
2167
+ " or String representing resource name"
2168
+ )
2169
+ end
2170
+ end
2171
+
2172
+ op = Google::Ads::GoogleAds::V3::Services::AdGroupOperation.new
2173
+ op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2174
+ op["update"] = res
2175
+ op
2176
+ end
2177
+
2178
+ # A convenience method for creating an AdParameterOperation instance with
2179
+ # its "update" field prepopulated with an AdParameter instance, and
2180
+ # its "update_mask" field populated as needed to send the updates to the API.
2181
+ #
2182
+ # @overload #ad_parameter(path, &blk)
2183
+ # @param path [String] a resource path for the resource to update
2184
+ # @yield [Google::Ads::GoogleAds::V3::Resources::AdParameter] a new instance of the resource for this update operation, on
2185
+ # which fields can be set to update
2186
+ #
2187
+ # @overload #ad_parameter(resource, &blk)
2188
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::AdParameter] a resource instance to update
2189
+ # @yield the passed block is called and updates against `resource` are recordered in the update mask
2190
+ # @return [Google::Ads::GoogleAds::V3::Services::AdParameterOperation] the operation instance to update the resource
2191
+ def self.ad_parameter(resource_or_path, &blk)
2192
+ require "google/ads/google_ads/v3/services/ad_parameter_service_pb.rb"
2193
+ res = case resource_or_path
2194
+ when Google::Ads::GoogleAds::V3::Resources::AdParameter
2195
+ resource_or_path
2196
+ # got a resource path
2197
+ when String
2198
+ obj = Google::Ads::GoogleAds::V3::Resources::AdParameter.new
2199
+ obj.resource_name = resource_or_path
2200
+ obj
2201
+ else
2202
+ unless Google::Ads::GoogleAds::V3::Resources::AdParameter === res
2203
+ raise ArgumentError.new(
2204
+ "Called #{__method__} with instance of wrong type:"\
2205
+ " #{res.class} want #{operation.update_class}"\
2206
+ " or String representing resource name"
2207
+ )
2208
+ end
2209
+ end
2210
+
2211
+ op = Google::Ads::GoogleAds::V3::Services::AdParameterOperation.new
2212
+ op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2213
+ op["update"] = res
2214
+ op
2215
+ end
2216
+
2217
+ # A convenience method for creating an BiddingStrategyOperation instance with
2218
+ # its "update" field prepopulated with an BiddingStrategy instance, and
2219
+ # its "update_mask" field populated as needed to send the updates to the API.
2220
+ #
2221
+ # @overload #bidding_strategy(path, &blk)
2222
+ # @param path [String] a resource path for the resource to update
2223
+ # @yield [Google::Ads::GoogleAds::V3::Resources::BiddingStrategy] a new instance of the resource for this update operation, on
2224
+ # which fields can be set to update
2225
+ #
2226
+ # @overload #bidding_strategy(resource, &blk)
2227
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::BiddingStrategy] a resource instance to update
2228
+ # @yield the passed block is called and updates against `resource` are recordered in the update mask
2229
+ # @return [Google::Ads::GoogleAds::V3::Services::BiddingStrategyOperation] the operation instance to update the resource
2230
+ def self.bidding_strategy(resource_or_path, &blk)
2231
+ require "google/ads/google_ads/v3/services/bidding_strategy_service_pb.rb"
2232
+ res = case resource_or_path
2233
+ when Google::Ads::GoogleAds::V3::Resources::BiddingStrategy
2234
+ resource_or_path
2235
+ # got a resource path
2236
+ when String
2237
+ obj = Google::Ads::GoogleAds::V3::Resources::BiddingStrategy.new
2238
+ obj.resource_name = resource_or_path
2239
+ obj
2240
+ else
2241
+ unless Google::Ads::GoogleAds::V3::Resources::BiddingStrategy === res
2242
+ raise ArgumentError.new(
2243
+ "Called #{__method__} with instance of wrong type:"\
2244
+ " #{res.class} want #{operation.update_class}"\
2245
+ " or String representing resource name"
2246
+ )
2247
+ end
2248
+ end
2249
+
2250
+ op = Google::Ads::GoogleAds::V3::Services::BiddingStrategyOperation.new
2251
+ op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2252
+ op["update"] = res
2253
+ op
2254
+ end
2255
+
2256
+ # A convenience method for creating an CampaignBidModifierOperation instance with
2257
+ # its "update" field prepopulated with an CampaignBidModifier instance, and
2258
+ # its "update_mask" field populated as needed to send the updates to the API.
2259
+ #
2260
+ # @overload #campaign_bid_modifier(path, &blk)
2261
+ # @param path [String] a resource path for the resource to update
2262
+ # @yield [Google::Ads::GoogleAds::V3::Resources::CampaignBidModifier] a new instance of the resource for this update operation, on
2263
+ # which fields can be set to update
2264
+ #
2265
+ # @overload #campaign_bid_modifier(resource, &blk)
2266
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::CampaignBidModifier] a resource instance to update
2267
+ # @yield the passed block is called and updates against `resource` are recordered in the update mask
2268
+ # @return [Google::Ads::GoogleAds::V3::Services::CampaignBidModifierOperation] the operation instance to update the resource
2269
+ def self.campaign_bid_modifier(resource_or_path, &blk)
2270
+ require "google/ads/google_ads/v3/services/campaign_bid_modifier_service_pb.rb"
2271
+ res = case resource_or_path
2272
+ when Google::Ads::GoogleAds::V3::Resources::CampaignBidModifier
2273
+ resource_or_path
2274
+ # got a resource path
2275
+ when String
2276
+ obj = Google::Ads::GoogleAds::V3::Resources::CampaignBidModifier.new
2277
+ obj.resource_name = resource_or_path
2278
+ obj
2279
+ else
2280
+ unless Google::Ads::GoogleAds::V3::Resources::CampaignBidModifier === res
2281
+ raise ArgumentError.new(
2282
+ "Called #{__method__} with instance of wrong type:"\
2283
+ " #{res.class} want #{operation.update_class}"\
2284
+ " or String representing resource name"
2285
+ )
2286
+ end
2287
+ end
2288
+
2289
+ op = Google::Ads::GoogleAds::V3::Services::CampaignBidModifierOperation.new
2290
+ op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2291
+ op["update"] = res
2292
+ op
2293
+ end
2294
+
2295
+ # A convenience method for creating an CampaignBudgetOperation instance with
2296
+ # its "update" field prepopulated with an CampaignBudget instance, and
2297
+ # its "update_mask" field populated as needed to send the updates to the API.
2298
+ #
2299
+ # @overload #campaign_budget(path, &blk)
2300
+ # @param path [String] a resource path for the resource to update
2301
+ # @yield [Google::Ads::GoogleAds::V3::Resources::CampaignBudget] a new instance of the resource for this update operation, on
2302
+ # which fields can be set to update
2303
+ #
2304
+ # @overload #campaign_budget(resource, &blk)
2305
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::CampaignBudget] a resource instance to update
2306
+ # @yield the passed block is called and updates against `resource` are recordered in the update mask
2307
+ # @return [Google::Ads::GoogleAds::V3::Services::CampaignBudgetOperation] the operation instance to update the resource
2308
+ def self.campaign_budget(resource_or_path, &blk)
2309
+ require "google/ads/google_ads/v3/services/campaign_budget_service_pb.rb"
2310
+ res = case resource_or_path
2311
+ when Google::Ads::GoogleAds::V3::Resources::CampaignBudget
2312
+ resource_or_path
2313
+ # got a resource path
2314
+ when String
2315
+ obj = Google::Ads::GoogleAds::V3::Resources::CampaignBudget.new
2316
+ obj.resource_name = resource_or_path
2317
+ obj
2318
+ else
2319
+ unless Google::Ads::GoogleAds::V3::Resources::CampaignBudget === res
2320
+ raise ArgumentError.new(
2321
+ "Called #{__method__} with instance of wrong type:"\
2322
+ " #{res.class} want #{operation.update_class}"\
2323
+ " or String representing resource name"
2324
+ )
2325
+ end
2326
+ end
2327
+
2328
+ op = Google::Ads::GoogleAds::V3::Services::CampaignBudgetOperation.new
2329
+ op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2330
+ op["update"] = res
2331
+ op
2332
+ end
2333
+
2334
+ # A convenience method for creating an CampaignCriterionOperation instance with
2335
+ # its "update" field prepopulated with an CampaignCriterion instance, and
2336
+ # its "update_mask" field populated as needed to send the updates to the API.
2337
+ #
2338
+ # @overload #campaign_criterion(path, &blk)
2339
+ # @param path [String] a resource path for the resource to update
2340
+ # @yield [Google::Ads::GoogleAds::V3::Resources::CampaignCriterion] a new instance of the resource for this update operation, on
2341
+ # which fields can be set to update
2342
+ #
2343
+ # @overload #campaign_criterion(resource, &blk)
2344
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::CampaignCriterion] a resource instance to update
2345
+ # @yield the passed block is called and updates against `resource` are recordered in the update mask
2346
+ # @return [Google::Ads::GoogleAds::V3::Services::CampaignCriterionOperation] the operation instance to update the resource
2347
+ def self.campaign_criterion(resource_or_path, &blk)
2348
+ require "google/ads/google_ads/v3/services/campaign_criterion_service_pb.rb"
2349
+ res = case resource_or_path
2350
+ when Google::Ads::GoogleAds::V3::Resources::CampaignCriterion
2351
+ resource_or_path
2352
+ # got a resource path
2353
+ when String
2354
+ obj = Google::Ads::GoogleAds::V3::Resources::CampaignCriterion.new
2355
+ obj.resource_name = resource_or_path
2356
+ obj
2357
+ else
2358
+ unless Google::Ads::GoogleAds::V3::Resources::CampaignCriterion === res
2359
+ raise ArgumentError.new(
2360
+ "Called #{__method__} with instance of wrong type:"\
2361
+ " #{res.class} want #{operation.update_class}"\
2362
+ " or String representing resource name"
2363
+ )
2364
+ end
2365
+ end
2366
+
2367
+ op = Google::Ads::GoogleAds::V3::Services::CampaignCriterionOperation.new
2368
+ op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2369
+ op["update"] = res
2370
+ op
2371
+ end
2372
+
2373
+ # A convenience method for creating an CampaignDraftOperation instance with
2374
+ # its "update" field prepopulated with an CampaignDraft instance, and
2375
+ # its "update_mask" field populated as needed to send the updates to the API.
2376
+ #
2377
+ # @overload #campaign_draft(path, &blk)
2378
+ # @param path [String] a resource path for the resource to update
2379
+ # @yield [Google::Ads::GoogleAds::V3::Resources::CampaignDraft] a new instance of the resource for this update operation, on
2380
+ # which fields can be set to update
2381
+ #
2382
+ # @overload #campaign_draft(resource, &blk)
2383
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::CampaignDraft] a resource instance to update
2384
+ # @yield the passed block is called and updates against `resource` are recordered in the update mask
2385
+ # @return [Google::Ads::GoogleAds::V3::Services::CampaignDraftOperation] the operation instance to update the resource
2386
+ def self.campaign_draft(resource_or_path, &blk)
2387
+ require "google/ads/google_ads/v3/services/campaign_draft_service_pb.rb"
2388
+ res = case resource_or_path
2389
+ when Google::Ads::GoogleAds::V3::Resources::CampaignDraft
2390
+ resource_or_path
2391
+ # got a resource path
2392
+ when String
2393
+ obj = Google::Ads::GoogleAds::V3::Resources::CampaignDraft.new
2394
+ obj.resource_name = resource_or_path
2395
+ obj
2396
+ else
2397
+ unless Google::Ads::GoogleAds::V3::Resources::CampaignDraft === res
2398
+ raise ArgumentError.new(
2399
+ "Called #{__method__} with instance of wrong type:"\
2400
+ " #{res.class} want #{operation.update_class}"\
2401
+ " or String representing resource name"
2402
+ )
2403
+ end
2404
+ end
2405
+
2406
+ op = Google::Ads::GoogleAds::V3::Services::CampaignDraftOperation.new
2407
+ op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2408
+ op["update"] = res
2409
+ op
2410
+ end
2411
+
2412
+ # A convenience method for creating an CampaignExperimentOperation instance with
2413
+ # its "update" field prepopulated with an CampaignExperiment instance, and
2414
+ # its "update_mask" field populated as needed to send the updates to the API.
2415
+ #
2416
+ # @overload #campaign_experiment(path, &blk)
2417
+ # @param path [String] a resource path for the resource to update
2418
+ # @yield [Google::Ads::GoogleAds::V3::Resources::CampaignExperiment] a new instance of the resource for this update operation, on
2419
+ # which fields can be set to update
2420
+ #
2421
+ # @overload #campaign_experiment(resource, &blk)
2422
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::CampaignExperiment] a resource instance to update
2423
+ # @yield the passed block is called and updates against `resource` are recordered in the update mask
2424
+ # @return [Google::Ads::GoogleAds::V3::Services::CampaignExperimentOperation] the operation instance to update the resource
2425
+ def self.campaign_experiment(resource_or_path, &blk)
2426
+ require "google/ads/google_ads/v3/services/campaign_experiment_service_pb.rb"
2427
+ res = case resource_or_path
2428
+ when Google::Ads::GoogleAds::V3::Resources::CampaignExperiment
2429
+ resource_or_path
2430
+ # got a resource path
2431
+ when String
2432
+ obj = Google::Ads::GoogleAds::V3::Resources::CampaignExperiment.new
2433
+ obj.resource_name = resource_or_path
2434
+ obj
2435
+ else
2436
+ unless Google::Ads::GoogleAds::V3::Resources::CampaignExperiment === res
2437
+ raise ArgumentError.new(
2438
+ "Called #{__method__} with instance of wrong type:"\
2439
+ " #{res.class} want #{operation.update_class}"\
2440
+ " or String representing resource name"
2441
+ )
2442
+ end
2443
+ end
2444
+
2445
+ op = Google::Ads::GoogleAds::V3::Services::CampaignExperimentOperation.new
2446
+ op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2447
+ op["update"] = res
2448
+ op
2449
+ end
2450
+
2451
+ # A convenience method for creating an CampaignExtensionSettingOperation instance with
2452
+ # its "update" field prepopulated with an CampaignExtensionSetting instance, and
2453
+ # its "update_mask" field populated as needed to send the updates to the API.
2454
+ #
2455
+ # @overload #campaign_extension_setting(path, &blk)
2456
+ # @param path [String] a resource path for the resource to update
2457
+ # @yield [Google::Ads::GoogleAds::V3::Resources::CampaignExtensionSetting] a new instance of the resource for this update operation, on
2458
+ # which fields can be set to update
2459
+ #
2460
+ # @overload #campaign_extension_setting(resource, &blk)
2461
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::CampaignExtensionSetting] a resource instance to update
2462
+ # @yield the passed block is called and updates against `resource` are recordered in the update mask
2463
+ # @return [Google::Ads::GoogleAds::V3::Services::CampaignExtensionSettingOperation] the operation instance to update the resource
2464
+ def self.campaign_extension_setting(resource_or_path, &blk)
2465
+ require "google/ads/google_ads/v3/services/campaign_extension_setting_service_pb.rb"
2466
+ res = case resource_or_path
2467
+ when Google::Ads::GoogleAds::V3::Resources::CampaignExtensionSetting
2468
+ resource_or_path
2469
+ # got a resource path
2470
+ when String
2471
+ obj = Google::Ads::GoogleAds::V3::Resources::CampaignExtensionSetting.new
2472
+ obj.resource_name = resource_or_path
2473
+ obj
2474
+ else
2475
+ unless Google::Ads::GoogleAds::V3::Resources::CampaignExtensionSetting === res
2476
+ raise ArgumentError.new(
2477
+ "Called #{__method__} with instance of wrong type:"\
2478
+ " #{res.class} want #{operation.update_class}"\
2479
+ " or String representing resource name"
2480
+ )
2481
+ end
2482
+ end
2483
+
2484
+ op = Google::Ads::GoogleAds::V3::Services::CampaignExtensionSettingOperation.new
2485
+ op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2486
+ op["update"] = res
2487
+ op
2488
+ end
2489
+
2490
+ # A convenience method for creating an CampaignOperation instance with
2491
+ # its "update" field prepopulated with an Campaign instance, and
2492
+ # its "update_mask" field populated as needed to send the updates to the API.
2493
+ #
2494
+ # @overload #campaign(path, &blk)
2495
+ # @param path [String] a resource path for the resource to update
2496
+ # @yield [Google::Ads::GoogleAds::V3::Resources::Campaign] a new instance of the resource for this update operation, on
2497
+ # which fields can be set to update
2498
+ #
2499
+ # @overload #campaign(resource, &blk)
2500
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::Campaign] a resource instance to update
2501
+ # @yield the passed block is called and updates against `resource` are recordered in the update mask
2502
+ # @return [Google::Ads::GoogleAds::V3::Services::CampaignOperation] the operation instance to update the resource
2503
+ def self.campaign(resource_or_path, &blk)
2504
+ require "google/ads/google_ads/v3/services/campaign_service_pb.rb"
2505
+ res = case resource_or_path
2506
+ when Google::Ads::GoogleAds::V3::Resources::Campaign
2507
+ resource_or_path
2508
+ # got a resource path
2509
+ when String
2510
+ obj = Google::Ads::GoogleAds::V3::Resources::Campaign.new
2511
+ obj.resource_name = resource_or_path
2512
+ obj
2513
+ else
2514
+ unless Google::Ads::GoogleAds::V3::Resources::Campaign === res
2515
+ raise ArgumentError.new(
2516
+ "Called #{__method__} with instance of wrong type:"\
2517
+ " #{res.class} want #{operation.update_class}"\
2518
+ " or String representing resource name"
2519
+ )
2520
+ end
2521
+ end
2522
+
2523
+ op = Google::Ads::GoogleAds::V3::Services::CampaignOperation.new
2524
+ op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2525
+ op["update"] = res
2526
+ op
2527
+ end
2528
+
2529
+ # A convenience method for creating an ConversionActionOperation instance with
2530
+ # its "update" field prepopulated with an ConversionAction instance, and
2531
+ # its "update_mask" field populated as needed to send the updates to the API.
2532
+ #
2533
+ # @overload #conversion_action(path, &blk)
2534
+ # @param path [String] a resource path for the resource to update
2535
+ # @yield [Google::Ads::GoogleAds::V3::Resources::ConversionAction] a new instance of the resource for this update operation, on
2536
+ # which fields can be set to update
2537
+ #
2538
+ # @overload #conversion_action(resource, &blk)
2539
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::ConversionAction] a resource instance to update
2540
+ # @yield the passed block is called and updates against `resource` are recordered in the update mask
2541
+ # @return [Google::Ads::GoogleAds::V3::Services::ConversionActionOperation] the operation instance to update the resource
2542
+ def self.conversion_action(resource_or_path, &blk)
2543
+ require "google/ads/google_ads/v3/services/conversion_action_service_pb.rb"
2544
+ res = case resource_or_path
2545
+ when Google::Ads::GoogleAds::V3::Resources::ConversionAction
2546
+ resource_or_path
2547
+ # got a resource path
2548
+ when String
2549
+ obj = Google::Ads::GoogleAds::V3::Resources::ConversionAction.new
2550
+ obj.resource_name = resource_or_path
2551
+ obj
2552
+ else
2553
+ unless Google::Ads::GoogleAds::V3::Resources::ConversionAction === res
2554
+ raise ArgumentError.new(
2555
+ "Called #{__method__} with instance of wrong type:"\
2556
+ " #{res.class} want #{operation.update_class}"\
2557
+ " or String representing resource name"
2558
+ )
2559
+ end
2560
+ end
2561
+
2562
+ op = Google::Ads::GoogleAds::V3::Services::ConversionActionOperation.new
2563
+ op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2564
+ op["update"] = res
2565
+ op
2566
+ end
2567
+
2568
+ # A convenience method for creating an CustomerExtensionSettingOperation instance with
2569
+ # its "update" field prepopulated with an CustomerExtensionSetting instance, and
2570
+ # its "update_mask" field populated as needed to send the updates to the API.
2571
+ #
2572
+ # @overload #customer_extension_setting(path, &blk)
2573
+ # @param path [String] a resource path for the resource to update
2574
+ # @yield [Google::Ads::GoogleAds::V3::Resources::CustomerExtensionSetting] a new instance of the resource for this update operation, on
2575
+ # which fields can be set to update
2576
+ #
2577
+ # @overload #customer_extension_setting(resource, &blk)
2578
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::CustomerExtensionSetting] a resource instance to update
2579
+ # @yield the passed block is called and updates against `resource` are recordered in the update mask
2580
+ # @return [Google::Ads::GoogleAds::V3::Services::CustomerExtensionSettingOperation] the operation instance to update the resource
2581
+ def self.customer_extension_setting(resource_or_path, &blk)
2582
+ require "google/ads/google_ads/v3/services/customer_extension_setting_service_pb.rb"
2583
+ res = case resource_or_path
2584
+ when Google::Ads::GoogleAds::V3::Resources::CustomerExtensionSetting
2585
+ resource_or_path
2586
+ # got a resource path
2587
+ when String
2588
+ obj = Google::Ads::GoogleAds::V3::Resources::CustomerExtensionSetting.new
2589
+ obj.resource_name = resource_or_path
2590
+ obj
2591
+ else
2592
+ unless Google::Ads::GoogleAds::V3::Resources::CustomerExtensionSetting === res
2593
+ raise ArgumentError.new(
2594
+ "Called #{__method__} with instance of wrong type:"\
2595
+ " #{res.class} want #{operation.update_class}"\
2596
+ " or String representing resource name"
2597
+ )
2598
+ end
2599
+ end
2600
+
2601
+ op = Google::Ads::GoogleAds::V3::Services::CustomerExtensionSettingOperation.new
2602
+ op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2603
+ op["update"] = res
2604
+ op
2605
+ end
2606
+
2607
+ # A convenience method for creating an CustomerFeedOperation instance with
2608
+ # its "update" field prepopulated with an CustomerFeed instance, and
2609
+ # its "update_mask" field populated as needed to send the updates to the API.
2610
+ #
2611
+ # @overload #customer_feed(path, &blk)
2612
+ # @param path [String] a resource path for the resource to update
2613
+ # @yield [Google::Ads::GoogleAds::V3::Resources::CustomerFeed] a new instance of the resource for this update operation, on
2614
+ # which fields can be set to update
2615
+ #
2616
+ # @overload #customer_feed(resource, &blk)
2617
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::CustomerFeed] a resource instance to update
2618
+ # @yield the passed block is called and updates against `resource` are recordered in the update mask
2619
+ # @return [Google::Ads::GoogleAds::V3::Services::CustomerFeedOperation] the operation instance to update the resource
2620
+ def self.customer_feed(resource_or_path, &blk)
2621
+ require "google/ads/google_ads/v3/services/customer_feed_service_pb.rb"
2622
+ res = case resource_or_path
2623
+ when Google::Ads::GoogleAds::V3::Resources::CustomerFeed
2624
+ resource_or_path
2625
+ # got a resource path
2626
+ when String
2627
+ obj = Google::Ads::GoogleAds::V3::Resources::CustomerFeed.new
2628
+ obj.resource_name = resource_or_path
2629
+ obj
2630
+ else
2631
+ unless Google::Ads::GoogleAds::V3::Resources::CustomerFeed === res
2632
+ raise ArgumentError.new(
2633
+ "Called #{__method__} with instance of wrong type:"\
2634
+ " #{res.class} want #{operation.update_class}"\
2635
+ " or String representing resource name"
2636
+ )
2637
+ end
2638
+ end
2639
+
2640
+ op = Google::Ads::GoogleAds::V3::Services::CustomerFeedOperation.new
2641
+ op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2642
+ op["update"] = res
2643
+ op
2644
+ end
2645
+
2646
+ # A convenience method for creating an CustomerOperation instance with
2647
+ # its "update" field prepopulated with an Customer instance, and
2648
+ # its "update_mask" field populated as needed to send the updates to the API.
2649
+ #
2650
+ # @overload #customer(path, &blk)
2651
+ # @param path [String] a resource path for the resource to update
2652
+ # @yield [Google::Ads::GoogleAds::V3::Resources::Customer] a new instance of the resource for this update operation, on
2653
+ # which fields can be set to update
2654
+ #
2655
+ # @overload #customer(resource, &blk)
2656
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::Customer] a resource instance to update
2657
+ # @yield the passed block is called and updates against `resource` are recordered in the update mask
2658
+ # @return [Google::Ads::GoogleAds::V3::Services::CustomerOperation] the operation instance to update the resource
2659
+ def self.customer(resource_or_path, &blk)
2660
+ require "google/ads/google_ads/v3/services/customer_service_pb.rb"
2661
+ res = case resource_or_path
2662
+ when Google::Ads::GoogleAds::V3::Resources::Customer
2663
+ resource_or_path
2664
+ # got a resource path
2665
+ when String
2666
+ obj = Google::Ads::GoogleAds::V3::Resources::Customer.new
2667
+ obj.resource_name = resource_or_path
2668
+ obj
2669
+ else
2670
+ unless Google::Ads::GoogleAds::V3::Resources::Customer === res
2671
+ raise ArgumentError.new(
2672
+ "Called #{__method__} with instance of wrong type:"\
2673
+ " #{res.class} want #{operation.update_class}"\
2674
+ " or String representing resource name"
2675
+ )
2676
+ end
2677
+ end
2678
+
2679
+ op = Google::Ads::GoogleAds::V3::Services::CustomerOperation.new
2680
+ op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2681
+ op["update"] = res
2682
+ op
2683
+ end
2684
+
2685
+ # A convenience method for creating an ExtensionFeedItemOperation instance with
2686
+ # its "update" field prepopulated with an ExtensionFeedItem instance, and
2687
+ # its "update_mask" field populated as needed to send the updates to the API.
2688
+ #
2689
+ # @overload #extension_feed_item(path, &blk)
2690
+ # @param path [String] a resource path for the resource to update
2691
+ # @yield [Google::Ads::GoogleAds::V3::Resources::ExtensionFeedItem] a new instance of the resource for this update operation, on
2692
+ # which fields can be set to update
2693
+ #
2694
+ # @overload #extension_feed_item(resource, &blk)
2695
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::ExtensionFeedItem] a resource instance to update
2696
+ # @yield the passed block is called and updates against `resource` are recordered in the update mask
2697
+ # @return [Google::Ads::GoogleAds::V3::Services::ExtensionFeedItemOperation] the operation instance to update the resource
2698
+ def self.extension_feed_item(resource_or_path, &blk)
2699
+ require "google/ads/google_ads/v3/services/extension_feed_item_service_pb.rb"
2700
+ res = case resource_or_path
2701
+ when Google::Ads::GoogleAds::V3::Resources::ExtensionFeedItem
2702
+ resource_or_path
2703
+ # got a resource path
2704
+ when String
2705
+ obj = Google::Ads::GoogleAds::V3::Resources::ExtensionFeedItem.new
2706
+ obj.resource_name = resource_or_path
2707
+ obj
2708
+ else
2709
+ unless Google::Ads::GoogleAds::V3::Resources::ExtensionFeedItem === res
2710
+ raise ArgumentError.new(
2711
+ "Called #{__method__} with instance of wrong type:"\
2712
+ " #{res.class} want #{operation.update_class}"\
2713
+ " or String representing resource name"
2714
+ )
2715
+ end
2716
+ end
2717
+
2718
+ op = Google::Ads::GoogleAds::V3::Services::ExtensionFeedItemOperation.new
2719
+ op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2720
+ op["update"] = res
2721
+ op
2722
+ end
2723
+
2724
+ # A convenience method for creating an FeedItemOperation instance with
2725
+ # its "update" field prepopulated with an FeedItem instance, and
2726
+ # its "update_mask" field populated as needed to send the updates to the API.
2727
+ #
2728
+ # @overload #feed_item(path, &blk)
2729
+ # @param path [String] a resource path for the resource to update
2730
+ # @yield [Google::Ads::GoogleAds::V3::Resources::FeedItem] a new instance of the resource for this update operation, on
2731
+ # which fields can be set to update
2732
+ #
2733
+ # @overload #feed_item(resource, &blk)
2734
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::FeedItem] a resource instance to update
2735
+ # @yield the passed block is called and updates against `resource` are recordered in the update mask
2736
+ # @return [Google::Ads::GoogleAds::V3::Services::FeedItemOperation] the operation instance to update the resource
2737
+ def self.feed_item(resource_or_path, &blk)
2738
+ require "google/ads/google_ads/v3/services/feed_item_service_pb.rb"
2739
+ res = case resource_or_path
2740
+ when Google::Ads::GoogleAds::V3::Resources::FeedItem
2741
+ resource_or_path
2742
+ # got a resource path
2743
+ when String
2744
+ obj = Google::Ads::GoogleAds::V3::Resources::FeedItem.new
2745
+ obj.resource_name = resource_or_path
2746
+ obj
2747
+ else
2748
+ unless Google::Ads::GoogleAds::V3::Resources::FeedItem === res
2749
+ raise ArgumentError.new(
2750
+ "Called #{__method__} with instance of wrong type:"\
2751
+ " #{res.class} want #{operation.update_class}"\
2752
+ " or String representing resource name"
2753
+ )
2754
+ end
2755
+ end
2756
+
2757
+ op = Google::Ads::GoogleAds::V3::Services::FeedItemOperation.new
2758
+ op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2759
+ op["update"] = res
2760
+ op
2761
+ end
2762
+
2763
+ # A convenience method for creating an LabelOperation instance with
2764
+ # its "update" field prepopulated with an Label instance, and
2765
+ # its "update_mask" field populated as needed to send the updates to the API.
2766
+ #
2767
+ # @overload #label(path, &blk)
2768
+ # @param path [String] a resource path for the resource to update
2769
+ # @yield [Google::Ads::GoogleAds::V3::Resources::Label] a new instance of the resource for this update operation, on
2770
+ # which fields can be set to update
2771
+ #
2772
+ # @overload #label(resource, &blk)
2773
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::Label] a resource instance to update
2774
+ # @yield the passed block is called and updates against `resource` are recordered in the update mask
2775
+ # @return [Google::Ads::GoogleAds::V3::Services::LabelOperation] the operation instance to update the resource
2776
+ def self.label(resource_or_path, &blk)
2777
+ require "google/ads/google_ads/v3/services/label_service_pb.rb"
2778
+ res = case resource_or_path
2779
+ when Google::Ads::GoogleAds::V3::Resources::Label
2780
+ resource_or_path
2781
+ # got a resource path
2782
+ when String
2783
+ obj = Google::Ads::GoogleAds::V3::Resources::Label.new
2784
+ obj.resource_name = resource_or_path
2785
+ obj
2786
+ else
2787
+ unless Google::Ads::GoogleAds::V3::Resources::Label === res
2788
+ raise ArgumentError.new(
2789
+ "Called #{__method__} with instance of wrong type:"\
2790
+ " #{res.class} want #{operation.update_class}"\
2791
+ " or String representing resource name"
2792
+ )
2793
+ end
2794
+ end
2795
+
2796
+ op = Google::Ads::GoogleAds::V3::Services::LabelOperation.new
2797
+ op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2798
+ op["update"] = res
2799
+ op
2800
+ end
2801
+
2802
+ # A convenience method for creating an UserListOperation instance with
2803
+ # its "update" field prepopulated with an UserList instance, and
2804
+ # its "update_mask" field populated as needed to send the updates to the API.
2805
+ #
2806
+ # @overload #user_list(path, &blk)
2807
+ # @param path [String] a resource path for the resource to update
2808
+ # @yield [Google::Ads::GoogleAds::V3::Resources::UserList] a new instance of the resource for this update operation, on
2809
+ # which fields can be set to update
2810
+ #
2811
+ # @overload #user_list(resource, &blk)
2812
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::UserList] a resource instance to update
2813
+ # @yield the passed block is called and updates against `resource` are recordered in the update mask
2814
+ # @return [Google::Ads::GoogleAds::V3::Services::UserListOperation] the operation instance to update the resource
2815
+ def self.user_list(resource_or_path, &blk)
2816
+ require "google/ads/google_ads/v3/services/user_list_service_pb.rb"
2817
+ res = case resource_or_path
2818
+ when Google::Ads::GoogleAds::V3::Resources::UserList
2819
+ resource_or_path
2820
+ # got a resource path
2821
+ when String
2822
+ obj = Google::Ads::GoogleAds::V3::Resources::UserList.new
2823
+ obj.resource_name = resource_or_path
2824
+ obj
2825
+ else
2826
+ unless Google::Ads::GoogleAds::V3::Resources::UserList === res
2827
+ raise ArgumentError.new(
2828
+ "Called #{__method__} with instance of wrong type:"\
2829
+ " #{res.class} want #{operation.update_class}"\
2830
+ " or String representing resource name"
2831
+ )
2832
+ end
2833
+ end
2834
+
2835
+ op = Google::Ads::GoogleAds::V3::Services::UserListOperation.new
2836
+ op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2837
+ op["update"] = res
2838
+ op
2839
+ end
2840
+
2841
+ # A convenience method for creating an KeywordPlanKeywordOperation instance with
2842
+ # its "update" field prepopulated with an KeywordPlanKeyword instance, and
2843
+ # its "update_mask" field populated as needed to send the updates to the API.
2844
+ #
2845
+ # @overload #keyword_plan_keyword(path, &blk)
2846
+ # @param path [String] a resource path for the resource to update
2847
+ # @yield [Google::Ads::GoogleAds::V3::Resources::KeywordPlanKeyword] a new instance of the resource for this update operation, on
2848
+ # which fields can be set to update
2849
+ #
2850
+ # @overload #keyword_plan_keyword(resource, &blk)
2851
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::KeywordPlanKeyword] a resource instance to update
2852
+ # @yield the passed block is called and updates against `resource` are recordered in the update mask
2853
+ # @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanKeywordOperation] the operation instance to update the resource
2854
+ def self.keyword_plan_keyword(resource_or_path, &blk)
2855
+ require "google/ads/google_ads/v3/services/keyword_plan_keyword_service_pb.rb"
2856
+ res = case resource_or_path
2857
+ when Google::Ads::GoogleAds::V3::Resources::KeywordPlanKeyword
2858
+ resource_or_path
2859
+ # got a resource path
2860
+ when String
2861
+ obj = Google::Ads::GoogleAds::V3::Resources::KeywordPlanKeyword.new
2862
+ obj.resource_name = resource_or_path
2863
+ obj
2864
+ else
2865
+ unless Google::Ads::GoogleAds::V3::Resources::KeywordPlanKeyword === res
2866
+ raise ArgumentError.new(
2867
+ "Called #{__method__} with instance of wrong type:"\
2868
+ " #{res.class} want #{operation.update_class}"\
2869
+ " or String representing resource name"
2870
+ )
2871
+ end
2872
+ end
2873
+
2874
+ op = Google::Ads::GoogleAds::V3::Services::KeywordPlanKeywordOperation.new
2875
+ op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2876
+ op["update"] = res
2877
+ op
2878
+ end
2879
+
2880
+ # A convenience method for creating an KeywordPlanAdGroupOperation instance with
2881
+ # its "update" field prepopulated with an KeywordPlanAdGroup instance, and
2882
+ # its "update_mask" field populated as needed to send the updates to the API.
2883
+ #
2884
+ # @overload #keyword_plan_ad_group(path, &blk)
2885
+ # @param path [String] a resource path for the resource to update
2886
+ # @yield [Google::Ads::GoogleAds::V3::Resources::KeywordPlanAdGroup] a new instance of the resource for this update operation, on
2887
+ # which fields can be set to update
2888
+ #
2889
+ # @overload #keyword_plan_ad_group(resource, &blk)
2890
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::KeywordPlanAdGroup] a resource instance to update
2891
+ # @yield the passed block is called and updates against `resource` are recordered in the update mask
2892
+ # @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanAdGroupOperation] the operation instance to update the resource
2893
+ def self.keyword_plan_ad_group(resource_or_path, &blk)
2894
+ require "google/ads/google_ads/v3/services/keyword_plan_ad_group_service_pb.rb"
2895
+ res = case resource_or_path
2896
+ when Google::Ads::GoogleAds::V3::Resources::KeywordPlanAdGroup
2897
+ resource_or_path
2898
+ # got a resource path
2899
+ when String
2900
+ obj = Google::Ads::GoogleAds::V3::Resources::KeywordPlanAdGroup.new
2901
+ obj.resource_name = resource_or_path
2902
+ obj
2903
+ else
2904
+ unless Google::Ads::GoogleAds::V3::Resources::KeywordPlanAdGroup === res
2905
+ raise ArgumentError.new(
2906
+ "Called #{__method__} with instance of wrong type:"\
2907
+ " #{res.class} want #{operation.update_class}"\
2908
+ " or String representing resource name"
2909
+ )
2910
+ end
2911
+ end
2912
+
2913
+ op = Google::Ads::GoogleAds::V3::Services::KeywordPlanAdGroupOperation.new
2914
+ op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2915
+ op["update"] = res
2916
+ op
2917
+ end
2918
+
2919
+ # A convenience method for creating an CustomInterestOperation instance with
2920
+ # its "update" field prepopulated with an CustomInterest instance, and
2921
+ # its "update_mask" field populated as needed to send the updates to the API.
2922
+ #
2923
+ # @overload #custom_interest(path, &blk)
2924
+ # @param path [String] a resource path for the resource to update
2925
+ # @yield [Google::Ads::GoogleAds::V3::Resources::CustomInterest] a new instance of the resource for this update operation, on
2926
+ # which fields can be set to update
2927
+ #
2928
+ # @overload #custom_interest(resource, &blk)
2929
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::CustomInterest] a resource instance to update
2930
+ # @yield the passed block is called and updates against `resource` are recordered in the update mask
2931
+ # @return [Google::Ads::GoogleAds::V3::Services::CustomInterestOperation] the operation instance to update the resource
2932
+ def self.custom_interest(resource_or_path, &blk)
2933
+ require "google/ads/google_ads/v3/services/custom_interest_service_pb.rb"
2934
+ res = case resource_or_path
2935
+ when Google::Ads::GoogleAds::V3::Resources::CustomInterest
2936
+ resource_or_path
2937
+ # got a resource path
2938
+ when String
2939
+ obj = Google::Ads::GoogleAds::V3::Resources::CustomInterest.new
2940
+ obj.resource_name = resource_or_path
2941
+ obj
2942
+ else
2943
+ unless Google::Ads::GoogleAds::V3::Resources::CustomInterest === res
2944
+ raise ArgumentError.new(
2945
+ "Called #{__method__} with instance of wrong type:"\
2946
+ " #{res.class} want #{operation.update_class}"\
2947
+ " or String representing resource name"
2948
+ )
2949
+ end
2950
+ end
2951
+
2952
+ op = Google::Ads::GoogleAds::V3::Services::CustomInterestOperation.new
2953
+ op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2954
+ op["update"] = res
2955
+ op
2956
+ end
2957
+
2958
+ # A convenience method for creating an KeywordPlanNegativeKeywordOperation instance with
2959
+ # its "update" field prepopulated with an KeywordPlanNegativeKeyword instance, and
2960
+ # its "update_mask" field populated as needed to send the updates to the API.
2961
+ #
2962
+ # @overload #keyword_plan_negative_keyword(path, &blk)
2963
+ # @param path [String] a resource path for the resource to update
2964
+ # @yield [Google::Ads::GoogleAds::V3::Resources::KeywordPlanNegativeKeyword] a new instance of the resource for this update operation, on
2965
+ # which fields can be set to update
2966
+ #
2967
+ # @overload #keyword_plan_negative_keyword(resource, &blk)
2968
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::KeywordPlanNegativeKeyword] a resource instance to update
2969
+ # @yield the passed block is called and updates against `resource` are recordered in the update mask
2970
+ # @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanNegativeKeywordOperation] the operation instance to update the resource
2971
+ def self.keyword_plan_negative_keyword(resource_or_path, &blk)
2972
+ require "google/ads/google_ads/v3/services/keyword_plan_negative_keyword_service_pb.rb"
2973
+ res = case resource_or_path
2974
+ when Google::Ads::GoogleAds::V3::Resources::KeywordPlanNegativeKeyword
2975
+ resource_or_path
2976
+ # got a resource path
2977
+ when String
2978
+ obj = Google::Ads::GoogleAds::V3::Resources::KeywordPlanNegativeKeyword.new
2979
+ obj.resource_name = resource_or_path
2980
+ obj
2981
+ else
2982
+ unless Google::Ads::GoogleAds::V3::Resources::KeywordPlanNegativeKeyword === res
2983
+ raise ArgumentError.new(
2984
+ "Called #{__method__} with instance of wrong type:"\
2985
+ " #{res.class} want #{operation.update_class}"\
2986
+ " or String representing resource name"
2987
+ )
2988
+ end
2989
+ end
2990
+
2991
+ op = Google::Ads::GoogleAds::V3::Services::KeywordPlanNegativeKeywordOperation.new
2992
+ op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2993
+ op["update"] = res
2994
+ op
2995
+ end
2996
+
2997
+ # A convenience method for creating an AdOperation instance with
2998
+ # its "update" field prepopulated with an Ad instance, and
2999
+ # its "update_mask" field populated as needed to send the updates to the API.
3000
+ #
3001
+ # @overload #ad(path, &blk)
3002
+ # @param path [String] a resource path for the resource to update
3003
+ # @yield [Google::Ads::GoogleAds::V3::Resources::Ad] a new instance of the resource for this update operation, on
3004
+ # which fields can be set to update
3005
+ #
3006
+ # @overload #ad(resource, &blk)
3007
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::Ad] a resource instance to update
3008
+ # @yield the passed block is called and updates against `resource` are recordered in the update mask
3009
+ # @return [Google::Ads::GoogleAds::V3::Services::AdOperation] the operation instance to update the resource
3010
+ def self.ad(resource_or_path, &blk)
3011
+ require "google/ads/google_ads/v3/services/ad_service_pb.rb"
3012
+ res = case resource_or_path
3013
+ when Google::Ads::GoogleAds::V3::Resources::Ad
3014
+ resource_or_path
3015
+ # got a resource path
3016
+ when String
3017
+ obj = Google::Ads::GoogleAds::V3::Resources::Ad.new
3018
+ obj.resource_name = resource_or_path
3019
+ obj
3020
+ else
3021
+ unless Google::Ads::GoogleAds::V3::Resources::Ad === res
3022
+ raise ArgumentError.new(
3023
+ "Called #{__method__} with instance of wrong type:"\
3024
+ " #{res.class} want #{operation.update_class}"\
3025
+ " or String representing resource name"
3026
+ )
3027
+ end
3028
+ end
3029
+
3030
+ op = Google::Ads::GoogleAds::V3::Services::AdOperation.new
3031
+ op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
3032
+ op["update"] = res
3033
+ op
3034
+ end
3035
+
3036
+ # A convenience method for creating an KeywordPlanOperation instance with
3037
+ # its "update" field prepopulated with an KeywordPlan instance, and
3038
+ # its "update_mask" field populated as needed to send the updates to the API.
3039
+ #
3040
+ # @overload #keyword_plan(path, &blk)
3041
+ # @param path [String] a resource path for the resource to update
3042
+ # @yield [Google::Ads::GoogleAds::V3::Resources::KeywordPlan] a new instance of the resource for this update operation, on
3043
+ # which fields can be set to update
3044
+ #
3045
+ # @overload #keyword_plan(resource, &blk)
3046
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::KeywordPlan] a resource instance to update
3047
+ # @yield the passed block is called and updates against `resource` are recordered in the update mask
3048
+ # @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanOperation] the operation instance to update the resource
3049
+ def self.keyword_plan(resource_or_path, &blk)
3050
+ require "google/ads/google_ads/v3/services/keyword_plan_service_pb.rb"
3051
+ res = case resource_or_path
3052
+ when Google::Ads::GoogleAds::V3::Resources::KeywordPlan
3053
+ resource_or_path
3054
+ # got a resource path
3055
+ when String
3056
+ obj = Google::Ads::GoogleAds::V3::Resources::KeywordPlan.new
3057
+ obj.resource_name = resource_or_path
3058
+ obj
3059
+ else
3060
+ unless Google::Ads::GoogleAds::V3::Resources::KeywordPlan === res
3061
+ raise ArgumentError.new(
3062
+ "Called #{__method__} with instance of wrong type:"\
3063
+ " #{res.class} want #{operation.update_class}"\
3064
+ " or String representing resource name"
3065
+ )
3066
+ end
3067
+ end
3068
+
3069
+ op = Google::Ads::GoogleAds::V3::Services::KeywordPlanOperation.new
3070
+ op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
3071
+ op["update"] = res
3072
+ op
3073
+ end
3074
+ end
3075
+
3076
+ module RemoveResource
3077
+ # A convenience method for creationg an FeedAttributeOperation instance with
3078
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3079
+ #
3080
+ # @param path [String] the resource name of the resource to delete.
3081
+ def self.feed_attribute(path)
3082
+ require "google/ads/google_ads/v3/resources/feed_pb.rb"
3083
+ op = Google::Ads::GoogleAds::V3::Resources::FeedAttributeOperation.new
3084
+ op["remove"] = path
3085
+ op
3086
+ end
3087
+
3088
+ # A convenience method for creationg an TargetRestrictionOperation instance with
3089
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3090
+ #
3091
+ # @param path [String] the resource name of the resource to delete.
3092
+ def self.target_restriction(path)
3093
+ require "google/ads/google_ads/v3/common/targeting_setting_pb.rb"
3094
+ op = Google::Ads::GoogleAds::V3::Common::TargetRestrictionOperation.new
3095
+ op["remove"] = path
3096
+ op
3097
+ end
3098
+
3099
+ # A convenience method for creationg an AdGroupCriterionLabelOperation instance with
3100
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3101
+ #
3102
+ # @param path [String] the resource name of the resource to delete.
3103
+ def self.ad_group_criterion_label(path)
3104
+ require "google/ads/google_ads/v3/services/ad_group_criterion_label_service_pb.rb"
3105
+ op = Google::Ads::GoogleAds::V3::Services::AdGroupCriterionLabelOperation.new
3106
+ op["remove"] = path
3107
+ op
3108
+ end
3109
+
3110
+ # A convenience method for creationg an CustomerManagerLinkOperation instance with
3111
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3112
+ #
3113
+ # @param path [String] the resource name of the resource to delete.
3114
+ def self.customer_manager_link(path)
3115
+ require "google/ads/google_ads/v3/services/customer_manager_link_service_pb.rb"
3116
+ op = Google::Ads::GoogleAds::V3::Services::CustomerManagerLinkOperation.new
3117
+ op["remove"] = path
3118
+ op
3119
+ end
3120
+
3121
+ # A convenience method for creationg an KeywordPlanCampaignOperation instance with
3122
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3123
+ #
3124
+ # @param path [String] the resource name of the resource to delete.
3125
+ def self.keyword_plan_campaign(path)
3126
+ require "google/ads/google_ads/v3/services/keyword_plan_campaign_service_pb.rb"
3127
+ op = Google::Ads::GoogleAds::V3::Services::KeywordPlanCampaignOperation.new
3128
+ op["remove"] = path
3129
+ op
3130
+ end
3131
+
3132
+ # A convenience method for creationg an SharedSetOperation instance with
3133
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3134
+ #
3135
+ # @param path [String] the resource name of the resource to delete.
3136
+ def self.shared_set(path)
3137
+ require "google/ads/google_ads/v3/services/shared_set_service_pb.rb"
3138
+ op = Google::Ads::GoogleAds::V3::Services::SharedSetOperation.new
3139
+ op["remove"] = path
3140
+ op
3141
+ end
3142
+
3143
+ # A convenience method for creationg an FeedOperation instance with
3144
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3145
+ #
3146
+ # @param path [String] the resource name of the resource to delete.
3147
+ def self.feed(path)
3148
+ require "google/ads/google_ads/v3/services/feed_service_pb.rb"
3149
+ op = Google::Ads::GoogleAds::V3::Services::FeedOperation.new
3150
+ op["remove"] = path
3151
+ op
3152
+ end
3153
+
3154
+ # A convenience method for creationg an AdGroupAdLabelOperation instance with
3155
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3156
+ #
3157
+ # @param path [String] the resource name of the resource to delete.
3158
+ def self.ad_group_ad_label(path)
3159
+ require "google/ads/google_ads/v3/services/ad_group_ad_label_service_pb.rb"
3160
+ op = Google::Ads::GoogleAds::V3::Services::AdGroupAdLabelOperation.new
3161
+ op["remove"] = path
3162
+ op
3163
+ end
3164
+
3165
+ # A convenience method for creationg an CustomerClientLinkOperation instance with
3166
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3167
+ #
3168
+ # @param path [String] the resource name of the resource to delete.
3169
+ def self.customer_client_link(path)
3170
+ require "google/ads/google_ads/v3/services/customer_client_link_service_pb.rb"
3171
+ op = Google::Ads::GoogleAds::V3::Services::CustomerClientLinkOperation.new
3172
+ op["remove"] = path
3173
+ op
3174
+ end
3175
+
3176
+ # A convenience method for creationg an CampaignSharedSetOperation instance with
3177
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3178
+ #
3179
+ # @param path [String] the resource name of the resource to delete.
3180
+ def self.campaign_shared_set(path)
3181
+ require "google/ads/google_ads/v3/services/campaign_shared_set_service_pb.rb"
3182
+ op = Google::Ads::GoogleAds::V3::Services::CampaignSharedSetOperation.new
3183
+ op["remove"] = path
3184
+ op
3185
+ end
3186
+
3187
+ # A convenience method for creationg an MerchantCenterLinkOperation instance with
3188
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3189
+ #
3190
+ # @param path [String] the resource name of the resource to delete.
3191
+ def self.merchant_center_link(path)
3192
+ require "google/ads/google_ads/v3/services/merchant_center_link_service_pb.rb"
3193
+ op = Google::Ads::GoogleAds::V3::Services::MerchantCenterLinkOperation.new
3194
+ op["remove"] = path
3195
+ op
3196
+ end
3197
+
3198
+ # A convenience method for creationg an AdGroupBidModifierOperation instance with
3199
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3200
+ #
3201
+ # @param path [String] the resource name of the resource to delete.
3202
+ def self.ad_group_bid_modifier(path)
3203
+ require "google/ads/google_ads/v3/services/ad_group_bid_modifier_service_pb.rb"
3204
+ op = Google::Ads::GoogleAds::V3::Services::AdGroupBidModifierOperation.new
3205
+ op["remove"] = path
3206
+ op
3207
+ end
3208
+
3209
+ # A convenience method for creationg an CampaignFeedOperation instance with
3210
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3211
+ #
3212
+ # @param path [String] the resource name of the resource to delete.
3213
+ def self.campaign_feed(path)
3214
+ require "google/ads/google_ads/v3/services/campaign_feed_service_pb.rb"
3215
+ op = Google::Ads::GoogleAds::V3::Services::CampaignFeedOperation.new
3216
+ op["remove"] = path
3217
+ op
3218
+ end
3219
+
3220
+ # A convenience method for creationg an SharedCriterionOperation instance with
3221
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3222
+ #
3223
+ # @param path [String] the resource name of the resource to delete.
3224
+ def self.shared_criterion(path)
3225
+ require "google/ads/google_ads/v3/services/shared_criterion_service_pb.rb"
3226
+ op = Google::Ads::GoogleAds::V3::Services::SharedCriterionOperation.new
3227
+ op["remove"] = path
3228
+ op
3229
+ end
3230
+
3231
+ # A convenience method for creationg an RemarketingActionOperation instance with
3232
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3233
+ #
3234
+ # @param path [String] the resource name of the resource to delete.
3235
+ def self.remarketing_action(path)
3236
+ require "google/ads/google_ads/v3/services/remarketing_action_service_pb.rb"
3237
+ op = Google::Ads::GoogleAds::V3::Services::RemarketingActionOperation.new
3238
+ op["remove"] = path
3239
+ op
3240
+ end
3241
+
3242
+ # A convenience method for creationg an AdGroupLabelOperation instance with
3243
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3244
+ #
3245
+ # @param path [String] the resource name of the resource to delete.
3246
+ def self.ad_group_label(path)
3247
+ require "google/ads/google_ads/v3/services/ad_group_label_service_pb.rb"
3248
+ op = Google::Ads::GoogleAds::V3::Services::AdGroupLabelOperation.new
3249
+ op["remove"] = path
3250
+ op
3251
+ end
3252
+
3253
+ # A convenience method for creationg an CustomerLabelOperation instance with
3254
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3255
+ #
3256
+ # @param path [String] the resource name of the resource to delete.
3257
+ def self.customer_label(path)
3258
+ require "google/ads/google_ads/v3/services/customer_label_service_pb.rb"
3259
+ op = Google::Ads::GoogleAds::V3::Services::CustomerLabelOperation.new
3260
+ op["remove"] = path
3261
+ op
3262
+ end
3263
+
3264
+ # A convenience method for creationg an AdGroupAdOperation instance with
3265
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3266
+ #
3267
+ # @param path [String] the resource name of the resource to delete.
3268
+ def self.ad_group_ad(path)
3269
+ require "google/ads/google_ads/v3/services/ad_group_ad_service_pb.rb"
3270
+ op = Google::Ads::GoogleAds::V3::Services::AdGroupAdOperation.new
3271
+ op["remove"] = path
3272
+ op
3273
+ end
3274
+
3275
+ # A convenience method for creationg an AdGroupCriterionOperation instance with
3276
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3277
+ #
3278
+ # @param path [String] the resource name of the resource to delete.
3279
+ def self.ad_group_criterion(path)
3280
+ require "google/ads/google_ads/v3/services/ad_group_criterion_service_pb.rb"
3281
+ op = Google::Ads::GoogleAds::V3::Services::AdGroupCriterionOperation.new
3282
+ op["remove"] = path
3283
+ op
3284
+ end
3285
+
3286
+ # A convenience method for creationg an AdGroupExtensionSettingOperation instance with
3287
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3288
+ #
3289
+ # @param path [String] the resource name of the resource to delete.
3290
+ def self.ad_group_extension_setting(path)
3291
+ require "google/ads/google_ads/v3/services/ad_group_extension_setting_service_pb.rb"
3292
+ op = Google::Ads::GoogleAds::V3::Services::AdGroupExtensionSettingOperation.new
3293
+ op["remove"] = path
3294
+ op
3295
+ end
3296
+
3297
+ # A convenience method for creationg an AdGroupFeedOperation instance with
3298
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3299
+ #
3300
+ # @param path [String] the resource name of the resource to delete.
3301
+ def self.ad_group_feed(path)
3302
+ require "google/ads/google_ads/v3/services/ad_group_feed_service_pb.rb"
3303
+ op = Google::Ads::GoogleAds::V3::Services::AdGroupFeedOperation.new
3304
+ op["remove"] = path
3305
+ op
3306
+ end
3307
+
3308
+ # A convenience method for creationg an AdGroupOperation instance with
3309
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3310
+ #
3311
+ # @param path [String] the resource name of the resource to delete.
3312
+ def self.ad_group(path)
3313
+ require "google/ads/google_ads/v3/services/ad_group_service_pb.rb"
3314
+ op = Google::Ads::GoogleAds::V3::Services::AdGroupOperation.new
3315
+ op["remove"] = path
3316
+ op
3317
+ end
3318
+
3319
+ # A convenience method for creationg an AdParameterOperation instance with
3320
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3321
+ #
3322
+ # @param path [String] the resource name of the resource to delete.
3323
+ def self.ad_parameter(path)
3324
+ require "google/ads/google_ads/v3/services/ad_parameter_service_pb.rb"
3325
+ op = Google::Ads::GoogleAds::V3::Services::AdParameterOperation.new
3326
+ op["remove"] = path
3327
+ op
3328
+ end
3329
+
3330
+ # A convenience method for creationg an AssetOperation instance with
3331
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3332
+ #
3333
+ # @param path [String] the resource name of the resource to delete.
3334
+ def self.asset(path)
3335
+ require "google/ads/google_ads/v3/services/asset_service_pb.rb"
3336
+ op = Google::Ads::GoogleAds::V3::Services::AssetOperation.new
3337
+ op["remove"] = path
3338
+ op
3339
+ end
3340
+
3341
+ # A convenience method for creationg an BiddingStrategyOperation instance with
3342
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3343
+ #
3344
+ # @param path [String] the resource name of the resource to delete.
3345
+ def self.bidding_strategy(path)
3346
+ require "google/ads/google_ads/v3/services/bidding_strategy_service_pb.rb"
3347
+ op = Google::Ads::GoogleAds::V3::Services::BiddingStrategyOperation.new
3348
+ op["remove"] = path
3349
+ op
3350
+ end
3351
+
3352
+ # A convenience method for creationg an CampaignBidModifierOperation instance with
3353
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3354
+ #
3355
+ # @param path [String] the resource name of the resource to delete.
3356
+ def self.campaign_bid_modifier(path)
3357
+ require "google/ads/google_ads/v3/services/campaign_bid_modifier_service_pb.rb"
3358
+ op = Google::Ads::GoogleAds::V3::Services::CampaignBidModifierOperation.new
3359
+ op["remove"] = path
3360
+ op
3361
+ end
3362
+
3363
+ # A convenience method for creationg an CampaignBudgetOperation instance with
3364
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3365
+ #
3366
+ # @param path [String] the resource name of the resource to delete.
3367
+ def self.campaign_budget(path)
3368
+ require "google/ads/google_ads/v3/services/campaign_budget_service_pb.rb"
3369
+ op = Google::Ads::GoogleAds::V3::Services::CampaignBudgetOperation.new
3370
+ op["remove"] = path
3371
+ op
3372
+ end
3373
+
3374
+ # A convenience method for creationg an CampaignCriterionOperation instance with
3375
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3376
+ #
3377
+ # @param path [String] the resource name of the resource to delete.
3378
+ def self.campaign_criterion(path)
3379
+ require "google/ads/google_ads/v3/services/campaign_criterion_service_pb.rb"
3380
+ op = Google::Ads::GoogleAds::V3::Services::CampaignCriterionOperation.new
3381
+ op["remove"] = path
3382
+ op
3383
+ end
3384
+
3385
+ # A convenience method for creationg an CampaignDraftOperation instance with
3386
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3387
+ #
3388
+ # @param path [String] the resource name of the resource to delete.
3389
+ def self.campaign_draft(path)
3390
+ require "google/ads/google_ads/v3/services/campaign_draft_service_pb.rb"
3391
+ op = Google::Ads::GoogleAds::V3::Services::CampaignDraftOperation.new
3392
+ op["remove"] = path
3393
+ op
3394
+ end
3395
+
3396
+ # A convenience method for creationg an CampaignExperimentOperation instance with
3397
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3398
+ #
3399
+ # @param path [String] the resource name of the resource to delete.
3400
+ def self.campaign_experiment(path)
3401
+ require "google/ads/google_ads/v3/services/campaign_experiment_service_pb.rb"
3402
+ op = Google::Ads::GoogleAds::V3::Services::CampaignExperimentOperation.new
3403
+ op["remove"] = path
3404
+ op
3405
+ end
3406
+
3407
+ # A convenience method for creationg an CampaignExtensionSettingOperation instance with
3408
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3409
+ #
3410
+ # @param path [String] the resource name of the resource to delete.
3411
+ def self.campaign_extension_setting(path)
3412
+ require "google/ads/google_ads/v3/services/campaign_extension_setting_service_pb.rb"
3413
+ op = Google::Ads::GoogleAds::V3::Services::CampaignExtensionSettingOperation.new
3414
+ op["remove"] = path
3415
+ op
3416
+ end
3417
+
3418
+ # A convenience method for creationg an CampaignLabelOperation instance with
3419
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3420
+ #
3421
+ # @param path [String] the resource name of the resource to delete.
3422
+ def self.campaign_label(path)
3423
+ require "google/ads/google_ads/v3/services/campaign_label_service_pb.rb"
3424
+ op = Google::Ads::GoogleAds::V3::Services::CampaignLabelOperation.new
3425
+ op["remove"] = path
3426
+ op
3427
+ end
3428
+
3429
+ # A convenience method for creationg an CampaignOperation instance with
3430
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3431
+ #
3432
+ # @param path [String] the resource name of the resource to delete.
3433
+ def self.campaign(path)
3434
+ require "google/ads/google_ads/v3/services/campaign_service_pb.rb"
3435
+ op = Google::Ads::GoogleAds::V3::Services::CampaignOperation.new
3436
+ op["remove"] = path
3437
+ op
3438
+ end
3439
+
3440
+ # A convenience method for creationg an ConversionActionOperation instance with
3441
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3442
+ #
3443
+ # @param path [String] the resource name of the resource to delete.
3444
+ def self.conversion_action(path)
3445
+ require "google/ads/google_ads/v3/services/conversion_action_service_pb.rb"
3446
+ op = Google::Ads::GoogleAds::V3::Services::ConversionActionOperation.new
3447
+ op["remove"] = path
3448
+ op
3449
+ end
3450
+
3451
+ # A convenience method for creationg an CustomerExtensionSettingOperation instance with
3452
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3453
+ #
3454
+ # @param path [String] the resource name of the resource to delete.
3455
+ def self.customer_extension_setting(path)
3456
+ require "google/ads/google_ads/v3/services/customer_extension_setting_service_pb.rb"
3457
+ op = Google::Ads::GoogleAds::V3::Services::CustomerExtensionSettingOperation.new
3458
+ op["remove"] = path
3459
+ op
3460
+ end
3461
+
3462
+ # A convenience method for creationg an CustomerFeedOperation instance with
3463
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3464
+ #
3465
+ # @param path [String] the resource name of the resource to delete.
3466
+ def self.customer_feed(path)
3467
+ require "google/ads/google_ads/v3/services/customer_feed_service_pb.rb"
3468
+ op = Google::Ads::GoogleAds::V3::Services::CustomerFeedOperation.new
3469
+ op["remove"] = path
3470
+ op
3471
+ end
3472
+
3473
+ # A convenience method for creationg an CustomerNegativeCriterionOperation instance with
3474
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3475
+ #
3476
+ # @param path [String] the resource name of the resource to delete.
3477
+ def self.customer_negative_criterion(path)
3478
+ require "google/ads/google_ads/v3/services/customer_negative_criterion_service_pb.rb"
3479
+ op = Google::Ads::GoogleAds::V3::Services::CustomerNegativeCriterionOperation.new
3480
+ op["remove"] = path
3481
+ op
3482
+ end
3483
+
3484
+ # A convenience method for creationg an CustomerOperation instance with
3485
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3486
+ #
3487
+ # @param path [String] the resource name of the resource to delete.
3488
+ def self.customer(path)
3489
+ require "google/ads/google_ads/v3/services/customer_service_pb.rb"
3490
+ op = Google::Ads::GoogleAds::V3::Services::CustomerOperation.new
3491
+ op["remove"] = path
3492
+ op
3493
+ end
3494
+
3495
+ # A convenience method for creationg an ExtensionFeedItemOperation instance with
3496
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3497
+ #
3498
+ # @param path [String] the resource name of the resource to delete.
3499
+ def self.extension_feed_item(path)
3500
+ require "google/ads/google_ads/v3/services/extension_feed_item_service_pb.rb"
3501
+ op = Google::Ads::GoogleAds::V3::Services::ExtensionFeedItemOperation.new
3502
+ op["remove"] = path
3503
+ op
3504
+ end
3505
+
3506
+ # A convenience method for creationg an FeedItemOperation instance with
3507
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3508
+ #
3509
+ # @param path [String] the resource name of the resource to delete.
3510
+ def self.feed_item(path)
3511
+ require "google/ads/google_ads/v3/services/feed_item_service_pb.rb"
3512
+ op = Google::Ads::GoogleAds::V3::Services::FeedItemOperation.new
3513
+ op["remove"] = path
3514
+ op
3515
+ end
3516
+
3517
+ # A convenience method for creationg an FeedItemTargetOperation instance with
3518
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3519
+ #
3520
+ # @param path [String] the resource name of the resource to delete.
3521
+ def self.feed_item_target(path)
3522
+ require "google/ads/google_ads/v3/services/feed_item_target_service_pb.rb"
3523
+ op = Google::Ads::GoogleAds::V3::Services::FeedItemTargetOperation.new
3524
+ op["remove"] = path
3525
+ op
3526
+ end
3527
+
3528
+ # A convenience method for creationg an FeedMappingOperation instance with
3529
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3530
+ #
3531
+ # @param path [String] the resource name of the resource to delete.
3532
+ def self.feed_mapping(path)
3533
+ require "google/ads/google_ads/v3/services/feed_mapping_service_pb.rb"
3534
+ op = Google::Ads::GoogleAds::V3::Services::FeedMappingOperation.new
3535
+ op["remove"] = path
3536
+ op
3537
+ end
3538
+
3539
+ # A convenience method for creationg an LabelOperation instance with
3540
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3541
+ #
3542
+ # @param path [String] the resource name of the resource to delete.
3543
+ def self.label(path)
3544
+ require "google/ads/google_ads/v3/services/label_service_pb.rb"
3545
+ op = Google::Ads::GoogleAds::V3::Services::LabelOperation.new
3546
+ op["remove"] = path
3547
+ op
3548
+ end
3549
+
3550
+ # A convenience method for creationg an MediaFileOperation instance with
3551
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3552
+ #
3553
+ # @param path [String] the resource name of the resource to delete.
3554
+ def self.media_file(path)
3555
+ require "google/ads/google_ads/v3/services/media_file_service_pb.rb"
3556
+ op = Google::Ads::GoogleAds::V3::Services::MediaFileOperation.new
3557
+ op["remove"] = path
3558
+ op
3559
+ end
3560
+
3561
+ # A convenience method for creationg an UserListOperation instance with
3562
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3563
+ #
3564
+ # @param path [String] the resource name of the resource to delete.
3565
+ def self.user_list(path)
3566
+ require "google/ads/google_ads/v3/services/user_list_service_pb.rb"
3567
+ op = Google::Ads::GoogleAds::V3::Services::UserListOperation.new
3568
+ op["remove"] = path
3569
+ op
3570
+ end
3571
+
3572
+ # A convenience method for creationg an MutateOperation instance with
3573
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3574
+ #
3575
+ # @param path [String] the resource name of the resource to delete.
3576
+ def self.mutate(path)
3577
+ require "google/ads/google_ads/v3/services/google_ads_service_pb.rb"
3578
+ op = Google::Ads::GoogleAds::V3::Services::MutateOperation.new
3579
+ op["remove"] = path
3580
+ op
3581
+ end
3582
+
3583
+ # A convenience method for creationg an KeywordPlanKeywordOperation instance with
3584
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3585
+ #
3586
+ # @param path [String] the resource name of the resource to delete.
3587
+ def self.keyword_plan_keyword(path)
3588
+ require "google/ads/google_ads/v3/services/keyword_plan_keyword_service_pb.rb"
3589
+ op = Google::Ads::GoogleAds::V3::Services::KeywordPlanKeywordOperation.new
3590
+ op["remove"] = path
3591
+ op
3592
+ end
3593
+
3594
+ # A convenience method for creationg an KeywordPlanAdGroupOperation instance with
3595
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3596
+ #
3597
+ # @param path [String] the resource name of the resource to delete.
3598
+ def self.keyword_plan_ad_group(path)
3599
+ require "google/ads/google_ads/v3/services/keyword_plan_ad_group_service_pb.rb"
3600
+ op = Google::Ads::GoogleAds::V3::Services::KeywordPlanAdGroupOperation.new
3601
+ op["remove"] = path
3602
+ op
3603
+ end
3604
+
3605
+ # A convenience method for creationg an BillingSetupOperation instance with
3606
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3607
+ #
3608
+ # @param path [String] the resource name of the resource to delete.
3609
+ def self.billing_setup(path)
3610
+ require "google/ads/google_ads/v3/services/billing_setup_service_pb.rb"
3611
+ op = Google::Ads::GoogleAds::V3::Services::BillingSetupOperation.new
3612
+ op["remove"] = path
3613
+ op
3614
+ end
3615
+
3616
+ # A convenience method for creationg an CustomInterestOperation instance with
3617
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3618
+ #
3619
+ # @param path [String] the resource name of the resource to delete.
3620
+ def self.custom_interest(path)
3621
+ require "google/ads/google_ads/v3/services/custom_interest_service_pb.rb"
3622
+ op = Google::Ads::GoogleAds::V3::Services::CustomInterestOperation.new
3623
+ op["remove"] = path
3624
+ op
3625
+ end
3626
+
3627
+ # A convenience method for creationg an KeywordPlanNegativeKeywordOperation instance with
3628
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3629
+ #
3630
+ # @param path [String] the resource name of the resource to delete.
3631
+ def self.keyword_plan_negative_keyword(path)
3632
+ require "google/ads/google_ads/v3/services/keyword_plan_negative_keyword_service_pb.rb"
3633
+ op = Google::Ads::GoogleAds::V3::Services::KeywordPlanNegativeKeywordOperation.new
3634
+ op["remove"] = path
3635
+ op
3636
+ end
3637
+
3638
+ # A convenience method for creationg an AdOperation instance with
3639
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3640
+ #
3641
+ # @param path [String] the resource name of the resource to delete.
3642
+ def self.ad(path)
3643
+ require "google/ads/google_ads/v3/services/ad_service_pb.rb"
3644
+ op = Google::Ads::GoogleAds::V3::Services::AdOperation.new
3645
+ op["remove"] = path
3646
+ op
3647
+ end
3648
+
3649
+ # A convenience method for creationg an KeywordPlanOperation instance with
3650
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3651
+ #
3652
+ # @param path [String] the resource name of the resource to delete.
3653
+ def self.keyword_plan(path)
3654
+ require "google/ads/google_ads/v3/services/keyword_plan_service_pb.rb"
3655
+ op = Google::Ads::GoogleAds::V3::Services::KeywordPlanOperation.new
3656
+ op["remove"] = path
3657
+ op
3658
+ end
3659
+
3660
+ # A convenience method for creationg an ApplyRecommendationOperation instance with
3661
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3662
+ #
3663
+ # @param path [String] the resource name of the resource to delete.
3664
+ def self.apply_recommendation(path)
3665
+ require "google/ads/google_ads/v3/services/recommendation_service_pb.rb"
3666
+ op = Google::Ads::GoogleAds::V3::Services::ApplyRecommendationOperation.new
3667
+ op["remove"] = path
3668
+ op
3669
+ end
3670
+
3671
+ # A convenience method for creationg an DismissRecommendationOperation instance with
3672
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3673
+ #
3674
+ # @param path [String] the resource name of the resource to delete.
3675
+ def self.dismiss_recommendation(path)
3676
+ require "google/ads/google_ads/v3/services/recommendation_service_pb.rb"
3677
+ op = Google::Ads::GoogleAds::V3::Services::DismissRecommendationRequest::DismissRecommendationOperation.new
3678
+ op["remove"] = path
3679
+ op
3680
+ end
3681
+
3682
+ # A convenience method for creationg an AccountBudgetProposalOperation instance with
3683
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3684
+ #
3685
+ # @param path [String] the resource name of the resource to delete.
3686
+ def self.account_budget_proposal(path)
3687
+ require "google/ads/google_ads/v3/services/account_budget_proposal_service_pb.rb"
3688
+ op = Google::Ads::GoogleAds::V3::Services::AccountBudgetProposalOperation.new
3689
+ op["remove"] = path
3690
+ op
3691
+ end
3692
+ end
3693
+ end
3694
+ end
3695
+ end
3696
+ end
3697
+ end
3698
+ end