google-ads-googleads 4.0.0 → 5.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (899) hide show
  1. checksums.yaml +4 -4
  2. data/ChangeLog +2 -0
  3. data/Rakefile +1 -25
  4. data/lib/google/ads/google_ads/api_versions.rb +2 -2
  5. data/lib/google/ads/google_ads/autoboxing_fields.rb +1 -0
  6. data/lib/google/ads/google_ads/error_transformer.rb +37 -0
  7. data/lib/google/ads/google_ads/factories.rb +21 -2
  8. data/lib/google/ads/google_ads/factories/v3/enums.rb +2595 -0
  9. data/lib/google/ads/google_ads/factories/v3/operations.rb +3698 -0
  10. data/lib/google/ads/google_ads/factories/v3/resources.rb +5770 -0
  11. data/lib/google/ads/google_ads/factories/v3/services.rb +2173 -0
  12. data/lib/google/ads/google_ads/google_ads_client.rb +12 -29
  13. data/lib/google/ads/google_ads/logging_interceptor.rb +26 -0
  14. data/lib/google/ads/google_ads/search_stream_intercepting_factory.rb +49 -0
  15. data/lib/google/ads/google_ads/service_lookup.rb +13 -33
  16. data/lib/google/ads/google_ads/utils/v3/path_lookup_util.rb +876 -0
  17. data/lib/google/ads/google_ads/v3/common/ad_asset_pb.rb +30 -0
  18. data/lib/google/ads/google_ads/v3/common/ad_type_infos_pb.rb +228 -0
  19. data/lib/google/ads/google_ads/v3/common/asset_types_pb.rb +38 -0
  20. data/lib/google/ads/google_ads/v3/common/bidding_pb.rb +68 -0
  21. data/lib/google/ads/google_ads/v3/common/click_location_pb.rb +20 -0
  22. data/lib/google/ads/google_ads/v3/common/criteria_pb.rb +297 -0
  23. data/lib/google/ads/google_ads/v3/common/criterion_category_availability_pb.rb +34 -0
  24. data/lib/google/ads/google_ads/v3/common/custom_parameter_pb.rb +17 -0
  25. data/lib/google/ads/google_ads/v3/common/dates_pb.rb +17 -0
  26. data/lib/google/ads/google_ads/v3/common/explorer_auto_optimizer_setting_pb.rb +16 -0
  27. data/lib/google/ads/google_ads/v3/common/extensions_pb.rb +138 -0
  28. data/lib/google/ads/google_ads/v3/common/feed_common_pb.rb +17 -0
  29. data/lib/google/ads/google_ads/v3/common/final_app_url_pb.rb +18 -0
  30. data/lib/google/ads/google_ads/v3/common/frequency_cap_pb.rb +27 -0
  31. data/lib/google/ads/google_ads/v3/common/keyword_plan_common_pb.rb +18 -0
  32. data/lib/google/ads/google_ads/v3/common/matching_function_pb.rb +52 -0
  33. data/lib/google/ads/google_ads/v3/common/metrics_pb.rb +128 -0
  34. data/lib/google/ads/google_ads/v3/common/policy_pb.rb +91 -0
  35. data/lib/google/ads/google_ads/v3/common/real_time_bidding_setting_pb.rb +16 -0
  36. data/lib/google/ads/google_ads/v3/common/segments_pb.rb +119 -0
  37. data/lib/google/ads/google_ads/v3/common/simulation_pb.rb +72 -0
  38. data/lib/google/ads/google_ads/v3/common/tag_snippet_pb.rb +21 -0
  39. data/lib/google/ads/google_ads/v3/common/targeting_setting_pb.rb +35 -0
  40. data/lib/google/ads/google_ads/v3/common/text_label_pb.rb +17 -0
  41. data/lib/google/ads/google_ads/v3/common/url_collection_pb.rb +19 -0
  42. data/lib/google/ads/google_ads/v3/common/user_lists_pb.rb +114 -0
  43. data/lib/google/ads/google_ads/v3/common/value_pb.rb +21 -0
  44. data/lib/google/ads/google_ads/v3/enums/access_reason_pb.rb +24 -0
  45. data/lib/google/ads/google_ads/v3/enums/access_role_pb.rb +22 -0
  46. data/lib/google/ads/google_ads/v3/enums/account_budget_proposal_status_pb.rb +24 -0
  47. data/lib/google/ads/google_ads/v3/enums/account_budget_proposal_type_pb.rb +23 -0
  48. data/lib/google/ads/google_ads/v3/enums/account_budget_status_pb.rb +22 -0
  49. data/lib/google/ads/google_ads/v3/enums/ad_customizer_placeholder_field_pb.rb +23 -0
  50. data/lib/google/ads/google_ads/v3/enums/ad_group_ad_rotation_mode_pb.rb +21 -0
  51. data/lib/google/ads/google_ads/v3/enums/ad_group_ad_status_pb.rb +22 -0
  52. data/lib/google/ads/google_ads/v3/enums/ad_group_criterion_approval_status_pb.rb +23 -0
  53. data/lib/google/ads/google_ads/v3/enums/ad_group_criterion_status_pb.rb +22 -0
  54. data/lib/google/ads/google_ads/v3/enums/ad_group_status_pb.rb +22 -0
  55. data/lib/google/ads/google_ads/v3/enums/ad_group_type_pb.rb +32 -0
  56. data/lib/google/ads/google_ads/v3/enums/ad_network_type_pb.rb +25 -0
  57. data/lib/google/ads/google_ads/v3/enums/ad_serving_optimization_status_pb.rb +24 -0
  58. data/lib/google/ads/google_ads/v3/enums/ad_strength_pb.rb +25 -0
  59. data/lib/google/ads/google_ads/v3/enums/ad_type_pb.rb +38 -0
  60. data/lib/google/ads/google_ads/v3/enums/advertising_channel_sub_type_pb.rb +32 -0
  61. data/lib/google/ads/google_ads/v3/enums/advertising_channel_type_pb.rb +25 -0
  62. data/lib/google/ads/google_ads/v3/enums/affiliate_location_feed_relationship_type_pb.rb +20 -0
  63. data/lib/google/ads/google_ads/v3/enums/affiliate_location_placeholder_field_pb.rb +30 -0
  64. data/lib/google/ads/google_ads/v3/enums/age_range_type_pb.rb +26 -0
  65. data/lib/google/ads/google_ads/v3/enums/app_campaign_app_store_pb.rb +21 -0
  66. data/lib/google/ads/google_ads/v3/enums/app_campaign_bidding_strategy_goal_type_pb.rb +23 -0
  67. data/lib/google/ads/google_ads/v3/enums/app_payment_model_type_pb.rb +20 -0
  68. data/lib/google/ads/google_ads/v3/enums/app_placeholder_field_pb.rb +27 -0
  69. data/lib/google/ads/google_ads/v3/enums/app_store_pb.rb +21 -0
  70. data/lib/google/ads/google_ads/v3/enums/app_url_operating_system_type_pb.rb +21 -0
  71. data/lib/google/ads/google_ads/v3/enums/asset_field_type_pb.rb +25 -0
  72. data/lib/google/ads/google_ads/v3/enums/asset_performance_label_pb.rb +24 -0
  73. data/lib/google/ads/google_ads/v3/enums/asset_type_pb.rb +23 -0
  74. data/lib/google/ads/google_ads/v3/enums/attribution_model_pb.rb +26 -0
  75. data/lib/google/ads/google_ads/v3/enums/bid_modifier_source_pb.rb +21 -0
  76. data/lib/google/ads/google_ads/v3/enums/bidding_source_pb.rb +22 -0
  77. data/lib/google/ads/google_ads/v3/enums/bidding_strategy_status_pb.rb +21 -0
  78. data/lib/google/ads/google_ads/v3/enums/bidding_strategy_type_pb.rb +34 -0
  79. data/lib/google/ads/google_ads/v3/enums/billing_setup_status_pb.rb +23 -0
  80. data/lib/google/ads/google_ads/v3/enums/brand_safety_suitability_pb.rb +22 -0
  81. data/lib/google/ads/google_ads/v3/enums/budget_delivery_method_pb.rb +21 -0
  82. data/lib/google/ads/google_ads/v3/enums/budget_period_pb.rb +20 -0
  83. data/lib/google/ads/google_ads/v3/enums/budget_status_pb.rb +21 -0
  84. data/lib/google/ads/google_ads/v3/enums/budget_type_pb.rb +22 -0
  85. data/lib/google/ads/google_ads/v3/enums/call_conversion_reporting_state_pb.rb +22 -0
  86. data/lib/google/ads/google_ads/v3/enums/call_placeholder_field_pb.rb +24 -0
  87. data/lib/google/ads/google_ads/v3/enums/callout_placeholder_field_pb.rb +20 -0
  88. data/lib/google/ads/google_ads/v3/enums/campaign_criterion_status_pb.rb +22 -0
  89. data/lib/google/ads/google_ads/v3/enums/campaign_draft_status_pb.rb +24 -0
  90. data/lib/google/ads/google_ads/v3/enums/campaign_experiment_status_pb.rb +28 -0
  91. data/lib/google/ads/google_ads/v3/enums/campaign_experiment_traffic_split_type_pb.rb +21 -0
  92. data/lib/google/ads/google_ads/v3/enums/campaign_experiment_type_pb.rb +22 -0
  93. data/lib/google/ads/google_ads/v3/enums/campaign_serving_status_pb.rb +24 -0
  94. data/lib/google/ads/google_ads/v3/enums/campaign_shared_set_status_pb.rb +21 -0
  95. data/lib/google/ads/google_ads/v3/enums/campaign_status_pb.rb +22 -0
  96. data/lib/google/ads/google_ads/v3/enums/change_status_operation_pb.rb +22 -0
  97. data/lib/google/ads/google_ads/v3/enums/change_status_resource_type_pb.rb +29 -0
  98. data/lib/google/ads/google_ads/v3/enums/click_type_pb.rb +72 -0
  99. data/lib/google/ads/google_ads/v3/enums/content_label_type_pb.rb +34 -0
  100. data/lib/google/ads/google_ads/v3/enums/conversion_action_category_pb.rb +25 -0
  101. data/lib/google/ads/google_ads/v3/enums/conversion_action_counting_type_pb.rb +21 -0
  102. data/lib/google/ads/google_ads/v3/enums/conversion_action_status_pb.rb +22 -0
  103. data/lib/google/ads/google_ads/v3/enums/conversion_action_type_pb.rb +27 -0
  104. data/lib/google/ads/google_ads/v3/enums/conversion_adjustment_type_pb.rb +21 -0
  105. data/lib/google/ads/google_ads/v3/enums/conversion_attribution_event_type_pb.rb +21 -0
  106. data/lib/google/ads/google_ads/v3/enums/conversion_lag_bucket_pb.rb +38 -0
  107. data/lib/google/ads/google_ads/v3/enums/conversion_or_adjustment_lag_bucket_pb.rb +60 -0
  108. data/lib/google/ads/google_ads/v3/enums/criterion_category_channel_availability_mode_pb.rb +22 -0
  109. data/lib/google/ads/google_ads/v3/enums/criterion_category_locale_availability_mode_pb.rb +23 -0
  110. data/lib/google/ads/google_ads/v3/enums/criterion_system_serving_status_pb.rb +21 -0
  111. data/lib/google/ads/google_ads/v3/enums/criterion_type_pb.rb +49 -0
  112. data/lib/google/ads/google_ads/v3/enums/custom_interest_member_type_pb.rb +21 -0
  113. data/lib/google/ads/google_ads/v3/enums/custom_interest_status_pb.rb +21 -0
  114. data/lib/google/ads/google_ads/v3/enums/custom_interest_type_pb.rb +21 -0
  115. data/lib/google/ads/google_ads/v3/enums/custom_placeholder_field_pb.rb +39 -0
  116. data/lib/google/ads/google_ads/v3/enums/customer_match_upload_key_type_pb.rb +22 -0
  117. data/lib/google/ads/google_ads/v3/enums/customer_pay_per_conversion_eligibility_failure_reason_pb.rb +26 -0
  118. data/lib/google/ads/google_ads/v3/enums/data_driven_model_status_pb.rb +23 -0
  119. data/lib/google/ads/google_ads/v3/enums/day_of_week_pb.rb +26 -0
  120. data/lib/google/ads/google_ads/v3/enums/device_pb.rb +24 -0
  121. data/lib/google/ads/google_ads/v3/enums/display_ad_format_setting_pb.rb +22 -0
  122. data/lib/google/ads/google_ads/v3/enums/display_upload_product_type_pb.rb +29 -0
  123. data/lib/google/ads/google_ads/v3/enums/distance_bucket_pb.rb +46 -0
  124. data/lib/google/ads/google_ads/v3/enums/dsa_page_feed_criterion_field_pb.rb +21 -0
  125. data/lib/google/ads/google_ads/v3/enums/education_placeholder_field_pb.rb +36 -0
  126. data/lib/google/ads/google_ads/v3/enums/extension_setting_device_pb.rb +21 -0
  127. data/lib/google/ads/google_ads/v3/enums/extension_type_pb.rb +31 -0
  128. data/lib/google/ads/google_ads/v3/enums/external_conversion_source_pb.rb +40 -0
  129. data/lib/google/ads/google_ads/v3/enums/feed_attribute_type_pb.rb +32 -0
  130. data/lib/google/ads/google_ads/v3/enums/feed_item_quality_approval_status_pb.rb +21 -0
  131. data/lib/google/ads/google_ads/v3/enums/feed_item_quality_disapproval_reason_pb.rb +37 -0
  132. data/lib/google/ads/google_ads/v3/enums/feed_item_status_pb.rb +21 -0
  133. data/lib/google/ads/google_ads/v3/enums/feed_item_target_device_pb.rb +20 -0
  134. data/lib/google/ads/google_ads/v3/enums/feed_item_target_status_pb.rb +21 -0
  135. data/lib/google/ads/google_ads/v3/enums/feed_item_target_type_pb.rb +22 -0
  136. data/lib/google/ads/google_ads/v3/enums/feed_item_validation_status_pb.rb +22 -0
  137. data/lib/google/ads/google_ads/v3/enums/feed_link_status_pb.rb +21 -0
  138. data/lib/google/ads/google_ads/v3/enums/feed_mapping_criterion_type_pb.rb +21 -0
  139. data/lib/google/ads/google_ads/v3/enums/feed_mapping_status_pb.rb +21 -0
  140. data/lib/google/ads/google_ads/v3/enums/feed_origin_pb.rb +21 -0
  141. data/lib/google/ads/google_ads/v3/enums/feed_status_pb.rb +21 -0
  142. data/lib/google/ads/google_ads/v3/enums/flight_placeholder_field_pb.rb +36 -0
  143. data/lib/google/ads/google_ads/v3/enums/frequency_cap_event_type_pb.rb +21 -0
  144. data/lib/google/ads/google_ads/v3/enums/frequency_cap_level_pb.rb +22 -0
  145. data/lib/google/ads/google_ads/v3/enums/frequency_cap_time_unit_pb.rb +22 -0
  146. data/lib/google/ads/google_ads/v3/enums/gender_type_pb.rb +22 -0
  147. data/lib/google/ads/google_ads/v3/enums/geo_target_constant_status_pb.rb +21 -0
  148. data/lib/google/ads/google_ads/v3/enums/geo_targeting_restriction_pb.rb +20 -0
  149. data/lib/google/ads/google_ads/v3/enums/geo_targeting_type_pb.rb +21 -0
  150. data/lib/google/ads/google_ads/v3/enums/google_ads_field_category_pb.rb +23 -0
  151. data/lib/google/ads/google_ads/v3/enums/google_ads_field_data_type_pb.rb +30 -0
  152. data/lib/google/ads/google_ads/v3/enums/hotel_date_selection_type_pb.rb +21 -0
  153. data/lib/google/ads/google_ads/v3/enums/hotel_placeholder_field_pb.rb +39 -0
  154. data/lib/google/ads/google_ads/v3/enums/hotel_price_bucket_pb.rb +21 -0
  155. data/lib/google/ads/google_ads/v3/enums/hotel_rate_type_pb.rb +23 -0
  156. data/lib/google/ads/google_ads/v3/enums/income_range_type_pb.rb +26 -0
  157. data/lib/google/ads/google_ads/v3/enums/interaction_event_type_pb.rb +23 -0
  158. data/lib/google/ads/google_ads/v3/enums/interaction_type_pb.rb +20 -0
  159. data/lib/google/ads/google_ads/v3/enums/invoice_type_pb.rb +21 -0
  160. data/lib/google/ads/google_ads/v3/enums/job_placeholder_field_pb.rb +36 -0
  161. data/lib/google/ads/google_ads/v3/enums/keyword_match_type_pb.rb +22 -0
  162. data/lib/google/ads/google_ads/v3/enums/keyword_plan_competition_level_pb.rb +22 -0
  163. data/lib/google/ads/google_ads/v3/enums/keyword_plan_forecast_interval_pb.rb +22 -0
  164. data/lib/google/ads/google_ads/v3/enums/keyword_plan_network_pb.rb +21 -0
  165. data/lib/google/ads/google_ads/v3/enums/label_status_pb.rb +21 -0
  166. data/lib/google/ads/google_ads/v3/enums/legacy_app_install_ad_app_store_pb.rb +24 -0
  167. data/lib/google/ads/google_ads/v3/enums/listing_group_type_pb.rb +21 -0
  168. data/lib/google/ads/google_ads/v3/enums/local_placeholder_field_pb.rb +38 -0
  169. data/lib/google/ads/google_ads/v3/enums/location_extension_targeting_criterion_field_pb.rb +25 -0
  170. data/lib/google/ads/google_ads/v3/enums/location_group_radius_units_pb.rb +21 -0
  171. data/lib/google/ads/google_ads/v3/enums/location_placeholder_field_pb.rb +27 -0
  172. data/lib/google/ads/google_ads/v3/enums/manager_link_status_pb.rb +24 -0
  173. data/lib/google/ads/google_ads/v3/enums/matching_function_context_type_pb.rb +21 -0
  174. data/lib/google/ads/google_ads/v3/enums/matching_function_operator_pb.rb +24 -0
  175. data/lib/google/ads/google_ads/v3/enums/media_type_pb.rb +25 -0
  176. data/lib/google/ads/google_ads/v3/enums/merchant_center_link_status_pb.rb +21 -0
  177. data/lib/google/ads/google_ads/v3/enums/message_placeholder_field_pb.rb +24 -0
  178. data/lib/google/ads/google_ads/v3/enums/mime_type_pb.rb +31 -0
  179. data/lib/google/ads/google_ads/v3/enums/minute_of_hour_pb.rb +23 -0
  180. data/lib/google/ads/google_ads/v3/enums/mobile_device_type_pb.rb +21 -0
  181. data/lib/google/ads/google_ads/v3/enums/month_of_year_pb.rb +31 -0
  182. data/lib/google/ads/google_ads/v3/enums/mutate_job_status_pb.rb +22 -0
  183. data/lib/google/ads/google_ads/v3/enums/negative_geo_target_type_pb.rb +21 -0
  184. data/lib/google/ads/google_ads/v3/enums/operating_system_version_operator_type_pb.rb +21 -0
  185. data/lib/google/ads/google_ads/v3/enums/page_one_promoted_strategy_goal_pb.rb +11 -0
  186. data/lib/google/ads/google_ads/v3/enums/parental_status_type_pb.rb +22 -0
  187. data/lib/google/ads/google_ads/v3/enums/payment_mode_pb.rb +23 -0
  188. data/lib/google/ads/google_ads/v3/enums/placeholder_type_pb.rb +38 -0
  189. data/lib/google/ads/google_ads/v3/enums/placement_type_pb.rb +24 -0
  190. data/lib/google/ads/google_ads/v3/enums/policy_approval_status_pb.rb +23 -0
  191. data/lib/google/ads/google_ads/v3/enums/policy_review_status_pb.rb +23 -0
  192. data/lib/google/ads/google_ads/v3/enums/policy_topic_entry_type_pb.rb +25 -0
  193. data/lib/google/ads/google_ads/v3/enums/policy_topic_evidence_destination_mismatch_url_type_pb.rb +24 -0
  194. data/lib/google/ads/google_ads/v3/enums/policy_topic_evidence_destination_not_working_device_pb.rb +22 -0
  195. data/lib/google/ads/google_ads/v3/enums/policy_topic_evidence_destination_not_working_dns_error_type_pb.rb +21 -0
  196. data/lib/google/ads/google_ads/v3/enums/positive_geo_target_type_pb.rb +22 -0
  197. data/lib/google/ads/google_ads/v3/enums/preferred_content_type_pb.rb +20 -0
  198. data/lib/google/ads/google_ads/v3/enums/price_extension_price_qualifier_pb.rb +22 -0
  199. data/lib/google/ads/google_ads/v3/enums/price_extension_price_unit_pb.rb +25 -0
  200. data/lib/google/ads/google_ads/v3/enums/price_extension_type_pb.rb +28 -0
  201. data/lib/google/ads/google_ads/v3/enums/price_placeholder_field_pb.rb +72 -0
  202. data/lib/google/ads/google_ads/v3/enums/product_bidding_category_level_pb.rb +24 -0
  203. data/lib/google/ads/google_ads/v3/enums/product_bidding_category_status_pb.rb +21 -0
  204. data/lib/google/ads/google_ads/v3/enums/product_channel_exclusivity_pb.rb +21 -0
  205. data/lib/google/ads/google_ads/v3/enums/product_channel_pb.rb +21 -0
  206. data/lib/google/ads/google_ads/v3/enums/product_condition_pb.rb +22 -0
  207. data/lib/google/ads/google_ads/v3/enums/product_custom_attribute_index_pb.rb +24 -0
  208. data/lib/google/ads/google_ads/v3/enums/product_type_level_pb.rb +24 -0
  209. data/lib/google/ads/google_ads/v3/enums/promotion_extension_discount_modifier_pb.rb +20 -0
  210. data/lib/google/ads/google_ads/v3/enums/promotion_extension_occasion_pb.rb +56 -0
  211. data/lib/google/ads/google_ads/v3/enums/promotion_placeholder_field_pb.rb +33 -0
  212. data/lib/google/ads/google_ads/v3/enums/proximity_radius_units_pb.rb +21 -0
  213. data/lib/google/ads/google_ads/v3/enums/quality_score_bucket_pb.rb +22 -0
  214. data/lib/google/ads/google_ads/v3/enums/reach_plan_ad_length_pb.rb +22 -0
  215. data/lib/google/ads/google_ads/v3/enums/reach_plan_age_range_pb.rb +45 -0
  216. data/lib/google/ads/google_ads/v3/enums/reach_plan_network_pb.rb +22 -0
  217. data/lib/google/ads/google_ads/v3/enums/real_estate_placeholder_field_pb.rb +37 -0
  218. data/lib/google/ads/google_ads/v3/enums/recommendation_type_pb.rb +33 -0
  219. data/lib/google/ads/google_ads/v3/enums/search_engine_results_page_type_pb.rb +22 -0
  220. data/lib/google/ads/google_ads/v3/enums/search_term_match_type_pb.rb +24 -0
  221. data/lib/google/ads/google_ads/v3/enums/search_term_targeting_status_pb.rb +23 -0
  222. data/lib/google/ads/google_ads/v3/enums/served_asset_field_type_pb.rb +24 -0
  223. data/lib/google/ads/google_ads/v3/enums/shared_set_status_pb.rb +21 -0
  224. data/lib/google/ads/google_ads/v3/enums/shared_set_type_pb.rb +21 -0
  225. data/lib/google/ads/google_ads/v3/enums/simulation_modification_method_pb.rb +21 -0
  226. data/lib/google/ads/google_ads/v3/enums/simulation_type_pb.rb +23 -0
  227. data/lib/google/ads/google_ads/v3/enums/sitelink_placeholder_field_pb.rb +26 -0
  228. data/lib/google/ads/google_ads/v3/enums/slot_pb.rb +26 -0
  229. data/lib/google/ads/google_ads/v3/enums/spending_limit_type_pb.rb +20 -0
  230. data/lib/google/ads/google_ads/v3/enums/structured_snippet_placeholder_field_pb.rb +21 -0
  231. data/lib/google/ads/google_ads/v3/enums/summary_row_setting_pb.rb +22 -0
  232. data/lib/google/ads/google_ads/v3/enums/system_managed_entity_source_pb.rb +20 -0
  233. data/lib/google/ads/google_ads/v3/enums/target_cpa_opt_in_recommendation_goal_pb.rb +23 -0
  234. data/lib/google/ads/google_ads/v3/enums/target_impression_share_location_pb.rb +22 -0
  235. data/lib/google/ads/google_ads/v3/enums/targeting_dimension_pb.rb +27 -0
  236. data/lib/google/ads/google_ads/v3/enums/time_type_pb.rb +21 -0
  237. data/lib/google/ads/google_ads/v3/enums/tracking_code_page_format_pb.rb +21 -0
  238. data/lib/google/ads/google_ads/v3/enums/tracking_code_type_pb.rb +23 -0
  239. data/lib/google/ads/google_ads/v3/enums/travel_placeholder_field_pb.rb +39 -0
  240. data/lib/google/ads/google_ads/v3/enums/user_interest_taxonomy_type_pb.rb +24 -0
  241. data/lib/google/ads/google_ads/v3/enums/user_list_access_status_pb.rb +21 -0
  242. data/lib/google/ads/google_ads/v3/enums/user_list_closing_reason_pb.rb +20 -0
  243. data/lib/google/ads/google_ads/v3/enums/user_list_combined_rule_operator_pb.rb +21 -0
  244. data/lib/google/ads/google_ads/v3/enums/user_list_crm_data_source_type_pb.rb +22 -0
  245. data/lib/google/ads/google_ads/v3/enums/user_list_date_rule_item_operator_pb.rb +23 -0
  246. data/lib/google/ads/google_ads/v3/enums/user_list_logical_rule_operator_pb.rb +22 -0
  247. data/lib/google/ads/google_ads/v3/enums/user_list_membership_status_pb.rb +21 -0
  248. data/lib/google/ads/google_ads/v3/enums/user_list_number_rule_item_operator_pb.rb +25 -0
  249. data/lib/google/ads/google_ads/v3/enums/user_list_prepopulation_status_pb.rb +22 -0
  250. data/lib/google/ads/google_ads/v3/enums/user_list_rule_type_pb.rb +21 -0
  251. data/lib/google/ads/google_ads/v3/enums/user_list_size_range_pb.rb +35 -0
  252. data/lib/google/ads/google_ads/v3/enums/user_list_string_rule_item_operator_pb.rb +27 -0
  253. data/lib/google/ads/google_ads/v3/enums/user_list_type_pb.rb +25 -0
  254. data/lib/google/ads/google_ads/v3/enums/vanity_pharma_display_url_mode_pb.rb +21 -0
  255. data/lib/google/ads/google_ads/v3/enums/vanity_pharma_text_pb.rb +31 -0
  256. data/lib/google/ads/google_ads/v3/enums/webpage_condition_operand_pb.rb +24 -0
  257. data/lib/google/ads/google_ads/v3/enums/webpage_condition_operator_pb.rb +21 -0
  258. data/lib/google/ads/google_ads/v3/errors/access_invitation_error_pb.rb +21 -0
  259. data/lib/google/ads/google_ads/v3/errors/account_budget_proposal_error_pb.rb +41 -0
  260. data/lib/google/ads/google_ads/v3/errors/ad_customizer_error_pb.rb +24 -0
  261. data/lib/google/ads/google_ads/v3/errors/ad_error_pb.rb +154 -0
  262. data/lib/google/ads/google_ads/v3/errors/ad_group_ad_error_pb.rb +27 -0
  263. data/lib/google/ads/google_ads/v3/errors/ad_group_bid_modifier_error_pb.rb +21 -0
  264. data/lib/google/ads/google_ads/v3/errors/ad_group_criterion_error_pb.rb +56 -0
  265. data/lib/google/ads/google_ads/v3/errors/ad_group_error_pb.rb +31 -0
  266. data/lib/google/ads/google_ads/v3/errors/ad_group_feed_error_pb.rb +26 -0
  267. data/lib/google/ads/google_ads/v3/errors/ad_parameter_error_pb.rb +21 -0
  268. data/lib/google/ads/google_ads/v3/errors/ad_sharing_error_pb.rb +22 -0
  269. data/lib/google/ads/google_ads/v3/errors/adx_error_pb.rb +20 -0
  270. data/lib/google/ads/google_ads/v3/errors/asset_error_pb.rb +24 -0
  271. data/lib/google/ads/google_ads/v3/errors/authentication_error_pb.rb +37 -0
  272. data/lib/google/ads/google_ads/v3/errors/authorization_error_pb.rb +31 -0
  273. data/lib/google/ads/google_ads/v3/errors/bidding_error_pb.rb +43 -0
  274. data/lib/google/ads/google_ads/v3/errors/bidding_strategy_error_pb.rb +24 -0
  275. data/lib/google/ads/google_ads/v3/errors/billing_setup_error_pb.rb +36 -0
  276. data/lib/google/ads/google_ads/v3/errors/campaign_budget_error_pb.rb +34 -0
  277. data/lib/google/ads/google_ads/v3/errors/campaign_criterion_error_pb.rb +30 -0
  278. data/lib/google/ads/google_ads/v3/errors/campaign_draft_error_pb.rb +29 -0
  279. data/lib/google/ads/google_ads/v3/errors/campaign_error_pb.rb +59 -0
  280. data/lib/google/ads/google_ads/v3/errors/campaign_experiment_error_pb.rb +29 -0
  281. data/lib/google/ads/google_ads/v3/errors/campaign_feed_error_pb.rb +26 -0
  282. data/lib/google/ads/google_ads/v3/errors/campaign_shared_set_error_pb.rb +20 -0
  283. data/lib/google/ads/google_ads/v3/errors/change_status_error_pb.rb +20 -0
  284. data/lib/google/ads/google_ads/v3/errors/collection_size_error_pb.rb +21 -0
  285. data/lib/google/ads/google_ads/v3/errors/context_error_pb.rb +21 -0
  286. data/lib/google/ads/google_ads/v3/errors/conversion_action_error_pb.rb +27 -0
  287. data/lib/google/ads/google_ads/v3/errors/conversion_adjustment_upload_error_pb.rb +30 -0
  288. data/lib/google/ads/google_ads/v3/errors/conversion_upload_error_pb.rb +40 -0
  289. data/lib/google/ads/google_ads/v3/errors/country_code_error_pb.rb +20 -0
  290. data/lib/google/ads/google_ads/v3/errors/criterion_error_pb.rb +117 -0
  291. data/lib/google/ads/google_ads/v3/errors/currency_code_error_pb.rb +20 -0
  292. data/lib/google/ads/google_ads/v3/errors/custom_interest_error_pb.rb +26 -0
  293. data/lib/google/ads/google_ads/v3/errors/customer_client_link_error_pb.rb +26 -0
  294. data/lib/google/ads/google_ads/v3/errors/customer_error_pb.rb +21 -0
  295. data/lib/google/ads/google_ads/v3/errors/customer_feed_error_pb.rb +26 -0
  296. data/lib/google/ads/google_ads/v3/errors/customer_manager_link_error_pb.rb +28 -0
  297. data/lib/google/ads/google_ads/v3/errors/database_error_pb.rb +22 -0
  298. data/lib/google/ads/google_ads/v3/errors/date_error_pb.rb +29 -0
  299. data/lib/google/ads/google_ads/v3/errors/date_range_error_pb.rb +24 -0
  300. data/lib/google/ads/google_ads/v3/errors/distinct_error_pb.rb +21 -0
  301. data/lib/google/ads/google_ads/v3/errors/enum_error_pb.rb +20 -0
  302. data/lib/google/ads/google_ads/v3/errors/errors_pb.rb +273 -0
  303. data/lib/google/ads/google_ads/v3/errors/extension_feed_item_error_pb.rb +64 -0
  304. data/lib/google/ads/google_ads/v3/errors/extension_setting_error_pb.rb +83 -0
  305. data/lib/google/ads/google_ads/v3/errors/feed_attribute_reference_error_pb.rb +22 -0
  306. data/lib/google/ads/google_ads/v3/errors/feed_error_pb.rb +41 -0
  307. data/lib/google/ads/google_ads/v3/errors/feed_item_error_pb.rb +28 -0
  308. data/lib/google/ads/google_ads/v3/errors/feed_item_target_error_pb.rb +27 -0
  309. data/lib/google/ads/google_ads/v3/errors/feed_item_validation_error_pb.rb +116 -0
  310. data/lib/google/ads/google_ads/v3/errors/feed_mapping_error_pb.rb +36 -0
  311. data/lib/google/ads/google_ads/v3/errors/field_error_pb.rb +26 -0
  312. data/lib/google/ads/google_ads/v3/errors/field_mask_error_pb.rb +23 -0
  313. data/lib/google/ads/google_ads/v3/errors/function_error_pb.rb +35 -0
  314. data/lib/google/ads/google_ads/v3/errors/function_parsing_error_pb.rb +30 -0
  315. data/lib/google/ads/google_ads/v3/errors/geo_target_constant_suggestion_error_pb.rb +23 -0
  316. data/lib/google/ads/google_ads/v3/errors/header_error_pb.rb +20 -0
  317. data/lib/google/ads/google_ads/v3/errors/id_error_pb.rb +20 -0
  318. data/lib/google/ads/google_ads/v3/errors/image_error_pb.rb +57 -0
  319. data/lib/google/ads/google_ads/v3/errors/internal_error_pb.rb +23 -0
  320. data/lib/google/ads/google_ads/v3/errors/invoice_error_pb.rb +21 -0
  321. data/lib/google/ads/google_ads/v3/errors/keyword_plan_ad_group_error_pb.rb +21 -0
  322. data/lib/google/ads/google_ads/v3/errors/keyword_plan_campaign_error_pb.rb +24 -0
  323. data/lib/google/ads/google_ads/v3/errors/keyword_plan_error_pb.rb +33 -0
  324. data/lib/google/ads/google_ads/v3/errors/keyword_plan_idea_error_pb.rb +21 -0
  325. data/lib/google/ads/google_ads/v3/errors/keyword_plan_keyword_error_pb.rb +25 -0
  326. data/lib/google/ads/google_ads/v3/errors/keyword_plan_negative_keyword_error_pb.rb +19 -0
  327. data/lib/google/ads/google_ads/v3/errors/label_error_pb.rb +28 -0
  328. data/lib/google/ads/google_ads/v3/errors/language_code_error_pb.rb +21 -0
  329. data/lib/google/ads/google_ads/v3/errors/list_operation_error_pb.rb +21 -0
  330. data/lib/google/ads/google_ads/v3/errors/manager_link_error_pb.rb +34 -0
  331. data/lib/google/ads/google_ads/v3/errors/media_bundle_error_pb.rb +41 -0
  332. data/lib/google/ads/google_ads/v3/errors/media_file_error_pb.rb +42 -0
  333. data/lib/google/ads/google_ads/v3/errors/media_upload_error_pb.rb +26 -0
  334. data/lib/google/ads/google_ads/v3/errors/multiplier_error_pb.rb +31 -0
  335. data/lib/google/ads/google_ads/v3/errors/mutate_error_pb.rb +25 -0
  336. data/lib/google/ads/google_ads/v3/errors/mutate_job_error_pb.rb +24 -0
  337. data/lib/google/ads/google_ads/v3/errors/new_resource_creation_error_pb.rb +22 -0
  338. data/lib/google/ads/google_ads/v3/errors/not_empty_error_pb.rb +20 -0
  339. data/lib/google/ads/google_ads/v3/errors/not_whitelisted_error_pb.rb +20 -0
  340. data/lib/google/ads/google_ads/v3/errors/null_error_pb.rb +20 -0
  341. data/lib/google/ads/google_ads/v3/errors/operation_access_denied_error_pb.rb +29 -0
  342. data/lib/google/ads/google_ads/v3/errors/operator_error_pb.rb +20 -0
  343. data/lib/google/ads/google_ads/v3/errors/partial_failure_error_pb.rb +20 -0
  344. data/lib/google/ads/google_ads/v3/errors/payments_account_error_pb.rb +20 -0
  345. data/lib/google/ads/google_ads/v3/errors/policy_finding_error_pb.rb +21 -0
  346. data/lib/google/ads/google_ads/v3/errors/policy_validation_parameter_error_pb.rb +22 -0
  347. data/lib/google/ads/google_ads/v3/errors/policy_violation_error_pb.rb +20 -0
  348. data/lib/google/ads/google_ads/v3/errors/query_error_pb.rb +72 -0
  349. data/lib/google/ads/google_ads/v3/errors/quota_error_pb.rb +22 -0
  350. data/lib/google/ads/google_ads/v3/errors/range_error_pb.rb +21 -0
  351. data/lib/google/ads/google_ads/v3/errors/reach_plan_error_pb.rb +19 -0
  352. data/lib/google/ads/google_ads/v3/errors/recommendation_error_pb.rb +33 -0
  353. data/lib/google/ads/google_ads/v3/errors/region_code_error_pb.rb +20 -0
  354. data/lib/google/ads/google_ads/v3/errors/request_error_pb.rb +41 -0
  355. data/lib/google/ads/google_ads/v3/errors/resource_access_denied_error_pb.rb +20 -0
  356. data/lib/google/ads/google_ads/v3/errors/resource_count_limit_exceeded_error_pb.rb +28 -0
  357. data/lib/google/ads/google_ads/v3/errors/setting_error_pb.rb +29 -0
  358. data/lib/google/ads/google_ads/v3/errors/shared_criterion_error_pb.rb +20 -0
  359. data/lib/google/ads/google_ads/v3/errors/shared_set_error_pb.rb +23 -0
  360. data/lib/google/ads/google_ads/v3/errors/size_limit_error_pb.rb +21 -0
  361. data/lib/google/ads/google_ads/v3/errors/string_format_error_pb.rb +21 -0
  362. data/lib/google/ads/google_ads/v3/errors/string_length_error_pb.rb +22 -0
  363. data/lib/google/ads/google_ads/v3/errors/time_zone_error_pb.rb +20 -0
  364. data/lib/google/ads/google_ads/v3/errors/url_field_error_pb.rb +71 -0
  365. data/lib/google/ads/google_ads/v3/errors/user_list_error_pb.rb +45 -0
  366. data/lib/google/ads/google_ads/v3/errors/youtube_video_registration_error_pb.rb +22 -0
  367. data/lib/google/ads/google_ads/v3/resources/account_budget_pb.rb +70 -0
  368. data/lib/google/ads/google_ads/v3/resources/account_budget_proposal_pb.rb +52 -0
  369. data/lib/google/ads/google_ads/v3/resources/ad_group_ad_asset_view_pb.rb +33 -0
  370. data/lib/google/ads/google_ads/v3/resources/ad_group_ad_label_pb.rb +19 -0
  371. data/lib/google/ads/google_ads/v3/resources/ad_group_ad_pb.rb +34 -0
  372. data/lib/google/ads/google_ads/v3/resources/ad_group_audience_view_pb.rb +16 -0
  373. data/lib/google/ads/google_ads/v3/resources/ad_group_bid_modifier_pb.rb +32 -0
  374. data/lib/google/ads/google_ads/v3/resources/ad_group_criterion_label_pb.rb +19 -0
  375. data/lib/google/ads/google_ads/v3/resources/ad_group_criterion_pb.rb +87 -0
  376. data/lib/google/ads/google_ads/v3/resources/ad_group_criterion_simulation_pb.rb +29 -0
  377. data/lib/google/ads/google_ads/v3/resources/ad_group_extension_setting_pb.rb +23 -0
  378. data/lib/google/ads/google_ads/v3/resources/ad_group_feed_pb.rb +25 -0
  379. data/lib/google/ads/google_ads/v3/resources/ad_group_label_pb.rb +19 -0
  380. data/lib/google/ads/google_ads/v3/resources/ad_group_pb.rb +50 -0
  381. data/lib/google/ads/google_ads/v3/resources/ad_group_simulation_pb.rb +30 -0
  382. data/lib/google/ads/google_ads/v3/resources/ad_parameter_pb.rb +20 -0
  383. data/lib/google/ads/google_ads/v3/resources/ad_pb.rb +58 -0
  384. data/lib/google/ads/google_ads/v3/resources/ad_schedule_view_pb.rb +16 -0
  385. data/lib/google/ads/google_ads/v3/resources/age_range_view_pb.rb +16 -0
  386. data/lib/google/ads/google_ads/v3/resources/asset_pb.rb +28 -0
  387. data/lib/google/ads/google_ads/v3/resources/bidding_strategy_pb.rb +33 -0
  388. data/lib/google/ads/google_ads/v3/resources/billing_setup_pb.rb +39 -0
  389. data/lib/google/ads/google_ads/v3/resources/campaign_audience_view_pb.rb +16 -0
  390. data/lib/google/ads/google_ads/v3/resources/campaign_bid_modifier_pb.rb +24 -0
  391. data/lib/google/ads/google_ads/v3/resources/campaign_budget_pb.rb +37 -0
  392. data/lib/google/ads/google_ads/v3/resources/campaign_criterion_pb.rb +55 -0
  393. data/lib/google/ads/google_ads/v3/resources/campaign_criterion_simulation_pb.rb +29 -0
  394. data/lib/google/ads/google_ads/v3/resources/campaign_draft_pb.rb +25 -0
  395. data/lib/google/ads/google_ads/v3/resources/campaign_experiment_pb.rb +30 -0
  396. data/lib/google/ads/google_ads/v3/resources/campaign_extension_setting_pb.rb +23 -0
  397. data/lib/google/ads/google_ads/v3/resources/campaign_feed_pb.rb +25 -0
  398. data/lib/google/ads/google_ads/v3/resources/campaign_label_pb.rb +19 -0
  399. data/lib/google/ads/google_ads/v3/resources/campaign_pb.rb +132 -0
  400. data/lib/google/ads/google_ads/v3/resources/campaign_shared_set_pb.rb +21 -0
  401. data/lib/google/ads/google_ads/v3/resources/carrier_constant_pb.rb +20 -0
  402. data/lib/google/ads/google_ads/v3/resources/change_status_pb.rb +32 -0
  403. data/lib/google/ads/google_ads/v3/resources/click_view_pb.rb +23 -0
  404. data/lib/google/ads/google_ads/v3/resources/conversion_action_pb.rb +50 -0
  405. data/lib/google/ads/google_ads/v3/resources/currency_constant_pb.rb +21 -0
  406. data/lib/google/ads/google_ads/v3/resources/custom_interest_pb.rb +31 -0
  407. data/lib/google/ads/google_ads/v3/resources/customer_client_link_pb.rb +22 -0
  408. data/lib/google/ads/google_ads/v3/resources/customer_client_pb.rb +26 -0
  409. data/lib/google/ads/google_ads/v3/resources/customer_extension_setting_pb.rb +22 -0
  410. data/lib/google/ads/google_ads/v3/resources/customer_feed_pb.rb +24 -0
  411. data/lib/google/ads/google_ads/v3/resources/customer_label_pb.rb +19 -0
  412. data/lib/google/ads/google_ads/v3/resources/customer_manager_link_pb.rb +21 -0
  413. data/lib/google/ads/google_ads/v3/resources/customer_negative_criterion_pb.rb +29 -0
  414. data/lib/google/ads/google_ads/v3/resources/customer_pb.rb +47 -0
  415. data/lib/google/ads/google_ads/v3/resources/detail_placement_view_pb.rb +23 -0
  416. data/lib/google/ads/google_ads/v3/resources/display_keyword_view_pb.rb +16 -0
  417. data/lib/google/ads/google_ads/v3/resources/distance_view_pb.rb +20 -0
  418. data/lib/google/ads/google_ads/v3/resources/domain_category_pb.rb +25 -0
  419. data/lib/google/ads/google_ads/v3/resources/dynamic_search_ads_search_term_view_pb.rb +24 -0
  420. data/lib/google/ads/google_ads/v3/resources/expanded_landing_page_view_pb.rb +18 -0
  421. data/lib/google/ads/google_ads/v3/resources/extension_feed_item_pb.rb +48 -0
  422. data/lib/google/ads/google_ads/v3/resources/feed_item_pb.rb +70 -0
  423. data/lib/google/ads/google_ads/v3/resources/feed_item_target_pb.rb +33 -0
  424. data/lib/google/ads/google_ads/v3/resources/feed_mapping_pb.rb +76 -0
  425. data/lib/google/ads/google_ads/v3/resources/feed_pb.rb +69 -0
  426. data/lib/google/ads/google_ads/v3/resources/feed_placeholder_view_pb.rb +18 -0
  427. data/lib/google/ads/google_ads/v3/resources/gender_view_pb.rb +16 -0
  428. data/lib/google/ads/google_ads/v3/resources/geo_target_constant_pb.rb +24 -0
  429. data/lib/google/ads/google_ads/v3/resources/geographic_view_pb.rb +20 -0
  430. data/lib/google/ads/google_ads/v3/resources/google_ads_field_pb.rb +32 -0
  431. data/lib/google/ads/google_ads/v3/resources/group_placement_view_pb.rb +22 -0
  432. data/lib/google/ads/google_ads/v3/resources/hotel_group_view_pb.rb +16 -0
  433. data/lib/google/ads/google_ads/v3/resources/hotel_performance_view_pb.rb +16 -0
  434. data/lib/google/ads/google_ads/v3/resources/invoice_pb.rb +48 -0
  435. data/lib/google/ads/google_ads/v3/resources/keyword_plan_ad_group_pb.rb +21 -0
  436. data/lib/google/ads/google_ads/v3/resources/keyword_plan_campaign_pb.rb +29 -0
  437. data/lib/google/ads/google_ads/v3/resources/keyword_plan_keyword_pb.rb +23 -0
  438. data/lib/google/ads/google_ads/v3/resources/keyword_plan_negative_keyword_pb.rb +22 -0
  439. data/lib/google/ads/google_ads/v3/resources/keyword_plan_pb.rb +29 -0
  440. data/lib/google/ads/google_ads/v3/resources/keyword_view_pb.rb +16 -0
  441. data/lib/google/ads/google_ads/v3/resources/label_pb.rb +23 -0
  442. data/lib/google/ads/google_ads/v3/resources/landing_page_view_pb.rb +18 -0
  443. data/lib/google/ads/google_ads/v3/resources/language_constant_pb.rb +21 -0
  444. data/lib/google/ads/google_ads/v3/resources/location_view_pb.rb +16 -0
  445. data/lib/google/ads/google_ads/v3/resources/managed_placement_view_pb.rb +16 -0
  446. data/lib/google/ads/google_ads/v3/resources/media_file_pb.rb +50 -0
  447. data/lib/google/ads/google_ads/v3/resources/merchant_center_link_pb.rb +21 -0
  448. data/lib/google/ads/google_ads/v3/resources/mobile_app_category_constant_pb.rb +19 -0
  449. data/lib/google/ads/google_ads/v3/resources/mobile_device_constant_pb.rb +23 -0
  450. data/lib/google/ads/google_ads/v3/resources/mutate_job_pb.rb +31 -0
  451. data/lib/google/ads/google_ads/v3/resources/operating_system_version_constant_pb.rb +23 -0
  452. data/lib/google/ads/google_ads/v3/resources/paid_organic_search_term_view_pb.rb +18 -0
  453. data/lib/google/ads/google_ads/v3/resources/parental_status_view_pb.rb +16 -0
  454. data/lib/google/ads/google_ads/v3/resources/payments_account_pb.rb +22 -0
  455. data/lib/google/ads/google_ads/v3/resources/product_bidding_category_constant_pb.rb +26 -0
  456. data/lib/google/ads/google_ads/v3/resources/product_group_view_pb.rb +16 -0
  457. data/lib/google/ads/google_ads/v3/resources/recommendation_pb.rb +131 -0
  458. data/lib/google/ads/google_ads/v3/resources/remarketing_action_pb.rb +21 -0
  459. data/lib/google/ads/google_ads/v3/resources/search_term_view_pb.rb +21 -0
  460. data/lib/google/ads/google_ads/v3/resources/shared_criterion_pb.rb +30 -0
  461. data/lib/google/ads/google_ads/v3/resources/shared_set_pb.rb +25 -0
  462. data/lib/google/ads/google_ads/v3/resources/shopping_performance_view_pb.rb +16 -0
  463. data/lib/google/ads/google_ads/v3/resources/topic_constant_pb.rb +20 -0
  464. data/lib/google/ads/google_ads/v3/resources/topic_view_pb.rb +16 -0
  465. data/lib/google/ads/google_ads/v3/resources/user_interest_pb.rb +25 -0
  466. data/lib/google/ads/google_ads/v3/resources/user_list_pb.rb +48 -0
  467. data/lib/google/ads/google_ads/v3/resources/user_location_view_pb.rb +19 -0
  468. data/lib/google/ads/google_ads/v3/resources/video_pb.rb +21 -0
  469. data/lib/google/ads/google_ads/v3/services/account_budget_proposal_service_client.rb +292 -0
  470. data/lib/google/ads/google_ads/v3/services/account_budget_proposal_service_client_config.json +36 -0
  471. data/lib/google/ads/google_ads/v3/services/account_budget_proposal_service_pb.rb +41 -0
  472. data/lib/google/ads/google_ads/v3/services/account_budget_proposal_service_services_pb.rb +57 -0
  473. data/lib/google/ads/google_ads/v3/services/account_budget_service_client.rb +226 -0
  474. data/lib/google/ads/google_ads/v3/services/account_budget_service_client_config.json +31 -0
  475. data/lib/google/ads/google_ads/v3/services/account_budget_service_pb.rb +18 -0
  476. data/lib/google/ads/google_ads/v3/services/account_budget_service_services_pb.rb +43 -0
  477. data/lib/google/ads/google_ads/v3/services/ad_group_ad_asset_view_service_client.rb +224 -0
  478. data/lib/google/ads/google_ads/v3/services/ad_group_ad_asset_view_service_client_config.json +31 -0
  479. data/lib/google/ads/google_ads/v3/services/ad_group_ad_asset_view_service_pb.rb +18 -0
  480. data/lib/google/ads/google_ads/v3/services/ad_group_ad_asset_view_service_services_pb.rb +41 -0
  481. data/lib/google/ads/google_ads/v3/services/ad_group_ad_label_service_client.rb +286 -0
  482. data/lib/google/ads/google_ads/v3/services/ad_group_ad_label_service_client_config.json +36 -0
  483. data/lib/google/ads/google_ads/v3/services/ad_group_ad_label_service_pb.rb +42 -0
  484. data/lib/google/ads/google_ads/v3/services/ad_group_ad_label_service_services_pb.rb +44 -0
  485. data/lib/google/ads/google_ads/v3/services/ad_group_ad_service_client.rb +285 -0
  486. data/lib/google/ads/google_ads/v3/services/ad_group_ad_service_client_config.json +36 -0
  487. data/lib/google/ads/google_ads/v3/services/ad_group_ad_service_pb.rb +47 -0
  488. data/lib/google/ads/google_ads/v3/services/ad_group_ad_service_services_pb.rb +43 -0
  489. data/lib/google/ads/google_ads/v3/services/ad_group_audience_view_service_client.rb +224 -0
  490. data/lib/google/ads/google_ads/v3/services/ad_group_audience_view_service_client_config.json +31 -0
  491. data/lib/google/ads/google_ads/v3/services/ad_group_audience_view_service_pb.rb +18 -0
  492. data/lib/google/ads/google_ads/v3/services/ad_group_audience_view_service_services_pb.rb +41 -0
  493. data/lib/google/ads/google_ads/v3/services/ad_group_bid_modifier_service_client.rb +286 -0
  494. data/lib/google/ads/google_ads/v3/services/ad_group_bid_modifier_service_client_config.json +36 -0
  495. data/lib/google/ads/google_ads/v3/services/ad_group_bid_modifier_service_pb.rb +45 -0
  496. data/lib/google/ads/google_ads/v3/services/ad_group_bid_modifier_service_services_pb.rb +44 -0
  497. data/lib/google/ads/google_ads/v3/services/ad_group_criterion_label_service_client.rb +286 -0
  498. data/lib/google/ads/google_ads/v3/services/ad_group_criterion_label_service_client_config.json +36 -0
  499. data/lib/google/ads/google_ads/v3/services/ad_group_criterion_label_service_pb.rb +42 -0
  500. data/lib/google/ads/google_ads/v3/services/ad_group_criterion_label_service_services_pb.rb +44 -0
  501. data/lib/google/ads/google_ads/v3/services/ad_group_criterion_service_client.rb +285 -0
  502. data/lib/google/ads/google_ads/v3/services/ad_group_criterion_service_client_config.json +36 -0
  503. data/lib/google/ads/google_ads/v3/services/ad_group_criterion_service_pb.rb +47 -0
  504. data/lib/google/ads/google_ads/v3/services/ad_group_criterion_service_services_pb.rb +43 -0
  505. data/lib/google/ads/google_ads/v3/services/ad_group_criterion_simulation_service_client.rb +224 -0
  506. data/lib/google/ads/google_ads/v3/services/ad_group_criterion_simulation_service_client_config.json +31 -0
  507. data/lib/google/ads/google_ads/v3/services/ad_group_criterion_simulation_service_pb.rb +18 -0
  508. data/lib/google/ads/google_ads/v3/services/ad_group_criterion_simulation_service_services_pb.rb +41 -0
  509. data/lib/google/ads/google_ads/v3/services/ad_group_extension_setting_service_client.rb +288 -0
  510. data/lib/google/ads/google_ads/v3/services/ad_group_extension_setting_service_client_config.json +36 -0
  511. data/lib/google/ads/google_ads/v3/services/ad_group_extension_setting_service_pb.rb +45 -0
  512. data/lib/google/ads/google_ads/v3/services/ad_group_extension_setting_service_services_pb.rb +44 -0
  513. data/lib/google/ads/google_ads/v3/services/ad_group_feed_service_client.rb +286 -0
  514. data/lib/google/ads/google_ads/v3/services/ad_group_feed_service_client_config.json +36 -0
  515. data/lib/google/ads/google_ads/v3/services/ad_group_feed_service_pb.rb +45 -0
  516. data/lib/google/ads/google_ads/v3/services/ad_group_feed_service_services_pb.rb +44 -0
  517. data/lib/google/ads/google_ads/v3/services/ad_group_label_service_client.rb +286 -0
  518. data/lib/google/ads/google_ads/v3/services/ad_group_label_service_client_config.json +36 -0
  519. data/lib/google/ads/google_ads/v3/services/ad_group_label_service_pb.rb +42 -0
  520. data/lib/google/ads/google_ads/v3/services/ad_group_label_service_services_pb.rb +44 -0
  521. data/lib/google/ads/google_ads/v3/services/ad_group_service_client.rb +285 -0
  522. data/lib/google/ads/google_ads/v3/services/ad_group_service_client_config.json +36 -0
  523. data/lib/google/ads/google_ads/v3/services/ad_group_service_pb.rb +45 -0
  524. data/lib/google/ads/google_ads/v3/services/ad_group_service_services_pb.rb +43 -0
  525. data/lib/google/ads/google_ads/v3/services/ad_group_simulation_service_client.rb +224 -0
  526. data/lib/google/ads/google_ads/v3/services/ad_group_simulation_service_client_config.json +31 -0
  527. data/lib/google/ads/google_ads/v3/services/ad_group_simulation_service_pb.rb +18 -0
  528. data/lib/google/ads/google_ads/v3/services/ad_group_simulation_service_services_pb.rb +41 -0
  529. data/lib/google/ads/google_ads/v3/services/ad_parameter_service_client.rb +286 -0
  530. data/lib/google/ads/google_ads/v3/services/ad_parameter_service_client_config.json +36 -0
  531. data/lib/google/ads/google_ads/v3/services/ad_parameter_service_pb.rb +45 -0
  532. data/lib/google/ads/google_ads/v3/services/ad_parameter_service_services_pb.rb +44 -0
  533. data/lib/google/ads/google_ads/v3/services/ad_schedule_view_service_client.rb +224 -0
  534. data/lib/google/ads/google_ads/v3/services/ad_schedule_view_service_client_config.json +31 -0
  535. data/lib/google/ads/google_ads/v3/services/ad_schedule_view_service_pb.rb +18 -0
  536. data/lib/google/ads/google_ads/v3/services/ad_schedule_view_service_services_pb.rb +41 -0
  537. data/lib/google/ads/google_ads/v3/services/ad_service_client.rb +273 -0
  538. data/lib/google/ads/google_ads/v3/services/ad_service_client_config.json +36 -0
  539. data/lib/google/ads/google_ads/v3/services/ad_service_pb.rb +39 -0
  540. data/lib/google/ads/google_ads/v3/services/ad_service_services_pb.rb +43 -0
  541. data/lib/google/ads/google_ads/v3/services/age_range_view_service_client.rb +224 -0
  542. data/lib/google/ads/google_ads/v3/services/age_range_view_service_client_config.json +31 -0
  543. data/lib/google/ads/google_ads/v3/services/age_range_view_service_pb.rb +18 -0
  544. data/lib/google/ads/google_ads/v3/services/age_range_view_service_services_pb.rb +41 -0
  545. data/lib/google/ads/google_ads/v3/services/asset_service_client.rb +275 -0
  546. data/lib/google/ads/google_ads/v3/services/asset_service_client_config.json +36 -0
  547. data/lib/google/ads/google_ads/v3/services/asset_service_pb.rb +37 -0
  548. data/lib/google/ads/google_ads/v3/services/asset_service_services_pb.rb +45 -0
  549. data/lib/google/ads/google_ads/v3/services/bidding_strategy_service_client.rb +286 -0
  550. data/lib/google/ads/google_ads/v3/services/bidding_strategy_service_client_config.json +36 -0
  551. data/lib/google/ads/google_ads/v3/services/bidding_strategy_service_pb.rb +45 -0
  552. data/lib/google/ads/google_ads/v3/services/bidding_strategy_service_services_pb.rb +44 -0
  553. data/lib/google/ads/google_ads/v3/services/billing_setup_service_client.rb +281 -0
  554. data/lib/google/ads/google_ads/v3/services/billing_setup_service_client_config.json +36 -0
  555. data/lib/google/ads/google_ads/v3/services/billing_setup_service_pb.rb +38 -0
  556. data/lib/google/ads/google_ads/v3/services/billing_setup_service_services_pb.rb +51 -0
  557. data/lib/google/ads/google_ads/v3/services/campaign_audience_view_service_client.rb +224 -0
  558. data/lib/google/ads/google_ads/v3/services/campaign_audience_view_service_client_config.json +31 -0
  559. data/lib/google/ads/google_ads/v3/services/campaign_audience_view_service_pb.rb +18 -0
  560. data/lib/google/ads/google_ads/v3/services/campaign_audience_view_service_services_pb.rb +41 -0
  561. data/lib/google/ads/google_ads/v3/services/campaign_bid_modifier_service_client.rb +286 -0
  562. data/lib/google/ads/google_ads/v3/services/campaign_bid_modifier_service_client_config.json +36 -0
  563. data/lib/google/ads/google_ads/v3/services/campaign_bid_modifier_service_pb.rb +45 -0
  564. data/lib/google/ads/google_ads/v3/services/campaign_bid_modifier_service_services_pb.rb +44 -0
  565. data/lib/google/ads/google_ads/v3/services/campaign_budget_service_client.rb +286 -0
  566. data/lib/google/ads/google_ads/v3/services/campaign_budget_service_client_config.json +36 -0
  567. data/lib/google/ads/google_ads/v3/services/campaign_budget_service_pb.rb +45 -0
  568. data/lib/google/ads/google_ads/v3/services/campaign_budget_service_services_pb.rb +44 -0
  569. data/lib/google/ads/google_ads/v3/services/campaign_criterion_service_client.rb +285 -0
  570. data/lib/google/ads/google_ads/v3/services/campaign_criterion_service_client_config.json +36 -0
  571. data/lib/google/ads/google_ads/v3/services/campaign_criterion_service_pb.rb +45 -0
  572. data/lib/google/ads/google_ads/v3/services/campaign_criterion_service_services_pb.rb +43 -0
  573. data/lib/google/ads/google_ads/v3/services/campaign_criterion_simulation_service_client.rb +224 -0
  574. data/lib/google/ads/google_ads/v3/services/campaign_criterion_simulation_service_client_config.json +31 -0
  575. data/lib/google/ads/google_ads/v3/services/campaign_criterion_simulation_service_pb.rb +18 -0
  576. data/lib/google/ads/google_ads/v3/services/campaign_criterion_simulation_service_services_pb.rb +41 -0
  577. data/lib/google/ads/google_ads/v3/services/campaign_draft_service_client.rb +451 -0
  578. data/lib/google/ads/google_ads/v3/services/campaign_draft_service_client_config.json +46 -0
  579. data/lib/google/ads/google_ads/v3/services/campaign_draft_service_pb.rb +61 -0
  580. data/lib/google/ads/google_ads/v3/services/campaign_draft_service_services_pb.rb +58 -0
  581. data/lib/google/ads/google_ads/v3/services/campaign_experiment_service_client.rb +637 -0
  582. data/lib/google/ads/google_ads/v3/services/campaign_experiment_service_client_config.json +61 -0
  583. data/lib/google/ads/google_ads/v3/services/campaign_experiment_service_pb.rb +84 -0
  584. data/lib/google/ads/google_ads/v3/services/campaign_experiment_service_services_pb.rb +81 -0
  585. data/lib/google/ads/google_ads/v3/services/campaign_extension_setting_service_client.rb +288 -0
  586. data/lib/google/ads/google_ads/v3/services/campaign_extension_setting_service_client_config.json +36 -0
  587. data/lib/google/ads/google_ads/v3/services/campaign_extension_setting_service_pb.rb +45 -0
  588. data/lib/google/ads/google_ads/v3/services/campaign_extension_setting_service_services_pb.rb +44 -0
  589. data/lib/google/ads/google_ads/v3/services/campaign_feed_service_client.rb +286 -0
  590. data/lib/google/ads/google_ads/v3/services/campaign_feed_service_client_config.json +36 -0
  591. data/lib/google/ads/google_ads/v3/services/campaign_feed_service_pb.rb +45 -0
  592. data/lib/google/ads/google_ads/v3/services/campaign_feed_service_services_pb.rb +44 -0
  593. data/lib/google/ads/google_ads/v3/services/campaign_label_service_client.rb +286 -0
  594. data/lib/google/ads/google_ads/v3/services/campaign_label_service_client_config.json +36 -0
  595. data/lib/google/ads/google_ads/v3/services/campaign_label_service_pb.rb +42 -0
  596. data/lib/google/ads/google_ads/v3/services/campaign_label_service_services_pb.rb +44 -0
  597. data/lib/google/ads/google_ads/v3/services/campaign_service_client.rb +285 -0
  598. data/lib/google/ads/google_ads/v3/services/campaign_service_client_config.json +36 -0
  599. data/lib/google/ads/google_ads/v3/services/campaign_service_pb.rb +45 -0
  600. data/lib/google/ads/google_ads/v3/services/campaign_service_services_pb.rb +43 -0
  601. data/lib/google/ads/google_ads/v3/services/campaign_shared_set_service_client.rb +285 -0
  602. data/lib/google/ads/google_ads/v3/services/campaign_shared_set_service_client_config.json +36 -0
  603. data/lib/google/ads/google_ads/v3/services/campaign_shared_set_service_pb.rb +42 -0
  604. data/lib/google/ads/google_ads/v3/services/campaign_shared_set_service_services_pb.rb +43 -0
  605. data/lib/google/ads/google_ads/v3/services/carrier_constant_service_client.rb +222 -0
  606. data/lib/google/ads/google_ads/v3/services/carrier_constant_service_client_config.json +31 -0
  607. data/lib/google/ads/google_ads/v3/services/carrier_constant_service_pb.rb +18 -0
  608. data/lib/google/ads/google_ads/v3/services/carrier_constant_service_services_pb.rb +41 -0
  609. data/lib/google/ads/google_ads/v3/services/change_status_service_client.rb +224 -0
  610. data/lib/google/ads/google_ads/v3/services/change_status_service_client_config.json +31 -0
  611. data/lib/google/ads/google_ads/v3/services/change_status_service_pb.rb +18 -0
  612. data/lib/google/ads/google_ads/v3/services/change_status_service_services_pb.rb +41 -0
  613. data/lib/google/ads/google_ads/v3/services/click_view_service_client.rb +224 -0
  614. data/lib/google/ads/google_ads/v3/services/click_view_service_client_config.json +31 -0
  615. data/lib/google/ads/google_ads/v3/services/click_view_service_pb.rb +18 -0
  616. data/lib/google/ads/google_ads/v3/services/click_view_service_services_pb.rb +41 -0
  617. data/lib/google/ads/google_ads/v3/services/conversion_action_service_client.rb +286 -0
  618. data/lib/google/ads/google_ads/v3/services/conversion_action_service_client_config.json +36 -0
  619. data/lib/google/ads/google_ads/v3/services/conversion_action_service_pb.rb +45 -0
  620. data/lib/google/ads/google_ads/v3/services/conversion_action_service_services_pb.rb +44 -0
  621. data/lib/google/ads/google_ads/v3/services/conversion_adjustment_upload_service_client.rb +230 -0
  622. data/lib/google/ads/google_ads/v3/services/conversion_adjustment_upload_service_client_config.json +31 -0
  623. data/lib/google/ads/google_ads/v3/services/conversion_adjustment_upload_service_pb.rb +59 -0
  624. data/lib/google/ads/google_ads/v3/services/conversion_adjustment_upload_service_services_pb.rb +39 -0
  625. data/lib/google/ads/google_ads/v3/services/conversion_upload_service_client.rb +291 -0
  626. data/lib/google/ads/google_ads/v3/services/conversion_upload_service_client_config.json +36 -0
  627. data/lib/google/ads/google_ads/v3/services/conversion_upload_service_pb.rb +76 -0
  628. data/lib/google/ads/google_ads/v3/services/conversion_upload_service_services_pb.rb +41 -0
  629. data/lib/google/ads/google_ads/v3/services/credentials.rb +41 -0
  630. data/lib/google/ads/google_ads/v3/services/currency_constant_service_client.rb +222 -0
  631. data/lib/google/ads/google_ads/v3/services/currency_constant_service_client_config.json +31 -0
  632. data/lib/google/ads/google_ads/v3/services/currency_constant_service_pb.rb +18 -0
  633. data/lib/google/ads/google_ads/v3/services/currency_constant_service_services_pb.rb +39 -0
  634. data/lib/google/ads/google_ads/v3/services/custom_interest_service_client.rb +278 -0
  635. data/lib/google/ads/google_ads/v3/services/custom_interest_service_client_config.json +36 -0
  636. data/lib/google/ads/google_ads/v3/services/custom_interest_service_pb.rb +41 -0
  637. data/lib/google/ads/google_ads/v3/services/custom_interest_service_services_pb.rb +43 -0
  638. data/lib/google/ads/google_ads/v3/services/customer_client_link_service_client.rb +273 -0
  639. data/lib/google/ads/google_ads/v3/services/customer_client_link_service_client_config.json +36 -0
  640. data/lib/google/ads/google_ads/v3/services/customer_client_link_service_pb.rb +40 -0
  641. data/lib/google/ads/google_ads/v3/services/customer_client_link_service_services_pb.rb +41 -0
  642. data/lib/google/ads/google_ads/v3/services/customer_client_service_client.rb +224 -0
  643. data/lib/google/ads/google_ads/v3/services/customer_client_service_client_config.json +31 -0
  644. data/lib/google/ads/google_ads/v3/services/customer_client_service_pb.rb +18 -0
  645. data/lib/google/ads/google_ads/v3/services/customer_client_service_services_pb.rb +41 -0
  646. data/lib/google/ads/google_ads/v3/services/customer_extension_setting_service_client.rb +288 -0
  647. data/lib/google/ads/google_ads/v3/services/customer_extension_setting_service_client_config.json +36 -0
  648. data/lib/google/ads/google_ads/v3/services/customer_extension_setting_service_pb.rb +45 -0
  649. data/lib/google/ads/google_ads/v3/services/customer_extension_setting_service_services_pb.rb +44 -0
  650. data/lib/google/ads/google_ads/v3/services/customer_feed_service_client.rb +286 -0
  651. data/lib/google/ads/google_ads/v3/services/customer_feed_service_client_config.json +36 -0
  652. data/lib/google/ads/google_ads/v3/services/customer_feed_service_pb.rb +45 -0
  653. data/lib/google/ads/google_ads/v3/services/customer_feed_service_services_pb.rb +44 -0
  654. data/lib/google/ads/google_ads/v3/services/customer_label_service_client.rb +286 -0
  655. data/lib/google/ads/google_ads/v3/services/customer_label_service_client_config.json +36 -0
  656. data/lib/google/ads/google_ads/v3/services/customer_label_service_pb.rb +42 -0
  657. data/lib/google/ads/google_ads/v3/services/customer_label_service_services_pb.rb +44 -0
  658. data/lib/google/ads/google_ads/v3/services/customer_manager_link_service_client.rb +334 -0
  659. data/lib/google/ads/google_ads/v3/services/customer_manager_link_service_client_config.json +41 -0
  660. data/lib/google/ads/google_ads/v3/services/customer_manager_link_service_pb.rb +49 -0
  661. data/lib/google/ads/google_ads/v3/services/customer_manager_link_service_services_pb.rb +47 -0
  662. data/lib/google/ads/google_ads/v3/services/customer_negative_criterion_service_client.rb +285 -0
  663. data/lib/google/ads/google_ads/v3/services/customer_negative_criterion_service_client_config.json +36 -0
  664. data/lib/google/ads/google_ads/v3/services/customer_negative_criterion_service_pb.rb +42 -0
  665. data/lib/google/ads/google_ads/v3/services/customer_negative_criterion_service_services_pb.rb +43 -0
  666. data/lib/google/ads/google_ads/v3/services/customer_service_client.rb +365 -0
  667. data/lib/google/ads/google_ads/v3/services/customer_service_client_config.json +46 -0
  668. data/lib/google/ads/google_ads/v3/services/customer_service_pb.rb +58 -0
  669. data/lib/google/ads/google_ads/v3/services/customer_service_services_pb.rb +48 -0
  670. data/lib/google/ads/google_ads/v3/services/detail_placement_view_service_client.rb +224 -0
  671. data/lib/google/ads/google_ads/v3/services/detail_placement_view_service_client_config.json +31 -0
  672. data/lib/google/ads/google_ads/v3/services/detail_placement_view_service_pb.rb +18 -0
  673. data/lib/google/ads/google_ads/v3/services/detail_placement_view_service_services_pb.rb +41 -0
  674. data/lib/google/ads/google_ads/v3/services/display_keyword_view_service_client.rb +224 -0
  675. data/lib/google/ads/google_ads/v3/services/display_keyword_view_service_client_config.json +31 -0
  676. data/lib/google/ads/google_ads/v3/services/display_keyword_view_service_pb.rb +18 -0
  677. data/lib/google/ads/google_ads/v3/services/display_keyword_view_service_services_pb.rb +41 -0
  678. data/lib/google/ads/google_ads/v3/services/distance_view_service_client.rb +224 -0
  679. data/lib/google/ads/google_ads/v3/services/distance_view_service_client_config.json +31 -0
  680. data/lib/google/ads/google_ads/v3/services/distance_view_service_pb.rb +18 -0
  681. data/lib/google/ads/google_ads/v3/services/distance_view_service_services_pb.rb +41 -0
  682. data/lib/google/ads/google_ads/v3/services/domain_category_service_client.rb +224 -0
  683. data/lib/google/ads/google_ads/v3/services/domain_category_service_client_config.json +31 -0
  684. data/lib/google/ads/google_ads/v3/services/domain_category_service_pb.rb +18 -0
  685. data/lib/google/ads/google_ads/v3/services/domain_category_service_services_pb.rb +41 -0
  686. data/lib/google/ads/google_ads/v3/services/dynamic_search_ads_search_term_view_service_client.rb +224 -0
  687. data/lib/google/ads/google_ads/v3/services/dynamic_search_ads_search_term_view_service_client_config.json +31 -0
  688. data/lib/google/ads/google_ads/v3/services/dynamic_search_ads_search_term_view_service_pb.rb +18 -0
  689. data/lib/google/ads/google_ads/v3/services/dynamic_search_ads_search_term_view_service_services_pb.rb +41 -0
  690. data/lib/google/ads/google_ads/v3/services/expanded_landing_page_view_service_client.rb +224 -0
  691. data/lib/google/ads/google_ads/v3/services/expanded_landing_page_view_service_client_config.json +31 -0
  692. data/lib/google/ads/google_ads/v3/services/expanded_landing_page_view_service_pb.rb +18 -0
  693. data/lib/google/ads/google_ads/v3/services/expanded_landing_page_view_service_services_pb.rb +41 -0
  694. data/lib/google/ads/google_ads/v3/services/extension_feed_item_service_client.rb +287 -0
  695. data/lib/google/ads/google_ads/v3/services/extension_feed_item_service_client_config.json +36 -0
  696. data/lib/google/ads/google_ads/v3/services/extension_feed_item_service_pb.rb +45 -0
  697. data/lib/google/ads/google_ads/v3/services/extension_feed_item_service_services_pb.rb +44 -0
  698. data/lib/google/ads/google_ads/v3/services/feed_item_service_client.rb +286 -0
  699. data/lib/google/ads/google_ads/v3/services/feed_item_service_client_config.json +36 -0
  700. data/lib/google/ads/google_ads/v3/services/feed_item_service_pb.rb +45 -0
  701. data/lib/google/ads/google_ads/v3/services/feed_item_service_services_pb.rb +44 -0
  702. data/lib/google/ads/google_ads/v3/services/feed_item_target_service_client.rb +273 -0
  703. data/lib/google/ads/google_ads/v3/services/feed_item_target_service_client_config.json +36 -0
  704. data/lib/google/ads/google_ads/v3/services/feed_item_target_service_pb.rb +38 -0
  705. data/lib/google/ads/google_ads/v3/services/feed_item_target_service_services_pb.rb +43 -0
  706. data/lib/google/ads/google_ads/v3/services/feed_mapping_service_client.rb +286 -0
  707. data/lib/google/ads/google_ads/v3/services/feed_mapping_service_client_config.json +36 -0
  708. data/lib/google/ads/google_ads/v3/services/feed_mapping_service_pb.rb +42 -0
  709. data/lib/google/ads/google_ads/v3/services/feed_mapping_service_services_pb.rb +44 -0
  710. data/lib/google/ads/google_ads/v3/services/feed_placeholder_view_service_client.rb +224 -0
  711. data/lib/google/ads/google_ads/v3/services/feed_placeholder_view_service_client_config.json +31 -0
  712. data/lib/google/ads/google_ads/v3/services/feed_placeholder_view_service_pb.rb +18 -0
  713. data/lib/google/ads/google_ads/v3/services/feed_placeholder_view_service_services_pb.rb +41 -0
  714. data/lib/google/ads/google_ads/v3/services/feed_service_client.rb +286 -0
  715. data/lib/google/ads/google_ads/v3/services/feed_service_client_config.json +36 -0
  716. data/lib/google/ads/google_ads/v3/services/feed_service_pb.rb +45 -0
  717. data/lib/google/ads/google_ads/v3/services/feed_service_services_pb.rb +44 -0
  718. data/lib/google/ads/google_ads/v3/services/gender_view_service_client.rb +224 -0
  719. data/lib/google/ads/google_ads/v3/services/gender_view_service_client_config.json +31 -0
  720. data/lib/google/ads/google_ads/v3/services/gender_view_service_pb.rb +18 -0
  721. data/lib/google/ads/google_ads/v3/services/gender_view_service_services_pb.rb +41 -0
  722. data/lib/google/ads/google_ads/v3/services/geo_target_constant_service_client.rb +284 -0
  723. data/lib/google/ads/google_ads/v3/services/geo_target_constant_service_client_config.json +36 -0
  724. data/lib/google/ads/google_ads/v3/services/geo_target_constant_service_pb.rb +48 -0
  725. data/lib/google/ads/google_ads/v3/services/geo_target_constant_service_services_pb.rb +43 -0
  726. data/lib/google/ads/google_ads/v3/services/geographic_view_service_client.rb +224 -0
  727. data/lib/google/ads/google_ads/v3/services/geographic_view_service_client_config.json +31 -0
  728. data/lib/google/ads/google_ads/v3/services/geographic_view_service_pb.rb +18 -0
  729. data/lib/google/ads/google_ads/v3/services/geographic_view_service_services_pb.rb +41 -0
  730. data/lib/google/ads/google_ads/v3/services/google_ads_field_service_client.rb +293 -0
  731. data/lib/google/ads/google_ads/v3/services/google_ads_field_service_client_config.json +36 -0
  732. data/lib/google/ads/google_ads/v3/services/google_ads_field_service_pb.rb +30 -0
  733. data/lib/google/ads/google_ads/v3/services/google_ads_field_service_services_pb.rb +43 -0
  734. data/lib/google/ads/google_ads/v3/services/google_ads_service_client.rb +430 -0
  735. data/lib/google/ads/google_ads/v3/services/google_ads_service_client_config.json +41 -0
  736. data/lib/google/ads/google_ads/v3/services/google_ads_service_pb.rb +386 -0
  737. data/lib/google/ads/google_ads/v3/services/google_ads_service_services_pb.rb +95 -0
  738. data/lib/google/ads/google_ads/v3/services/group_placement_view_service_client.rb +224 -0
  739. data/lib/google/ads/google_ads/v3/services/group_placement_view_service_client_config.json +31 -0
  740. data/lib/google/ads/google_ads/v3/services/group_placement_view_service_pb.rb +18 -0
  741. data/lib/google/ads/google_ads/v3/services/group_placement_view_service_services_pb.rb +41 -0
  742. data/lib/google/ads/google_ads/v3/services/hotel_group_view_service_client.rb +224 -0
  743. data/lib/google/ads/google_ads/v3/services/hotel_group_view_service_client_config.json +31 -0
  744. data/lib/google/ads/google_ads/v3/services/hotel_group_view_service_pb.rb +18 -0
  745. data/lib/google/ads/google_ads/v3/services/hotel_group_view_service_services_pb.rb +41 -0
  746. data/lib/google/ads/google_ads/v3/services/hotel_performance_view_service_client.rb +222 -0
  747. data/lib/google/ads/google_ads/v3/services/hotel_performance_view_service_client_config.json +31 -0
  748. data/lib/google/ads/google_ads/v3/services/hotel_performance_view_service_pb.rb +18 -0
  749. data/lib/google/ads/google_ads/v3/services/hotel_performance_view_service_services_pb.rb +41 -0
  750. data/lib/google/ads/google_ads/v3/services/invoice_service_client.rb +233 -0
  751. data/lib/google/ads/google_ads/v3/services/invoice_service_client_config.json +31 -0
  752. data/lib/google/ads/google_ads/v3/services/invoice_service_pb.rb +26 -0
  753. data/lib/google/ads/google_ads/v3/services/invoice_service_services_pb.rb +41 -0
  754. data/lib/google/ads/google_ads/v3/services/keyword_plan_ad_group_service_client.rb +286 -0
  755. data/lib/google/ads/google_ads/v3/services/keyword_plan_ad_group_service_client_config.json +36 -0
  756. data/lib/google/ads/google_ads/v3/services/keyword_plan_ad_group_service_pb.rb +45 -0
  757. data/lib/google/ads/google_ads/v3/services/keyword_plan_ad_group_service_services_pb.rb +44 -0
  758. data/lib/google/ads/google_ads/v3/services/keyword_plan_campaign_service_client.rb +286 -0
  759. data/lib/google/ads/google_ads/v3/services/keyword_plan_campaign_service_client_config.json +36 -0
  760. data/lib/google/ads/google_ads/v3/services/keyword_plan_campaign_service_pb.rb +45 -0
  761. data/lib/google/ads/google_ads/v3/services/keyword_plan_campaign_service_services_pb.rb +44 -0
  762. data/lib/google/ads/google_ads/v3/services/keyword_plan_idea_service_client.rb +255 -0
  763. data/lib/google/ads/google_ads/v3/services/keyword_plan_idea_service_client_config.json +31 -0
  764. data/lib/google/ads/google_ads/v3/services/keyword_plan_idea_service_pb.rb +49 -0
  765. data/lib/google/ads/google_ads/v3/services/keyword_plan_idea_service_services_pb.rb +41 -0
  766. data/lib/google/ads/google_ads/v3/services/keyword_plan_keyword_service_client.rb +286 -0
  767. data/lib/google/ads/google_ads/v3/services/keyword_plan_keyword_service_client_config.json +36 -0
  768. data/lib/google/ads/google_ads/v3/services/keyword_plan_keyword_service_pb.rb +45 -0
  769. data/lib/google/ads/google_ads/v3/services/keyword_plan_keyword_service_services_pb.rb +44 -0
  770. data/lib/google/ads/google_ads/v3/services/keyword_plan_negative_keyword_service_client.rb +287 -0
  771. data/lib/google/ads/google_ads/v3/services/keyword_plan_negative_keyword_service_client_config.json +36 -0
  772. data/lib/google/ads/google_ads/v3/services/keyword_plan_negative_keyword_service_pb.rb +45 -0
  773. data/lib/google/ads/google_ads/v3/services/keyword_plan_negative_keyword_service_services_pb.rb +44 -0
  774. data/lib/google/ads/google_ads/v3/services/keyword_plan_service_client.rb +363 -0
  775. data/lib/google/ads/google_ads/v3/services/keyword_plan_service_client_config.json +46 -0
  776. data/lib/google/ads/google_ads/v3/services/keyword_plan_service_pb.rb +93 -0
  777. data/lib/google/ads/google_ads/v3/services/keyword_plan_service_services_pb.rb +48 -0
  778. data/lib/google/ads/google_ads/v3/services/keyword_view_service_client.rb +224 -0
  779. data/lib/google/ads/google_ads/v3/services/keyword_view_service_client_config.json +31 -0
  780. data/lib/google/ads/google_ads/v3/services/keyword_view_service_pb.rb +18 -0
  781. data/lib/google/ads/google_ads/v3/services/keyword_view_service_services_pb.rb +41 -0
  782. data/lib/google/ads/google_ads/v3/services/label_service_client.rb +285 -0
  783. data/lib/google/ads/google_ads/v3/services/label_service_client_config.json +36 -0
  784. data/lib/google/ads/google_ads/v3/services/label_service_pb.rb +45 -0
  785. data/lib/google/ads/google_ads/v3/services/label_service_services_pb.rb +41 -0
  786. data/lib/google/ads/google_ads/v3/services/landing_page_view_service_client.rb +224 -0
  787. data/lib/google/ads/google_ads/v3/services/landing_page_view_service_client_config.json +31 -0
  788. data/lib/google/ads/google_ads/v3/services/landing_page_view_service_pb.rb +18 -0
  789. data/lib/google/ads/google_ads/v3/services/landing_page_view_service_services_pb.rb +41 -0
  790. data/lib/google/ads/google_ads/v3/services/language_constant_service_client.rb +222 -0
  791. data/lib/google/ads/google_ads/v3/services/language_constant_service_client_config.json +31 -0
  792. data/lib/google/ads/google_ads/v3/services/language_constant_service_pb.rb +18 -0
  793. data/lib/google/ads/google_ads/v3/services/language_constant_service_services_pb.rb +41 -0
  794. data/lib/google/ads/google_ads/v3/services/location_view_service_client.rb +224 -0
  795. data/lib/google/ads/google_ads/v3/services/location_view_service_client_config.json +31 -0
  796. data/lib/google/ads/google_ads/v3/services/location_view_service_pb.rb +18 -0
  797. data/lib/google/ads/google_ads/v3/services/location_view_service_services_pb.rb +41 -0
  798. data/lib/google/ads/google_ads/v3/services/managed_placement_view_service_client.rb +224 -0
  799. data/lib/google/ads/google_ads/v3/services/managed_placement_view_service_client_config.json +31 -0
  800. data/lib/google/ads/google_ads/v3/services/managed_placement_view_service_pb.rb +18 -0
  801. data/lib/google/ads/google_ads/v3/services/managed_placement_view_service_services_pb.rb +41 -0
  802. data/lib/google/ads/google_ads/v3/services/media_file_service_client.rb +285 -0
  803. data/lib/google/ads/google_ads/v3/services/media_file_service_client_config.json +36 -0
  804. data/lib/google/ads/google_ads/v3/services/media_file_service_pb.rb +41 -0
  805. data/lib/google/ads/google_ads/v3/services/media_file_service_services_pb.rb +43 -0
  806. data/lib/google/ads/google_ads/v3/services/merchant_center_link_service_client.rb +315 -0
  807. data/lib/google/ads/google_ads/v3/services/merchant_center_link_service_client_config.json +41 -0
  808. data/lib/google/ads/google_ads/v3/services/merchant_center_link_service_pb.rb +48 -0
  809. data/lib/google/ads/google_ads/v3/services/merchant_center_link_service_services_pb.rb +46 -0
  810. data/lib/google/ads/google_ads/v3/services/mobile_app_category_constant_service_client.rb +222 -0
  811. data/lib/google/ads/google_ads/v3/services/mobile_app_category_constant_service_client_config.json +31 -0
  812. data/lib/google/ads/google_ads/v3/services/mobile_app_category_constant_service_pb.rb +18 -0
  813. data/lib/google/ads/google_ads/v3/services/mobile_app_category_constant_service_services_pb.rb +39 -0
  814. data/lib/google/ads/google_ads/v3/services/mobile_device_constant_service_client.rb +222 -0
  815. data/lib/google/ads/google_ads/v3/services/mobile_device_constant_service_client_config.json +31 -0
  816. data/lib/google/ads/google_ads/v3/services/mobile_device_constant_service_pb.rb +18 -0
  817. data/lib/google/ads/google_ads/v3/services/mobile_device_constant_service_services_pb.rb +41 -0
  818. data/lib/google/ads/google_ads/v3/services/mutate_job_service_client.rb +491 -0
  819. data/lib/google/ads/google_ads/v3/services/mutate_job_service_client_config.json +51 -0
  820. data/lib/google/ads/google_ads/v3/services/mutate_job_service_pb.rb +61 -0
  821. data/lib/google/ads/google_ads/v3/services/mutate_job_service_services_pb.rb +54 -0
  822. data/lib/google/ads/google_ads/v3/services/operating_system_version_constant_service_client.rb +222 -0
  823. data/lib/google/ads/google_ads/v3/services/operating_system_version_constant_service_client_config.json +31 -0
  824. data/lib/google/ads/google_ads/v3/services/operating_system_version_constant_service_pb.rb +18 -0
  825. data/lib/google/ads/google_ads/v3/services/operating_system_version_constant_service_services_pb.rb +41 -0
  826. data/lib/google/ads/google_ads/v3/services/paid_organic_search_term_view_service_client.rb +224 -0
  827. data/lib/google/ads/google_ads/v3/services/paid_organic_search_term_view_service_client_config.json +31 -0
  828. data/lib/google/ads/google_ads/v3/services/paid_organic_search_term_view_service_pb.rb +18 -0
  829. data/lib/google/ads/google_ads/v3/services/paid_organic_search_term_view_service_services_pb.rb +41 -0
  830. data/lib/google/ads/google_ads/v3/services/parental_status_view_service_client.rb +224 -0
  831. data/lib/google/ads/google_ads/v3/services/parental_status_view_service_client_config.json +31 -0
  832. data/lib/google/ads/google_ads/v3/services/parental_status_view_service_pb.rb +18 -0
  833. data/lib/google/ads/google_ads/v3/services/parental_status_view_service_services_pb.rb +41 -0
  834. data/lib/google/ads/google_ads/v3/services/payments_account_service_client.rb +212 -0
  835. data/lib/google/ads/google_ads/v3/services/payments_account_service_client_config.json +31 -0
  836. data/lib/google/ads/google_ads/v3/services/payments_account_service_pb.rb +22 -0
  837. data/lib/google/ads/google_ads/v3/services/payments_account_service_services_pb.rb +44 -0
  838. data/lib/google/ads/google_ads/v3/services/product_bidding_category_constant_service_client.rb +222 -0
  839. data/lib/google/ads/google_ads/v3/services/product_bidding_category_constant_service_client_config.json +31 -0
  840. data/lib/google/ads/google_ads/v3/services/product_bidding_category_constant_service_pb.rb +18 -0
  841. data/lib/google/ads/google_ads/v3/services/product_bidding_category_constant_service_services_pb.rb +41 -0
  842. data/lib/google/ads/google_ads/v3/services/product_group_view_service_client.rb +224 -0
  843. data/lib/google/ads/google_ads/v3/services/product_group_view_service_client_config.json +31 -0
  844. data/lib/google/ads/google_ads/v3/services/product_group_view_service_pb.rb +18 -0
  845. data/lib/google/ads/google_ads/v3/services/product_group_view_service_services_pb.rb +41 -0
  846. data/lib/google/ads/google_ads/v3/services/reach_plan_service_client.rb +436 -0
  847. data/lib/google/ads/google_ads/v3/services/reach_plan_service_client_config.json +46 -0
  848. data/lib/google/ads/google_ads/v3/services/reach_plan_service_pb.rb +130 -0
  849. data/lib/google/ads/google_ads/v3/services/reach_plan_service_services_pb.rb +54 -0
  850. data/lib/google/ads/google_ads/v3/services/recommendation_service_client.rb +340 -0
  851. data/lib/google/ads/google_ads/v3/services/recommendation_service_client_config.json +41 -0
  852. data/lib/google/ads/google_ads/v3/services/recommendation_service_pb.rb +106 -0
  853. data/lib/google/ads/google_ads/v3/services/recommendation_service_services_pb.rb +45 -0
  854. data/lib/google/ads/google_ads/v3/services/remarketing_action_service_client.rb +285 -0
  855. data/lib/google/ads/google_ads/v3/services/remarketing_action_service_client_config.json +36 -0
  856. data/lib/google/ads/google_ads/v3/services/remarketing_action_service_pb.rb +44 -0
  857. data/lib/google/ads/google_ads/v3/services/remarketing_action_service_services_pb.rb +43 -0
  858. data/lib/google/ads/google_ads/v3/services/search_term_view_service_client.rb +224 -0
  859. data/lib/google/ads/google_ads/v3/services/search_term_view_service_client_config.json +31 -0
  860. data/lib/google/ads/google_ads/v3/services/search_term_view_service_pb.rb +18 -0
  861. data/lib/google/ads/google_ads/v3/services/search_term_view_service_services_pb.rb +41 -0
  862. data/lib/google/ads/google_ads/v3/services/shared_criterion_service_client.rb +285 -0
  863. data/lib/google/ads/google_ads/v3/services/shared_criterion_service_client_config.json +36 -0
  864. data/lib/google/ads/google_ads/v3/services/shared_criterion_service_pb.rb +42 -0
  865. data/lib/google/ads/google_ads/v3/services/shared_criterion_service_services_pb.rb +43 -0
  866. data/lib/google/ads/google_ads/v3/services/shared_set_service_client.rb +285 -0
  867. data/lib/google/ads/google_ads/v3/services/shared_set_service_client_config.json +36 -0
  868. data/lib/google/ads/google_ads/v3/services/shared_set_service_pb.rb +45 -0
  869. data/lib/google/ads/google_ads/v3/services/shared_set_service_services_pb.rb +43 -0
  870. data/lib/google/ads/google_ads/v3/services/shopping_performance_view_service_client.rb +222 -0
  871. data/lib/google/ads/google_ads/v3/services/shopping_performance_view_service_client_config.json +31 -0
  872. data/lib/google/ads/google_ads/v3/services/shopping_performance_view_service_pb.rb +18 -0
  873. data/lib/google/ads/google_ads/v3/services/shopping_performance_view_service_services_pb.rb +41 -0
  874. data/lib/google/ads/google_ads/v3/services/topic_constant_service_client.rb +222 -0
  875. data/lib/google/ads/google_ads/v3/services/topic_constant_service_client_config.json +31 -0
  876. data/lib/google/ads/google_ads/v3/services/topic_constant_service_pb.rb +18 -0
  877. data/lib/google/ads/google_ads/v3/services/topic_constant_service_services_pb.rb +41 -0
  878. data/lib/google/ads/google_ads/v3/services/topic_view_service_client.rb +224 -0
  879. data/lib/google/ads/google_ads/v3/services/topic_view_service_client_config.json +31 -0
  880. data/lib/google/ads/google_ads/v3/services/topic_view_service_pb.rb +18 -0
  881. data/lib/google/ads/google_ads/v3/services/topic_view_service_services_pb.rb +41 -0
  882. data/lib/google/ads/google_ads/v3/services/user_interest_service_client.rb +224 -0
  883. data/lib/google/ads/google_ads/v3/services/user_interest_service_client_config.json +31 -0
  884. data/lib/google/ads/google_ads/v3/services/user_interest_service_pb.rb +18 -0
  885. data/lib/google/ads/google_ads/v3/services/user_interest_service_services_pb.rb +41 -0
  886. data/lib/google/ads/google_ads/v3/services/user_list_service_client.rb +285 -0
  887. data/lib/google/ads/google_ads/v3/services/user_list_service_client_config.json +36 -0
  888. data/lib/google/ads/google_ads/v3/services/user_list_service_pb.rb +45 -0
  889. data/lib/google/ads/google_ads/v3/services/user_list_service_services_pb.rb +43 -0
  890. data/lib/google/ads/google_ads/v3/services/user_location_view_service_client.rb +224 -0
  891. data/lib/google/ads/google_ads/v3/services/user_location_view_service_client_config.json +31 -0
  892. data/lib/google/ads/google_ads/v3/services/user_location_view_service_pb.rb +18 -0
  893. data/lib/google/ads/google_ads/v3/services/user_location_view_service_services_pb.rb +41 -0
  894. data/lib/google/ads/google_ads/v3/services/video_service_client.rb +224 -0
  895. data/lib/google/ads/google_ads/v3/services/video_service_client_config.json +31 -0
  896. data/lib/google/ads/google_ads/v3/services/video_service_pb.rb +18 -0
  897. data/lib/google/ads/google_ads/v3/services/video_service_services_pb.rb +41 -0
  898. data/lib/google/ads/google_ads/version.rb +1 -1
  899. metadata +890 -2
@@ -46,6 +46,18 @@ module Google
46
46
  module Services
47
47
  end
48
48
  end
49
+ module V3
50
+ module Common
51
+ end
52
+ module Enums
53
+ end
54
+ module Errors
55
+ end
56
+ module Resources
57
+ end
58
+ module Services
59
+ end
60
+ end
49
61
  end
50
62
  end
51
63
  end
@@ -215,35 +227,6 @@ module Google
215
227
 
216
228
  private
217
229
 
218
- ERROR_TRANSFORMER = Proc.new do |gax_error|
219
- begin
220
- gax_error.status_details.each do |detail|
221
- # If there is an underlying GoogleAdsFailure, throw that one.
222
- if detail.is_a?(
223
- Google::Ads::GoogleAds::V1::Errors::GoogleAdsFailure)
224
- raise Google::Ads::GoogleAds::Errors::GoogleAdsError.new(
225
- detail)
226
- end
227
- if detail.is_a?(Google::Protobuf::Any)
228
- type = Google::Protobuf::DescriptorPool.generated_pool.lookup(
229
- detail.type_name).msgclass
230
- failure = detail.unpack(type)
231
- raise Google::Ads::GoogleAds::Errors::GoogleAdsError.new(
232
- failure)
233
- end
234
- end
235
- rescue Google::Ads::GoogleAds::Errors::GoogleAdsError
236
- # If we raised this, bubble it out.
237
- raise
238
- rescue NoMethodError
239
- # Sometimes status_details is just a String; in that case, we should
240
- # just raise the original exception.
241
- end
242
- # If we don't find an error of the correct type, or if we run into an
243
- # error while processing, just throw the original.
244
- raise gax_error
245
- end
246
-
247
230
  def get_credentials
248
231
  if @config.authentication
249
232
  @config.authentication
@@ -51,6 +51,32 @@ module Google
51
51
  end
52
52
  end
53
53
 
54
+ def server_streamer(request:, call:, method:, metadata: {})
55
+ begin
56
+ @logger.info { build_summary_message(request, call, method, false) }
57
+ responses = yield
58
+ Enumerator.new do |y|
59
+ responses.each { |response|
60
+ @logger.debug { build_request_message(metadata, request) }
61
+ @logger.debug { build_success_response_message(response) }
62
+ if response.respond_to?(:partial_failure_error) && response.partial_failure_error
63
+ @logger.debug { build_partial_failure_message(response) }
64
+ end
65
+ y << response
66
+ }
67
+ @logger.debug {
68
+ "Request ID for preceding streaming request: " \
69
+ "#{call.instance_variable_get(:@wrapped).instance_variable_get(:@call).trailing_metadata["request-id"]}"
70
+ }
71
+ end
72
+ rescue Exception
73
+ @logger.warn { build_summary_message(request, call, method, true) }
74
+ @logger.info { build_request_message(metadata, request) }
75
+ @logger.info { build_error_response_message }
76
+ raise
77
+ end
78
+ end
79
+
54
80
  private
55
81
 
56
82
  def build_partial_failure_message(response)
@@ -0,0 +1,49 @@
1
+ require 'delegate'
2
+
3
+ module Google
4
+ module Ads
5
+ module GoogleAds
6
+ class SearchStreamInterceptingFactory < SimpleDelegator
7
+ def initialize(transformer, factory)
8
+ @transformer = transformer
9
+ @factory = factory
10
+
11
+ super(@factory)
12
+ end
13
+
14
+ def google_ads
15
+ GoogleAdsInterceptor.new(@transformer, super)
16
+ end
17
+
18
+ private
19
+
20
+ class GoogleAdsInterceptor < SimpleDelegator
21
+ def initialize(transformer, google_ads_service)
22
+ @transformer = transformer
23
+ @google_ads_service = google_ads_service
24
+
25
+ super(@google_ads_service)
26
+ end
27
+
28
+ def search_stream(*args, &blk)
29
+ res = super(*args)
30
+ if !blk.nil?
31
+ begin
32
+ res.each(&blk)
33
+ return res
34
+ rescue BasicObject => e
35
+ raise @transformer.call(e)
36
+ end
37
+ end
38
+
39
+ Enumerator.new do |y|
40
+ res.each { |item| y << item }
41
+ rescue BasicObject => e
42
+ raise @transformer.call(e)
43
+ end
44
+ end
45
+ end
46
+ end
47
+ end
48
+ end
49
+ end
@@ -1,3 +1,6 @@
1
+ require 'google/ads/google_ads/error_transformer'
2
+ require 'google/ads/google_ads/search_stream_intercepting_factory'
3
+
1
4
  module Google
2
5
  module Ads
3
6
  module GoogleAds
@@ -24,6 +27,15 @@ module Google
24
27
  Factories::HIGHEST_VERSION,
25
28
  logging_interceptor,
26
29
  )
30
+
31
+ highest_factory = if Factories::HIGHEST_VERSION == :V3
32
+ GoogleAds::SearchStreamInterceptingFactory.new(
33
+ GoogleAds::ERROR_TRANSFORMER,
34
+ highest_factory,
35
+ )
36
+ else
37
+ highest_factory
38
+ end
27
39
  VersionAlternate.new(highest_factory, version_alternates)
28
40
  end
29
41
 
@@ -42,7 +54,7 @@ module Google
42
54
  {
43
55
  credentials: credentials_or_channel,
44
56
  metadata: headers,
45
- exception_transformer: ERROR_TRANSFORMER
57
+ exception_transformer: GoogleAds::ERROR_TRANSFORMER
46
58
  }
47
59
  end
48
60
 
@@ -76,38 +88,6 @@ module Google
76
88
  end
77
89
  end
78
90
 
79
- ERROR_TRANSFORMER = Proc.new do |gax_error|
80
- begin
81
- gax_error.status_details.each do |detail|
82
- # If there is an underlying GoogleAdsFailure, throw that one.
83
- if detail.class.name.start_with?("Google::Ads::GoogleAds") &&
84
- detail.class.name.end_with?("GoogleAdsFailure")
85
- raise Google::Ads::GoogleAds::Errors::GoogleAdsError.new(
86
- detail
87
- )
88
- elsif detail.is_a?(Google::Protobuf::Any)
89
- type = Google::Protobuf::DescriptorPool.generated_pool.lookup(
90
- detail.type_name
91
- ).msgclass
92
- failure = detail.unpack(type)
93
-
94
- raise Google::Ads::GoogleAds::Errors::GoogleAdsError.new(
95
- failure
96
- )
97
- end
98
- end
99
- rescue Google::Ads::GoogleAds::Errors::GoogleAdsError
100
- # If we raised this, bubble it out.
101
- raise
102
- rescue NoMethodError
103
- # Sometimes status_details is just a String; in that case, we should
104
- # just raise the original exception.
105
- end
106
- # If we don't find an error of the correct type, or if we run into an
107
- # error while processing, just throw the original.
108
- raise gax_error
109
- end
110
-
111
91
  attr_reader :name
112
92
  attr_reader :version
113
93
  attr_reader :service_path
@@ -0,0 +1,876 @@
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 V3
24
+ class PathLookupUtil
25
+ include Google::Ads::GoogleAds::V3::Services
26
+
27
+ def account_budget_proposal(customer_id, account_budget_proposal_id)
28
+ require 'google/ads/google_ads/v3/services/account_budget_proposal_service_client'
29
+
30
+ AccountBudgetProposalServiceClient
31
+ .account_budget_proposal_path(
32
+ customer_id.to_s,
33
+ account_budget_proposal_id.to_s,
34
+ )
35
+ end
36
+
37
+ def account_budget(customer_id, account_budget_id)
38
+ require 'google/ads/google_ads/v3/services/account_budget_service_client'
39
+
40
+ AccountBudgetServiceClient.
41
+ account_budget_path(customer_id.to_s, account_budget_id.to_s)
42
+ end
43
+
44
+ def ad_group_ad_label(customer_id, ad_group_id, ad_id, label_id)
45
+ require 'google/ads/google_ads/v3/services/ad_group_ad_label_service_client'
46
+ AdGroupAdLabelServiceClient.
47
+ ad_group_ad_label_path(
48
+ customer_id.to_s,
49
+ sprintf('%s~%s~%s', ad_group_id.to_s, ad_id.to_s,
50
+ label_id.to_s)
51
+ )
52
+ end
53
+
54
+ def ad_group_ad(customer_id, ad_group_id, ad_id)
55
+ require 'google/ads/google_ads/v3/services/ad_group_ad_service_client'
56
+ AdGroupAdServiceClient
57
+ .ad_group_ad_path(
58
+ customer_id.to_s,
59
+ sprintf('%s~%s', ad_group_id.to_s, ad_id.to_s)
60
+ )
61
+ end
62
+
63
+ def ad_group_audience_view(customer_id, ad_group_id, criterion_id)
64
+ require 'google/ads/google_ads/v3/services/ad_group_audience_view_service_client'
65
+ AdGroupAudienceViewServiceClient.
66
+ ad_group_audience_view_path(
67
+ customer_id.to_s,
68
+ sprintf('%s~%s', ad_group_id.to_s, criterion_id.to_s)
69
+ )
70
+ end
71
+
72
+ def ad_group_bid_modifier(customer_id, ad_group_id, criterion_id)
73
+ require 'google/ads/google_ads/v3/services/ad_group_bid_modifier_service_client'
74
+ AdGroupBidModifierServiceClient.
75
+ ad_group_bid_modifier_path(
76
+ customer_id.to_s,
77
+ sprintf('%s~%s', ad_group_id.to_s, criterion_id.to_s)
78
+ )
79
+ end
80
+
81
+ def ad_group_criterion_label(customer_id, ad_group_id, criterion_id,
82
+ label_id)
83
+ require 'google/ads/google_ads/v3/services/ad_group_criterion_label_service_client'
84
+ AdGroupCriterionLabelServiceClient.
85
+ ad_group_criterion_label_path(
86
+ customer_id.to_s,
87
+ sprintf('%s~%s~%s', ad_group_id.to_s, criterion_id.to_s,
88
+ label_id.to_s)
89
+ )
90
+ end
91
+
92
+ def ad_group_criterion(customer_id, ad_group_id, criterion_id)
93
+ require 'google/ads/google_ads/v3/services/ad_group_criterion_service_client'
94
+ AdGroupCriterionServiceClient.
95
+ ad_group_criteria_path(
96
+ customer_id.to_s,
97
+ sprintf('%s~%s', ad_group_id.to_s, criterion_id.to_s)
98
+ )
99
+ end
100
+
101
+ def ad_group_criterion_simulation(customer_id, ad_group_id,
102
+ criterion_id, type, modification_method, start_date, end_date)
103
+ require 'google/ads/google_ads/v3/services/ad_group_criterion_simulation_service_client'
104
+ AdGroupCriterionSimulationServiceClient.
105
+ ad_group_criterion_simulation_path(
106
+ customer_id.to_s,
107
+ sprintf(
108
+ '%s~%s~%s~%s~%s~%s',
109
+ ad_group_id.to_s,
110
+ criterion_id.to_s,
111
+ type.to_s,
112
+ modification_method.to_s,
113
+ start_date.to_s,
114
+ end_date.to_s,
115
+ )
116
+ )
117
+ end
118
+
119
+ def ad_group_extension_setting(customer_id, ad_group_id,
120
+ extension_type)
121
+ require 'google/ads/google_ads/v3/services/ad_group_extension_setting_service_client'
122
+ AdGroupExtensionSettingServiceClient.
123
+ ad_group_extension_setting_path(
124
+ customer_id.to_s,
125
+ sprintf('%s~%s', ad_group_id.to_s, extension_type.to_s)
126
+ )
127
+ end
128
+
129
+ def ad_group_feed(customer_id, ad_group_id, feed_id)
130
+ require 'google/ads/google_ads/v3/services/ad_group_feed_service_client'
131
+ AdGroupFeedServiceClient
132
+ .ad_group_feed_path(
133
+ customer_id.to_s,
134
+ sprintf('%s~%s', ad_group_id.to_s, feed_id.to_s)
135
+ )
136
+ end
137
+
138
+ def ad_group_label(customer_id, ad_group_id, label_id)
139
+ require 'google/ads/google_ads/v3/services/ad_group_label_service_client'
140
+ AdGroupLabelServiceClient
141
+ .ad_group_label_path(
142
+ customer_id.to_s,
143
+ sprintf('%s~%s', ad_group_id.to_s, label_id.to_s)
144
+ )
145
+ end
146
+
147
+ def ad_group(customer_id, ad_group_id)
148
+ require 'google/ads/google_ads/v3/services/ad_group_service_client'
149
+ AdGroupServiceClient
150
+ .ad_group_path(
151
+ customer_id.to_s, ad_group_id.to_s)
152
+ end
153
+
154
+ def ad_group_simulation(customer_id, ad_group_id, type,
155
+ modification_method, start_date, end_date)
156
+ require 'google/ads/google_ads/v3/services/ad_group_simulation_service_client'
157
+ AdGroupSimulationServiceClient.
158
+ ad_group_simulation_path(
159
+ customer_id.to_s,
160
+ sprintf(
161
+ '%s~%s~%s~%s~%s',
162
+ ad_group_id.to_s,
163
+ type.to_s,
164
+ modification_method.to_s,
165
+ start_date.to_s,
166
+ end_date.to_s,
167
+ )
168
+ )
169
+ end
170
+
171
+ def ad_parameter(customer_id, ad_group_id, criterion_id,
172
+ parameter_index)
173
+ require 'google/ads/google_ads/v3/services/ad_parameter_service_client'
174
+ AdParameterServiceClient
175
+ .ad_parameter_path(
176
+ customer_id.to_s,
177
+ sprintf('%s~%s~%s', ad_group_id, criterion_id, parameter_index)
178
+ )
179
+ end
180
+
181
+ def ad_schedule_view(customer_id, campaign_id, criterion_id)
182
+ require 'google/ads/google_ads/v3/services/ad_schedule_view_service_client'
183
+ AdScheduleViewServiceClient
184
+ .ad_schedule_view_path(
185
+ customer_id.to_s,
186
+ sprintf('%s~%s', campaign_id, criterion_id)
187
+ )
188
+ end
189
+
190
+ def ad(customer_id, ad_id)
191
+ require 'google/ads/google_ads/v3/services/ad_service_client'
192
+ AdServiceClient.ad_path(
193
+ customer_id.to_s,
194
+ ad_id.to_s,
195
+ )
196
+ end
197
+
198
+ def age_range_view(customer_id, ad_group_id, criterion_id)
199
+ require 'google/ads/google_ads/v3/services/age_range_view_service_client'
200
+ AgeRangeViewServiceClient
201
+ .age_range_view_path(
202
+ customer_id.to_s,
203
+ sprintf('%s~%s', ad_group_id.to_s, criterion_id.to_s)
204
+ )
205
+ end
206
+
207
+ def asset(customer_id, asset_id)
208
+ require 'google/ads/google_ads/v3/services/asset_service_client'
209
+ AssetServiceClient
210
+ .asset_path(
211
+ customer_id.to_s,
212
+ asset_id.to_s
213
+ )
214
+ end
215
+
216
+ def bidding_strategy(customer_id, bidding_strategy_id)
217
+ require 'google/ads/google_ads/v3/services/bidding_strategy_service_client'
218
+ BiddingStrategyServiceClient.
219
+ bidding_strategy_path(
220
+ customer_id.to_s,
221
+ bidding_strategy_id.to_s
222
+ )
223
+ end
224
+
225
+ def billing_setup(customer_id, billing_id)
226
+ require 'google/ads/google_ads/v3/services/billing_setup_service_client'
227
+ BillingSetupServiceClient
228
+ .billing_setup_path(
229
+ customer_id.to_s, billing_id.to_s)
230
+ end
231
+
232
+ def campaign_audience_view(customer_id, campaign_id, criterion_id)
233
+ require 'google/ads/google_ads/v3/services/campaign_audience_view_service_client'
234
+ CampaignAudienceViewServiceClient.
235
+ campaign_audience_view_path(
236
+ customer_id.to_s,
237
+ sprintf('%s~%s', campaign_id.to_s, criterion_id.to_s)
238
+ )
239
+ end
240
+
241
+ def campaign_bid_modifier(customer_id, campaign_bid_modifier_id)
242
+ require 'google/ads/google_ads/v3/services/campaign_bid_modifier_service_client'
243
+ CampaignBidModifierServiceClient.
244
+ campaign_bid_modifier_path(customer_id.to_s,
245
+ campaign_bid_modifier_id.to_s)
246
+ end
247
+
248
+ def campaign_budget(customer_id, campaign_budget_id)
249
+ require 'google/ads/google_ads/v3/services/campaign_budget_service_client'
250
+ CampaignBudgetServiceClient
251
+ .campaign_budget_path(
252
+ customer_id.to_s, campaign_budget_id.to_s)
253
+ end
254
+
255
+ def campaign_criterion(customer_id, campaign_id, criterion_id)
256
+ require 'google/ads/google_ads/v3/services/campaign_criterion_service_client'
257
+ CampaignCriterionServiceClient.
258
+ campaign_criteria_path(
259
+ customer_id.to_s,
260
+ sprintf('%s~%s', campaign_id.to_s, criterion_id.to_s)
261
+ )
262
+ end
263
+
264
+ def campaign_criterion_simulation(customer_id, campaign_id, criterion_id,
265
+ type, modification_method, start_date, end_date)
266
+ require 'google/ads/google_ads/v3/services/campaign_criterion_simulation_service_client'
267
+ CampaignCriterionSimulationServiceClient.
268
+ campaign_criterion_simulation_path(
269
+ customer_id.to_s,
270
+ sprintf(
271
+ '%s~%s~%s~%s~%s~%s',
272
+ campaign_id.to_s,
273
+ criterion_id.to_s,
274
+ type.to_s,
275
+ modification_method.to_s,
276
+ start_date.to_s,
277
+ end_date.to_s,
278
+ )
279
+ )
280
+ end
281
+
282
+ def campaign_draft(customer_id, campaign_id, draft_id)
283
+ require 'google/ads/google_ads/v3/services/campaign_draft_service_client'
284
+ CampaignDraftServiceClient
285
+ .campaign_draft_path(
286
+ customer_id.to_s,
287
+ "#{campaign_id}~#{draft_id}"
288
+ )
289
+ end
290
+
291
+ def campaign_experiment(customer_id, experiment_id)
292
+ require 'google/ads/google_ads/v3/services/campaign_experiment_service_client'
293
+ CampaignExperimentServiceClient
294
+ .campaign_experiment_path(
295
+ customer_id.to_s,
296
+ experiment_id.to_s,
297
+ )
298
+ end
299
+
300
+ def campaign_extension_setting(customer_id, campaign_id,
301
+ extension_type)
302
+ require 'google/ads/google_ads/v3/services/campaign_extension_setting_service_client'
303
+ CampaignExtensionSettingServiceClient.
304
+ campaign_extension_setting_path(
305
+ customer_id.to_s,
306
+ sprintf('%s~%s', campaign_id.to_s, extension_type.to_s)
307
+ )
308
+ end
309
+
310
+ def campaign_feed(customer_id, campaign_id, feed_id)
311
+ require 'google/ads/google_ads/v3/services/campaign_feed_service_client'
312
+ CampaignFeedServiceClient
313
+ .campaign_feed_path(
314
+ customer_id.to_s,
315
+ sprintf('%s~%s', campaign_id.to_s, feed_id.to_s)
316
+ )
317
+ end
318
+
319
+ def campaign_label(customer_id, campaign_id, label_id)
320
+ require 'google/ads/google_ads/v3/services/campaign_label_service_client'
321
+ CampaignLabelServiceClient
322
+ .campaign_label_path(
323
+ customer_id.to_s,
324
+ sprintf('%s~%s', campaign_id.to_s, label_id.to_s)
325
+ )
326
+ end
327
+
328
+ def campaign_shared_set(customer_id, campaign_id, shared_set_id)
329
+ require 'google/ads/google_ads/v3/services/campaign_shared_set_service_client'
330
+ CampaignSharedSetServiceClient.
331
+ campaign_shared_set_path(
332
+ customer_id.to_s,
333
+ sprintf('%s~%s', campaign_id.to_s, shared_set_id.to_s)
334
+ )
335
+ end
336
+
337
+ def campaign(customer_id, campaign_id)
338
+ require 'google/ads/google_ads/v3/services/campaign_service_client'
339
+ CampaignServiceClient
340
+ .campaign_path(
341
+ customer_id.to_s, campaign_id.to_s)
342
+ end
343
+
344
+ def carrier_constant(criterion_id)
345
+ require 'google/ads/google_ads/v3/services/carrier_constant_service_client'
346
+ CarrierConstantServiceClient.
347
+ carrier_constant_path(criterion_id.to_s)
348
+ end
349
+
350
+ def change_status(customer_id, change_status_id)
351
+ require 'google/ads/google_ads/v3/services/change_status_service_client'
352
+ ChangeStatusServiceClient
353
+ .change_status_path(
354
+ customer_id.to_s, change_status_id.to_s)
355
+ end
356
+
357
+ # Date is expected in format 'yyyy-MM-dd'
358
+ def click_view(customer_id, date, gclid)
359
+ require 'google/ads/google_ads/v3/services/click_view_service_client'
360
+ ClickViewServiceClient
361
+ .click_view_path(
362
+ customer_id.to_s,
363
+ sprintf('%s~%s', date.to_s, gclid.to_s)
364
+ )
365
+ end
366
+
367
+ def conversion_action(customer_id, conversion_action_id)
368
+ require 'google/ads/google_ads/v3/services/conversion_action_service_client'
369
+ ConversionActionServiceClient.
370
+ conversion_action_path(
371
+ customer_id.to_s,
372
+ conversion_action_id.to_s
373
+ )
374
+ end
375
+
376
+ def currency_constant(criterion_id)
377
+ require 'google/ads/google_ads/v3/services/currency_constant_service_client'
378
+ CurrencyConstantServiceClient.
379
+ currency_constant_path(criterion_id.to_s)
380
+ end
381
+
382
+ def custom_interest(customer_id, custom_interest_id)
383
+ require 'google/ads/google_ads/v3/services/custom_interest_service_client'
384
+ CustomInterestServiceClient
385
+ .custom_interest_path(
386
+ customer_id.to_s,
387
+ custom_interest_id.to_s
388
+ )
389
+ end
390
+
391
+ def customer_client_link(
392
+ customer_id, client_customer_id, manager_link_id)
393
+ require 'google/ads/google_ads/v3/services/customer_client_link_service_client'
394
+ CustomerClientLinkServiceClient.
395
+ customer_client_link_path(
396
+ customer_id.to_s,
397
+ sprintf('%s~%s', client_customer_id.to_s,
398
+ manager_link_id.to_s)
399
+ )
400
+ end
401
+
402
+ def customer_client(customer_id, client_customer_id)
403
+ require 'google/ads/google_ads/v3/services/customer_client_service_client'
404
+ CustomerClientServiceClient
405
+ .customer_client_path(
406
+ customer_id.to_s, client_customer_id.to_s)
407
+ end
408
+
409
+ def customer_extension_setting(customer_id, extension_type)
410
+ require 'google/ads/google_ads/v3/services/customer_extension_setting_service_client'
411
+ CustomerExtensionSettingServiceClient.
412
+ customer_extension_setting_path(
413
+ customer_id.to_s,
414
+ extension_type.to_s
415
+ )
416
+ end
417
+
418
+ def customer_feed(customer_id, feed_id)
419
+ require 'google/ads/google_ads/v3/services/customer_feed_service_client'
420
+ CustomerFeedServiceClient
421
+ .customer_feed_path(
422
+ customer_id.to_s, feed_id.to_s)
423
+ end
424
+
425
+ def customer_label(customer_id, label_id)
426
+ require 'google/ads/google_ads/v3/services/customer_label_service_client'
427
+ CustomerLabelServiceClient
428
+ .customer_label_path(
429
+ customer_id.to_s, label_id.to_s)
430
+ end
431
+
432
+ def customer_manager_link(
433
+ customer_id, manager_customer_id, manager_link_id)
434
+ require 'google/ads/google_ads/v3/services/customer_manager_link_service_client'
435
+ CustomerManagerLinkServiceClient.
436
+ customer_manager_link_path(
437
+ customer_id.to_s,
438
+ sprintf('%s~%s', manager_customer_id.to_s,
439
+ manager_link_id.to_s)
440
+ )
441
+ end
442
+
443
+ def customer_negative_criterion(customer_id, criterion_id)
444
+ require 'google/ads/google_ads/v3/services/customer_negative_criterion_service_client'
445
+ CustomerNegativeCriterionServiceClient.
446
+ customer_negative_criteria_path(
447
+ customer_id.to_s,
448
+ criterion_id.to_s
449
+ )
450
+ end
451
+
452
+ def customer(customer_id)
453
+ require 'google/ads/google_ads/v3/services/customer_service_client'
454
+ CustomerServiceClient.
455
+ customer_path(customer_id.to_s)
456
+ end
457
+
458
+ def detail_placement_view(customer_id, ad_group_id,
459
+ base64_placement)
460
+ require 'google/ads/google_ads/v3/services/detail_placement_view_service_client'
461
+ DetailPlacementViewServiceClient.
462
+ detail_placement_view_path(
463
+ customer_id.to_s,
464
+ sprintf('%s~%s', ad_group_id.to_s, base64_placement.to_s)
465
+ )
466
+ end
467
+
468
+ def display_keyword_view(customer_id, ad_group_id, criterion_id)
469
+ require 'google/ads/google_ads/v3/services/display_keyword_view_service_client'
470
+ DisplayKeywordViewServiceClient.
471
+ display_keyword_view_path(
472
+ customer_id.to_s,
473
+ sprintf('%s~%s', ad_group_id.to_s, criterion_id.to_s)
474
+ )
475
+ end
476
+
477
+ def domain_category(customer_id, campaign_id, category_base64,
478
+ language_code)
479
+ require 'google/ads/google_ads/v3/services/domain_category_service_client'
480
+ DomainCategoryServiceClient
481
+ .domain_category_path(
482
+ customer_id.to_s,
483
+ sprintf('%s~%s~%s', campaign_id.to_s, category_base64.to_s,
484
+ language_code.to_s)
485
+ )
486
+ end
487
+
488
+ def dynamic_search_ads_search_term_view(customer_id, ad_group_id,
489
+ search_term, headline, landing_page, page_url)
490
+ require 'google/ads/google_ads/v3/services/dynamic_search_ads_search_term_view_service_client'
491
+ DynamicSearchAdsSearchTermViewServiceClient.
492
+ dynamic_search_ads_search_term_view_path(
493
+ customer_id.to_s,
494
+ sprintf(
495
+ '%s~%s~%s~%s~%s',
496
+ ad_group_id.to_s,
497
+ search_term.to_s,
498
+ headline.to_s,
499
+ landing_page.to_s,
500
+ page_url.to_s
501
+ )
502
+ )
503
+ end
504
+
505
+ def expanded_landing_page_view(customer_id, expanded_final_url_fingerprint)
506
+ require 'google/ads/google_ads/v3/services/expanded_landing_page_view_service_client'
507
+ ExpandedLandingPageViewServiceClient.
508
+ expanded_landing_page_view_path(
509
+ customer_id.to_s,
510
+ expanded_final_url_fingerprint.to_s,
511
+ )
512
+ end
513
+
514
+ def extension_feed_item(customer_id, feed_item_id)
515
+ require 'google/ads/google_ads/v3/services/extension_feed_item_service_client'
516
+ ExtensionFeedItemServiceClient.
517
+ extension_feed_item_path(
518
+ customer_id.to_s,
519
+ feed_item_id.to_s
520
+ )
521
+ end
522
+
523
+ def feed_item(customer_id, feed_id, feed_item_id)
524
+ require 'google/ads/google_ads/v3/services/feed_item_service_client'
525
+ FeedItemServiceClient
526
+ .feed_item_path(
527
+ customer_id.to_s,
528
+ sprintf('%s~%s', feed_id.to_s, feed_item_id.to_s)
529
+ )
530
+ end
531
+
532
+ def feed_item_target(customer_id, feed_id, feed_item_id,
533
+ feed_item_target_type, feed_item_target_id)
534
+ require 'google/ads/google_ads/v3/services/feed_item_target_service_client'
535
+ FeedItemTargetServiceClient
536
+ .feed_item_target_path(
537
+ customer_id.to_s,
538
+ sprintf(
539
+ '%s~%s~%s~%s',
540
+ feed_id.to_s,
541
+ feed_item_id.to_s,
542
+ feed_item_target_type.to_s,
543
+ feed_item_target_id.to_s
544
+ )
545
+ )
546
+ end
547
+
548
+ def feed_mapping(customer_id, feed_id, feed_mapping_id)
549
+ require 'google/ads/google_ads/v3/services/feed_mapping_service_client'
550
+ FeedMappingServiceClient
551
+ .feed_mapping_path(
552
+ customer_id.to_s,
553
+ sprintf('%s~%s', feed_id.to_s, feed_mapping_id.to_s)
554
+ )
555
+ end
556
+
557
+ def feed_placeholder_view(customer_id, placeholder_type)
558
+ require 'google/ads/google_ads/v3/services/feed_placeholder_view_service_client'
559
+ FeedPlaceholderViewServiceClient.
560
+ feed_placeholder_view_path(
561
+ customer_id.to_s,
562
+ placeholder_type.to_s
563
+ )
564
+ end
565
+
566
+ def feed(customer_id, feed_id)
567
+ require 'google/ads/google_ads/v3/services/feed_service_client'
568
+ FeedServiceClient
569
+ .feed_path(
570
+ customer_id.to_s, feed_id.to_s)
571
+ end
572
+
573
+ def gender_view(customer_id, ad_group_id, criterion_id)
574
+ require 'google/ads/google_ads/v3/services/gender_view_service_client'
575
+ GenderViewServiceClient
576
+ .gender_view_path(
577
+ customer_id.to_s,
578
+ sprintf('%s~%s', ad_group_id.to_s, criterion_id.to_s)
579
+ )
580
+ end
581
+
582
+ def geo_target_constant(geo_target_constant_id)
583
+ require 'google/ads/google_ads/v3/services/geo_target_constant_service_client'
584
+ GeoTargetConstantServiceClient.
585
+ geo_target_constant_path(geo_target_constant_id.to_s)
586
+ end
587
+
588
+ def geographic_view(customer_id, country_criterion_id,
589
+ location_type)
590
+ require 'google/ads/google_ads/v3/services/geographic_view_service_client'
591
+ GeographicViewServiceClient
592
+ .geographic_view_path(
593
+ customer_id.to_s,
594
+ sprintf('%s~%s', country_criterion_id.to_s, location_type.to_s)
595
+ )
596
+ end
597
+
598
+ def google_ads_field(google_ads_field)
599
+ require 'google/ads/google_ads/v3/services/google_ads_field_service_client'
600
+ GoogleAdsFieldServiceClient
601
+ .google_ads_field_path(
602
+ google_ads_field.to_s)
603
+ end
604
+
605
+ def group_placement_view(customer_id, ad_group_id, base64_placement)
606
+ require 'google/ads/google_ads/v3/services/group_placement_view_service_client'
607
+ GroupPlacementViewServiceClient.
608
+ group_placement_view_path(
609
+ customer_id.to_s,
610
+ sprintf('%s~%s', ad_group_id.to_s, base64_placement.to_s)
611
+ )
612
+ end
613
+
614
+ def hotel_group_view(customer_id, ad_group_id, criterion_id)
615
+ require 'google/ads/google_ads/v3/services/hotel_group_view_service_client'
616
+ HotelGroupViewServiceClient
617
+ .hotel_group_view_path(
618
+ customer_id.to_s,
619
+ sprintf('%s~%s', ad_group_id.to_s, criterion_id.to_s)
620
+ )
621
+ end
622
+
623
+ def hotel_performance_view(customer_id)
624
+ require 'google/ads/google_ads/v3/services/hotel_performance_view_service_client'
625
+ HotelPerformanceViewServiceClient.
626
+ hotel_performance_view_path(customer_id.to_s)
627
+ end
628
+
629
+ def keyword_plan_ad_group(customer_id, kp_ad_group_id)
630
+ require 'google/ads/google_ads/v3/services/keyword_plan_ad_group_service_client'
631
+ KeywordPlanAdGroupServiceClient.
632
+ keyword_plan_ad_group_path(
633
+ customer_id.to_s,
634
+ kp_ad_group_id.to_s
635
+ )
636
+ end
637
+
638
+ def keyword_plan_campaign(customer_id, kp_campaign_id)
639
+ require 'google/ads/google_ads/v3/services/keyword_plan_campaign_service_client'
640
+ KeywordPlanCampaignServiceClient.
641
+ keyword_plan_campaign_path(
642
+ customer_id.to_s,
643
+ kp_campaign_id.to_s
644
+ )
645
+ end
646
+
647
+ def keyword_plan_keyword(customer_id, kp_ad_group_keyword_id)
648
+ require 'google/ads/google_ads/v3/services/keyword_plan_keyword_service_client'
649
+ KeywordPlanKeywordServiceClient.
650
+ keyword_plan_keyword_path(
651
+ customer_id.to_s,
652
+ kp_ad_group_keyword_id.to_s
653
+ )
654
+ end
655
+
656
+ def keyword_plan_negative_keyword(customer_id,
657
+ kp_negative_keyword_id)
658
+ require 'google/ads/google_ads/v3/services/keyword_plan_negative_keyword_service_client'
659
+ KeywordPlanNegativeKeywordServiceClient.
660
+ keyword_plan_negative_keyword_path(
661
+ customer_id.to_s,
662
+ kp_negative_keyword_id.to_s
663
+ )
664
+ end
665
+
666
+ def keyword_plan(customer_id, kp_plan_id)
667
+ require 'google/ads/google_ads/v3/services/keyword_plan_service_client'
668
+ KeywordPlanServiceClient
669
+ .keyword_plan_path(
670
+ customer_id.to_s, kp_plan_id.to_s)
671
+ end
672
+
673
+ def keyword_view(customer_id, ad_group_id, criterion_id)
674
+ require 'google/ads/google_ads/v3/services/keyword_view_service_client'
675
+ KeywordViewServiceClient
676
+ .keyword_view_path(
677
+ customer_id.to_s,
678
+ sprintf('%s~%s', ad_group_id.to_s, criterion_id.to_s)
679
+ )
680
+ end
681
+
682
+ def label(customer_id, label_id)
683
+ require 'google/ads/google_ads/v3/services/label_service_client'
684
+ LabelServiceClient
685
+ .label_path(
686
+ customer_id.to_s,
687
+ label_id.to_s
688
+ )
689
+ end
690
+
691
+ def language_constant(criterion_id)
692
+ require 'google/ads/google_ads/v3/services/language_constant_service_client'
693
+ LanguageConstantServiceClient.
694
+ language_constant_path(criterion_id.to_s)
695
+ end
696
+
697
+ def location_view(customer_id, campaign_id, criterion_id)
698
+ require 'google/ads/google_ads/v3/services/location_view_service_client'
699
+ LocationViewServiceClient
700
+ .location_view_path(
701
+ customer_id.to_s,
702
+ sprintf('%s~%s', campaign_id.to_s, criterion_id.to_s)
703
+ )
704
+ end
705
+
706
+ def managed_placement_view(customer_id, ad_group_id, criterion_id)
707
+ require 'google/ads/google_ads/v3/services/managed_placement_view_service_client'
708
+ ManagedPlacementViewServiceClient.
709
+ managed_placement_view_path(
710
+ customer_id.to_s,
711
+ sprintf('%s~%s', ad_group_id.to_s, criterion_id.to_s)
712
+ )
713
+ end
714
+
715
+ def media_file(customer_id, media_file_id)
716
+ require 'google/ads/google_ads/v3/services/media_file_service_client'
717
+ MediaFileServiceClient
718
+ .media_file_path(
719
+ customer_id.to_s, media_file_id.to_s)
720
+ end
721
+
722
+ def merchant_center_link(customer_id, merchant_center_id)
723
+ require 'google/ads/google_ads/v3/services/merchant_center_link_service_client'
724
+ MerchantCenterLinkServiceClient.
725
+ merchant_center_link_path(
726
+ customer_id.to_s,
727
+ merchant_center_id.to_s
728
+ )
729
+ end
730
+
731
+ def mobile_app_category_constant(mobile_app_category_id)
732
+ require 'google/ads/google_ads/v3/services/mobile_app_category_constant_service_client'
733
+ MobileAppCategoryConstantServiceClient.
734
+ mobile_app_category_constant_path(mobile_app_category_id.to_s)
735
+ end
736
+
737
+ def mobile_device_constant(criterion_id)
738
+ require 'google/ads/google_ads/v3/services/mobile_device_constant_service_client'
739
+ MobileDeviceConstantServiceClient.
740
+ mobile_device_constant_path(criterion_id.to_s)
741
+ end
742
+
743
+ def mutate_job(customer_id, mutate_job_id)
744
+ require 'google/ads/google_ads/v3/services/mutate_job_service_client'
745
+ MutateJobServiceClient
746
+ .mutate_job_path(
747
+ customer_id.to_s,
748
+ mutate_job_id.to_s
749
+ )
750
+ end
751
+
752
+ def operating_system_version_constant(criterion_id)
753
+ require 'google/ads/google_ads/v3/services/operating_system_version_constant_service_client'
754
+ OperatingSystemVersionConstantServiceClient.
755
+ operating_system_version_constant_path(criterion_id.to_s)
756
+ end
757
+
758
+ def parental_status_view(customer_id, ad_group_id, criterion_id)
759
+ require 'google/ads/google_ads/v3/services/parental_status_view_service_client'
760
+ ParentalStatusViewServiceClient.
761
+ parental_status_view_path(
762
+ customer_id.to_s,
763
+ sprintf('%s~%s', ad_group_id.to_s, criterion_id.to_s)
764
+ )
765
+ end
766
+
767
+ def product_bidding_category_constant(country_code, level, id)
768
+ require 'google/ads/google_ads/v3/services/product_bidding_category_constant_service_client'
769
+ ProductBiddingCategoryConstantServiceClient.
770
+ product_bidding_category_constant_path(
771
+ sprintf('%s~%s~%s', country_code.to_s, level.to_s, id.to_s)
772
+ )
773
+ end
774
+
775
+ def product_group_view(customer_id, ad_group_id, criterion_id)
776
+ require 'google/ads/google_ads/v3/services/product_group_view_service_client'
777
+ ProductGroupViewServiceClient.
778
+ product_group_view_path(
779
+ customer_id.to_s,
780
+ sprintf('%s~%s', ad_group_id.to_s, criterion_id.to_s)
781
+ )
782
+ end
783
+
784
+ def recommendation(customer_id, recommendation_id)
785
+ require 'google/ads/google_ads/v3/services/recommendation_service_client'
786
+ RecommendationServiceClient
787
+ .recommendation_path(
788
+ customer_id.to_s, recommendation_id.to_s)
789
+ end
790
+
791
+ def remarketing_action(customer_id, remarketing_action_id)
792
+ require 'google/ads/google_ads/v3/services/remarketing_action_service_client'
793
+ RemarketingActionServiceClient.
794
+ remarketing_action_path(
795
+ customer_id.to_s,
796
+ remarketing_action_id.to_s
797
+ )
798
+ end
799
+
800
+ def search_term_view(customer_id, campaign_id, ad_group_id,
801
+ search_term)
802
+ require 'google/ads/google_ads/v3/services/search_term_view_service_client'
803
+ SearchTermViewServiceClient
804
+ .search_term_view_path(
805
+ customer_id.to_s,
806
+ sprintf('%s~%s~%s',
807
+ campaign_id.to_s, ad_group_id.to_s, search_term.to_s)
808
+ )
809
+ end
810
+
811
+ def shared_criterion(customer_id, shared_set_id, criterion_id)
812
+ require 'google/ads/google_ads/v3/services/shared_criterion_service_client'
813
+ SharedCriterionServiceClient
814
+ .shared_criteria_path(
815
+ customer_id.to_s,
816
+ sprintf('%s~%s', shared_set_id.to_s, criterion_id.to_s)
817
+ )
818
+ end
819
+
820
+ def shared_set(customer_id, shared_set_id)
821
+ require 'google/ads/google_ads/v3/services/shared_set_service_client'
822
+ SharedSetServiceClient
823
+ .shared_set_path(
824
+ customer_id.to_s, shared_set_id.to_s)
825
+ end
826
+
827
+ def shopping_performance_view(customer_id)
828
+ require 'google/ads/google_ads/v3/services/shopping_performance_view_service_client'
829
+ ShoppingPerformanceViewServiceClient.
830
+ shopping_performance_view_path(
831
+ customer_id.to_s
832
+ )
833
+ end
834
+
835
+ def topic_constant(vertical_id)
836
+ require 'google/ads/google_ads/v3/services/topic_constant_service_client'
837
+ TopicConstantServiceClient
838
+ .topic_constant_path(
839
+ vertical_id.to_s)
840
+ end
841
+
842
+ def topic_view(customer_id, ad_group_id, criterion_id)
843
+ require 'google/ads/google_ads/v3/services/topic_view_service_client'
844
+ TopicViewServiceClient
845
+ .topic_view_path(
846
+ customer_id.to_s,
847
+ sprintf('%s~%s', ad_group_id.to_s, criterion_id.to_s)
848
+ )
849
+ end
850
+
851
+ def user_interest(customer_id, user_interest_id)
852
+ require 'google/ads/google_ads/v3/services/user_interest_service_client'
853
+ UserInterestServiceClient
854
+ .user_interest_path(
855
+ customer_id.to_s, user_interest_id.to_s)
856
+ end
857
+
858
+ def user_list(customer_id, user_list_id)
859
+ require 'google/ads/google_ads/v3/services/user_list_service_client'
860
+ UserListServiceClient
861
+ .user_list_path(
862
+ customer_id.to_s, user_list_id.to_s)
863
+ end
864
+
865
+ def video(customer_id, video_id)
866
+ require 'google/ads/google_ads/v3/services/video_service_client'
867
+ VideoServiceClient
868
+ .video_path(
869
+ customer_id.to_s, video_id.to_s)
870
+ end
871
+ end
872
+ end
873
+ end
874
+ end
875
+ end
876
+ end