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
@@ -28,76 +28,84 @@ module Google
28
28
  Google::Ads::GoogleAds::V3::Services::AdGroupCriterionLabelOperation.new
29
29
  end
30
30
 
31
- # Create a new CustomerManagerLinkOperation
31
+ # Create a new CustomInterestOperation
32
32
  #
33
- # @return [Google::Ads::GoogleAds::V3::Services::CustomerManagerLinkOperation] the operation
34
- def self.customer_manager_link
35
- require "google/ads/google_ads/v3/services/customer_manager_link_service_pb.rb"
36
- Google::Ads::GoogleAds::V3::Services::CustomerManagerLinkOperation.new
33
+ # @return [Google::Ads::GoogleAds::V3::Services::CustomInterestOperation] the operation
34
+ def self.custom_interest
35
+ require "google/ads/google_ads/v3/services/custom_interest_service_pb.rb"
36
+ Google::Ads::GoogleAds::V3::Services::CustomInterestOperation.new
37
37
  end
38
38
 
39
- # Create a new KeywordPlanCampaignOperation
39
+ # Create a new CustomerNegativeCriterionOperation
40
40
  #
41
- # @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanCampaignOperation] the operation
42
- def self.keyword_plan_campaign
43
- require "google/ads/google_ads/v3/services/keyword_plan_campaign_service_pb.rb"
44
- Google::Ads::GoogleAds::V3::Services::KeywordPlanCampaignOperation.new
41
+ # @return [Google::Ads::GoogleAds::V3::Services::CustomerNegativeCriterionOperation] the operation
42
+ def self.customer_negative_criterion
43
+ require "google/ads/google_ads/v3/services/customer_negative_criterion_service_pb.rb"
44
+ Google::Ads::GoogleAds::V3::Services::CustomerNegativeCriterionOperation.new
45
45
  end
46
46
 
47
- # Create a new SharedSetOperation
47
+ # Create a new SharedCriterionOperation
48
48
  #
49
- # @return [Google::Ads::GoogleAds::V3::Services::SharedSetOperation] the operation
50
- def self.shared_set
51
- require "google/ads/google_ads/v3/services/shared_set_service_pb.rb"
52
- Google::Ads::GoogleAds::V3::Services::SharedSetOperation.new
49
+ # @return [Google::Ads::GoogleAds::V3::Services::SharedCriterionOperation] the operation
50
+ def self.shared_criterion
51
+ require "google/ads/google_ads/v3/services/shared_criterion_service_pb.rb"
52
+ Google::Ads::GoogleAds::V3::Services::SharedCriterionOperation.new
53
53
  end
54
54
 
55
- # Create a new FeedOperation
55
+ # Create a new FeedMappingOperation
56
56
  #
57
- # @return [Google::Ads::GoogleAds::V3::Services::FeedOperation] the operation
58
- def self.feed
59
- require "google/ads/google_ads/v3/services/feed_service_pb.rb"
60
- Google::Ads::GoogleAds::V3::Services::FeedOperation.new
57
+ # @return [Google::Ads::GoogleAds::V3::Services::FeedMappingOperation] the operation
58
+ def self.feed_mapping
59
+ require "google/ads/google_ads/v3/services/feed_mapping_service_pb.rb"
60
+ Google::Ads::GoogleAds::V3::Services::FeedMappingOperation.new
61
61
  end
62
62
 
63
- # Create a new AdGroupAdLabelOperation
63
+ # Create a new AdGroupOperation
64
64
  #
65
- # @return [Google::Ads::GoogleAds::V3::Services::AdGroupAdLabelOperation] the operation
66
- def self.ad_group_ad_label
67
- require "google/ads/google_ads/v3/services/ad_group_ad_label_service_pb.rb"
68
- Google::Ads::GoogleAds::V3::Services::AdGroupAdLabelOperation.new
65
+ # @return [Google::Ads::GoogleAds::V3::Services::AdGroupOperation] the operation
66
+ def self.ad_group
67
+ require "google/ads/google_ads/v3/services/ad_group_service_pb.rb"
68
+ Google::Ads::GoogleAds::V3::Services::AdGroupOperation.new
69
69
  end
70
70
 
71
- # Create a new CustomerClientLinkOperation
71
+ # Create a new ExtensionFeedItemOperation
72
72
  #
73
- # @return [Google::Ads::GoogleAds::V3::Services::CustomerClientLinkOperation] the operation
74
- def self.customer_client_link
75
- require "google/ads/google_ads/v3/services/customer_client_link_service_pb.rb"
76
- Google::Ads::GoogleAds::V3::Services::CustomerClientLinkOperation.new
73
+ # @return [Google::Ads::GoogleAds::V3::Services::ExtensionFeedItemOperation] the operation
74
+ def self.extension_feed_item
75
+ require "google/ads/google_ads/v3/services/extension_feed_item_service_pb.rb"
76
+ Google::Ads::GoogleAds::V3::Services::ExtensionFeedItemOperation.new
77
77
  end
78
78
 
79
- # Create a new CampaignSharedSetOperation
79
+ # Create a new CampaignBidModifierOperation
80
80
  #
81
- # @return [Google::Ads::GoogleAds::V3::Services::CampaignSharedSetOperation] the operation
82
- def self.campaign_shared_set
83
- require "google/ads/google_ads/v3/services/campaign_shared_set_service_pb.rb"
84
- Google::Ads::GoogleAds::V3::Services::CampaignSharedSetOperation.new
81
+ # @return [Google::Ads::GoogleAds::V3::Services::CampaignBidModifierOperation] the operation
82
+ def self.campaign_bid_modifier
83
+ require "google/ads/google_ads/v3/services/campaign_bid_modifier_service_pb.rb"
84
+ Google::Ads::GoogleAds::V3::Services::CampaignBidModifierOperation.new
85
85
  end
86
86
 
87
- # Create a new MerchantCenterLinkOperation
87
+ # Create a new CampaignDraftOperation
88
88
  #
89
- # @return [Google::Ads::GoogleAds::V3::Services::MerchantCenterLinkOperation] the operation
90
- def self.merchant_center_link
91
- require "google/ads/google_ads/v3/services/merchant_center_link_service_pb.rb"
92
- Google::Ads::GoogleAds::V3::Services::MerchantCenterLinkOperation.new
89
+ # @return [Google::Ads::GoogleAds::V3::Services::CampaignDraftOperation] the operation
90
+ def self.campaign_draft
91
+ require "google/ads/google_ads/v3/services/campaign_draft_service_pb.rb"
92
+ Google::Ads::GoogleAds::V3::Services::CampaignDraftOperation.new
93
93
  end
94
94
 
95
- # Create a new AdGroupBidModifierOperation
95
+ # Create a new CustomerOperation
96
96
  #
97
- # @return [Google::Ads::GoogleAds::V3::Services::AdGroupBidModifierOperation] the operation
98
- def self.ad_group_bid_modifier
99
- require "google/ads/google_ads/v3/services/ad_group_bid_modifier_service_pb.rb"
100
- Google::Ads::GoogleAds::V3::Services::AdGroupBidModifierOperation.new
97
+ # @return [Google::Ads::GoogleAds::V3::Services::CustomerOperation] the operation
98
+ def self.customer
99
+ require "google/ads/google_ads/v3/services/customer_service_pb.rb"
100
+ Google::Ads::GoogleAds::V3::Services::CustomerOperation.new
101
+ end
102
+
103
+ # Create a new SharedSetOperation
104
+ #
105
+ # @return [Google::Ads::GoogleAds::V3::Services::SharedSetOperation] the operation
106
+ def self.shared_set
107
+ require "google/ads/google_ads/v3/services/shared_set_service_pb.rb"
108
+ Google::Ads::GoogleAds::V3::Services::SharedSetOperation.new
101
109
  end
102
110
 
103
111
  # Create a new CampaignFeedOperation
@@ -108,36 +116,20 @@ module Google
108
116
  Google::Ads::GoogleAds::V3::Services::CampaignFeedOperation.new
109
117
  end
110
118
 
111
- # Create a new SharedCriterionOperation
112
- #
113
- # @return [Google::Ads::GoogleAds::V3::Services::SharedCriterionOperation] the operation
114
- def self.shared_criterion
115
- require "google/ads/google_ads/v3/services/shared_criterion_service_pb.rb"
116
- Google::Ads::GoogleAds::V3::Services::SharedCriterionOperation.new
117
- end
118
-
119
- # Create a new RemarketingActionOperation
120
- #
121
- # @return [Google::Ads::GoogleAds::V3::Services::RemarketingActionOperation] the operation
122
- def self.remarketing_action
123
- require "google/ads/google_ads/v3/services/remarketing_action_service_pb.rb"
124
- Google::Ads::GoogleAds::V3::Services::RemarketingActionOperation.new
125
- end
126
-
127
- # Create a new AdGroupLabelOperation
119
+ # Create a new LabelOperation
128
120
  #
129
- # @return [Google::Ads::GoogleAds::V3::Services::AdGroupLabelOperation] the operation
130
- def self.ad_group_label
131
- require "google/ads/google_ads/v3/services/ad_group_label_service_pb.rb"
132
- Google::Ads::GoogleAds::V3::Services::AdGroupLabelOperation.new
121
+ # @return [Google::Ads::GoogleAds::V3::Services::LabelOperation] the operation
122
+ def self.label
123
+ require "google/ads/google_ads/v3/services/label_service_pb.rb"
124
+ Google::Ads::GoogleAds::V3::Services::LabelOperation.new
133
125
  end
134
126
 
135
- # Create a new CustomerLabelOperation
127
+ # Create a new AdGroupAdLabelOperation
136
128
  #
137
- # @return [Google::Ads::GoogleAds::V3::Services::CustomerLabelOperation] the operation
138
- def self.customer_label
139
- require "google/ads/google_ads/v3/services/customer_label_service_pb.rb"
140
- Google::Ads::GoogleAds::V3::Services::CustomerLabelOperation.new
129
+ # @return [Google::Ads::GoogleAds::V3::Services::AdGroupAdLabelOperation] the operation
130
+ def self.ad_group_ad_label
131
+ require "google/ads/google_ads/v3/services/ad_group_ad_label_service_pb.rb"
132
+ Google::Ads::GoogleAds::V3::Services::AdGroupAdLabelOperation.new
141
133
  end
142
134
 
143
135
  # Create a new AdGroupAdOperation
@@ -148,6 +140,14 @@ module Google
148
140
  Google::Ads::GoogleAds::V3::Services::AdGroupAdOperation.new
149
141
  end
150
142
 
143
+ # Create a new AdGroupBidModifierOperation
144
+ #
145
+ # @return [Google::Ads::GoogleAds::V3::Services::AdGroupBidModifierOperation] the operation
146
+ def self.ad_group_bid_modifier
147
+ require "google/ads/google_ads/v3/services/ad_group_bid_modifier_service_pb.rb"
148
+ Google::Ads::GoogleAds::V3::Services::AdGroupBidModifierOperation.new
149
+ end
150
+
151
151
  # Create a new AdGroupCriterionOperation
152
152
  #
153
153
  # @return [Google::Ads::GoogleAds::V3::Services::AdGroupCriterionOperation] the operation
@@ -172,12 +172,12 @@ module Google
172
172
  Google::Ads::GoogleAds::V3::Services::AdGroupFeedOperation.new
173
173
  end
174
174
 
175
- # Create a new AdGroupOperation
175
+ # Create a new AdGroupLabelOperation
176
176
  #
177
- # @return [Google::Ads::GoogleAds::V3::Services::AdGroupOperation] the operation
178
- def self.ad_group
179
- require "google/ads/google_ads/v3/services/ad_group_service_pb.rb"
180
- Google::Ads::GoogleAds::V3::Services::AdGroupOperation.new
177
+ # @return [Google::Ads::GoogleAds::V3::Services::AdGroupLabelOperation] the operation
178
+ def self.ad_group_label
179
+ require "google/ads/google_ads/v3/services/ad_group_label_service_pb.rb"
180
+ Google::Ads::GoogleAds::V3::Services::AdGroupLabelOperation.new
181
181
  end
182
182
 
183
183
  # Create a new AdParameterOperation
@@ -188,6 +188,14 @@ module Google
188
188
  Google::Ads::GoogleAds::V3::Services::AdParameterOperation.new
189
189
  end
190
190
 
191
+ # Create a new AdOperation
192
+ #
193
+ # @return [Google::Ads::GoogleAds::V3::Services::AdOperation] the operation
194
+ def self.ad
195
+ require "google/ads/google_ads/v3/services/ad_service_pb.rb"
196
+ Google::Ads::GoogleAds::V3::Services::AdOperation.new
197
+ end
198
+
191
199
  # Create a new AssetOperation
192
200
  #
193
201
  # @return [Google::Ads::GoogleAds::V3::Services::AssetOperation] the operation
@@ -204,14 +212,6 @@ module Google
204
212
  Google::Ads::GoogleAds::V3::Services::BiddingStrategyOperation.new
205
213
  end
206
214
 
207
- # Create a new CampaignBidModifierOperation
208
- #
209
- # @return [Google::Ads::GoogleAds::V3::Services::CampaignBidModifierOperation] the operation
210
- def self.campaign_bid_modifier
211
- require "google/ads/google_ads/v3/services/campaign_bid_modifier_service_pb.rb"
212
- Google::Ads::GoogleAds::V3::Services::CampaignBidModifierOperation.new
213
- end
214
-
215
215
  # Create a new CampaignBudgetOperation
216
216
  #
217
217
  # @return [Google::Ads::GoogleAds::V3::Services::CampaignBudgetOperation] the operation
@@ -228,14 +228,6 @@ module Google
228
228
  Google::Ads::GoogleAds::V3::Services::CampaignCriterionOperation.new
229
229
  end
230
230
 
231
- # Create a new CampaignDraftOperation
232
- #
233
- # @return [Google::Ads::GoogleAds::V3::Services::CampaignDraftOperation] the operation
234
- def self.campaign_draft
235
- require "google/ads/google_ads/v3/services/campaign_draft_service_pb.rb"
236
- Google::Ads::GoogleAds::V3::Services::CampaignDraftOperation.new
237
- end
238
-
239
231
  # Create a new CampaignExperimentOperation
240
232
  #
241
233
  # @return [Google::Ads::GoogleAds::V3::Services::CampaignExperimentOperation] the operation
@@ -268,6 +260,14 @@ module Google
268
260
  Google::Ads::GoogleAds::V3::Services::CampaignOperation.new
269
261
  end
270
262
 
263
+ # Create a new CampaignSharedSetOperation
264
+ #
265
+ # @return [Google::Ads::GoogleAds::V3::Services::CampaignSharedSetOperation] the operation
266
+ def self.campaign_shared_set
267
+ require "google/ads/google_ads/v3/services/campaign_shared_set_service_pb.rb"
268
+ Google::Ads::GoogleAds::V3::Services::CampaignSharedSetOperation.new
269
+ end
270
+
271
271
  # Create a new ConversionActionOperation
272
272
  #
273
273
  # @return [Google::Ads::GoogleAds::V3::Services::ConversionActionOperation] the operation
@@ -292,28 +292,12 @@ module Google
292
292
  Google::Ads::GoogleAds::V3::Services::CustomerFeedOperation.new
293
293
  end
294
294
 
295
- # Create a new CustomerNegativeCriterionOperation
296
- #
297
- # @return [Google::Ads::GoogleAds::V3::Services::CustomerNegativeCriterionOperation] the operation
298
- def self.customer_negative_criterion
299
- require "google/ads/google_ads/v3/services/customer_negative_criterion_service_pb.rb"
300
- Google::Ads::GoogleAds::V3::Services::CustomerNegativeCriterionOperation.new
301
- end
302
-
303
- # Create a new CustomerOperation
304
- #
305
- # @return [Google::Ads::GoogleAds::V3::Services::CustomerOperation] the operation
306
- def self.customer
307
- require "google/ads/google_ads/v3/services/customer_service_pb.rb"
308
- Google::Ads::GoogleAds::V3::Services::CustomerOperation.new
309
- end
310
-
311
- # Create a new ExtensionFeedItemOperation
295
+ # Create a new CustomerLabelOperation
312
296
  #
313
- # @return [Google::Ads::GoogleAds::V3::Services::ExtensionFeedItemOperation] the operation
314
- def self.extension_feed_item
315
- require "google/ads/google_ads/v3/services/extension_feed_item_service_pb.rb"
316
- Google::Ads::GoogleAds::V3::Services::ExtensionFeedItemOperation.new
297
+ # @return [Google::Ads::GoogleAds::V3::Services::CustomerLabelOperation] the operation
298
+ def self.customer_label
299
+ require "google/ads/google_ads/v3/services/customer_label_service_pb.rb"
300
+ Google::Ads::GoogleAds::V3::Services::CustomerLabelOperation.new
317
301
  end
318
302
 
319
303
  # Create a new FeedItemOperation
@@ -332,20 +316,12 @@ module Google
332
316
  Google::Ads::GoogleAds::V3::Services::FeedItemTargetOperation.new
333
317
  end
334
318
 
335
- # Create a new FeedMappingOperation
336
- #
337
- # @return [Google::Ads::GoogleAds::V3::Services::FeedMappingOperation] the operation
338
- def self.feed_mapping
339
- require "google/ads/google_ads/v3/services/feed_mapping_service_pb.rb"
340
- Google::Ads::GoogleAds::V3::Services::FeedMappingOperation.new
341
- end
342
-
343
- # Create a new LabelOperation
319
+ # Create a new FeedOperation
344
320
  #
345
- # @return [Google::Ads::GoogleAds::V3::Services::LabelOperation] the operation
346
- def self.label
347
- require "google/ads/google_ads/v3/services/label_service_pb.rb"
348
- Google::Ads::GoogleAds::V3::Services::LabelOperation.new
321
+ # @return [Google::Ads::GoogleAds::V3::Services::FeedOperation] the operation
322
+ def self.feed
323
+ require "google/ads/google_ads/v3/services/feed_service_pb.rb"
324
+ Google::Ads::GoogleAds::V3::Services::FeedOperation.new
349
325
  end
350
326
 
351
327
  # Create a new MediaFileOperation
@@ -356,6 +332,14 @@ module Google
356
332
  Google::Ads::GoogleAds::V3::Services::MediaFileOperation.new
357
333
  end
358
334
 
335
+ # Create a new RemarketingActionOperation
336
+ #
337
+ # @return [Google::Ads::GoogleAds::V3::Services::RemarketingActionOperation] the operation
338
+ def self.remarketing_action
339
+ require "google/ads/google_ads/v3/services/remarketing_action_service_pb.rb"
340
+ Google::Ads::GoogleAds::V3::Services::RemarketingActionOperation.new
341
+ end
342
+
359
343
  # Create a new UserListOperation
360
344
  #
361
345
  # @return [Google::Ads::GoogleAds::V3::Services::UserListOperation] the operation
@@ -372,12 +356,20 @@ module Google
372
356
  Google::Ads::GoogleAds::V3::Services::MutateOperation.new
373
357
  end
374
358
 
375
- # Create a new KeywordPlanKeywordOperation
359
+ # Create a new CustomerClientLinkOperation
376
360
  #
377
- # @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanKeywordOperation] the operation
378
- def self.keyword_plan_keyword
379
- require "google/ads/google_ads/v3/services/keyword_plan_keyword_service_pb.rb"
380
- Google::Ads::GoogleAds::V3::Services::KeywordPlanKeywordOperation.new
361
+ # @return [Google::Ads::GoogleAds::V3::Services::CustomerClientLinkOperation] the operation
362
+ def self.customer_client_link
363
+ require "google/ads/google_ads/v3/services/customer_client_link_service_pb.rb"
364
+ Google::Ads::GoogleAds::V3::Services::CustomerClientLinkOperation.new
365
+ end
366
+
367
+ # Create a new UserDataOperation
368
+ #
369
+ # @return [Google::Ads::GoogleAds::V3::Services::UserDataOperation] the operation
370
+ def self.user_data
371
+ require "google/ads/google_ads/v3/services/user_data_service_pb.rb"
372
+ Google::Ads::GoogleAds::V3::Services::UserDataOperation.new
381
373
  end
382
374
 
383
375
  # Create a new KeywordPlanAdGroupOperation
@@ -388,23 +380,7 @@ module Google
388
380
  Google::Ads::GoogleAds::V3::Services::KeywordPlanAdGroupOperation.new
389
381
  end
390
382
 
391
- # Create a new BillingSetupOperation
392
- #
393
- # @return [Google::Ads::GoogleAds::V3::Services::BillingSetupOperation] the operation
394
- def self.billing_setup
395
- require "google/ads/google_ads/v3/services/billing_setup_service_pb.rb"
396
- Google::Ads::GoogleAds::V3::Services::BillingSetupOperation.new
397
- end
398
-
399
- # Create a new CustomInterestOperation
400
- #
401
- # @return [Google::Ads::GoogleAds::V3::Services::CustomInterestOperation] the operation
402
- def self.custom_interest
403
- require "google/ads/google_ads/v3/services/custom_interest_service_pb.rb"
404
- Google::Ads::GoogleAds::V3::Services::CustomInterestOperation.new
405
- end
406
-
407
- # Create a new KeywordPlanNegativeKeywordOperation
383
+ # Create a new KeywordPlanNegativeKeywordOperation
408
384
  #
409
385
  # @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanNegativeKeywordOperation] the operation
410
386
  def self.keyword_plan_negative_keyword
@@ -412,14 +388,6 @@ module Google
412
388
  Google::Ads::GoogleAds::V3::Services::KeywordPlanNegativeKeywordOperation.new
413
389
  end
414
390
 
415
- # Create a new AdOperation
416
- #
417
- # @return [Google::Ads::GoogleAds::V3::Services::AdOperation] the operation
418
- def self.ad
419
- require "google/ads/google_ads/v3/services/ad_service_pb.rb"
420
- Google::Ads::GoogleAds::V3::Services::AdOperation.new
421
- end
422
-
423
391
  # Create a new KeywordPlanOperation
424
392
  #
425
393
  # @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanOperation] the operation
@@ -428,6 +396,22 @@ module Google
428
396
  Google::Ads::GoogleAds::V3::Services::KeywordPlanOperation.new
429
397
  end
430
398
 
399
+ # Create a new KeywordPlanKeywordOperation
400
+ #
401
+ # @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanKeywordOperation] the operation
402
+ def self.keyword_plan_keyword
403
+ require "google/ads/google_ads/v3/services/keyword_plan_keyword_service_pb.rb"
404
+ Google::Ads::GoogleAds::V3::Services::KeywordPlanKeywordOperation.new
405
+ end
406
+
407
+ # Create a new KeywordPlanCampaignOperation
408
+ #
409
+ # @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanCampaignOperation] the operation
410
+ def self.keyword_plan_campaign
411
+ require "google/ads/google_ads/v3/services/keyword_plan_campaign_service_pb.rb"
412
+ Google::Ads::GoogleAds::V3::Services::KeywordPlanCampaignOperation.new
413
+ end
414
+
431
415
  # Create a new ApplyRecommendationOperation
432
416
  #
433
417
  # @return [Google::Ads::GoogleAds::V3::Services::ApplyRecommendationOperation] the operation
@@ -452,6 +436,38 @@ module Google
452
436
  Google::Ads::GoogleAds::V3::Services::AccountBudgetProposalOperation.new
453
437
  end
454
438
 
439
+ # Create a new CustomerManagerLinkOperation
440
+ #
441
+ # @return [Google::Ads::GoogleAds::V3::Services::CustomerManagerLinkOperation] the operation
442
+ def self.customer_manager_link
443
+ require "google/ads/google_ads/v3/services/customer_manager_link_service_pb.rb"
444
+ Google::Ads::GoogleAds::V3::Services::CustomerManagerLinkOperation.new
445
+ end
446
+
447
+ # Create a new BillingSetupOperation
448
+ #
449
+ # @return [Google::Ads::GoogleAds::V3::Services::BillingSetupOperation] the operation
450
+ def self.billing_setup
451
+ require "google/ads/google_ads/v3/services/billing_setup_service_pb.rb"
452
+ Google::Ads::GoogleAds::V3::Services::BillingSetupOperation.new
453
+ end
454
+
455
+ # Create a new MerchantCenterLinkOperation
456
+ #
457
+ # @return [Google::Ads::GoogleAds::V3::Services::MerchantCenterLinkOperation] the operation
458
+ def self.merchant_center_link
459
+ require "google/ads/google_ads/v3/services/merchant_center_link_service_pb.rb"
460
+ Google::Ads::GoogleAds::V3::Services::MerchantCenterLinkOperation.new
461
+ end
462
+
463
+ # Create a new OfflineUserDataJobOperation
464
+ #
465
+ # @return [Google::Ads::GoogleAds::V3::Services::OfflineUserDataJobOperation] the operation
466
+ def self.offline_user_data_job
467
+ require "google/ads/google_ads/v3/services/offline_user_data_job_service_pb.rb"
468
+ Google::Ads::GoogleAds::V3::Services::OfflineUserDataJobOperation.new
469
+ end
470
+
455
471
  # Get a reference module containing convenience methods for creating
456
472
  # resources
457
473
  #
@@ -502,301 +518,301 @@ module Google
502
518
  op
503
519
  end
504
520
 
505
- # A convenience method for creating an KeywordPlanCampaignOperation instance with
506
- # its "create" field prepopulated with an KeywordPlanCampaign instance.
521
+ # A convenience method for creating an CustomInterestOperation instance with
522
+ # its "create" field prepopulated with an CustomInterest instance.
507
523
  #
508
- # @overload keyword_plan_campaign
509
- # creates an operation instance, yielding a newly fabricated KeywordPlanCampaign
524
+ # @overload custom_interest
525
+ # creates an operation instance, yielding a newly fabricated CustomInterest
510
526
  # which can be used for setting attributes on the newly created resource
511
- # @overload keyword_plan_campaign(res)
527
+ # @overload custom_interest(res)
512
528
  # creates an operation instance, with the resource to be created
513
529
  # set to the passed value (res)
514
- # @param res [Google::Ads::GoogleAds::V3::Resources::KeywordPlanCampaign]
530
+ # @param res [Google::Ads::GoogleAds::V3::Resources::CustomInterest]
515
531
  # a resource instance to be used for creation in this operation.
516
532
  #
517
- # @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanCampaignOperation] instance that will create the resource
518
- def self.keyword_plan_campaign(res = nil, &blk)
519
- require "google/ads/google_ads/v3/services/keyword_plan_campaign_service_pb.rb"
520
- op = Google::Ads::GoogleAds::V3::Services::KeywordPlanCampaignOperation.new
533
+ # @return [Google::Ads::GoogleAds::V3::Services::CustomInterestOperation] instance that will create the resource
534
+ def self.custom_interest(res = nil, &blk)
535
+ require "google/ads/google_ads/v3/services/custom_interest_service_pb.rb"
536
+ op = Google::Ads::GoogleAds::V3::Services::CustomInterestOperation.new
521
537
  if !res.nil?
522
538
  op["create"] = res
523
539
  elsif !blk.nil?
524
- op["create"] = Factories::V3::Resources.keyword_plan_campaign(&blk)
540
+ op["create"] = Factories::V3::Resources.custom_interest(&blk)
525
541
  end
526
542
 
527
543
  op
528
544
  end
529
545
 
530
- # A convenience method for creating an SharedSetOperation instance with
531
- # its "create" field prepopulated with an SharedSet instance.
546
+ # A convenience method for creating an CustomerNegativeCriterionOperation instance with
547
+ # its "create" field prepopulated with an CustomerNegativeCriterion instance.
532
548
  #
533
- # @overload shared_set
534
- # creates an operation instance, yielding a newly fabricated SharedSet
549
+ # @overload customer_negative_criterion
550
+ # creates an operation instance, yielding a newly fabricated CustomerNegativeCriterion
535
551
  # which can be used for setting attributes on the newly created resource
536
- # @overload shared_set(res)
552
+ # @overload customer_negative_criterion(res)
537
553
  # creates an operation instance, with the resource to be created
538
554
  # set to the passed value (res)
539
- # @param res [Google::Ads::GoogleAds::V3::Resources::SharedSet]
555
+ # @param res [Google::Ads::GoogleAds::V3::Resources::CustomerNegativeCriterion]
540
556
  # a resource instance to be used for creation in this operation.
541
557
  #
542
- # @return [Google::Ads::GoogleAds::V3::Services::SharedSetOperation] instance that will create the resource
543
- def self.shared_set(res = nil, &blk)
544
- require "google/ads/google_ads/v3/services/shared_set_service_pb.rb"
545
- op = Google::Ads::GoogleAds::V3::Services::SharedSetOperation.new
558
+ # @return [Google::Ads::GoogleAds::V3::Services::CustomerNegativeCriterionOperation] instance that will create the resource
559
+ def self.customer_negative_criterion(res = nil, &blk)
560
+ require "google/ads/google_ads/v3/services/customer_negative_criterion_service_pb.rb"
561
+ op = Google::Ads::GoogleAds::V3::Services::CustomerNegativeCriterionOperation.new
546
562
  if !res.nil?
547
563
  op["create"] = res
548
564
  elsif !blk.nil?
549
- op["create"] = Factories::V3::Resources.shared_set(&blk)
565
+ op["create"] = Factories::V3::Resources.customer_negative_criterion(&blk)
550
566
  end
551
567
 
552
568
  op
553
569
  end
554
570
 
555
- # A convenience method for creating an FeedOperation instance with
556
- # its "create" field prepopulated with an Feed instance.
571
+ # A convenience method for creating an SharedCriterionOperation instance with
572
+ # its "create" field prepopulated with an SharedCriterion instance.
557
573
  #
558
- # @overload feed
559
- # creates an operation instance, yielding a newly fabricated Feed
574
+ # @overload shared_criterion
575
+ # creates an operation instance, yielding a newly fabricated SharedCriterion
560
576
  # which can be used for setting attributes on the newly created resource
561
- # @overload feed(res)
577
+ # @overload shared_criterion(res)
562
578
  # creates an operation instance, with the resource to be created
563
579
  # set to the passed value (res)
564
- # @param res [Google::Ads::GoogleAds::V3::Resources::Feed]
580
+ # @param res [Google::Ads::GoogleAds::V3::Resources::SharedCriterion]
565
581
  # a resource instance to be used for creation in this operation.
566
582
  #
567
- # @return [Google::Ads::GoogleAds::V3::Services::FeedOperation] instance that will create the resource
568
- def self.feed(res = nil, &blk)
569
- require "google/ads/google_ads/v3/services/feed_service_pb.rb"
570
- op = Google::Ads::GoogleAds::V3::Services::FeedOperation.new
583
+ # @return [Google::Ads::GoogleAds::V3::Services::SharedCriterionOperation] instance that will create the resource
584
+ def self.shared_criterion(res = nil, &blk)
585
+ require "google/ads/google_ads/v3/services/shared_criterion_service_pb.rb"
586
+ op = Google::Ads::GoogleAds::V3::Services::SharedCriterionOperation.new
571
587
  if !res.nil?
572
588
  op["create"] = res
573
589
  elsif !blk.nil?
574
- op["create"] = Factories::V3::Resources.feed(&blk)
590
+ op["create"] = Factories::V3::Resources.shared_criterion(&blk)
575
591
  end
576
592
 
577
593
  op
578
594
  end
579
595
 
580
- # A convenience method for creating an AdGroupAdLabelOperation instance with
581
- # its "create" field prepopulated with an AdGroupAdLabel instance.
596
+ # A convenience method for creating an FeedMappingOperation instance with
597
+ # its "create" field prepopulated with an FeedMapping instance.
582
598
  #
583
- # @overload ad_group_ad_label
584
- # creates an operation instance, yielding a newly fabricated AdGroupAdLabel
599
+ # @overload feed_mapping
600
+ # creates an operation instance, yielding a newly fabricated FeedMapping
585
601
  # which can be used for setting attributes on the newly created resource
586
- # @overload ad_group_ad_label(res)
602
+ # @overload feed_mapping(res)
587
603
  # creates an operation instance, with the resource to be created
588
604
  # set to the passed value (res)
589
- # @param res [Google::Ads::GoogleAds::V3::Resources::AdGroupAdLabel]
605
+ # @param res [Google::Ads::GoogleAds::V3::Resources::FeedMapping]
590
606
  # a resource instance to be used for creation in this operation.
591
607
  #
592
- # @return [Google::Ads::GoogleAds::V3::Services::AdGroupAdLabelOperation] instance that will create the resource
593
- def self.ad_group_ad_label(res = nil, &blk)
594
- require "google/ads/google_ads/v3/services/ad_group_ad_label_service_pb.rb"
595
- op = Google::Ads::GoogleAds::V3::Services::AdGroupAdLabelOperation.new
608
+ # @return [Google::Ads::GoogleAds::V3::Services::FeedMappingOperation] instance that will create the resource
609
+ def self.feed_mapping(res = nil, &blk)
610
+ require "google/ads/google_ads/v3/services/feed_mapping_service_pb.rb"
611
+ op = Google::Ads::GoogleAds::V3::Services::FeedMappingOperation.new
596
612
  if !res.nil?
597
613
  op["create"] = res
598
614
  elsif !blk.nil?
599
- op["create"] = Factories::V3::Resources.ad_group_ad_label(&blk)
615
+ op["create"] = Factories::V3::Resources.feed_mapping(&blk)
600
616
  end
601
617
 
602
618
  op
603
619
  end
604
620
 
605
- # A convenience method for creating an CustomerClientLinkOperation instance with
606
- # its "create" field prepopulated with an CustomerClientLink instance.
621
+ # A convenience method for creating an AdGroupOperation instance with
622
+ # its "create" field prepopulated with an AdGroup instance.
607
623
  #
608
- # @overload customer_client_link
609
- # creates an operation instance, yielding a newly fabricated CustomerClientLink
624
+ # @overload ad_group
625
+ # creates an operation instance, yielding a newly fabricated AdGroup
610
626
  # which can be used for setting attributes on the newly created resource
611
- # @overload customer_client_link(res)
627
+ # @overload ad_group(res)
612
628
  # creates an operation instance, with the resource to be created
613
629
  # set to the passed value (res)
614
- # @param res [Google::Ads::GoogleAds::V3::Resources::CustomerClientLink]
630
+ # @param res [Google::Ads::GoogleAds::V3::Resources::AdGroup]
615
631
  # a resource instance to be used for creation in this operation.
616
632
  #
617
- # @return [Google::Ads::GoogleAds::V3::Services::CustomerClientLinkOperation] instance that will create the resource
618
- def self.customer_client_link(res = nil, &blk)
619
- require "google/ads/google_ads/v3/services/customer_client_link_service_pb.rb"
620
- op = Google::Ads::GoogleAds::V3::Services::CustomerClientLinkOperation.new
633
+ # @return [Google::Ads::GoogleAds::V3::Services::AdGroupOperation] instance that will create the resource
634
+ def self.ad_group(res = nil, &blk)
635
+ require "google/ads/google_ads/v3/services/ad_group_service_pb.rb"
636
+ op = Google::Ads::GoogleAds::V3::Services::AdGroupOperation.new
621
637
  if !res.nil?
622
638
  op["create"] = res
623
639
  elsif !blk.nil?
624
- op["create"] = Factories::V3::Resources.customer_client_link(&blk)
640
+ op["create"] = Factories::V3::Resources.ad_group(&blk)
625
641
  end
626
642
 
627
643
  op
628
644
  end
629
645
 
630
- # A convenience method for creating an CampaignSharedSetOperation instance with
631
- # its "create" field prepopulated with an CampaignSharedSet instance.
646
+ # A convenience method for creating an ExtensionFeedItemOperation instance with
647
+ # its "create" field prepopulated with an ExtensionFeedItem instance.
632
648
  #
633
- # @overload campaign_shared_set
634
- # creates an operation instance, yielding a newly fabricated CampaignSharedSet
649
+ # @overload extension_feed_item
650
+ # creates an operation instance, yielding a newly fabricated ExtensionFeedItem
635
651
  # which can be used for setting attributes on the newly created resource
636
- # @overload campaign_shared_set(res)
652
+ # @overload extension_feed_item(res)
637
653
  # creates an operation instance, with the resource to be created
638
654
  # set to the passed value (res)
639
- # @param res [Google::Ads::GoogleAds::V3::Resources::CampaignSharedSet]
655
+ # @param res [Google::Ads::GoogleAds::V3::Resources::ExtensionFeedItem]
640
656
  # a resource instance to be used for creation in this operation.
641
657
  #
642
- # @return [Google::Ads::GoogleAds::V3::Services::CampaignSharedSetOperation] instance that will create the resource
643
- def self.campaign_shared_set(res = nil, &blk)
644
- require "google/ads/google_ads/v3/services/campaign_shared_set_service_pb.rb"
645
- op = Google::Ads::GoogleAds::V3::Services::CampaignSharedSetOperation.new
658
+ # @return [Google::Ads::GoogleAds::V3::Services::ExtensionFeedItemOperation] instance that will create the resource
659
+ def self.extension_feed_item(res = nil, &blk)
660
+ require "google/ads/google_ads/v3/services/extension_feed_item_service_pb.rb"
661
+ op = Google::Ads::GoogleAds::V3::Services::ExtensionFeedItemOperation.new
646
662
  if !res.nil?
647
663
  op["create"] = res
648
664
  elsif !blk.nil?
649
- op["create"] = Factories::V3::Resources.campaign_shared_set(&blk)
665
+ op["create"] = Factories::V3::Resources.extension_feed_item(&blk)
650
666
  end
651
667
 
652
668
  op
653
669
  end
654
670
 
655
- # A convenience method for creating an AdGroupBidModifierOperation instance with
656
- # its "create" field prepopulated with an AdGroupBidModifier instance.
671
+ # A convenience method for creating an CampaignBidModifierOperation instance with
672
+ # its "create" field prepopulated with an CampaignBidModifier instance.
657
673
  #
658
- # @overload ad_group_bid_modifier
659
- # creates an operation instance, yielding a newly fabricated AdGroupBidModifier
674
+ # @overload campaign_bid_modifier
675
+ # creates an operation instance, yielding a newly fabricated CampaignBidModifier
660
676
  # which can be used for setting attributes on the newly created resource
661
- # @overload ad_group_bid_modifier(res)
677
+ # @overload campaign_bid_modifier(res)
662
678
  # creates an operation instance, with the resource to be created
663
679
  # set to the passed value (res)
664
- # @param res [Google::Ads::GoogleAds::V3::Resources::AdGroupBidModifier]
680
+ # @param res [Google::Ads::GoogleAds::V3::Resources::CampaignBidModifier]
665
681
  # a resource instance to be used for creation in this operation.
666
682
  #
667
- # @return [Google::Ads::GoogleAds::V3::Services::AdGroupBidModifierOperation] instance that will create the resource
668
- def self.ad_group_bid_modifier(res = nil, &blk)
669
- require "google/ads/google_ads/v3/services/ad_group_bid_modifier_service_pb.rb"
670
- op = Google::Ads::GoogleAds::V3::Services::AdGroupBidModifierOperation.new
683
+ # @return [Google::Ads::GoogleAds::V3::Services::CampaignBidModifierOperation] instance that will create the resource
684
+ def self.campaign_bid_modifier(res = nil, &blk)
685
+ require "google/ads/google_ads/v3/services/campaign_bid_modifier_service_pb.rb"
686
+ op = Google::Ads::GoogleAds::V3::Services::CampaignBidModifierOperation.new
671
687
  if !res.nil?
672
688
  op["create"] = res
673
689
  elsif !blk.nil?
674
- op["create"] = Factories::V3::Resources.ad_group_bid_modifier(&blk)
690
+ op["create"] = Factories::V3::Resources.campaign_bid_modifier(&blk)
675
691
  end
676
692
 
677
693
  op
678
694
  end
679
695
 
680
- # A convenience method for creating an CampaignFeedOperation instance with
681
- # its "create" field prepopulated with an CampaignFeed instance.
696
+ # A convenience method for creating an CampaignDraftOperation instance with
697
+ # its "create" field prepopulated with an CampaignDraft instance.
682
698
  #
683
- # @overload campaign_feed
684
- # creates an operation instance, yielding a newly fabricated CampaignFeed
699
+ # @overload campaign_draft
700
+ # creates an operation instance, yielding a newly fabricated CampaignDraft
685
701
  # which can be used for setting attributes on the newly created resource
686
- # @overload campaign_feed(res)
702
+ # @overload campaign_draft(res)
687
703
  # creates an operation instance, with the resource to be created
688
704
  # set to the passed value (res)
689
- # @param res [Google::Ads::GoogleAds::V3::Resources::CampaignFeed]
705
+ # @param res [Google::Ads::GoogleAds::V3::Resources::CampaignDraft]
690
706
  # a resource instance to be used for creation in this operation.
691
707
  #
692
- # @return [Google::Ads::GoogleAds::V3::Services::CampaignFeedOperation] instance that will create the resource
693
- def self.campaign_feed(res = nil, &blk)
694
- require "google/ads/google_ads/v3/services/campaign_feed_service_pb.rb"
695
- op = Google::Ads::GoogleAds::V3::Services::CampaignFeedOperation.new
708
+ # @return [Google::Ads::GoogleAds::V3::Services::CampaignDraftOperation] instance that will create the resource
709
+ def self.campaign_draft(res = nil, &blk)
710
+ require "google/ads/google_ads/v3/services/campaign_draft_service_pb.rb"
711
+ op = Google::Ads::GoogleAds::V3::Services::CampaignDraftOperation.new
696
712
  if !res.nil?
697
713
  op["create"] = res
698
714
  elsif !blk.nil?
699
- op["create"] = Factories::V3::Resources.campaign_feed(&blk)
715
+ op["create"] = Factories::V3::Resources.campaign_draft(&blk)
700
716
  end
701
717
 
702
718
  op
703
719
  end
704
720
 
705
- # A convenience method for creating an SharedCriterionOperation instance with
706
- # its "create" field prepopulated with an SharedCriterion instance.
721
+ # A convenience method for creating an SharedSetOperation instance with
722
+ # its "create" field prepopulated with an SharedSet instance.
707
723
  #
708
- # @overload shared_criterion
709
- # creates an operation instance, yielding a newly fabricated SharedCriterion
724
+ # @overload shared_set
725
+ # creates an operation instance, yielding a newly fabricated SharedSet
710
726
  # which can be used for setting attributes on the newly created resource
711
- # @overload shared_criterion(res)
727
+ # @overload shared_set(res)
712
728
  # creates an operation instance, with the resource to be created
713
729
  # set to the passed value (res)
714
- # @param res [Google::Ads::GoogleAds::V3::Resources::SharedCriterion]
730
+ # @param res [Google::Ads::GoogleAds::V3::Resources::SharedSet]
715
731
  # a resource instance to be used for creation in this operation.
716
732
  #
717
- # @return [Google::Ads::GoogleAds::V3::Services::SharedCriterionOperation] instance that will create the resource
718
- def self.shared_criterion(res = nil, &blk)
719
- require "google/ads/google_ads/v3/services/shared_criterion_service_pb.rb"
720
- op = Google::Ads::GoogleAds::V3::Services::SharedCriterionOperation.new
733
+ # @return [Google::Ads::GoogleAds::V3::Services::SharedSetOperation] instance that will create the resource
734
+ def self.shared_set(res = nil, &blk)
735
+ require "google/ads/google_ads/v3/services/shared_set_service_pb.rb"
736
+ op = Google::Ads::GoogleAds::V3::Services::SharedSetOperation.new
721
737
  if !res.nil?
722
738
  op["create"] = res
723
739
  elsif !blk.nil?
724
- op["create"] = Factories::V3::Resources.shared_criterion(&blk)
740
+ op["create"] = Factories::V3::Resources.shared_set(&blk)
725
741
  end
726
742
 
727
743
  op
728
744
  end
729
745
 
730
- # A convenience method for creating an RemarketingActionOperation instance with
731
- # its "create" field prepopulated with an RemarketingAction instance.
746
+ # A convenience method for creating an CampaignFeedOperation instance with
747
+ # its "create" field prepopulated with an CampaignFeed instance.
732
748
  #
733
- # @overload remarketing_action
734
- # creates an operation instance, yielding a newly fabricated RemarketingAction
749
+ # @overload campaign_feed
750
+ # creates an operation instance, yielding a newly fabricated CampaignFeed
735
751
  # which can be used for setting attributes on the newly created resource
736
- # @overload remarketing_action(res)
752
+ # @overload campaign_feed(res)
737
753
  # creates an operation instance, with the resource to be created
738
754
  # set to the passed value (res)
739
- # @param res [Google::Ads::GoogleAds::V3::Resources::RemarketingAction]
755
+ # @param res [Google::Ads::GoogleAds::V3::Resources::CampaignFeed]
740
756
  # a resource instance to be used for creation in this operation.
741
757
  #
742
- # @return [Google::Ads::GoogleAds::V3::Services::RemarketingActionOperation] instance that will create the resource
743
- def self.remarketing_action(res = nil, &blk)
744
- require "google/ads/google_ads/v3/services/remarketing_action_service_pb.rb"
745
- op = Google::Ads::GoogleAds::V3::Services::RemarketingActionOperation.new
758
+ # @return [Google::Ads::GoogleAds::V3::Services::CampaignFeedOperation] instance that will create the resource
759
+ def self.campaign_feed(res = nil, &blk)
760
+ require "google/ads/google_ads/v3/services/campaign_feed_service_pb.rb"
761
+ op = Google::Ads::GoogleAds::V3::Services::CampaignFeedOperation.new
746
762
  if !res.nil?
747
763
  op["create"] = res
748
764
  elsif !blk.nil?
749
- op["create"] = Factories::V3::Resources.remarketing_action(&blk)
765
+ op["create"] = Factories::V3::Resources.campaign_feed(&blk)
750
766
  end
751
767
 
752
768
  op
753
769
  end
754
770
 
755
- # A convenience method for creating an AdGroupLabelOperation instance with
756
- # its "create" field prepopulated with an AdGroupLabel instance.
771
+ # A convenience method for creating an LabelOperation instance with
772
+ # its "create" field prepopulated with an Label instance.
757
773
  #
758
- # @overload ad_group_label
759
- # creates an operation instance, yielding a newly fabricated AdGroupLabel
774
+ # @overload label
775
+ # creates an operation instance, yielding a newly fabricated Label
760
776
  # which can be used for setting attributes on the newly created resource
761
- # @overload ad_group_label(res)
777
+ # @overload label(res)
762
778
  # creates an operation instance, with the resource to be created
763
779
  # set to the passed value (res)
764
- # @param res [Google::Ads::GoogleAds::V3::Resources::AdGroupLabel]
780
+ # @param res [Google::Ads::GoogleAds::V3::Resources::Label]
765
781
  # a resource instance to be used for creation in this operation.
766
782
  #
767
- # @return [Google::Ads::GoogleAds::V3::Services::AdGroupLabelOperation] instance that will create the resource
768
- def self.ad_group_label(res = nil, &blk)
769
- require "google/ads/google_ads/v3/services/ad_group_label_service_pb.rb"
770
- op = Google::Ads::GoogleAds::V3::Services::AdGroupLabelOperation.new
783
+ # @return [Google::Ads::GoogleAds::V3::Services::LabelOperation] instance that will create the resource
784
+ def self.label(res = nil, &blk)
785
+ require "google/ads/google_ads/v3/services/label_service_pb.rb"
786
+ op = Google::Ads::GoogleAds::V3::Services::LabelOperation.new
771
787
  if !res.nil?
772
788
  op["create"] = res
773
789
  elsif !blk.nil?
774
- op["create"] = Factories::V3::Resources.ad_group_label(&blk)
790
+ op["create"] = Factories::V3::Resources.label(&blk)
775
791
  end
776
792
 
777
793
  op
778
794
  end
779
795
 
780
- # A convenience method for creating an CustomerLabelOperation instance with
781
- # its "create" field prepopulated with an CustomerLabel instance.
796
+ # A convenience method for creating an AdGroupAdLabelOperation instance with
797
+ # its "create" field prepopulated with an AdGroupAdLabel instance.
782
798
  #
783
- # @overload customer_label
784
- # creates an operation instance, yielding a newly fabricated CustomerLabel
799
+ # @overload ad_group_ad_label
800
+ # creates an operation instance, yielding a newly fabricated AdGroupAdLabel
785
801
  # which can be used for setting attributes on the newly created resource
786
- # @overload customer_label(res)
802
+ # @overload ad_group_ad_label(res)
787
803
  # creates an operation instance, with the resource to be created
788
804
  # set to the passed value (res)
789
- # @param res [Google::Ads::GoogleAds::V3::Resources::CustomerLabel]
805
+ # @param res [Google::Ads::GoogleAds::V3::Resources::AdGroupAdLabel]
790
806
  # a resource instance to be used for creation in this operation.
791
807
  #
792
- # @return [Google::Ads::GoogleAds::V3::Services::CustomerLabelOperation] instance that will create the resource
793
- def self.customer_label(res = nil, &blk)
794
- require "google/ads/google_ads/v3/services/customer_label_service_pb.rb"
795
- op = Google::Ads::GoogleAds::V3::Services::CustomerLabelOperation.new
808
+ # @return [Google::Ads::GoogleAds::V3::Services::AdGroupAdLabelOperation] instance that will create the resource
809
+ def self.ad_group_ad_label(res = nil, &blk)
810
+ require "google/ads/google_ads/v3/services/ad_group_ad_label_service_pb.rb"
811
+ op = Google::Ads::GoogleAds::V3::Services::AdGroupAdLabelOperation.new
796
812
  if !res.nil?
797
813
  op["create"] = res
798
814
  elsif !blk.nil?
799
- op["create"] = Factories::V3::Resources.customer_label(&blk)
815
+ op["create"] = Factories::V3::Resources.ad_group_ad_label(&blk)
800
816
  end
801
817
 
802
818
  op
@@ -827,6 +843,31 @@ module Google
827
843
  op
828
844
  end
829
845
 
846
+ # A convenience method for creating an AdGroupBidModifierOperation instance with
847
+ # its "create" field prepopulated with an AdGroupBidModifier instance.
848
+ #
849
+ # @overload ad_group_bid_modifier
850
+ # creates an operation instance, yielding a newly fabricated AdGroupBidModifier
851
+ # which can be used for setting attributes on the newly created resource
852
+ # @overload ad_group_bid_modifier(res)
853
+ # creates an operation instance, with the resource to be created
854
+ # set to the passed value (res)
855
+ # @param res [Google::Ads::GoogleAds::V3::Resources::AdGroupBidModifier]
856
+ # a resource instance to be used for creation in this operation.
857
+ #
858
+ # @return [Google::Ads::GoogleAds::V3::Services::AdGroupBidModifierOperation] instance that will create the resource
859
+ def self.ad_group_bid_modifier(res = nil, &blk)
860
+ require "google/ads/google_ads/v3/services/ad_group_bid_modifier_service_pb.rb"
861
+ op = Google::Ads::GoogleAds::V3::Services::AdGroupBidModifierOperation.new
862
+ if !res.nil?
863
+ op["create"] = res
864
+ elsif !blk.nil?
865
+ op["create"] = Factories::V3::Resources.ad_group_bid_modifier(&blk)
866
+ end
867
+
868
+ op
869
+ end
870
+
830
871
  # A convenience method for creating an AdGroupCriterionOperation instance with
831
872
  # its "create" field prepopulated with an AdGroupCriterion instance.
832
873
  #
@@ -902,26 +943,26 @@ module Google
902
943
  op
903
944
  end
904
945
 
905
- # A convenience method for creating an AdGroupOperation instance with
906
- # its "create" field prepopulated with an AdGroup instance.
946
+ # A convenience method for creating an AdGroupLabelOperation instance with
947
+ # its "create" field prepopulated with an AdGroupLabel instance.
907
948
  #
908
- # @overload ad_group
909
- # creates an operation instance, yielding a newly fabricated AdGroup
949
+ # @overload ad_group_label
950
+ # creates an operation instance, yielding a newly fabricated AdGroupLabel
910
951
  # which can be used for setting attributes on the newly created resource
911
- # @overload ad_group(res)
952
+ # @overload ad_group_label(res)
912
953
  # creates an operation instance, with the resource to be created
913
954
  # set to the passed value (res)
914
- # @param res [Google::Ads::GoogleAds::V3::Resources::AdGroup]
955
+ # @param res [Google::Ads::GoogleAds::V3::Resources::AdGroupLabel]
915
956
  # a resource instance to be used for creation in this operation.
916
957
  #
917
- # @return [Google::Ads::GoogleAds::V3::Services::AdGroupOperation] instance that will create the resource
918
- def self.ad_group(res = nil, &blk)
919
- require "google/ads/google_ads/v3/services/ad_group_service_pb.rb"
920
- op = Google::Ads::GoogleAds::V3::Services::AdGroupOperation.new
958
+ # @return [Google::Ads::GoogleAds::V3::Services::AdGroupLabelOperation] instance that will create the resource
959
+ def self.ad_group_label(res = nil, &blk)
960
+ require "google/ads/google_ads/v3/services/ad_group_label_service_pb.rb"
961
+ op = Google::Ads::GoogleAds::V3::Services::AdGroupLabelOperation.new
921
962
  if !res.nil?
922
963
  op["create"] = res
923
964
  elsif !blk.nil?
924
- op["create"] = Factories::V3::Resources.ad_group(&blk)
965
+ op["create"] = Factories::V3::Resources.ad_group_label(&blk)
925
966
  end
926
967
 
927
968
  op
@@ -1002,31 +1043,6 @@ module Google
1002
1043
  op
1003
1044
  end
1004
1045
 
1005
- # A convenience method for creating an CampaignBidModifierOperation instance with
1006
- # its "create" field prepopulated with an CampaignBidModifier instance.
1007
- #
1008
- # @overload campaign_bid_modifier
1009
- # creates an operation instance, yielding a newly fabricated CampaignBidModifier
1010
- # which can be used for setting attributes on the newly created resource
1011
- # @overload campaign_bid_modifier(res)
1012
- # creates an operation instance, with the resource to be created
1013
- # set to the passed value (res)
1014
- # @param res [Google::Ads::GoogleAds::V3::Resources::CampaignBidModifier]
1015
- # a resource instance to be used for creation in this operation.
1016
- #
1017
- # @return [Google::Ads::GoogleAds::V3::Services::CampaignBidModifierOperation] instance that will create the resource
1018
- def self.campaign_bid_modifier(res = nil, &blk)
1019
- require "google/ads/google_ads/v3/services/campaign_bid_modifier_service_pb.rb"
1020
- op = Google::Ads::GoogleAds::V3::Services::CampaignBidModifierOperation.new
1021
- if !res.nil?
1022
- op["create"] = res
1023
- elsif !blk.nil?
1024
- op["create"] = Factories::V3::Resources.campaign_bid_modifier(&blk)
1025
- end
1026
-
1027
- op
1028
- end
1029
-
1030
1046
  # A convenience method for creating an CampaignBudgetOperation instance with
1031
1047
  # its "create" field prepopulated with an CampaignBudget instance.
1032
1048
  #
@@ -1077,31 +1093,6 @@ module Google
1077
1093
  op
1078
1094
  end
1079
1095
 
1080
- # A convenience method for creating an CampaignDraftOperation instance with
1081
- # its "create" field prepopulated with an CampaignDraft instance.
1082
- #
1083
- # @overload campaign_draft
1084
- # creates an operation instance, yielding a newly fabricated CampaignDraft
1085
- # which can be used for setting attributes on the newly created resource
1086
- # @overload campaign_draft(res)
1087
- # creates an operation instance, with the resource to be created
1088
- # set to the passed value (res)
1089
- # @param res [Google::Ads::GoogleAds::V3::Resources::CampaignDraft]
1090
- # a resource instance to be used for creation in this operation.
1091
- #
1092
- # @return [Google::Ads::GoogleAds::V3::Services::CampaignDraftOperation] instance that will create the resource
1093
- def self.campaign_draft(res = nil, &blk)
1094
- require "google/ads/google_ads/v3/services/campaign_draft_service_pb.rb"
1095
- op = Google::Ads::GoogleAds::V3::Services::CampaignDraftOperation.new
1096
- if !res.nil?
1097
- op["create"] = res
1098
- elsif !blk.nil?
1099
- op["create"] = Factories::V3::Resources.campaign_draft(&blk)
1100
- end
1101
-
1102
- op
1103
- end
1104
-
1105
1096
  # A convenience method for creating an CampaignExtensionSettingOperation instance with
1106
1097
  # its "create" field prepopulated with an CampaignExtensionSetting instance.
1107
1098
  #
@@ -1177,6 +1168,31 @@ module Google
1177
1168
  op
1178
1169
  end
1179
1170
 
1171
+ # A convenience method for creating an CampaignSharedSetOperation instance with
1172
+ # its "create" field prepopulated with an CampaignSharedSet instance.
1173
+ #
1174
+ # @overload campaign_shared_set
1175
+ # creates an operation instance, yielding a newly fabricated CampaignSharedSet
1176
+ # which can be used for setting attributes on the newly created resource
1177
+ # @overload campaign_shared_set(res)
1178
+ # creates an operation instance, with the resource to be created
1179
+ # set to the passed value (res)
1180
+ # @param res [Google::Ads::GoogleAds::V3::Resources::CampaignSharedSet]
1181
+ # a resource instance to be used for creation in this operation.
1182
+ #
1183
+ # @return [Google::Ads::GoogleAds::V3::Services::CampaignSharedSetOperation] instance that will create the resource
1184
+ def self.campaign_shared_set(res = nil, &blk)
1185
+ require "google/ads/google_ads/v3/services/campaign_shared_set_service_pb.rb"
1186
+ op = Google::Ads::GoogleAds::V3::Services::CampaignSharedSetOperation.new
1187
+ if !res.nil?
1188
+ op["create"] = res
1189
+ elsif !blk.nil?
1190
+ op["create"] = Factories::V3::Resources.campaign_shared_set(&blk)
1191
+ end
1192
+
1193
+ op
1194
+ end
1195
+
1180
1196
  # A convenience method for creating an ConversionActionOperation instance with
1181
1197
  # its "create" field prepopulated with an ConversionAction instance.
1182
1198
  #
@@ -1252,51 +1268,26 @@ module Google
1252
1268
  op
1253
1269
  end
1254
1270
 
1255
- # A convenience method for creating an CustomerNegativeCriterionOperation instance with
1256
- # its "create" field prepopulated with an CustomerNegativeCriterion instance.
1257
- #
1258
- # @overload customer_negative_criterion
1259
- # creates an operation instance, yielding a newly fabricated CustomerNegativeCriterion
1260
- # which can be used for setting attributes on the newly created resource
1261
- # @overload customer_negative_criterion(res)
1262
- # creates an operation instance, with the resource to be created
1263
- # set to the passed value (res)
1264
- # @param res [Google::Ads::GoogleAds::V3::Resources::CustomerNegativeCriterion]
1265
- # a resource instance to be used for creation in this operation.
1266
- #
1267
- # @return [Google::Ads::GoogleAds::V3::Services::CustomerNegativeCriterionOperation] instance that will create the resource
1268
- def self.customer_negative_criterion(res = nil, &blk)
1269
- require "google/ads/google_ads/v3/services/customer_negative_criterion_service_pb.rb"
1270
- op = Google::Ads::GoogleAds::V3::Services::CustomerNegativeCriterionOperation.new
1271
- if !res.nil?
1272
- op["create"] = res
1273
- elsif !blk.nil?
1274
- op["create"] = Factories::V3::Resources.customer_negative_criterion(&blk)
1275
- end
1276
-
1277
- op
1278
- end
1279
-
1280
- # A convenience method for creating an ExtensionFeedItemOperation instance with
1281
- # its "create" field prepopulated with an ExtensionFeedItem instance.
1271
+ # A convenience method for creating an CustomerLabelOperation instance with
1272
+ # its "create" field prepopulated with an CustomerLabel instance.
1282
1273
  #
1283
- # @overload extension_feed_item
1284
- # creates an operation instance, yielding a newly fabricated ExtensionFeedItem
1274
+ # @overload customer_label
1275
+ # creates an operation instance, yielding a newly fabricated CustomerLabel
1285
1276
  # which can be used for setting attributes on the newly created resource
1286
- # @overload extension_feed_item(res)
1277
+ # @overload customer_label(res)
1287
1278
  # creates an operation instance, with the resource to be created
1288
1279
  # set to the passed value (res)
1289
- # @param res [Google::Ads::GoogleAds::V3::Resources::ExtensionFeedItem]
1280
+ # @param res [Google::Ads::GoogleAds::V3::Resources::CustomerLabel]
1290
1281
  # a resource instance to be used for creation in this operation.
1291
1282
  #
1292
- # @return [Google::Ads::GoogleAds::V3::Services::ExtensionFeedItemOperation] instance that will create the resource
1293
- def self.extension_feed_item(res = nil, &blk)
1294
- require "google/ads/google_ads/v3/services/extension_feed_item_service_pb.rb"
1295
- op = Google::Ads::GoogleAds::V3::Services::ExtensionFeedItemOperation.new
1283
+ # @return [Google::Ads::GoogleAds::V3::Services::CustomerLabelOperation] instance that will create the resource
1284
+ def self.customer_label(res = nil, &blk)
1285
+ require "google/ads/google_ads/v3/services/customer_label_service_pb.rb"
1286
+ op = Google::Ads::GoogleAds::V3::Services::CustomerLabelOperation.new
1296
1287
  if !res.nil?
1297
1288
  op["create"] = res
1298
1289
  elsif !blk.nil?
1299
- op["create"] = Factories::V3::Resources.extension_feed_item(&blk)
1290
+ op["create"] = Factories::V3::Resources.customer_label(&blk)
1300
1291
  end
1301
1292
 
1302
1293
  op
@@ -1330,73 +1321,48 @@ module Google
1330
1321
  # A convenience method for creating an FeedItemTargetOperation instance with
1331
1322
  # its "create" field prepopulated with an FeedItemTarget instance.
1332
1323
  #
1333
- # @overload feed_item_target
1334
- # creates an operation instance, yielding a newly fabricated FeedItemTarget
1335
- # which can be used for setting attributes on the newly created resource
1336
- # @overload feed_item_target(res)
1337
- # creates an operation instance, with the resource to be created
1338
- # set to the passed value (res)
1339
- # @param res [Google::Ads::GoogleAds::V3::Resources::FeedItemTarget]
1340
- # a resource instance to be used for creation in this operation.
1341
- #
1342
- # @return [Google::Ads::GoogleAds::V3::Services::FeedItemTargetOperation] instance that will create the resource
1343
- def self.feed_item_target(res = nil, &blk)
1344
- require "google/ads/google_ads/v3/services/feed_item_target_service_pb.rb"
1345
- op = Google::Ads::GoogleAds::V3::Services::FeedItemTargetOperation.new
1346
- if !res.nil?
1347
- op["create"] = res
1348
- elsif !blk.nil?
1349
- op["create"] = Factories::V3::Resources.feed_item_target(&blk)
1350
- end
1351
-
1352
- op
1353
- end
1354
-
1355
- # A convenience method for creating an FeedMappingOperation instance with
1356
- # its "create" field prepopulated with an FeedMapping instance.
1357
- #
1358
- # @overload feed_mapping
1359
- # creates an operation instance, yielding a newly fabricated FeedMapping
1324
+ # @overload feed_item_target
1325
+ # creates an operation instance, yielding a newly fabricated FeedItemTarget
1360
1326
  # which can be used for setting attributes on the newly created resource
1361
- # @overload feed_mapping(res)
1327
+ # @overload feed_item_target(res)
1362
1328
  # creates an operation instance, with the resource to be created
1363
1329
  # set to the passed value (res)
1364
- # @param res [Google::Ads::GoogleAds::V3::Resources::FeedMapping]
1330
+ # @param res [Google::Ads::GoogleAds::V3::Resources::FeedItemTarget]
1365
1331
  # a resource instance to be used for creation in this operation.
1366
1332
  #
1367
- # @return [Google::Ads::GoogleAds::V3::Services::FeedMappingOperation] instance that will create the resource
1368
- def self.feed_mapping(res = nil, &blk)
1369
- require "google/ads/google_ads/v3/services/feed_mapping_service_pb.rb"
1370
- op = Google::Ads::GoogleAds::V3::Services::FeedMappingOperation.new
1333
+ # @return [Google::Ads::GoogleAds::V3::Services::FeedItemTargetOperation] instance that will create the resource
1334
+ def self.feed_item_target(res = nil, &blk)
1335
+ require "google/ads/google_ads/v3/services/feed_item_target_service_pb.rb"
1336
+ op = Google::Ads::GoogleAds::V3::Services::FeedItemTargetOperation.new
1371
1337
  if !res.nil?
1372
1338
  op["create"] = res
1373
1339
  elsif !blk.nil?
1374
- op["create"] = Factories::V3::Resources.feed_mapping(&blk)
1340
+ op["create"] = Factories::V3::Resources.feed_item_target(&blk)
1375
1341
  end
1376
1342
 
1377
1343
  op
1378
1344
  end
1379
1345
 
1380
- # A convenience method for creating an LabelOperation instance with
1381
- # its "create" field prepopulated with an Label instance.
1346
+ # A convenience method for creating an FeedOperation instance with
1347
+ # its "create" field prepopulated with an Feed instance.
1382
1348
  #
1383
- # @overload label
1384
- # creates an operation instance, yielding a newly fabricated Label
1349
+ # @overload feed
1350
+ # creates an operation instance, yielding a newly fabricated Feed
1385
1351
  # which can be used for setting attributes on the newly created resource
1386
- # @overload label(res)
1352
+ # @overload feed(res)
1387
1353
  # creates an operation instance, with the resource to be created
1388
1354
  # set to the passed value (res)
1389
- # @param res [Google::Ads::GoogleAds::V3::Resources::Label]
1355
+ # @param res [Google::Ads::GoogleAds::V3::Resources::Feed]
1390
1356
  # a resource instance to be used for creation in this operation.
1391
1357
  #
1392
- # @return [Google::Ads::GoogleAds::V3::Services::LabelOperation] instance that will create the resource
1393
- def self.label(res = nil, &blk)
1394
- require "google/ads/google_ads/v3/services/label_service_pb.rb"
1395
- op = Google::Ads::GoogleAds::V3::Services::LabelOperation.new
1358
+ # @return [Google::Ads::GoogleAds::V3::Services::FeedOperation] instance that will create the resource
1359
+ def self.feed(res = nil, &blk)
1360
+ require "google/ads/google_ads/v3/services/feed_service_pb.rb"
1361
+ op = Google::Ads::GoogleAds::V3::Services::FeedOperation.new
1396
1362
  if !res.nil?
1397
1363
  op["create"] = res
1398
1364
  elsif !blk.nil?
1399
- op["create"] = Factories::V3::Resources.label(&blk)
1365
+ op["create"] = Factories::V3::Resources.feed(&blk)
1400
1366
  end
1401
1367
 
1402
1368
  op
@@ -1427,126 +1393,126 @@ module Google
1427
1393
  op
1428
1394
  end
1429
1395
 
1430
- # A convenience method for creating an UserListOperation instance with
1431
- # its "create" field prepopulated with an UserList instance.
1396
+ # A convenience method for creating an RemarketingActionOperation instance with
1397
+ # its "create" field prepopulated with an RemarketingAction instance.
1432
1398
  #
1433
- # @overload user_list
1434
- # creates an operation instance, yielding a newly fabricated UserList
1399
+ # @overload remarketing_action
1400
+ # creates an operation instance, yielding a newly fabricated RemarketingAction
1435
1401
  # which can be used for setting attributes on the newly created resource
1436
- # @overload user_list(res)
1402
+ # @overload remarketing_action(res)
1437
1403
  # creates an operation instance, with the resource to be created
1438
1404
  # set to the passed value (res)
1439
- # @param res [Google::Ads::GoogleAds::V3::Resources::UserList]
1405
+ # @param res [Google::Ads::GoogleAds::V3::Resources::RemarketingAction]
1440
1406
  # a resource instance to be used for creation in this operation.
1441
1407
  #
1442
- # @return [Google::Ads::GoogleAds::V3::Services::UserListOperation] instance that will create the resource
1443
- def self.user_list(res = nil, &blk)
1444
- require "google/ads/google_ads/v3/services/user_list_service_pb.rb"
1445
- op = Google::Ads::GoogleAds::V3::Services::UserListOperation.new
1408
+ # @return [Google::Ads::GoogleAds::V3::Services::RemarketingActionOperation] instance that will create the resource
1409
+ def self.remarketing_action(res = nil, &blk)
1410
+ require "google/ads/google_ads/v3/services/remarketing_action_service_pb.rb"
1411
+ op = Google::Ads::GoogleAds::V3::Services::RemarketingActionOperation.new
1446
1412
  if !res.nil?
1447
1413
  op["create"] = res
1448
1414
  elsif !blk.nil?
1449
- op["create"] = Factories::V3::Resources.user_list(&blk)
1415
+ op["create"] = Factories::V3::Resources.remarketing_action(&blk)
1450
1416
  end
1451
1417
 
1452
1418
  op
1453
1419
  end
1454
1420
 
1455
- # A convenience method for creating an KeywordPlanKeywordOperation instance with
1456
- # its "create" field prepopulated with an KeywordPlanKeyword instance.
1421
+ # A convenience method for creating an UserListOperation instance with
1422
+ # its "create" field prepopulated with an UserList instance.
1457
1423
  #
1458
- # @overload keyword_plan_keyword
1459
- # creates an operation instance, yielding a newly fabricated KeywordPlanKeyword
1424
+ # @overload user_list
1425
+ # creates an operation instance, yielding a newly fabricated UserList
1460
1426
  # which can be used for setting attributes on the newly created resource
1461
- # @overload keyword_plan_keyword(res)
1427
+ # @overload user_list(res)
1462
1428
  # creates an operation instance, with the resource to be created
1463
1429
  # set to the passed value (res)
1464
- # @param res [Google::Ads::GoogleAds::V3::Resources::KeywordPlanKeyword]
1430
+ # @param res [Google::Ads::GoogleAds::V3::Resources::UserList]
1465
1431
  # a resource instance to be used for creation in this operation.
1466
1432
  #
1467
- # @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanKeywordOperation] instance that will create the resource
1468
- def self.keyword_plan_keyword(res = nil, &blk)
1469
- require "google/ads/google_ads/v3/services/keyword_plan_keyword_service_pb.rb"
1470
- op = Google::Ads::GoogleAds::V3::Services::KeywordPlanKeywordOperation.new
1433
+ # @return [Google::Ads::GoogleAds::V3::Services::UserListOperation] instance that will create the resource
1434
+ def self.user_list(res = nil, &blk)
1435
+ require "google/ads/google_ads/v3/services/user_list_service_pb.rb"
1436
+ op = Google::Ads::GoogleAds::V3::Services::UserListOperation.new
1471
1437
  if !res.nil?
1472
1438
  op["create"] = res
1473
1439
  elsif !blk.nil?
1474
- op["create"] = Factories::V3::Resources.keyword_plan_keyword(&blk)
1440
+ op["create"] = Factories::V3::Resources.user_list(&blk)
1475
1441
  end
1476
1442
 
1477
1443
  op
1478
1444
  end
1479
1445
 
1480
- # A convenience method for creating an KeywordPlanAdGroupOperation instance with
1481
- # its "create" field prepopulated with an KeywordPlanAdGroup instance.
1446
+ # A convenience method for creating an CustomerClientLinkOperation instance with
1447
+ # its "create" field prepopulated with an CustomerClientLink instance.
1482
1448
  #
1483
- # @overload keyword_plan_ad_group
1484
- # creates an operation instance, yielding a newly fabricated KeywordPlanAdGroup
1449
+ # @overload customer_client_link
1450
+ # creates an operation instance, yielding a newly fabricated CustomerClientLink
1485
1451
  # which can be used for setting attributes on the newly created resource
1486
- # @overload keyword_plan_ad_group(res)
1452
+ # @overload customer_client_link(res)
1487
1453
  # creates an operation instance, with the resource to be created
1488
1454
  # set to the passed value (res)
1489
- # @param res [Google::Ads::GoogleAds::V3::Resources::KeywordPlanAdGroup]
1455
+ # @param res [Google::Ads::GoogleAds::V3::Resources::CustomerClientLink]
1490
1456
  # a resource instance to be used for creation in this operation.
1491
1457
  #
1492
- # @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanAdGroupOperation] instance that will create the resource
1493
- def self.keyword_plan_ad_group(res = nil, &blk)
1494
- require "google/ads/google_ads/v3/services/keyword_plan_ad_group_service_pb.rb"
1495
- op = Google::Ads::GoogleAds::V3::Services::KeywordPlanAdGroupOperation.new
1458
+ # @return [Google::Ads::GoogleAds::V3::Services::CustomerClientLinkOperation] instance that will create the resource
1459
+ def self.customer_client_link(res = nil, &blk)
1460
+ require "google/ads/google_ads/v3/services/customer_client_link_service_pb.rb"
1461
+ op = Google::Ads::GoogleAds::V3::Services::CustomerClientLinkOperation.new
1496
1462
  if !res.nil?
1497
1463
  op["create"] = res
1498
1464
  elsif !blk.nil?
1499
- op["create"] = Factories::V3::Resources.keyword_plan_ad_group(&blk)
1465
+ op["create"] = Factories::V3::Resources.customer_client_link(&blk)
1500
1466
  end
1501
1467
 
1502
1468
  op
1503
1469
  end
1504
1470
 
1505
- # A convenience method for creating an BillingSetupOperation instance with
1506
- # its "create" field prepopulated with an BillingSetup instance.
1471
+ # A convenience method for creating an UserDataOperation instance with
1472
+ # its "create" field prepopulated with an UserData instance.
1507
1473
  #
1508
- # @overload billing_setup
1509
- # creates an operation instance, yielding a newly fabricated BillingSetup
1474
+ # @overload user_data
1475
+ # creates an operation instance, yielding a newly fabricated UserData
1510
1476
  # which can be used for setting attributes on the newly created resource
1511
- # @overload billing_setup(res)
1477
+ # @overload user_data(res)
1512
1478
  # creates an operation instance, with the resource to be created
1513
1479
  # set to the passed value (res)
1514
- # @param res [Google::Ads::GoogleAds::V3::Resources::BillingSetup]
1480
+ # @param res [Google::Ads::GoogleAds::V3::Common::UserData]
1515
1481
  # a resource instance to be used for creation in this operation.
1516
1482
  #
1517
- # @return [Google::Ads::GoogleAds::V3::Services::BillingSetupOperation] instance that will create the resource
1518
- def self.billing_setup(res = nil, &blk)
1519
- require "google/ads/google_ads/v3/services/billing_setup_service_pb.rb"
1520
- op = Google::Ads::GoogleAds::V3::Services::BillingSetupOperation.new
1483
+ # @return [Google::Ads::GoogleAds::V3::Services::UserDataOperation] instance that will create the resource
1484
+ def self.user_data(res = nil, &blk)
1485
+ require "google/ads/google_ads/v3/services/user_data_service_pb.rb"
1486
+ op = Google::Ads::GoogleAds::V3::Services::UserDataOperation.new
1521
1487
  if !res.nil?
1522
1488
  op["create"] = res
1523
1489
  elsif !blk.nil?
1524
- op["create"] = Factories::V3::Resources.billing_setup(&blk)
1490
+ op["create"] = Factories::V3::Resources.user_data(&blk)
1525
1491
  end
1526
1492
 
1527
1493
  op
1528
1494
  end
1529
1495
 
1530
- # A convenience method for creating an CustomInterestOperation instance with
1531
- # its "create" field prepopulated with an CustomInterest instance.
1496
+ # A convenience method for creating an KeywordPlanAdGroupOperation instance with
1497
+ # its "create" field prepopulated with an KeywordPlanAdGroup instance.
1532
1498
  #
1533
- # @overload custom_interest
1534
- # creates an operation instance, yielding a newly fabricated CustomInterest
1499
+ # @overload keyword_plan_ad_group
1500
+ # creates an operation instance, yielding a newly fabricated KeywordPlanAdGroup
1535
1501
  # which can be used for setting attributes on the newly created resource
1536
- # @overload custom_interest(res)
1502
+ # @overload keyword_plan_ad_group(res)
1537
1503
  # creates an operation instance, with the resource to be created
1538
1504
  # set to the passed value (res)
1539
- # @param res [Google::Ads::GoogleAds::V3::Resources::CustomInterest]
1505
+ # @param res [Google::Ads::GoogleAds::V3::Resources::KeywordPlanAdGroup]
1540
1506
  # a resource instance to be used for creation in this operation.
1541
1507
  #
1542
- # @return [Google::Ads::GoogleAds::V3::Services::CustomInterestOperation] instance that will create the resource
1543
- def self.custom_interest(res = nil, &blk)
1544
- require "google/ads/google_ads/v3/services/custom_interest_service_pb.rb"
1545
- op = Google::Ads::GoogleAds::V3::Services::CustomInterestOperation.new
1508
+ # @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanAdGroupOperation] instance that will create the resource
1509
+ def self.keyword_plan_ad_group(res = nil, &blk)
1510
+ require "google/ads/google_ads/v3/services/keyword_plan_ad_group_service_pb.rb"
1511
+ op = Google::Ads::GoogleAds::V3::Services::KeywordPlanAdGroupOperation.new
1546
1512
  if !res.nil?
1547
1513
  op["create"] = res
1548
1514
  elsif !blk.nil?
1549
- op["create"] = Factories::V3::Resources.custom_interest(&blk)
1515
+ op["create"] = Factories::V3::Resources.keyword_plan_ad_group(&blk)
1550
1516
  end
1551
1517
 
1552
1518
  op
@@ -1602,6 +1568,56 @@ module Google
1602
1568
  op
1603
1569
  end
1604
1570
 
1571
+ # A convenience method for creating an KeywordPlanKeywordOperation instance with
1572
+ # its "create" field prepopulated with an KeywordPlanKeyword instance.
1573
+ #
1574
+ # @overload keyword_plan_keyword
1575
+ # creates an operation instance, yielding a newly fabricated KeywordPlanKeyword
1576
+ # which can be used for setting attributes on the newly created resource
1577
+ # @overload keyword_plan_keyword(res)
1578
+ # creates an operation instance, with the resource to be created
1579
+ # set to the passed value (res)
1580
+ # @param res [Google::Ads::GoogleAds::V3::Resources::KeywordPlanKeyword]
1581
+ # a resource instance to be used for creation in this operation.
1582
+ #
1583
+ # @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanKeywordOperation] instance that will create the resource
1584
+ def self.keyword_plan_keyword(res = nil, &blk)
1585
+ require "google/ads/google_ads/v3/services/keyword_plan_keyword_service_pb.rb"
1586
+ op = Google::Ads::GoogleAds::V3::Services::KeywordPlanKeywordOperation.new
1587
+ if !res.nil?
1588
+ op["create"] = res
1589
+ elsif !blk.nil?
1590
+ op["create"] = Factories::V3::Resources.keyword_plan_keyword(&blk)
1591
+ end
1592
+
1593
+ op
1594
+ end
1595
+
1596
+ # A convenience method for creating an KeywordPlanCampaignOperation instance with
1597
+ # its "create" field prepopulated with an KeywordPlanCampaign instance.
1598
+ #
1599
+ # @overload keyword_plan_campaign
1600
+ # creates an operation instance, yielding a newly fabricated KeywordPlanCampaign
1601
+ # which can be used for setting attributes on the newly created resource
1602
+ # @overload keyword_plan_campaign(res)
1603
+ # creates an operation instance, with the resource to be created
1604
+ # set to the passed value (res)
1605
+ # @param res [Google::Ads::GoogleAds::V3::Resources::KeywordPlanCampaign]
1606
+ # a resource instance to be used for creation in this operation.
1607
+ #
1608
+ # @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanCampaignOperation] instance that will create the resource
1609
+ def self.keyword_plan_campaign(res = nil, &blk)
1610
+ require "google/ads/google_ads/v3/services/keyword_plan_campaign_service_pb.rb"
1611
+ op = Google::Ads::GoogleAds::V3::Services::KeywordPlanCampaignOperation.new
1612
+ if !res.nil?
1613
+ op["create"] = res
1614
+ elsif !blk.nil?
1615
+ op["create"] = Factories::V3::Resources.keyword_plan_campaign(&blk)
1616
+ end
1617
+
1618
+ op
1619
+ end
1620
+
1605
1621
  # A convenience method for creating an AccountBudgetProposalOperation instance with
1606
1622
  # its "create" field prepopulated with an AccountBudgetProposal instance.
1607
1623
  #
@@ -1626,34 +1642,84 @@ module Google
1626
1642
 
1627
1643
  op
1628
1644
  end
1645
+
1646
+ # A convenience method for creating an BillingSetupOperation instance with
1647
+ # its "create" field prepopulated with an BillingSetup instance.
1648
+ #
1649
+ # @overload billing_setup
1650
+ # creates an operation instance, yielding a newly fabricated BillingSetup
1651
+ # which can be used for setting attributes on the newly created resource
1652
+ # @overload billing_setup(res)
1653
+ # creates an operation instance, with the resource to be created
1654
+ # set to the passed value (res)
1655
+ # @param res [Google::Ads::GoogleAds::V3::Resources::BillingSetup]
1656
+ # a resource instance to be used for creation in this operation.
1657
+ #
1658
+ # @return [Google::Ads::GoogleAds::V3::Services::BillingSetupOperation] instance that will create the resource
1659
+ def self.billing_setup(res = nil, &blk)
1660
+ require "google/ads/google_ads/v3/services/billing_setup_service_pb.rb"
1661
+ op = Google::Ads::GoogleAds::V3::Services::BillingSetupOperation.new
1662
+ if !res.nil?
1663
+ op["create"] = res
1664
+ elsif !blk.nil?
1665
+ op["create"] = Factories::V3::Resources.billing_setup(&blk)
1666
+ end
1667
+
1668
+ op
1669
+ end
1670
+
1671
+ # A convenience method for creating an OfflineUserDataJobOperation instance with
1672
+ # its "create" field prepopulated with an UserData instance.
1673
+ #
1674
+ # @overload offline_user_data_job
1675
+ # creates an operation instance, yielding a newly fabricated UserData
1676
+ # which can be used for setting attributes on the newly created resource
1677
+ # @overload offline_user_data_job(res)
1678
+ # creates an operation instance, with the resource to be created
1679
+ # set to the passed value (res)
1680
+ # @param res [Google::Ads::GoogleAds::V3::Common::UserData]
1681
+ # a resource instance to be used for creation in this operation.
1682
+ #
1683
+ # @return [Google::Ads::GoogleAds::V3::Services::OfflineUserDataJobOperation] instance that will create the resource
1684
+ def self.offline_user_data_job(res = nil, &blk)
1685
+ require "google/ads/google_ads/v3/services/offline_user_data_job_service_pb.rb"
1686
+ op = Google::Ads::GoogleAds::V3::Services::OfflineUserDataJobOperation.new
1687
+ if !res.nil?
1688
+ op["create"] = res
1689
+ elsif !blk.nil?
1690
+ op["create"] = Factories::V3::Resources.user_data(&blk)
1691
+ end
1692
+
1693
+ op
1694
+ end
1629
1695
  end
1630
1696
 
1631
1697
  module UpdateResource
1632
- # A convenience method for creating an CustomerManagerLinkOperation instance with
1633
- # its "update" field prepopulated with an CustomerManagerLink instance, and
1698
+ # A convenience method for creating an CustomInterestOperation instance with
1699
+ # its "update" field prepopulated with an CustomInterest instance, and
1634
1700
  # its "update_mask" field populated as needed to send the updates to the API.
1635
1701
  #
1636
- # @overload #customer_manager_link(path, &blk)
1702
+ # @overload #custom_interest(path, &blk)
1637
1703
  # @param path [String] a resource path for the resource to update
1638
- # @yield [Google::Ads::GoogleAds::V3::Resources::CustomerManagerLink] a new instance of the resource for this update operation, on
1704
+ # @yield [Google::Ads::GoogleAds::V3::Resources::CustomInterest] a new instance of the resource for this update operation, on
1639
1705
  # which fields can be set to update
1640
1706
  #
1641
- # @overload #customer_manager_link(resource, &blk)
1642
- # @param resource [Google::Ads::GoogleAds::V3::Resources::CustomerManagerLink] a resource instance to update
1707
+ # @overload #custom_interest(resource, &blk)
1708
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::CustomInterest] a resource instance to update
1643
1709
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
1644
- # @return [Google::Ads::GoogleAds::V3::Services::CustomerManagerLinkOperation] the operation instance to update the resource
1645
- def self.customer_manager_link(resource_or_path, &blk)
1646
- require "google/ads/google_ads/v3/services/customer_manager_link_service_pb.rb"
1710
+ # @return [Google::Ads::GoogleAds::V3::Services::CustomInterestOperation] the operation instance to update the resource
1711
+ def self.custom_interest(resource_or_path, &blk)
1712
+ require "google/ads/google_ads/v3/services/custom_interest_service_pb.rb"
1647
1713
  res = case resource_or_path
1648
- when Google::Ads::GoogleAds::V3::Resources::CustomerManagerLink
1714
+ when Google::Ads::GoogleAds::V3::Resources::CustomInterest
1649
1715
  resource_or_path
1650
1716
  # got a resource path
1651
1717
  when String
1652
- obj = Google::Ads::GoogleAds::V3::Resources::CustomerManagerLink.new
1718
+ obj = Google::Ads::GoogleAds::V3::Resources::CustomInterest.new
1653
1719
  obj.resource_name = resource_or_path
1654
1720
  obj
1655
1721
  else
1656
- unless Google::Ads::GoogleAds::V3::Resources::CustomerManagerLink === res
1722
+ unless Google::Ads::GoogleAds::V3::Resources::CustomInterest === res
1657
1723
  raise ArgumentError.new(
1658
1724
  "Called #{__method__} with instance of wrong type:"\
1659
1725
  " #{res.class} want #{operation.update_class}"\
@@ -1662,37 +1728,37 @@ module Google
1662
1728
  end
1663
1729
  end
1664
1730
 
1665
- op = Google::Ads::GoogleAds::V3::Services::CustomerManagerLinkOperation.new
1731
+ op = Google::Ads::GoogleAds::V3::Services::CustomInterestOperation.new
1666
1732
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
1667
1733
  op["update"] = res
1668
1734
  op
1669
1735
  end
1670
1736
 
1671
- # A convenience method for creating an KeywordPlanCampaignOperation instance with
1672
- # its "update" field prepopulated with an KeywordPlanCampaign instance, and
1737
+ # A convenience method for creating an AdGroupOperation instance with
1738
+ # its "update" field prepopulated with an AdGroup instance, and
1673
1739
  # its "update_mask" field populated as needed to send the updates to the API.
1674
1740
  #
1675
- # @overload #keyword_plan_campaign(path, &blk)
1741
+ # @overload #ad_group(path, &blk)
1676
1742
  # @param path [String] a resource path for the resource to update
1677
- # @yield [Google::Ads::GoogleAds::V3::Resources::KeywordPlanCampaign] a new instance of the resource for this update operation, on
1743
+ # @yield [Google::Ads::GoogleAds::V3::Resources::AdGroup] a new instance of the resource for this update operation, on
1678
1744
  # which fields can be set to update
1679
1745
  #
1680
- # @overload #keyword_plan_campaign(resource, &blk)
1681
- # @param resource [Google::Ads::GoogleAds::V3::Resources::KeywordPlanCampaign] a resource instance to update
1746
+ # @overload #ad_group(resource, &blk)
1747
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::AdGroup] a resource instance to update
1682
1748
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
1683
- # @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanCampaignOperation] the operation instance to update the resource
1684
- def self.keyword_plan_campaign(resource_or_path, &blk)
1685
- require "google/ads/google_ads/v3/services/keyword_plan_campaign_service_pb.rb"
1749
+ # @return [Google::Ads::GoogleAds::V3::Services::AdGroupOperation] the operation instance to update the resource
1750
+ def self.ad_group(resource_or_path, &blk)
1751
+ require "google/ads/google_ads/v3/services/ad_group_service_pb.rb"
1686
1752
  res = case resource_or_path
1687
- when Google::Ads::GoogleAds::V3::Resources::KeywordPlanCampaign
1753
+ when Google::Ads::GoogleAds::V3::Resources::AdGroup
1688
1754
  resource_or_path
1689
1755
  # got a resource path
1690
1756
  when String
1691
- obj = Google::Ads::GoogleAds::V3::Resources::KeywordPlanCampaign.new
1757
+ obj = Google::Ads::GoogleAds::V3::Resources::AdGroup.new
1692
1758
  obj.resource_name = resource_or_path
1693
1759
  obj
1694
1760
  else
1695
- unless Google::Ads::GoogleAds::V3::Resources::KeywordPlanCampaign === res
1761
+ unless Google::Ads::GoogleAds::V3::Resources::AdGroup === res
1696
1762
  raise ArgumentError.new(
1697
1763
  "Called #{__method__} with instance of wrong type:"\
1698
1764
  " #{res.class} want #{operation.update_class}"\
@@ -1701,37 +1767,37 @@ module Google
1701
1767
  end
1702
1768
  end
1703
1769
 
1704
- op = Google::Ads::GoogleAds::V3::Services::KeywordPlanCampaignOperation.new
1770
+ op = Google::Ads::GoogleAds::V3::Services::AdGroupOperation.new
1705
1771
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
1706
1772
  op["update"] = res
1707
1773
  op
1708
1774
  end
1709
1775
 
1710
- # A convenience method for creating an SharedSetOperation instance with
1711
- # its "update" field prepopulated with an SharedSet instance, and
1776
+ # A convenience method for creating an ExtensionFeedItemOperation instance with
1777
+ # its "update" field prepopulated with an ExtensionFeedItem instance, and
1712
1778
  # its "update_mask" field populated as needed to send the updates to the API.
1713
1779
  #
1714
- # @overload #shared_set(path, &blk)
1780
+ # @overload #extension_feed_item(path, &blk)
1715
1781
  # @param path [String] a resource path for the resource to update
1716
- # @yield [Google::Ads::GoogleAds::V3::Resources::SharedSet] a new instance of the resource for this update operation, on
1782
+ # @yield [Google::Ads::GoogleAds::V3::Resources::ExtensionFeedItem] a new instance of the resource for this update operation, on
1717
1783
  # which fields can be set to update
1718
1784
  #
1719
- # @overload #shared_set(resource, &blk)
1720
- # @param resource [Google::Ads::GoogleAds::V3::Resources::SharedSet] a resource instance to update
1785
+ # @overload #extension_feed_item(resource, &blk)
1786
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::ExtensionFeedItem] a resource instance to update
1721
1787
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
1722
- # @return [Google::Ads::GoogleAds::V3::Services::SharedSetOperation] the operation instance to update the resource
1723
- def self.shared_set(resource_or_path, &blk)
1724
- require "google/ads/google_ads/v3/services/shared_set_service_pb.rb"
1788
+ # @return [Google::Ads::GoogleAds::V3::Services::ExtensionFeedItemOperation] the operation instance to update the resource
1789
+ def self.extension_feed_item(resource_or_path, &blk)
1790
+ require "google/ads/google_ads/v3/services/extension_feed_item_service_pb.rb"
1725
1791
  res = case resource_or_path
1726
- when Google::Ads::GoogleAds::V3::Resources::SharedSet
1792
+ when Google::Ads::GoogleAds::V3::Resources::ExtensionFeedItem
1727
1793
  resource_or_path
1728
1794
  # got a resource path
1729
1795
  when String
1730
- obj = Google::Ads::GoogleAds::V3::Resources::SharedSet.new
1796
+ obj = Google::Ads::GoogleAds::V3::Resources::ExtensionFeedItem.new
1731
1797
  obj.resource_name = resource_or_path
1732
1798
  obj
1733
1799
  else
1734
- unless Google::Ads::GoogleAds::V3::Resources::SharedSet === res
1800
+ unless Google::Ads::GoogleAds::V3::Resources::ExtensionFeedItem === res
1735
1801
  raise ArgumentError.new(
1736
1802
  "Called #{__method__} with instance of wrong type:"\
1737
1803
  " #{res.class} want #{operation.update_class}"\
@@ -1740,37 +1806,37 @@ module Google
1740
1806
  end
1741
1807
  end
1742
1808
 
1743
- op = Google::Ads::GoogleAds::V3::Services::SharedSetOperation.new
1809
+ op = Google::Ads::GoogleAds::V3::Services::ExtensionFeedItemOperation.new
1744
1810
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
1745
1811
  op["update"] = res
1746
1812
  op
1747
1813
  end
1748
1814
 
1749
- # A convenience method for creating an FeedOperation instance with
1750
- # its "update" field prepopulated with an Feed instance, and
1815
+ # A convenience method for creating an CampaignBidModifierOperation instance with
1816
+ # its "update" field prepopulated with an CampaignBidModifier instance, and
1751
1817
  # its "update_mask" field populated as needed to send the updates to the API.
1752
1818
  #
1753
- # @overload #feed(path, &blk)
1819
+ # @overload #campaign_bid_modifier(path, &blk)
1754
1820
  # @param path [String] a resource path for the resource to update
1755
- # @yield [Google::Ads::GoogleAds::V3::Resources::Feed] a new instance of the resource for this update operation, on
1821
+ # @yield [Google::Ads::GoogleAds::V3::Resources::CampaignBidModifier] a new instance of the resource for this update operation, on
1756
1822
  # which fields can be set to update
1757
1823
  #
1758
- # @overload #feed(resource, &blk)
1759
- # @param resource [Google::Ads::GoogleAds::V3::Resources::Feed] a resource instance to update
1824
+ # @overload #campaign_bid_modifier(resource, &blk)
1825
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::CampaignBidModifier] a resource instance to update
1760
1826
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
1761
- # @return [Google::Ads::GoogleAds::V3::Services::FeedOperation] the operation instance to update the resource
1762
- def self.feed(resource_or_path, &blk)
1763
- require "google/ads/google_ads/v3/services/feed_service_pb.rb"
1827
+ # @return [Google::Ads::GoogleAds::V3::Services::CampaignBidModifierOperation] the operation instance to update the resource
1828
+ def self.campaign_bid_modifier(resource_or_path, &blk)
1829
+ require "google/ads/google_ads/v3/services/campaign_bid_modifier_service_pb.rb"
1764
1830
  res = case resource_or_path
1765
- when Google::Ads::GoogleAds::V3::Resources::Feed
1831
+ when Google::Ads::GoogleAds::V3::Resources::CampaignBidModifier
1766
1832
  resource_or_path
1767
1833
  # got a resource path
1768
1834
  when String
1769
- obj = Google::Ads::GoogleAds::V3::Resources::Feed.new
1835
+ obj = Google::Ads::GoogleAds::V3::Resources::CampaignBidModifier.new
1770
1836
  obj.resource_name = resource_or_path
1771
1837
  obj
1772
1838
  else
1773
- unless Google::Ads::GoogleAds::V3::Resources::Feed === res
1839
+ unless Google::Ads::GoogleAds::V3::Resources::CampaignBidModifier === res
1774
1840
  raise ArgumentError.new(
1775
1841
  "Called #{__method__} with instance of wrong type:"\
1776
1842
  " #{res.class} want #{operation.update_class}"\
@@ -1779,37 +1845,37 @@ module Google
1779
1845
  end
1780
1846
  end
1781
1847
 
1782
- op = Google::Ads::GoogleAds::V3::Services::FeedOperation.new
1848
+ op = Google::Ads::GoogleAds::V3::Services::CampaignBidModifierOperation.new
1783
1849
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
1784
1850
  op["update"] = res
1785
1851
  op
1786
1852
  end
1787
1853
 
1788
- # A convenience method for creating an CustomerClientLinkOperation instance with
1789
- # its "update" field prepopulated with an CustomerClientLink instance, and
1854
+ # A convenience method for creating an CampaignDraftOperation instance with
1855
+ # its "update" field prepopulated with an CampaignDraft instance, and
1790
1856
  # its "update_mask" field populated as needed to send the updates to the API.
1791
1857
  #
1792
- # @overload #customer_client_link(path, &blk)
1858
+ # @overload #campaign_draft(path, &blk)
1793
1859
  # @param path [String] a resource path for the resource to update
1794
- # @yield [Google::Ads::GoogleAds::V3::Resources::CustomerClientLink] a new instance of the resource for this update operation, on
1860
+ # @yield [Google::Ads::GoogleAds::V3::Resources::CampaignDraft] a new instance of the resource for this update operation, on
1795
1861
  # which fields can be set to update
1796
1862
  #
1797
- # @overload #customer_client_link(resource, &blk)
1798
- # @param resource [Google::Ads::GoogleAds::V3::Resources::CustomerClientLink] a resource instance to update
1863
+ # @overload #campaign_draft(resource, &blk)
1864
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::CampaignDraft] a resource instance to update
1799
1865
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
1800
- # @return [Google::Ads::GoogleAds::V3::Services::CustomerClientLinkOperation] the operation instance to update the resource
1801
- def self.customer_client_link(resource_or_path, &blk)
1802
- require "google/ads/google_ads/v3/services/customer_client_link_service_pb.rb"
1866
+ # @return [Google::Ads::GoogleAds::V3::Services::CampaignDraftOperation] the operation instance to update the resource
1867
+ def self.campaign_draft(resource_or_path, &blk)
1868
+ require "google/ads/google_ads/v3/services/campaign_draft_service_pb.rb"
1803
1869
  res = case resource_or_path
1804
- when Google::Ads::GoogleAds::V3::Resources::CustomerClientLink
1870
+ when Google::Ads::GoogleAds::V3::Resources::CampaignDraft
1805
1871
  resource_or_path
1806
1872
  # got a resource path
1807
1873
  when String
1808
- obj = Google::Ads::GoogleAds::V3::Resources::CustomerClientLink.new
1874
+ obj = Google::Ads::GoogleAds::V3::Resources::CampaignDraft.new
1809
1875
  obj.resource_name = resource_or_path
1810
1876
  obj
1811
1877
  else
1812
- unless Google::Ads::GoogleAds::V3::Resources::CustomerClientLink === res
1878
+ unless Google::Ads::GoogleAds::V3::Resources::CampaignDraft === res
1813
1879
  raise ArgumentError.new(
1814
1880
  "Called #{__method__} with instance of wrong type:"\
1815
1881
  " #{res.class} want #{operation.update_class}"\
@@ -1818,37 +1884,37 @@ module Google
1818
1884
  end
1819
1885
  end
1820
1886
 
1821
- op = Google::Ads::GoogleAds::V3::Services::CustomerClientLinkOperation.new
1887
+ op = Google::Ads::GoogleAds::V3::Services::CampaignDraftOperation.new
1822
1888
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
1823
1889
  op["update"] = res
1824
1890
  op
1825
1891
  end
1826
1892
 
1827
- # A convenience method for creating an MerchantCenterLinkOperation instance with
1828
- # its "update" field prepopulated with an MerchantCenterLink instance, and
1893
+ # A convenience method for creating an CustomerOperation instance with
1894
+ # its "update" field prepopulated with an Customer instance, and
1829
1895
  # its "update_mask" field populated as needed to send the updates to the API.
1830
1896
  #
1831
- # @overload #merchant_center_link(path, &blk)
1897
+ # @overload #customer(path, &blk)
1832
1898
  # @param path [String] a resource path for the resource to update
1833
- # @yield [Google::Ads::GoogleAds::V3::Resources::MerchantCenterLink] a new instance of the resource for this update operation, on
1899
+ # @yield [Google::Ads::GoogleAds::V3::Resources::Customer] a new instance of the resource for this update operation, on
1834
1900
  # which fields can be set to update
1835
1901
  #
1836
- # @overload #merchant_center_link(resource, &blk)
1837
- # @param resource [Google::Ads::GoogleAds::V3::Resources::MerchantCenterLink] a resource instance to update
1902
+ # @overload #customer(resource, &blk)
1903
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::Customer] a resource instance to update
1838
1904
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
1839
- # @return [Google::Ads::GoogleAds::V3::Services::MerchantCenterLinkOperation] the operation instance to update the resource
1840
- def self.merchant_center_link(resource_or_path, &blk)
1841
- require "google/ads/google_ads/v3/services/merchant_center_link_service_pb.rb"
1905
+ # @return [Google::Ads::GoogleAds::V3::Services::CustomerOperation] the operation instance to update the resource
1906
+ def self.customer(resource_or_path, &blk)
1907
+ require "google/ads/google_ads/v3/services/customer_service_pb.rb"
1842
1908
  res = case resource_or_path
1843
- when Google::Ads::GoogleAds::V3::Resources::MerchantCenterLink
1909
+ when Google::Ads::GoogleAds::V3::Resources::Customer
1844
1910
  resource_or_path
1845
1911
  # got a resource path
1846
1912
  when String
1847
- obj = Google::Ads::GoogleAds::V3::Resources::MerchantCenterLink.new
1913
+ obj = Google::Ads::GoogleAds::V3::Resources::Customer.new
1848
1914
  obj.resource_name = resource_or_path
1849
1915
  obj
1850
1916
  else
1851
- unless Google::Ads::GoogleAds::V3::Resources::MerchantCenterLink === res
1917
+ unless Google::Ads::GoogleAds::V3::Resources::Customer === res
1852
1918
  raise ArgumentError.new(
1853
1919
  "Called #{__method__} with instance of wrong type:"\
1854
1920
  " #{res.class} want #{operation.update_class}"\
@@ -1857,37 +1923,37 @@ module Google
1857
1923
  end
1858
1924
  end
1859
1925
 
1860
- op = Google::Ads::GoogleAds::V3::Services::MerchantCenterLinkOperation.new
1926
+ op = Google::Ads::GoogleAds::V3::Services::CustomerOperation.new
1861
1927
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
1862
1928
  op["update"] = res
1863
1929
  op
1864
1930
  end
1865
1931
 
1866
- # A convenience method for creating an AdGroupBidModifierOperation instance with
1867
- # its "update" field prepopulated with an AdGroupBidModifier instance, and
1932
+ # A convenience method for creating an SharedSetOperation instance with
1933
+ # its "update" field prepopulated with an SharedSet instance, and
1868
1934
  # its "update_mask" field populated as needed to send the updates to the API.
1869
1935
  #
1870
- # @overload #ad_group_bid_modifier(path, &blk)
1936
+ # @overload #shared_set(path, &blk)
1871
1937
  # @param path [String] a resource path for the resource to update
1872
- # @yield [Google::Ads::GoogleAds::V3::Resources::AdGroupBidModifier] a new instance of the resource for this update operation, on
1938
+ # @yield [Google::Ads::GoogleAds::V3::Resources::SharedSet] a new instance of the resource for this update operation, on
1873
1939
  # which fields can be set to update
1874
1940
  #
1875
- # @overload #ad_group_bid_modifier(resource, &blk)
1876
- # @param resource [Google::Ads::GoogleAds::V3::Resources::AdGroupBidModifier] a resource instance to update
1941
+ # @overload #shared_set(resource, &blk)
1942
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::SharedSet] a resource instance to update
1877
1943
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
1878
- # @return [Google::Ads::GoogleAds::V3::Services::AdGroupBidModifierOperation] the operation instance to update the resource
1879
- def self.ad_group_bid_modifier(resource_or_path, &blk)
1880
- require "google/ads/google_ads/v3/services/ad_group_bid_modifier_service_pb.rb"
1944
+ # @return [Google::Ads::GoogleAds::V3::Services::SharedSetOperation] the operation instance to update the resource
1945
+ def self.shared_set(resource_or_path, &blk)
1946
+ require "google/ads/google_ads/v3/services/shared_set_service_pb.rb"
1881
1947
  res = case resource_or_path
1882
- when Google::Ads::GoogleAds::V3::Resources::AdGroupBidModifier
1948
+ when Google::Ads::GoogleAds::V3::Resources::SharedSet
1883
1949
  resource_or_path
1884
1950
  # got a resource path
1885
1951
  when String
1886
- obj = Google::Ads::GoogleAds::V3::Resources::AdGroupBidModifier.new
1952
+ obj = Google::Ads::GoogleAds::V3::Resources::SharedSet.new
1887
1953
  obj.resource_name = resource_or_path
1888
1954
  obj
1889
1955
  else
1890
- unless Google::Ads::GoogleAds::V3::Resources::AdGroupBidModifier === res
1956
+ unless Google::Ads::GoogleAds::V3::Resources::SharedSet === res
1891
1957
  raise ArgumentError.new(
1892
1958
  "Called #{__method__} with instance of wrong type:"\
1893
1959
  " #{res.class} want #{operation.update_class}"\
@@ -1896,7 +1962,7 @@ module Google
1896
1962
  end
1897
1963
  end
1898
1964
 
1899
- op = Google::Ads::GoogleAds::V3::Services::AdGroupBidModifierOperation.new
1965
+ op = Google::Ads::GoogleAds::V3::Services::SharedSetOperation.new
1900
1966
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
1901
1967
  op["update"] = res
1902
1968
  op
@@ -1941,31 +2007,31 @@ module Google
1941
2007
  op
1942
2008
  end
1943
2009
 
1944
- # A convenience method for creating an RemarketingActionOperation instance with
1945
- # its "update" field prepopulated with an RemarketingAction instance, and
2010
+ # A convenience method for creating an LabelOperation instance with
2011
+ # its "update" field prepopulated with an Label instance, and
1946
2012
  # its "update_mask" field populated as needed to send the updates to the API.
1947
2013
  #
1948
- # @overload #remarketing_action(path, &blk)
2014
+ # @overload #label(path, &blk)
1949
2015
  # @param path [String] a resource path for the resource to update
1950
- # @yield [Google::Ads::GoogleAds::V3::Resources::RemarketingAction] a new instance of the resource for this update operation, on
2016
+ # @yield [Google::Ads::GoogleAds::V3::Resources::Label] a new instance of the resource for this update operation, on
1951
2017
  # which fields can be set to update
1952
2018
  #
1953
- # @overload #remarketing_action(resource, &blk)
1954
- # @param resource [Google::Ads::GoogleAds::V3::Resources::RemarketingAction] a resource instance to update
2019
+ # @overload #label(resource, &blk)
2020
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::Label] a resource instance to update
1955
2021
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
1956
- # @return [Google::Ads::GoogleAds::V3::Services::RemarketingActionOperation] the operation instance to update the resource
1957
- def self.remarketing_action(resource_or_path, &blk)
1958
- require "google/ads/google_ads/v3/services/remarketing_action_service_pb.rb"
2022
+ # @return [Google::Ads::GoogleAds::V3::Services::LabelOperation] the operation instance to update the resource
2023
+ def self.label(resource_or_path, &blk)
2024
+ require "google/ads/google_ads/v3/services/label_service_pb.rb"
1959
2025
  res = case resource_or_path
1960
- when Google::Ads::GoogleAds::V3::Resources::RemarketingAction
2026
+ when Google::Ads::GoogleAds::V3::Resources::Label
1961
2027
  resource_or_path
1962
2028
  # got a resource path
1963
2029
  when String
1964
- obj = Google::Ads::GoogleAds::V3::Resources::RemarketingAction.new
2030
+ obj = Google::Ads::GoogleAds::V3::Resources::Label.new
1965
2031
  obj.resource_name = resource_or_path
1966
2032
  obj
1967
2033
  else
1968
- unless Google::Ads::GoogleAds::V3::Resources::RemarketingAction === res
2034
+ unless Google::Ads::GoogleAds::V3::Resources::Label === res
1969
2035
  raise ArgumentError.new(
1970
2036
  "Called #{__method__} with instance of wrong type:"\
1971
2037
  " #{res.class} want #{operation.update_class}"\
@@ -1974,7 +2040,7 @@ module Google
1974
2040
  end
1975
2041
  end
1976
2042
 
1977
- op = Google::Ads::GoogleAds::V3::Services::RemarketingActionOperation.new
2043
+ op = Google::Ads::GoogleAds::V3::Services::LabelOperation.new
1978
2044
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
1979
2045
  op["update"] = res
1980
2046
  op
@@ -2019,31 +2085,31 @@ module Google
2019
2085
  op
2020
2086
  end
2021
2087
 
2022
- # A convenience method for creating an AdGroupCriterionOperation instance with
2023
- # its "update" field prepopulated with an AdGroupCriterion instance, and
2088
+ # A convenience method for creating an AdGroupBidModifierOperation instance with
2089
+ # its "update" field prepopulated with an AdGroupBidModifier instance, and
2024
2090
  # its "update_mask" field populated as needed to send the updates to the API.
2025
2091
  #
2026
- # @overload #ad_group_criterion(path, &blk)
2092
+ # @overload #ad_group_bid_modifier(path, &blk)
2027
2093
  # @param path [String] a resource path for the resource to update
2028
- # @yield [Google::Ads::GoogleAds::V3::Resources::AdGroupCriterion] a new instance of the resource for this update operation, on
2094
+ # @yield [Google::Ads::GoogleAds::V3::Resources::AdGroupBidModifier] a new instance of the resource for this update operation, on
2029
2095
  # which fields can be set to update
2030
2096
  #
2031
- # @overload #ad_group_criterion(resource, &blk)
2032
- # @param resource [Google::Ads::GoogleAds::V3::Resources::AdGroupCriterion] a resource instance to update
2097
+ # @overload #ad_group_bid_modifier(resource, &blk)
2098
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::AdGroupBidModifier] a resource instance to update
2033
2099
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
2034
- # @return [Google::Ads::GoogleAds::V3::Services::AdGroupCriterionOperation] the operation instance to update the resource
2035
- def self.ad_group_criterion(resource_or_path, &blk)
2036
- require "google/ads/google_ads/v3/services/ad_group_criterion_service_pb.rb"
2100
+ # @return [Google::Ads::GoogleAds::V3::Services::AdGroupBidModifierOperation] the operation instance to update the resource
2101
+ def self.ad_group_bid_modifier(resource_or_path, &blk)
2102
+ require "google/ads/google_ads/v3/services/ad_group_bid_modifier_service_pb.rb"
2037
2103
  res = case resource_or_path
2038
- when Google::Ads::GoogleAds::V3::Resources::AdGroupCriterion
2104
+ when Google::Ads::GoogleAds::V3::Resources::AdGroupBidModifier
2039
2105
  resource_or_path
2040
2106
  # got a resource path
2041
2107
  when String
2042
- obj = Google::Ads::GoogleAds::V3::Resources::AdGroupCriterion.new
2108
+ obj = Google::Ads::GoogleAds::V3::Resources::AdGroupBidModifier.new
2043
2109
  obj.resource_name = resource_or_path
2044
2110
  obj
2045
2111
  else
2046
- unless Google::Ads::GoogleAds::V3::Resources::AdGroupCriterion === res
2112
+ unless Google::Ads::GoogleAds::V3::Resources::AdGroupBidModifier === res
2047
2113
  raise ArgumentError.new(
2048
2114
  "Called #{__method__} with instance of wrong type:"\
2049
2115
  " #{res.class} want #{operation.update_class}"\
@@ -2052,37 +2118,37 @@ module Google
2052
2118
  end
2053
2119
  end
2054
2120
 
2055
- op = Google::Ads::GoogleAds::V3::Services::AdGroupCriterionOperation.new
2121
+ op = Google::Ads::GoogleAds::V3::Services::AdGroupBidModifierOperation.new
2056
2122
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2057
2123
  op["update"] = res
2058
2124
  op
2059
2125
  end
2060
2126
 
2061
- # A convenience method for creating an AdGroupExtensionSettingOperation instance with
2062
- # its "update" field prepopulated with an AdGroupExtensionSetting instance, and
2127
+ # A convenience method for creating an AdGroupCriterionOperation instance with
2128
+ # its "update" field prepopulated with an AdGroupCriterion instance, and
2063
2129
  # its "update_mask" field populated as needed to send the updates to the API.
2064
2130
  #
2065
- # @overload #ad_group_extension_setting(path, &blk)
2131
+ # @overload #ad_group_criterion(path, &blk)
2066
2132
  # @param path [String] a resource path for the resource to update
2067
- # @yield [Google::Ads::GoogleAds::V3::Resources::AdGroupExtensionSetting] a new instance of the resource for this update operation, on
2133
+ # @yield [Google::Ads::GoogleAds::V3::Resources::AdGroupCriterion] a new instance of the resource for this update operation, on
2068
2134
  # which fields can be set to update
2069
2135
  #
2070
- # @overload #ad_group_extension_setting(resource, &blk)
2071
- # @param resource [Google::Ads::GoogleAds::V3::Resources::AdGroupExtensionSetting] a resource instance to update
2136
+ # @overload #ad_group_criterion(resource, &blk)
2137
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::AdGroupCriterion] a resource instance to update
2072
2138
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
2073
- # @return [Google::Ads::GoogleAds::V3::Services::AdGroupExtensionSettingOperation] the operation instance to update the resource
2074
- def self.ad_group_extension_setting(resource_or_path, &blk)
2075
- require "google/ads/google_ads/v3/services/ad_group_extension_setting_service_pb.rb"
2139
+ # @return [Google::Ads::GoogleAds::V3::Services::AdGroupCriterionOperation] the operation instance to update the resource
2140
+ def self.ad_group_criterion(resource_or_path, &blk)
2141
+ require "google/ads/google_ads/v3/services/ad_group_criterion_service_pb.rb"
2076
2142
  res = case resource_or_path
2077
- when Google::Ads::GoogleAds::V3::Resources::AdGroupExtensionSetting
2143
+ when Google::Ads::GoogleAds::V3::Resources::AdGroupCriterion
2078
2144
  resource_or_path
2079
2145
  # got a resource path
2080
2146
  when String
2081
- obj = Google::Ads::GoogleAds::V3::Resources::AdGroupExtensionSetting.new
2147
+ obj = Google::Ads::GoogleAds::V3::Resources::AdGroupCriterion.new
2082
2148
  obj.resource_name = resource_or_path
2083
2149
  obj
2084
2150
  else
2085
- unless Google::Ads::GoogleAds::V3::Resources::AdGroupExtensionSetting === res
2151
+ unless Google::Ads::GoogleAds::V3::Resources::AdGroupCriterion === res
2086
2152
  raise ArgumentError.new(
2087
2153
  "Called #{__method__} with instance of wrong type:"\
2088
2154
  " #{res.class} want #{operation.update_class}"\
@@ -2091,37 +2157,37 @@ module Google
2091
2157
  end
2092
2158
  end
2093
2159
 
2094
- op = Google::Ads::GoogleAds::V3::Services::AdGroupExtensionSettingOperation.new
2160
+ op = Google::Ads::GoogleAds::V3::Services::AdGroupCriterionOperation.new
2095
2161
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2096
2162
  op["update"] = res
2097
2163
  op
2098
2164
  end
2099
2165
 
2100
- # A convenience method for creating an AdGroupFeedOperation instance with
2101
- # its "update" field prepopulated with an AdGroupFeed instance, and
2166
+ # A convenience method for creating an AdGroupExtensionSettingOperation instance with
2167
+ # its "update" field prepopulated with an AdGroupExtensionSetting instance, and
2102
2168
  # its "update_mask" field populated as needed to send the updates to the API.
2103
2169
  #
2104
- # @overload #ad_group_feed(path, &blk)
2170
+ # @overload #ad_group_extension_setting(path, &blk)
2105
2171
  # @param path [String] a resource path for the resource to update
2106
- # @yield [Google::Ads::GoogleAds::V3::Resources::AdGroupFeed] a new instance of the resource for this update operation, on
2172
+ # @yield [Google::Ads::GoogleAds::V3::Resources::AdGroupExtensionSetting] a new instance of the resource for this update operation, on
2107
2173
  # which fields can be set to update
2108
2174
  #
2109
- # @overload #ad_group_feed(resource, &blk)
2110
- # @param resource [Google::Ads::GoogleAds::V3::Resources::AdGroupFeed] a resource instance to update
2175
+ # @overload #ad_group_extension_setting(resource, &blk)
2176
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::AdGroupExtensionSetting] a resource instance to update
2111
2177
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
2112
- # @return [Google::Ads::GoogleAds::V3::Services::AdGroupFeedOperation] the operation instance to update the resource
2113
- def self.ad_group_feed(resource_or_path, &blk)
2114
- require "google/ads/google_ads/v3/services/ad_group_feed_service_pb.rb"
2178
+ # @return [Google::Ads::GoogleAds::V3::Services::AdGroupExtensionSettingOperation] the operation instance to update the resource
2179
+ def self.ad_group_extension_setting(resource_or_path, &blk)
2180
+ require "google/ads/google_ads/v3/services/ad_group_extension_setting_service_pb.rb"
2115
2181
  res = case resource_or_path
2116
- when Google::Ads::GoogleAds::V3::Resources::AdGroupFeed
2182
+ when Google::Ads::GoogleAds::V3::Resources::AdGroupExtensionSetting
2117
2183
  resource_or_path
2118
2184
  # got a resource path
2119
2185
  when String
2120
- obj = Google::Ads::GoogleAds::V3::Resources::AdGroupFeed.new
2186
+ obj = Google::Ads::GoogleAds::V3::Resources::AdGroupExtensionSetting.new
2121
2187
  obj.resource_name = resource_or_path
2122
2188
  obj
2123
2189
  else
2124
- unless Google::Ads::GoogleAds::V3::Resources::AdGroupFeed === res
2190
+ unless Google::Ads::GoogleAds::V3::Resources::AdGroupExtensionSetting === res
2125
2191
  raise ArgumentError.new(
2126
2192
  "Called #{__method__} with instance of wrong type:"\
2127
2193
  " #{res.class} want #{operation.update_class}"\
@@ -2130,37 +2196,37 @@ module Google
2130
2196
  end
2131
2197
  end
2132
2198
 
2133
- op = Google::Ads::GoogleAds::V3::Services::AdGroupFeedOperation.new
2199
+ op = Google::Ads::GoogleAds::V3::Services::AdGroupExtensionSettingOperation.new
2134
2200
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2135
2201
  op["update"] = res
2136
2202
  op
2137
2203
  end
2138
2204
 
2139
- # A convenience method for creating an AdGroupOperation instance with
2140
- # its "update" field prepopulated with an AdGroup instance, and
2205
+ # A convenience method for creating an AdGroupFeedOperation instance with
2206
+ # its "update" field prepopulated with an AdGroupFeed instance, and
2141
2207
  # its "update_mask" field populated as needed to send the updates to the API.
2142
2208
  #
2143
- # @overload #ad_group(path, &blk)
2209
+ # @overload #ad_group_feed(path, &blk)
2144
2210
  # @param path [String] a resource path for the resource to update
2145
- # @yield [Google::Ads::GoogleAds::V3::Resources::AdGroup] a new instance of the resource for this update operation, on
2211
+ # @yield [Google::Ads::GoogleAds::V3::Resources::AdGroupFeed] a new instance of the resource for this update operation, on
2146
2212
  # which fields can be set to update
2147
2213
  #
2148
- # @overload #ad_group(resource, &blk)
2149
- # @param resource [Google::Ads::GoogleAds::V3::Resources::AdGroup] a resource instance to update
2214
+ # @overload #ad_group_feed(resource, &blk)
2215
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::AdGroupFeed] a resource instance to update
2150
2216
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
2151
- # @return [Google::Ads::GoogleAds::V3::Services::AdGroupOperation] the operation instance to update the resource
2152
- def self.ad_group(resource_or_path, &blk)
2153
- require "google/ads/google_ads/v3/services/ad_group_service_pb.rb"
2217
+ # @return [Google::Ads::GoogleAds::V3::Services::AdGroupFeedOperation] the operation instance to update the resource
2218
+ def self.ad_group_feed(resource_or_path, &blk)
2219
+ require "google/ads/google_ads/v3/services/ad_group_feed_service_pb.rb"
2154
2220
  res = case resource_or_path
2155
- when Google::Ads::GoogleAds::V3::Resources::AdGroup
2221
+ when Google::Ads::GoogleAds::V3::Resources::AdGroupFeed
2156
2222
  resource_or_path
2157
2223
  # got a resource path
2158
2224
  when String
2159
- obj = Google::Ads::GoogleAds::V3::Resources::AdGroup.new
2225
+ obj = Google::Ads::GoogleAds::V3::Resources::AdGroupFeed.new
2160
2226
  obj.resource_name = resource_or_path
2161
2227
  obj
2162
2228
  else
2163
- unless Google::Ads::GoogleAds::V3::Resources::AdGroup === res
2229
+ unless Google::Ads::GoogleAds::V3::Resources::AdGroupFeed === res
2164
2230
  raise ArgumentError.new(
2165
2231
  "Called #{__method__} with instance of wrong type:"\
2166
2232
  " #{res.class} want #{operation.update_class}"\
@@ -2169,7 +2235,7 @@ module Google
2169
2235
  end
2170
2236
  end
2171
2237
 
2172
- op = Google::Ads::GoogleAds::V3::Services::AdGroupOperation.new
2238
+ op = Google::Ads::GoogleAds::V3::Services::AdGroupFeedOperation.new
2173
2239
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2174
2240
  op["update"] = res
2175
2241
  op
@@ -2214,31 +2280,31 @@ module Google
2214
2280
  op
2215
2281
  end
2216
2282
 
2217
- # A convenience method for creating an BiddingStrategyOperation instance with
2218
- # its "update" field prepopulated with an BiddingStrategy instance, and
2283
+ # A convenience method for creating an AdOperation instance with
2284
+ # its "update" field prepopulated with an Ad instance, and
2219
2285
  # its "update_mask" field populated as needed to send the updates to the API.
2220
2286
  #
2221
- # @overload #bidding_strategy(path, &blk)
2287
+ # @overload #ad(path, &blk)
2222
2288
  # @param path [String] a resource path for the resource to update
2223
- # @yield [Google::Ads::GoogleAds::V3::Resources::BiddingStrategy] a new instance of the resource for this update operation, on
2289
+ # @yield [Google::Ads::GoogleAds::V3::Resources::Ad] a new instance of the resource for this update operation, on
2224
2290
  # which fields can be set to update
2225
2291
  #
2226
- # @overload #bidding_strategy(resource, &blk)
2227
- # @param resource [Google::Ads::GoogleAds::V3::Resources::BiddingStrategy] a resource instance to update
2292
+ # @overload #ad(resource, &blk)
2293
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::Ad] a resource instance to update
2228
2294
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
2229
- # @return [Google::Ads::GoogleAds::V3::Services::BiddingStrategyOperation] the operation instance to update the resource
2230
- def self.bidding_strategy(resource_or_path, &blk)
2231
- require "google/ads/google_ads/v3/services/bidding_strategy_service_pb.rb"
2295
+ # @return [Google::Ads::GoogleAds::V3::Services::AdOperation] the operation instance to update the resource
2296
+ def self.ad(resource_or_path, &blk)
2297
+ require "google/ads/google_ads/v3/services/ad_service_pb.rb"
2232
2298
  res = case resource_or_path
2233
- when Google::Ads::GoogleAds::V3::Resources::BiddingStrategy
2299
+ when Google::Ads::GoogleAds::V3::Resources::Ad
2234
2300
  resource_or_path
2235
2301
  # got a resource path
2236
2302
  when String
2237
- obj = Google::Ads::GoogleAds::V3::Resources::BiddingStrategy.new
2303
+ obj = Google::Ads::GoogleAds::V3::Resources::Ad.new
2238
2304
  obj.resource_name = resource_or_path
2239
2305
  obj
2240
2306
  else
2241
- unless Google::Ads::GoogleAds::V3::Resources::BiddingStrategy === res
2307
+ unless Google::Ads::GoogleAds::V3::Resources::Ad === res
2242
2308
  raise ArgumentError.new(
2243
2309
  "Called #{__method__} with instance of wrong type:"\
2244
2310
  " #{res.class} want #{operation.update_class}"\
@@ -2247,37 +2313,37 @@ module Google
2247
2313
  end
2248
2314
  end
2249
2315
 
2250
- op = Google::Ads::GoogleAds::V3::Services::BiddingStrategyOperation.new
2316
+ op = Google::Ads::GoogleAds::V3::Services::AdOperation.new
2251
2317
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2252
2318
  op["update"] = res
2253
2319
  op
2254
2320
  end
2255
2321
 
2256
- # A convenience method for creating an CampaignBidModifierOperation instance with
2257
- # its "update" field prepopulated with an CampaignBidModifier instance, and
2322
+ # A convenience method for creating an BiddingStrategyOperation instance with
2323
+ # its "update" field prepopulated with an BiddingStrategy instance, and
2258
2324
  # its "update_mask" field populated as needed to send the updates to the API.
2259
2325
  #
2260
- # @overload #campaign_bid_modifier(path, &blk)
2326
+ # @overload #bidding_strategy(path, &blk)
2261
2327
  # @param path [String] a resource path for the resource to update
2262
- # @yield [Google::Ads::GoogleAds::V3::Resources::CampaignBidModifier] a new instance of the resource for this update operation, on
2328
+ # @yield [Google::Ads::GoogleAds::V3::Resources::BiddingStrategy] a new instance of the resource for this update operation, on
2263
2329
  # which fields can be set to update
2264
2330
  #
2265
- # @overload #campaign_bid_modifier(resource, &blk)
2266
- # @param resource [Google::Ads::GoogleAds::V3::Resources::CampaignBidModifier] a resource instance to update
2331
+ # @overload #bidding_strategy(resource, &blk)
2332
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::BiddingStrategy] a resource instance to update
2267
2333
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
2268
- # @return [Google::Ads::GoogleAds::V3::Services::CampaignBidModifierOperation] the operation instance to update the resource
2269
- def self.campaign_bid_modifier(resource_or_path, &blk)
2270
- require "google/ads/google_ads/v3/services/campaign_bid_modifier_service_pb.rb"
2334
+ # @return [Google::Ads::GoogleAds::V3::Services::BiddingStrategyOperation] the operation instance to update the resource
2335
+ def self.bidding_strategy(resource_or_path, &blk)
2336
+ require "google/ads/google_ads/v3/services/bidding_strategy_service_pb.rb"
2271
2337
  res = case resource_or_path
2272
- when Google::Ads::GoogleAds::V3::Resources::CampaignBidModifier
2338
+ when Google::Ads::GoogleAds::V3::Resources::BiddingStrategy
2273
2339
  resource_or_path
2274
2340
  # got a resource path
2275
2341
  when String
2276
- obj = Google::Ads::GoogleAds::V3::Resources::CampaignBidModifier.new
2342
+ obj = Google::Ads::GoogleAds::V3::Resources::BiddingStrategy.new
2277
2343
  obj.resource_name = resource_or_path
2278
2344
  obj
2279
2345
  else
2280
- unless Google::Ads::GoogleAds::V3::Resources::CampaignBidModifier === res
2346
+ unless Google::Ads::GoogleAds::V3::Resources::BiddingStrategy === res
2281
2347
  raise ArgumentError.new(
2282
2348
  "Called #{__method__} with instance of wrong type:"\
2283
2349
  " #{res.class} want #{operation.update_class}"\
@@ -2286,7 +2352,7 @@ module Google
2286
2352
  end
2287
2353
  end
2288
2354
 
2289
- op = Google::Ads::GoogleAds::V3::Services::CampaignBidModifierOperation.new
2355
+ op = Google::Ads::GoogleAds::V3::Services::BiddingStrategyOperation.new
2290
2356
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2291
2357
  op["update"] = res
2292
2358
  op
@@ -2370,45 +2436,6 @@ module Google
2370
2436
  op
2371
2437
  end
2372
2438
 
2373
- # A convenience method for creating an CampaignDraftOperation instance with
2374
- # its "update" field prepopulated with an CampaignDraft instance, and
2375
- # its "update_mask" field populated as needed to send the updates to the API.
2376
- #
2377
- # @overload #campaign_draft(path, &blk)
2378
- # @param path [String] a resource path for the resource to update
2379
- # @yield [Google::Ads::GoogleAds::V3::Resources::CampaignDraft] a new instance of the resource for this update operation, on
2380
- # which fields can be set to update
2381
- #
2382
- # @overload #campaign_draft(resource, &blk)
2383
- # @param resource [Google::Ads::GoogleAds::V3::Resources::CampaignDraft] a resource instance to update
2384
- # @yield the passed block is called and updates against `resource` are recordered in the update mask
2385
- # @return [Google::Ads::GoogleAds::V3::Services::CampaignDraftOperation] the operation instance to update the resource
2386
- def self.campaign_draft(resource_or_path, &blk)
2387
- require "google/ads/google_ads/v3/services/campaign_draft_service_pb.rb"
2388
- res = case resource_or_path
2389
- when Google::Ads::GoogleAds::V3::Resources::CampaignDraft
2390
- resource_or_path
2391
- # got a resource path
2392
- when String
2393
- obj = Google::Ads::GoogleAds::V3::Resources::CampaignDraft.new
2394
- obj.resource_name = resource_or_path
2395
- obj
2396
- else
2397
- unless Google::Ads::GoogleAds::V3::Resources::CampaignDraft === res
2398
- raise ArgumentError.new(
2399
- "Called #{__method__} with instance of wrong type:"\
2400
- " #{res.class} want #{operation.update_class}"\
2401
- " or String representing resource name"
2402
- )
2403
- end
2404
- end
2405
-
2406
- op = Google::Ads::GoogleAds::V3::Services::CampaignDraftOperation.new
2407
- op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2408
- op["update"] = res
2409
- op
2410
- end
2411
-
2412
2439
  # A convenience method for creating an CampaignExperimentOperation instance with
2413
2440
  # its "update" field prepopulated with an CampaignExperiment instance, and
2414
2441
  # its "update_mask" field populated as needed to send the updates to the API.
@@ -2643,31 +2670,31 @@ module Google
2643
2670
  op
2644
2671
  end
2645
2672
 
2646
- # A convenience method for creating an CustomerOperation instance with
2647
- # its "update" field prepopulated with an Customer instance, and
2673
+ # A convenience method for creating an FeedItemOperation instance with
2674
+ # its "update" field prepopulated with an FeedItem instance, and
2648
2675
  # its "update_mask" field populated as needed to send the updates to the API.
2649
2676
  #
2650
- # @overload #customer(path, &blk)
2677
+ # @overload #feed_item(path, &blk)
2651
2678
  # @param path [String] a resource path for the resource to update
2652
- # @yield [Google::Ads::GoogleAds::V3::Resources::Customer] a new instance of the resource for this update operation, on
2679
+ # @yield [Google::Ads::GoogleAds::V3::Resources::FeedItem] a new instance of the resource for this update operation, on
2653
2680
  # which fields can be set to update
2654
2681
  #
2655
- # @overload #customer(resource, &blk)
2656
- # @param resource [Google::Ads::GoogleAds::V3::Resources::Customer] a resource instance to update
2682
+ # @overload #feed_item(resource, &blk)
2683
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::FeedItem] a resource instance to update
2657
2684
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
2658
- # @return [Google::Ads::GoogleAds::V3::Services::CustomerOperation] the operation instance to update the resource
2659
- def self.customer(resource_or_path, &blk)
2660
- require "google/ads/google_ads/v3/services/customer_service_pb.rb"
2685
+ # @return [Google::Ads::GoogleAds::V3::Services::FeedItemOperation] the operation instance to update the resource
2686
+ def self.feed_item(resource_or_path, &blk)
2687
+ require "google/ads/google_ads/v3/services/feed_item_service_pb.rb"
2661
2688
  res = case resource_or_path
2662
- when Google::Ads::GoogleAds::V3::Resources::Customer
2689
+ when Google::Ads::GoogleAds::V3::Resources::FeedItem
2663
2690
  resource_or_path
2664
2691
  # got a resource path
2665
2692
  when String
2666
- obj = Google::Ads::GoogleAds::V3::Resources::Customer.new
2693
+ obj = Google::Ads::GoogleAds::V3::Resources::FeedItem.new
2667
2694
  obj.resource_name = resource_or_path
2668
2695
  obj
2669
2696
  else
2670
- unless Google::Ads::GoogleAds::V3::Resources::Customer === res
2697
+ unless Google::Ads::GoogleAds::V3::Resources::FeedItem === res
2671
2698
  raise ArgumentError.new(
2672
2699
  "Called #{__method__} with instance of wrong type:"\
2673
2700
  " #{res.class} want #{operation.update_class}"\
@@ -2676,37 +2703,37 @@ module Google
2676
2703
  end
2677
2704
  end
2678
2705
 
2679
- op = Google::Ads::GoogleAds::V3::Services::CustomerOperation.new
2706
+ op = Google::Ads::GoogleAds::V3::Services::FeedItemOperation.new
2680
2707
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2681
2708
  op["update"] = res
2682
2709
  op
2683
2710
  end
2684
2711
 
2685
- # A convenience method for creating an ExtensionFeedItemOperation instance with
2686
- # its "update" field prepopulated with an ExtensionFeedItem instance, and
2712
+ # A convenience method for creating an FeedOperation instance with
2713
+ # its "update" field prepopulated with an Feed instance, and
2687
2714
  # its "update_mask" field populated as needed to send the updates to the API.
2688
2715
  #
2689
- # @overload #extension_feed_item(path, &blk)
2716
+ # @overload #feed(path, &blk)
2690
2717
  # @param path [String] a resource path for the resource to update
2691
- # @yield [Google::Ads::GoogleAds::V3::Resources::ExtensionFeedItem] a new instance of the resource for this update operation, on
2718
+ # @yield [Google::Ads::GoogleAds::V3::Resources::Feed] a new instance of the resource for this update operation, on
2692
2719
  # which fields can be set to update
2693
2720
  #
2694
- # @overload #extension_feed_item(resource, &blk)
2695
- # @param resource [Google::Ads::GoogleAds::V3::Resources::ExtensionFeedItem] a resource instance to update
2721
+ # @overload #feed(resource, &blk)
2722
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::Feed] a resource instance to update
2696
2723
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
2697
- # @return [Google::Ads::GoogleAds::V3::Services::ExtensionFeedItemOperation] the operation instance to update the resource
2698
- def self.extension_feed_item(resource_or_path, &blk)
2699
- require "google/ads/google_ads/v3/services/extension_feed_item_service_pb.rb"
2724
+ # @return [Google::Ads::GoogleAds::V3::Services::FeedOperation] the operation instance to update the resource
2725
+ def self.feed(resource_or_path, &blk)
2726
+ require "google/ads/google_ads/v3/services/feed_service_pb.rb"
2700
2727
  res = case resource_or_path
2701
- when Google::Ads::GoogleAds::V3::Resources::ExtensionFeedItem
2728
+ when Google::Ads::GoogleAds::V3::Resources::Feed
2702
2729
  resource_or_path
2703
2730
  # got a resource path
2704
2731
  when String
2705
- obj = Google::Ads::GoogleAds::V3::Resources::ExtensionFeedItem.new
2732
+ obj = Google::Ads::GoogleAds::V3::Resources::Feed.new
2706
2733
  obj.resource_name = resource_or_path
2707
2734
  obj
2708
2735
  else
2709
- unless Google::Ads::GoogleAds::V3::Resources::ExtensionFeedItem === res
2736
+ unless Google::Ads::GoogleAds::V3::Resources::Feed === res
2710
2737
  raise ArgumentError.new(
2711
2738
  "Called #{__method__} with instance of wrong type:"\
2712
2739
  " #{res.class} want #{operation.update_class}"\
@@ -2715,37 +2742,37 @@ module Google
2715
2742
  end
2716
2743
  end
2717
2744
 
2718
- op = Google::Ads::GoogleAds::V3::Services::ExtensionFeedItemOperation.new
2745
+ op = Google::Ads::GoogleAds::V3::Services::FeedOperation.new
2719
2746
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2720
2747
  op["update"] = res
2721
2748
  op
2722
2749
  end
2723
2750
 
2724
- # A convenience method for creating an FeedItemOperation instance with
2725
- # its "update" field prepopulated with an FeedItem instance, and
2751
+ # A convenience method for creating an RemarketingActionOperation instance with
2752
+ # its "update" field prepopulated with an RemarketingAction instance, and
2726
2753
  # its "update_mask" field populated as needed to send the updates to the API.
2727
2754
  #
2728
- # @overload #feed_item(path, &blk)
2755
+ # @overload #remarketing_action(path, &blk)
2729
2756
  # @param path [String] a resource path for the resource to update
2730
- # @yield [Google::Ads::GoogleAds::V3::Resources::FeedItem] a new instance of the resource for this update operation, on
2757
+ # @yield [Google::Ads::GoogleAds::V3::Resources::RemarketingAction] a new instance of the resource for this update operation, on
2731
2758
  # which fields can be set to update
2732
2759
  #
2733
- # @overload #feed_item(resource, &blk)
2734
- # @param resource [Google::Ads::GoogleAds::V3::Resources::FeedItem] a resource instance to update
2760
+ # @overload #remarketing_action(resource, &blk)
2761
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::RemarketingAction] a resource instance to update
2735
2762
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
2736
- # @return [Google::Ads::GoogleAds::V3::Services::FeedItemOperation] the operation instance to update the resource
2737
- def self.feed_item(resource_or_path, &blk)
2738
- require "google/ads/google_ads/v3/services/feed_item_service_pb.rb"
2763
+ # @return [Google::Ads::GoogleAds::V3::Services::RemarketingActionOperation] the operation instance to update the resource
2764
+ def self.remarketing_action(resource_or_path, &blk)
2765
+ require "google/ads/google_ads/v3/services/remarketing_action_service_pb.rb"
2739
2766
  res = case resource_or_path
2740
- when Google::Ads::GoogleAds::V3::Resources::FeedItem
2767
+ when Google::Ads::GoogleAds::V3::Resources::RemarketingAction
2741
2768
  resource_or_path
2742
2769
  # got a resource path
2743
2770
  when String
2744
- obj = Google::Ads::GoogleAds::V3::Resources::FeedItem.new
2771
+ obj = Google::Ads::GoogleAds::V3::Resources::RemarketingAction.new
2745
2772
  obj.resource_name = resource_or_path
2746
2773
  obj
2747
2774
  else
2748
- unless Google::Ads::GoogleAds::V3::Resources::FeedItem === res
2775
+ unless Google::Ads::GoogleAds::V3::Resources::RemarketingAction === res
2749
2776
  raise ArgumentError.new(
2750
2777
  "Called #{__method__} with instance of wrong type:"\
2751
2778
  " #{res.class} want #{operation.update_class}"\
@@ -2754,37 +2781,76 @@ module Google
2754
2781
  end
2755
2782
  end
2756
2783
 
2757
- op = Google::Ads::GoogleAds::V3::Services::FeedItemOperation.new
2784
+ op = Google::Ads::GoogleAds::V3::Services::RemarketingActionOperation.new
2758
2785
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2759
2786
  op["update"] = res
2760
2787
  op
2761
2788
  end
2762
2789
 
2763
- # A convenience method for creating an LabelOperation instance with
2764
- # its "update" field prepopulated with an Label instance, and
2790
+ # A convenience method for creating an UserListOperation instance with
2791
+ # its "update" field prepopulated with an UserList instance, and
2765
2792
  # its "update_mask" field populated as needed to send the updates to the API.
2766
2793
  #
2767
- # @overload #label(path, &blk)
2794
+ # @overload #user_list(path, &blk)
2768
2795
  # @param path [String] a resource path for the resource to update
2769
- # @yield [Google::Ads::GoogleAds::V3::Resources::Label] a new instance of the resource for this update operation, on
2796
+ # @yield [Google::Ads::GoogleAds::V3::Resources::UserList] a new instance of the resource for this update operation, on
2770
2797
  # which fields can be set to update
2771
2798
  #
2772
- # @overload #label(resource, &blk)
2773
- # @param resource [Google::Ads::GoogleAds::V3::Resources::Label] a resource instance to update
2799
+ # @overload #user_list(resource, &blk)
2800
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::UserList] a resource instance to update
2774
2801
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
2775
- # @return [Google::Ads::GoogleAds::V3::Services::LabelOperation] the operation instance to update the resource
2776
- def self.label(resource_or_path, &blk)
2777
- require "google/ads/google_ads/v3/services/label_service_pb.rb"
2802
+ # @return [Google::Ads::GoogleAds::V3::Services::UserListOperation] the operation instance to update the resource
2803
+ def self.user_list(resource_or_path, &blk)
2804
+ require "google/ads/google_ads/v3/services/user_list_service_pb.rb"
2778
2805
  res = case resource_or_path
2779
- when Google::Ads::GoogleAds::V3::Resources::Label
2806
+ when Google::Ads::GoogleAds::V3::Resources::UserList
2807
+ resource_or_path
2808
+ # got a resource path
2809
+ when String
2810
+ obj = Google::Ads::GoogleAds::V3::Resources::UserList.new
2811
+ obj.resource_name = resource_or_path
2812
+ obj
2813
+ else
2814
+ unless Google::Ads::GoogleAds::V3::Resources::UserList === res
2815
+ raise ArgumentError.new(
2816
+ "Called #{__method__} with instance of wrong type:"\
2817
+ " #{res.class} want #{operation.update_class}"\
2818
+ " or String representing resource name"
2819
+ )
2820
+ end
2821
+ end
2822
+
2823
+ op = Google::Ads::GoogleAds::V3::Services::UserListOperation.new
2824
+ op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2825
+ op["update"] = res
2826
+ op
2827
+ end
2828
+
2829
+ # A convenience method for creating an CustomerClientLinkOperation instance with
2830
+ # its "update" field prepopulated with an CustomerClientLink instance, and
2831
+ # its "update_mask" field populated as needed to send the updates to the API.
2832
+ #
2833
+ # @overload #customer_client_link(path, &blk)
2834
+ # @param path [String] a resource path for the resource to update
2835
+ # @yield [Google::Ads::GoogleAds::V3::Resources::CustomerClientLink] a new instance of the resource for this update operation, on
2836
+ # which fields can be set to update
2837
+ #
2838
+ # @overload #customer_client_link(resource, &blk)
2839
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::CustomerClientLink] a resource instance to update
2840
+ # @yield the passed block is called and updates against `resource` are recordered in the update mask
2841
+ # @return [Google::Ads::GoogleAds::V3::Services::CustomerClientLinkOperation] the operation instance to update the resource
2842
+ def self.customer_client_link(resource_or_path, &blk)
2843
+ require "google/ads/google_ads/v3/services/customer_client_link_service_pb.rb"
2844
+ res = case resource_or_path
2845
+ when Google::Ads::GoogleAds::V3::Resources::CustomerClientLink
2780
2846
  resource_or_path
2781
2847
  # got a resource path
2782
2848
  when String
2783
- obj = Google::Ads::GoogleAds::V3::Resources::Label.new
2849
+ obj = Google::Ads::GoogleAds::V3::Resources::CustomerClientLink.new
2784
2850
  obj.resource_name = resource_or_path
2785
2851
  obj
2786
2852
  else
2787
- unless Google::Ads::GoogleAds::V3::Resources::Label === res
2853
+ unless Google::Ads::GoogleAds::V3::Resources::CustomerClientLink === res
2788
2854
  raise ArgumentError.new(
2789
2855
  "Called #{__method__} with instance of wrong type:"\
2790
2856
  " #{res.class} want #{operation.update_class}"\
@@ -2793,37 +2859,37 @@ module Google
2793
2859
  end
2794
2860
  end
2795
2861
 
2796
- op = Google::Ads::GoogleAds::V3::Services::LabelOperation.new
2862
+ op = Google::Ads::GoogleAds::V3::Services::CustomerClientLinkOperation.new
2797
2863
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2798
2864
  op["update"] = res
2799
2865
  op
2800
2866
  end
2801
2867
 
2802
- # A convenience method for creating an UserListOperation instance with
2803
- # its "update" field prepopulated with an UserList instance, and
2868
+ # A convenience method for creating an KeywordPlanAdGroupOperation instance with
2869
+ # its "update" field prepopulated with an KeywordPlanAdGroup instance, and
2804
2870
  # its "update_mask" field populated as needed to send the updates to the API.
2805
2871
  #
2806
- # @overload #user_list(path, &blk)
2872
+ # @overload #keyword_plan_ad_group(path, &blk)
2807
2873
  # @param path [String] a resource path for the resource to update
2808
- # @yield [Google::Ads::GoogleAds::V3::Resources::UserList] a new instance of the resource for this update operation, on
2874
+ # @yield [Google::Ads::GoogleAds::V3::Resources::KeywordPlanAdGroup] a new instance of the resource for this update operation, on
2809
2875
  # which fields can be set to update
2810
2876
  #
2811
- # @overload #user_list(resource, &blk)
2812
- # @param resource [Google::Ads::GoogleAds::V3::Resources::UserList] a resource instance to update
2877
+ # @overload #keyword_plan_ad_group(resource, &blk)
2878
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::KeywordPlanAdGroup] a resource instance to update
2813
2879
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
2814
- # @return [Google::Ads::GoogleAds::V3::Services::UserListOperation] the operation instance to update the resource
2815
- def self.user_list(resource_or_path, &blk)
2816
- require "google/ads/google_ads/v3/services/user_list_service_pb.rb"
2880
+ # @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanAdGroupOperation] the operation instance to update the resource
2881
+ def self.keyword_plan_ad_group(resource_or_path, &blk)
2882
+ require "google/ads/google_ads/v3/services/keyword_plan_ad_group_service_pb.rb"
2817
2883
  res = case resource_or_path
2818
- when Google::Ads::GoogleAds::V3::Resources::UserList
2884
+ when Google::Ads::GoogleAds::V3::Resources::KeywordPlanAdGroup
2819
2885
  resource_or_path
2820
2886
  # got a resource path
2821
2887
  when String
2822
- obj = Google::Ads::GoogleAds::V3::Resources::UserList.new
2888
+ obj = Google::Ads::GoogleAds::V3::Resources::KeywordPlanAdGroup.new
2823
2889
  obj.resource_name = resource_or_path
2824
2890
  obj
2825
2891
  else
2826
- unless Google::Ads::GoogleAds::V3::Resources::UserList === res
2892
+ unless Google::Ads::GoogleAds::V3::Resources::KeywordPlanAdGroup === res
2827
2893
  raise ArgumentError.new(
2828
2894
  "Called #{__method__} with instance of wrong type:"\
2829
2895
  " #{res.class} want #{operation.update_class}"\
@@ -2832,37 +2898,37 @@ module Google
2832
2898
  end
2833
2899
  end
2834
2900
 
2835
- op = Google::Ads::GoogleAds::V3::Services::UserListOperation.new
2901
+ op = Google::Ads::GoogleAds::V3::Services::KeywordPlanAdGroupOperation.new
2836
2902
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2837
2903
  op["update"] = res
2838
2904
  op
2839
2905
  end
2840
2906
 
2841
- # A convenience method for creating an KeywordPlanKeywordOperation instance with
2842
- # its "update" field prepopulated with an KeywordPlanKeyword instance, and
2907
+ # A convenience method for creating an KeywordPlanNegativeKeywordOperation instance with
2908
+ # its "update" field prepopulated with an KeywordPlanNegativeKeyword instance, and
2843
2909
  # its "update_mask" field populated as needed to send the updates to the API.
2844
2910
  #
2845
- # @overload #keyword_plan_keyword(path, &blk)
2911
+ # @overload #keyword_plan_negative_keyword(path, &blk)
2846
2912
  # @param path [String] a resource path for the resource to update
2847
- # @yield [Google::Ads::GoogleAds::V3::Resources::KeywordPlanKeyword] a new instance of the resource for this update operation, on
2913
+ # @yield [Google::Ads::GoogleAds::V3::Resources::KeywordPlanNegativeKeyword] a new instance of the resource for this update operation, on
2848
2914
  # which fields can be set to update
2849
2915
  #
2850
- # @overload #keyword_plan_keyword(resource, &blk)
2851
- # @param resource [Google::Ads::GoogleAds::V3::Resources::KeywordPlanKeyword] a resource instance to update
2916
+ # @overload #keyword_plan_negative_keyword(resource, &blk)
2917
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::KeywordPlanNegativeKeyword] a resource instance to update
2852
2918
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
2853
- # @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanKeywordOperation] the operation instance to update the resource
2854
- def self.keyword_plan_keyword(resource_or_path, &blk)
2855
- require "google/ads/google_ads/v3/services/keyword_plan_keyword_service_pb.rb"
2919
+ # @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanNegativeKeywordOperation] the operation instance to update the resource
2920
+ def self.keyword_plan_negative_keyword(resource_or_path, &blk)
2921
+ require "google/ads/google_ads/v3/services/keyword_plan_negative_keyword_service_pb.rb"
2856
2922
  res = case resource_or_path
2857
- when Google::Ads::GoogleAds::V3::Resources::KeywordPlanKeyword
2923
+ when Google::Ads::GoogleAds::V3::Resources::KeywordPlanNegativeKeyword
2858
2924
  resource_or_path
2859
2925
  # got a resource path
2860
2926
  when String
2861
- obj = Google::Ads::GoogleAds::V3::Resources::KeywordPlanKeyword.new
2927
+ obj = Google::Ads::GoogleAds::V3::Resources::KeywordPlanNegativeKeyword.new
2862
2928
  obj.resource_name = resource_or_path
2863
2929
  obj
2864
2930
  else
2865
- unless Google::Ads::GoogleAds::V3::Resources::KeywordPlanKeyword === res
2931
+ unless Google::Ads::GoogleAds::V3::Resources::KeywordPlanNegativeKeyword === res
2866
2932
  raise ArgumentError.new(
2867
2933
  "Called #{__method__} with instance of wrong type:"\
2868
2934
  " #{res.class} want #{operation.update_class}"\
@@ -2871,37 +2937,37 @@ module Google
2871
2937
  end
2872
2938
  end
2873
2939
 
2874
- op = Google::Ads::GoogleAds::V3::Services::KeywordPlanKeywordOperation.new
2940
+ op = Google::Ads::GoogleAds::V3::Services::KeywordPlanNegativeKeywordOperation.new
2875
2941
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2876
2942
  op["update"] = res
2877
2943
  op
2878
2944
  end
2879
2945
 
2880
- # A convenience method for creating an KeywordPlanAdGroupOperation instance with
2881
- # its "update" field prepopulated with an KeywordPlanAdGroup instance, and
2946
+ # A convenience method for creating an KeywordPlanOperation instance with
2947
+ # its "update" field prepopulated with an KeywordPlan instance, and
2882
2948
  # its "update_mask" field populated as needed to send the updates to the API.
2883
2949
  #
2884
- # @overload #keyword_plan_ad_group(path, &blk)
2950
+ # @overload #keyword_plan(path, &blk)
2885
2951
  # @param path [String] a resource path for the resource to update
2886
- # @yield [Google::Ads::GoogleAds::V3::Resources::KeywordPlanAdGroup] a new instance of the resource for this update operation, on
2952
+ # @yield [Google::Ads::GoogleAds::V3::Resources::KeywordPlan] a new instance of the resource for this update operation, on
2887
2953
  # which fields can be set to update
2888
2954
  #
2889
- # @overload #keyword_plan_ad_group(resource, &blk)
2890
- # @param resource [Google::Ads::GoogleAds::V3::Resources::KeywordPlanAdGroup] a resource instance to update
2955
+ # @overload #keyword_plan(resource, &blk)
2956
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::KeywordPlan] a resource instance to update
2891
2957
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
2892
- # @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanAdGroupOperation] the operation instance to update the resource
2893
- def self.keyword_plan_ad_group(resource_or_path, &blk)
2894
- require "google/ads/google_ads/v3/services/keyword_plan_ad_group_service_pb.rb"
2958
+ # @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanOperation] the operation instance to update the resource
2959
+ def self.keyword_plan(resource_or_path, &blk)
2960
+ require "google/ads/google_ads/v3/services/keyword_plan_service_pb.rb"
2895
2961
  res = case resource_or_path
2896
- when Google::Ads::GoogleAds::V3::Resources::KeywordPlanAdGroup
2962
+ when Google::Ads::GoogleAds::V3::Resources::KeywordPlan
2897
2963
  resource_or_path
2898
2964
  # got a resource path
2899
2965
  when String
2900
- obj = Google::Ads::GoogleAds::V3::Resources::KeywordPlanAdGroup.new
2966
+ obj = Google::Ads::GoogleAds::V3::Resources::KeywordPlan.new
2901
2967
  obj.resource_name = resource_or_path
2902
2968
  obj
2903
2969
  else
2904
- unless Google::Ads::GoogleAds::V3::Resources::KeywordPlanAdGroup === res
2970
+ unless Google::Ads::GoogleAds::V3::Resources::KeywordPlan === res
2905
2971
  raise ArgumentError.new(
2906
2972
  "Called #{__method__} with instance of wrong type:"\
2907
2973
  " #{res.class} want #{operation.update_class}"\
@@ -2910,37 +2976,37 @@ module Google
2910
2976
  end
2911
2977
  end
2912
2978
 
2913
- op = Google::Ads::GoogleAds::V3::Services::KeywordPlanAdGroupOperation.new
2979
+ op = Google::Ads::GoogleAds::V3::Services::KeywordPlanOperation.new
2914
2980
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2915
2981
  op["update"] = res
2916
2982
  op
2917
2983
  end
2918
2984
 
2919
- # A convenience method for creating an CustomInterestOperation instance with
2920
- # its "update" field prepopulated with an CustomInterest instance, and
2985
+ # A convenience method for creating an KeywordPlanKeywordOperation instance with
2986
+ # its "update" field prepopulated with an KeywordPlanKeyword instance, and
2921
2987
  # its "update_mask" field populated as needed to send the updates to the API.
2922
2988
  #
2923
- # @overload #custom_interest(path, &blk)
2989
+ # @overload #keyword_plan_keyword(path, &blk)
2924
2990
  # @param path [String] a resource path for the resource to update
2925
- # @yield [Google::Ads::GoogleAds::V3::Resources::CustomInterest] a new instance of the resource for this update operation, on
2991
+ # @yield [Google::Ads::GoogleAds::V3::Resources::KeywordPlanKeyword] a new instance of the resource for this update operation, on
2926
2992
  # which fields can be set to update
2927
2993
  #
2928
- # @overload #custom_interest(resource, &blk)
2929
- # @param resource [Google::Ads::GoogleAds::V3::Resources::CustomInterest] a resource instance to update
2994
+ # @overload #keyword_plan_keyword(resource, &blk)
2995
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::KeywordPlanKeyword] a resource instance to update
2930
2996
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
2931
- # @return [Google::Ads::GoogleAds::V3::Services::CustomInterestOperation] the operation instance to update the resource
2932
- def self.custom_interest(resource_or_path, &blk)
2933
- require "google/ads/google_ads/v3/services/custom_interest_service_pb.rb"
2997
+ # @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanKeywordOperation] the operation instance to update the resource
2998
+ def self.keyword_plan_keyword(resource_or_path, &blk)
2999
+ require "google/ads/google_ads/v3/services/keyword_plan_keyword_service_pb.rb"
2934
3000
  res = case resource_or_path
2935
- when Google::Ads::GoogleAds::V3::Resources::CustomInterest
3001
+ when Google::Ads::GoogleAds::V3::Resources::KeywordPlanKeyword
2936
3002
  resource_or_path
2937
3003
  # got a resource path
2938
3004
  when String
2939
- obj = Google::Ads::GoogleAds::V3::Resources::CustomInterest.new
3005
+ obj = Google::Ads::GoogleAds::V3::Resources::KeywordPlanKeyword.new
2940
3006
  obj.resource_name = resource_or_path
2941
3007
  obj
2942
3008
  else
2943
- unless Google::Ads::GoogleAds::V3::Resources::CustomInterest === res
3009
+ unless Google::Ads::GoogleAds::V3::Resources::KeywordPlanKeyword === res
2944
3010
  raise ArgumentError.new(
2945
3011
  "Called #{__method__} with instance of wrong type:"\
2946
3012
  " #{res.class} want #{operation.update_class}"\
@@ -2949,37 +3015,37 @@ module Google
2949
3015
  end
2950
3016
  end
2951
3017
 
2952
- op = Google::Ads::GoogleAds::V3::Services::CustomInterestOperation.new
3018
+ op = Google::Ads::GoogleAds::V3::Services::KeywordPlanKeywordOperation.new
2953
3019
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2954
3020
  op["update"] = res
2955
3021
  op
2956
3022
  end
2957
3023
 
2958
- # A convenience method for creating an KeywordPlanNegativeKeywordOperation instance with
2959
- # its "update" field prepopulated with an KeywordPlanNegativeKeyword instance, and
3024
+ # A convenience method for creating an KeywordPlanCampaignOperation instance with
3025
+ # its "update" field prepopulated with an KeywordPlanCampaign instance, and
2960
3026
  # its "update_mask" field populated as needed to send the updates to the API.
2961
3027
  #
2962
- # @overload #keyword_plan_negative_keyword(path, &blk)
3028
+ # @overload #keyword_plan_campaign(path, &blk)
2963
3029
  # @param path [String] a resource path for the resource to update
2964
- # @yield [Google::Ads::GoogleAds::V3::Resources::KeywordPlanNegativeKeyword] a new instance of the resource for this update operation, on
3030
+ # @yield [Google::Ads::GoogleAds::V3::Resources::KeywordPlanCampaign] a new instance of the resource for this update operation, on
2965
3031
  # which fields can be set to update
2966
3032
  #
2967
- # @overload #keyword_plan_negative_keyword(resource, &blk)
2968
- # @param resource [Google::Ads::GoogleAds::V3::Resources::KeywordPlanNegativeKeyword] a resource instance to update
3033
+ # @overload #keyword_plan_campaign(resource, &blk)
3034
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::KeywordPlanCampaign] a resource instance to update
2969
3035
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
2970
- # @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanNegativeKeywordOperation] the operation instance to update the resource
2971
- def self.keyword_plan_negative_keyword(resource_or_path, &blk)
2972
- require "google/ads/google_ads/v3/services/keyword_plan_negative_keyword_service_pb.rb"
3036
+ # @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanCampaignOperation] the operation instance to update the resource
3037
+ def self.keyword_plan_campaign(resource_or_path, &blk)
3038
+ require "google/ads/google_ads/v3/services/keyword_plan_campaign_service_pb.rb"
2973
3039
  res = case resource_or_path
2974
- when Google::Ads::GoogleAds::V3::Resources::KeywordPlanNegativeKeyword
3040
+ when Google::Ads::GoogleAds::V3::Resources::KeywordPlanCampaign
2975
3041
  resource_or_path
2976
3042
  # got a resource path
2977
3043
  when String
2978
- obj = Google::Ads::GoogleAds::V3::Resources::KeywordPlanNegativeKeyword.new
3044
+ obj = Google::Ads::GoogleAds::V3::Resources::KeywordPlanCampaign.new
2979
3045
  obj.resource_name = resource_or_path
2980
3046
  obj
2981
3047
  else
2982
- unless Google::Ads::GoogleAds::V3::Resources::KeywordPlanNegativeKeyword === res
3048
+ unless Google::Ads::GoogleAds::V3::Resources::KeywordPlanCampaign === res
2983
3049
  raise ArgumentError.new(
2984
3050
  "Called #{__method__} with instance of wrong type:"\
2985
3051
  " #{res.class} want #{operation.update_class}"\
@@ -2988,37 +3054,37 @@ module Google
2988
3054
  end
2989
3055
  end
2990
3056
 
2991
- op = Google::Ads::GoogleAds::V3::Services::KeywordPlanNegativeKeywordOperation.new
3057
+ op = Google::Ads::GoogleAds::V3::Services::KeywordPlanCampaignOperation.new
2992
3058
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2993
3059
  op["update"] = res
2994
3060
  op
2995
3061
  end
2996
3062
 
2997
- # A convenience method for creating an AdOperation instance with
2998
- # its "update" field prepopulated with an Ad instance, and
3063
+ # A convenience method for creating an CustomerManagerLinkOperation instance with
3064
+ # its "update" field prepopulated with an CustomerManagerLink instance, and
2999
3065
  # its "update_mask" field populated as needed to send the updates to the API.
3000
3066
  #
3001
- # @overload #ad(path, &blk)
3067
+ # @overload #customer_manager_link(path, &blk)
3002
3068
  # @param path [String] a resource path for the resource to update
3003
- # @yield [Google::Ads::GoogleAds::V3::Resources::Ad] a new instance of the resource for this update operation, on
3069
+ # @yield [Google::Ads::GoogleAds::V3::Resources::CustomerManagerLink] a new instance of the resource for this update operation, on
3004
3070
  # which fields can be set to update
3005
3071
  #
3006
- # @overload #ad(resource, &blk)
3007
- # @param resource [Google::Ads::GoogleAds::V3::Resources::Ad] a resource instance to update
3072
+ # @overload #customer_manager_link(resource, &blk)
3073
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::CustomerManagerLink] a resource instance to update
3008
3074
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
3009
- # @return [Google::Ads::GoogleAds::V3::Services::AdOperation] the operation instance to update the resource
3010
- def self.ad(resource_or_path, &blk)
3011
- require "google/ads/google_ads/v3/services/ad_service_pb.rb"
3075
+ # @return [Google::Ads::GoogleAds::V3::Services::CustomerManagerLinkOperation] the operation instance to update the resource
3076
+ def self.customer_manager_link(resource_or_path, &blk)
3077
+ require "google/ads/google_ads/v3/services/customer_manager_link_service_pb.rb"
3012
3078
  res = case resource_or_path
3013
- when Google::Ads::GoogleAds::V3::Resources::Ad
3079
+ when Google::Ads::GoogleAds::V3::Resources::CustomerManagerLink
3014
3080
  resource_or_path
3015
3081
  # got a resource path
3016
3082
  when String
3017
- obj = Google::Ads::GoogleAds::V3::Resources::Ad.new
3083
+ obj = Google::Ads::GoogleAds::V3::Resources::CustomerManagerLink.new
3018
3084
  obj.resource_name = resource_or_path
3019
3085
  obj
3020
3086
  else
3021
- unless Google::Ads::GoogleAds::V3::Resources::Ad === res
3087
+ unless Google::Ads::GoogleAds::V3::Resources::CustomerManagerLink === res
3022
3088
  raise ArgumentError.new(
3023
3089
  "Called #{__method__} with instance of wrong type:"\
3024
3090
  " #{res.class} want #{operation.update_class}"\
@@ -3027,37 +3093,37 @@ module Google
3027
3093
  end
3028
3094
  end
3029
3095
 
3030
- op = Google::Ads::GoogleAds::V3::Services::AdOperation.new
3096
+ op = Google::Ads::GoogleAds::V3::Services::CustomerManagerLinkOperation.new
3031
3097
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
3032
3098
  op["update"] = res
3033
3099
  op
3034
3100
  end
3035
3101
 
3036
- # A convenience method for creating an KeywordPlanOperation instance with
3037
- # its "update" field prepopulated with an KeywordPlan instance, and
3102
+ # A convenience method for creating an MerchantCenterLinkOperation instance with
3103
+ # its "update" field prepopulated with an MerchantCenterLink instance, and
3038
3104
  # its "update_mask" field populated as needed to send the updates to the API.
3039
3105
  #
3040
- # @overload #keyword_plan(path, &blk)
3106
+ # @overload #merchant_center_link(path, &blk)
3041
3107
  # @param path [String] a resource path for the resource to update
3042
- # @yield [Google::Ads::GoogleAds::V3::Resources::KeywordPlan] a new instance of the resource for this update operation, on
3108
+ # @yield [Google::Ads::GoogleAds::V3::Resources::MerchantCenterLink] a new instance of the resource for this update operation, on
3043
3109
  # which fields can be set to update
3044
3110
  #
3045
- # @overload #keyword_plan(resource, &blk)
3046
- # @param resource [Google::Ads::GoogleAds::V3::Resources::KeywordPlan] a resource instance to update
3111
+ # @overload #merchant_center_link(resource, &blk)
3112
+ # @param resource [Google::Ads::GoogleAds::V3::Resources::MerchantCenterLink] a resource instance to update
3047
3113
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
3048
- # @return [Google::Ads::GoogleAds::V3::Services::KeywordPlanOperation] the operation instance to update the resource
3049
- def self.keyword_plan(resource_or_path, &blk)
3050
- require "google/ads/google_ads/v3/services/keyword_plan_service_pb.rb"
3114
+ # @return [Google::Ads::GoogleAds::V3::Services::MerchantCenterLinkOperation] the operation instance to update the resource
3115
+ def self.merchant_center_link(resource_or_path, &blk)
3116
+ require "google/ads/google_ads/v3/services/merchant_center_link_service_pb.rb"
3051
3117
  res = case resource_or_path
3052
- when Google::Ads::GoogleAds::V3::Resources::KeywordPlan
3118
+ when Google::Ads::GoogleAds::V3::Resources::MerchantCenterLink
3053
3119
  resource_or_path
3054
3120
  # got a resource path
3055
3121
  when String
3056
- obj = Google::Ads::GoogleAds::V3::Resources::KeywordPlan.new
3122
+ obj = Google::Ads::GoogleAds::V3::Resources::MerchantCenterLink.new
3057
3123
  obj.resource_name = resource_or_path
3058
3124
  obj
3059
3125
  else
3060
- unless Google::Ads::GoogleAds::V3::Resources::KeywordPlan === res
3126
+ unless Google::Ads::GoogleAds::V3::Resources::MerchantCenterLink === res
3061
3127
  raise ArgumentError.new(
3062
3128
  "Called #{__method__} with instance of wrong type:"\
3063
3129
  " #{res.class} want #{operation.update_class}"\
@@ -3066,7 +3132,7 @@ module Google
3066
3132
  end
3067
3133
  end
3068
3134
 
3069
- op = Google::Ads::GoogleAds::V3::Services::KeywordPlanOperation.new
3135
+ op = Google::Ads::GoogleAds::V3::Services::MerchantCenterLinkOperation.new
3070
3136
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
3071
3137
  op["update"] = res
3072
3138
  op
@@ -3107,156 +3173,145 @@ module Google
3107
3173
  op
3108
3174
  end
3109
3175
 
3110
- # A convenience method for creationg an CustomerManagerLinkOperation instance with
3111
- # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3112
- #
3113
- # @param path [String] the resource name of the resource to delete.
3114
- def self.customer_manager_link(path)
3115
- require "google/ads/google_ads/v3/services/customer_manager_link_service_pb.rb"
3116
- op = Google::Ads::GoogleAds::V3::Services::CustomerManagerLinkOperation.new
3117
- op["remove"] = path
3118
- op
3119
- end
3120
-
3121
- # A convenience method for creationg an KeywordPlanCampaignOperation instance with
3176
+ # A convenience method for creationg an CustomInterestOperation instance with
3122
3177
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3123
3178
  #
3124
3179
  # @param path [String] the resource name of the resource to delete.
3125
- def self.keyword_plan_campaign(path)
3126
- require "google/ads/google_ads/v3/services/keyword_plan_campaign_service_pb.rb"
3127
- op = Google::Ads::GoogleAds::V3::Services::KeywordPlanCampaignOperation.new
3180
+ def self.custom_interest(path)
3181
+ require "google/ads/google_ads/v3/services/custom_interest_service_pb.rb"
3182
+ op = Google::Ads::GoogleAds::V3::Services::CustomInterestOperation.new
3128
3183
  op["remove"] = path
3129
3184
  op
3130
3185
  end
3131
3186
 
3132
- # A convenience method for creationg an SharedSetOperation instance with
3187
+ # A convenience method for creationg an CustomerNegativeCriterionOperation instance with
3133
3188
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3134
3189
  #
3135
3190
  # @param path [String] the resource name of the resource to delete.
3136
- def self.shared_set(path)
3137
- require "google/ads/google_ads/v3/services/shared_set_service_pb.rb"
3138
- op = Google::Ads::GoogleAds::V3::Services::SharedSetOperation.new
3191
+ def self.customer_negative_criterion(path)
3192
+ require "google/ads/google_ads/v3/services/customer_negative_criterion_service_pb.rb"
3193
+ op = Google::Ads::GoogleAds::V3::Services::CustomerNegativeCriterionOperation.new
3139
3194
  op["remove"] = path
3140
3195
  op
3141
3196
  end
3142
3197
 
3143
- # A convenience method for creationg an FeedOperation instance with
3198
+ # A convenience method for creationg an SharedCriterionOperation instance with
3144
3199
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3145
3200
  #
3146
3201
  # @param path [String] the resource name of the resource to delete.
3147
- def self.feed(path)
3148
- require "google/ads/google_ads/v3/services/feed_service_pb.rb"
3149
- op = Google::Ads::GoogleAds::V3::Services::FeedOperation.new
3202
+ def self.shared_criterion(path)
3203
+ require "google/ads/google_ads/v3/services/shared_criterion_service_pb.rb"
3204
+ op = Google::Ads::GoogleAds::V3::Services::SharedCriterionOperation.new
3150
3205
  op["remove"] = path
3151
3206
  op
3152
3207
  end
3153
3208
 
3154
- # A convenience method for creationg an AdGroupAdLabelOperation instance with
3209
+ # A convenience method for creationg an FeedMappingOperation instance with
3155
3210
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3156
3211
  #
3157
3212
  # @param path [String] the resource name of the resource to delete.
3158
- def self.ad_group_ad_label(path)
3159
- require "google/ads/google_ads/v3/services/ad_group_ad_label_service_pb.rb"
3160
- op = Google::Ads::GoogleAds::V3::Services::AdGroupAdLabelOperation.new
3213
+ def self.feed_mapping(path)
3214
+ require "google/ads/google_ads/v3/services/feed_mapping_service_pb.rb"
3215
+ op = Google::Ads::GoogleAds::V3::Services::FeedMappingOperation.new
3161
3216
  op["remove"] = path
3162
3217
  op
3163
3218
  end
3164
3219
 
3165
- # A convenience method for creationg an CustomerClientLinkOperation instance with
3220
+ # A convenience method for creationg an AdGroupOperation instance with
3166
3221
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3167
3222
  #
3168
3223
  # @param path [String] the resource name of the resource to delete.
3169
- def self.customer_client_link(path)
3170
- require "google/ads/google_ads/v3/services/customer_client_link_service_pb.rb"
3171
- op = Google::Ads::GoogleAds::V3::Services::CustomerClientLinkOperation.new
3224
+ def self.ad_group(path)
3225
+ require "google/ads/google_ads/v3/services/ad_group_service_pb.rb"
3226
+ op = Google::Ads::GoogleAds::V3::Services::AdGroupOperation.new
3172
3227
  op["remove"] = path
3173
3228
  op
3174
3229
  end
3175
3230
 
3176
- # A convenience method for creationg an CampaignSharedSetOperation instance with
3231
+ # A convenience method for creationg an ExtensionFeedItemOperation instance with
3177
3232
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3178
3233
  #
3179
3234
  # @param path [String] the resource name of the resource to delete.
3180
- def self.campaign_shared_set(path)
3181
- require "google/ads/google_ads/v3/services/campaign_shared_set_service_pb.rb"
3182
- op = Google::Ads::GoogleAds::V3::Services::CampaignSharedSetOperation.new
3235
+ def self.extension_feed_item(path)
3236
+ require "google/ads/google_ads/v3/services/extension_feed_item_service_pb.rb"
3237
+ op = Google::Ads::GoogleAds::V3::Services::ExtensionFeedItemOperation.new
3183
3238
  op["remove"] = path
3184
3239
  op
3185
3240
  end
3186
3241
 
3187
- # A convenience method for creationg an MerchantCenterLinkOperation instance with
3242
+ # A convenience method for creationg an CampaignBidModifierOperation instance with
3188
3243
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3189
3244
  #
3190
3245
  # @param path [String] the resource name of the resource to delete.
3191
- def self.merchant_center_link(path)
3192
- require "google/ads/google_ads/v3/services/merchant_center_link_service_pb.rb"
3193
- op = Google::Ads::GoogleAds::V3::Services::MerchantCenterLinkOperation.new
3246
+ def self.campaign_bid_modifier(path)
3247
+ require "google/ads/google_ads/v3/services/campaign_bid_modifier_service_pb.rb"
3248
+ op = Google::Ads::GoogleAds::V3::Services::CampaignBidModifierOperation.new
3194
3249
  op["remove"] = path
3195
3250
  op
3196
3251
  end
3197
3252
 
3198
- # A convenience method for creationg an AdGroupBidModifierOperation instance with
3253
+ # A convenience method for creationg an CampaignDraftOperation instance with
3199
3254
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3200
3255
  #
3201
3256
  # @param path [String] the resource name of the resource to delete.
3202
- def self.ad_group_bid_modifier(path)
3203
- require "google/ads/google_ads/v3/services/ad_group_bid_modifier_service_pb.rb"
3204
- op = Google::Ads::GoogleAds::V3::Services::AdGroupBidModifierOperation.new
3257
+ def self.campaign_draft(path)
3258
+ require "google/ads/google_ads/v3/services/campaign_draft_service_pb.rb"
3259
+ op = Google::Ads::GoogleAds::V3::Services::CampaignDraftOperation.new
3205
3260
  op["remove"] = path
3206
3261
  op
3207
3262
  end
3208
3263
 
3209
- # A convenience method for creationg an CampaignFeedOperation instance with
3264
+ # A convenience method for creationg an CustomerOperation instance with
3210
3265
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3211
3266
  #
3212
3267
  # @param path [String] the resource name of the resource to delete.
3213
- def self.campaign_feed(path)
3214
- require "google/ads/google_ads/v3/services/campaign_feed_service_pb.rb"
3215
- op = Google::Ads::GoogleAds::V3::Services::CampaignFeedOperation.new
3268
+ def self.customer(path)
3269
+ require "google/ads/google_ads/v3/services/customer_service_pb.rb"
3270
+ op = Google::Ads::GoogleAds::V3::Services::CustomerOperation.new
3216
3271
  op["remove"] = path
3217
3272
  op
3218
3273
  end
3219
3274
 
3220
- # A convenience method for creationg an SharedCriterionOperation instance with
3275
+ # A convenience method for creationg an SharedSetOperation instance with
3221
3276
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3222
3277
  #
3223
3278
  # @param path [String] the resource name of the resource to delete.
3224
- def self.shared_criterion(path)
3225
- require "google/ads/google_ads/v3/services/shared_criterion_service_pb.rb"
3226
- op = Google::Ads::GoogleAds::V3::Services::SharedCriterionOperation.new
3279
+ def self.shared_set(path)
3280
+ require "google/ads/google_ads/v3/services/shared_set_service_pb.rb"
3281
+ op = Google::Ads::GoogleAds::V3::Services::SharedSetOperation.new
3227
3282
  op["remove"] = path
3228
3283
  op
3229
3284
  end
3230
3285
 
3231
- # A convenience method for creationg an RemarketingActionOperation instance with
3286
+ # A convenience method for creationg an CampaignFeedOperation instance with
3232
3287
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3233
3288
  #
3234
3289
  # @param path [String] the resource name of the resource to delete.
3235
- def self.remarketing_action(path)
3236
- require "google/ads/google_ads/v3/services/remarketing_action_service_pb.rb"
3237
- op = Google::Ads::GoogleAds::V3::Services::RemarketingActionOperation.new
3290
+ def self.campaign_feed(path)
3291
+ require "google/ads/google_ads/v3/services/campaign_feed_service_pb.rb"
3292
+ op = Google::Ads::GoogleAds::V3::Services::CampaignFeedOperation.new
3238
3293
  op["remove"] = path
3239
3294
  op
3240
3295
  end
3241
3296
 
3242
- # A convenience method for creationg an AdGroupLabelOperation instance with
3297
+ # A convenience method for creationg an LabelOperation instance with
3243
3298
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3244
3299
  #
3245
3300
  # @param path [String] the resource name of the resource to delete.
3246
- def self.ad_group_label(path)
3247
- require "google/ads/google_ads/v3/services/ad_group_label_service_pb.rb"
3248
- op = Google::Ads::GoogleAds::V3::Services::AdGroupLabelOperation.new
3301
+ def self.label(path)
3302
+ require "google/ads/google_ads/v3/services/label_service_pb.rb"
3303
+ op = Google::Ads::GoogleAds::V3::Services::LabelOperation.new
3249
3304
  op["remove"] = path
3250
3305
  op
3251
3306
  end
3252
3307
 
3253
- # A convenience method for creationg an CustomerLabelOperation instance with
3308
+ # A convenience method for creationg an AdGroupAdLabelOperation instance with
3254
3309
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3255
3310
  #
3256
3311
  # @param path [String] the resource name of the resource to delete.
3257
- def self.customer_label(path)
3258
- require "google/ads/google_ads/v3/services/customer_label_service_pb.rb"
3259
- op = Google::Ads::GoogleAds::V3::Services::CustomerLabelOperation.new
3312
+ def self.ad_group_ad_label(path)
3313
+ require "google/ads/google_ads/v3/services/ad_group_ad_label_service_pb.rb"
3314
+ op = Google::Ads::GoogleAds::V3::Services::AdGroupAdLabelOperation.new
3260
3315
  op["remove"] = path
3261
3316
  op
3262
3317
  end
@@ -3272,6 +3327,17 @@ module Google
3272
3327
  op
3273
3328
  end
3274
3329
 
3330
+ # A convenience method for creationg an AdGroupBidModifierOperation instance with
3331
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3332
+ #
3333
+ # @param path [String] the resource name of the resource to delete.
3334
+ def self.ad_group_bid_modifier(path)
3335
+ require "google/ads/google_ads/v3/services/ad_group_bid_modifier_service_pb.rb"
3336
+ op = Google::Ads::GoogleAds::V3::Services::AdGroupBidModifierOperation.new
3337
+ op["remove"] = path
3338
+ op
3339
+ end
3340
+
3275
3341
  # A convenience method for creationg an AdGroupCriterionOperation instance with
3276
3342
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3277
3343
  #
@@ -3305,13 +3371,13 @@ module Google
3305
3371
  op
3306
3372
  end
3307
3373
 
3308
- # A convenience method for creationg an AdGroupOperation instance with
3374
+ # A convenience method for creationg an AdGroupLabelOperation instance with
3309
3375
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3310
3376
  #
3311
3377
  # @param path [String] the resource name of the resource to delete.
3312
- def self.ad_group(path)
3313
- require "google/ads/google_ads/v3/services/ad_group_service_pb.rb"
3314
- op = Google::Ads::GoogleAds::V3::Services::AdGroupOperation.new
3378
+ def self.ad_group_label(path)
3379
+ require "google/ads/google_ads/v3/services/ad_group_label_service_pb.rb"
3380
+ op = Google::Ads::GoogleAds::V3::Services::AdGroupLabelOperation.new
3315
3381
  op["remove"] = path
3316
3382
  op
3317
3383
  end
@@ -3327,6 +3393,17 @@ module Google
3327
3393
  op
3328
3394
  end
3329
3395
 
3396
+ # A convenience method for creationg an AdOperation instance with
3397
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3398
+ #
3399
+ # @param path [String] the resource name of the resource to delete.
3400
+ def self.ad(path)
3401
+ require "google/ads/google_ads/v3/services/ad_service_pb.rb"
3402
+ op = Google::Ads::GoogleAds::V3::Services::AdOperation.new
3403
+ op["remove"] = path
3404
+ op
3405
+ end
3406
+
3330
3407
  # A convenience method for creationg an AssetOperation instance with
3331
3408
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3332
3409
  #
@@ -3349,17 +3426,6 @@ module Google
3349
3426
  op
3350
3427
  end
3351
3428
 
3352
- # A convenience method for creationg an CampaignBidModifierOperation instance with
3353
- # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3354
- #
3355
- # @param path [String] the resource name of the resource to delete.
3356
- def self.campaign_bid_modifier(path)
3357
- require "google/ads/google_ads/v3/services/campaign_bid_modifier_service_pb.rb"
3358
- op = Google::Ads::GoogleAds::V3::Services::CampaignBidModifierOperation.new
3359
- op["remove"] = path
3360
- op
3361
- end
3362
-
3363
3429
  # A convenience method for creationg an CampaignBudgetOperation instance with
3364
3430
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3365
3431
  #
@@ -3382,17 +3448,6 @@ module Google
3382
3448
  op
3383
3449
  end
3384
3450
 
3385
- # A convenience method for creationg an CampaignDraftOperation instance with
3386
- # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3387
- #
3388
- # @param path [String] the resource name of the resource to delete.
3389
- def self.campaign_draft(path)
3390
- require "google/ads/google_ads/v3/services/campaign_draft_service_pb.rb"
3391
- op = Google::Ads::GoogleAds::V3::Services::CampaignDraftOperation.new
3392
- op["remove"] = path
3393
- op
3394
- end
3395
-
3396
3451
  # A convenience method for creationg an CampaignExperimentOperation instance with
3397
3452
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3398
3453
  #
@@ -3437,6 +3492,17 @@ module Google
3437
3492
  op
3438
3493
  end
3439
3494
 
3495
+ # A convenience method for creationg an CampaignSharedSetOperation instance with
3496
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3497
+ #
3498
+ # @param path [String] the resource name of the resource to delete.
3499
+ def self.campaign_shared_set(path)
3500
+ require "google/ads/google_ads/v3/services/campaign_shared_set_service_pb.rb"
3501
+ op = Google::Ads::GoogleAds::V3::Services::CampaignSharedSetOperation.new
3502
+ op["remove"] = path
3503
+ op
3504
+ end
3505
+
3440
3506
  # A convenience method for creationg an ConversionActionOperation instance with
3441
3507
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3442
3508
  #
@@ -3470,35 +3536,13 @@ module Google
3470
3536
  op
3471
3537
  end
3472
3538
 
3473
- # A convenience method for creationg an CustomerNegativeCriterionOperation instance with
3474
- # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3475
- #
3476
- # @param path [String] the resource name of the resource to delete.
3477
- def self.customer_negative_criterion(path)
3478
- require "google/ads/google_ads/v3/services/customer_negative_criterion_service_pb.rb"
3479
- op = Google::Ads::GoogleAds::V3::Services::CustomerNegativeCriterionOperation.new
3480
- op["remove"] = path
3481
- op
3482
- end
3483
-
3484
- # A convenience method for creationg an CustomerOperation instance with
3485
- # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3486
- #
3487
- # @param path [String] the resource name of the resource to delete.
3488
- def self.customer(path)
3489
- require "google/ads/google_ads/v3/services/customer_service_pb.rb"
3490
- op = Google::Ads::GoogleAds::V3::Services::CustomerOperation.new
3491
- op["remove"] = path
3492
- op
3493
- end
3494
-
3495
- # A convenience method for creationg an ExtensionFeedItemOperation instance with
3539
+ # A convenience method for creationg an CustomerLabelOperation instance with
3496
3540
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3497
3541
  #
3498
3542
  # @param path [String] the resource name of the resource to delete.
3499
- def self.extension_feed_item(path)
3500
- require "google/ads/google_ads/v3/services/extension_feed_item_service_pb.rb"
3501
- op = Google::Ads::GoogleAds::V3::Services::ExtensionFeedItemOperation.new
3543
+ def self.customer_label(path)
3544
+ require "google/ads/google_ads/v3/services/customer_label_service_pb.rb"
3545
+ op = Google::Ads::GoogleAds::V3::Services::CustomerLabelOperation.new
3502
3546
  op["remove"] = path
3503
3547
  op
3504
3548
  end
@@ -3525,35 +3569,35 @@ module Google
3525
3569
  op
3526
3570
  end
3527
3571
 
3528
- # A convenience method for creationg an FeedMappingOperation instance with
3572
+ # A convenience method for creationg an FeedOperation instance with
3529
3573
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3530
3574
  #
3531
3575
  # @param path [String] the resource name of the resource to delete.
3532
- def self.feed_mapping(path)
3533
- require "google/ads/google_ads/v3/services/feed_mapping_service_pb.rb"
3534
- op = Google::Ads::GoogleAds::V3::Services::FeedMappingOperation.new
3576
+ def self.feed(path)
3577
+ require "google/ads/google_ads/v3/services/feed_service_pb.rb"
3578
+ op = Google::Ads::GoogleAds::V3::Services::FeedOperation.new
3535
3579
  op["remove"] = path
3536
3580
  op
3537
3581
  end
3538
3582
 
3539
- # A convenience method for creationg an LabelOperation instance with
3583
+ # A convenience method for creationg an MediaFileOperation instance with
3540
3584
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3541
3585
  #
3542
3586
  # @param path [String] the resource name of the resource to delete.
3543
- def self.label(path)
3544
- require "google/ads/google_ads/v3/services/label_service_pb.rb"
3545
- op = Google::Ads::GoogleAds::V3::Services::LabelOperation.new
3587
+ def self.media_file(path)
3588
+ require "google/ads/google_ads/v3/services/media_file_service_pb.rb"
3589
+ op = Google::Ads::GoogleAds::V3::Services::MediaFileOperation.new
3546
3590
  op["remove"] = path
3547
3591
  op
3548
3592
  end
3549
3593
 
3550
- # A convenience method for creationg an MediaFileOperation instance with
3594
+ # A convenience method for creationg an RemarketingActionOperation instance with
3551
3595
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3552
3596
  #
3553
3597
  # @param path [String] the resource name of the resource to delete.
3554
- def self.media_file(path)
3555
- require "google/ads/google_ads/v3/services/media_file_service_pb.rb"
3556
- op = Google::Ads::GoogleAds::V3::Services::MediaFileOperation.new
3598
+ def self.remarketing_action(path)
3599
+ require "google/ads/google_ads/v3/services/remarketing_action_service_pb.rb"
3600
+ op = Google::Ads::GoogleAds::V3::Services::RemarketingActionOperation.new
3557
3601
  op["remove"] = path
3558
3602
  op
3559
3603
  end
@@ -3580,79 +3624,79 @@ module Google
3580
3624
  op
3581
3625
  end
3582
3626
 
3583
- # A convenience method for creationg an KeywordPlanKeywordOperation instance with
3627
+ # A convenience method for creationg an CustomerClientLinkOperation instance with
3584
3628
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3585
3629
  #
3586
3630
  # @param path [String] the resource name of the resource to delete.
3587
- def self.keyword_plan_keyword(path)
3588
- require "google/ads/google_ads/v3/services/keyword_plan_keyword_service_pb.rb"
3589
- op = Google::Ads::GoogleAds::V3::Services::KeywordPlanKeywordOperation.new
3631
+ def self.customer_client_link(path)
3632
+ require "google/ads/google_ads/v3/services/customer_client_link_service_pb.rb"
3633
+ op = Google::Ads::GoogleAds::V3::Services::CustomerClientLinkOperation.new
3590
3634
  op["remove"] = path
3591
3635
  op
3592
3636
  end
3593
3637
 
3594
- # A convenience method for creationg an KeywordPlanAdGroupOperation instance with
3638
+ # A convenience method for creationg an UserDataOperation instance with
3595
3639
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3596
3640
  #
3597
3641
  # @param path [String] the resource name of the resource to delete.
3598
- def self.keyword_plan_ad_group(path)
3599
- require "google/ads/google_ads/v3/services/keyword_plan_ad_group_service_pb.rb"
3600
- op = Google::Ads::GoogleAds::V3::Services::KeywordPlanAdGroupOperation.new
3642
+ def self.user_data(path)
3643
+ require "google/ads/google_ads/v3/services/user_data_service_pb.rb"
3644
+ op = Google::Ads::GoogleAds::V3::Services::UserDataOperation.new
3601
3645
  op["remove"] = path
3602
3646
  op
3603
3647
  end
3604
3648
 
3605
- # A convenience method for creationg an BillingSetupOperation instance with
3649
+ # A convenience method for creationg an KeywordPlanAdGroupOperation instance with
3606
3650
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3607
3651
  #
3608
3652
  # @param path [String] the resource name of the resource to delete.
3609
- def self.billing_setup(path)
3610
- require "google/ads/google_ads/v3/services/billing_setup_service_pb.rb"
3611
- op = Google::Ads::GoogleAds::V3::Services::BillingSetupOperation.new
3653
+ def self.keyword_plan_ad_group(path)
3654
+ require "google/ads/google_ads/v3/services/keyword_plan_ad_group_service_pb.rb"
3655
+ op = Google::Ads::GoogleAds::V3::Services::KeywordPlanAdGroupOperation.new
3612
3656
  op["remove"] = path
3613
3657
  op
3614
3658
  end
3615
3659
 
3616
- # A convenience method for creationg an CustomInterestOperation instance with
3660
+ # A convenience method for creationg an KeywordPlanNegativeKeywordOperation instance with
3617
3661
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3618
3662
  #
3619
3663
  # @param path [String] the resource name of the resource to delete.
3620
- def self.custom_interest(path)
3621
- require "google/ads/google_ads/v3/services/custom_interest_service_pb.rb"
3622
- op = Google::Ads::GoogleAds::V3::Services::CustomInterestOperation.new
3664
+ def self.keyword_plan_negative_keyword(path)
3665
+ require "google/ads/google_ads/v3/services/keyword_plan_negative_keyword_service_pb.rb"
3666
+ op = Google::Ads::GoogleAds::V3::Services::KeywordPlanNegativeKeywordOperation.new
3623
3667
  op["remove"] = path
3624
3668
  op
3625
3669
  end
3626
3670
 
3627
- # A convenience method for creationg an KeywordPlanNegativeKeywordOperation instance with
3671
+ # A convenience method for creationg an KeywordPlanOperation instance with
3628
3672
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3629
3673
  #
3630
3674
  # @param path [String] the resource name of the resource to delete.
3631
- def self.keyword_plan_negative_keyword(path)
3632
- require "google/ads/google_ads/v3/services/keyword_plan_negative_keyword_service_pb.rb"
3633
- op = Google::Ads::GoogleAds::V3::Services::KeywordPlanNegativeKeywordOperation.new
3675
+ def self.keyword_plan(path)
3676
+ require "google/ads/google_ads/v3/services/keyword_plan_service_pb.rb"
3677
+ op = Google::Ads::GoogleAds::V3::Services::KeywordPlanOperation.new
3634
3678
  op["remove"] = path
3635
3679
  op
3636
3680
  end
3637
3681
 
3638
- # A convenience method for creationg an AdOperation instance with
3682
+ # A convenience method for creationg an KeywordPlanKeywordOperation instance with
3639
3683
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3640
3684
  #
3641
3685
  # @param path [String] the resource name of the resource to delete.
3642
- def self.ad(path)
3643
- require "google/ads/google_ads/v3/services/ad_service_pb.rb"
3644
- op = Google::Ads::GoogleAds::V3::Services::AdOperation.new
3686
+ def self.keyword_plan_keyword(path)
3687
+ require "google/ads/google_ads/v3/services/keyword_plan_keyword_service_pb.rb"
3688
+ op = Google::Ads::GoogleAds::V3::Services::KeywordPlanKeywordOperation.new
3645
3689
  op["remove"] = path
3646
3690
  op
3647
3691
  end
3648
3692
 
3649
- # A convenience method for creationg an KeywordPlanOperation instance with
3693
+ # A convenience method for creationg an KeywordPlanCampaignOperation instance with
3650
3694
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3651
3695
  #
3652
3696
  # @param path [String] the resource name of the resource to delete.
3653
- def self.keyword_plan(path)
3654
- require "google/ads/google_ads/v3/services/keyword_plan_service_pb.rb"
3655
- op = Google::Ads::GoogleAds::V3::Services::KeywordPlanOperation.new
3697
+ def self.keyword_plan_campaign(path)
3698
+ require "google/ads/google_ads/v3/services/keyword_plan_campaign_service_pb.rb"
3699
+ op = Google::Ads::GoogleAds::V3::Services::KeywordPlanCampaignOperation.new
3656
3700
  op["remove"] = path
3657
3701
  op
3658
3702
  end
@@ -3689,6 +3733,50 @@ module Google
3689
3733
  op["remove"] = path
3690
3734
  op
3691
3735
  end
3736
+
3737
+ # A convenience method for creationg an CustomerManagerLinkOperation instance with
3738
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3739
+ #
3740
+ # @param path [String] the resource name of the resource to delete.
3741
+ def self.customer_manager_link(path)
3742
+ require "google/ads/google_ads/v3/services/customer_manager_link_service_pb.rb"
3743
+ op = Google::Ads::GoogleAds::V3::Services::CustomerManagerLinkOperation.new
3744
+ op["remove"] = path
3745
+ op
3746
+ end
3747
+
3748
+ # A convenience method for creationg an BillingSetupOperation instance with
3749
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3750
+ #
3751
+ # @param path [String] the resource name of the resource to delete.
3752
+ def self.billing_setup(path)
3753
+ require "google/ads/google_ads/v3/services/billing_setup_service_pb.rb"
3754
+ op = Google::Ads::GoogleAds::V3::Services::BillingSetupOperation.new
3755
+ op["remove"] = path
3756
+ op
3757
+ end
3758
+
3759
+ # A convenience method for creationg an MerchantCenterLinkOperation instance with
3760
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3761
+ #
3762
+ # @param path [String] the resource name of the resource to delete.
3763
+ def self.merchant_center_link(path)
3764
+ require "google/ads/google_ads/v3/services/merchant_center_link_service_pb.rb"
3765
+ op = Google::Ads::GoogleAds::V3::Services::MerchantCenterLinkOperation.new
3766
+ op["remove"] = path
3767
+ op
3768
+ end
3769
+
3770
+ # A convenience method for creationg an OfflineUserDataJobOperation instance with
3771
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3772
+ #
3773
+ # @param path [String] the resource name of the resource to delete.
3774
+ def self.offline_user_data_job(path)
3775
+ require "google/ads/google_ads/v3/services/offline_user_data_job_service_pb.rb"
3776
+ op = Google::Ads::GoogleAds::V3::Services::OfflineUserDataJobOperation.new
3777
+ op["remove"] = path
3778
+ op
3779
+ end
3692
3780
  end
3693
3781
  end
3694
3782
  end