google-ads-googleads 5.0.0 → 5.1.0

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