google-ads-googleads 2.4.1 → 3.0.0

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