google-ads-googleads 1.1.1 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (819) hide show
  1. checksums.yaml +4 -4
  2. data/ChangeLog +4 -0
  3. data/README.md +49 -34
  4. data/lib/google/ads/google_ads.rb +2 -2
  5. data/lib/google/ads/google_ads/api_versions.rb +9 -1
  6. data/lib/google/ads/google_ads/errors.rb +59 -0
  7. data/lib/google/ads/google_ads/google_ads_client.rb +2 -15
  8. data/lib/google/ads/google_ads/logging_interceptor.rb +33 -12
  9. data/lib/google/ads/google_ads/utils/v1/path_lookup_util.rb +63 -3
  10. data/lib/google/ads/google_ads/utils/v1/proto_lookup_util.rb +44 -6
  11. data/lib/google/ads/google_ads/v1/common/ad_type_infos_pb.rb +16 -0
  12. data/lib/google/ads/google_ads/v1/common/asset_types_pb.rb +4 -0
  13. data/lib/google/ads/google_ads/v1/common/criteria_pb.rb +9 -0
  14. data/lib/google/ads/google_ads/v1/common/extensions_pb.rb +24 -0
  15. data/lib/google/ads/google_ads/v1/common/final_app_url_pb.rb +18 -0
  16. data/lib/google/ads/google_ads/v1/common/metrics_pb.rb +19 -0
  17. data/lib/google/ads/google_ads/v1/common/policy_pb.rb +8 -0
  18. data/lib/google/ads/google_ads/v1/common/segments_pb.rb +7 -0
  19. data/lib/google/ads/google_ads/v1/common/simulation_pb.rb +54 -0
  20. data/lib/google/ads/google_ads/v1/enums/ad_type_pb.rb +3 -0
  21. data/lib/google/ads/google_ads/v1/enums/advertising_channel_sub_type_pb.rb +1 -0
  22. data/lib/google/ads/google_ads/v1/enums/app_url_operating_system_type_pb.rb +21 -0
  23. data/lib/google/ads/google_ads/v1/enums/asset_type_pb.rb +2 -1
  24. data/lib/google/ads/google_ads/v1/enums/budget_type_pb.rb +1 -0
  25. data/lib/google/ads/google_ads/v1/enums/campaign_experiment_type_pb.rb +22 -0
  26. data/lib/google/ads/google_ads/v1/enums/criterion_type_pb.rb +1 -0
  27. data/lib/google/ads/google_ads/v1/enums/customer_pay_per_conversion_eligibility_failure_reason_pb.rb +26 -0
  28. data/lib/google/ads/google_ads/v1/enums/display_upload_product_type_pb.rb +29 -0
  29. data/lib/google/ads/google_ads/v1/enums/extension_type_pb.rb +2 -0
  30. data/lib/google/ads/google_ads/v1/enums/location_group_radius_units_pb.rb +21 -0
  31. data/lib/google/ads/google_ads/v1/enums/payment_mode_pb.rb +1 -0
  32. data/lib/google/ads/google_ads/v1/enums/policy_topic_entry_type_pb.rb +1 -0
  33. data/lib/google/ads/google_ads/v1/enums/policy_topic_evidence_destination_not_working_device_pb.rb +22 -0
  34. data/lib/google/ads/google_ads/v1/enums/recommendation_type_pb.rb +3 -0
  35. data/lib/google/ads/google_ads/v1/enums/search_engine_results_page_type_pb.rb +22 -0
  36. data/lib/google/ads/google_ads/v1/enums/simulation_modification_method_pb.rb +21 -0
  37. data/lib/google/ads/google_ads/v1/enums/simulation_type_pb.rb +23 -0
  38. data/lib/google/ads/google_ads/v1/errors/ad_error_pb.rb +3 -0
  39. data/lib/google/ads/google_ads/v1/errors/asset_error_pb.rb +1 -0
  40. data/lib/google/ads/google_ads/v1/errors/bidding_strategy_error_pb.rb +1 -0
  41. data/lib/google/ads/google_ads/v1/errors/criterion_error_pb.rb +1 -0
  42. data/lib/google/ads/google_ads/v1/errors/errors_pb.rb +6 -0
  43. data/lib/google/ads/google_ads/v1/errors/feed_item_validation_error_pb.rb +6 -0
  44. data/lib/google/ads/google_ads/v1/errors/media_upload_error_pb.rb +12 -0
  45. data/lib/google/ads/google_ads/v1/errors/query_error_pb.rb +2 -0
  46. data/lib/google/ads/google_ads/v1/errors/size_limit_error_pb.rb +21 -0
  47. data/lib/google/ads/google_ads/v1/errors/youtube_video_registration_error_pb.rb +10 -0
  48. data/lib/google/ads/google_ads/v1/resources/ad_group_criterion_simulation_pb.rb +28 -0
  49. data/lib/google/ads/google_ads/v1/resources/ad_group_simulation_pb.rb +28 -0
  50. data/lib/google/ads/google_ads/v1/resources/ad_pb.rb +4 -0
  51. data/lib/google/ads/google_ads/v1/resources/asset_pb.rb +1 -0
  52. data/lib/google/ads/google_ads/v1/resources/campaign_criterion_pb.rb +1 -0
  53. data/lib/google/ads/google_ads/v1/resources/campaign_criterion_simulation_pb.rb +28 -0
  54. data/lib/google/ads/google_ads/v1/resources/campaign_pb.rb +23 -20
  55. data/lib/google/ads/google_ads/v1/resources/customer_pb.rb +2 -0
  56. data/lib/google/ads/google_ads/v1/resources/expanded_landing_page_view_pb.rb +17 -0
  57. data/lib/google/ads/google_ads/v1/resources/extension_feed_item_pb.rb +6 -0
  58. data/lib/google/ads/google_ads/v1/resources/landing_page_view_pb.rb +17 -0
  59. data/lib/google/ads/google_ads/v1/resources/mutate_job_pb.rb +1 -0
  60. data/lib/google/ads/google_ads/v1/resources/paid_organic_search_term_view_pb.rb +17 -0
  61. data/lib/google/ads/google_ads/v1/resources/recommendation_pb.rb +24 -8
  62. data/lib/google/ads/google_ads/v1/services/account_budget_proposal_service_client.rb +4 -4
  63. data/lib/google/ads/google_ads/v1/services/account_budget_proposal_service_services_pb.rb +2 -0
  64. data/lib/google/ads/google_ads/v1/services/account_budget_service_client.rb +2 -2
  65. data/lib/google/ads/google_ads/v1/services/account_budget_service_services_pb.rb +2 -0
  66. data/lib/google/ads/google_ads/v1/services/ad_group_ad_label_service_client.rb +4 -4
  67. data/lib/google/ads/google_ads/v1/services/ad_group_ad_label_service_services_pb.rb +2 -0
  68. data/lib/google/ads/google_ads/v1/services/ad_group_ad_service_client.rb +4 -4
  69. data/lib/google/ads/google_ads/v1/services/ad_group_ad_service_services_pb.rb +2 -0
  70. data/lib/google/ads/google_ads/v1/services/ad_group_audience_view_service_client.rb +2 -2
  71. data/lib/google/ads/google_ads/v1/services/ad_group_audience_view_service_services_pb.rb +2 -0
  72. data/lib/google/ads/google_ads/v1/services/ad_group_bid_modifier_service_client.rb +4 -4
  73. data/lib/google/ads/google_ads/v1/services/ad_group_bid_modifier_service_services_pb.rb +2 -0
  74. data/lib/google/ads/google_ads/v1/services/ad_group_criterion_label_service_client.rb +4 -4
  75. data/lib/google/ads/google_ads/v1/services/ad_group_criterion_label_service_services_pb.rb +2 -0
  76. data/lib/google/ads/google_ads/v1/services/ad_group_criterion_service_client.rb +4 -4
  77. data/lib/google/ads/google_ads/v1/services/ad_group_criterion_service_services_pb.rb +2 -0
  78. data/lib/google/ads/google_ads/{v0/services/account_budget_service_client.rb → v1/services/ad_group_criterion_simulation_service_client.rb} +37 -39
  79. data/lib/google/ads/google_ads/{v0/services/account_budget_service_client_config.json → v1/services/ad_group_criterion_simulation_service_client_config.json} +2 -2
  80. data/lib/google/ads/google_ads/v1/services/ad_group_criterion_simulation_service_pb.rb +16 -0
  81. data/lib/google/ads/google_ads/{v0/services/ad_group_criterion_service_services_pb.rb → v1/services/ad_group_criterion_simulation_service_services_pb.rb} +11 -11
  82. data/lib/google/ads/google_ads/v1/services/ad_group_extension_setting_service_client.rb +4 -4
  83. data/lib/google/ads/google_ads/v1/services/ad_group_extension_setting_service_services_pb.rb +2 -0
  84. data/lib/google/ads/google_ads/v1/services/ad_group_feed_service_client.rb +4 -4
  85. data/lib/google/ads/google_ads/v1/services/ad_group_feed_service_services_pb.rb +2 -0
  86. data/lib/google/ads/google_ads/v1/services/ad_group_label_service_client.rb +4 -4
  87. data/lib/google/ads/google_ads/v1/services/ad_group_label_service_services_pb.rb +2 -0
  88. data/lib/google/ads/google_ads/v1/services/ad_group_service_client.rb +4 -4
  89. data/lib/google/ads/google_ads/v1/services/ad_group_service_services_pb.rb +2 -0
  90. data/lib/google/ads/google_ads/{v0/services/video_service_client.rb → v1/services/ad_group_simulation_service_client.rb} +37 -37
  91. data/lib/google/ads/google_ads/{v0/services/age_range_view_service_client_config.json → v1/services/ad_group_simulation_service_client_config.json} +2 -2
  92. data/lib/google/ads/google_ads/v1/services/ad_group_simulation_service_pb.rb +16 -0
  93. data/lib/google/ads/google_ads/{v0/services/account_budget_service_services_pb.rb → v1/services/ad_group_simulation_service_services_pb.rb} +10 -10
  94. data/lib/google/ads/google_ads/v1/services/ad_parameter_service_client.rb +4 -4
  95. data/lib/google/ads/google_ads/v1/services/ad_parameter_service_services_pb.rb +2 -0
  96. data/lib/google/ads/google_ads/v1/services/ad_schedule_view_service_client.rb +2 -2
  97. data/lib/google/ads/google_ads/v1/services/ad_schedule_view_service_services_pb.rb +2 -0
  98. data/lib/google/ads/google_ads/v1/services/age_range_view_service_client.rb +2 -2
  99. data/lib/google/ads/google_ads/v1/services/age_range_view_service_services_pb.rb +2 -0
  100. data/lib/google/ads/google_ads/v1/services/asset_service_client.rb +4 -4
  101. data/lib/google/ads/google_ads/v1/services/asset_service_services_pb.rb +2 -0
  102. data/lib/google/ads/google_ads/v1/services/bidding_strategy_service_client.rb +4 -4
  103. data/lib/google/ads/google_ads/v1/services/bidding_strategy_service_services_pb.rb +2 -0
  104. data/lib/google/ads/google_ads/v1/services/billing_setup_service_client.rb +4 -4
  105. data/lib/google/ads/google_ads/v1/services/billing_setup_service_services_pb.rb +2 -0
  106. data/lib/google/ads/google_ads/v1/services/campaign_audience_view_service_client.rb +2 -2
  107. data/lib/google/ads/google_ads/v1/services/campaign_audience_view_service_services_pb.rb +2 -0
  108. data/lib/google/ads/google_ads/v1/services/campaign_bid_modifier_service_client.rb +4 -4
  109. data/lib/google/ads/google_ads/v1/services/campaign_bid_modifier_service_services_pb.rb +2 -0
  110. data/lib/google/ads/google_ads/v1/services/campaign_budget_service_client.rb +4 -4
  111. data/lib/google/ads/google_ads/v1/services/campaign_budget_service_services_pb.rb +2 -0
  112. data/lib/google/ads/google_ads/v1/services/campaign_criterion_service_client.rb +4 -4
  113. data/lib/google/ads/google_ads/v1/services/campaign_criterion_service_services_pb.rb +2 -0
  114. data/lib/google/ads/google_ads/{v0/services/age_range_view_service_client.rb → v1/services/campaign_criterion_simulation_service_client.rb} +37 -37
  115. data/lib/google/ads/google_ads/{v0/services/ad_schedule_view_service_client_config.json → v1/services/campaign_criterion_simulation_service_client_config.json} +2 -2
  116. data/lib/google/ads/google_ads/v1/services/campaign_criterion_simulation_service_pb.rb +16 -0
  117. data/lib/google/ads/google_ads/{v0/services/ad_group_audience_view_service_services_pb.rb → v1/services/campaign_criterion_simulation_service_services_pb.rb} +11 -9
  118. data/lib/google/ads/google_ads/v1/services/campaign_extension_setting_service_client.rb +4 -4
  119. data/lib/google/ads/google_ads/v1/services/campaign_extension_setting_service_services_pb.rb +2 -0
  120. data/lib/google/ads/google_ads/v1/services/campaign_feed_service_client.rb +4 -4
  121. data/lib/google/ads/google_ads/v1/services/campaign_feed_service_services_pb.rb +2 -0
  122. data/lib/google/ads/google_ads/v1/services/campaign_label_service_client.rb +4 -4
  123. data/lib/google/ads/google_ads/v1/services/campaign_label_service_services_pb.rb +2 -0
  124. data/lib/google/ads/google_ads/v1/services/campaign_service_client.rb +4 -4
  125. data/lib/google/ads/google_ads/v1/services/campaign_service_services_pb.rb +2 -0
  126. data/lib/google/ads/google_ads/v1/services/campaign_shared_set_service_client.rb +4 -4
  127. data/lib/google/ads/google_ads/v1/services/campaign_shared_set_service_services_pb.rb +2 -0
  128. data/lib/google/ads/google_ads/v1/services/carrier_constant_service_client.rb +2 -2
  129. data/lib/google/ads/google_ads/v1/services/carrier_constant_service_services_pb.rb +2 -0
  130. data/lib/google/ads/google_ads/v1/services/change_status_service_client.rb +2 -2
  131. data/lib/google/ads/google_ads/v1/services/change_status_service_services_pb.rb +2 -0
  132. data/lib/google/ads/google_ads/v1/services/click_view_service_client.rb +2 -2
  133. data/lib/google/ads/google_ads/v1/services/click_view_service_services_pb.rb +2 -0
  134. data/lib/google/ads/google_ads/v1/services/conversion_action_service_client.rb +4 -4
  135. data/lib/google/ads/google_ads/v1/services/conversion_action_service_services_pb.rb +2 -0
  136. data/lib/google/ads/google_ads/v1/services/conversion_adjustment_upload_service_client.rb +2 -2
  137. data/lib/google/ads/google_ads/v1/services/conversion_upload_service_client.rb +4 -4
  138. data/lib/google/ads/google_ads/v1/services/custom_interest_service_client.rb +4 -4
  139. data/lib/google/ads/google_ads/v1/services/custom_interest_service_services_pb.rb +2 -0
  140. data/lib/google/ads/google_ads/v1/services/customer_client_link_service_client.rb +4 -4
  141. data/lib/google/ads/google_ads/v1/services/customer_client_service_client.rb +2 -2
  142. data/lib/google/ads/google_ads/v1/services/customer_client_service_services_pb.rb +2 -0
  143. data/lib/google/ads/google_ads/v1/services/customer_extension_setting_service_client.rb +4 -4
  144. data/lib/google/ads/google_ads/v1/services/customer_extension_setting_service_services_pb.rb +2 -0
  145. data/lib/google/ads/google_ads/v1/services/customer_feed_service_client.rb +4 -4
  146. data/lib/google/ads/google_ads/v1/services/customer_feed_service_services_pb.rb +2 -0
  147. data/lib/google/ads/google_ads/v1/services/customer_label_service_client.rb +4 -4
  148. data/lib/google/ads/google_ads/v1/services/customer_label_service_services_pb.rb +2 -0
  149. data/lib/google/ads/google_ads/v1/services/customer_manager_link_service_client.rb +4 -4
  150. data/lib/google/ads/google_ads/v1/services/customer_negative_criterion_service_client.rb +4 -4
  151. data/lib/google/ads/google_ads/v1/services/customer_negative_criterion_service_services_pb.rb +2 -0
  152. data/lib/google/ads/google_ads/v1/services/customer_service_client.rb +8 -8
  153. data/lib/google/ads/google_ads/v1/services/customer_service_services_pb.rb +2 -0
  154. data/lib/google/ads/google_ads/v1/services/detail_placement_view_service_client.rb +2 -2
  155. data/lib/google/ads/google_ads/v1/services/detail_placement_view_service_services_pb.rb +2 -0
  156. data/lib/google/ads/google_ads/v1/services/display_keyword_view_service_client.rb +2 -2
  157. data/lib/google/ads/google_ads/v1/services/display_keyword_view_service_services_pb.rb +2 -0
  158. data/lib/google/ads/google_ads/v1/services/domain_category_service_client.rb +2 -2
  159. data/lib/google/ads/google_ads/v1/services/domain_category_service_services_pb.rb +2 -0
  160. data/lib/google/ads/google_ads/v1/services/dynamic_search_ads_search_term_view_service_client.rb +2 -2
  161. data/lib/google/ads/google_ads/v1/services/dynamic_search_ads_search_term_view_service_services_pb.rb +2 -0
  162. data/lib/google/ads/google_ads/{v0/services/change_status_service_client.rb → v1/services/expanded_landing_page_view_service_client.rb} +37 -37
  163. data/lib/google/ads/google_ads/{v0/services/ad_group_audience_view_service_client_config.json → v1/services/expanded_landing_page_view_service_client_config.json} +2 -2
  164. data/lib/google/ads/google_ads/v1/services/expanded_landing_page_view_service_pb.rb +17 -0
  165. data/lib/google/ads/google_ads/{v0/services/parental_status_view_service_services_pb.rb → v1/services/expanded_landing_page_view_service_services_pb.rb} +11 -9
  166. data/lib/google/ads/google_ads/v1/services/extension_feed_item_service_client.rb +4 -4
  167. data/lib/google/ads/google_ads/v1/services/extension_feed_item_service_services_pb.rb +2 -0
  168. data/lib/google/ads/google_ads/v1/services/feed_item_service_client.rb +4 -4
  169. data/lib/google/ads/google_ads/v1/services/feed_item_service_services_pb.rb +2 -0
  170. data/lib/google/ads/google_ads/v1/services/feed_item_target_service_client.rb +4 -4
  171. data/lib/google/ads/google_ads/v1/services/feed_item_target_service_services_pb.rb +2 -0
  172. data/lib/google/ads/google_ads/v1/services/feed_mapping_service_client.rb +4 -4
  173. data/lib/google/ads/google_ads/v1/services/feed_mapping_service_services_pb.rb +2 -0
  174. data/lib/google/ads/google_ads/v1/services/feed_placeholder_view_service_client.rb +2 -2
  175. data/lib/google/ads/google_ads/v1/services/feed_placeholder_view_service_services_pb.rb +2 -0
  176. data/lib/google/ads/google_ads/v1/services/feed_service_client.rb +4 -4
  177. data/lib/google/ads/google_ads/v1/services/feed_service_services_pb.rb +2 -0
  178. data/lib/google/ads/google_ads/v1/services/gender_view_service_client.rb +2 -2
  179. data/lib/google/ads/google_ads/v1/services/gender_view_service_services_pb.rb +2 -0
  180. data/lib/google/ads/google_ads/v1/services/geo_target_constant_service_client.rb +4 -4
  181. data/lib/google/ads/google_ads/v1/services/geo_target_constant_service_services_pb.rb +2 -0
  182. data/lib/google/ads/google_ads/v1/services/geographic_view_service_client.rb +2 -2
  183. data/lib/google/ads/google_ads/v1/services/geographic_view_service_services_pb.rb +2 -0
  184. data/lib/google/ads/google_ads/v1/services/google_ads_field_service_client.rb +5 -5
  185. data/lib/google/ads/google_ads/v1/services/google_ads_field_service_services_pb.rb +2 -0
  186. data/lib/google/ads/google_ads/v1/services/google_ads_service_client.rb +54 -6
  187. data/lib/google/ads/google_ads/v1/services/google_ads_service_pb.rb +16 -0
  188. data/lib/google/ads/google_ads/v1/services/google_ads_service_services_pb.rb +51 -1
  189. data/lib/google/ads/google_ads/v1/services/group_placement_view_service_client.rb +2 -2
  190. data/lib/google/ads/google_ads/v1/services/group_placement_view_service_services_pb.rb +2 -0
  191. data/lib/google/ads/google_ads/v1/services/hotel_group_view_service_client.rb +2 -2
  192. data/lib/google/ads/google_ads/v1/services/hotel_group_view_service_services_pb.rb +2 -0
  193. data/lib/google/ads/google_ads/v1/services/hotel_performance_view_service_client.rb +3 -18
  194. data/lib/google/ads/google_ads/v1/services/hotel_performance_view_service_services_pb.rb +2 -0
  195. data/lib/google/ads/google_ads/v1/services/keyword_plan_ad_group_service_client.rb +4 -4
  196. data/lib/google/ads/google_ads/v1/services/keyword_plan_ad_group_service_services_pb.rb +2 -0
  197. data/lib/google/ads/google_ads/v1/services/keyword_plan_campaign_service_client.rb +4 -4
  198. data/lib/google/ads/google_ads/v1/services/keyword_plan_campaign_service_services_pb.rb +2 -0
  199. data/lib/google/ads/google_ads/v1/services/keyword_plan_idea_service_client.rb +2 -2
  200. data/lib/google/ads/google_ads/v1/services/keyword_plan_idea_service_services_pb.rb +2 -0
  201. data/lib/google/ads/google_ads/v1/services/keyword_plan_keyword_service_client.rb +4 -4
  202. data/lib/google/ads/google_ads/v1/services/keyword_plan_keyword_service_services_pb.rb +2 -0
  203. data/lib/google/ads/google_ads/v1/services/keyword_plan_negative_keyword_service_client.rb +4 -4
  204. data/lib/google/ads/google_ads/v1/services/keyword_plan_negative_keyword_service_services_pb.rb +2 -0
  205. data/lib/google/ads/google_ads/v1/services/keyword_plan_service_client.rb +8 -8
  206. data/lib/google/ads/google_ads/v1/services/keyword_plan_service_services_pb.rb +2 -0
  207. data/lib/google/ads/google_ads/v1/services/keyword_view_service_client.rb +2 -2
  208. data/lib/google/ads/google_ads/v1/services/keyword_view_service_services_pb.rb +2 -0
  209. data/lib/google/ads/google_ads/v1/services/label_service_client.rb +4 -4
  210. data/lib/google/ads/google_ads/{v0/services/topic_view_service_client.rb → v1/services/landing_page_view_service_client.rb} +37 -37
  211. data/lib/google/ads/google_ads/{v0/services/carrier_constant_service_client_config.json → v1/services/landing_page_view_service_client_config.json} +2 -2
  212. data/lib/google/ads/google_ads/v1/services/landing_page_view_service_pb.rb +17 -0
  213. data/lib/google/ads/google_ads/{v0/services/keyword_plan_idea_service_services_pb.rb → v1/services/landing_page_view_service_services_pb.rb} +11 -9
  214. data/lib/google/ads/google_ads/v1/services/language_constant_service_client.rb +2 -2
  215. data/lib/google/ads/google_ads/v1/services/language_constant_service_services_pb.rb +2 -0
  216. data/lib/google/ads/google_ads/v1/services/location_view_service_client.rb +2 -2
  217. data/lib/google/ads/google_ads/v1/services/location_view_service_services_pb.rb +2 -0
  218. data/lib/google/ads/google_ads/v1/services/managed_placement_view_service_client.rb +2 -2
  219. data/lib/google/ads/google_ads/v1/services/managed_placement_view_service_services_pb.rb +2 -0
  220. data/lib/google/ads/google_ads/v1/services/media_file_service_client.rb +4 -4
  221. data/lib/google/ads/google_ads/v1/services/media_file_service_services_pb.rb +2 -0
  222. data/lib/google/ads/google_ads/v1/services/merchant_center_link_service_client.rb +6 -6
  223. data/lib/google/ads/google_ads/v1/services/merchant_center_link_service_services_pb.rb +2 -0
  224. data/lib/google/ads/google_ads/v1/services/mobile_app_category_constant_service_client.rb +2 -2
  225. data/lib/google/ads/google_ads/v1/services/mobile_device_constant_service_client.rb +2 -2
  226. data/lib/google/ads/google_ads/v1/services/mobile_device_constant_service_services_pb.rb +2 -0
  227. data/lib/google/ads/google_ads/v1/services/mutate_job_service_client.rb +11 -11
  228. data/lib/google/ads/google_ads/v1/services/mutate_job_service_services_pb.rb +2 -0
  229. data/lib/google/ads/google_ads/v1/services/operating_system_version_constant_service_client.rb +2 -2
  230. data/lib/google/ads/google_ads/v1/services/operating_system_version_constant_service_services_pb.rb +2 -0
  231. data/lib/google/ads/google_ads/{v0/services/customer_client_service_client.rb → v1/services/paid_organic_search_term_view_service_client.rb} +37 -37
  232. data/lib/google/ads/google_ads/{v0/services/mobile_app_category_constant_service_client_config.json → v1/services/paid_organic_search_term_view_service_client_config.json} +2 -2
  233. data/lib/google/ads/google_ads/v1/services/paid_organic_search_term_view_service_pb.rb +16 -0
  234. data/lib/google/ads/google_ads/{v0/services/ad_group_ad_service_services_pb.rb → v1/services/paid_organic_search_term_view_service_services_pb.rb} +11 -11
  235. data/lib/google/ads/google_ads/v1/services/parental_status_view_service_client.rb +2 -2
  236. data/lib/google/ads/google_ads/v1/services/parental_status_view_service_services_pb.rb +2 -0
  237. data/lib/google/ads/google_ads/v1/services/payments_account_service_client.rb +2 -2
  238. data/lib/google/ads/google_ads/v1/services/payments_account_service_services_pb.rb +2 -0
  239. data/lib/google/ads/google_ads/v1/services/product_bidding_category_constant_service_client.rb +2 -2
  240. data/lib/google/ads/google_ads/v1/services/product_bidding_category_constant_service_pb.rb +1 -1
  241. data/lib/google/ads/google_ads/v1/services/product_bidding_category_constant_service_services_pb.rb +4 -2
  242. data/lib/google/ads/google_ads/v1/services/product_group_view_service_client.rb +2 -2
  243. data/lib/google/ads/google_ads/v1/services/product_group_view_service_services_pb.rb +2 -0
  244. data/lib/google/ads/google_ads/v1/services/recommendation_service_client.rb +6 -6
  245. data/lib/google/ads/google_ads/v1/services/recommendation_service_client_config.json +3 -3
  246. data/lib/google/ads/google_ads/v1/services/recommendation_service_pb.rb +16 -0
  247. data/lib/google/ads/google_ads/v1/services/recommendation_service_services_pb.rb +2 -0
  248. data/lib/google/ads/google_ads/v1/services/remarketing_action_service_client.rb +4 -4
  249. data/lib/google/ads/google_ads/v1/services/remarketing_action_service_services_pb.rb +2 -0
  250. data/lib/google/ads/google_ads/v1/services/search_term_view_service_client.rb +2 -2
  251. data/lib/google/ads/google_ads/v1/services/search_term_view_service_services_pb.rb +2 -0
  252. data/lib/google/ads/google_ads/v1/services/shared_criterion_service_client.rb +4 -4
  253. data/lib/google/ads/google_ads/v1/services/shared_criterion_service_services_pb.rb +2 -0
  254. data/lib/google/ads/google_ads/v1/services/shared_set_service_client.rb +4 -4
  255. data/lib/google/ads/google_ads/v1/services/shared_set_service_services_pb.rb +2 -0
  256. data/lib/google/ads/google_ads/v1/services/shopping_performance_view_service_client.rb +3 -18
  257. data/lib/google/ads/google_ads/v1/services/shopping_performance_view_service_services_pb.rb +2 -0
  258. data/lib/google/ads/google_ads/v1/services/topic_constant_service_client.rb +2 -2
  259. data/lib/google/ads/google_ads/v1/services/topic_constant_service_services_pb.rb +2 -0
  260. data/lib/google/ads/google_ads/v1/services/topic_view_service_client.rb +2 -2
  261. data/lib/google/ads/google_ads/v1/services/topic_view_service_services_pb.rb +2 -0
  262. data/lib/google/ads/google_ads/v1/services/user_interest_service_client.rb +2 -2
  263. data/lib/google/ads/google_ads/v1/services/user_interest_service_services_pb.rb +2 -0
  264. data/lib/google/ads/google_ads/v1/services/user_list_service_client.rb +4 -4
  265. data/lib/google/ads/google_ads/v1/services/user_list_service_services_pb.rb +2 -0
  266. data/lib/google/ads/google_ads/v1/services/video_service_client.rb +2 -2
  267. data/lib/google/ads/google_ads/v1/services/video_service_services_pb.rb +2 -0
  268. data/lib/google/ads/google_ads/version.rb +1 -1
  269. data/lib/google/ads/google_ads/wrapper_util.rb +4 -0
  270. metadata +44 -569
  271. data/lib/google/ads/google_ads/utils/v0/path_lookup_util.rb +0 -431
  272. data/lib/google/ads/google_ads/utils/v0/proto_lookup_util.rb +0 -620
  273. data/lib/google/ads/google_ads/v0/common/ad_type_infos_pb.rb +0 -127
  274. data/lib/google/ads/google_ads/v0/common/bidding_pb.rb +0 -74
  275. data/lib/google/ads/google_ads/v0/common/criteria_pb.rb +0 -259
  276. data/lib/google/ads/google_ads/v0/common/criterion_category_availability_pb.rb +0 -33
  277. data/lib/google/ads/google_ads/v0/common/custom_parameter_pb.rb +0 -16
  278. data/lib/google/ads/google_ads/v0/common/dates_pb.rb +0 -16
  279. data/lib/google/ads/google_ads/v0/common/explorer_auto_optimizer_setting_pb.rb +0 -15
  280. data/lib/google/ads/google_ads/v0/common/feed_common_pb.rb +0 -16
  281. data/lib/google/ads/google_ads/v0/common/frequency_cap_pb.rb +0 -26
  282. data/lib/google/ads/google_ads/v0/common/keyword_plan_common_pb.rb +0 -17
  283. data/lib/google/ads/google_ads/v0/common/matching_function_pb.rb +0 -15
  284. data/lib/google/ads/google_ads/v0/common/metrics_pb.rb +0 -107
  285. data/lib/google/ads/google_ads/v0/common/policy_pb.rb +0 -77
  286. data/lib/google/ads/google_ads/v0/common/real_time_bidding_setting_pb.rb +0 -15
  287. data/lib/google/ads/google_ads/v0/common/segments_pb.rb +0 -48
  288. data/lib/google/ads/google_ads/v0/common/tag_snippet_pb.rb +0 -20
  289. data/lib/google/ads/google_ads/v0/common/targeting_setting_pb.rb +0 -21
  290. data/lib/google/ads/google_ads/v0/common/user_lists_pb.rb +0 -113
  291. data/lib/google/ads/google_ads/v0/common/value_pb.rb +0 -20
  292. data/lib/google/ads/google_ads/v0/enums/access_reason_pb.rb +0 -23
  293. data/lib/google/ads/google_ads/v0/enums/account_budget_proposal_status_pb.rb +0 -23
  294. data/lib/google/ads/google_ads/v0/enums/account_budget_proposal_type_pb.rb +0 -22
  295. data/lib/google/ads/google_ads/v0/enums/account_budget_status_pb.rb +0 -21
  296. data/lib/google/ads/google_ads/v0/enums/ad_customizer_placeholder_field_pb.rb +0 -22
  297. data/lib/google/ads/google_ads/v0/enums/ad_group_ad_rotation_mode_pb.rb +0 -20
  298. data/lib/google/ads/google_ads/v0/enums/ad_group_ad_status_pb.rb +0 -21
  299. data/lib/google/ads/google_ads/v0/enums/ad_group_criterion_status_pb.rb +0 -21
  300. data/lib/google/ads/google_ads/v0/enums/ad_group_status_pb.rb +0 -21
  301. data/lib/google/ads/google_ads/v0/enums/ad_group_type_pb.rb +0 -28
  302. data/lib/google/ads/google_ads/v0/enums/ad_network_type_pb.rb +0 -24
  303. data/lib/google/ads/google_ads/v0/enums/ad_serving_optimization_status_pb.rb +0 -23
  304. data/lib/google/ads/google_ads/v0/enums/ad_type_pb.rb +0 -30
  305. data/lib/google/ads/google_ads/v0/enums/advertising_channel_sub_type_pb.rb +0 -27
  306. data/lib/google/ads/google_ads/v0/enums/advertising_channel_type_pb.rb +0 -23
  307. data/lib/google/ads/google_ads/v0/enums/affiliate_location_feed_relationship_type_pb.rb +0 -19
  308. data/lib/google/ads/google_ads/v0/enums/age_range_type_pb.rb +0 -25
  309. data/lib/google/ads/google_ads/v0/enums/app_payment_model_type_pb.rb +0 -19
  310. data/lib/google/ads/google_ads/v0/enums/app_placeholder_field_pb.rb +0 -26
  311. data/lib/google/ads/google_ads/v0/enums/attribution_model_pb.rb +0 -25
  312. data/lib/google/ads/google_ads/v0/enums/bid_modifier_source_pb.rb +0 -20
  313. data/lib/google/ads/google_ads/v0/enums/bidding_source_pb.rb +0 -21
  314. data/lib/google/ads/google_ads/v0/enums/bidding_strategy_type_pb.rb +0 -31
  315. data/lib/google/ads/google_ads/v0/enums/billing_setup_status_pb.rb +0 -22
  316. data/lib/google/ads/google_ads/v0/enums/brand_safety_suitability_pb.rb +0 -21
  317. data/lib/google/ads/google_ads/v0/enums/budget_delivery_method_pb.rb +0 -20
  318. data/lib/google/ads/google_ads/v0/enums/budget_period_pb.rb +0 -21
  319. data/lib/google/ads/google_ads/v0/enums/budget_status_pb.rb +0 -20
  320. data/lib/google/ads/google_ads/v0/enums/call_conversion_reporting_state_pb.rb +0 -21
  321. data/lib/google/ads/google_ads/v0/enums/call_placeholder_field_pb.rb +0 -23
  322. data/lib/google/ads/google_ads/v0/enums/callout_placeholder_field_pb.rb +0 -19
  323. data/lib/google/ads/google_ads/v0/enums/campaign_serving_status_pb.rb +0 -23
  324. data/lib/google/ads/google_ads/v0/enums/campaign_shared_set_status_pb.rb +0 -20
  325. data/lib/google/ads/google_ads/v0/enums/campaign_status_pb.rb +0 -21
  326. data/lib/google/ads/google_ads/v0/enums/change_status_operation_pb.rb +0 -21
  327. data/lib/google/ads/google_ads/v0/enums/change_status_resource_type_pb.rb +0 -25
  328. data/lib/google/ads/google_ads/v0/enums/content_label_type_pb.rb +0 -33
  329. data/lib/google/ads/google_ads/v0/enums/conversion_action_category_pb.rb +0 -24
  330. data/lib/google/ads/google_ads/v0/enums/conversion_action_counting_type_pb.rb +0 -20
  331. data/lib/google/ads/google_ads/v0/enums/conversion_action_status_pb.rb +0 -21
  332. data/lib/google/ads/google_ads/v0/enums/conversion_action_type_pb.rb +0 -26
  333. data/lib/google/ads/google_ads/v0/enums/conversion_attribution_event_type_pb.rb +0 -20
  334. data/lib/google/ads/google_ads/v0/enums/criterion_category_channel_availability_mode_pb.rb +0 -21
  335. data/lib/google/ads/google_ads/v0/enums/criterion_category_locale_availability_mode_pb.rb +0 -22
  336. data/lib/google/ads/google_ads/v0/enums/criterion_type_pb.rb +0 -43
  337. data/lib/google/ads/google_ads/v0/enums/custom_placeholder_field_pb.rb +0 -38
  338. data/lib/google/ads/google_ads/v0/enums/customer_match_upload_key_type_pb.rb +0 -21
  339. data/lib/google/ads/google_ads/v0/enums/data_driven_model_status_pb.rb +0 -22
  340. data/lib/google/ads/google_ads/v0/enums/day_of_week_pb.rb +0 -25
  341. data/lib/google/ads/google_ads/v0/enums/device_pb.rb +0 -21
  342. data/lib/google/ads/google_ads/v0/enums/display_ad_format_setting_pb.rb +0 -21
  343. data/lib/google/ads/google_ads/v0/enums/education_placeholder_field_pb.rb +0 -35
  344. data/lib/google/ads/google_ads/v0/enums/feed_attribute_type_pb.rb +0 -31
  345. data/lib/google/ads/google_ads/v0/enums/feed_item_quality_approval_status_pb.rb +0 -20
  346. data/lib/google/ads/google_ads/v0/enums/feed_item_quality_disapproval_reason_pb.rb +0 -36
  347. data/lib/google/ads/google_ads/v0/enums/feed_item_status_pb.rb +0 -20
  348. data/lib/google/ads/google_ads/v0/enums/feed_item_validation_status_pb.rb +0 -21
  349. data/lib/google/ads/google_ads/v0/enums/feed_link_status_pb.rb +0 -20
  350. data/lib/google/ads/google_ads/v0/enums/feed_mapping_criterion_type_pb.rb +0 -20
  351. data/lib/google/ads/google_ads/v0/enums/feed_mapping_status_pb.rb +0 -20
  352. data/lib/google/ads/google_ads/v0/enums/feed_origin_pb.rb +0 -20
  353. data/lib/google/ads/google_ads/v0/enums/feed_status_pb.rb +0 -20
  354. data/lib/google/ads/google_ads/v0/enums/flight_placeholder_field_pb.rb +0 -35
  355. data/lib/google/ads/google_ads/v0/enums/frequency_cap_event_type_pb.rb +0 -20
  356. data/lib/google/ads/google_ads/v0/enums/frequency_cap_level_pb.rb +0 -21
  357. data/lib/google/ads/google_ads/v0/enums/frequency_cap_time_unit_pb.rb +0 -21
  358. data/lib/google/ads/google_ads/v0/enums/gender_type_pb.rb +0 -21
  359. data/lib/google/ads/google_ads/v0/enums/geo_target_constant_status_pb.rb +0 -20
  360. data/lib/google/ads/google_ads/v0/enums/geo_targeting_restriction_pb.rb +0 -19
  361. data/lib/google/ads/google_ads/v0/enums/google_ads_field_category_pb.rb +0 -22
  362. data/lib/google/ads/google_ads/v0/enums/google_ads_field_data_type_pb.rb +0 -28
  363. data/lib/google/ads/google_ads/v0/enums/hotel_date_selection_type_pb.rb +0 -20
  364. data/lib/google/ads/google_ads/v0/enums/hotel_placeholder_field_pb.rb +0 -38
  365. data/lib/google/ads/google_ads/v0/enums/income_range_type_pb.rb +0 -25
  366. data/lib/google/ads/google_ads/v0/enums/interaction_event_type_pb.rb +0 -22
  367. data/lib/google/ads/google_ads/v0/enums/interaction_type_pb.rb +0 -19
  368. data/lib/google/ads/google_ads/v0/enums/job_placeholder_field_pb.rb +0 -35
  369. data/lib/google/ads/google_ads/v0/enums/keyword_match_type_pb.rb +0 -21
  370. data/lib/google/ads/google_ads/v0/enums/keyword_plan_competition_level_pb.rb +0 -21
  371. data/lib/google/ads/google_ads/v0/enums/keyword_plan_forecast_interval_pb.rb +0 -21
  372. data/lib/google/ads/google_ads/v0/enums/keyword_plan_network_pb.rb +0 -20
  373. data/lib/google/ads/google_ads/v0/enums/listing_custom_attribute_index_pb.rb +0 -23
  374. data/lib/google/ads/google_ads/v0/enums/listing_group_type_pb.rb +0 -20
  375. data/lib/google/ads/google_ads/v0/enums/local_placeholder_field_pb.rb +0 -37
  376. data/lib/google/ads/google_ads/v0/enums/manager_link_status_pb.rb +0 -23
  377. data/lib/google/ads/google_ads/v0/enums/media_type_pb.rb +0 -24
  378. data/lib/google/ads/google_ads/v0/enums/message_placeholder_field_pb.rb +0 -23
  379. data/lib/google/ads/google_ads/v0/enums/mime_type_pb.rb +0 -30
  380. data/lib/google/ads/google_ads/v0/enums/minute_of_hour_pb.rb +0 -22
  381. data/lib/google/ads/google_ads/v0/enums/mobile_device_type_pb.rb +0 -20
  382. data/lib/google/ads/google_ads/v0/enums/month_of_year_pb.rb +0 -30
  383. data/lib/google/ads/google_ads/v0/enums/operating_system_version_operator_type_pb.rb +0 -20
  384. data/lib/google/ads/google_ads/v0/enums/page_one_promoted_strategy_goal_pb.rb +0 -20
  385. data/lib/google/ads/google_ads/v0/enums/parental_status_type_pb.rb +0 -21
  386. data/lib/google/ads/google_ads/v0/enums/placeholder_type_pb.rb +0 -37
  387. data/lib/google/ads/google_ads/v0/enums/policy_approval_status_pb.rb +0 -22
  388. data/lib/google/ads/google_ads/v0/enums/policy_review_status_pb.rb +0 -21
  389. data/lib/google/ads/google_ads/v0/enums/policy_topic_entry_type_pb.rb +0 -23
  390. data/lib/google/ads/google_ads/v0/enums/policy_topic_evidence_destination_mismatch_url_type_pb.rb +0 -23
  391. data/lib/google/ads/google_ads/v0/enums/preferred_content_type_pb.rb +0 -19
  392. data/lib/google/ads/google_ads/v0/enums/price_placeholder_field_pb.rb +0 -71
  393. data/lib/google/ads/google_ads/v0/enums/product_channel_exclusivity_pb.rb +0 -20
  394. data/lib/google/ads/google_ads/v0/enums/product_channel_pb.rb +0 -20
  395. data/lib/google/ads/google_ads/v0/enums/product_condition_pb.rb +0 -21
  396. data/lib/google/ads/google_ads/v0/enums/product_type_level_pb.rb +0 -23
  397. data/lib/google/ads/google_ads/v0/enums/promotion_placeholder_field_pb.rb +0 -32
  398. data/lib/google/ads/google_ads/v0/enums/proximity_radius_units_pb.rb +0 -20
  399. data/lib/google/ads/google_ads/v0/enums/quality_score_bucket_pb.rb +0 -21
  400. data/lib/google/ads/google_ads/v0/enums/real_estate_placeholder_field_pb.rb +0 -36
  401. data/lib/google/ads/google_ads/v0/enums/recommendation_type_pb.rb +0 -27
  402. data/lib/google/ads/google_ads/v0/enums/search_term_match_type_pb.rb +0 -23
  403. data/lib/google/ads/google_ads/v0/enums/search_term_targeting_status_pb.rb +0 -22
  404. data/lib/google/ads/google_ads/v0/enums/shared_set_status_pb.rb +0 -20
  405. data/lib/google/ads/google_ads/v0/enums/shared_set_type_pb.rb +0 -20
  406. data/lib/google/ads/google_ads/v0/enums/sitelink_placeholder_field_pb.rb +0 -25
  407. data/lib/google/ads/google_ads/v0/enums/slot_pb.rb +0 -25
  408. data/lib/google/ads/google_ads/v0/enums/spending_limit_type_pb.rb +0 -19
  409. data/lib/google/ads/google_ads/v0/enums/structured_snippet_placeholder_field_pb.rb +0 -20
  410. data/lib/google/ads/google_ads/v0/enums/target_cpa_opt_in_recommendation_goal_pb.rb +0 -22
  411. data/lib/google/ads/google_ads/v0/enums/targeting_dimension_pb.rb +0 -26
  412. data/lib/google/ads/google_ads/v0/enums/time_type_pb.rb +0 -20
  413. data/lib/google/ads/google_ads/v0/enums/tracking_code_page_format_pb.rb +0 -20
  414. data/lib/google/ads/google_ads/v0/enums/tracking_code_type_pb.rb +0 -21
  415. data/lib/google/ads/google_ads/v0/enums/travel_placeholder_field_pb.rb +0 -38
  416. data/lib/google/ads/google_ads/v0/enums/user_interest_taxonomy_type_pb.rb +0 -23
  417. data/lib/google/ads/google_ads/v0/enums/user_list_access_status_pb.rb +0 -20
  418. data/lib/google/ads/google_ads/v0/enums/user_list_closing_reason_pb.rb +0 -19
  419. data/lib/google/ads/google_ads/v0/enums/user_list_combined_rule_operator_pb.rb +0 -20
  420. data/lib/google/ads/google_ads/v0/enums/user_list_crm_data_source_type_pb.rb +0 -21
  421. data/lib/google/ads/google_ads/v0/enums/user_list_date_rule_item_operator_pb.rb +0 -22
  422. data/lib/google/ads/google_ads/v0/enums/user_list_logical_rule_operator_pb.rb +0 -21
  423. data/lib/google/ads/google_ads/v0/enums/user_list_membership_status_pb.rb +0 -20
  424. data/lib/google/ads/google_ads/v0/enums/user_list_number_rule_item_operator_pb.rb +0 -24
  425. data/lib/google/ads/google_ads/v0/enums/user_list_prepopulation_status_pb.rb +0 -21
  426. data/lib/google/ads/google_ads/v0/enums/user_list_rule_type_pb.rb +0 -20
  427. data/lib/google/ads/google_ads/v0/enums/user_list_size_range_pb.rb +0 -34
  428. data/lib/google/ads/google_ads/v0/enums/user_list_string_rule_item_operator_pb.rb +0 -26
  429. data/lib/google/ads/google_ads/v0/enums/user_list_type_pb.rb +0 -24
  430. data/lib/google/ads/google_ads/v0/enums/vanity_pharma_display_url_mode_pb.rb +0 -20
  431. data/lib/google/ads/google_ads/v0/enums/vanity_pharma_text_pb.rb +0 -30
  432. data/lib/google/ads/google_ads/v0/enums/webpage_condition_operand_pb.rb +0 -23
  433. data/lib/google/ads/google_ads/v0/enums/webpage_condition_operator_pb.rb +0 -20
  434. data/lib/google/ads/google_ads/v0/errors/account_budget_proposal_error_pb.rb +0 -40
  435. data/lib/google/ads/google_ads/v0/errors/ad_customizer_error_pb.rb +0 -23
  436. data/lib/google/ads/google_ads/v0/errors/ad_error_pb.rb +0 -147
  437. data/lib/google/ads/google_ads/v0/errors/ad_group_ad_error_pb.rb +0 -26
  438. data/lib/google/ads/google_ads/v0/errors/ad_group_bid_modifier_error_pb.rb +0 -20
  439. data/lib/google/ads/google_ads/v0/errors/ad_group_criterion_error_pb.rb +0 -55
  440. data/lib/google/ads/google_ads/v0/errors/ad_group_error_pb.rb +0 -30
  441. data/lib/google/ads/google_ads/v0/errors/ad_group_feed_error_pb.rb +0 -25
  442. data/lib/google/ads/google_ads/v0/errors/ad_parameter_error_pb.rb +0 -20
  443. data/lib/google/ads/google_ads/v0/errors/ad_sharing_error_pb.rb +0 -21
  444. data/lib/google/ads/google_ads/v0/errors/adx_error_pb.rb +0 -19
  445. data/lib/google/ads/google_ads/v0/errors/authentication_error_pb.rb +0 -36
  446. data/lib/google/ads/google_ads/v0/errors/authorization_error_pb.rb +0 -25
  447. data/lib/google/ads/google_ads/v0/errors/bidding_error_pb.rb +0 -39
  448. data/lib/google/ads/google_ads/v0/errors/bidding_strategy_error_pb.rb +0 -22
  449. data/lib/google/ads/google_ads/v0/errors/billing_setup_error_pb.rb +0 -33
  450. data/lib/google/ads/google_ads/v0/errors/campaign_budget_error_pb.rb +0 -33
  451. data/lib/google/ads/google_ads/v0/errors/campaign_criterion_error_pb.rb +0 -29
  452. data/lib/google/ads/google_ads/v0/errors/campaign_error_pb.rb +0 -54
  453. data/lib/google/ads/google_ads/v0/errors/campaign_feed_error_pb.rb +0 -24
  454. data/lib/google/ads/google_ads/v0/errors/campaign_shared_set_error_pb.rb +0 -19
  455. data/lib/google/ads/google_ads/v0/errors/change_status_error_pb.rb +0 -19
  456. data/lib/google/ads/google_ads/v0/errors/collection_size_error_pb.rb +0 -20
  457. data/lib/google/ads/google_ads/v0/errors/context_error_pb.rb +0 -20
  458. data/lib/google/ads/google_ads/v0/errors/conversion_action_error_pb.rb +0 -26
  459. data/lib/google/ads/google_ads/v0/errors/criterion_error_pb.rb +0 -112
  460. data/lib/google/ads/google_ads/v0/errors/customer_client_link_error_pb.rb +0 -25
  461. data/lib/google/ads/google_ads/v0/errors/customer_error_pb.rb +0 -20
  462. data/lib/google/ads/google_ads/v0/errors/customer_feed_error_pb.rb +0 -25
  463. data/lib/google/ads/google_ads/v0/errors/customer_manager_link_error_pb.rb +0 -26
  464. data/lib/google/ads/google_ads/v0/errors/database_error_pb.rb +0 -19
  465. data/lib/google/ads/google_ads/v0/errors/date_error_pb.rb +0 -27
  466. data/lib/google/ads/google_ads/v0/errors/date_range_error_pb.rb +0 -23
  467. data/lib/google/ads/google_ads/v0/errors/distinct_error_pb.rb +0 -20
  468. data/lib/google/ads/google_ads/v0/errors/enum_error_pb.rb +0 -19
  469. data/lib/google/ads/google_ads/v0/errors/errors_pb.rb +0 -222
  470. data/lib/google/ads/google_ads/v0/errors/extension_setting_error_pb.rb +0 -81
  471. data/lib/google/ads/google_ads/v0/errors/feed_attribute_reference_error_pb.rb +0 -21
  472. data/lib/google/ads/google_ads/v0/errors/feed_error_pb.rb +0 -37
  473. data/lib/google/ads/google_ads/v0/errors/feed_item_error_pb.rb +0 -27
  474. data/lib/google/ads/google_ads/v0/errors/feed_item_validation_error_pb.rb +0 -107
  475. data/lib/google/ads/google_ads/v0/errors/feed_mapping_error_pb.rb +0 -34
  476. data/lib/google/ads/google_ads/v0/errors/field_error_pb.rb +0 -24
  477. data/lib/google/ads/google_ads/v0/errors/field_mask_error_pb.rb +0 -22
  478. data/lib/google/ads/google_ads/v0/errors/function_error_pb.rb +0 -34
  479. data/lib/google/ads/google_ads/v0/errors/function_parsing_error_pb.rb +0 -29
  480. data/lib/google/ads/google_ads/v0/errors/geo_target_constant_suggestion_error_pb.rb +0 -22
  481. data/lib/google/ads/google_ads/v0/errors/header_error_pb.rb +0 -19
  482. data/lib/google/ads/google_ads/v0/errors/id_error_pb.rb +0 -19
  483. data/lib/google/ads/google_ads/v0/errors/image_error_pb.rb +0 -55
  484. data/lib/google/ads/google_ads/v0/errors/internal_error_pb.rb +0 -21
  485. data/lib/google/ads/google_ads/v0/errors/keyword_plan_ad_group_error_pb.rb +0 -20
  486. data/lib/google/ads/google_ads/v0/errors/keyword_plan_campaign_error_pb.rb +0 -23
  487. data/lib/google/ads/google_ads/v0/errors/keyword_plan_error_pb.rb +0 -32
  488. data/lib/google/ads/google_ads/v0/errors/keyword_plan_idea_error_pb.rb +0 -20
  489. data/lib/google/ads/google_ads/v0/errors/keyword_plan_keyword_error_pb.rb +0 -24
  490. data/lib/google/ads/google_ads/v0/errors/keyword_plan_negative_keyword_error_pb.rb +0 -18
  491. data/lib/google/ads/google_ads/v0/errors/list_operation_error_pb.rb +0 -20
  492. data/lib/google/ads/google_ads/v0/errors/media_bundle_error_pb.rb +0 -40
  493. data/lib/google/ads/google_ads/v0/errors/media_file_error_pb.rb +0 -41
  494. data/lib/google/ads/google_ads/v0/errors/multiplier_error_pb.rb +0 -30
  495. data/lib/google/ads/google_ads/v0/errors/mutate_error_pb.rb +0 -23
  496. data/lib/google/ads/google_ads/v0/errors/new_resource_creation_error_pb.rb +0 -21
  497. data/lib/google/ads/google_ads/v0/errors/not_empty_error_pb.rb +0 -19
  498. data/lib/google/ads/google_ads/v0/errors/null_error_pb.rb +0 -19
  499. data/lib/google/ads/google_ads/v0/errors/operation_access_denied_error_pb.rb +0 -28
  500. data/lib/google/ads/google_ads/v0/errors/operator_error_pb.rb +0 -19
  501. data/lib/google/ads/google_ads/v0/errors/policy_finding_error_pb.rb +0 -20
  502. data/lib/google/ads/google_ads/v0/errors/policy_violation_error_pb.rb +0 -19
  503. data/lib/google/ads/google_ads/v0/errors/query_error_pb.rb +0 -68
  504. data/lib/google/ads/google_ads/v0/errors/quota_error_pb.rb +0 -21
  505. data/lib/google/ads/google_ads/v0/errors/range_error_pb.rb +0 -20
  506. data/lib/google/ads/google_ads/v0/errors/recommendation_error_pb.rb +0 -31
  507. data/lib/google/ads/google_ads/v0/errors/region_code_error_pb.rb +0 -19
  508. data/lib/google/ads/google_ads/v0/errors/request_error_pb.rb +0 -35
  509. data/lib/google/ads/google_ads/v0/errors/resource_access_denied_error_pb.rb +0 -19
  510. data/lib/google/ads/google_ads/v0/errors/resource_count_limit_exceeded_error_pb.rb +0 -26
  511. data/lib/google/ads/google_ads/v0/errors/setting_error_pb.rb +0 -35
  512. data/lib/google/ads/google_ads/v0/errors/shared_criterion_error_pb.rb +0 -19
  513. data/lib/google/ads/google_ads/v0/errors/shared_set_error_pb.rb +0 -22
  514. data/lib/google/ads/google_ads/v0/errors/string_format_error_pb.rb +0 -20
  515. data/lib/google/ads/google_ads/v0/errors/string_length_error_pb.rb +0 -20
  516. data/lib/google/ads/google_ads/v0/errors/url_field_error_pb.rb +0 -69
  517. data/lib/google/ads/google_ads/v0/errors/user_list_error_pb.rb +0 -44
  518. data/lib/google/ads/google_ads/v0/resources/account_budget_pb.rb +0 -68
  519. data/lib/google/ads/google_ads/v0/resources/account_budget_proposal_pb.rb +0 -50
  520. data/lib/google/ads/google_ads/v0/resources/ad_group_ad_pb.rb +0 -30
  521. data/lib/google/ads/google_ads/v0/resources/ad_group_audience_view_pb.rb +0 -14
  522. data/lib/google/ads/google_ads/v0/resources/ad_group_bid_modifier_pb.rb +0 -30
  523. data/lib/google/ads/google_ads/v0/resources/ad_group_criterion_pb.rb +0 -76
  524. data/lib/google/ads/google_ads/v0/resources/ad_group_feed_pb.rb +0 -23
  525. data/lib/google/ads/google_ads/v0/resources/ad_group_pb.rb +0 -46
  526. data/lib/google/ads/google_ads/v0/resources/ad_parameter_pb.rb +0 -18
  527. data/lib/google/ads/google_ads/v0/resources/ad_pb.rb +0 -42
  528. data/lib/google/ads/google_ads/v0/resources/ad_schedule_view_pb.rb +0 -14
  529. data/lib/google/ads/google_ads/v0/resources/age_range_view_pb.rb +0 -14
  530. data/lib/google/ads/google_ads/v0/resources/bidding_strategy_pb.rb +0 -28
  531. data/lib/google/ads/google_ads/v0/resources/billing_setup_pb.rb +0 -37
  532. data/lib/google/ads/google_ads/v0/resources/campaign_audience_view_pb.rb +0 -14
  533. data/lib/google/ads/google_ads/v0/resources/campaign_bid_modifier_pb.rb +0 -22
  534. data/lib/google/ads/google_ads/v0/resources/campaign_budget_pb.rb +0 -33
  535. data/lib/google/ads/google_ads/v0/resources/campaign_criterion_pb.rb +0 -47
  536. data/lib/google/ads/google_ads/v0/resources/campaign_feed_pb.rb +0 -23
  537. data/lib/google/ads/google_ads/v0/resources/campaign_pb.rb +0 -105
  538. data/lib/google/ads/google_ads/v0/resources/campaign_shared_set_pb.rb +0 -19
  539. data/lib/google/ads/google_ads/v0/resources/carrier_constant_pb.rb +0 -18
  540. data/lib/google/ads/google_ads/v0/resources/change_status_pb.rb +0 -27
  541. data/lib/google/ads/google_ads/v0/resources/conversion_action_pb.rb +0 -48
  542. data/lib/google/ads/google_ads/v0/resources/customer_client_link_pb.rb +0 -20
  543. data/lib/google/ads/google_ads/v0/resources/customer_client_pb.rb +0 -18
  544. data/lib/google/ads/google_ads/v0/resources/customer_feed_pb.rb +0 -22
  545. data/lib/google/ads/google_ads/v0/resources/customer_manager_link_pb.rb +0 -19
  546. data/lib/google/ads/google_ads/v0/resources/customer_pb.rb +0 -38
  547. data/lib/google/ads/google_ads/v0/resources/display_keyword_view_pb.rb +0 -14
  548. data/lib/google/ads/google_ads/v0/resources/feed_item_pb.rb +0 -67
  549. data/lib/google/ads/google_ads/v0/resources/feed_mapping_pb.rb +0 -66
  550. data/lib/google/ads/google_ads/v0/resources/feed_pb.rb +0 -67
  551. data/lib/google/ads/google_ads/v0/resources/gender_view_pb.rb +0 -14
  552. data/lib/google/ads/google_ads/v0/resources/geo_target_constant_pb.rb +0 -22
  553. data/lib/google/ads/google_ads/v0/resources/google_ads_field_pb.rb +0 -30
  554. data/lib/google/ads/google_ads/v0/resources/hotel_group_view_pb.rb +0 -14
  555. data/lib/google/ads/google_ads/v0/resources/hotel_performance_view_pb.rb +0 -14
  556. data/lib/google/ads/google_ads/v0/resources/keyword_plan_ad_group_pb.rb +0 -19
  557. data/lib/google/ads/google_ads/v0/resources/keyword_plan_campaign_pb.rb +0 -27
  558. data/lib/google/ads/google_ads/v0/resources/keyword_plan_keyword_pb.rb +0 -21
  559. data/lib/google/ads/google_ads/v0/resources/keyword_plan_negative_keyword_pb.rb +0 -20
  560. data/lib/google/ads/google_ads/v0/resources/keyword_plan_pb.rb +0 -27
  561. data/lib/google/ads/google_ads/v0/resources/keyword_view_pb.rb +0 -14
  562. data/lib/google/ads/google_ads/v0/resources/language_constant_pb.rb +0 -18
  563. data/lib/google/ads/google_ads/v0/resources/managed_placement_view_pb.rb +0 -14
  564. data/lib/google/ads/google_ads/v0/resources/media_file_pb.rb +0 -48
  565. data/lib/google/ads/google_ads/v0/resources/mobile_app_category_constant_pb.rb +0 -17
  566. data/lib/google/ads/google_ads/v0/resources/mobile_device_constant_pb.rb +0 -21
  567. data/lib/google/ads/google_ads/v0/resources/operating_system_version_constant_pb.rb +0 -21
  568. data/lib/google/ads/google_ads/v0/resources/parental_status_view_pb.rb +0 -14
  569. data/lib/google/ads/google_ads/v0/resources/payments_account_pb.rb +0 -20
  570. data/lib/google/ads/google_ads/v0/resources/product_group_view_pb.rb +0 -14
  571. data/lib/google/ads/google_ads/v0/resources/recommendation_pb.rb +0 -100
  572. data/lib/google/ads/google_ads/v0/resources/remarketing_action_pb.rb +0 -19
  573. data/lib/google/ads/google_ads/v0/resources/search_term_view_pb.rb +0 -19
  574. data/lib/google/ads/google_ads/v0/resources/shared_criterion_pb.rb +0 -27
  575. data/lib/google/ads/google_ads/v0/resources/shared_set_pb.rb +0 -23
  576. data/lib/google/ads/google_ads/v0/resources/topic_constant_pb.rb +0 -18
  577. data/lib/google/ads/google_ads/v0/resources/topic_view_pb.rb +0 -14
  578. data/lib/google/ads/google_ads/v0/resources/user_interest_pb.rb +0 -23
  579. data/lib/google/ads/google_ads/v0/resources/user_list_pb.rb +0 -46
  580. data/lib/google/ads/google_ads/v0/resources/video_pb.rb +0 -19
  581. data/lib/google/ads/google_ads/v0/services/account_budget_proposal_service_client.rb +0 -280
  582. data/lib/google/ads/google_ads/v0/services/account_budget_proposal_service_client_config.json +0 -36
  583. data/lib/google/ads/google_ads/v0/services/account_budget_proposal_service_pb.rb +0 -38
  584. data/lib/google/ads/google_ads/v0/services/account_budget_proposal_service_services_pb.rb +0 -55
  585. data/lib/google/ads/google_ads/v0/services/account_budget_service_pb.rb +0 -16
  586. data/lib/google/ads/google_ads/v0/services/ad_group_ad_service_client.rb +0 -279
  587. data/lib/google/ads/google_ads/v0/services/ad_group_ad_service_client_config.json +0 -36
  588. data/lib/google/ads/google_ads/v0/services/ad_group_ad_service_pb.rb +0 -46
  589. data/lib/google/ads/google_ads/v0/services/ad_group_audience_view_service_client.rb +0 -221
  590. data/lib/google/ads/google_ads/v0/services/ad_group_audience_view_service_pb.rb +0 -16
  591. data/lib/google/ads/google_ads/v0/services/ad_group_bid_modifier_service_client.rb +0 -280
  592. data/lib/google/ads/google_ads/v0/services/ad_group_bid_modifier_service_client_config.json +0 -36
  593. data/lib/google/ads/google_ads/v0/services/ad_group_bid_modifier_service_pb.rb +0 -44
  594. data/lib/google/ads/google_ads/v0/services/ad_group_bid_modifier_service_services_pb.rb +0 -43
  595. data/lib/google/ads/google_ads/v0/services/ad_group_criterion_service_client.rb +0 -279
  596. data/lib/google/ads/google_ads/v0/services/ad_group_criterion_service_client_config.json +0 -36
  597. data/lib/google/ads/google_ads/v0/services/ad_group_criterion_service_pb.rb +0 -44
  598. data/lib/google/ads/google_ads/v0/services/ad_group_feed_service_client.rb +0 -280
  599. data/lib/google/ads/google_ads/v0/services/ad_group_feed_service_client_config.json +0 -36
  600. data/lib/google/ads/google_ads/v0/services/ad_group_feed_service_pb.rb +0 -44
  601. data/lib/google/ads/google_ads/v0/services/ad_group_feed_service_services_pb.rb +0 -43
  602. data/lib/google/ads/google_ads/v0/services/ad_group_service_client.rb +0 -279
  603. data/lib/google/ads/google_ads/v0/services/ad_group_service_client_config.json +0 -36
  604. data/lib/google/ads/google_ads/v0/services/ad_group_service_pb.rb +0 -44
  605. data/lib/google/ads/google_ads/v0/services/ad_group_service_services_pb.rb +0 -42
  606. data/lib/google/ads/google_ads/v0/services/ad_parameter_service_client.rb +0 -280
  607. data/lib/google/ads/google_ads/v0/services/ad_parameter_service_client_config.json +0 -36
  608. data/lib/google/ads/google_ads/v0/services/ad_parameter_service_pb.rb +0 -44
  609. data/lib/google/ads/google_ads/v0/services/ad_parameter_service_services_pb.rb +0 -43
  610. data/lib/google/ads/google_ads/v0/services/ad_schedule_view_service_client.rb +0 -221
  611. data/lib/google/ads/google_ads/v0/services/ad_schedule_view_service_pb.rb +0 -16
  612. data/lib/google/ads/google_ads/v0/services/ad_schedule_view_service_services_pb.rb +0 -40
  613. data/lib/google/ads/google_ads/v0/services/age_range_view_service_pb.rb +0 -16
  614. data/lib/google/ads/google_ads/v0/services/age_range_view_service_services_pb.rb +0 -40
  615. data/lib/google/ads/google_ads/v0/services/bidding_strategy_service_client.rb +0 -280
  616. data/lib/google/ads/google_ads/v0/services/bidding_strategy_service_client_config.json +0 -36
  617. data/lib/google/ads/google_ads/v0/services/bidding_strategy_service_pb.rb +0 -44
  618. data/lib/google/ads/google_ads/v0/services/bidding_strategy_service_services_pb.rb +0 -43
  619. data/lib/google/ads/google_ads/v0/services/billing_setup_service_client.rb +0 -275
  620. data/lib/google/ads/google_ads/v0/services/billing_setup_service_client_config.json +0 -36
  621. data/lib/google/ads/google_ads/v0/services/billing_setup_service_pb.rb +0 -36
  622. data/lib/google/ads/google_ads/v0/services/billing_setup_service_services_pb.rb +0 -50
  623. data/lib/google/ads/google_ads/v0/services/campaign_audience_view_service_client.rb +0 -221
  624. data/lib/google/ads/google_ads/v0/services/campaign_audience_view_service_client_config.json +0 -31
  625. data/lib/google/ads/google_ads/v0/services/campaign_audience_view_service_pb.rb +0 -16
  626. data/lib/google/ads/google_ads/v0/services/campaign_audience_view_service_services_pb.rb +0 -40
  627. data/lib/google/ads/google_ads/v0/services/campaign_bid_modifier_service_client.rb +0 -280
  628. data/lib/google/ads/google_ads/v0/services/campaign_bid_modifier_service_client_config.json +0 -36
  629. data/lib/google/ads/google_ads/v0/services/campaign_bid_modifier_service_pb.rb +0 -44
  630. data/lib/google/ads/google_ads/v0/services/campaign_bid_modifier_service_services_pb.rb +0 -43
  631. data/lib/google/ads/google_ads/v0/services/campaign_budget_service_client.rb +0 -280
  632. data/lib/google/ads/google_ads/v0/services/campaign_budget_service_client_config.json +0 -36
  633. data/lib/google/ads/google_ads/v0/services/campaign_budget_service_pb.rb +0 -44
  634. data/lib/google/ads/google_ads/v0/services/campaign_budget_service_services_pb.rb +0 -43
  635. data/lib/google/ads/google_ads/v0/services/campaign_criterion_service_client.rb +0 -279
  636. data/lib/google/ads/google_ads/v0/services/campaign_criterion_service_client_config.json +0 -36
  637. data/lib/google/ads/google_ads/v0/services/campaign_criterion_service_pb.rb +0 -44
  638. data/lib/google/ads/google_ads/v0/services/campaign_criterion_service_services_pb.rb +0 -42
  639. data/lib/google/ads/google_ads/v0/services/campaign_feed_service_client.rb +0 -280
  640. data/lib/google/ads/google_ads/v0/services/campaign_feed_service_client_config.json +0 -36
  641. data/lib/google/ads/google_ads/v0/services/campaign_feed_service_pb.rb +0 -44
  642. data/lib/google/ads/google_ads/v0/services/campaign_feed_service_services_pb.rb +0 -43
  643. data/lib/google/ads/google_ads/v0/services/campaign_service_client.rb +0 -279
  644. data/lib/google/ads/google_ads/v0/services/campaign_service_client_config.json +0 -36
  645. data/lib/google/ads/google_ads/v0/services/campaign_service_pb.rb +0 -44
  646. data/lib/google/ads/google_ads/v0/services/campaign_service_services_pb.rb +0 -42
  647. data/lib/google/ads/google_ads/v0/services/campaign_shared_set_service_client.rb +0 -279
  648. data/lib/google/ads/google_ads/v0/services/campaign_shared_set_service_client_config.json +0 -36
  649. data/lib/google/ads/google_ads/v0/services/campaign_shared_set_service_pb.rb +0 -41
  650. data/lib/google/ads/google_ads/v0/services/campaign_shared_set_service_services_pb.rb +0 -42
  651. data/lib/google/ads/google_ads/v0/services/carrier_constant_service_client.rb +0 -219
  652. data/lib/google/ads/google_ads/v0/services/carrier_constant_service_pb.rb +0 -16
  653. data/lib/google/ads/google_ads/v0/services/carrier_constant_service_services_pb.rb +0 -40
  654. data/lib/google/ads/google_ads/v0/services/change_status_service_client_config.json +0 -31
  655. data/lib/google/ads/google_ads/v0/services/change_status_service_pb.rb +0 -16
  656. data/lib/google/ads/google_ads/v0/services/change_status_service_services_pb.rb +0 -40
  657. data/lib/google/ads/google_ads/v0/services/conversion_action_service_client.rb +0 -280
  658. data/lib/google/ads/google_ads/v0/services/conversion_action_service_client_config.json +0 -36
  659. data/lib/google/ads/google_ads/v0/services/conversion_action_service_pb.rb +0 -44
  660. data/lib/google/ads/google_ads/v0/services/conversion_action_service_services_pb.rb +0 -43
  661. data/lib/google/ads/google_ads/v0/services/credentials.rb +0 -41
  662. data/lib/google/ads/google_ads/v0/services/customer_client_link_service_client.rb +0 -267
  663. data/lib/google/ads/google_ads/v0/services/customer_client_link_service_client_config.json +0 -36
  664. data/lib/google/ads/google_ads/v0/services/customer_client_link_service_pb.rb +0 -39
  665. data/lib/google/ads/google_ads/v0/services/customer_client_link_service_services_pb.rb +0 -42
  666. data/lib/google/ads/google_ads/v0/services/customer_client_service_client_config.json +0 -31
  667. data/lib/google/ads/google_ads/v0/services/customer_client_service_pb.rb +0 -16
  668. data/lib/google/ads/google_ads/v0/services/customer_client_service_services_pb.rb +0 -40
  669. data/lib/google/ads/google_ads/v0/services/customer_feed_service_client.rb +0 -280
  670. data/lib/google/ads/google_ads/v0/services/customer_feed_service_client_config.json +0 -36
  671. data/lib/google/ads/google_ads/v0/services/customer_feed_service_pb.rb +0 -44
  672. data/lib/google/ads/google_ads/v0/services/customer_feed_service_services_pb.rb +0 -43
  673. data/lib/google/ads/google_ads/v0/services/customer_manager_link_service_client.rb +0 -267
  674. data/lib/google/ads/google_ads/v0/services/customer_manager_link_service_client_config.json +0 -36
  675. data/lib/google/ads/google_ads/v0/services/customer_manager_link_service_pb.rb +0 -37
  676. data/lib/google/ads/google_ads/v0/services/customer_manager_link_service_services_pb.rb +0 -42
  677. data/lib/google/ads/google_ads/v0/services/customer_service_client.rb +0 -344
  678. data/lib/google/ads/google_ads/v0/services/customer_service_client_config.json +0 -46
  679. data/lib/google/ads/google_ads/v0/services/customer_service_pb.rb +0 -53
  680. data/lib/google/ads/google_ads/v0/services/customer_service_services_pb.rb +0 -47
  681. data/lib/google/ads/google_ads/v0/services/display_keyword_view_service_client.rb +0 -221
  682. data/lib/google/ads/google_ads/v0/services/display_keyword_view_service_client_config.json +0 -31
  683. data/lib/google/ads/google_ads/v0/services/display_keyword_view_service_pb.rb +0 -16
  684. data/lib/google/ads/google_ads/v0/services/display_keyword_view_service_services_pb.rb +0 -40
  685. data/lib/google/ads/google_ads/v0/services/feed_item_service_client.rb +0 -280
  686. data/lib/google/ads/google_ads/v0/services/feed_item_service_client_config.json +0 -36
  687. data/lib/google/ads/google_ads/v0/services/feed_item_service_pb.rb +0 -44
  688. data/lib/google/ads/google_ads/v0/services/feed_item_service_services_pb.rb +0 -43
  689. data/lib/google/ads/google_ads/v0/services/feed_mapping_service_client.rb +0 -280
  690. data/lib/google/ads/google_ads/v0/services/feed_mapping_service_client_config.json +0 -36
  691. data/lib/google/ads/google_ads/v0/services/feed_mapping_service_pb.rb +0 -41
  692. data/lib/google/ads/google_ads/v0/services/feed_mapping_service_services_pb.rb +0 -43
  693. data/lib/google/ads/google_ads/v0/services/feed_service_client.rb +0 -280
  694. data/lib/google/ads/google_ads/v0/services/feed_service_client_config.json +0 -36
  695. data/lib/google/ads/google_ads/v0/services/feed_service_pb.rb +0 -44
  696. data/lib/google/ads/google_ads/v0/services/feed_service_services_pb.rb +0 -43
  697. data/lib/google/ads/google_ads/v0/services/gender_view_service_client.rb +0 -221
  698. data/lib/google/ads/google_ads/v0/services/gender_view_service_client_config.json +0 -31
  699. data/lib/google/ads/google_ads/v0/services/gender_view_service_pb.rb +0 -16
  700. data/lib/google/ads/google_ads/v0/services/gender_view_service_services_pb.rb +0 -40
  701. data/lib/google/ads/google_ads/v0/services/geo_target_constant_service_client.rb +0 -281
  702. data/lib/google/ads/google_ads/v0/services/geo_target_constant_service_client_config.json +0 -36
  703. data/lib/google/ads/google_ads/v0/services/geo_target_constant_service_pb.rb +0 -46
  704. data/lib/google/ads/google_ads/v0/services/geo_target_constant_service_services_pb.rb +0 -42
  705. data/lib/google/ads/google_ads/v0/services/google_ads_field_service_client.rb +0 -290
  706. data/lib/google/ads/google_ads/v0/services/google_ads_field_service_client_config.json +0 -36
  707. data/lib/google/ads/google_ads/v0/services/google_ads_field_service_pb.rb +0 -28
  708. data/lib/google/ads/google_ads/v0/services/google_ads_field_service_services_pb.rb +0 -42
  709. data/lib/google/ads/google_ads/v0/services/google_ads_service_client.rb +0 -309
  710. data/lib/google/ads/google_ads/v0/services/google_ads_service_client_config.json +0 -36
  711. data/lib/google/ads/google_ads/v0/services/google_ads_service_pb.rb +0 -217
  712. data/lib/google/ads/google_ads/v0/services/google_ads_service_services_pb.rb +0 -42
  713. data/lib/google/ads/google_ads/v0/services/hotel_group_view_service_client.rb +0 -221
  714. data/lib/google/ads/google_ads/v0/services/hotel_group_view_service_client_config.json +0 -31
  715. data/lib/google/ads/google_ads/v0/services/hotel_group_view_service_pb.rb +0 -16
  716. data/lib/google/ads/google_ads/v0/services/hotel_group_view_service_services_pb.rb +0 -40
  717. data/lib/google/ads/google_ads/v0/services/hotel_performance_view_service_client.rb +0 -234
  718. data/lib/google/ads/google_ads/v0/services/hotel_performance_view_service_client_config.json +0 -31
  719. data/lib/google/ads/google_ads/v0/services/hotel_performance_view_service_pb.rb +0 -16
  720. data/lib/google/ads/google_ads/v0/services/hotel_performance_view_service_services_pb.rb +0 -40
  721. data/lib/google/ads/google_ads/v0/services/keyword_plan_ad_group_service_client.rb +0 -280
  722. data/lib/google/ads/google_ads/v0/services/keyword_plan_ad_group_service_client_config.json +0 -36
  723. data/lib/google/ads/google_ads/v0/services/keyword_plan_ad_group_service_pb.rb +0 -44
  724. data/lib/google/ads/google_ads/v0/services/keyword_plan_ad_group_service_services_pb.rb +0 -43
  725. data/lib/google/ads/google_ads/v0/services/keyword_plan_campaign_service_client.rb +0 -280
  726. data/lib/google/ads/google_ads/v0/services/keyword_plan_campaign_service_client_config.json +0 -36
  727. data/lib/google/ads/google_ads/v0/services/keyword_plan_campaign_service_pb.rb +0 -44
  728. data/lib/google/ads/google_ads/v0/services/keyword_plan_campaign_service_services_pb.rb +0 -43
  729. data/lib/google/ads/google_ads/v0/services/keyword_plan_idea_service_client.rb +0 -252
  730. data/lib/google/ads/google_ads/v0/services/keyword_plan_idea_service_client_config.json +0 -31
  731. data/lib/google/ads/google_ads/v0/services/keyword_plan_idea_service_pb.rb +0 -48
  732. data/lib/google/ads/google_ads/v0/services/keyword_plan_keyword_service_client.rb +0 -280
  733. data/lib/google/ads/google_ads/v0/services/keyword_plan_keyword_service_client_config.json +0 -36
  734. data/lib/google/ads/google_ads/v0/services/keyword_plan_keyword_service_pb.rb +0 -44
  735. data/lib/google/ads/google_ads/v0/services/keyword_plan_keyword_service_services_pb.rb +0 -43
  736. data/lib/google/ads/google_ads/v0/services/keyword_plan_negative_keyword_service_client.rb +0 -281
  737. data/lib/google/ads/google_ads/v0/services/keyword_plan_negative_keyword_service_client_config.json +0 -36
  738. data/lib/google/ads/google_ads/v0/services/keyword_plan_negative_keyword_service_pb.rb +0 -44
  739. data/lib/google/ads/google_ads/v0/services/keyword_plan_negative_keyword_service_services_pb.rb +0 -43
  740. data/lib/google/ads/google_ads/v0/services/keyword_plan_service_client.rb +0 -351
  741. data/lib/google/ads/google_ads/v0/services/keyword_plan_service_client_config.json +0 -46
  742. data/lib/google/ads/google_ads/v0/services/keyword_plan_service_pb.rb +0 -91
  743. data/lib/google/ads/google_ads/v0/services/keyword_plan_service_services_pb.rb +0 -47
  744. data/lib/google/ads/google_ads/v0/services/keyword_view_service_client.rb +0 -221
  745. data/lib/google/ads/google_ads/v0/services/keyword_view_service_client_config.json +0 -31
  746. data/lib/google/ads/google_ads/v0/services/keyword_view_service_pb.rb +0 -16
  747. data/lib/google/ads/google_ads/v0/services/keyword_view_service_services_pb.rb +0 -40
  748. data/lib/google/ads/google_ads/v0/services/language_constant_service_client.rb +0 -219
  749. data/lib/google/ads/google_ads/v0/services/language_constant_service_client_config.json +0 -31
  750. data/lib/google/ads/google_ads/v0/services/language_constant_service_pb.rb +0 -16
  751. data/lib/google/ads/google_ads/v0/services/language_constant_service_services_pb.rb +0 -40
  752. data/lib/google/ads/google_ads/v0/services/managed_placement_view_service_client.rb +0 -221
  753. data/lib/google/ads/google_ads/v0/services/managed_placement_view_service_client_config.json +0 -31
  754. data/lib/google/ads/google_ads/v0/services/managed_placement_view_service_pb.rb +0 -16
  755. data/lib/google/ads/google_ads/v0/services/managed_placement_view_service_services_pb.rb +0 -40
  756. data/lib/google/ads/google_ads/v0/services/media_file_service_client.rb +0 -279
  757. data/lib/google/ads/google_ads/v0/services/media_file_service_client_config.json +0 -36
  758. data/lib/google/ads/google_ads/v0/services/media_file_service_pb.rb +0 -40
  759. data/lib/google/ads/google_ads/v0/services/media_file_service_services_pb.rb +0 -42
  760. data/lib/google/ads/google_ads/v0/services/mobile_app_category_constant_service_client.rb +0 -219
  761. data/lib/google/ads/google_ads/v0/services/mobile_app_category_constant_service_pb.rb +0 -16
  762. data/lib/google/ads/google_ads/v0/services/mobile_app_category_constant_service_services_pb.rb +0 -40
  763. data/lib/google/ads/google_ads/v0/services/mobile_device_constant_service_client.rb +0 -219
  764. data/lib/google/ads/google_ads/v0/services/mobile_device_constant_service_client_config.json +0 -31
  765. data/lib/google/ads/google_ads/v0/services/mobile_device_constant_service_pb.rb +0 -16
  766. data/lib/google/ads/google_ads/v0/services/mobile_device_constant_service_services_pb.rb +0 -40
  767. data/lib/google/ads/google_ads/v0/services/operating_system_version_constant_service_client.rb +0 -219
  768. data/lib/google/ads/google_ads/v0/services/operating_system_version_constant_service_client_config.json +0 -31
  769. data/lib/google/ads/google_ads/v0/services/operating_system_version_constant_service_pb.rb +0 -16
  770. data/lib/google/ads/google_ads/v0/services/operating_system_version_constant_service_services_pb.rb +0 -40
  771. data/lib/google/ads/google_ads/v0/services/parental_status_view_service_client.rb +0 -221
  772. data/lib/google/ads/google_ads/v0/services/parental_status_view_service_client_config.json +0 -31
  773. data/lib/google/ads/google_ads/v0/services/parental_status_view_service_pb.rb +0 -16
  774. data/lib/google/ads/google_ads/v0/services/payments_account_service_client.rb +0 -209
  775. data/lib/google/ads/google_ads/v0/services/payments_account_service_client_config.json +0 -31
  776. data/lib/google/ads/google_ads/v0/services/payments_account_service_pb.rb +0 -20
  777. data/lib/google/ads/google_ads/v0/services/payments_account_service_services_pb.rb +0 -43
  778. data/lib/google/ads/google_ads/v0/services/product_group_view_service_client.rb +0 -221
  779. data/lib/google/ads/google_ads/v0/services/product_group_view_service_client_config.json +0 -31
  780. data/lib/google/ads/google_ads/v0/services/product_group_view_service_pb.rb +0 -16
  781. data/lib/google/ads/google_ads/v0/services/product_group_view_service_services_pb.rb +0 -40
  782. data/lib/google/ads/google_ads/v0/services/recommendation_service_client.rb +0 -331
  783. data/lib/google/ads/google_ads/v0/services/recommendation_service_client_config.json +0 -41
  784. data/lib/google/ads/google_ads/v0/services/recommendation_service_pb.rb +0 -83
  785. data/lib/google/ads/google_ads/v0/services/recommendation_service_services_pb.rb +0 -44
  786. data/lib/google/ads/google_ads/v0/services/remarketing_action_service_client.rb +0 -279
  787. data/lib/google/ads/google_ads/v0/services/remarketing_action_service_client_config.json +0 -36
  788. data/lib/google/ads/google_ads/v0/services/remarketing_action_service_pb.rb +0 -43
  789. data/lib/google/ads/google_ads/v0/services/remarketing_action_service_services_pb.rb +0 -42
  790. data/lib/google/ads/google_ads/v0/services/search_term_view_service_client.rb +0 -221
  791. data/lib/google/ads/google_ads/v0/services/search_term_view_service_client_config.json +0 -31
  792. data/lib/google/ads/google_ads/v0/services/search_term_view_service_pb.rb +0 -16
  793. data/lib/google/ads/google_ads/v0/services/search_term_view_service_services_pb.rb +0 -40
  794. data/lib/google/ads/google_ads/v0/services/shared_criterion_service_client.rb +0 -279
  795. data/lib/google/ads/google_ads/v0/services/shared_criterion_service_client_config.json +0 -36
  796. data/lib/google/ads/google_ads/v0/services/shared_criterion_service_pb.rb +0 -41
  797. data/lib/google/ads/google_ads/v0/services/shared_criterion_service_services_pb.rb +0 -42
  798. data/lib/google/ads/google_ads/v0/services/shared_set_service_client.rb +0 -279
  799. data/lib/google/ads/google_ads/v0/services/shared_set_service_client_config.json +0 -36
  800. data/lib/google/ads/google_ads/v0/services/shared_set_service_pb.rb +0 -44
  801. data/lib/google/ads/google_ads/v0/services/shared_set_service_services_pb.rb +0 -42
  802. data/lib/google/ads/google_ads/v0/services/topic_constant_service_client.rb +0 -219
  803. data/lib/google/ads/google_ads/v0/services/topic_constant_service_client_config.json +0 -31
  804. data/lib/google/ads/google_ads/v0/services/topic_constant_service_pb.rb +0 -16
  805. data/lib/google/ads/google_ads/v0/services/topic_constant_service_services_pb.rb +0 -40
  806. data/lib/google/ads/google_ads/v0/services/topic_view_service_client_config.json +0 -31
  807. data/lib/google/ads/google_ads/v0/services/topic_view_service_pb.rb +0 -16
  808. data/lib/google/ads/google_ads/v0/services/topic_view_service_services_pb.rb +0 -40
  809. data/lib/google/ads/google_ads/v0/services/user_interest_service_client.rb +0 -221
  810. data/lib/google/ads/google_ads/v0/services/user_interest_service_client_config.json +0 -31
  811. data/lib/google/ads/google_ads/v0/services/user_interest_service_pb.rb +0 -16
  812. data/lib/google/ads/google_ads/v0/services/user_interest_service_services_pb.rb +0 -40
  813. data/lib/google/ads/google_ads/v0/services/user_list_service_client.rb +0 -279
  814. data/lib/google/ads/google_ads/v0/services/user_list_service_client_config.json +0 -36
  815. data/lib/google/ads/google_ads/v0/services/user_list_service_pb.rb +0 -44
  816. data/lib/google/ads/google_ads/v0/services/user_list_service_services_pb.rb +0 -42
  817. data/lib/google/ads/google_ads/v0/services/video_service_client_config.json +0 -31
  818. data/lib/google/ads/google_ads/v0/services/video_service_pb.rb +0 -16
  819. data/lib/google/ads/google_ads/v0/services/video_service_services_pb.rb +0 -40
@@ -1,431 +0,0 @@
1
- # Encoding: utf-8
2
- #
3
- # Copyright 2018 Google LLC
4
- #
5
- # Licensed under the Apache License, Version 2.0 (the "License");
6
- # you may not use this file except in compliance with the License.
7
- # You may obtain a copy of the License at
8
- #
9
- # https://www.apache.org/licenses/LICENSE-2.0
10
- #
11
- # Unless required by applicable law or agreed to in writing, software
12
- # distributed under the License is distributed on an "AS IS" BASIS,
13
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- # See the License for the specific language governing permissions and
15
- # limitations under the License.
16
- #
17
- # Utility that generates up resource names for entities given IDs.
18
-
19
- module Google
20
- module Ads
21
- module GoogleAds
22
- module Utils
23
- module V0
24
- class PathLookupUtil
25
- def initialize(proto_lookup_util)
26
- @proto_lookup_util = proto_lookup_util
27
- end
28
-
29
- def account_budget_proposal(customer_id, account_budget_proposal_id)
30
- @proto_lookup_util.service(:AccountBudgetProposal).
31
- account_budget_proposal_path(customer_id.to_s,
32
- account_budget_proposal_id.to_s)
33
- end
34
-
35
- def account_budget(customer_id, account_budget_id)
36
- @proto_lookup_util.service(:AccountBudget).
37
- account_budget_path(customer_id.to_s, account_budget_id.to_s)
38
- end
39
-
40
- def ad_group_ad(customer_id, ad_group_id, ad_id)
41
- @proto_lookup_util.service(:AdGroupAd).ad_group_ad_path(
42
- customer_id.to_s,
43
- sprintf('%s_%s', ad_group_id.to_s, ad_id.to_s)
44
- )
45
- end
46
-
47
- def ad_group_audience_view(customer_id, ad_group_id, criterion_id)
48
- @proto_lookup_util.service(:AdGroupAudienceView).
49
- ad_group_audience_view_path(
50
- customer_id.to_s,
51
- sprintf('%s_%s', ad_group_id.to_s, criterion_id.to_s)
52
- )
53
- end
54
-
55
- def ad_group_bid_modifier(customer_id, ad_group_id, criterion_id)
56
- @proto_lookup_util.service(:AdGroupBidModifier).
57
- ad_group_bid_modifier_path(
58
- customer_id.to_s,
59
- sprintf('%s_%s', ad_group_id.to_s, criterion_id.to_s)
60
- )
61
- end
62
-
63
- def ad_group_criterion(customer_id, ad_group_id, criterion_id)
64
- @proto_lookup_util.service(:AdGroupCriterion).
65
- ad_group_criteria_path(
66
- customer_id.to_s,
67
- sprintf('%s_%s', ad_group_id.to_s, criterion_id.to_s)
68
- )
69
- end
70
-
71
- def ad_group_feed(customer_id, ad_group_id, feed_id)
72
- @proto_lookup_util.service(:AdGroupFeed).ad_group_feed_path(
73
- customer_id.to_s,
74
- sprintf('%s_%s', ad_group_id.to_s, feed_id.to_s)
75
- )
76
- end
77
-
78
- def ad_group(customer_id, ad_group_id)
79
- @proto_lookup_util.service(:AdGroup).ad_group_path(
80
- customer_id.to_s, ad_group_id.to_s)
81
- end
82
-
83
- def ad_parameter(customer_id, ad_group_id, criterion_id,
84
- parameter_index)
85
- @proto_lookup_util.service(:AdParameter).ad_parameter_path(
86
- customer_id.to_s,
87
- sprintf('%s_%s_%s', ad_group_id, criterion_id, parameter_index)
88
- )
89
- end
90
-
91
- def ad_schedule_view(customer_id, campaign_id, criterion_id)
92
- @proto_lookup_util.service(:AdScheduleView).ad_schedule_view_path(
93
- customer_id.to_s,
94
- sprintf('%s_%s', campaign_id, criterion_id)
95
- )
96
- end
97
-
98
- def age_range_view(customer_id, ad_group_id, criterion_id)
99
- @proto_lookup_util.service(:AgeRangeView).age_range_view_path(
100
- customer_id.to_s,
101
- sprintf('%s_%s', ad_group_id.to_s, criterion_id.to_s)
102
- )
103
- end
104
-
105
- def bidding_strategy(customer_id, bidding_strategy_id)
106
- @proto_lookup_util.service(:BiddingStrategy).
107
- bidding_strategy_path(
108
- customer_id.to_s,
109
- bidding_strategy_id.to_s
110
- )
111
- end
112
-
113
- def billing_setup(customer_id, billing_id)
114
- @proto_lookup_util.service(:BillingSetup).billing_setup_path(
115
- customer_id.to_s, billing_id.to_s)
116
- end
117
-
118
- def campaign_audience_view(customer_id, campaign_id, criterion_id)
119
- @proto_lookup_util.service(:CampaignAudienceView).
120
- campaign_audience_view_path(
121
- customer_id.to_s,
122
- sprintf('%s_%s', campaign_id.to_s, criterion_id.to_s)
123
- )
124
- end
125
-
126
- def campaign_bid_modifier(customer_id, campaign_bid_modifier_id)
127
- @proto_lookup_util.service(:CampaignBidModifier).
128
- campaign_bid_modifier_path(customer_id.to_s,
129
- campaign_bid_modifier_id.to_s)
130
- end
131
-
132
- def campaign_budget(customer_id, campaign_budget_id)
133
- @proto_lookup_util.service(:CampaignBudget).campaign_budget_path(
134
- customer_id.to_s, campaign_budget_id.to_s)
135
- end
136
-
137
- def campaign_criterion(customer_id, campaign_id, criterion_id)
138
- @proto_lookup_util.service(:CampaignCriterion).
139
- campaign_criteria_path(
140
- customer_id.to_s,
141
- sprintf('%s_%s', campaign_id.to_s, criterion_id.to_s)
142
- )
143
- end
144
-
145
- def campaign_feed(customer_id, campaign_id, feed_id)
146
- @proto_lookup_util.service(:CampaignFeed).campaign_feed_path(
147
- customer_id.to_s,
148
- sprintf('%s_%s', campaign_id.to_s, feed_id.to_s)
149
- )
150
- end
151
-
152
- def campaign_shared_set(customer_id, campaign_shared_set_id)
153
- @proto_lookup_util.service(:CampaignSharedSet).
154
- campaign_shared_set_path(customer_id.to_s,
155
- campaign_shared_set_id.to_s)
156
- end
157
-
158
- def campaign(customer_id, campaign_id)
159
- @proto_lookup_util.service(:Campaign).campaign_path(
160
- customer_id.to_s, campaign_id.to_s)
161
- end
162
-
163
- def carrier_constant(criterion_id)
164
- @proto_lookup_util.service(:CarrierConstant).
165
- carrier_constant_path(criterion_id.to_s)
166
- end
167
-
168
- def change_status(customer_id, change_status_id)
169
- @proto_lookup_util.service(:ChangeStatus).change_status_path(
170
- customer_id.to_s, change_status_id.to_s)
171
- end
172
-
173
- def conversion_action(customer_id, conversion_action_id)
174
- @proto_lookup_util.service(:ConversionAction).
175
- conversion_action_path(
176
- customer_id.to_s,
177
- conversion_action_id.to_s
178
- )
179
- end
180
-
181
- def customer_client_link(
182
- customer_id, client_customer_id, manager_link_id)
183
- @proto_lookup_util.service(:CustomerClientLink).
184
- customer_client_link_path(
185
- customer_id.to_s,
186
- sprintf('%s_%s', client_customer_id.to_s,
187
- manager_link_id.to_s)
188
- )
189
- end
190
-
191
- def customer_client(customer_id, client_customer_id)
192
- @proto_lookup_util.service(:CustomerClient).customer_client_path(
193
- customer_id.to_s, client_customer_id.to_s)
194
- end
195
-
196
- def customer_feed(customer_id, feed_id)
197
- @proto_lookup_util.service(:CustomerFeed).customer_feed_path(
198
- customer_id.to_s, feed_id.to_s)
199
- end
200
-
201
- def customer_manager_link(
202
- customer_id, manager_customer_id, manager_link_id)
203
- @proto_lookup_util.service(:CustomerManagerLink).
204
- customer_manager_link_path(
205
- customer_id.to_s,
206
- sprintf('%s_%s', manager_customer_id.to_s,
207
- manager_link_id.to_s)
208
- )
209
- end
210
-
211
- def customer(customer_id)
212
- @proto_lookup_util.service(:Customer).
213
- customer_path(customer_id.to_s)
214
- end
215
-
216
- def display_keyword_view(customer_id, ad_group_id, criterion_id)
217
- @proto_lookup_util.service(:DisplayKeywordView).
218
- display_keyword_view_path(
219
- customer_id.to_s,
220
- sprintf('%s_%s', ad_group_id.to_s, criterion_id.to_s)
221
- )
222
- end
223
-
224
- def feed_item(customer_id, feed_id, feed_item_id)
225
- @proto_lookup_util.service(:FeedItem).feed_item_path(
226
- customer_id.to_s,
227
- sprintf('%s_%s', feed_id.to_s, feed_item_id.to_s)
228
- )
229
- end
230
-
231
- def feed_mapping(customer_id, feed_id, feed_mapping_id)
232
- @proto_lookup_util.service(:FeedMapping).feed_mapping_path(
233
- customer_id.to_s,
234
- sprintf('%s_%s', feed_id.to_s, feed_mapping_id.to_s)
235
- )
236
- end
237
-
238
- def feed(customer_id, feed_id)
239
- @proto_lookup_util.service(:Feed).feed_path(
240
- customer_id.to_s, feed_id.to_s)
241
- end
242
-
243
- def gender_view(customer_id, ad_group_id, criterion_id)
244
- @proto_lookup_util.service(:GenderView).gender_view_path(
245
- customer_id.to_s,
246
- sprintf('%s_%s', ad_group_id.to_s, criterion_id.to_s)
247
- )
248
- end
249
-
250
- def geo_target_constant(geo_target_constant_id)
251
- @proto_lookup_util.service(:GeoTargetConstant).
252
- geo_target_constant_path(geo_target_constant_id.to_s)
253
- end
254
-
255
- def google_ads_field(google_ads_field)
256
- @proto_lookup_util.service(:GoogleAdsField).google_ads_field_path(
257
- google_ads_field.to_s)
258
- end
259
-
260
- def hotel_group_view(customer_id, ad_group_id, criterion_id)
261
- @proto_lookup_util.service(:HotelGroupView).hotel_group_view_path(
262
- customer_id.to_s,
263
- sprintf('%s_%s', ad_group_id.to_s, criterion_id.to_s)
264
- )
265
- end
266
-
267
- def hotel_performance_view(customer_id)
268
- @proto_lookup_util.service(:HotelPerformanceView).
269
- hotel_performance_view_path(customer_id.to_s)
270
- end
271
-
272
- def keyword_plan_ad_group(customer_id, kp_ad_group_id)
273
- @proto_lookup_util.service(:KeywordPlanAdGroup).
274
- keyword_plan_ad_group_path(
275
- customer_id.to_s,
276
- kp_ad_group_id.to_s
277
- )
278
- end
279
-
280
- def keyword_plan_campaign(customer_id, kp_campaign_id)
281
- @proto_lookup_util.service(:KeywordPlanCampaign).
282
- keyword_plan_campaign_path(
283
- customer_id.to_s,
284
- kp_campaign_id.to_s
285
- )
286
- end
287
-
288
- def keyword_plan_keyword(customer_id, kp_ad_group_keyword_id)
289
- @proto_lookup_util.service(:KeywordPlanKeyword).
290
- keyword_plan_keyword_path(
291
- customer_id.to_s,
292
- kp_ad_group_keyword_id.to_s
293
- )
294
- end
295
-
296
- def keyword_plan_negative_keyword(customer_id,
297
- kp_negative_keyword_id)
298
- @proto_lookup_util.service(:KeywordPlanNegativeKeyword).
299
- keyword_plan_negative_keyword_path(
300
- customer_id.to_s,
301
- kp_negative_keyword_id.to_s
302
- )
303
- end
304
-
305
- def keyword_plan(customer_id, kp_plan_id)
306
- @proto_lookup_util.service(:KeywordPlan).keyword_plan_path(
307
- customer_id.to_s, kp_plan_id.to_s)
308
- end
309
-
310
- def keyword_view(customer_id, ad_group_id, criterion_id)
311
- @proto_lookup_util.service(:KeywordView).keyword_view_path(
312
- customer_id.to_s,
313
- sprintf('%s_%s', ad_group_id.to_s, criterion_id.to_s)
314
- )
315
- end
316
-
317
- def language_constant(criterion_id)
318
- @proto_lookup_util.service(:LanguageConstant).
319
- language_constant_path(criterion_id.to_s)
320
- end
321
-
322
- def managed_placement_view(customer_id, ad_group_id, criterion_id)
323
- @proto_lookup_util.service(:ManagedPlacementView).
324
- managed_placement_view_path(
325
- customer_id.to_s,
326
- sprintf('%s_%s', ad_group_id.to_s, criterion_id.to_s)
327
- )
328
- end
329
-
330
- def media_file(customer_id, media_file_id)
331
- @proto_lookup_util.service(:MediaFile).media_file_path(
332
- customer_id.to_s, media_file_id.to_s)
333
- end
334
-
335
- def mobile_app_category_constant(mobile_app_category_id)
336
- @proto_lookup_util.service(:MobileAppCategoryConstant).
337
- mobile_app_category_constant_path(mobile_app_category_id.to_s)
338
- end
339
-
340
- def mobile_device_constant(criterion_id)
341
- @proto_lookup_util.service(:MobileDeviceConstant).
342
- mobile_device_constant_path(criterion_id.to_s)
343
- end
344
-
345
- def operating_system_version_constant(criterion_id)
346
- @proto_lookup_util.service(:OperatingSystemVersionConstant).
347
- operating_system_version_constant_path(criterion_id.to_s)
348
- end
349
-
350
- def parental_status_view(customer_id, ad_group_id, criterion_id)
351
- @proto_lookup_util.service(:ParentalStatusView).
352
- parental_status_view_path(
353
- customer_id.to_s,
354
- sprintf('%s_%s', ad_group_id.to_s, criterion_id.to_s)
355
- )
356
- end
357
-
358
- def product_group_view(customer_id, ad_group_id, criterion_id)
359
- @proto_lookup_util.service(:ProductGroupView).
360
- product_group_view_path(
361
- customer_id.to_s,
362
- sprintf('%s_%s', ad_group_id.to_s, criterion_id.to_s)
363
- )
364
- end
365
-
366
- def recommendation(customer_id, recommendation_id)
367
- @proto_lookup_util.service(:Recommendation).recommendation_path(
368
- customer_id.to_s, recommendation_id.to_s)
369
- end
370
-
371
- def remarketing_action(customer_id, remarketing_action_id)
372
- @proto_lookup_util.service(:RemarketingAction).
373
- remarketing_action_path(
374
- customer_id.to_s,
375
- remarketing_action_id.to_s
376
- )
377
- end
378
-
379
- def search_term_view(customer_id, campaign_id, ad_group_id,
380
- search_term)
381
- @proto_lookup_util.service(:SearchTermView).search_term_view_path(
382
- customer_id.to_s,
383
- sprintf('%s_%s_%s',
384
- campaign_id.to_s, ad_group_id.to_s, search_term.to_s)
385
- )
386
- end
387
-
388
- def shared_criterion(customer_id, shared_set_id, criterion_id)
389
- @proto_lookup_util.service(:SharedCriterion).shared_criteria_path(
390
- customer_id.to_s,
391
- sprintf('%s_%s', shared_set_id.to_s, criterion_id.to_s)
392
- )
393
- end
394
-
395
- def shared_set(customer_id, shared_set_id)
396
- @proto_lookup_util.service(:SharedSet).shared_set_path(
397
- customer_id.to_s, shared_set_id.to_s)
398
- end
399
-
400
- def topic_constant(vertical_id)
401
- @proto_lookup_util.service(:TopicConstant).topic_constant_path(
402
- vertical_id.to_s)
403
- end
404
-
405
- def topic_view(customer_id, ad_group_id, criterion_id)
406
- @proto_lookup_util.service(:TopicView).topic_view_path(
407
- customer_id.to_s,
408
- sprintf('%s_%s', ad_group_id.to_s, criterion_id.to_s)
409
- )
410
- end
411
-
412
- def user_interest(customer_id, user_interest_id)
413
- @proto_lookup_util.service(:UserInterest).user_interest_path(
414
- customer_id.to_s, user_interest_id.to_s)
415
- end
416
-
417
- def user_list(customer_id, user_list_id)
418
- @proto_lookup_util.service(:UserList).user_list_path(
419
- customer_id.to_s, user_list_id.to_s)
420
- end
421
-
422
- def video(customer_id, video_id)
423
- @proto_lookup_util.service(:Video).video_path(
424
- customer_id.to_s, video_id.to_s)
425
- end
426
- end
427
- end
428
- end
429
- end
430
- end
431
- end
@@ -1,620 +0,0 @@
1
- # Encoding: utf-8
2
- #
3
- # Copyright 2018 Google LLC
4
- #
5
- # Licensed under the Apache License, Version 2.0 (the "License");
6
- # you may not use this file except in compliance with the License.
7
- # You may obtain a copy of the License at
8
- #
9
- # https://www.apache.org/licenses/LICENSE-2.0
10
- #
11
- # Unless required by applicable law or agreed to in writing, software
12
- # distributed under the License is distributed on an "AS IS" BASIS,
13
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- # See the License for the specific language governing permissions and
15
- # limitations under the License.
16
- #
17
- # Utility that looks up references to generated classes for proto objects.
18
-
19
- module Google
20
- module Ads
21
- module GoogleAds
22
- module Utils
23
- module V0
24
- class ProtoLookupUtil
25
- # Variables: Version, folder (resources/common), filename
26
- RESOURCE_PATH = 'google/ads/google_ads/%s/%s/%s'.freeze
27
- # Variables: Version, class name
28
- RESOURCE_CLASS_PATH = 'Google::Ads::GoogleAds::%s::Resources::%s'.freeze
29
- # Variables: Version, class name
30
- COMMON_CLASS_PATH = 'Google::Ads::GoogleAds::%s::Common::%s'.freeze
31
-
32
- # Variables: Version, filename
33
- ENUM_PATH = 'google/ads/google_ads/%s/enums/%s'.freeze
34
- # Variables: Version, enum name, enum name (again)
35
- ENUM_CLASS_PATH = 'Google::Ads::GoogleAds::%s::Enums::%sEnum::%s'.freeze
36
-
37
- # Variables: Version, filename
38
- SERVICE_PATH = 'google/ads/google_ads/%s/services/%s'.freeze
39
- # Variables: Version, entity name
40
- SERVICE_CLASS_PATH =
41
- 'Google::Ads::GoogleAds::%s::Services::%s'.freeze
42
-
43
- RESOURCES = {
44
- AccountBudget: ['resources', 'account_budget_pb', 'AccountBudget'],
45
- PendingAccountBudgetProposal: ['resources', 'account_budget_pb', 'AccountBudget::PendingAccountBudgetProposal'],
46
- AccountBudgetProposal: ['resources', 'account_budget_proposal_pb', 'AccountBudgetProposal'],
47
- AdGroupAd: ['resources', 'ad_group_ad_pb', 'AdGroupAd'],
48
- AdGroupAdPolicySummary: ['resources', 'ad_group_ad_pb', 'AdGroupAdPolicySummary'],
49
- AdGroupCriterion: ['resources', 'ad_group_criterion_pb', 'AdGroupCriterion'],
50
- QualityInfo: ['resources', 'ad_group_criterion_pb', 'AdGroupCriterion::QualityInfo'],
51
- PositionEstimates: ['resources', 'ad_group_criterion_pb', 'AdGroupCriterion::PositionEstimates'],
52
- AdGroupAudienceView: ['resources', 'ad_group_audience_view_pb', 'AdGroupAudienceView'],
53
- AdGroupBidModifier: ['resources', 'ad_group_bid_modifier_pb', 'AdGroupBidModifier'],
54
- AdGroupFeed: ['resources', 'ad_group_feed_pb', 'AdGroupFeed'],
55
- AdGroup: ['resources', 'ad_group_pb', 'AdGroup'],
56
- AdParameter: ['resources', 'ad_parameter_pb', 'AdParameter'],
57
- AdScheduleView: ['resources', 'ad_schedule_view_pb', 'AdScheduleView'],
58
- Ad: ['resources', 'ad_pb', 'Ad'],
59
- AgeRangeView: ['resources', 'age_range_view_pb', 'AgeRangeView'],
60
- BiddingStrategy: ['resources', 'bidding_strategy_pb', 'BiddingStrategy'],
61
- BillingSetup: ['resources', 'billing_setup_pb', 'BillingSetup'],
62
- PaymentsAccountInfo: ['resources', 'billing_setup_pb', 'BillingSetup::PaymentsAccountInfo'],
63
- CampaignAudienceView: ['resources', 'campaign_audience_view_pb', 'CampaignAudienceView'],
64
- CampaignBidModifier: ['resources', 'campaign_bid_modifier_pb', 'CampaignBidModifier'],
65
- CampaignBudget: ['resources', 'campaign_budget_pb', 'CampaignBudget'],
66
- CampaignCriterion: ['resources', 'campaign_criterion_pb', 'CampaignCriterion'],
67
- CampaignFeed: ['resources', 'campaign_feed_pb', 'CampaignFeed'],
68
- Campaign: ['resources', 'campaign_pb', 'Campaign'],
69
- NetworkSettings: ['resources', 'campaign_pb', 'Campaign::NetworkSettings'],
70
- HotelSettingInfo: ['resources', 'campaign_pb', 'Campaign::HotelSettingInfo'],
71
- DynamicSearchAdsSetting: ['resources', 'campaign_pb', 'Campaign::DynamicSearchAdsSetting'],
72
- ShoppingSetting: ['resources', 'campaign_pb', 'Campaign::ShoppingSetting'],
73
- TrackingSetting: ['resources', 'campaign_pb', 'Campaign::TrackingSetting'],
74
- VanityPharma: ['resources', 'campaign_pb', 'Campaign::VanityPharma'],
75
- SelectiveOptimization: ['resources', 'campaign_pb', 'Campaign::SelectiveOptimization'],
76
- CampaignSharedSet: ['resources', 'campaign_shared_set_pb', 'CampaignSharedSet'],
77
- CarrierConstant: ['resources', 'carrier_constant_pb', 'CarrierConstant'],
78
- ChangeStatus: ['resources', 'change_status_pb', 'ChangeStatus'],
79
- ConversionAction: ['resources', 'conversion_action_pb', 'ConversionAction'],
80
- AttributionModelSettings: ['resources', 'conversion_action_pb', 'ConversionAction::AttributionModelSettings'],
81
- ValueSettings: ['resources', 'conversion_action_pb', 'ConversionAction::ValueSettings'],
82
- CustomerClientLink: ['resources', 'customer_client_link_pb', 'CustomerClientLink'],
83
- CustomerClient: ['resources', 'customer_client_pb', 'CustomerClient'],
84
- CustomerFeed: ['resources', 'customer_feed_pb', 'CustomerFeed'],
85
- CustomerManagerLink: ['resources', 'customer_manager_link_pb', 'CustomerManagerLink'],
86
- Customer: ['resources', 'customer_pb', 'Customer'],
87
- CallReportingSetting: ['resources', 'customer_pb', 'CallReportingSetting'],
88
- ConversionTrackingSetting: ['resources', 'customer_pb', 'ConversionTrackingSetting'],
89
- DisplayKeywordView: ['resources', 'display_keyword_view_pb', 'DisplayKeywordView'],
90
- FeedItem: ['resources', 'feed_item_pb', 'FeedItem'],
91
- FeedItemAttributeValue: ['resources', 'feed_item_pb', 'FeedItemAttributeValue'],
92
- FeedItemPlaceholderPolicyInfo: ['resources', 'feed_item_pb', 'FeedItemPlaceholderPolicyInfo'],
93
- FeedItemValidationError: ['resources', 'feed_item_pb', 'FeedItemValidationError'],
94
- FeedMapping: ['resources', 'feed_mapping_pb', 'FeedMapping'],
95
- AttributeFieldMapping: ['resources', 'feed_mapping_pb', 'AttributeFieldMapping'],
96
- Feed: ['resources', 'feed_pb', 'Feed'],
97
- PlacesLocationFeedData: ['resources', 'feed_pb', 'Feed::PlacesLocationFeedData'],
98
- OAuthInfo: ['resources', 'feed_pb', 'Feed::PlacesLocationFeedData::OAuthInfo'],
99
- AffiliateLocationFeedData: ['resources', 'feed_pb', 'Feed::AffiliateLocationFeedData'],
100
- FeedAttribute: ['resources', 'feed_pb', 'FeedAttribute'],
101
- FeedAttributeOperation: ['resources', 'feed_pb', 'FeedAttributeOperation'],
102
- Operator: ['resources', 'feed_pb', 'FeedAttributeOperation::Operator'],
103
- GenderView: ['resources', 'gender_view_pb', 'GenderView'],
104
- GeoTargetConstant: ['resources', 'geo_target_constant_pb', 'GeoTargetConstant'],
105
- GoogleAdsField: ['resources', 'google_ads_field_pb', 'GoogleAdsField'],
106
- HotelGroupView: ['resources', 'hotel_group_view_pb', 'HotelGroupView'],
107
- HotelPerformanceView: ['resources', 'hotel_performance_view_pb', 'HotelPerformanceView'],
108
- KeywordPlanAdGroup: ['resources', 'keyword_plan_ad_group_pb', 'KeywordPlanAdGroup'],
109
- KeywordPlanCampaign: ['resources', 'keyword_plan_campaign_pb', 'KeywordPlanCampaign'],
110
- KeywordPlanGeoTarget: ['resources', 'keyword_plan_campaign_pb', 'KeywordPlanGeoTarget'],
111
- KeywordPlanKeyword: ['resources', 'keyword_plan_keyword_pb', 'KeywordPlanKeyword'],
112
- KeywordPlanNegativeKeyword: ['resources', 'keyword_plan_negative_keyword_pb', 'KeywordPlanNegativeKeyword'],
113
- KeywordPlan: ['resources', 'keyword_plan_pb', 'KeywordPlan'],
114
- KeywordPlanForecastPeriod: ['resources', 'keyword_plan_pb', 'KeywordPlanForecastPeriod'],
115
- KeywordView: ['resources', 'keyword_view_pb', 'KeywordView'],
116
- LanguageConstant: ['resources', 'language_constant_pb', 'LanguageConstant'],
117
- ManagedPlacementView: ['resources', 'managed_placement_view_pb', 'ManagedPlacementView'],
118
- MediaFile: ['resources', 'media_file_pb', 'MediaFile'],
119
- MediaImage: ['resources', 'media_file_pb', 'MediaImage'],
120
- MediaBundle: ['resources', 'media_file_pb', 'MediaBundle'],
121
- MediaAudio: ['resources', 'media_file_pb', 'MediaAudio'],
122
- MediaVideo: ['resources', 'media_file_pb', 'MediaVideo'],
123
- MobileAppCategoryConstant: ['resources', 'mobile_app_category_constant_pb', 'MobileAppCategoryConstant'],
124
- MobileDeviceConstant: ['resources', 'mobile_device_constant_pb', 'MobileDeviceConstant'],
125
- OperatingSystemVersionConstant: ['resources', 'operating_system_version_constant_pb', 'OperatingSystemVersionConstant'],
126
- ParentalStatusView: ['resources', 'parental_status_view_pb', 'ParentalStatusView'],
127
- PaymentsAccount: ['resources', 'payments_account_pb', 'PaymentsAccount'],
128
- ProductGroupView: ['resources', 'product_group_view_pb', 'ProductGroupView'],
129
- Recommendation: ['resources', 'recommendation_pb', 'Recommendation'],
130
- RecommendationImpact: ['resources', 'recommendation_pb', 'Recommendation::RecommendationImpact'],
131
- RecommendationMetrics: ['resources', 'recommendation_pb', 'Recommendation::RecommendationMetrics'],
132
- CampaignBudgetRecommendation: ['resources', 'recommendation_pb', 'Recommendation::CampaignBudgetRecommendation'],
133
- CampaignBudgetRecommendationOption: ['resources', 'recommendation_pb', 'Recommendation::CampaignBudgetRecommendation::CampaignBudgetRecommendationOption'],
134
- KeywordRecommendation: ['resources', 'recommendation_pb', 'Recommendation::KeywordRecommendation'],
135
- TextAdRecommendation: ['resources', 'recommendation_pb', 'Recommendation::TextAdRecommendation'],
136
- TargetCpaOptInRecommendation: ['resources', 'recommendation_pb', 'Recommendation::TargetCpaOptInRecommendation'],
137
- TargetCpaOptInRecommendationOption: ['resources', 'recommendation_pb', 'Recommendation::TargetCpaOptInRecommendation::TargetCpaOptInRecommendationOption'],
138
- MaximizeConversionsOptInRecommendation: ['resources', 'recommendation_pb', 'Recommendation::MaximizeConversionsOptInRecommendation'],
139
- EnhancedCpcOptInRecommendation: ['resources', 'recommendation_pb', 'Recommendation::EnhancedCpcOptInRecommendation'],
140
- SearchPartnersOptInRecommendation: ['resources', 'recommendation_pb', 'Recommendation::SearchPartnersOptInRecommendation'],
141
- MaximizeClicksOptInRecommendation: ['resources', 'recommendation_pb', 'Recommendation::MaximizeClicksOptInRecommendation'],
142
- OptimizeAdRotationRecommendation: ['resources', 'recommendation_pb', 'Recommendation::OptimizeAdRotationRecommendation'],
143
- RemarketingAction: ['resources', 'remarketing_action_pb', 'RemarketingAction'],
144
- SearchTermView: ['resources', 'search_term_view_pb', 'SearchTermView'],
145
- SharedCriterion: ['resources', 'shared_criterion_pb', 'SharedCriterion'],
146
- SharedSet: ['resources', 'shared_set_pb', 'SharedSet'],
147
- TopicConstant: ['resources', 'topic_constant_pb', 'TopicConstant'],
148
- TopicView: ['resources', 'topic_view_pb', 'TopicView'],
149
- UserInterest: ['resources', 'user_interest_pb', 'UserInterest'],
150
- UserList: ['resources', 'user_list_pb', 'UserList'],
151
- Video: ['resources', 'video_pb', 'Video'],
152
- TextAdInfo: ['common', 'ad_type_infos_pb', 'TextAdInfo'],
153
- ExpandedTextAdInfo: ['common', 'ad_type_infos_pb', 'ExpandedTextAdInfo'],
154
- DynamicSearchAdInfo: ['common', 'ad_type_infos_pb', 'DynamicSearchAdInfo'],
155
- ResponsiveDisplayAdInfo: ['common', 'ad_type_infos_pb', 'ResponsiveDisplayAdInfo'],
156
- CallOnlyAdInfo: ['common', 'ad_type_infos_pb', 'CallOnlyAdInfo'],
157
- ExpandedDynamicSearchAdInfo: ['common', 'ad_type_infos_pb', 'ExpandedDynamicSearchAdInfo'],
158
- HotelAdInfo: ['common', 'ad_type_infos_pb', 'HotelAdInfo'],
159
- ShoppingSmartAdInfo: ['common', 'ad_type_infos_pb', 'ShoppingSmartAdInfo'],
160
- ShoppingProductAdInfo: ['common', 'ad_type_infos_pb', 'ShoppingProductAdInfo'],
161
- GmailAdInfo: ['common', 'ad_type_infos_pb', 'GmailAdInfo'],
162
- GmailTeaser: ['common', 'ad_type_infos_pb', 'GmailTeaser'],
163
- DisplayCallToAction: ['common', 'ad_type_infos_pb', 'DisplayCallToAction'],
164
- ImageAdInfo: ['common', 'ad_type_infos_pb', 'ImageAdInfo'],
165
- VideoTrueViewInStreamAdInfo: ['common', 'ad_type_infos_pb', 'VideoTrueViewInStreamAdInfo'],
166
- VideoAdInfo: ['common', 'ad_type_infos_pb', 'VideoAdInfo'],
167
- EnhancedCpc: ['common', 'bidding_pb', 'EnhancedCpc'],
168
- ManualCpc: ['common', 'bidding_pb', 'ManualCpc'],
169
- ManualCpm: ['common', 'bidding_pb', 'ManualCpm'],
170
- ManualCpv: ['common', 'bidding_pb', 'ManualCpv'],
171
- MaximizeConversions: ['common', 'bidding_pb', 'MaximizeConversions'],
172
- MaximizeConversionValue: ['common', 'bidding_pb', 'MaximizeConversionValue'],
173
- PageOnePromoted: ['common', 'bidding_pb', 'PageOnePromoted'],
174
- TargetCpa: ['common', 'bidding_pb', 'TargetCpa'],
175
- TargetCpm: ['common', 'bidding_pb', 'TargetCpm'],
176
- TargetOutrankShare: ['common', 'bidding_pb', 'TargetOutrankShare'],
177
- TargetRoas: ['common', 'bidding_pb', 'TargetRoas'],
178
- TargetSpend: ['common', 'bidding_pb', 'TargetSpend'],
179
- PercentCpc: ['common', 'bidding_pb', 'PercentCpc'],
180
- KeywordInfo: ['common', 'criteria_pb', 'KeywordInfo'],
181
- PlacementInfo: ['common', 'criteria_pb', 'PlacementInfo'],
182
- MobileAppCategoryInfo: ['common', 'criteria_pb', 'MobileAppCategoryInfo'],
183
- LocationInfo: ['common', 'criteria_pb', 'LocationInfo'],
184
- DeviceInfo: ['common', 'criteria_pb', 'DeviceInfo'],
185
- ListingGroupInfo: ['common', 'criteria_pb', 'ListingGroupInfo'],
186
- ListingDimensionInfo: ['common', 'criteria_pb', 'ListingDimensionInfo'],
187
- ListingBrandInfo: ['common', 'criteria_pb', 'ListingBrandInfo'],
188
- HotelIdInfo: ['common', 'criteria_pb', 'HotelIdInfo'],
189
- HotelClassInfo: ['common', 'criteria_pb', 'HotelClassInfo'],
190
- HotelCountryRegionInfo: ['common', 'criteria_pb', 'HotelCountryRegionInfo'],
191
- HotelStateInfo: ['common', 'criteria_pb', 'HotelStateInfo'],
192
- HotelCityInfo: ['common', 'criteria_pb', 'HotelCityInfo'],
193
- ListingCustomAttributeInfo: ['common', 'criteria_pb', 'ListingCustomAttributeInfo'],
194
- ProductChannelInfo: ['common', 'criteria_pb', 'ProductChannelInfo'],
195
- ProductChannelExclusivityInfo: ['common', 'criteria_pb', 'ProductChannelExclusivityInfo'],
196
- ProductConditionInfo: ['common', 'criteria_pb', 'ProductConditionInfo'],
197
- ProductOfferIdInfo: ['common', 'criteria_pb', 'ProductOfferIdInfo'],
198
- ProductTypeInfo: ['common', 'criteria_pb', 'ProductTypeInfo'],
199
- HotelDateSelectionTypeInfo: ['common', 'criteria_pb', 'HotelDateSelectionTypeInfo'],
200
- HotelAdvanceBookingWindowInfo: ['common', 'criteria_pb', 'HotelAdvanceBookingWindowInfo'],
201
- HotelLengthOfStayInfo: ['common', 'criteria_pb', 'HotelLengthOfStayInfo'],
202
- HotelCheckInDayInfo: ['common', 'criteria_pb', 'HotelCheckInDayInfo'],
203
- InteractionTypeInfo: ['common', 'criteria_pb', 'InteractionTypeInfo'],
204
- AdScheduleInfo: ['common', 'criteria_pb', 'AdScheduleInfo'],
205
- AgeRangeInfo: ['common', 'criteria_pb', 'AgeRangeInfo'],
206
- GenderInfo: ['common', 'criteria_pb', 'GenderInfo'],
207
- IncomeRangeInfo: ['common', 'criteria_pb', 'IncomeRangeInfo'],
208
- ParentalStatusInfo: ['common', 'criteria_pb', 'ParentalStatusInfo'],
209
- YouTubeVideoInfo: ['common', 'criteria_pb', 'YouTubeVideoInfo'],
210
- YouTubeChannelInfo: ['common', 'criteria_pb', 'YouTubeChannelInfo'],
211
- UserListInfo: ['common', 'criteria_pb', 'UserListInfo'],
212
- ProximityInfo: ['common', 'criteria_pb', 'ProximityInfo'],
213
- GeoPointInfo: ['common', 'criteria_pb', 'GeoPointInfo'],
214
- AddressInfo: ['common', 'criteria_pb', 'AddressInfo'],
215
- TopicInfo: ['common', 'criteria_pb', 'TopicInfo'],
216
- LanguageInfo: ['common', 'criteria_pb', 'LanguageInfo'],
217
- IpBlockInfo: ['common', 'criteria_pb', 'IpBlockInfo'],
218
- ContentLabelInfo: ['common', 'criteria_pb', 'ContentLabelInfo'],
219
- CarrierInfo: ['common', 'criteria_pb', 'CarrierInfo'],
220
- UserInterestInfo: ['common', 'criteria_pb', 'UserInterestInfo'],
221
- WebpageInfo: ['common', 'criteria_pb', 'WebpageInfo'],
222
- WebpageConditionInfo: ['common', 'criteria_pb', 'WebpageConditionInfo'],
223
- OperatingSystemVersionInfo: ['common', 'criteria_pb', 'OperatingSystemVersionInfo'],
224
- AppPaymentModelInfo: ['common', 'criteria_pb', 'AppPaymentModelInfo'],
225
- CriterionCategoryAvailability: ['common', 'criterion_category_availability_pb', 'CriterionCategoryAvailability'],
226
- CriterionCategoryChannelAvailability: ['common', 'criterion_category_availability_pb', 'CriterionCategoryChannelAvailability'],
227
- CriterionCategoryLocaleAvailability: ['common', 'criterion_category_availability_pb', 'CriterionCategoryLocaleAvailability'],
228
- CustomParameter: ['common', 'custom_parameter_pb', 'CustomParameter'],
229
- DateRange: ['common', 'dates_pb', 'DateRange'],
230
- ExplorerAutoOptimizerSetting: ['common', 'explorer_auto_optimizer_setting_pb', 'ExplorerAutoOptimizerSetting'],
231
- Price: ['common', 'feed_common_pb', 'Price'],
232
- FrequencyCapEntry: ['common', 'frequency_cap_pb', 'FrequencyCapEntry'],
233
- FrequencyCapKey: ['common', 'frequency_cap_pb', 'FrequencyCapKey'],
234
- KeywordPlanHistoricalMetrics: ['common', 'keyword_plan_common_pb', 'KeywordPlanHistoricalMetrics'],
235
- MatchingFunction: ['common', 'matching_function_pb', 'MatchingFunction'],
236
- Metrics: ['common', 'metrics_pb', 'Metrics'],
237
- PolicyViolationKey: ['common', 'policy_pb', 'PolicyViolationKey'],
238
- PolicyValidationParameter: ['common', 'policy_pb', 'PolicyValidationParameter'],
239
- PolicyTopicEntry: ['common', 'policy_pb', 'PolicyTopicEntry'],
240
- PolicyTopicEvidence: ['common', 'policy_pb', 'PolicyTopicEvidence'],
241
- TextList: ['common', 'policy_pb', 'PolicyTopicEvidence::TextList'],
242
- WebsiteList: ['common', 'policy_pb', 'PolicyTopicEvidence::WebsiteList'],
243
- DestinationTextList: ['common', 'policy_pb', 'PolicyTopicEvidence::DestinationTextList'],
244
- DestinationMismatch: ['common', 'policy_pb', 'PolicyTopicEvidence::DestinationMismatch'],
245
- PolicyTopicConstraint: ['common', 'policy_pb', 'PolicyTopicConstraint'],
246
- CountryConstraintList: ['common', 'policy_pb', 'PolicyTopicConstraint::CountryConstraintList'],
247
- ResellerConstraint: ['common', 'policy_pb', 'PolicyTopicConstraint::ResellerConstraint'],
248
- CountryConstraint: ['common', 'policy_pb', 'PolicyTopicConstraint::CountryConstraint'],
249
- RealTimeBiddingSetting: ['common', 'real_time_bidding_setting_pb', 'RealTimeBiddingSetting'],
250
- Segments: ['common', 'segments_pb', 'Segments'],
251
- TagSnippet: ['common', 'tag_snippet_pb', 'TagSnippet'],
252
- TargetingSetting: ['common', 'targeting_setting_pb', 'TargetingSetting'],
253
- TargetRestriction: ['common', 'targeting_setting_pb', 'TargetRestriction'],
254
- SimilarUserListInfo: ['common', 'user_lists_pb', 'SimilarUserListInfo'],
255
- CrmBasedUserListInfo: ['common', 'user_lists_pb', 'CrmBasedUserListInfo'],
256
- UserListRuleInfo: ['common', 'user_lists_pb', 'UserListRuleInfo'],
257
- UserListRuleItemGroupInfo: ['common', 'user_lists_pb', 'UserListRuleItemGroupInfo'],
258
- UserListRuleItemInfo: ['common', 'user_lists_pb', 'UserListRuleItemInfo'],
259
- UserListDateRuleItemInfo: ['common', 'user_lists_pb', 'UserListDateRuleItemInfo'],
260
- UserListNumberRuleItemInfo: ['common', 'user_lists_pb', 'UserListNumberRuleItemInfo'],
261
- UserListStringRuleItemInfo: ['common', 'user_lists_pb', 'UserListStringRuleItemInfo'],
262
- CombinedRuleUserListInfo: ['common', 'user_lists_pb', 'CombinedRuleUserListInfo'],
263
- DateSpecificRuleUserListInfo: ['common', 'user_lists_pb', 'DateSpecificRuleUserListInfo'],
264
- ExpressionRuleUserListInfo: ['common', 'user_lists_pb', 'ExpressionRuleUserListInfo'],
265
- RuleBasedUserListInfo: ['common', 'user_lists_pb', 'RuleBasedUserListInfo'],
266
- LogicalUserListInfo: ['common', 'user_lists_pb', 'LogicalUserListInfo'],
267
- BasicUserListInfo: ['common', 'user_lists_pb', 'BasicUserListInfo'],
268
- UserListActionInfo: ['common', 'user_lists_pb', 'UserListActionInfo'],
269
- Value: ['common', 'value_pb', 'Value'],
270
- CampaignBudgetParameters: ['services', 'recommendation_service_pb', 'ApplyRecommendationOperation::CampaignBudgetParameters'],
271
- TextAdParameters: ['services', 'recommendation_service_pb', 'ApplyRecommendationOperation::TextAdParameters'],
272
- KeywordParameters: ['services', 'recommendation_service_pb', 'ApplyRecommendationOperation::KeywordParameters'],
273
- TargetCpaOptInParameters: ['services', 'recommendation_service_pb', 'ApplyRecommendationOperation::TargetCpaOptInParameters'],
274
- LocationNames: ['services', 'geo_target_constant_service_pb', 'SuggestGeoTargetConstantsRequest::LocationNames'],
275
- GeoTargets: ['services', 'geo_target_constant_service_pb', 'SuggestGeoTargetConstantsRequest::GeoTargets'],
276
- KeywordAndUrlSeed: ['services', 'keyword_plan_idea_service_pb', 'KeywordAndUrlSeed'],
277
- KeywordSeed: ['services', 'keyword_plan_idea_service_pb', 'KeywordSeed'],
278
- UrlSeed: ['services', 'keyword_plan_idea_service_pb', 'UrlSeed']
279
- }.freeze
280
-
281
- ENUMS = {
282
- AccessReason: ['access_reason_pb', 'AccessReason'],
283
- AccountBudgetProposalStatus: ['account_budget_proposal_status_pb', 'AccountBudgetProposalStatus'],
284
- AccountBudgetProposalType: ['account_budget_proposal_type_pb', 'AccountBudgetProposalType'],
285
- AccountBudgetStatus: ['account_budget_status_pb', 'AccountBudgetStatus'],
286
- AdCustomizerPlaceholderField: ['ad_customizer_placeholder_field_pb', 'AdCustomizerPlaceholderField'],
287
- AdGroupAdRotationMode: ['ad_group_ad_rotation_mode_pb', 'AdGroupAdRotationMode'],
288
- AdGroupAdStatus: ['ad_group_ad_status_pb', 'AdGroupAdStatus'],
289
- AdGroupCriterionStatus: ['ad_group_criterion_status_pb', 'AdGroupCriterionStatus'],
290
- AdGroupStatus: ['ad_group_status_pb', 'AdGroupStatus'],
291
- AdGroupType: ['ad_group_type_pb', 'AdGroupType'],
292
- AdNetworkType: ['ad_network_type_pb', 'AdNetworkType'],
293
- AdServingOptimizationStatus: ['ad_serving_optimization_status_pb', 'AdServingOptimizationStatus'],
294
- AdType: ['ad_type_pb', 'AdType'],
295
- AdvertisingChannelSubType: ['advertising_channel_sub_type_pb', 'AdvertisingChannelSubType'],
296
- AdvertisingChannelType: ['advertising_channel_type_pb', 'AdvertisingChannelType'],
297
- AffiliateLocationFeedRelationshipType: ['affiliate_location_feed_relationship_type_pb', 'AffiliateLocationFeedRelationshipType'],
298
- AgeRangeType: ['age_range_type_pb', 'AgeRangeType'],
299
- AppPaymentModelType: ['app_payment_model_type_pb', 'AppPaymentModelType'],
300
- AppPlaceholderField: ['app_placeholder_field_pb', 'AppPlaceholderField'],
301
- AttributionModel: ['attribution_model_pb', 'AttributionModel'],
302
- BiddingSource: ['bidding_source_pb', 'BiddingSource'],
303
- BiddingStrategyType: ['bidding_strategy_type_pb', 'BiddingStrategyType'],
304
- BidModifierSource: ['bid_modifier_source_pb', 'BidModifierSource'],
305
- BillingSetupStatus: ['billing_setup_status_pb', 'BillingSetupStatus'],
306
- BrandSafetySuitability: ['brand_safety_suitability_pb', 'BrandSafetySuitability'],
307
- BudgetDeliveryMethod: ['budget_delivery_method_pb', 'BudgetDeliveryMethod'],
308
- BudgetPeriod: ['budget_period_pb', 'BudgetPeriod'],
309
- BudgetStatus: ['budget_status_pb', 'BudgetStatus'],
310
- CallConversionReportingState: ['call_conversion_reporting_state_pb', 'CallConversionReportingState'],
311
- CallPlaceholderField: ['call_placeholder_field_pb', 'CallPlaceholderField'],
312
- CalloutPlaceholderField: ['callout_placeholder_field_pb', 'CalloutPlaceholderField'],
313
- CampaignServingStatus: ['campaign_serving_status_pb', 'CampaignServingStatus'],
314
- CampaignSharedSetStatus: ['campaign_shared_set_status_pb', 'CampaignSharedSetStatus'],
315
- CampaignStatus: ['campaign_status_pb', 'CampaignStatus'],
316
- ChangeStatusOperation: ['change_status_operation_pb', 'ChangeStatusOperation'],
317
- ChangeStatusResourceType: ['change_status_resource_type_pb', 'ChangeStatusResourceType'],
318
- ContentLabelType: ['content_label_type_pb', 'ContentLabelType'],
319
- ConversionActionCategory: ['conversion_action_category_pb', 'ConversionActionCategory'],
320
- ConversionActionCountingType: ['conversion_action_counting_type_pb', 'ConversionActionCountingType'],
321
- ConversionActionStatus: ['conversion_action_status_pb', 'ConversionActionStatus'],
322
- ConversionActionType: ['conversion_action_type_pb', 'ConversionActionType'],
323
- ConversionAttributionEventType: ['conversion_attribution_event_type_pb', 'ConversionAttributionEventType'],
324
- CriterionCategoryChannelAvailabilityMode: ['criterion_category_channel_availability_mode_pb', 'CriterionCategoryChannelAvailabilityMode'],
325
- CriterionCategoryLocaleAvailabilityMode: ['criterion_category_locale_availability_mode_pb', 'CriterionCategoryLocaleAvailabilityMode'],
326
- CustomPlaceholderField: ['custom_placeholder_field_pb', 'CustomPlaceholderField'],
327
- CustomerMatchUploadKeyType: ['customer_match_upload_key_type_pb', 'CustomerMatchUploadKeyType'],
328
- DataDrivenModelStatus: ['data_driven_model_status_pb', 'DataDrivenModelStatus'],
329
- DayOfWeek: ['day_of_week_pb', 'DayOfWeek'],
330
- Device: ['device_pb', 'Device'],
331
- DisplayAdFormatSetting: ['display_ad_format_setting_pb', 'DisplayAdFormatSetting'],
332
- EducationPlaceholderField: ['education_placeholder_field_pb', 'EducationPlaceholderField'],
333
- FeedAttributeType: ['feed_attribute_type_pb', 'FeedAttributeType'],
334
- FeedItemQualityApprovalStatus: ['feed_item_quality_approval_status_pb', 'FeedItemQualityApprovalStatus'],
335
- FeedItemQualityDisapprovalReason: ['feed_item_quality_disapproval_reason_pb', 'FeedItemQualityDisapprovalReason'],
336
- FeedItemStatus: ['feed_item_status_pb', 'FeedItemStatus'],
337
- FeedItemValidationStatus: ['feed_item_validation_status_pb', 'FeedItemValidationStatus'],
338
- FeedLinkStatus: ['feed_link_status_pb', 'FeedLinkStatus'],
339
- FeedMappingCriterionType: ['feed_mapping_criterion_type_pb', 'FeedMappingCriterionType'],
340
- FeedMappingStatus: ['feed_mapping_status_pb', 'FeedMappingStatus'],
341
- FeedOrigin: ['feed_origin_pb', 'FeedOrigin'],
342
- FeedStatus: ['feed_status_pb', 'FeedStatus'],
343
- FlightPlaceholderField: ['flight_placeholder_field_pb', 'FlightPlaceholderField'],
344
- FrequencyCapEventType: ['frequency_cap_event_type_pb', 'FrequencyCapEventType'],
345
- FrequencyCapLevel: ['frequency_cap_level_pb', 'FrequencyCapLevel'],
346
- FrequencyCapTimeUnit: ['frequency_cap_time_unit_pb', 'FrequencyCapTimeUnit'],
347
- GenderType: ['gender_type_pb', 'GenderType'],
348
- GeoTargetingRestriction: ['geo_targeting_restriction_pb', 'GeoTargetingRestriction'],
349
- GeoTargetConstantStatus: ['geo_target_constant_status_pb', 'GeoTargetConstantStatus'],
350
- GoogleAdsFieldCategory: ['google_ads_field_category_pb', 'GoogleAdsFieldCategory'],
351
- GoogleAdsFieldDataType: ['google_ads_field_data_type_pb', 'GoogleAdsFieldDataType'],
352
- HotelDateSelectionType: ['hotel_date_selection_type_pb', 'HotelDateSelectionType'],
353
- HotelPlaceholderField: ['hotel_placeholder_field_pb', 'HotelPlaceholderField'],
354
- IncomeRangeType: ['income_range_type_pb', 'IncomeRangeType'],
355
- InteractionEventType: ['interaction_event_type_pb', 'InteractionEventType'],
356
- InteractionType: ['interaction_type_pb', 'InteractionType'],
357
- JobPlaceholderField: ['job_placeholder_field_pb', 'JobPlaceholderField'],
358
- KeywordMatchType: ['keyword_match_type_pb', 'KeywordMatchType'],
359
- KeywordPlanCompetitionLevel: ['keyword_plan_competition_level_pb', 'KeywordPlanCompetitionLevel'],
360
- KeywordPlanForecastInterval: ['keyword_plan_forecast_interval_pb', 'KeywordPlanForecastInterval'],
361
- KeywordPlanNetwork: ['keyword_plan_network_pb', 'KeywordPlanNetwork'],
362
- ListingCustomAttributeIndex: ['listing_custom_attribute_index_pb', 'ListingCustomAttributeIndex'],
363
- ListingGroupType: ['listing_group_type_pb', 'ListingGroupType'],
364
- LocalPlaceholderField: ['local_placeholder_field_pb', 'LocalPlaceholderField'],
365
- ManagerLinkStatus: ['manager_link_status_pb', 'ManagerLinkStatus'],
366
- MediaType: ['media_type_pb', 'MediaType'],
367
- MessagePlaceholderField: ['message_placeholder_field_pb', 'MessagePlaceholderField'],
368
- MimeType: ['mime_type_pb', 'MimeType'],
369
- MinuteOfHour: ['minute_of_hour_pb', 'MinuteOfHour'],
370
- MobileDeviceType: ['mobile_device_type_pb', 'MobileDeviceType'],
371
- MonthOfYear: ['month_of_year_pb', 'MonthOfYear'],
372
- OperatingSystemVersionOperatorType: ['operating_system_version_operator_type_pb', 'OperatingSystemVersionOperatorType'],
373
- PageOnePromotedStrategyGoal: ['page_one_promoted_strategy_goal_pb', 'PageOnePromotedStrategyGoal'],
374
- ParentalStatusType: ['parental_status_type_pb', 'ParentalStatusType'],
375
- PlaceholderType: ['placeholder_type_pb', 'PlaceholderType'],
376
- PolicyApprovalStatus: ['policy_approval_status_pb', 'PolicyApprovalStatus'],
377
- PolicyReviewStatus: ['policy_review_status_pb', 'PolicyReviewStatus'],
378
- PolicyTopicEntryType: ['policy_topic_entry_type_pb', 'PolicyTopicEntryType'],
379
- PolicyTopicEvidenceDestinationMismatchUrlType: ['policy_topic_evidence_destination_mismatch_url_type_pb', 'PolicyTopicEvidenceDestinationMismatchUrlType'],
380
- PreferredContentType: ['preferred_content_type_pb', 'PreferredContentType'],
381
- PricePlaceholderField: ['price_placeholder_field_pb', 'PricePlaceholderField'],
382
- ProductChannel: ['product_channel_pb', 'ProductChannel'],
383
- ProductChannelExclusivity: ['product_channel_exclusivity_pb', 'ProductChannelExclusivity'],
384
- ProductCondition: ['product_condition_pb', 'ProductCondition'],
385
- ProductTypeLevel: ['product_type_level_pb', 'ProductTypeLevel'],
386
- PromotionPlaceholderField: ['promotion_placeholder_field_pb', 'PromotionPlaceholderField'],
387
- ProximityRadiusUnits: ['proximity_radius_units_pb', 'ProximityRadiusUnits'],
388
- QualityScoreBucket: ['quality_score_bucket_pb', 'QualityScoreBucket'],
389
- RealEstatePlaceholderField: ['real_estate_placeholder_field_pb', 'RealEstatePlaceholderField'],
390
- RecommendationType: ['recommendation_type_pb', 'RecommendationType'],
391
- SearchTermMatchType: ['search_term_match_type_pb', 'SearchTermMatchType'],
392
- SearchTermTargetingStatus: ['search_term_targeting_status_pb', 'SearchTermTargetingStatus'],
393
- SharedSetStatus: ['shared_set_status_pb', 'SharedSetStatus'],
394
- SharedSetType: ['shared_set_type_pb', 'SharedSetType'],
395
- SitelinkPlaceholderField: ['sitelink_placeholder_field_pb', 'SitelinkPlaceholderField'],
396
- Slot: ['slot_pb', 'Slot'],
397
- SpendingLimitType: ['spending_limit_type_pb', 'SpendingLimitType'],
398
- StructuredSnippetPlaceholderField: [ 'structured_snippet_placeholder_field_pb', 'StructuredSnippetPlaceholderField'],
399
- TargetCpaOptInRecommendationGoal: [ 'target_cpa_opt_in_recommendation_goal_pb', 'TargetCpaOptInRecommendationGoal'],
400
- TargetingDimension: ['targeting_dimension_pb', 'TargetingDimension'],
401
- TimeType: ['time_type_pb', 'TimeType'],
402
- TrackingCodePageFormat: ['tracking_code_page_format_pb', 'TrackingCodePageFormat'],
403
- TrackingCodeType: ['tracking_code_type_pb', 'TrackingCodeType'],
404
- TravelPlaceholderField: ['travel_placeholder_field_pb', 'TravelPlaceholderField'],
405
- UserInterestTaxonomyType: ['user_interest_taxonomy_type_pb', 'UserInterestTaxonomyType'],
406
- UserListAccessStatus: ['user_list_access_status_pb', 'UserListAccessStatus'],
407
- UserListClosingReason: ['user_list_closing_reason_pb', 'UserListClosingReason'],
408
- UserListCombinedRuleOperator: ['user_list_combined_rule_operator_pb', 'UserListCombinedRuleOperator'],
409
- UserListCrmDataSourceType: ['user_list_crm_data_source_type_pb', 'UserListCrmDataSourceType'],
410
- UserListDateRuleItemOperator: ['user_list_date_rule_item_operator_pb', 'UserListDateRuleItemOperator'],
411
- UserListLogicalRuleOperator: ['user_list_logical_rule_operator_pb', 'UserListLogicalRuleOperator'],
412
- UserListMembershipStatus: ['user_list_membership_status_pb', 'UserListMembershipStatus'],
413
- UserListNumberRuleItemOperator: ['user_list_number_rule_item_operator_pb', 'UserListNumberRuleItemOperator'],
414
- UserListPrepopulationStatus: ['user_list_prepopulation_status_pb', 'UserListPrepopulationStatus'],
415
- UserListRuleType: ['user_list_rule_type_pb', 'UserListRuleType'],
416
- UserListSizeRange: ['user_list_size_range_pb', 'UserListSizeRange'],
417
- UserListStringRuleItemOperator: ['user_list_string_rule_item_operator_pb', 'UserListStringRuleItemOperator'],
418
- UserListType: ['user_list_type_pb', 'UserListType'],
419
- VanityPharmaDisplayUrlMode: ['vanity_pharma_display_url_mode_pb', 'VanityPharmaDisplayUrlMode'],
420
- VanityPharmaText: ['vanity_pharma_text_pb', 'VanityPharmaText'],
421
- WebpageConditionOperand: ['webpage_condition_operand_pb', 'WebpageConditionOperand'],
422
- WebpageConditionOperator: ['webpage_condition_operator_pb', 'WebpageConditionOperator'],
423
- }.freeze
424
-
425
- SERVICES = {
426
- AccountBudgetProposal: ['account_budget_proposal_service_client', 'AccountBudgetProposalServiceClient'],
427
- AccountBudget: ['account_budget_service_client', 'AccountBudgetServiceClient'],
428
- AdGroupAd: ['ad_group_ad_service_client', 'AdGroupAdServiceClient'],
429
- AdGroupAudienceView: ['ad_group_audience_view_service_client', 'AdGroupAudienceViewServiceClient'],
430
- AdGroupBidModifier: ['ad_group_bid_modifier_service_client', 'AdGroupBidModifierServiceClient'],
431
- AdGroupCriterion: ['ad_group_criterion_service_client', 'AdGroupCriterionServiceClient'],
432
- AdGroupFeed: ['ad_group_feed_service_client', 'AdGroupFeedServiceClient'],
433
- AdGroup: ['ad_group_service_client', 'AdGroupServiceClient'],
434
- AdParameter: ['ad_parameter_service_client', 'AdParameterServiceClient'],
435
- AdScheduleView: ['ad_schedule_view_service_client', 'AdScheduleViewServiceClient'],
436
- AgeRangeView: ['age_range_view_service_client', 'AgeRangeViewServiceClient'],
437
- BiddingStrategy: ['bidding_strategy_service_client', 'BiddingStrategyServiceClient'],
438
- BillingSetup: ['billing_setup_service_client', 'BillingSetupServiceClient'],
439
- CampaignAudienceView: ['campaign_audience_view_service_client', 'CampaignAudienceViewServiceClient'],
440
- CampaignBidModifier: ['campaign_bid_modifier_service_client', 'CampaignBidModifierServiceClient'],
441
- CampaignBudget: ['campaign_budget_service_client', 'CampaignBudgetServiceClient'],
442
- CampaignCriterion: ['campaign_criterion_service_client', 'CampaignCriterionServiceClient'],
443
- CampaignFeed: ['campaign_feed_service_client', 'CampaignFeedServiceClient'],
444
- Campaign: ['campaign_service_client', 'CampaignServiceClient'],
445
- CampaignSharedSet: ['campaign_shared_set_service_client', 'CampaignSharedSetServiceClient'],
446
- CarrierConstant: ['carrier_constant_service_client', 'CarrierConstantServiceClient'],
447
- ChangeStatus: ['change_status_service_client', 'ChangeStatusServiceClient'],
448
- ConversionAction: ['conversion_action_service_client', 'ConversionActionServiceClient'],
449
- CustomerClientLink: ['customer_client_link_service_client', 'CustomerClientLinkServiceClient'],
450
- CustomerClient: ['customer_client_service_client', 'CustomerClientServiceClient'],
451
- CustomerFeed: ['customer_feed_service_client', 'CustomerFeedServiceClient'],
452
- CustomerManagerLink: ['customer_manager_link_service_client', 'CustomerManagerLinkServiceClient'],
453
- Customer: ['customer_service_client', 'CustomerServiceClient'],
454
- DisplayKeywordView: ['display_keyword_view_service_client', 'DisplayKeywordViewServiceClient'],
455
- FeedItem: ['feed_item_service_client', 'FeedItemServiceClient'],
456
- FeedMapping: ['feed_mapping_service_client', 'FeedMappingServiceClient'],
457
- Feed: ['feed_service_client', 'FeedServiceClient'],
458
- GenderView: ['gender_view_service_client', 'GenderViewServiceClient'],
459
- GeoTargetConstant: ['geo_target_constant_service_client', 'GeoTargetConstantServiceClient'],
460
- GoogleAdsField: ['google_ads_field_service_client', 'GoogleAdsFieldServiceClient'],
461
- GoogleAds: ['google_ads_service_client', 'GoogleAdsServiceClient'],
462
- HotelGroupView: ['hotel_group_view_service_client', 'HotelGroupViewServiceClient'],
463
- HotelPerformanceView: ['hotel_performance_view_service_client', 'HotelPerformanceViewServiceClient'],
464
- KeywordPlanAdGroup: ['keyword_plan_ad_group_service_client', 'KeywordPlanAdGroupServiceClient'],
465
- KeywordPlanCampaign: ['keyword_plan_campaign_service_client', 'KeywordPlanCampaignServiceClient'],
466
- KeywordPlanIdea: ['keyword_plan_idea_service_client', 'KeywordPlanIdeaServiceClient'],
467
- KeywordPlanKeyword: ['keyword_plan_keyword_service_client', 'KeywordPlanKeywordServiceClient'],
468
- KeywordPlanNegativeKeyword: ['keyword_plan_negative_keyword_service_client', 'KeywordPlanNegativeKeywordServiceClient'],
469
- KeywordPlan: ['keyword_plan_service_client', 'KeywordPlanServiceClient'],
470
- KeywordView: ['keyword_view_service_client', 'KeywordViewServiceClient'],
471
- LanguageConstant: ['language_constant_service_client', 'LanguageConstantServiceClient'],
472
- ManagedPlacementView: ['managed_placement_view_service_client', 'ManagedPlacementViewServiceClient'],
473
- MediaFile: ['media_file_service_client', 'MediaFileServiceClient'],
474
- MobileAppCategoryConstant: ['mobile_app_category_constant_service_client', 'MobileAppCategoryConstantServiceClient'],
475
- MobileDeviceConstant: ['mobile_device_constant_service_client', 'MobileDeviceConstantServiceClient'],
476
- OperatingSystemVersionConstant: ['operating_system_version_constant_service_client', 'OperatingSystemVersionConstantServiceClient'],
477
- PaymentsAccount: ['payments_account_service_client', 'PaymentsAccountServiceClient'],
478
- ParentalStatusView: ['parental_status_view_service_client', 'ParentalStatusViewServiceClient'],
479
- ProductGroupView: ['product_group_view_service_client', 'ProductGroupViewServiceClient'],
480
- Recommendation: ['recommendation_service_client', 'RecommendationServiceClient'],
481
- RemarketingAction: ['remarketing_action_service_client', 'RemarketingActionServiceClient'],
482
- SearchTermView: ['search_term_view_service_client', 'SearchTermViewServiceClient'],
483
- SharedCriterion: ['shared_criterion_service_client', 'SharedCriterionServiceClient'],
484
- SharedSet: ['shared_set_service_client', 'SharedSetServiceClient'],
485
- TopicConstant: ['topic_constant_service_client', 'TopicConstantServiceClient'],
486
- TopicView: ['topic_view_service_client', 'TopicViewServiceClient'],
487
- UserInterest: ['user_interest_service_client', 'UserInterestServiceClient'],
488
- UserList: ['user_list_service_client', 'UserListServiceClient'],
489
- Video: ['video_service_client', 'VideoServiceClient']
490
- }.freeze
491
-
492
- OPERATIONS = {
493
- AccountBudgetProposal: ['account_budget_proposal_service_pb', 'AccountBudgetProposalOperation'],
494
- AdGroupAd: ['ad_group_ad_service_pb', 'AdGroupAdOperation'],
495
- AdGroupBidModifier: ['ad_group_bid_modifier_service_pb', 'AdGroupBidModifierOperation'],
496
- AdGroupCriterion: ['ad_group_criterion_service_pb', 'AdGroupCriterionOperation'],
497
- AdGroupFeed: ['ad_group_feed_service_pb', 'AdGroupFeedOperation'],
498
- AdGroup: ['ad_group_service_pb', 'AdGroupOperation'],
499
- AdParameter: ['ad_parameter_service_pb', 'AdParameterOperation'],
500
- ApplyRecommendation: ['recommendation_service_pb', 'ApplyRecommendationOperation'],
501
- BiddingStrategy: ['bidding_strategy_service_pb', 'BiddingStrategyOperation'],
502
- BillingSetup: ['billing_setup_service_pb', 'BillingSetupOperation'],
503
- CampaignBidModifier: ['campaign_bid_modifier_service_pb', 'CampaignBidModifierOperation'],
504
- CampaignBudget: ['campaign_budget_service_pb', 'CampaignBudgetOperation'],
505
- CampaignCriterion: ['campaign_criterion_service_pb', 'CampaignCriterionOperation'],
506
- CampaignFeed: ['campaign_feed_service_pb', 'CampaignFeedOperation'],
507
- Campaign: ['campaign_service_pb', 'CampaignOperation'],
508
- CampaignSharedSet: ['campaign_shared_set_service_pb', 'CampaignSharedSetOperation'],
509
- CustomerFeed: ['customer_feed_service_pb', 'CustomerFeedOperation'],
510
- Customer: ['customer_service_pb', 'CustomerOperation'],
511
- ConversionAction: ['conversion_action_service_pb', 'ConversionActionOperation'],
512
- DismissRecommendation: ['recommendation_service_pb', 'DismissRecommendationRequest::DismissRecommendationOperation'],
513
- FeedItem: ['feed_item_service_pb', 'FeedItemOperation'],
514
- FeedMapping: ['feed_mapping_service_pb', 'FeedMappingOperation'],
515
- Feed: ['feed_service_pb', 'FeedOperation'],
516
- KeywordPlanAdGroup: ['keyword_plan_ad_group_service_pb', 'KeywordPlanAdGroupOperation'],
517
- KeywordPlanCampaign: ['keyword_plan_campaign_service_pb', 'KeywordPlanCampaignOperation'],
518
- KeywordPlanKeyword: ['keyword_plan_keyword_service_pb','KeywordPlanKeywordOperation'],
519
- KeywordPlanNegativeKeyword: ['keyword_plan_negative_keyword_service_pb', 'KeywordPlanNegativeKeywordOperation'],
520
- KeywordPlan: ['keyword_plan_service_pb', 'KeywordPlanOperation'],
521
- MediaFile: ['media_file_service_pb', 'MediaFileOperation'],
522
- Mutate: ['google_ads_service_pb', 'MutateOperation'],
523
- RemarketingAction: ['remarketing_action_service_pb', 'RemarketingActionOperation'],
524
- SharedCriterion: ['shared_criterion_service_pb', 'SharedCriterionOperation'],
525
- SharedSet: ['shared_set_service_pb', 'SharedSetOperation'],
526
- UserList: ['user_list_service_pb', 'UserListOperation']
527
- }.freeze
528
-
529
- def initialize()
530
- @version = :V0
531
- @path_version = @version.downcase
532
- end
533
-
534
- # Look up the class for a resource by name.
535
- def resource(name)
536
- name = name.to_sym
537
-
538
- resource_info = RESOURCES[name]
539
- if resource_info.nil?
540
- raise ArgumentError, sprintf('No resource found with name %s', name)
541
- end
542
-
543
- require_path = sprintf(RESOURCE_PATH, @path_version, resource_info[0],
544
- resource_info[1])
545
- require require_path
546
-
547
- class_path = RESOURCE_CLASS_PATH
548
- class_path = COMMON_CLASS_PATH if resource_info.first == 'common'
549
- class_path = SERVICE_CLASS_PATH if resource_info.first == 'services'
550
- class_path = sprintf(class_path, @version, resource_info[2])
551
- return class_for_path(class_path)
552
- end
553
-
554
- # Look up the class for an enum by name.
555
- def enum(name)
556
- name = name.to_sym
557
-
558
- enum_info = ENUMS[name]
559
- if enum_info.nil?
560
- raise ArgumentError, sprintf('No enum found with name %s', name)
561
- end
562
-
563
- require_path = sprintf(ENUM_PATH, @path_version, enum_info.first)
564
- require require_path
565
-
566
- class_path = sprintf(ENUM_CLASS_PATH, @version, enum_info.last,
567
- enum_info.last)
568
- return class_for_path(class_path)
569
- end
570
-
571
- # Look up the class for a service by name.
572
- def service(name)
573
- name = name.to_sym
574
-
575
- service_info = SERVICES[name]
576
- if service_info.nil?
577
- raise ArgumentError, sprintf('No service found with name %s', name)
578
- end
579
-
580
- require_path = sprintf(SERVICE_PATH, @path_version,
581
- service_info.first)
582
- require require_path
583
-
584
- class_path = sprintf(SERVICE_CLASS_PATH, @version, service_info.last)
585
- return class_for_path(class_path)
586
- end
587
-
588
- # Look up the class for an operation by name.
589
- def operation(name)
590
- name = name.to_sym
591
-
592
- operation_info = OPERATIONS[name]
593
- if operation_info.nil?
594
- raise ArgumentError,
595
- sprintf('No operation found with name %s', name)
596
- end
597
-
598
- require_path = sprintf(SERVICE_PATH, @path_version,
599
- operation_info.first)
600
- require require_path
601
-
602
- class_path = sprintf(SERVICE_CLASS_PATH, @version,
603
- operation_info.last)
604
- return class_for_path(class_path)
605
- end
606
-
607
- private
608
-
609
- # Converts complete class path into class object.
610
- def class_for_path(path)
611
- path.split('::').inject(Kernel) do |scope, const_name|
612
- scope.const_get(const_name)
613
- end
614
- end
615
- end
616
- end
617
- end
618
- end
619
- end
620
- end