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,208 +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
- # Metrics data.
21
- # @!attribute [rw] all_conversions_from_interactions_rate
22
- # @return [Google::Protobuf::DoubleValue]
23
- # All conversions from interactions (as oppose to view through conversions)
24
- # divided by the number of ad interactions.
25
- # @!attribute [rw] all_conversions_value
26
- # @return [Google::Protobuf::DoubleValue]
27
- # The total value of all conversions.
28
- # @!attribute [rw] all_conversions
29
- # @return [Google::Protobuf::DoubleValue]
30
- # The total number of conversions. This includes "Conversions" plus
31
- # conversions that have their "Include in Conversions" setting unchecked.
32
- # @!attribute [rw] all_conversions_value_per_cost
33
- # @return [Google::Protobuf::DoubleValue]
34
- # The value of all conversions divided by the total cost of ad interactions
35
- # (such as clicks for text ads or views for video ads).
36
- # @!attribute [rw] all_conversions_from_interactions_value_per_interaction
37
- # @return [Google::Protobuf::DoubleValue]
38
- # The value of all conversions from interactions divided by the total number
39
- # of interactions.
40
- # @!attribute [rw] average_cost
41
- # @return [Google::Protobuf::DoubleValue]
42
- # The average amount you pay per interaction. This amount is the total cost
43
- # of your ads divided by the total number of interactions.
44
- # @!attribute [rw] average_cpc
45
- # @return [Google::Protobuf::DoubleValue]
46
- # The total cost of all clicks divided by the total number of clicks
47
- # received.
48
- # @!attribute [rw] average_cpm
49
- # @return [Google::Protobuf::DoubleValue]
50
- # Average cost-per-thousand impressions (CPM).
51
- # @!attribute [rw] average_position
52
- # @return [Google::Protobuf::DoubleValue]
53
- # Your ad's position relative to those of other advertisers.
54
- # @!attribute [rw] bounce_rate
55
- # @return [Google::Protobuf::DoubleValue]
56
- # Percentage of clicks where the user only visited a single page on your
57
- # site. Imported from Google Analytics.
58
- # @!attribute [rw] clicks
59
- # @return [Google::Protobuf::Int64Value]
60
- # The number of clicks.
61
- # @!attribute [rw] content_budget_lost_impression_share
62
- # @return [Google::Protobuf::DoubleValue]
63
- # The estimated percent of times that your ad was eligible to show
64
- # on the Display Network but didn't because your budget was too low.
65
- # Note: Content budget lost impression share is reported in the range of 0
66
- # to 0.9. Any value above 0.9 is reported as 0.9001.
67
- # @!attribute [rw] content_impression_share
68
- # @return [Google::Protobuf::DoubleValue]
69
- # The impressions you've received on the Display Network divided
70
- # by the estimated number of impressions you were eligible to receive.
71
- # Note: Content impression share is reported in the range of 0.1 to 1. Any
72
- # value below 0.1 is reported as 0.0999.
73
- # @!attribute [rw] content_rank_lost_impression_share
74
- # @return [Google::Protobuf::DoubleValue]
75
- # The estimated percentage of impressions on the Display Network
76
- # that your ads didn't receive due to poor Ad Rank.
77
- # Note: Content rank lost impression share is reported in the range of 0
78
- # to 0.9. Any value above 0.9 is reported as 0.9001.
79
- # @!attribute [rw] conversions_from_interactions_rate
80
- # @return [Google::Protobuf::DoubleValue]
81
- # Conversions from interactions divided by the number of ad interactions
82
- # (such as clicks for text ads or views for video ads).
83
- # @!attribute [rw] conversions_value
84
- # @return [Google::Protobuf::DoubleValue]
85
- # The total value of conversions.
86
- # @!attribute [rw] conversions_value_per_cost
87
- # @return [Google::Protobuf::DoubleValue]
88
- # The value of conversions divided by the cost of ad interactions.
89
- # @!attribute [rw] conversions_from_interactions_value_per_interaction
90
- # @return [Google::Protobuf::DoubleValue]
91
- # The value of conversions from interactions divided by the number of ad
92
- # interactions.
93
- # @!attribute [rw] conversions
94
- # @return [Google::Protobuf::DoubleValue]
95
- # The number of conversions. This only includes conversion actions which have
96
- # "Include in Conversions" checked.
97
- # @!attribute [rw] cost_micros
98
- # @return [Google::Protobuf::Int64Value]
99
- # The sum of your cost-per-click (CPC) and cost-per-thousand impressions
100
- # (CPM) costs during this period.
101
- # @!attribute [rw] cost_per_all_conversions
102
- # @return [Google::Protobuf::DoubleValue]
103
- # The cost of ad interactions divided by all conversions.
104
- # @!attribute [rw] cost_per_conversion
105
- # @return [Google::Protobuf::DoubleValue]
106
- # The cost of ad interactions divided by conversions.
107
- # @!attribute [rw] cross_device_conversions
108
- # @return [Google::Protobuf::DoubleValue]
109
- # Conversions from when a customer clicks on a Google Ads ad on one device,
110
- # then converts on a different device or browser.
111
- # Cross-device conversions are already included in all_conversions.
112
- # @!attribute [rw] ctr
113
- # @return [Google::Protobuf::DoubleValue]
114
- # The number of clicks your ad receives (Clicks) divided by the number
115
- # of times your ad is shown (Impressions).
116
- # @!attribute [rw] engagement_rate
117
- # @return [Google::Protobuf::DoubleValue]
118
- # How often people engage with your ad after it's shown to them. This is the
119
- # number of ad expansions divided by the number of times your ad is shown.
120
- # @!attribute [rw] engagements
121
- # @return [Google::Protobuf::Int64Value]
122
- # The number of engagements.
123
- # An engagement occurs when a viewer expands your Lightbox ad. Also, in the
124
- # future, other ad types may support engagement metrics.
125
- # @!attribute [rw] impressions
126
- # @return [Google::Protobuf::Int64Value]
127
- # Count of how often your ad has appeared on a search results page or
128
- # website on the Google Network.
129
- # @!attribute [rw] interaction_rate
130
- # @return [Google::Protobuf::DoubleValue]
131
- # How often people interact with your ad after it is shown to them.
132
- # This is the number of interactions divided by the number of times your ad
133
- # is shown.
134
- # @!attribute [rw] interactions
135
- # @return [Google::Protobuf::Int64Value]
136
- # The number of interactions.
137
- # An interaction is the main user action associated with an ad format-clicks
138
- # for text and shopping ads, views for video ads, and so on.
139
- # @!attribute [rw] invalid_click_rate
140
- # @return [Google::Protobuf::DoubleValue]
141
- # The percentage of clicks filtered out of your total number of clicks
142
- # (filtered + non-filtered clicks) during the reporting period.
143
- # @!attribute [rw] invalid_clicks
144
- # @return [Google::Protobuf::Int64Value]
145
- # Number of clicks Google considers illegitimate and doesn't charge you for.
146
- # @!attribute [rw] percent_new_visitors
147
- # @return [Google::Protobuf::DoubleValue]
148
- # Percentage of first-time sessions (from people who had never visited your
149
- # site before). Imported from Google Analytics.
150
- # @!attribute [rw] phone_calls
151
- # @return [Google::Protobuf::Int64Value]
152
- # Number of offline phone calls.
153
- # @!attribute [rw] phone_impressions
154
- # @return [Google::Protobuf::Int64Value]
155
- # Number of offline phone impressions.
156
- # @!attribute [rw] phone_through_rate
157
- # @return [Google::Protobuf::DoubleValue]
158
- # Number of phone calls received (phone_calls) divided by the number of
159
- # times your phone number is shown (phone_impressions).
160
- # @!attribute [rw] relative_ctr
161
- # @return [Google::Protobuf::DoubleValue]
162
- # Your clickthrough rate (Ctr) divided by the average clickthrough rate of
163
- # all advertisers on the websites that show your ads. Measures how your ads
164
- # perform on Display Network sites compared to other ads on the same sites.
165
- # @!attribute [rw] search_budget_lost_impression_share
166
- # @return [Google::Protobuf::DoubleValue]
167
- # The estimated percent of times that your ad was eligible to show on the
168
- # Search Network but didn't because your budget was too low. Note: Search
169
- # budget lost impression share is reported in the range of 0 to 0.9. Any
170
- # value above 0.9 is reported as 0.9001.
171
- # @!attribute [rw] search_exact_match_impression_share
172
- # @return [Google::Protobuf::DoubleValue]
173
- # The impressions you've received divided by the estimated number of
174
- # impressions you were eligible to receive on the Search Network for search
175
- # terms that matched your keywords exactly (or were close variants of your
176
- # keyword), regardless of your keyword match types. Note: Search exact match
177
- # impression share is reported in the range of 0.1 to 1. Any value below 0.1
178
- # is reported as 0.0999.
179
- # @!attribute [rw] search_impression_share
180
- # @return [Google::Protobuf::DoubleValue]
181
- # The impressions you've received on the Search Network divided
182
- # by the estimated number of impressions you were eligible to receive.
183
- # Note: Search impression share is reported in the range of 0.1 to 1. Any
184
- # value below 0.1 is reported as 0.0999.
185
- # @!attribute [rw] search_rank_lost_impression_share
186
- # @return [Google::Protobuf::DoubleValue]
187
- # The estimated percentage of impressions on the Search Network
188
- # that your ads didn't receive due to poor Ad Rank.
189
- # Note: Search rank lost impression share is reported in the range of 0 to
190
- # 0.9. Any value above 0.9 is reported as 0.9001.
191
- # @!attribute [rw] value_per_all_conversions
192
- # @return [Google::Protobuf::DoubleValue]
193
- # The value of all conversions divided by the number of all conversions.
194
- # @!attribute [rw] value_per_conversion
195
- # @return [Google::Protobuf::DoubleValue]
196
- # The value of conversions divided by the number of conversions.
197
- # @!attribute [rw] view_through_conversions
198
- # @return [Google::Protobuf::Int64Value]
199
- # The total number of view-through conversions.
200
- # These happen when a customer sees an image or rich media ad, then later
201
- # completes a conversion on your site without interacting with (e.g.,
202
- # clicking on) another ad.
203
- class Metrics; end
204
- end
205
- end
206
- end
207
- end
208
- end
@@ -1,79 +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 Resources
20
- # An ad.
21
- # @!attribute [rw] id
22
- # @return [Google::Protobuf::Int64Value]
23
- # The ID of the ad.
24
- # @!attribute [rw] final_urls
25
- # @return [Array<Google::Protobuf::StringValue>]
26
- # The list of possible final URLs after all cross-domain redirects for the
27
- # ad.
28
- # @!attribute [rw] final_mobile_urls
29
- # @return [Array<Google::Protobuf::StringValue>]
30
- # The list of possible final mobile URLs after all cross-domain redirects
31
- # for the ad.
32
- # @!attribute [rw] tracking_url_template
33
- # @return [Google::Protobuf::StringValue]
34
- # The URL template for constructing a tracking URL.
35
- # @!attribute [rw] url_custom_parameters
36
- # @return [Array<Google::Ads::Googleads::V0::Common::CustomParameter>]
37
- # The list of mappings that can be used to substitute custom parameter tags
38
- # in a
39
- # +tracking_url_template+, +final_urls+, or +mobile_final_urls+.
40
- # @!attribute [rw] display_url
41
- # @return [Google::Protobuf::StringValue]
42
- # The URL that appears in the ad description for some ad formats.
43
- # @!attribute [rw] type
44
- # @return [Google::Ads::Googleads::V0::Enums::AdTypeEnum::AdType]
45
- # The type of ad.
46
- # @!attribute [rw] text_ad
47
- # @return [Google::Ads::Googleads::V0::Common::TextAdInfo]
48
- # Details pertaining to a text ad.
49
- # @!attribute [rw] expanded_text_ad
50
- # @return [Google::Ads::Googleads::V0::Common::ExpandedTextAdInfo]
51
- # Details pertaining to an expanded text ad.
52
- # @!attribute [rw] dynamic_search_ad
53
- # @return [Google::Ads::Googleads::V0::Common::DynamicSearchAdInfo]
54
- # Details pertaining to a Dynamic Search Ad.
55
- # @!attribute [rw] responsive_display_ad
56
- # @return [Google::Ads::Googleads::V0::Common::ResponsiveDisplayAdInfo]
57
- # Details pertaining to a responsive display ad.
58
- # @!attribute [rw] call_only_ad
59
- # @return [Google::Ads::Googleads::V0::Common::CallOnlyAdInfo]
60
- # Details pertaining to a call-only ad.
61
- # @!attribute [rw] expanded_dynamic_search_ad
62
- # @return [Google::Ads::Googleads::V0::Common::ExpandedDynamicSearchAdInfo]
63
- # Details pertaining to an Expanded Dynamic Search Ad.
64
- # This type of ad has its headline, final URLs, and display URL
65
- # auto-generated at serving time according to domain name specific
66
- # information provided by +dynamic_search_ads_setting+ linked at the
67
- # campaign level.
68
- # @!attribute [rw] hotel_ad
69
- # @return [Google::Ads::Googleads::V0::Common::HotelAdInfo]
70
- # Details pertaining to a hotel ad.
71
- # @!attribute [rw] shopping_smart_ad
72
- # @return [Google::Ads::Googleads::V0::Common::ShoppingSmartAdInfo]
73
- # Details pertaining to a Smart Shopping ad.
74
- class Ad; end
75
- end
76
- end
77
- end
78
- end
79
- end
@@ -1,87 +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 Resources
20
- # An ad group.
21
- # @!attribute [rw] resource_name
22
- # @return [String]
23
- # The resource name of the ad group.
24
- # Ad group resource names have the form:
25
- #
26
- # +customers/{customer_id}/adGroups/{ad_group_id}+
27
- # @!attribute [rw] id
28
- # @return [Google::Protobuf::Int64Value]
29
- # The ID of the ad group.
30
- # @!attribute [rw] name
31
- # @return [Google::Protobuf::StringValue]
32
- # The name of the ad group.
33
- #
34
- # This field is required and should not be empty when creating new ad
35
- # groups.
36
- #
37
- # It must contain fewer than 255 UTF-8 full-width characters.
38
- #
39
- # It must not contain any null (code point 0x0), NL line feed
40
- # (code point 0xA) or carriage return (code point 0xD) characters.
41
- # @!attribute [rw] status
42
- # @return [Google::Ads::Googleads::V0::Enums::AdGroupStatusEnum::AdGroupStatus]
43
- # The status of the ad group.
44
- # @!attribute [rw] type
45
- # @return [Google::Ads::Googleads::V0::Enums::AdGroupTypeEnum::AdGroupType]
46
- # The type of the ad group.
47
- # @!attribute [rw] tracking_url_template
48
- # @return [Google::Protobuf::StringValue]
49
- # The URL template for constructing a tracking URL.
50
- # @!attribute [rw] url_custom_parameters
51
- # @return [Array<Google::Ads::Googleads::V0::Common::CustomParameter>]
52
- # The list of mappings used to substitute custom parameter tags in a
53
- # +tracking_url_template+, +final_urls+, or +mobile_final_urls+.
54
- # @!attribute [rw] campaign
55
- # @return [Google::Protobuf::StringValue]
56
- # The campaign to which the ad group belongs.
57
- #
58
- # This field must not be used in WHERE clauses.
59
- # @!attribute [rw] cpc_bid_micros
60
- # @return [Google::Protobuf::Int64Value]
61
- # The maximum CPC (cost-per-click) bid.
62
- # @!attribute [rw] cpm_bid_micros
63
- # @return [Google::Protobuf::Int64Value]
64
- # The maximum CPM (cost-per-thousand viewable impressions) bid.
65
- # @!attribute [rw] cpa_bid_micros
66
- # @return [Google::Protobuf::Int64Value]
67
- # The target cost-per-acquisition (conversion) bid.
68
- # @!attribute [rw] cpv_bid_micros
69
- # @return [Google::Protobuf::Int64Value]
70
- # The CPV (cost-per-view) bid.
71
- # @!attribute [rw] target_roas_override
72
- # @return [Google::Protobuf::DoubleValue]
73
- # The target return on ad spend (ROAS) override. If the ad group's campaign
74
- # bidding strategy is a standard Target ROAS strategy, then this field
75
- # overrides the target ROAS specified in the campaign's bidding strategy.
76
- # Otherwise, this value is ignored.
77
- # @!attribute [rw] percent_cpc_bid_micros
78
- # @return [Google::Protobuf::Int64Value]
79
- # The percent cpc bid amount, expressed as a fraction of the advertised price
80
- # for some good or service. The valid range for the fraction is [0,1) and the
81
- # value stored here is 1,000,000 * [fraction].
82
- class AdGroup; end
83
- end
84
- end
85
- end
86
- end
87
- end
@@ -1,43 +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 Resources
20
- # An ad group ad.
21
- # @!attribute [rw] resource_name
22
- # @return [String]
23
- # The resource name of the ad.
24
- # Ad group ad resource names have the form:
25
- #
26
- # +customers/{customer_id}/adGroupAds/{ad_group_id}_{ad_id}+
27
- # @!attribute [rw] status
28
- # @return [Google::Ads::Googleads::V0::Enums::AdGroupAdStatusEnum::AdGroupAdStatus]
29
- # The status of the ad.
30
- # @!attribute [rw] ad_group
31
- # @return [Google::Protobuf::StringValue]
32
- # The ad group to which the ad belongs.
33
- #
34
- # This field must not be used in WHERE clauses.
35
- # @!attribute [rw] ad
36
- # @return [Google::Ads::Googleads::V0::Resources::Ad]
37
- # The ad.
38
- class AdGroupAd; end
39
- end
40
- end
41
- end
42
- end
43
- end
@@ -1,70 +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 Resources
20
- # Represents an ad group bid modifier.
21
- # @!attribute [rw] resource_name
22
- # @return [String]
23
- # The resource name of the ad group bid modifier.
24
- # Ad group bid modifier resource names have the form:
25
- #
26
- # +customers/{customer_id}/adGroupBidModifiers/{ad_group_id}_{criterion_id}+
27
- # @!attribute [rw] ad_group
28
- # @return [Google::Protobuf::StringValue]
29
- # The ad group to which this criterion belongs.
30
- #
31
- # This field must not be used in WHERE clauses.
32
- # @!attribute [rw] criterion_id
33
- # @return [Google::Protobuf::Int64Value]
34
- # The ID of the criterion to bid modify.
35
- #
36
- # This field is ignored for mutates.
37
- # @!attribute [rw] bid_modifier
38
- # @return [Google::Protobuf::DoubleValue]
39
- # The modifier for the bid when the criterion matches.
40
- # @!attribute [rw] base_ad_group
41
- # @return [Google::Protobuf::StringValue]
42
- # The base ad group from which this draft/trial adgroup bid modifier was
43
- # created. If ad_group is a base ad group then this field will be equal to
44
- # ad_group. If the ad group was created in the draft or trial and has no
45
- # corresponding base ad group, then this field will be null.
46
- # This field is readonly.
47
- # @!attribute [rw] bid_modifier_source
48
- # @return [Google::Ads::Googleads::V0::Enums::BidModifierSourceEnum::BidModifierSource]
49
- # Bid modifier source.
50
- # @!attribute [rw] hotel_date_selection_type
51
- # @return [Google::Ads::Googleads::V0::Common::HotelDateSelectionTypeInfo]
52
- # Criterion for hotel date selection (default dates vs. user selected).
53
- # @!attribute [rw] hotel_advance_booking_window
54
- # @return [Google::Ads::Googleads::V0::Common::HotelAdvanceBookingWindowInfo]
55
- # Criterion for number of days prior to the stay the booking is being made.
56
- # @!attribute [rw] hotel_length_of_stay
57
- # @return [Google::Ads::Googleads::V0::Common::HotelLengthOfStayInfo]
58
- # Criterion for length of hotel stay in nights.
59
- # @!attribute [rw] hotel_check_in_day
60
- # @return [Google::Ads::Googleads::V0::Common::HotelCheckInDayInfo]
61
- # Criterion for day of the week the booking is for.
62
- # @!attribute [rw] device
63
- # @return [Google::Ads::Googleads::V0::Common::DeviceInfo]
64
- # A device criterion.
65
- class AdGroupBidModifier; end
66
- end
67
- end
68
- end
69
- end
70
- end
@@ -1,148 +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 Resources
20
- # An ad group criterion.
21
- # @!attribute [rw] resource_name
22
- # @return [String]
23
- # The resource name of the ad group criterion.
24
- # Ad group criterion resource names have the form:
25
- #
26
- # +customers/{customer_id}/adGroupCriteria/{ad_group_id}_{criterion_id}+
27
- # @!attribute [rw] criterion_id
28
- # @return [Google::Protobuf::Int64Value]
29
- # The ID of the criterion.
30
- #
31
- # This field is ignored for mutates.
32
- # @!attribute [rw] status
33
- # @return [Google::Ads::Googleads::V0::Enums::AdGroupCriterionStatusEnum::AdGroupCriterionStatus]
34
- # The status of the criterion.
35
- # @!attribute [rw] quality_info
36
- # @return [Google::Ads::Googleads::V0::Resources::AdGroupCriterion::QualityInfo]
37
- # Information regarding the quality of the criterion.
38
- # @!attribute [rw] ad_group
39
- # @return [Google::Protobuf::StringValue]
40
- # The ad group to which the criterion belongs.
41
- #
42
- # This field must not be used in WHERE clauses.
43
- # @!attribute [rw] type
44
- # @return [Google::Ads::Googleads::V0::Enums::CriterionTypeEnum::CriterionType]
45
- # The type of the criterion.
46
- # @!attribute [rw] negative
47
- # @return [Google::Protobuf::BoolValue]
48
- # Whether to target (+false+) or exclude (+true+) the criterion.
49
- #
50
- # This field is immutable. To switch a criterion from positive to negative,
51
- # remove then re-add it.
52
- # @!attribute [rw] cpc_bid_micros
53
- # @return [Google::Protobuf::Int64Value]
54
- # The CPC (cost-per-click) bid.
55
- # @!attribute [rw] cpm_bid_micros
56
- # @return [Google::Protobuf::Int64Value]
57
- # The CPM (cost-per-thousand viewable impressions) bid.
58
- # @!attribute [rw] cpv_bid_micros
59
- # @return [Google::Protobuf::Int64Value]
60
- # The CPV (cost-per-view) bid.
61
- # @!attribute [rw] percent_cpc_bid_micros
62
- # @return [Google::Protobuf::Int64Value]
63
- # The CPC bid amount, expressed as a fraction of the advertised price
64
- # for some good or service. The valid range for the fraction is [0,1) and the
65
- # value stored here is 1,000,000 * [fraction].
66
- # @!attribute [rw] effective_cpc_bid_micros
67
- # @return [Google::Protobuf::Int64Value]
68
- # The effective CPC (cost-per-click) bid.
69
- # @!attribute [rw] effective_cpm_bid_micros
70
- # @return [Google::Protobuf::Int64Value]
71
- # The effective CPM (cost-per-thousand viewable impressions) bid.
72
- # @!attribute [rw] effective_cpv_bid_micros
73
- # @return [Google::Protobuf::Int64Value]
74
- # The effective CPV (cost-per-view) bid.
75
- # @!attribute [rw] effective_percent_cpc_bid_micros
76
- # @return [Google::Protobuf::Int64Value]
77
- # The effective Percent CPC bid amount.
78
- # @!attribute [rw] effective_cpc_bid_source
79
- # @return [Google::Ads::Googleads::V0::Enums::BiddingSourceEnum::BiddingSource]
80
- # Source of the effective CPC bid.
81
- # @!attribute [rw] effective_cpm_bid_source
82
- # @return [Google::Ads::Googleads::V0::Enums::BiddingSourceEnum::BiddingSource]
83
- # Source of the effective CPM bid.
84
- # @!attribute [rw] effective_cpv_bid_source
85
- # @return [Google::Ads::Googleads::V0::Enums::BiddingSourceEnum::BiddingSource]
86
- # Source of the effective CPV bid.
87
- # @!attribute [rw] effective_percent_cpc_bid_source
88
- # @return [Google::Ads::Googleads::V0::Enums::BiddingSourceEnum::BiddingSource]
89
- # Source of the effective Percent CPC bid.
90
- # @!attribute [rw] position_estimates
91
- # @return [Google::Ads::Googleads::V0::Resources::AdGroupCriterion::PositionEstimates]
92
- # Estimates for criterion bids at various positions.
93
- # @!attribute [rw] final_urls
94
- # @return [Array<Google::Protobuf::StringValue>]
95
- # The list of possible final URLs after all cross-domain redirects for the
96
- # ad.
97
- # @!attribute [rw] tracking_url_template
98
- # @return [Google::Protobuf::StringValue]
99
- # The URL template for constructing a tracking URL.
100
- # @!attribute [rw] url_custom_parameters
101
- # @return [Array<Google::Ads::Googleads::V0::Common::CustomParameter>]
102
- # The list of mappings used to substitute custom parameter tags in a
103
- # +tracking_url_template+, +final_urls+, or +mobile_final_urls+.
104
- # @!attribute [rw] keyword
105
- # @return [Google::Ads::Googleads::V0::Common::KeywordInfo]
106
- # Keyword.
107
- # @!attribute [rw] listing_group
108
- # @return [Google::Ads::Googleads::V0::Common::ListingGroupInfo]
109
- # Listing group.
110
- class AdGroupCriterion
111
- # A container for ad group criterion quality information.
112
- # @!attribute [rw] quality_score
113
- # @return [Google::Protobuf::Int32Value]
114
- # The quality score.
115
- #
116
- # This field may not be populated if Google does not have enough
117
- # information to determine a value.
118
- # @!attribute [rw] creative_quality_score
119
- # @return [Google::Ads::Googleads::V0::Enums::QualityScoreBucketEnum::QualityScoreBucket]
120
- # The performance of the ad compared to other advertisers.
121
- # @!attribute [rw] post_click_quality_score
122
- # @return [Google::Ads::Googleads::V0::Enums::QualityScoreBucketEnum::QualityScoreBucket]
123
- # The quality score of the landing page.
124
- # @!attribute [rw] search_predicted_ctr
125
- # @return [Google::Ads::Googleads::V0::Enums::QualityScoreBucketEnum::QualityScoreBucket]
126
- # The click-through rate compared to that of other advertisers.
127
- class QualityInfo; end
128
-
129
- # Estimates for criterion bids at various positions.
130
- # @!attribute [rw] first_page_cpc_micros
131
- # @return [Google::Protobuf::Int64Value]
132
- # The estimate of the CPC bid required for ad to be shown on first
133
- # page of search results.
134
- # @!attribute [rw] first_position_cpc_micros
135
- # @return [Google::Protobuf::Int64Value]
136
- # The estimate of the CPC bid required for ad to be displayed in first
137
- # position, at the top of the first page of search results.
138
- # @!attribute [rw] top_of_page_cpc_micros
139
- # @return [Google::Protobuf::Int64Value]
140
- # The estimate of the CPC bid required for ad to be displayed at the top
141
- # of the first page of search results.
142
- class PositionEstimates; end
143
- end
144
- end
145
- end
146
- end
147
- end
148
- end