google-ads-googleads 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (317) hide show
  1. checksums.yaml +5 -5
  2. data/ChangeLog +7 -0
  3. data/README.md +6 -6
  4. data/{googleads_config.rb → google_ads_config.rb} +1 -1
  5. data/lib/google/ads/{googleads → google_ads}/config.rb +1 -1
  6. data/lib/google/ads/{googleads → google_ads}/errors.rb +1 -1
  7. data/lib/google/ads/{googleads → google_ads}/field_mask_util.rb +1 -1
  8. data/lib/google/ads/{googleads/googleads_client.rb → google_ads/google_ads_client.rb} +31 -24
  9. data/lib/google/ads/{googleads → google_ads}/patches.rb +0 -0
  10. data/lib/google/ads/{googleads → google_ads}/path_lookup_util.rb +27 -1
  11. data/lib/google/ads/{googleads → google_ads}/proto_lookup_util.rb +78 -10
  12. data/lib/google/ads/{googleads → google_ads}/v0/common/ad_type_infos_pb.rb +5 -2
  13. data/lib/google/ads/{googleads → google_ads}/v0/common/bidding_pb.rb +6 -3
  14. data/lib/google/ads/{googleads → google_ads}/v0/common/criteria_pb.rb +29 -12
  15. data/lib/google/ads/{googleads → google_ads}/v0/common/custom_parameter_pb.rb +2 -2
  16. data/lib/google/ads/{googleads → google_ads}/v0/common/metrics_pb.rb +10 -2
  17. data/lib/google/ads/{googleads → google_ads}/v0/common/policy_pb.rb +8 -4
  18. data/lib/google/ads/{googleads → google_ads}/v0/common/value_pb.rb +2 -2
  19. data/lib/google/ads/google_ads/v0/enums/account_budget_proposal_status_pb.rb +31 -0
  20. data/lib/google/ads/google_ads/v0/enums/account_budget_proposal_type_pb.rb +30 -0
  21. data/lib/google/ads/{googleads → google_ads}/v0/enums/ad_group_ad_status_pb.rb +2 -2
  22. data/lib/google/ads/{googleads → google_ads}/v0/enums/ad_group_criterion_status_pb.rb +2 -2
  23. data/lib/google/ads/{googleads → google_ads}/v0/enums/ad_group_status_pb.rb +2 -2
  24. data/lib/google/ads/{googleads → google_ads}/v0/enums/ad_group_type_pb.rb +4 -2
  25. data/lib/google/ads/{googleads → google_ads}/v0/enums/ad_network_type_pb.rb +2 -2
  26. data/lib/google/ads/{googleads → google_ads}/v0/enums/ad_serving_optimization_status_pb.rb +2 -2
  27. data/lib/google/ads/{googleads → google_ads}/v0/enums/ad_type_pb.rb +3 -2
  28. data/lib/google/ads/{googleads → google_ads}/v0/enums/advertising_channel_sub_type_pb.rb +2 -2
  29. data/lib/google/ads/{googleads → google_ads}/v0/enums/advertising_channel_type_pb.rb +3 -2
  30. data/lib/google/ads/google_ads/v0/enums/attribution_model_pb.rb +33 -0
  31. data/lib/google/ads/{googleads → google_ads}/v0/enums/bid_modifier_source_pb.rb +2 -2
  32. data/lib/google/ads/{googleads → google_ads}/v0/enums/bidding_source_pb.rb +2 -2
  33. data/lib/google/ads/{googleads → google_ads}/v0/enums/bidding_strategy_type_pb.rb +3 -2
  34. data/lib/google/ads/google_ads/v0/enums/billing_setup_status_pb.rb +30 -0
  35. data/lib/google/ads/{googleads → google_ads}/v0/enums/budget_delivery_method_pb.rb +2 -2
  36. data/lib/google/ads/{googleads → google_ads}/v0/enums/budget_status_pb.rb +2 -2
  37. data/lib/google/ads/{googleads → google_ads}/v0/enums/campaign_group_status_pb.rb +2 -2
  38. data/lib/google/ads/{googleads → google_ads}/v0/enums/campaign_serving_status_pb.rb +2 -2
  39. data/lib/google/ads/{googleads → google_ads}/v0/enums/campaign_shared_set_status_pb.rb +2 -2
  40. data/lib/google/ads/{googleads → google_ads}/v0/enums/campaign_status_pb.rb +2 -2
  41. data/lib/google/ads/google_ads/v0/enums/change_status_operation_pb.rb +29 -0
  42. data/lib/google/ads/google_ads/v0/enums/conversion_action_category_pb.rb +32 -0
  43. data/lib/google/ads/google_ads/v0/enums/conversion_action_counting_type_pb.rb +28 -0
  44. data/lib/google/ads/google_ads/v0/enums/conversion_action_status_pb.rb +29 -0
  45. data/lib/google/ads/google_ads/v0/enums/conversion_action_type_pb.rb +34 -0
  46. data/lib/google/ads/{googleads → google_ads}/v0/enums/criterion_type_pb.rb +2 -2
  47. data/lib/google/ads/google_ads/v0/enums/data_driven_model_status_pb.rb +30 -0
  48. data/lib/google/ads/{googleads → google_ads}/v0/enums/day_of_week_pb.rb +2 -2
  49. data/lib/google/ads/{googleads → google_ads}/v0/enums/device_pb.rb +2 -3
  50. data/lib/google/ads/{googleads → google_ads}/v0/enums/google_ads_field_category_pb.rb +2 -2
  51. data/lib/google/ads/{googleads → google_ads}/v0/enums/google_ads_field_data_type_pb.rb +2 -2
  52. data/lib/google/ads/{googleads → google_ads}/v0/enums/hotel_date_selection_type_pb.rb +2 -2
  53. data/lib/google/ads/{googleads → google_ads}/v0/enums/interaction_type_pb.rb +2 -2
  54. data/lib/google/ads/{googleads → google_ads}/v0/enums/keyword_match_type_pb.rb +2 -2
  55. data/lib/google/ads/{googleads → google_ads}/v0/enums/listing_custom_attribute_index_pb.rb +2 -2
  56. data/lib/google/ads/{googleads → google_ads}/v0/enums/listing_group_type_pb.rb +2 -2
  57. data/lib/google/ads/{googleads → google_ads}/v0/enums/minute_of_hour_pb.rb +2 -2
  58. data/lib/google/ads/{googleads → google_ads}/v0/enums/month_of_year_pb.rb +2 -2
  59. data/lib/google/ads/{googleads → google_ads}/v0/enums/page_one_promoted_strategy_goal_pb.rb +2 -2
  60. data/lib/google/ads/google_ads/v0/enums/policy_approval_status_pb.rb +30 -0
  61. data/lib/google/ads/google_ads/v0/enums/policy_review_status_pb.rb +29 -0
  62. data/lib/google/ads/{googleads → google_ads}/v0/enums/policy_topic_entry_type_pb.rb +2 -2
  63. data/lib/google/ads/{googleads → google_ads}/v0/enums/policy_topic_evidence_destination_mismatch_url_type_pb.rb +2 -2
  64. data/lib/google/ads/google_ads/v0/enums/product_channel_exclusivity_pb.rb +28 -0
  65. data/lib/google/ads/google_ads/v0/enums/product_channel_pb.rb +28 -0
  66. data/lib/google/ads/{googleads → google_ads}/v0/enums/product_condition_pb.rb +2 -2
  67. data/lib/google/ads/{googleads → google_ads}/v0/enums/product_type_level_pb.rb +2 -2
  68. data/lib/google/ads/{googleads → google_ads}/v0/enums/quality_score_bucket_pb.rb +2 -2
  69. data/lib/google/ads/{googleads → google_ads}/v0/enums/recommendation_type_pb.rb +2 -2
  70. data/lib/google/ads/google_ads/v0/enums/resource_type_pb.rb +32 -0
  71. data/lib/google/ads/{googleads → google_ads}/v0/enums/shared_set_status_pb.rb +2 -2
  72. data/lib/google/ads/{googleads → google_ads}/v0/enums/shared_set_type_pb.rb +2 -2
  73. data/lib/google/ads/{googleads → google_ads}/v0/enums/slot_pb.rb +2 -2
  74. data/lib/google/ads/google_ads/v0/enums/spending_limit_type_pb.rb +27 -0
  75. data/lib/google/ads/{googleads → google_ads}/v0/enums/target_cpa_opt_in_recommendation_goal_pb.rb +2 -2
  76. data/lib/google/ads/google_ads/v0/enums/time_type_pb.rb +28 -0
  77. data/lib/google/ads/google_ads/v0/enums/tracking_code_page_format_pb.rb +27 -0
  78. data/lib/google/ads/google_ads/v0/enums/tracking_code_type_pb.rb +29 -0
  79. data/lib/google/ads/google_ads/v0/errors/account_budget_proposal_error_pb.rb +48 -0
  80. data/lib/google/ads/{googleads → google_ads}/v0/errors/ad_customizer_error_pb.rb +2 -2
  81. data/lib/google/ads/{googleads → google_ads}/v0/errors/ad_error_pb.rb +2 -2
  82. data/lib/google/ads/{googleads → google_ads}/v0/errors/ad_group_ad_error_pb.rb +2 -2
  83. data/lib/google/ads/{googleads → google_ads}/v0/errors/ad_group_bid_modifier_error_pb.rb +2 -2
  84. data/lib/google/ads/{googleads → google_ads}/v0/errors/ad_group_criterion_error_pb.rb +2 -2
  85. data/lib/google/ads/{googleads → google_ads}/v0/errors/ad_group_error_pb.rb +2 -2
  86. data/lib/google/ads/{googleads → google_ads}/v0/errors/ad_sharing_error_pb.rb +2 -2
  87. data/lib/google/ads/{googleads → google_ads}/v0/errors/adx_error_pb.rb +2 -2
  88. data/lib/google/ads/{googleads → google_ads}/v0/errors/authentication_error_pb.rb +2 -2
  89. data/lib/google/ads/{googleads → google_ads}/v0/errors/authorization_error_pb.rb +2 -2
  90. data/lib/google/ads/{googleads → google_ads}/v0/errors/bidding_error_pb.rb +2 -2
  91. data/lib/google/ads/{googleads → google_ads}/v0/errors/bidding_strategy_error_pb.rb +2 -2
  92. data/lib/google/ads/{googleads → google_ads}/v0/errors/campaign_budget_error_pb.rb +3 -2
  93. data/lib/google/ads/{googleads → google_ads}/v0/errors/campaign_criterion_error_pb.rb +2 -2
  94. data/lib/google/ads/{googleads → google_ads}/v0/errors/campaign_error_pb.rb +2 -2
  95. data/lib/google/ads/{googleads → google_ads}/v0/errors/campaign_group_error_pb.rb +2 -2
  96. data/lib/google/ads/{googleads → google_ads}/v0/errors/campaign_shared_set_error_pb.rb +2 -2
  97. data/lib/google/ads/google_ads/v0/errors/change_status_error_pb.rb +28 -0
  98. data/lib/google/ads/{googleads → google_ads}/v0/errors/collection_size_error_pb.rb +2 -2
  99. data/lib/google/ads/{googleads → google_ads}/v0/errors/context_error_pb.rb +2 -2
  100. data/lib/google/ads/google_ads/v0/errors/conversion_action_error_pb.rb +34 -0
  101. data/lib/google/ads/{googleads → google_ads}/v0/errors/criterion_error_pb.rb +2 -2
  102. data/lib/google/ads/{googleads → google_ads}/v0/errors/database_error_pb.rb +2 -2
  103. data/lib/google/ads/{googleads → google_ads}/v0/errors/date_error_pb.rb +2 -2
  104. data/lib/google/ads/{googleads → google_ads}/v0/errors/date_range_error_pb.rb +2 -2
  105. data/lib/google/ads/{googleads → google_ads}/v0/errors/distinct_error_pb.rb +2 -2
  106. data/lib/google/ads/{googleads → google_ads}/v0/errors/enum_error_pb.rb +2 -2
  107. data/lib/google/ads/{googleads → google_ads}/v0/errors/errors_pb.rb +69 -63
  108. data/lib/google/ads/{googleads → google_ads}/v0/errors/feed_attribute_reference_error_pb.rb +2 -2
  109. data/lib/google/ads/{googleads → google_ads}/v0/errors/field_error_pb.rb +2 -2
  110. data/lib/google/ads/{googleads → google_ads}/v0/errors/field_mask_error_pb.rb +2 -2
  111. data/lib/google/ads/{googleads → google_ads}/v0/errors/function_error_pb.rb +2 -2
  112. data/lib/google/ads/{googleads → google_ads}/v0/errors/function_parsing_error_pb.rb +2 -2
  113. data/lib/google/ads/{googleads → google_ads}/v0/errors/header_error_pb.rb +2 -2
  114. data/lib/google/ads/{googleads → google_ads}/v0/errors/id_error_pb.rb +2 -2
  115. data/lib/google/ads/{googleads → google_ads}/v0/errors/image_error_pb.rb +2 -2
  116. data/lib/google/ads/{googleads → google_ads}/v0/errors/internal_error_pb.rb +2 -2
  117. data/lib/google/ads/{googleads → google_ads}/v0/errors/list_operation_error_pb.rb +2 -2
  118. data/lib/google/ads/{googleads → google_ads}/v0/errors/media_bundle_error_pb.rb +2 -2
  119. data/lib/google/ads/{googleads → google_ads}/v0/errors/media_error_pb.rb +2 -2
  120. data/lib/google/ads/{googleads → google_ads}/v0/errors/multiplier_error_pb.rb +2 -2
  121. data/lib/google/ads/{googleads → google_ads}/v0/errors/mutate_error_pb.rb +3 -2
  122. data/lib/google/ads/{googleads → google_ads}/v0/errors/new_resource_creation_error_pb.rb +2 -2
  123. data/lib/google/ads/{googleads → google_ads}/v0/errors/not_empty_error_pb.rb +2 -2
  124. data/lib/google/ads/{googleads → google_ads}/v0/errors/null_error_pb.rb +2 -2
  125. data/lib/google/ads/{googleads → google_ads}/v0/errors/operation_access_denied_error_pb.rb +2 -2
  126. data/lib/google/ads/{googleads → google_ads}/v0/errors/operator_error_pb.rb +2 -2
  127. data/lib/google/ads/{googleads → google_ads}/v0/errors/policy_finding_error_pb.rb +3 -2
  128. data/lib/google/ads/{googleads → google_ads}/v0/errors/query_error_pb.rb +2 -2
  129. data/lib/google/ads/{googleads → google_ads}/v0/errors/quota_error_pb.rb +2 -2
  130. data/lib/google/ads/{googleads → google_ads}/v0/errors/range_error_pb.rb +2 -2
  131. data/lib/google/ads/{googleads → google_ads}/v0/errors/recommendation_error_pb.rb +3 -2
  132. data/lib/google/ads/{googleads → google_ads}/v0/errors/region_code_error_pb.rb +2 -2
  133. data/lib/google/ads/{googleads → google_ads}/v0/errors/request_error_pb.rb +2 -2
  134. data/lib/google/ads/{googleads → google_ads}/v0/errors/resource_access_denied_error_pb.rb +2 -2
  135. data/lib/google/ads/{googleads → google_ads}/v0/errors/resource_count_limit_exceeded_error_pb.rb +2 -2
  136. data/lib/google/ads/{googleads → google_ads}/v0/errors/setting_error_pb.rb +2 -2
  137. data/lib/google/ads/{googleads → google_ads}/v0/errors/shared_criterion_error_pb.rb +2 -2
  138. data/lib/google/ads/{googleads → google_ads}/v0/errors/shared_set_error_pb.rb +2 -2
  139. data/lib/google/ads/{googleads → google_ads}/v0/errors/string_format_error_pb.rb +2 -2
  140. data/lib/google/ads/{googleads → google_ads}/v0/errors/string_length_error_pb.rb +2 -2
  141. data/lib/google/ads/{googleads → google_ads}/v0/errors/url_field_error_pb.rb +2 -2
  142. data/lib/google/ads/google_ads/v0/resources/account_budget_pb.rb +22 -0
  143. data/lib/google/ads/google_ads/v0/resources/account_budget_proposal_pb.rb +49 -0
  144. data/lib/google/ads/google_ads/v0/resources/ad_group_ad_pb.rb +38 -0
  145. data/lib/google/ads/{googleads → google_ads}/v0/resources/ad_group_bid_modifier_pb.rb +4 -4
  146. data/lib/google/ads/{googleads → google_ads}/v0/resources/ad_group_criterion_pb.rb +8 -8
  147. data/lib/google/ads/{googleads → google_ads}/v0/resources/ad_group_pb.rb +5 -5
  148. data/lib/google/ads/{googleads → google_ads}/v0/resources/ad_pb.rb +9 -5
  149. data/lib/google/ads/{googleads → google_ads}/v0/resources/bidding_strategy_pb.rb +4 -4
  150. data/lib/google/ads/google_ads/v0/resources/billing_setup_pb.rb +31 -0
  151. data/lib/google/ads/{googleads → google_ads}/v0/resources/campaign_bid_modifier_pb.rb +3 -3
  152. data/lib/google/ads/{googleads → google_ads}/v0/resources/campaign_budget_pb.rb +4 -4
  153. data/lib/google/ads/{googleads → google_ads}/v0/resources/campaign_criterion_pb.rb +4 -4
  154. data/lib/google/ads/{googleads → google_ads}/v0/resources/campaign_group_pb.rb +3 -3
  155. data/lib/google/ads/{googleads → google_ads}/v0/resources/campaign_pb.rb +11 -10
  156. data/lib/google/ads/{googleads → google_ads}/v0/resources/campaign_shared_set_pb.rb +3 -3
  157. data/lib/google/ads/google_ads/v0/resources/change_status_pb.rb +33 -0
  158. data/lib/google/ads/google_ads/v0/resources/conversion_action_pb.rb +64 -0
  159. data/lib/google/ads/{googleads → google_ads}/v0/resources/customer_pb.rb +2 -2
  160. data/lib/google/ads/{googleads → google_ads}/v0/resources/geo_target_constant_pb.rb +2 -2
  161. data/lib/google/ads/{googleads → google_ads}/v0/resources/google_ads_field_pb.rb +4 -4
  162. data/lib/google/ads/{googleads → google_ads}/v0/resources/keyword_view_pb.rb +2 -2
  163. data/lib/google/ads/{googleads → google_ads}/v0/resources/recommendation_pb.rb +6 -6
  164. data/lib/google/ads/{googleads → google_ads}/v0/resources/shared_criterion_pb.rb +4 -4
  165. data/lib/google/ads/{googleads → google_ads}/v0/resources/shared_set_pb.rb +4 -4
  166. data/lib/google/ads/google_ads/v0/resources/video_pb.rb +27 -0
  167. data/lib/google/ads/google_ads/v0/services/account_budget_proposal_service_client.rb +280 -0
  168. data/lib/google/ads/google_ads/v0/services/account_budget_proposal_service_client_config.json +36 -0
  169. data/lib/google/ads/google_ads/v0/services/account_budget_proposal_service_pb.rb +46 -0
  170. data/lib/google/ads/google_ads/v0/services/account_budget_proposal_service_services_pb.rb +63 -0
  171. data/lib/google/ads/{googleads → google_ads}/v0/services/ad_group_ad_service_client.rb +22 -22
  172. data/lib/google/ads/{googleads → google_ads}/v0/services/ad_group_ad_service_client_config.json +0 -0
  173. data/lib/google/ads/{googleads → google_ads}/v0/services/ad_group_ad_service_pb.rb +5 -3
  174. data/lib/google/ads/{googleads → google_ads}/v0/services/ad_group_ad_service_services_pb.rb +4 -4
  175. data/lib/google/ads/{googleads → google_ads}/v0/services/ad_group_bid_modifier_service_client.rb +22 -22
  176. data/lib/google/ads/{googleads → google_ads}/v0/services/ad_group_bid_modifier_service_client_config.json +0 -0
  177. data/lib/google/ads/{googleads → google_ads}/v0/services/ad_group_bid_modifier_service_pb.rb +3 -3
  178. data/lib/google/ads/{googleads → google_ads}/v0/services/ad_group_bid_modifier_service_services_pb.rb +4 -4
  179. data/lib/google/ads/{googleads → google_ads}/v0/services/ad_group_criterion_service_client.rb +22 -22
  180. data/lib/google/ads/{googleads → google_ads}/v0/services/ad_group_criterion_service_client_config.json +0 -0
  181. data/lib/google/ads/{googleads → google_ads}/v0/services/ad_group_criterion_service_pb.rb +3 -3
  182. data/lib/google/ads/{googleads → google_ads}/v0/services/ad_group_criterion_service_services_pb.rb +4 -4
  183. data/lib/google/ads/{googleads → google_ads}/v0/services/ad_group_service_client.rb +22 -22
  184. data/lib/google/ads/{googleads → google_ads}/v0/services/ad_group_service_client_config.json +0 -0
  185. data/lib/google/ads/{googleads → google_ads}/v0/services/ad_group_service_pb.rb +3 -3
  186. data/lib/google/ads/{googleads → google_ads}/v0/services/ad_group_service_services_pb.rb +4 -4
  187. data/lib/google/ads/{googleads → google_ads}/v0/services/bidding_strategy_service_client.rb +22 -22
  188. data/lib/google/ads/{googleads → google_ads}/v0/services/bidding_strategy_service_client_config.json +0 -0
  189. data/lib/google/ads/{googleads → google_ads}/v0/services/bidding_strategy_service_pb.rb +3 -3
  190. data/lib/google/ads/{googleads → google_ads}/v0/services/bidding_strategy_service_services_pb.rb +4 -4
  191. data/lib/google/ads/google_ads/v0/services/billing_setup_service_client.rb +276 -0
  192. data/lib/google/ads/google_ads/v0/services/billing_setup_service_client_config.json +36 -0
  193. data/lib/google/ads/google_ads/v0/services/billing_setup_service_pb.rb +43 -0
  194. data/lib/google/ads/google_ads/v0/services/billing_setup_service_services_pb.rb +59 -0
  195. data/lib/google/ads/{googleads → google_ads}/v0/services/campaign_bid_modifier_service_client.rb +22 -22
  196. data/lib/google/ads/{googleads → google_ads}/v0/services/campaign_bid_modifier_service_client_config.json +0 -0
  197. data/lib/google/ads/{googleads → google_ads}/v0/services/campaign_bid_modifier_service_pb.rb +3 -3
  198. data/lib/google/ads/{googleads → google_ads}/v0/services/campaign_bid_modifier_service_services_pb.rb +4 -4
  199. data/lib/google/ads/{googleads → google_ads}/v0/services/campaign_budget_service_client.rb +22 -22
  200. data/lib/google/ads/{googleads → google_ads}/v0/services/campaign_budget_service_client_config.json +0 -0
  201. data/lib/google/ads/{googleads → google_ads}/v0/services/campaign_budget_service_pb.rb +3 -3
  202. data/lib/google/ads/{googleads → google_ads}/v0/services/campaign_budget_service_services_pb.rb +4 -4
  203. data/lib/google/ads/{googleads → google_ads}/v0/services/campaign_criterion_service_client.rb +22 -22
  204. data/lib/google/ads/{googleads → google_ads}/v0/services/campaign_criterion_service_client_config.json +0 -0
  205. data/lib/google/ads/{googleads → google_ads}/v0/services/campaign_criterion_service_pb.rb +3 -3
  206. data/lib/google/ads/{googleads → google_ads}/v0/services/campaign_criterion_service_services_pb.rb +4 -4
  207. data/lib/google/ads/{googleads → google_ads}/v0/services/campaign_group_service_client.rb +22 -22
  208. data/lib/google/ads/{googleads → google_ads}/v0/services/campaign_group_service_client_config.json +0 -0
  209. data/lib/google/ads/{googleads → google_ads}/v0/services/campaign_group_service_pb.rb +3 -3
  210. data/lib/google/ads/{googleads → google_ads}/v0/services/campaign_group_service_services_pb.rb +4 -4
  211. data/lib/google/ads/{googleads → google_ads}/v0/services/campaign_service_client.rb +22 -22
  212. data/lib/google/ads/{googleads → google_ads}/v0/services/campaign_service_client_config.json +0 -0
  213. data/lib/google/ads/{googleads → google_ads}/v0/services/campaign_service_pb.rb +3 -3
  214. data/lib/google/ads/{googleads → google_ads}/v0/services/campaign_service_services_pb.rb +4 -4
  215. data/lib/google/ads/{googleads → google_ads}/v0/services/campaign_shared_set_service_client.rb +22 -22
  216. data/lib/google/ads/{googleads → google_ads}/v0/services/campaign_shared_set_service_client_config.json +0 -0
  217. data/lib/google/ads/{googleads → google_ads}/v0/services/campaign_shared_set_service_pb.rb +3 -3
  218. data/lib/google/ads/{googleads → google_ads}/v0/services/campaign_shared_set_service_services_pb.rb +4 -4
  219. data/lib/google/ads/google_ads/v0/services/change_status_service_client.rb +221 -0
  220. data/lib/google/ads/google_ads/v0/services/change_status_service_client_config.json +31 -0
  221. data/lib/google/ads/google_ads/v0/services/change_status_service_pb.rb +24 -0
  222. data/lib/google/ads/google_ads/v0/services/change_status_service_services_pb.rb +48 -0
  223. data/lib/google/ads/google_ads/v0/services/conversion_action_service_client.rb +268 -0
  224. data/lib/google/ads/google_ads/v0/services/conversion_action_service_client_config.json +36 -0
  225. data/lib/google/ads/google_ads/v0/services/conversion_action_service_pb.rb +47 -0
  226. data/lib/google/ads/google_ads/v0/services/conversion_action_service_services_pb.rb +51 -0
  227. data/lib/google/ads/{googleads → google_ads}/v0/services/credentials.rb +5 -5
  228. data/lib/google/ads/{googleads → google_ads}/v0/services/customer_service_client.rb +15 -15
  229. data/lib/google/ads/{googleads → google_ads}/v0/services/customer_service_client_config.json +0 -0
  230. data/lib/google/ads/{googleads → google_ads}/v0/services/customer_service_pb.rb +3 -3
  231. data/lib/google/ads/{googleads → google_ads}/v0/services/customer_service_services_pb.rb +4 -4
  232. data/lib/google/ads/{googleads → google_ads}/v0/services/geo_target_constant_service_client.rb +15 -15
  233. data/lib/google/ads/{googleads → google_ads}/v0/services/geo_target_constant_service_client_config.json +0 -0
  234. data/lib/google/ads/{googleads → google_ads}/v0/services/geo_target_constant_service_pb.rb +3 -3
  235. data/lib/google/ads/{googleads → google_ads}/v0/services/geo_target_constant_service_services_pb.rb +4 -4
  236. data/lib/google/ads/{googleads → google_ads}/v0/services/google_ads_field_service_client.rb +21 -21
  237. data/lib/google/ads/{googleads → google_ads}/v0/services/google_ads_field_service_client_config.json +0 -0
  238. data/lib/google/ads/{googleads → google_ads}/v0/services/google_ads_field_service_pb.rb +3 -3
  239. data/lib/google/ads/{googleads → google_ads}/v0/services/google_ads_field_service_services_pb.rb +4 -4
  240. data/lib/google/ads/{googleads → google_ads}/v0/services/google_ads_service_client.rb +15 -15
  241. data/lib/google/ads/{googleads → google_ads}/v0/services/google_ads_service_client_config.json +0 -0
  242. data/lib/google/ads/{googleads → google_ads}/v0/services/google_ads_service_pb.rb +35 -25
  243. data/lib/google/ads/{googleads → google_ads}/v0/services/google_ads_service_services_pb.rb +3 -3
  244. data/lib/google/ads/{googleads → google_ads}/v0/services/keyword_view_service_client.rb +15 -15
  245. data/lib/google/ads/{googleads → google_ads}/v0/services/keyword_view_service_client_config.json +0 -0
  246. data/lib/google/ads/{googleads → google_ads}/v0/services/keyword_view_service_pb.rb +3 -3
  247. data/lib/google/ads/{googleads → google_ads}/v0/services/keyword_view_service_services_pb.rb +4 -4
  248. data/lib/google/ads/{googleads → google_ads}/v0/services/recommendation_service_client.rb +22 -22
  249. data/lib/google/ads/{googleads → google_ads}/v0/services/recommendation_service_client_config.json +0 -0
  250. data/lib/google/ads/{googleads → google_ads}/v0/services/recommendation_service_pb.rb +5 -5
  251. data/lib/google/ads/{googleads → google_ads}/v0/services/recommendation_service_services_pb.rb +4 -4
  252. data/lib/google/ads/{googleads → google_ads}/v0/services/shared_criterion_service_client.rb +22 -22
  253. data/lib/google/ads/{googleads → google_ads}/v0/services/shared_criterion_service_client_config.json +0 -0
  254. data/lib/google/ads/{googleads → google_ads}/v0/services/shared_criterion_service_pb.rb +3 -3
  255. data/lib/google/ads/{googleads → google_ads}/v0/services/shared_criterion_service_services_pb.rb +4 -4
  256. data/lib/google/ads/{googleads → google_ads}/v0/services/shared_set_service_client.rb +22 -22
  257. data/lib/google/ads/{googleads → google_ads}/v0/services/shared_set_service_client_config.json +0 -0
  258. data/lib/google/ads/{googleads → google_ads}/v0/services/shared_set_service_pb.rb +3 -3
  259. data/lib/google/ads/{googleads → google_ads}/v0/services/shared_set_service_services_pb.rb +4 -4
  260. data/lib/google/ads/google_ads/v0/services/video_service_client.rb +221 -0
  261. data/lib/google/ads/google_ads/v0/services/video_service_client_config.json +31 -0
  262. data/lib/google/ads/google_ads/v0/services/video_service_pb.rb +24 -0
  263. data/lib/google/ads/google_ads/v0/services/video_service_services_pb.rb +48 -0
  264. data/lib/google/ads/{googleads → google_ads}/version.rb +2 -2
  265. data/lib/google/ads/{googleads → google_ads}/wrapper_util.rb +1 -1
  266. data/lib/google/ads/{googleads.rb → google_ads.rb} +2 -2
  267. metadata +266 -267
  268. data/lib/google/ads/googleads/v0/resources/ad_group_ad_pb.rb +0 -28
  269. data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/common/ad_type_infos.rb +0 -120
  270. data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/common/bidding.rb +0 -176
  271. data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/common/criteria.rb +0 -225
  272. data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/common/custom_parameter.rb +0 -33
  273. data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/common/metrics.rb +0 -208
  274. data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/ad.rb +0 -79
  275. data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/ad_group.rb +0 -87
  276. data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/ad_group_ad.rb +0 -43
  277. data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/ad_group_bid_modifier.rb +0 -70
  278. data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/ad_group_criterion.rb +0 -148
  279. data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/bidding_strategy.rb +0 -73
  280. data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/campaign.rb +0 -223
  281. data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/campaign_bid_modifier.rb +0 -46
  282. data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/campaign_budget.rb +0 -88
  283. data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/campaign_criterion.rb +0 -66
  284. data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/campaign_group.rb +0 -49
  285. data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/campaign_shared_set.rb +0 -47
  286. data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/customer.rb +0 -57
  287. data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/geo_target_constant.rb +0 -44
  288. data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/google_ads_field.rb +0 -89
  289. data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/keyword_view.rb +0 -32
  290. data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/recommendation.rb +0 -223
  291. data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/shared_criterion.rb +0 -46
  292. data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/shared_set.rb +0 -56
  293. data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/ad_group_ad_service.rb +0 -68
  294. data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/ad_group_bid_modifier_service.rb +0 -71
  295. data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/ad_group_criterion_service.rb +0 -69
  296. data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/ad_group_service.rb +0 -68
  297. data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/bidding_strategy_service.rb +0 -70
  298. data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/campaign_bid_modifier_service.rb +0 -71
  299. data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/campaign_budget_service.rb +0 -69
  300. data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/campaign_criterion_service.rb +0 -69
  301. data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/campaign_group_service.rb +0 -70
  302. data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/campaign_service.rb +0 -69
  303. data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/campaign_shared_set_service.rb +0 -64
  304. data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/customer_service.rb +0 -29
  305. data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/geo_target_constant_service.rb +0 -29
  306. data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/google_ads_field_service.rb +0 -59
  307. data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/google_ads_service.rb +0 -156
  308. data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/keyword_view_service.rb +0 -29
  309. data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/recommendation_service.rb +0 -112
  310. data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/shared_criterion_service.rb +0 -64
  311. data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/shared_set_service.rb +0 -69
  312. data/lib/google/ads/googleads/v0/services/doc/google/protobuf/any.rb +0 -124
  313. data/lib/google/ads/googleads/v0/services/doc/google/protobuf/field_mask.rb +0 -223
  314. data/lib/google/ads/googleads/v0/services/doc/google/protobuf/wrappers.rb +0 -89
  315. data/lib/google/ads/googleads/v0/services/doc/google/rpc/status.rb +0 -83
  316. data/lib/google/ads/googleads/v0/services/doc/overview.rb +0 -82
  317. data/lib/google/ads/googleads/v0/services.rb +0 -1163
@@ -1,29 +0,0 @@
1
- # Copyright 2018 Google LLC
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # https://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
- module Google
16
- module Ads
17
- module Googleads
18
- module V0
19
- module Services
20
- # Request message for {Google::Ads::Googleads::V0::Services::GeoTargetConstantService::GetGeoTargetConstant GeoTargetConstantService::GetGeoTargetConstant}.
21
- # @!attribute [rw] resource_name
22
- # @return [String]
23
- # The resource name of the geo target constant to fetch.
24
- class GetGeoTargetConstantRequest; end
25
- end
26
- end
27
- end
28
- end
29
- end
@@ -1,59 +0,0 @@
1
- # Copyright 2018 Google LLC
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # https://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
- module Google
16
- module Ads
17
- module Googleads
18
- module V0
19
- module Services
20
- # Request message for {Google::Ads::Googleads::V0::Services::GoogleAdsFieldService::GetGoogleAdsField GoogleAdsFieldService::GetGoogleAdsField}.
21
- # @!attribute [rw] resource_name
22
- # @return [String]
23
- # The resource name of the field to get.
24
- class GetGoogleAdsFieldRequest; end
25
-
26
- # Request message for {Google::Ads::Googleads::V0::Services::GoogleAdsFieldService::SearchGoogleAdsFields GoogleAdsFieldService::SearchGoogleAdsFields}.
27
- # @!attribute [rw] query
28
- # @return [String]
29
- # The query string.
30
- # @!attribute [rw] page_token
31
- # @return [String]
32
- # Token of the page to retrieve. If not specified, the first page of
33
- # results will be returned. Use the value obtained from +next_page_token+
34
- # in the previous response in order to request the next page of results.
35
- # @!attribute [rw] page_size
36
- # @return [Integer]
37
- # Number of elements to retrieve in a single page.
38
- # When too large a page is requested, the server may decide to further
39
- # limit the number of returned resources.
40
- class SearchGoogleAdsFieldsRequest; end
41
-
42
- # Response message for {Google::Ads::Googleads::V0::Services::GoogleAdsFieldService::SearchGoogleAdsFields GoogleAdsFieldService::SearchGoogleAdsFields}.
43
- # @!attribute [rw] results
44
- # @return [Array<Google::Ads::Googleads::V0::Resources::GoogleAdsField>]
45
- # The list of fields that matched the query.
46
- # @!attribute [rw] next_page_token
47
- # @return [String]
48
- # Pagination token used to retrieve the next page of results. Pass the
49
- # content of this string as the +page_token+ attribute of the next request.
50
- # +next_page_token+ is not returned for the last page.
51
- # @!attribute [rw] total_results_count
52
- # @return [Integer]
53
- # Total number of results that match the query ignoring the LIMIT clause.
54
- class SearchGoogleAdsFieldsResponse; end
55
- end
56
- end
57
- end
58
- end
59
- end
@@ -1,156 +0,0 @@
1
- # Copyright 2018 Google LLC
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # https://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
- module Google
16
- module Ads
17
- module Googleads
18
- module V0
19
- module Services
20
- # Request message for {Google::Ads::Googleads::V0::Services::GoogleAdsService::Search GoogleAdsService::Search}.
21
- # @!attribute [rw] customer_id
22
- # @return [String]
23
- # The ID of the customer being queried.
24
- # @!attribute [rw] query
25
- # @return [String]
26
- # The query string.
27
- # @!attribute [rw] page_token
28
- # @return [String]
29
- # Token of the page to retrieve. If not specified, the first
30
- # page of results will be returned. Use the value obtained from
31
- # +next_page_token+ in the previous response in order to request
32
- # the next page of results.
33
- # @!attribute [rw] page_size
34
- # @return [Integer]
35
- # Number of elements to retrieve in a single page.
36
- # When too large a page is requested, the server may decide to
37
- # further limit the number of returned resources.
38
- class SearchGoogleAdsRequest; end
39
-
40
- # Response message for {Google::Ads::Googleads::V0::Services::GoogleAdsService::Search GoogleAdsService::Search}.
41
- # @!attribute [rw] results
42
- # @return [Array<Google::Ads::Googleads::V0::Services::GoogleAdsRow>]
43
- # The list of rows that matched the query.
44
- # @!attribute [rw] next_page_token
45
- # @return [String]
46
- # Pagination token used to retrieve the next page of results.
47
- # Pass the content of this string as the +page_token+ attribute of
48
- # the next request. +next_page_token+ is not returned for the last
49
- # page.
50
- # @!attribute [rw] total_results_count
51
- # @return [Integer]
52
- # Total number of results that match the query ignoring the LIMIT
53
- # clause.
54
- # @!attribute [rw] field_mask
55
- # @return [Google::Protobuf::FieldMask]
56
- # FieldMask that represents what fields were requested by the user.
57
- class SearchGoogleAdsResponse; end
58
-
59
- # A returned row from the query.
60
- # @!attribute [rw] ad_group
61
- # @return [Google::Ads::Googleads::V0::Resources::AdGroup]
62
- # The ad group referenced in the query.
63
- # @!attribute [rw] ad_group_ad
64
- # @return [Google::Ads::Googleads::V0::Resources::AdGroupAd]
65
- # The ad referenced in the query.
66
- # @!attribute [rw] ad_group_bid_modifier
67
- # @return [Google::Ads::Googleads::V0::Resources::AdGroupBidModifier]
68
- # The bid modifier referenced in the query.
69
- # @!attribute [rw] ad_group_criterion
70
- # @return [Google::Ads::Googleads::V0::Resources::AdGroupCriterion]
71
- # The criterion referenced in the query.
72
- # @!attribute [rw] bidding_strategy
73
- # @return [Google::Ads::Googleads::V0::Resources::BiddingStrategy]
74
- # The bidding strategy referenced in the query.
75
- # @!attribute [rw] campaign_budget
76
- # @return [Google::Ads::Googleads::V0::Resources::CampaignBudget]
77
- # The campaign budget referenced in the query.
78
- # @!attribute [rw] campaign
79
- # @return [Google::Ads::Googleads::V0::Resources::Campaign]
80
- # The campaign referenced in the query.
81
- # @!attribute [rw] campaign_bid_modifier
82
- # @return [Google::Ads::Googleads::V0::Resources::CampaignBidModifier]
83
- # The campaign bid modifier referenced in the query.
84
- # @!attribute [rw] campaign_criterion
85
- # @return [Google::Ads::Googleads::V0::Resources::CampaignCriterion]
86
- # The campaign criterion referenced in the query.
87
- # @!attribute [rw] campaign_group
88
- # @return [Google::Ads::Googleads::V0::Resources::CampaignGroup]
89
- # Campaign Group referenced in AWQL query.
90
- # @!attribute [rw] campaign_shared_set
91
- # @return [Google::Ads::Googleads::V0::Resources::CampaignSharedSet]
92
- # Campaign Shared Set referenced in AWQL query.
93
- # @!attribute [rw] customer
94
- # @return [Google::Ads::Googleads::V0::Resources::Customer]
95
- # The customer referenced in the query.
96
- # @!attribute [rw] geo_target_constant
97
- # @return [Google::Ads::Googleads::V0::Resources::GeoTargetConstant]
98
- # The geo target constant referenced in the query.
99
- # @!attribute [rw] keyword_view
100
- # @return [Google::Ads::Googleads::V0::Resources::KeywordView]
101
- # The keyword view referenced in the query.
102
- # @!attribute [rw] recommendation
103
- # @return [Google::Ads::Googleads::V0::Resources::Recommendation]
104
- # The recommendation referenced in the query.
105
- # @!attribute [rw] shared_criterion
106
- # @return [Google::Ads::Googleads::V0::Resources::SharedCriterion]
107
- # The shared set referenced in the query.
108
- # @!attribute [rw] shared_set
109
- # @return [Google::Ads::Googleads::V0::Resources::SharedSet]
110
- # The shared set referenced in the query.
111
- # @!attribute [rw] metrics
112
- # @return [Google::Ads::Googleads::V0::Common::Metrics]
113
- # The metrics.
114
- # @!attribute [rw] ad_network_type
115
- # @return [Google::Ads::Googleads::V0::Enums::AdNetworkTypeEnum::AdNetworkType]
116
- # Ad network type.
117
- # @!attribute [rw] date
118
- # @return [Google::Protobuf::StringValue]
119
- # Date to which metrics apply.
120
- # YYYY-MM-DD format, e.g., 2018-04-17.
121
- # @!attribute [rw] day_of_week
122
- # @return [Google::Ads::Googleads::V0::Enums::DayOfWeekEnum::DayOfWeek]
123
- # Day of the week, e.g., MONDAY.
124
- # @!attribute [rw] device
125
- # @return [Google::Ads::Googleads::V0::Enums::DeviceEnum::Device]
126
- # Device to which metrics apply.
127
- # @!attribute [rw] hour
128
- # @return [Google::Protobuf::Int32Value]
129
- # Hour of day as a number between 0 and 23, inclusive.
130
- # @!attribute [rw] month
131
- # @return [Google::Protobuf::StringValue]
132
- # Month as represented by the date of the first day of a month.
133
- # @!attribute [rw] month_of_year
134
- # @return [Google::Ads::Googleads::V0::Enums::MonthOfYearEnum::MonthOfYear]
135
- # Month of the year, e.g., January.
136
- # @!attribute [rw] quarter
137
- # @return [Google::Protobuf::StringValue]
138
- # Quarter as represented by the date of the first day of a quarter.
139
- # Uses the calendar year for quarters,
140
- # e.g., the second quarter of 2018 starts on 2018-04-01.
141
- # @!attribute [rw] slot
142
- # @return [Google::Ads::Googleads::V0::Enums::SlotEnum::Slot]
143
- # Position of the ad.
144
- # @!attribute [rw] week
145
- # @return [Google::Protobuf::StringValue]
146
- # Week as defined as Monday through Sunday, and represented by the date of
147
- # Monday.
148
- # @!attribute [rw] year
149
- # @return [Google::Protobuf::Int32Value]
150
- # Year, formatted as yyyy.
151
- class GoogleAdsRow; end
152
- end
153
- end
154
- end
155
- end
156
- end
@@ -1,29 +0,0 @@
1
- # Copyright 2018 Google LLC
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # https://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
- module Google
16
- module Ads
17
- module Googleads
18
- module V0
19
- module Services
20
- # Request message for {Google::Ads::Googleads::V0::Services::KeywordViewService::GetKeywordView KeywordViewService::GetKeywordView}.
21
- # @!attribute [rw] resource_name
22
- # @return [String]
23
- # The resource name of the keyword view to fetch.
24
- class GetKeywordViewRequest; end
25
- end
26
- end
27
- end
28
- end
29
- end
@@ -1,112 +0,0 @@
1
- # Copyright 2018 Google LLC
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # https://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
- module Google
16
- module Ads
17
- module Googleads
18
- module V0
19
- module Services
20
- # Request message for {Google::Ads::Googleads::V0::Services::RecommendationService::GetRecommendation RecommendationService::GetRecommendation}.
21
- # @!attribute [rw] resource_name
22
- # @return [String]
23
- # The resource name of the recommendation to fetch.
24
- class GetRecommendationRequest; end
25
-
26
- # Request message for {Google::Ads::Googleads::V0::Services::RecommendationService::ApplyRecommendation RecommendationService::ApplyRecommendation}.
27
- # @!attribute [rw] customer_id
28
- # @return [String]
29
- # The ID of the customer with the recommendation.
30
- # @!attribute [rw] operations
31
- # @return [Array<Google::Ads::Googleads::V0::Services::ApplyRecommendationOperation>]
32
- # The list of operations to apply recommendations.
33
- class ApplyRecommendationRequest; end
34
-
35
- # Information about the operation to apply a recommendation and any parameters
36
- # to
37
- # customize it.
38
- # @!attribute [rw] resource_name
39
- # @return [String]
40
- # The resource name of the recommendation to apply.
41
- # @!attribute [rw] campaign_budget
42
- # @return [Google::Ads::Googleads::V0::Services::ApplyRecommendationOperation::CampaignBudgetParameters]
43
- # Optional parameters to use when applying a campaign budget
44
- # recommendation.
45
- # @!attribute [rw] text_ad
46
- # @return [Google::Ads::Googleads::V0::Services::ApplyRecommendationOperation::TextAdParameters]
47
- # Optional parameters to use when applying a text ad recommendation.
48
- # @!attribute [rw] keyword
49
- # @return [Google::Ads::Googleads::V0::Services::ApplyRecommendationOperation::KeywordParameters]
50
- # Optional parameters to use when applying keyword recommendation.
51
- # @!attribute [rw] target_cpa_opt_in
52
- # @return [Google::Ads::Googleads::V0::Services::ApplyRecommendationOperation::TargetCpaOptInParameters]
53
- # Optional parameters to use when applying target CPA opt-in
54
- # recommendation.
55
- class ApplyRecommendationOperation
56
- # Parameters to use when applying a campaign budget recommendation.
57
- # @!attribute [rw] new_budget_amount_micros
58
- # @return [Google::Protobuf::Int64Value]
59
- # New budget amount to set for target budget resource. This is a required
60
- # field.
61
- class CampaignBudgetParameters; end
62
-
63
- # Parameters to use when applying a text ad recommendation.
64
- # @!attribute [rw] ad
65
- # @return [Google::Ads::Googleads::V0::Resources::Ad]
66
- # New ad to add to recommended ad group. All necessary fields need to be
67
- # set in this message. This is a required field.
68
- class TextAdParameters; end
69
-
70
- # Parameters to use when applying keyword recommendation.
71
- # @!attribute [rw] ad_group
72
- # @return [Google::Protobuf::StringValue]
73
- # The ad group resource to add keyword to. This is a required field.
74
- # @!attribute [rw] match_type
75
- # @return [Google::Ads::Googleads::V0::Enums::KeywordMatchTypeEnum::KeywordMatchType]
76
- # The match type of the keyword. This is a required field.
77
- # @!attribute [rw] cpc_bid_micros
78
- # @return [Google::Protobuf::Int64Value]
79
- # Optional, CPC bid to set for the keyword. If not set, keyword will use
80
- # bid based on bidding strategy used by target ad group.
81
- class KeywordParameters; end
82
-
83
- # Parameters to use when applying Target CPA recommendation.
84
- # @!attribute [rw] target_cpa_micros
85
- # @return [Google::Protobuf::Int64Value]
86
- # Average CPA to use for Target CPA bidding strategy. This is a required
87
- # field.
88
- # @!attribute [rw] new_campaign_budget_amount_micros
89
- # @return [Google::Protobuf::Int64Value]
90
- # Optional, budget amount to set for the campaign.
91
- class TargetCpaOptInParameters; end
92
- end
93
-
94
- # Response message for {Google::Ads::Googleads::V0::Services::RecommendationService::ApplyRecommendation RecommendationService::ApplyRecommendation}.
95
- # @!attribute [rw] results
96
- # @return [Array<Google::Ads::Googleads::V0::Services::ApplyRecommendationResult>]
97
- # Results of operations to apply recommendations.
98
- class ApplyRecommendationResponse; end
99
-
100
- # The result of applying a recommendation.
101
- # @!attribute [rw] resource_name
102
- # @return [String]
103
- # Returned for successful applies.
104
- # @!attribute [rw] status
105
- # @return [Google::Rpc::Status]
106
- # Returned for failed operations.
107
- class ApplyRecommendationResult; end
108
- end
109
- end
110
- end
111
- end
112
- end
@@ -1,64 +0,0 @@
1
- # Copyright 2018 Google LLC
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # https://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
- module Google
16
- module Ads
17
- module Googleads
18
- module V0
19
- module Services
20
- # Request message for {Google::Ads::Googleads::V0::Services::SharedCriterionService::GetSharedCriterion SharedCriterionService::GetSharedCriterion}.
21
- # @!attribute [rw] resource_name
22
- # @return [String]
23
- # The resource name of the shared criterion to fetch.
24
- class GetSharedCriterionRequest; end
25
-
26
- # Request message for {Google::Ads::Googleads::V0::Services::SharedCriterionService::MutateSharedCriteria SharedCriterionService::MutateSharedCriteria}.
27
- # @!attribute [rw] customer_id
28
- # @return [String]
29
- # The ID of the customer whose shared criteria are being modified.
30
- # @!attribute [rw] operations
31
- # @return [Array<Google::Ads::Googleads::V0::Services::SharedCriterionOperation>]
32
- # The list of operations to perform on individual shared criteria.
33
- class MutateSharedCriteriaRequest; end
34
-
35
- # A single operation (create, remove) on an shared criterion.
36
- # @!attribute [rw] create
37
- # @return [Google::Ads::Googleads::V0::Resources::SharedCriterion]
38
- # Create operation: No resource name is expected for the new shared
39
- # criterion.
40
- # @!attribute [rw] remove
41
- # @return [String]
42
- # Remove operation: A resource name for the removed shared criterion is
43
- # expected,
44
- # in this format:
45
- #
46
- # +customers/{customer_id}/sharedCriteria/{shared_set_id}_{criterion_id}+
47
- class SharedCriterionOperation; end
48
-
49
- # Response message for a shared criterion mutate.
50
- # @!attribute [rw] results
51
- # @return [Array<Google::Ads::Googleads::V0::Services::MutateSharedCriterionResult>]
52
- # All results for the mutate.
53
- class MutateSharedCriteriaResponse; end
54
-
55
- # The result for the shared criterion mutate.
56
- # @!attribute [rw] resource_name
57
- # @return [String]
58
- # Returned for successful operations.
59
- class MutateSharedCriterionResult; end
60
- end
61
- end
62
- end
63
- end
64
- end
@@ -1,69 +0,0 @@
1
- # Copyright 2018 Google LLC
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # https://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
- module Google
16
- module Ads
17
- module Googleads
18
- module V0
19
- module Services
20
- # Request message for {Google::Ads::Googleads::V0::Services::SharedSetService::GetSharedSet SharedSetService::GetSharedSet}.
21
- # @!attribute [rw] resource_name
22
- # @return [String]
23
- # The resource name of the shared set to fetch.
24
- class GetSharedSetRequest; end
25
-
26
- # Request message for {Google::Ads::Googleads::V0::Services::SharedSetService::MutateSharedSets SharedSetService::MutateSharedSets}.
27
- # @!attribute [rw] customer_id
28
- # @return [String]
29
- # The ID of the customer whose shared sets are being modified.
30
- # @!attribute [rw] operations
31
- # @return [Array<Google::Ads::Googleads::V0::Services::SharedSetOperation>]
32
- # The list of operations to perform on individual shared sets.
33
- class MutateSharedSetsRequest; end
34
-
35
- # A single operation (create, update, remove) on an shared set.
36
- # @!attribute [rw] update_mask
37
- # @return [Google::Protobuf::FieldMask]
38
- # FieldMask that determines which resource fields are modified in an update.
39
- # @!attribute [rw] create
40
- # @return [Google::Ads::Googleads::V0::Resources::SharedSet]
41
- # Create operation: No resource name is expected for the new shared set.
42
- # @!attribute [rw] update
43
- # @return [Google::Ads::Googleads::V0::Resources::SharedSet]
44
- # Update operation: The shared set is expected to have a valid resource
45
- # name.
46
- # @!attribute [rw] remove
47
- # @return [String]
48
- # Remove operation: A resource name for the removed shared set is expected,
49
- # in this format:
50
- #
51
- # +customers/{customer_id}/sharedSets/{shared_set_id}+
52
- class SharedSetOperation; end
53
-
54
- # Response message for a shared set mutate.
55
- # @!attribute [rw] results
56
- # @return [Array<Google::Ads::Googleads::V0::Services::MutateSharedSetResult>]
57
- # All results for the mutate.
58
- class MutateSharedSetsResponse; end
59
-
60
- # The result for the shared set mutate.
61
- # @!attribute [rw] resource_name
62
- # @return [String]
63
- # Returned for successful operations.
64
- class MutateSharedSetResult; end
65
- end
66
- end
67
- end
68
- end
69
- end
@@ -1,124 +0,0 @@
1
- # Copyright 2018 Google LLC
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # https://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
- module Google
16
- module Protobuf
17
- # +Any+ contains an arbitrary serialized protocol buffer message along with a
18
- # URL that describes the type of the serialized message.
19
- #
20
- # Protobuf library provides support to pack/unpack Any values in the form
21
- # of utility functions or additional generated methods of the Any type.
22
- #
23
- # Example 1: Pack and unpack a message in C++.
24
- #
25
- # Foo foo = ...;
26
- # Any any;
27
- # any.PackFrom(foo);
28
- # ...
29
- # if (any.UnpackTo(&foo)) {
30
- # ...
31
- # }
32
- #
33
- # Example 2: Pack and unpack a message in Java.
34
- #
35
- # Foo foo = ...;
36
- # Any any = Any.pack(foo);
37
- # ...
38
- # if (any.is(Foo.class)) {
39
- # foo = any.unpack(Foo.class);
40
- # }
41
- #
42
- # Example 3: Pack and unpack a message in Python.
43
- #
44
- # foo = Foo(...)
45
- # any = Any()
46
- # any.Pack(foo)
47
- # ...
48
- # if any.Is(Foo.DESCRIPTOR):
49
- # any.Unpack(foo)
50
- # ...
51
- #
52
- # Example 4: Pack and unpack a message in Go
53
- #
54
- # foo := &pb.Foo{...}
55
- # any, err := ptypes.MarshalAny(foo)
56
- # ...
57
- # foo := &pb.Foo{}
58
- # if err := ptypes.UnmarshalAny(any, foo); err != nil {
59
- # ...
60
- # }
61
- #
62
- # The pack methods provided by protobuf library will by default use
63
- # 'type.googleapis.com/full.type.name' as the type URL and the unpack
64
- # methods only use the fully qualified type name after the last '/'
65
- # in the type URL, for example "foo.bar.com/x/y.z" will yield type
66
- # name "y.z".
67
- #
68
- #
69
- # = JSON
70
- #
71
- # The JSON representation of an +Any+ value uses the regular
72
- # representation of the deserialized, embedded message, with an
73
- # additional field +@type+ which contains the type URL. Example:
74
- #
75
- # package google.profile;
76
- # message Person {
77
- # string first_name = 1;
78
- # string last_name = 2;
79
- # }
80
- #
81
- # {
82
- # "@type": "type.googleapis.com/google.profile.Person",
83
- # "firstName": <string>,
84
- # "lastName": <string>
85
- # }
86
- #
87
- # If the embedded message type is well-known and has a custom JSON
88
- # representation, that representation will be embedded adding a field
89
- # +value+ which holds the custom JSON in addition to the +@type+
90
- # field. Example (for message {Google::Protobuf::Duration}):
91
- #
92
- # {
93
- # "@type": "type.googleapis.com/google.protobuf.Duration",
94
- # "value": "1.212s"
95
- # }
96
- # @!attribute [rw] type_url
97
- # @return [String]
98
- # A URL/resource name whose content describes the type of the
99
- # serialized protocol buffer message.
100
- #
101
- # For URLs which use the scheme +http+, +https+, or no scheme, the
102
- # following restrictions and interpretations apply:
103
- #
104
- # * If no scheme is provided, +https+ is assumed.
105
- # * The last segment of the URL's path must represent the fully
106
- # qualified name of the type (as in +path/google.protobuf.Duration+).
107
- # The name should be in a canonical form (e.g., leading "." is
108
- # not accepted).
109
- # * An HTTP GET on the URL must yield a {Google::Protobuf::Type}
110
- # value in binary format, or produce an error.
111
- # * Applications are allowed to cache lookup results based on the
112
- # URL, or have them precompiled into a binary to avoid any
113
- # lookup. Therefore, binary compatibility needs to be preserved
114
- # on changes to types. (Use versioned type names to manage
115
- # breaking changes.)
116
- #
117
- # Schemes other than +http+, +https+ (or the empty scheme) might be
118
- # used with implementation specific semantics.
119
- # @!attribute [rw] value
120
- # @return [String]
121
- # Must be a valid serialized protocol buffer of the above specified type.
122
- class Any; end
123
- end
124
- end