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,73 +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
- # A bidding strategy.
21
- # @!attribute [rw] resource_name
22
- # @return [String]
23
- # The resource name of the bidding strategy.
24
- # Bidding strategy resource names have the form:
25
- #
26
- # +customers/{customer_id}/biddingStrategies/{bidding_strategy_id}+
27
- # @!attribute [rw] id
28
- # @return [Google::Protobuf::Int64Value]
29
- # The ID of the bidding strategy.
30
- # @!attribute [rw] name
31
- # @return [Google::Protobuf::StringValue]
32
- # The name of the bidding strategy.
33
- # All bidding strategies within an account must be named distinctly.
34
- #
35
- # The length of this string should be between 1 and 255, inclusive,
36
- # in UTF-8 bytes, (trimmed).
37
- # @!attribute [rw] type
38
- # @return [Google::Ads::Googleads::V0::Enums::BiddingStrategyTypeEnum::BiddingStrategyType]
39
- # The type of the bidding strategy.
40
- # Create a bidding strategy by setting the bidding scheme.
41
- #
42
- # This field is read-only.
43
- # @!attribute [rw] enhanced_cpc
44
- # @return [Google::Ads::Googleads::V0::Common::EnhancedCpc]
45
- # A bidding strategy that raises bids for clicks that seem more likely to
46
- # lead to a conversion and lowers them for clicks where they seem less
47
- # likely.
48
- # @!attribute [rw] page_one_promoted
49
- # @return [Google::Ads::Googleads::V0::Common::PageOnePromoted]
50
- # A bidding strategy that sets max CPC bids to target impressions on
51
- # page one or page one promoted slots on google.com.
52
- # @!attribute [rw] target_cpa
53
- # @return [Google::Ads::Googleads::V0::Common::TargetCpa]
54
- # A bidding strategy that sets bids to help get as many conversions as
55
- # possible at the target cost-per-acquisition (CPA) you set.
56
- # @!attribute [rw] target_outrank_share
57
- # @return [Google::Ads::Googleads::V0::Common::TargetOutrankShare]
58
- # A bidding strategy that sets bids based on the target fraction of
59
- # auctions where the advertiser should outrank a specific competitor.
60
- # @!attribute [rw] target_roas
61
- # @return [Google::Ads::Googleads::V0::Common::TargetRoas]
62
- # A bidding strategy that helps you maximize revenue while averaging a
63
- # specific target Return On Ad Spend (ROAS).
64
- # @!attribute [rw] target_spend
65
- # @return [Google::Ads::Googleads::V0::Common::TargetSpend]
66
- # A bid strategy that sets your bids to help get as many clicks as
67
- # possible within your budget.
68
- class BiddingStrategy; end
69
- end
70
- end
71
- end
72
- end
73
- end
@@ -1,223 +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
- # A campaign.
21
- # @!attribute [rw] resource_name
22
- # @return [String]
23
- # The resource name of the campaign.
24
- # Campaign resource names have the form:
25
- #
26
- # +customers/{customer_id}/campaigns/{campaign_id}+
27
- # @!attribute [rw] id
28
- # @return [Google::Protobuf::Int64Value]
29
- # The ID of the campaign.
30
- # @!attribute [rw] name
31
- # @return [Google::Protobuf::StringValue]
32
- # The name of the campaign.
33
- #
34
- # This field is required and should not be empty when creating new
35
- # campaigns.
36
- #
37
- # It must not contain any null (code point 0x0), NL line feed
38
- # (code point 0xA) or carriage return (code point 0xD) characters.
39
- # @!attribute [rw] status
40
- # @return [Google::Ads::Googleads::V0::Enums::CampaignStatusEnum::CampaignStatus]
41
- # The status of the campaign.
42
- #
43
- # When a new campaign is added, the status defaults to ENABLED.
44
- # @!attribute [rw] serving_status
45
- # @return [Google::Ads::Googleads::V0::Enums::CampaignServingStatusEnum::CampaignServingStatus]
46
- # The ad serving status of the campaign.
47
- # @!attribute [rw] ad_serving_optimization_status
48
- # @return [Google::Ads::Googleads::V0::Enums::AdServingOptimizationStatusEnum::AdServingOptimizationStatus]
49
- # The ad serving optimization status of the campaign.
50
- # @!attribute [rw] advertising_channel_type
51
- # @return [Google::Ads::Googleads::V0::Enums::AdvertisingChannelTypeEnum::AdvertisingChannelType]
52
- # The primary serving target for ads within the campaign.
53
- # The targeting options can be refined in +network_settings+.
54
- #
55
- # This field is required and should not be empty when creating new
56
- # campaigns.
57
- #
58
- # Can be set only when creating campaigns.
59
- # After the campaign is created, the field can not be changed.
60
- # @!attribute [rw] advertising_channel_sub_type
61
- # @return [Google::Ads::Googleads::V0::Enums::AdvertisingChannelSubTypeEnum::AdvertisingChannelSubType]
62
- # Optional refinement to +advertising_channel_type+.
63
- # Must be a valid sub-type of the parent channel type.
64
- #
65
- # Can be set only when creating campaigns.
66
- # After campaign is created, the field can not be changed.
67
- # @!attribute [rw] tracking_url_template
68
- # @return [Google::Protobuf::StringValue]
69
- # The URL template for constructing a tracking URL.
70
- # @!attribute [rw] url_custom_parameters
71
- # @return [Array<Google::Ads::Googleads::V0::Common::CustomParameter>]
72
- # The list of mappings used to substitute custom parameter tags in a
73
- # +tracking_url_template+, +final_urls+, or +mobile_final_urls+.
74
- # @!attribute [rw] network_settings
75
- # @return [Google::Ads::Googleads::V0::Resources::Campaign::NetworkSettings]
76
- # The network settings for the campaign.
77
- # @!attribute [rw] hotel_setting
78
- # @return [Google::Ads::Googleads::V0::Resources::Campaign::HotelSettingInfo]
79
- # The hotel setting for the campaign.
80
- # @!attribute [rw] dynamic_search_ads_setting
81
- # @return [Google::Ads::Googleads::V0::Resources::Campaign::DynamicSearchAdsSetting]
82
- # The setting for controlling Dynamic Search Ads (DSA).
83
- # @!attribute [rw] shopping_setting
84
- # @return [Google::Ads::Googleads::V0::Resources::Campaign::ShoppingSetting]
85
- # The setting for controlling Shopping campaigns.
86
- # @!attribute [rw] campaign_budget
87
- # @return [Google::Protobuf::StringValue]
88
- # The budget of the campaign.
89
- #
90
- # This field must not be used in WHERE clauses.
91
- # @!attribute [rw] bidding_strategy_type
92
- # @return [Google::Ads::Googleads::V0::Enums::BiddingStrategyTypeEnum::BiddingStrategyType]
93
- # The type of bidding strategy.
94
- #
95
- # A bidding strategy can be created by setting either the bidding scheme to
96
- # create a standard bidding strategy or the +bidding_strategy+ field to
97
- # create a portfolio bidding strategy.
98
- #
99
- # This field is read-only.
100
- # @!attribute [rw] start_date
101
- # @return [Google::Protobuf::StringValue]
102
- # The date when campaign started.
103
- #
104
- # This field must not be used in WHERE clauses.
105
- # @!attribute [rw] campaign_group
106
- # @return [Google::Protobuf::StringValue]
107
- # The campaign group this campaign belongs to.
108
- # @!attribute [rw] end_date
109
- # @return [Google::Protobuf::StringValue]
110
- # The date when campaign ended.
111
- #
112
- # This field must not be used in WHERE clauses.
113
- # @!attribute [rw] bidding_strategy
114
- # @return [Google::Protobuf::StringValue]
115
- # Portfolio bidding strategy used by campaign.
116
- #
117
- # This field must not be used in WHERE clauses.
118
- # @!attribute [rw] manual_cpc
119
- # @return [Google::Ads::Googleads::V0::Common::ManualCpc]
120
- # Standard Manual CPC bidding strategy.
121
- # Manual click-based bidding where user pays per click.
122
- # @!attribute [rw] manual_cpm
123
- # @return [Google::Ads::Googleads::V0::Common::ManualCpm]
124
- # Standard Manual CPM bidding strategy.
125
- # Manual impression-based bidding where user pays per thousand
126
- # impressions.
127
- # @!attribute [rw] maximize_conversions
128
- # @return [Google::Ads::Googleads::V0::Common::MaximizeConversions]
129
- # Standard Maximize Conversions bidding strategy that automatically
130
- # maximizes number of conversions given a daily budget.
131
- # @!attribute [rw] maximize_conversion_value
132
- # @return [Google::Ads::Googleads::V0::Common::MaximizeConversionValue]
133
- # Standard Maximize Conversion Value bidding strategy that automatically
134
- # sets bids to maximize revenue while spending your budget.
135
- # @!attribute [rw] target_cpa
136
- # @return [Google::Ads::Googleads::V0::Common::TargetCpa]
137
- # Standard Target CPA bidding strategy that automatically sets bids to
138
- # help get as many conversions as possible at the target
139
- # cost-per-acquisition (CPA) you set.
140
- # @!attribute [rw] target_roas
141
- # @return [Google::Ads::Googleads::V0::Common::TargetRoas]
142
- # Standard Target ROAS bidding strategy that automatically maximizes
143
- # revenue while averaging a specific target return on ad spend (ROAS).
144
- # @!attribute [rw] target_spend
145
- # @return [Google::Ads::Googleads::V0::Common::TargetSpend]
146
- # Standard Target Spend bidding strategy that automatically sets your bids
147
- # to help get as many clicks as possible within your budget.
148
- # @!attribute [rw] percent_cpc
149
- # @return [Google::Ads::Googleads::V0::Common::PercentCpc]
150
- # Standard Percent Cpc bidding strategy where bids are a fraction of the
151
- # advertised price for some good or service.
152
- class Campaign
153
- # The network settings for the campaign.
154
- # @!attribute [rw] target_google_search
155
- # @return [Google::Protobuf::BoolValue]
156
- # Whether ads will be served with google.com search results.
157
- # @!attribute [rw] target_search_network
158
- # @return [Google::Protobuf::BoolValue]
159
- # Whether ads will be served on partner sites in the Google Search Network
160
- # (requires +target_google_search+ to also be +true+).
161
- # @!attribute [rw] target_content_network
162
- # @return [Google::Protobuf::BoolValue]
163
- # Whether ads will be served on specified placements in the Google Display
164
- # Network. Placements are specified using the Placement criterion.
165
- # @!attribute [rw] target_partner_search_network
166
- # @return [Google::Protobuf::BoolValue]
167
- # Whether ads will be served on the Google Partner Network.
168
- # This is available only to some select Google partner accounts.
169
- class NetworkSettings; end
170
-
171
- # Campaign-level settings for hotel ads.
172
- # @!attribute [rw] hotel_center_id
173
- # @return [Google::Protobuf::Int64Value]
174
- # The linked Hotel Center account.
175
- class HotelSettingInfo; end
176
-
177
- # The setting for controlling Dynamic Search Ads (DSA).
178
- # @!attribute [rw] domain_name
179
- # @return [Google::Protobuf::StringValue]
180
- # The Internet domain name that this setting represents, e.g., "google.com"
181
- # or "www.google.com".
182
- # @!attribute [rw] language_code
183
- # @return [Google::Protobuf::StringValue]
184
- # The language code specifying the language of the domain, e.g., "en".
185
- # @!attribute [rw] use_supplied_urls_only
186
- # @return [Google::Protobuf::BoolValue]
187
- # Whether the campaign uses advertiser supplied URLs exclusively.
188
- # @!attribute [rw] feed_ids
189
- # @return [Array<Google::Protobuf::Int64Value>]
190
- # The list of page feeds associated with the campaign.
191
- class DynamicSearchAdsSetting; end
192
-
193
- # The setting for Shopping campaigns. Defines the universe of products that
194
- # can be advertised by the campaign, and how this campaign interacts with
195
- # other Shopping campaigns.
196
- # @!attribute [rw] merchant_id
197
- # @return [Google::Protobuf::Int64Value]
198
- # ID of the Merchant Center account.
199
- # This field is required for create operations. This field is immutable for
200
- # campaigns of type AdvertisingChannelType.SHOPPING.
201
- # @!attribute [rw] sales_country
202
- # @return [Google::Protobuf::StringValue]
203
- # Sales country of products to include in the campaign.
204
- # This field is required for create operations. This field is immutable.
205
- # This field must be set to 'ZZ' for campaigns of types other than
206
- # AdvertisingChannelType.SHOPPING.
207
- # @!attribute [rw] campaign_priority
208
- # @return [Google::Protobuf::Int32Value]
209
- # Priority of the campaign. Campaigns with numerically higher priorities
210
- # take precedence over those with lower priorities.
211
- # This field is required for create operations. Allowed values are between
212
- # 0 and 2, inclusive. This field must be set to 3 for campaigns of type
213
- # AdvertisingChannelSubType.SHOPPING_SMART_ADS.
214
- # @!attribute [rw] enable_local
215
- # @return [Google::Protobuf::BoolValue]
216
- # Enable local inventory ads.
217
- class ShoppingSetting; end
218
- end
219
- end
220
- end
221
- end
222
- end
223
- end
@@ -1,46 +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 a bid-modifiable only criterion at the campaign level.
21
- # @!attribute [rw] resource_name
22
- # @return [String]
23
- # The resource name of the campaign bid modifier.
24
- # Campaign bid modifier resource names have the form:
25
- #
26
- # +customers/{customer_id}/campaignBidModifiers/{campaign_id}_{criterion_id}+
27
- # @!attribute [rw] campaign
28
- # @return [Google::Protobuf::StringValue]
29
- # The campaign to which this criterion belongs.
30
- # @!attribute [rw] criterion_id
31
- # @return [Google::Protobuf::Int64Value]
32
- # The ID of the criterion to bid modify.
33
- #
34
- # This field is ignored for mutates.
35
- # @!attribute [rw] bid_modifier
36
- # @return [Google::Protobuf::DoubleValue]
37
- # The modifier for the bid when the criterion matches.
38
- # @!attribute [rw] interaction_type
39
- # @return [Google::Ads::Googleads::V0::Common::InteractionTypeInfo]
40
- # Criterion for interaction type. Only supported for search campaigns.
41
- class CampaignBidModifier; end
42
- end
43
- end
44
- end
45
- end
46
- end
@@ -1,88 +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
- # A campaign budget.
21
- # @!attribute [rw] resource_name
22
- # @return [String]
23
- # The resource name of the campaign budget.
24
- # Campaign budget resource names have the form:
25
- #
26
- # +customers/{customer_id}/campaignBudgets/{budget_id}+
27
- # @!attribute [rw] id
28
- # @return [Google::Protobuf::Int64Value]
29
- # The ID of the campaign budget.
30
- #
31
- # A campaign budget is created using the CampaignBudgetService create
32
- # operation and is assigned a budget ID. A budget ID can be shared across
33
- # different campaigns; the system will then allocate the campaign budget
34
- # among different campaigns to get optimum results.
35
- # @!attribute [rw] name
36
- # @return [Google::Protobuf::StringValue]
37
- # The name of the campaign budget.
38
- #
39
- # When creating a campaign budget through CampaignBudgetService, every
40
- # explicitly shared campaign budget must have a non-null, non-empty name.
41
- # Campaign budgets that are not explicitly shared derive their name from the
42
- # attached campaign's name.
43
- #
44
- # The length of this string must be between 1 and 255, inclusive,
45
- # in UTF-8 bytes, (trimmed).
46
- # @!attribute [rw] amount_micros
47
- # @return [Google::Protobuf::Int64Value]
48
- # The amount of the budget, in the local currency for the account.
49
- # Amount is specified in micros, where one million is equivalent to one
50
- # currency unit.
51
- # @!attribute [rw] status
52
- # @return [Google::Ads::Googleads::V0::Enums::BudgetStatusEnum::BudgetStatus]
53
- # The status of this campaign budget. This field is read-only.
54
- # @!attribute [rw] delivery_method
55
- # @return [Google::Ads::Googleads::V0::Enums::BudgetDeliveryMethodEnum::BudgetDeliveryMethod]
56
- # The delivery method that determines the rate at which the campaign budget
57
- # is spent.
58
- #
59
- # Defaults to STANDARD if unspecified in a create operation.
60
- # @!attribute [rw] explicitly_shared
61
- # @return [Google::Protobuf::BoolValue]
62
- # Whether the budget is explicitly shared. This field is set to false by
63
- # default.
64
- #
65
- # If true, the budget was created with the purpose of sharing
66
- # across one or more campaigns.
67
- #
68
- # If false, the budget was created with the intention of only being used
69
- # with a single campaign. The budget's name and status will stay in sync
70
- # with the campaign's name and status. Attempting to share the budget with a
71
- # second campaign will result in an error.
72
- #
73
- # A non-shared budget can become an explicitly shared. The same operation
74
- # must
75
- # also assign the budget a name.
76
- #
77
- # A shared campaign budget can never become non-shared.
78
- # @!attribute [rw] reference_count
79
- # @return [Google::Protobuf::Int64Value]
80
- # The number of campaigns actively using the budget.
81
- #
82
- # This field is read-only.
83
- class CampaignBudget; end
84
- end
85
- end
86
- end
87
- end
88
- end
@@ -1,66 +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
- # A campaign criterion.
21
- # @!attribute [rw] resource_name
22
- # @return [String]
23
- # The resource name of the campaign criterion.
24
- # Campaign criterion resource names have the form:
25
- #
26
- # +customers/{customer_id}/campaignCriteria/{campaign_id}_{criterion_id}+
27
- # @!attribute [rw] campaign
28
- # @return [Google::Protobuf::StringValue]
29
- # The campaign to which the 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.
35
- #
36
- # This field is ignored during mutate.
37
- # @!attribute [rw] bid_modifier
38
- # @return [Google::Protobuf::FloatValue]
39
- # The modifier for the bids when the criterion matches.
40
- # Allowable modifier values depend on the criterion:
41
- # * 0.1 - 10.0: Location
42
- # * 0.1 - 4.0: Device (mobile). Use 0 to opt out of mobile.
43
- # @!attribute [rw] negative
44
- # @return [Google::Protobuf::BoolValue]
45
- # Whether to target (+false+) or exclude (+true+) the criterion.
46
- # @!attribute [rw] type
47
- # @return [Google::Ads::Googleads::V0::Enums::CriterionTypeEnum::CriterionType]
48
- # The type of the criterion.
49
- # @!attribute [rw] keyword
50
- # @return [Google::Ads::Googleads::V0::Common::KeywordInfo]
51
- # Keyword.
52
- # @!attribute [rw] location
53
- # @return [Google::Ads::Googleads::V0::Common::LocationInfo]
54
- # Location.
55
- # @!attribute [rw] device
56
- # @return [Google::Ads::Googleads::V0::Common::DeviceInfo]
57
- # Device.
58
- # @!attribute [rw] ad_schedule
59
- # @return [Google::Ads::Googleads::V0::Common::AdScheduleInfo]
60
- # Ad Schedule.
61
- class CampaignCriterion; end
62
- end
63
- end
64
- end
65
- end
66
- end
@@ -1,49 +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
- # A campaign group.
21
- # @!attribute [rw] resource_name
22
- # @return [String]
23
- # The resource name of the campaign group.
24
- # Campaign group resource names have the form:
25
- #
26
- # +customers/{customer_id}/campaignGroups/{campaign_group_id}+
27
- # @!attribute [rw] id
28
- # @return [Google::Protobuf::Int64Value]
29
- # The ID of the campaign group.
30
- # @!attribute [rw] name
31
- # @return [Google::Protobuf::StringValue]
32
- # The name of the campaign group.
33
- #
34
- # This field is required and should not be empty when creating new campaign
35
- # groups.
36
- #
37
- # It must not contain any null (code point 0x0), NL line feed
38
- # (code point 0xA) or carriage return (code point 0xD) characters.
39
- # @!attribute [rw] status
40
- # @return [Google::Ads::Googleads::V0::Enums::CampaignGroupStatusEnum::CampaignGroupStatus]
41
- # The status of the campaign group.
42
- #
43
- # When a new campaign group is added, the status defaults to ENABLED.
44
- class CampaignGroup; end
45
- end
46
- end
47
- end
48
- end
49
- end
@@ -1,47 +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
- # CampaignSharedSets are used for managing the shared sets associated with a
21
- # campaign.
22
- # @!attribute [rw] resource_name
23
- # @return [String]
24
- # The resource name of the campaign shared set.
25
- # Campaign shared set resource names have the form:
26
- #
27
- # +customers/{customer_id}/campaignSharedSets/{campaign_id}_{shared_set_id}+
28
- # @!attribute [rw] campaign
29
- # @return [Google::Protobuf::StringValue]
30
- # The campaign to which the campaign shared set belongs.
31
- # @!attribute [rw] shared_set
32
- # @return [Google::Protobuf::StringValue]
33
- # The shared set associated with the campaign. This may be a negative keyword
34
- # shared set of another customer. This customer should be a manager of the
35
- # other customer, otherwise the campaign shared set will exist but have no
36
- # serving effect. Only negative keyword shared sets can be associated with
37
- # Shopping campaigns. Only negative placement shared sets can be associated
38
- # with Display mobile app campaigns.
39
- # @!attribute [rw] status
40
- # @return [Google::Ads::Googleads::V0::Enums::CampaignSharedSetStatusEnum::CampaignSharedSetStatus]
41
- # The status of this campaign shared set. Read only.
42
- class CampaignSharedSet; end
43
- end
44
- end
45
- end
46
- end
47
- end
@@ -1,57 +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
- # A customer.
21
- # @!attribute [rw] resource_name
22
- # @return [String]
23
- # The resource name of the customer.
24
- # Customer resource names have the form:
25
- #
26
- # +customers/{customer_id}+
27
- # @!attribute [rw] id
28
- # @return [Google::Protobuf::Int64Value]
29
- # The ID of the customer.
30
- # @!attribute [rw] descriptive_name
31
- # @return [Google::Protobuf::StringValue]
32
- # Optional, non-unique descriptive name of the customer.
33
- # @!attribute [rw] currency_code
34
- # @return [Google::Protobuf::StringValue]
35
- # The currency in which the account operates.
36
- # A subset of the currency codes from the ISO 4217 standard is
37
- # supported.
38
- # @!attribute [rw] time_zone
39
- # @return [Google::Protobuf::StringValue]
40
- # The local timezone ID of the customer.
41
- # @!attribute [rw] tracking_url_template
42
- # @return [Google::Protobuf::StringValue]
43
- # The URL template for constructing a tracking URL out of parameters.
44
- # @!attribute [rw] auto_tagging_enabled
45
- # @return [Google::Protobuf::BoolValue]
46
- # Whether auto-tagging is enabled for the customer.
47
- # @!attribute [rw] has_partners_badge
48
- # @return [Google::Protobuf::BoolValue]
49
- # Whether the Customer has a Partners program badge. If the Customer is not
50
- # associated with the Partners program, this will be false. For more
51
- # information, see https://support.google.com/partners/answer/3125774
52
- class Customer; end
53
- end
54
- end
55
- end
56
- end
57
- end