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,28 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # source: google/ads/googleads/v0/resources/ad_group_ad.proto
3
-
4
- require 'google/protobuf'
5
-
6
- require 'google/ads/googleads/v0/enums/ad_group_ad_status_pb'
7
- require 'google/ads/googleads/v0/resources/ad_pb'
8
- require 'google/protobuf/wrappers_pb'
9
- Google::Protobuf::DescriptorPool.generated_pool.build do
10
- add_message "google.ads.googleads.v0.resources.AdGroupAd" do
11
- optional :resource_name, :string, 1
12
- optional :status, :enum, 3, "google.ads.googleads.v0.enums.AdGroupAdStatusEnum.AdGroupAdStatus"
13
- optional :ad_group, :message, 4, "google.protobuf.StringValue"
14
- optional :ad, :message, 5, "google.ads.googleads.v0.resources.Ad"
15
- end
16
- end
17
-
18
- module Google
19
- module Ads
20
- module Googleads
21
- module V0
22
- module Resources
23
- AdGroupAd = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.resources.AdGroupAd").msgclass
24
- end
25
- end
26
- end
27
- end
28
- end
@@ -1,120 +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 Common
20
- # A text ad.
21
- # @!attribute [rw] headline
22
- # @return [Google::Protobuf::StringValue]
23
- # The headline of the ad.
24
- # @!attribute [rw] description1
25
- # @return [Google::Protobuf::StringValue]
26
- # The first line of the ad's description.
27
- # @!attribute [rw] description2
28
- # @return [Google::Protobuf::StringValue]
29
- # The second line of the ad's description.
30
- class TextAdInfo; end
31
-
32
- # An expanded text ad.
33
- # @!attribute [rw] headline_part1
34
- # @return [Google::Protobuf::StringValue]
35
- # The first part of the ad's headline.
36
- # @!attribute [rw] headline_part2
37
- # @return [Google::Protobuf::StringValue]
38
- # The second part of the ad's headline.
39
- # @!attribute [rw] description
40
- # @return [Google::Protobuf::StringValue]
41
- # The description of the ad.
42
- # @!attribute [rw] path1
43
- # @return [Google::Protobuf::StringValue]
44
- # The text that can appear alongside the ad's displayed URL.
45
- # @!attribute [rw] path2
46
- # @return [Google::Protobuf::StringValue]
47
- # Additional text that can appear alongside the ad's displayed URL.
48
- class ExpandedTextAdInfo; end
49
-
50
- # A dynamic search ad.
51
- # @!attribute [rw] description1
52
- # @return [Google::Protobuf::StringValue]
53
- # The first line of the ad's description.
54
- # @!attribute [rw] description2
55
- # @return [Google::Protobuf::StringValue]
56
- # The second line of the ad's description.
57
- class DynamicSearchAdInfo; end
58
-
59
- # A responsive display ad.
60
- # @!attribute [rw] short_headline
61
- # @return [Google::Protobuf::StringValue]
62
- # The short version of the ad's headline.
63
- # @!attribute [rw] long_headline
64
- # @return [Google::Protobuf::StringValue]
65
- # The long version of the ad's headline.
66
- # @!attribute [rw] description
67
- # @return [Google::Protobuf::StringValue]
68
- # The description of the ad.
69
- # @!attribute [rw] business_name
70
- # @return [Google::Protobuf::StringValue]
71
- # The business name in the ad.
72
- class ResponsiveDisplayAdInfo; end
73
-
74
- # A call-only ad.
75
- # @!attribute [rw] country_code
76
- # @return [Google::Protobuf::StringValue]
77
- # The country code in the ad.
78
- # @!attribute [rw] phone_number
79
- # @return [Google::Protobuf::StringValue]
80
- # The phone number in the ad.
81
- # @!attribute [rw] business_name
82
- # @return [Google::Protobuf::StringValue]
83
- # The business name in the ad.
84
- # @!attribute [rw] description1
85
- # @return [Google::Protobuf::StringValue]
86
- # The first line of the ad's description.
87
- # @!attribute [rw] description2
88
- # @return [Google::Protobuf::StringValue]
89
- # The second line of the ad's description.
90
- # @!attribute [rw] call_tracked
91
- # @return [Google::Protobuf::BoolValue]
92
- # Whether to enable call tracking for the creative. Enabling call
93
- # tracking also enables call conversions.
94
- # @!attribute [rw] disable_call_conversion
95
- # @return [Google::Protobuf::BoolValue]
96
- # Whether to disable call conversion for the creative.
97
- # If set to +true+, disables call conversions even when +call_tracked+ is
98
- # +true+.
99
- # If +call_tracked+ is +false+, this field is ignored.
100
- # @!attribute [rw] phone_number_verification_url
101
- # @return [Google::Protobuf::StringValue]
102
- # The URL to be used for phone number verification.
103
- class CallOnlyAdInfo; end
104
-
105
- # An expanded dynamic search ad.
106
- # @!attribute [rw] description
107
- # @return [Google::Protobuf::StringValue]
108
- # The description of the ad.
109
- class ExpandedDynamicSearchAdInfo; end
110
-
111
- # A hotel ad.
112
- class HotelAdInfo; end
113
-
114
- # A Smart Shopping ad.
115
- class ShoppingSmartAdInfo; end
116
- end
117
- end
118
- end
119
- end
120
- end
@@ -1,176 +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 Common
20
- # An automated bidding strategy that raises bids for clicks
21
- # that seem more likely to lead to a conversion and lowers
22
- # them for clicks where they seem less likely.
23
- class EnhancedCpc; end
24
-
25
- # Manual click-based bidding where user pays per click.
26
- # @!attribute [rw] enhanced_cpc_enabled
27
- # @return [Google::Protobuf::BoolValue]
28
- # Whether bids are to be enhanced based on conversion optimizer data.
29
- class ManualCpc; end
30
-
31
- # Manual impression-based bidding where user pays per thousand impressions.
32
- class ManualCpm; end
33
-
34
- # An automated bidding strategy that sets bids to help get the most conversions
35
- # for your campaign while spending your budget.
36
- class MaximizeConversions; end
37
-
38
- # An automated bidding strategy which tries to maximize conversion value
39
- # given a daily budget.
40
- # @!attribute [rw] target_roas
41
- # @return [Google::Protobuf::DoubleValue]
42
- # The target return on ad spend (ROAS) option. If set, the bid strategy will
43
- # maximize revenue while averaging the target return on ad spend. If the
44
- # target ROAS is high, the bid strategy may not be able to spend the full
45
- # budget. If the target ROAS is not set, the bid strategy will aim to
46
- # achieve the highest possible ROAS for the budget.
47
- class MaximizeConversionValue; end
48
-
49
- # An automated bidding strategy which sets CPC bids to target impressions on
50
- # page one, or page one promoted slots on google.com.
51
- # @!attribute [rw] strategy_goal
52
- # @return [Google::Ads::Googleads::V0::Enums::PageOnePromotedStrategyGoalEnum::PageOnePromotedStrategyGoal]
53
- # The strategy goal of where impressions are desired to be shown on
54
- # search result pages.
55
- # @!attribute [rw] cpc_bid_ceiling_micros
56
- # @return [Google::Protobuf::Int64Value]
57
- # Maximum bid limit that can be set by the bid strategy.
58
- # The limit applies to all keywords managed by the strategy.
59
- # @!attribute [rw] bid_modifier
60
- # @return [Google::Protobuf::DoubleValue]
61
- # Bid multiplier to be applied to the relevant bid estimate (depending on
62
- # the +strategy_goal+) in determining a keyword's new CPC bid.
63
- # @!attribute [rw] only_raise_cpc_bids
64
- # @return [Google::Protobuf::BoolValue]
65
- # Whether the strategy should always follow bid estimate changes, or only
66
- # increase.
67
- # If false, always sets a keyword's new bid to the current bid estimate.
68
- # If true, only updates a keyword's bid if the current bid estimate is
69
- # greater than the current bid.
70
- # @!attribute [rw] raise_cpc_bid_when_budget_constrained
71
- # @return [Google::Protobuf::BoolValue]
72
- # Whether the strategy is allowed to raise bids when the throttling
73
- # rate of the budget it is serving out of rises above a threshold.
74
- # @!attribute [rw] raise_cpc_bid_when_quality_score_is_low
75
- # @return [Google::Protobuf::BoolValue]
76
- # Whether the strategy is allowed to raise bids on keywords with
77
- # lower-range quality scores.
78
- class PageOnePromoted; end
79
-
80
- # An automated bid strategy that sets bids to help get as many conversions as
81
- # possible at the target cost-per-acquisition (CPA) you set.
82
- # @!attribute [rw] target_cpa_micros
83
- # @return [Google::Protobuf::Int64Value]
84
- # Average CPA target.
85
- # This target should be greater than or equal to minimum billable unit based
86
- # on the currency for the account.
87
- # @!attribute [rw] cpc_bid_ceiling_micros
88
- # @return [Google::Protobuf::Int64Value]
89
- # Maximum bid limit that can be set by the bid strategy.
90
- # The limit applies to all keywords managed by the strategy.
91
- # @!attribute [rw] cpc_bid_floor_micros
92
- # @return [Google::Protobuf::Int64Value]
93
- # Minimum bid limit that can be set by the bid strategy.
94
- # The limit applies to all keywords managed by the strategy.
95
- class TargetCpa; end
96
-
97
- # An automated bidding strategy that sets bids based on the target fraction of
98
- # auctions where the advertiser should outrank a specific competitor.
99
- # @!attribute [rw] target_outrank_share_micros
100
- # @return [Google::Protobuf::Int32Value]
101
- # The target fraction of auctions where the advertiser should outrank the
102
- # competitor.
103
- # The advertiser outranks the competitor in an auction if either the
104
- # advertiser appears above the competitor in the search results, or appears
105
- # in the search results when the competitor does not.
106
- # Value must be between 1 and 1000000, inclusive.
107
- # @!attribute [rw] competitor_domain
108
- # @return [Google::Protobuf::StringValue]
109
- # Competitor's visible domain URL.
110
- # @!attribute [rw] cpc_bid_ceiling_micros
111
- # @return [Google::Protobuf::Int64Value]
112
- # Maximum bid limit that can be set by the bid strategy.
113
- # The limit applies to all keywords managed by the strategy.
114
- # @!attribute [rw] only_raise_cpc_bids
115
- # @return [Google::Protobuf::BoolValue]
116
- # Whether the strategy should always follow bid estimate changes,
117
- # or only increase.
118
- # If false, always set a keyword's new bid to the current bid estimate.
119
- # If true, only updates a keyword's bid if the current bid estimate is
120
- # greater than the current bid.
121
- # @!attribute [rw] raise_cpc_bid_when_quality_score_is_low
122
- # @return [Google::Protobuf::BoolValue]
123
- # Whether the strategy is allowed to raise bids on keywords with
124
- # lower-range quality scores.
125
- class TargetOutrankShare; end
126
-
127
- # An automated bidding strategy that helps you maximize revenue while
128
- # averaging a specific target return on ad spend (ROAS).
129
- # @!attribute [rw] target_roas
130
- # @return [Google::Protobuf::DoubleValue]
131
- # Required. The desired revenue (based on conversion data) per unit of spend.
132
- # Value must be between 0.01 and 1000.0, inclusive.
133
- # @!attribute [rw] cpc_bid_ceiling_micros
134
- # @return [Google::Protobuf::Int64Value]
135
- # Maximum bid limit that can be set by the bid strategy.
136
- # The limit applies to all keywords managed by the strategy.
137
- # @!attribute [rw] cpc_bid_floor_micros
138
- # @return [Google::Protobuf::Int64Value]
139
- # Minimum bid limit that can be set by the bid strategy.
140
- # The limit applies to all keywords managed by the strategy.
141
- class TargetRoas; end
142
-
143
- # An automated bid strategy that sets your bids to help get as many clicks
144
- # as possible within your budget.
145
- # @!attribute [rw] target_spend_micros
146
- # @return [Google::Protobuf::Int64Value]
147
- # The spend target under which to maximize clicks.
148
- # A TargetSpend bidder will attempt to spend the smaller of this value
149
- # or the natural throttling spend amount.
150
- # If not specified, the budget is used as the spend target.
151
- # @!attribute [rw] cpc_bid_ceiling_micros
152
- # @return [Google::Protobuf::Int64Value]
153
- # Maximum bid limit that can be set by the bid strategy.
154
- # The limit applies to all keywords managed by the strategy.
155
- class TargetSpend; end
156
-
157
- # A bidding strategy where bids are a fraction of the advertised price for
158
- # some good or service.
159
- # @!attribute [rw] cpc_bid_ceiling_micros
160
- # @return [Google::Protobuf::Int64Value]
161
- # Maximum bid limit that can be set by the bid strategy. This is
162
- # an optional field entered by the advertiser and specified in local micros.
163
- # Note: A zero value is interpreted in the same way as having bid_ceiling
164
- # undefined.
165
- # @!attribute [rw] enhanced_cpc_enabled
166
- # @return [Google::Protobuf::BoolValue]
167
- # Adjusts the bid for each auction upward or downward, depending on the
168
- # likelihood of a conversion. Individual bids may exceed
169
- # cpc_bid_ceiling_micros, but the average bid amount for a campaign should
170
- # not.
171
- class PercentCpc; end
172
- end
173
- end
174
- end
175
- end
176
- end
@@ -1,225 +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 Common
20
- # A keyword criterion.
21
- # @!attribute [rw] text
22
- # @return [Google::Protobuf::StringValue]
23
- # The text of the keyword (at most 80 characters and 10 words).
24
- # @!attribute [rw] match_type
25
- # @return [Google::Ads::Googleads::V0::Enums::KeywordMatchTypeEnum::KeywordMatchType]
26
- # The match type of the keyword.
27
- class KeywordInfo; end
28
-
29
- # A location criterion.
30
- # @!attribute [rw] geo_target_constant
31
- # @return [Google::Protobuf::StringValue]
32
- # The geo target constant resource name.
33
- class LocationInfo; end
34
-
35
- # A device criterion.
36
- # @!attribute [rw] type
37
- # @return [Google::Ads::Googleads::V0::Enums::DeviceEnum::Device]
38
- # Type of the device.
39
- class DeviceInfo; end
40
-
41
- # A listing group criterion.
42
- # @!attribute [rw] type
43
- # @return [Google::Ads::Googleads::V0::Enums::ListingGroupTypeEnum::ListingGroupType]
44
- # Type of the listing group.
45
- # @!attribute [rw] case_value
46
- # @return [Google::Ads::Googleads::V0::Common::ListingDimensionInfo]
47
- # Dimension value with which this listing group is refining its parent.
48
- # Undefined for the root group.
49
- # @!attribute [rw] parent_ad_group_criterion
50
- # @return [Google::Protobuf::StringValue]
51
- # Resource name of ad group criterion which is the parent listing group
52
- # subdivision. Null for the root group.
53
- class ListingGroupInfo; end
54
-
55
- # Listing dimensions for listing group criterion.
56
- # @!attribute [rw] listing_brand
57
- # @return [Google::Ads::Googleads::V0::Common::ListingBrandInfo]
58
- # Brand of the listing.
59
- # @!attribute [rw] hotel_id
60
- # @return [Google::Ads::Googleads::V0::Common::HotelIdInfo]
61
- # Advertiser-specific hotel ID.
62
- # @!attribute [rw] hotel_class
63
- # @return [Google::Ads::Googleads::V0::Common::HotelClassInfo]
64
- # Class of the hotel as a number of stars 1 to 5.
65
- # @!attribute [rw] hotel_country_region
66
- # @return [Google::Ads::Googleads::V0::Common::HotelCountryRegionInfo]
67
- # Country or Region the hotel is located in.
68
- # @!attribute [rw] hotel_state
69
- # @return [Google::Ads::Googleads::V0::Common::HotelStateInfo]
70
- # State the hotel is located in.
71
- # @!attribute [rw] hotel_city
72
- # @return [Google::Ads::Googleads::V0::Common::HotelCityInfo]
73
- # City the hotel is located in.
74
- # @!attribute [rw] listing_custom_attribute
75
- # @return [Google::Ads::Googleads::V0::Common::ListingCustomAttributeInfo]
76
- # Listing custom attribute.
77
- # @!attribute [rw] product_condition
78
- # @return [Google::Ads::Googleads::V0::Common::ProductConditionInfo]
79
- # Condition of a product offer.
80
- # @!attribute [rw] product_type
81
- # @return [Google::Ads::Googleads::V0::Common::ProductTypeInfo]
82
- # Type of a product offer.
83
- class ListingDimensionInfo; end
84
-
85
- # Brand of the listing.
86
- # @!attribute [rw] value
87
- # @return [Google::Protobuf::StringValue]
88
- # String value of the listing brand.
89
- class ListingBrandInfo; end
90
-
91
- # Advertiser-specific hotel ID.
92
- # @!attribute [rw] value
93
- # @return [Google::Protobuf::StringValue]
94
- # String value of the hotel ID.
95
- class HotelIdInfo; end
96
-
97
- # Class of the hotel as a number of stars 1 to 5.
98
- # @!attribute [rw] value
99
- # @return [Google::Protobuf::Int64Value]
100
- # Long value of the hotel class.
101
- class HotelClassInfo; end
102
-
103
- # Country or Region the hotel is located in.
104
- # @!attribute [rw] country_region_criterion
105
- # @return [Google::Protobuf::StringValue]
106
- # The Geo Target Constant resource name.
107
- class HotelCountryRegionInfo; end
108
-
109
- # State the hotel is located in.
110
- # @!attribute [rw] state_criterion
111
- # @return [Google::Protobuf::StringValue]
112
- # The Geo Target Constant resource name.
113
- class HotelStateInfo; end
114
-
115
- # City the hotel is located in.
116
- # @!attribute [rw] city_criterion
117
- # @return [Google::Protobuf::StringValue]
118
- # The Geo Target Constant resource name.
119
- class HotelCityInfo; end
120
-
121
- # Listing custom attribute.
122
- # @!attribute [rw] value
123
- # @return [Google::Protobuf::StringValue]
124
- # String value of the listing custom attribute.
125
- # @!attribute [rw] index
126
- # @return [Google::Ads::Googleads::V0::Enums::ListingCustomAttributeIndexEnum::ListingCustomAttributeIndex]
127
- # Indicates the index of the custom attribute.
128
- class ListingCustomAttributeInfo; end
129
-
130
- # Condition of a product offer.
131
- # @!attribute [rw] condition
132
- # @return [Google::Ads::Googleads::V0::Enums::ProductConditionEnum::ProductCondition]
133
- # Value of the condition.
134
- class ProductConditionInfo; end
135
-
136
- # Type of a product offer.
137
- # @!attribute [rw] value
138
- # @return [Google::Protobuf::StringValue]
139
- # Value of the type.
140
- # @!attribute [rw] level
141
- # @return [Google::Ads::Googleads::V0::Enums::ProductTypeLevelEnum::ProductTypeLevel]
142
- # Level of the type.
143
- class ProductTypeInfo; end
144
-
145
- # Criterion for hotel date selection (default dates vs. user selected).
146
- # @!attribute [rw] type
147
- # @return [Google::Ads::Googleads::V0::Enums::HotelDateSelectionTypeEnum::HotelDateSelectionType]
148
- # Type of the hotel date selection
149
- class HotelDateSelectionTypeInfo; end
150
-
151
- # Criterion for number of days prior to the stay the booking is being made.
152
- # @!attribute [rw] min_days
153
- # @return [Google::Protobuf::Int64Value]
154
- # Low end of the number of days prior to the stay.
155
- # @!attribute [rw] max_days
156
- # @return [Google::Protobuf::Int64Value]
157
- # High end of the number of days prior to the stay.
158
- class HotelAdvanceBookingWindowInfo; end
159
-
160
- # Criterion for length of hotel stay in nights.
161
- # @!attribute [rw] min_nights
162
- # @return [Google::Protobuf::Int64Value]
163
- # Low end of the number of nights in the stay.
164
- # @!attribute [rw] max_nights
165
- # @return [Google::Protobuf::Int64Value]
166
- # High end of the number of nights in the stay.
167
- class HotelLengthOfStayInfo; end
168
-
169
- # Criterion for day of the week the booking is for.
170
- # @!attribute [rw] day_of_week
171
- # @return [Google::Ads::Googleads::V0::Enums::DayOfWeekEnum::DayOfWeek]
172
- # The day of the week.
173
- class HotelCheckInDayInfo; end
174
-
175
- # Criterion for Interaction Type.
176
- # @!attribute [rw] type
177
- # @return [Google::Ads::Googleads::V0::Enums::InteractionTypeEnum::InteractionType]
178
- # The interaction type.
179
- class InteractionTypeInfo; end
180
-
181
- # Represents an AdSchedule criterion.
182
- #
183
- # AdSchedule is specified as the day of the week and a time interval
184
- # within which ads will be shown.
185
- #
186
- # No more than six AdSchedules can be added for the same day.
187
- # @!attribute [rw] start_minute
188
- # @return [Google::Ads::Googleads::V0::Enums::MinuteOfHourEnum::MinuteOfHour]
189
- # Minutes after the start hour at which this schedule starts.
190
- #
191
- # This field is required for CREATE operations and is prohibited on UPDATE
192
- # operations.
193
- # @!attribute [rw] end_minute
194
- # @return [Google::Ads::Googleads::V0::Enums::MinuteOfHourEnum::MinuteOfHour]
195
- # Minutes after the end hour at which this schedule ends. The schedule is
196
- # exclusive of the end minute.
197
- #
198
- # This field is required for CREATE operations and is prohibited on UPDATE
199
- # operations.
200
- # @!attribute [rw] start_hour
201
- # @return [Google::Protobuf::Int32Value]
202
- # Starting hour in 24 hour time.
203
- # This field must be between 0 and 23, inclusive.
204
- #
205
- # This field is required for CREATE operations and is prohibited on UPDATE
206
- # operations.
207
- # @!attribute [rw] end_hour
208
- # @return [Google::Protobuf::Int32Value]
209
- # Ending hour in 24 hour time; 24 signifies end of the day.
210
- # This field must be between 0 and 24, inclusive.
211
- #
212
- # This field is required for CREATE operations and is prohibited on UPDATE
213
- # operations.
214
- # @!attribute [rw] day_of_week
215
- # @return [Google::Ads::Googleads::V0::Enums::DayOfWeekEnum::DayOfWeek]
216
- # Day of the week the schedule applies to.
217
- #
218
- # This field is required for CREATE operations and is prohibited on UPDATE
219
- # operations.
220
- class AdScheduleInfo; end
221
- end
222
- end
223
- end
224
- end
225
- end
@@ -1,33 +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 Common
20
- # A mapping that can be used by custom parameter tags in a
21
- # +tracking_url_template+, +final_urls+, or +mobile_final_urls+.
22
- # @!attribute [rw] key
23
- # @return [Google::Protobuf::StringValue]
24
- # The key matching the parameter tag name.
25
- # @!attribute [rw] value
26
- # @return [Google::Protobuf::StringValue]
27
- # The value to be substituted.
28
- class CustomParameter; end
29
- end
30
- end
31
- end
32
- end
33
- end