google-adwords-api 0.25.1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (385) hide show
  1. checksums.yaml +4 -4
  2. data/COPYING +0 -0
  3. data/ChangeLog +10 -0
  4. data/README.md +0 -0
  5. data/adwords_api.yml +0 -3
  6. data/lib/adwords_api.rb +0 -0
  7. data/lib/adwords_api/api_config.rb +11 -112
  8. data/lib/adwords_api/batch_job_utils.rb +0 -0
  9. data/lib/adwords_api/credential_handler.rb +0 -0
  10. data/lib/adwords_api/errors.rb +0 -0
  11. data/lib/adwords_api/incremental_upload_helper.rb +0 -0
  12. data/lib/adwords_api/report_header_handler.rb +0 -0
  13. data/lib/adwords_api/report_stream.rb +7 -1
  14. data/lib/adwords_api/report_utils.rb +1 -2
  15. data/lib/adwords_api/utils.rb +0 -0
  16. data/lib/adwords_api/utils_reporter.rb +0 -0
  17. data/lib/adwords_api/v201702/account_label_service.rb +0 -0
  18. data/lib/adwords_api/v201702/account_label_service_registry.rb +0 -0
  19. data/lib/adwords_api/v201702/ad_customizer_feed_service.rb +0 -0
  20. data/lib/adwords_api/v201702/ad_customizer_feed_service_registry.rb +0 -0
  21. data/lib/adwords_api/v201702/ad_group_ad_service.rb +0 -0
  22. data/lib/adwords_api/v201702/ad_group_ad_service_registry.rb +0 -0
  23. data/lib/adwords_api/v201702/ad_group_bid_modifier_service.rb +0 -0
  24. data/lib/adwords_api/v201702/ad_group_bid_modifier_service_registry.rb +0 -0
  25. data/lib/adwords_api/v201702/ad_group_criterion_service.rb +0 -0
  26. data/lib/adwords_api/v201702/ad_group_criterion_service_registry.rb +0 -0
  27. data/lib/adwords_api/v201702/ad_group_extension_setting_service.rb +0 -0
  28. data/lib/adwords_api/v201702/ad_group_extension_setting_service_registry.rb +0 -0
  29. data/lib/adwords_api/v201702/ad_group_feed_service.rb +0 -0
  30. data/lib/adwords_api/v201702/ad_group_feed_service_registry.rb +0 -0
  31. data/lib/adwords_api/v201702/ad_group_service.rb +0 -0
  32. data/lib/adwords_api/v201702/ad_group_service_registry.rb +0 -0
  33. data/lib/adwords_api/v201702/ad_param_service.rb +0 -0
  34. data/lib/adwords_api/v201702/ad_param_service_registry.rb +0 -0
  35. data/lib/adwords_api/v201702/adwords_user_list_service.rb +0 -0
  36. data/lib/adwords_api/v201702/adwords_user_list_service_registry.rb +0 -0
  37. data/lib/adwords_api/v201702/batch_job_service.rb +0 -0
  38. data/lib/adwords_api/v201702/batch_job_service_registry.rb +0 -0
  39. data/lib/adwords_api/v201702/bidding_strategy_service.rb +0 -0
  40. data/lib/adwords_api/v201702/bidding_strategy_service_registry.rb +0 -0
  41. data/lib/adwords_api/v201702/budget_order_service.rb +0 -0
  42. data/lib/adwords_api/v201702/budget_order_service_registry.rb +0 -0
  43. data/lib/adwords_api/v201702/budget_service.rb +0 -0
  44. data/lib/adwords_api/v201702/budget_service_registry.rb +0 -0
  45. data/lib/adwords_api/v201702/campaign_criterion_service.rb +0 -0
  46. data/lib/adwords_api/v201702/campaign_criterion_service_registry.rb +0 -0
  47. data/lib/adwords_api/v201702/campaign_extension_setting_service.rb +0 -0
  48. data/lib/adwords_api/v201702/campaign_extension_setting_service_registry.rb +0 -0
  49. data/lib/adwords_api/v201702/campaign_feed_service.rb +0 -0
  50. data/lib/adwords_api/v201702/campaign_feed_service_registry.rb +0 -0
  51. data/lib/adwords_api/v201702/campaign_service.rb +0 -0
  52. data/lib/adwords_api/v201702/campaign_service_registry.rb +0 -0
  53. data/lib/adwords_api/v201702/campaign_shared_set_service.rb +0 -0
  54. data/lib/adwords_api/v201702/campaign_shared_set_service_registry.rb +0 -0
  55. data/lib/adwords_api/v201702/constant_data_service.rb +0 -0
  56. data/lib/adwords_api/v201702/constant_data_service_registry.rb +0 -0
  57. data/lib/adwords_api/v201702/conversion_tracker_service.rb +0 -0
  58. data/lib/adwords_api/v201702/conversion_tracker_service_registry.rb +0 -0
  59. data/lib/adwords_api/v201702/customer_extension_setting_service.rb +0 -0
  60. data/lib/adwords_api/v201702/customer_extension_setting_service_registry.rb +0 -0
  61. data/lib/adwords_api/v201702/customer_feed_service.rb +0 -0
  62. data/lib/adwords_api/v201702/customer_feed_service_registry.rb +0 -0
  63. data/lib/adwords_api/v201702/customer_service.rb +0 -0
  64. data/lib/adwords_api/v201702/customer_service_registry.rb +0 -0
  65. data/lib/adwords_api/v201702/customer_sync_service.rb +0 -0
  66. data/lib/adwords_api/v201702/customer_sync_service_registry.rb +0 -0
  67. data/lib/adwords_api/v201702/data_service.rb +0 -0
  68. data/lib/adwords_api/v201702/data_service_registry.rb +0 -0
  69. data/lib/adwords_api/v201702/draft_async_error_service.rb +0 -0
  70. data/lib/adwords_api/v201702/draft_async_error_service_registry.rb +0 -0
  71. data/lib/adwords_api/v201702/draft_service.rb +0 -0
  72. data/lib/adwords_api/v201702/draft_service_registry.rb +0 -0
  73. data/lib/adwords_api/v201702/feed_item_service.rb +0 -0
  74. data/lib/adwords_api/v201702/feed_item_service_registry.rb +0 -0
  75. data/lib/adwords_api/v201702/feed_mapping_service.rb +0 -0
  76. data/lib/adwords_api/v201702/feed_mapping_service_registry.rb +0 -0
  77. data/lib/adwords_api/v201702/feed_service.rb +0 -0
  78. data/lib/adwords_api/v201702/feed_service_registry.rb +0 -0
  79. data/lib/adwords_api/v201702/label_service.rb +0 -0
  80. data/lib/adwords_api/v201702/label_service_registry.rb +0 -0
  81. data/lib/adwords_api/v201702/location_criterion_service.rb +0 -0
  82. data/lib/adwords_api/v201702/location_criterion_service_registry.rb +0 -0
  83. data/lib/adwords_api/v201702/managed_customer_service.rb +0 -0
  84. data/lib/adwords_api/v201702/managed_customer_service_registry.rb +0 -0
  85. data/lib/adwords_api/v201702/media_service.rb +0 -0
  86. data/lib/adwords_api/v201702/media_service_registry.rb +0 -0
  87. data/lib/adwords_api/v201702/offline_call_conversion_feed_service.rb +0 -0
  88. data/lib/adwords_api/v201702/offline_call_conversion_feed_service_registry.rb +0 -0
  89. data/lib/adwords_api/v201702/offline_conversion_feed_service.rb +0 -0
  90. data/lib/adwords_api/v201702/offline_conversion_feed_service_registry.rb +0 -0
  91. data/lib/adwords_api/v201702/report_definition_service.rb +0 -0
  92. data/lib/adwords_api/v201702/report_definition_service_registry.rb +0 -0
  93. data/lib/adwords_api/v201702/shared_criterion_service.rb +0 -0
  94. data/lib/adwords_api/v201702/shared_criterion_service_registry.rb +0 -0
  95. data/lib/adwords_api/v201702/shared_set_service.rb +0 -0
  96. data/lib/adwords_api/v201702/shared_set_service_registry.rb +0 -0
  97. data/lib/adwords_api/v201702/targeting_idea_service.rb +0 -0
  98. data/lib/adwords_api/v201702/targeting_idea_service_registry.rb +0 -0
  99. data/lib/adwords_api/v201702/traffic_estimator_service.rb +0 -0
  100. data/lib/adwords_api/v201702/traffic_estimator_service_registry.rb +0 -0
  101. data/lib/adwords_api/v201702/trial_async_error_service.rb +0 -0
  102. data/lib/adwords_api/v201702/trial_async_error_service_registry.rb +0 -0
  103. data/lib/adwords_api/v201702/trial_service.rb +0 -0
  104. data/lib/adwords_api/v201702/trial_service_registry.rb +0 -0
  105. data/lib/adwords_api/v201705/account_label_service.rb +0 -0
  106. data/lib/adwords_api/v201705/account_label_service_registry.rb +0 -0
  107. data/lib/adwords_api/v201705/ad_customizer_feed_service.rb +0 -0
  108. data/lib/adwords_api/v201705/ad_customizer_feed_service_registry.rb +0 -0
  109. data/lib/adwords_api/v201705/ad_group_ad_service.rb +0 -0
  110. data/lib/adwords_api/v201705/ad_group_ad_service_registry.rb +0 -0
  111. data/lib/adwords_api/v201705/ad_group_bid_modifier_service.rb +0 -0
  112. data/lib/adwords_api/v201705/ad_group_bid_modifier_service_registry.rb +0 -0
  113. data/lib/adwords_api/v201705/ad_group_criterion_service.rb +0 -0
  114. data/lib/adwords_api/v201705/ad_group_criterion_service_registry.rb +0 -0
  115. data/lib/adwords_api/v201705/ad_group_extension_setting_service.rb +0 -0
  116. data/lib/adwords_api/v201705/ad_group_extension_setting_service_registry.rb +0 -0
  117. data/lib/adwords_api/v201705/ad_group_feed_service.rb +0 -0
  118. data/lib/adwords_api/v201705/ad_group_feed_service_registry.rb +0 -0
  119. data/lib/adwords_api/v201705/ad_group_service.rb +0 -0
  120. data/lib/adwords_api/v201705/ad_group_service_registry.rb +0 -0
  121. data/lib/adwords_api/v201705/ad_param_service.rb +0 -0
  122. data/lib/adwords_api/v201705/ad_param_service_registry.rb +0 -0
  123. data/lib/adwords_api/v201705/adwords_user_list_service.rb +0 -0
  124. data/lib/adwords_api/v201705/adwords_user_list_service_registry.rb +0 -0
  125. data/lib/adwords_api/v201705/batch_job_service.rb +0 -0
  126. data/lib/adwords_api/v201705/batch_job_service_registry.rb +0 -0
  127. data/lib/adwords_api/v201705/bidding_strategy_service.rb +0 -0
  128. data/lib/adwords_api/v201705/bidding_strategy_service_registry.rb +0 -0
  129. data/lib/adwords_api/v201705/budget_order_service.rb +0 -0
  130. data/lib/adwords_api/v201705/budget_order_service_registry.rb +0 -0
  131. data/lib/adwords_api/v201705/budget_service.rb +0 -0
  132. data/lib/adwords_api/v201705/budget_service_registry.rb +0 -0
  133. data/lib/adwords_api/v201705/campaign_bid_modifier_service.rb +0 -0
  134. data/lib/adwords_api/v201705/campaign_bid_modifier_service_registry.rb +0 -0
  135. data/lib/adwords_api/v201705/campaign_criterion_service.rb +0 -0
  136. data/lib/adwords_api/v201705/campaign_criterion_service_registry.rb +0 -0
  137. data/lib/adwords_api/v201705/campaign_extension_setting_service.rb +0 -0
  138. data/lib/adwords_api/v201705/campaign_extension_setting_service_registry.rb +0 -0
  139. data/lib/adwords_api/v201705/campaign_feed_service.rb +0 -0
  140. data/lib/adwords_api/v201705/campaign_feed_service_registry.rb +0 -0
  141. data/lib/adwords_api/v201705/campaign_group_performance_target_service.rb +0 -0
  142. data/lib/adwords_api/v201705/campaign_group_performance_target_service_registry.rb +0 -0
  143. data/lib/adwords_api/v201705/campaign_group_service.rb +0 -0
  144. data/lib/adwords_api/v201705/campaign_group_service_registry.rb +0 -0
  145. data/lib/adwords_api/v201705/campaign_service.rb +0 -0
  146. data/lib/adwords_api/v201705/campaign_service_registry.rb +0 -0
  147. data/lib/adwords_api/v201705/campaign_shared_set_service.rb +0 -0
  148. data/lib/adwords_api/v201705/campaign_shared_set_service_registry.rb +0 -0
  149. data/lib/adwords_api/v201705/constant_data_service.rb +0 -0
  150. data/lib/adwords_api/v201705/constant_data_service_registry.rb +0 -0
  151. data/lib/adwords_api/v201705/conversion_tracker_service.rb +0 -0
  152. data/lib/adwords_api/v201705/conversion_tracker_service_registry.rb +0 -0
  153. data/lib/adwords_api/v201705/customer_extension_setting_service.rb +0 -0
  154. data/lib/adwords_api/v201705/customer_extension_setting_service_registry.rb +0 -0
  155. data/lib/adwords_api/v201705/customer_feed_service.rb +0 -0
  156. data/lib/adwords_api/v201705/customer_feed_service_registry.rb +0 -0
  157. data/lib/adwords_api/v201705/customer_service.rb +0 -0
  158. data/lib/adwords_api/v201705/customer_service_registry.rb +0 -0
  159. data/lib/adwords_api/v201705/customer_sync_service.rb +0 -0
  160. data/lib/adwords_api/v201705/customer_sync_service_registry.rb +0 -0
  161. data/lib/adwords_api/v201705/data_service.rb +0 -0
  162. data/lib/adwords_api/v201705/data_service_registry.rb +0 -0
  163. data/lib/adwords_api/v201705/draft_async_error_service.rb +0 -0
  164. data/lib/adwords_api/v201705/draft_async_error_service_registry.rb +0 -0
  165. data/lib/adwords_api/v201705/draft_service.rb +0 -0
  166. data/lib/adwords_api/v201705/draft_service_registry.rb +0 -0
  167. data/lib/adwords_api/v201705/feed_item_service.rb +0 -0
  168. data/lib/adwords_api/v201705/feed_item_service_registry.rb +0 -0
  169. data/lib/adwords_api/v201705/feed_mapping_service.rb +0 -0
  170. data/lib/adwords_api/v201705/feed_mapping_service_registry.rb +0 -0
  171. data/lib/adwords_api/v201705/feed_service.rb +0 -0
  172. data/lib/adwords_api/v201705/feed_service_registry.rb +0 -0
  173. data/lib/adwords_api/v201705/label_service.rb +0 -0
  174. data/lib/adwords_api/v201705/label_service_registry.rb +0 -0
  175. data/lib/adwords_api/v201705/location_criterion_service.rb +0 -0
  176. data/lib/adwords_api/v201705/location_criterion_service_registry.rb +0 -0
  177. data/lib/adwords_api/v201705/managed_customer_service.rb +0 -0
  178. data/lib/adwords_api/v201705/managed_customer_service_registry.rb +0 -0
  179. data/lib/adwords_api/v201705/media_service.rb +0 -0
  180. data/lib/adwords_api/v201705/media_service_registry.rb +0 -0
  181. data/lib/adwords_api/v201705/offline_call_conversion_feed_service.rb +0 -0
  182. data/lib/adwords_api/v201705/offline_call_conversion_feed_service_registry.rb +0 -0
  183. data/lib/adwords_api/v201705/offline_conversion_feed_service.rb +0 -0
  184. data/lib/adwords_api/v201705/offline_conversion_feed_service_registry.rb +0 -0
  185. data/lib/adwords_api/v201705/report_definition_service.rb +0 -0
  186. data/lib/adwords_api/v201705/report_definition_service_registry.rb +0 -0
  187. data/lib/adwords_api/v201705/shared_criterion_service.rb +0 -0
  188. data/lib/adwords_api/v201705/shared_criterion_service_registry.rb +0 -0
  189. data/lib/adwords_api/v201705/shared_set_service.rb +0 -0
  190. data/lib/adwords_api/v201705/shared_set_service_registry.rb +0 -0
  191. data/lib/adwords_api/v201705/targeting_idea_service.rb +0 -0
  192. data/lib/adwords_api/v201705/targeting_idea_service_registry.rb +0 -0
  193. data/lib/adwords_api/v201705/traffic_estimator_service.rb +0 -0
  194. data/lib/adwords_api/v201705/traffic_estimator_service_registry.rb +0 -0
  195. data/lib/adwords_api/v201705/trial_async_error_service.rb +0 -0
  196. data/lib/adwords_api/v201705/trial_async_error_service_registry.rb +0 -0
  197. data/lib/adwords_api/v201705/trial_service.rb +0 -0
  198. data/lib/adwords_api/v201705/trial_service_registry.rb +0 -0
  199. data/lib/adwords_api/v201708/account_label_service.rb +0 -0
  200. data/lib/adwords_api/v201708/account_label_service_registry.rb +0 -0
  201. data/lib/adwords_api/v201708/ad_customizer_feed_service.rb +0 -0
  202. data/lib/adwords_api/v201708/ad_customizer_feed_service_registry.rb +0 -0
  203. data/lib/adwords_api/v201708/ad_group_ad_service.rb +0 -0
  204. data/lib/adwords_api/v201708/ad_group_ad_service_registry.rb +0 -0
  205. data/lib/adwords_api/v201708/ad_group_bid_modifier_service.rb +0 -0
  206. data/lib/adwords_api/v201708/ad_group_bid_modifier_service_registry.rb +0 -0
  207. data/lib/adwords_api/v201708/ad_group_criterion_service.rb +0 -0
  208. data/lib/adwords_api/v201708/ad_group_criterion_service_registry.rb +0 -0
  209. data/lib/adwords_api/v201708/ad_group_extension_setting_service.rb +0 -0
  210. data/lib/adwords_api/v201708/ad_group_extension_setting_service_registry.rb +0 -0
  211. data/lib/adwords_api/v201708/ad_group_feed_service.rb +0 -0
  212. data/lib/adwords_api/v201708/ad_group_feed_service_registry.rb +0 -0
  213. data/lib/adwords_api/v201708/ad_group_service.rb +0 -0
  214. data/lib/adwords_api/v201708/ad_group_service_registry.rb +0 -0
  215. data/lib/adwords_api/v201708/ad_param_service.rb +0 -0
  216. data/lib/adwords_api/v201708/ad_param_service_registry.rb +0 -0
  217. data/lib/adwords_api/v201708/adwords_user_list_service.rb +0 -0
  218. data/lib/adwords_api/v201708/adwords_user_list_service_registry.rb +0 -0
  219. data/lib/adwords_api/v201708/batch_job_service.rb +0 -0
  220. data/lib/adwords_api/v201708/batch_job_service_registry.rb +0 -0
  221. data/lib/adwords_api/v201708/bidding_strategy_service.rb +0 -0
  222. data/lib/adwords_api/v201708/bidding_strategy_service_registry.rb +0 -0
  223. data/lib/adwords_api/v201708/budget_order_service.rb +0 -0
  224. data/lib/adwords_api/v201708/budget_order_service_registry.rb +0 -0
  225. data/lib/adwords_api/v201708/budget_service.rb +0 -0
  226. data/lib/adwords_api/v201708/budget_service_registry.rb +0 -0
  227. data/lib/adwords_api/v201708/campaign_bid_modifier_service.rb +0 -0
  228. data/lib/adwords_api/v201708/campaign_bid_modifier_service_registry.rb +0 -0
  229. data/lib/adwords_api/v201708/campaign_criterion_service.rb +0 -0
  230. data/lib/adwords_api/v201708/campaign_criterion_service_registry.rb +0 -0
  231. data/lib/adwords_api/v201708/campaign_extension_setting_service.rb +0 -0
  232. data/lib/adwords_api/v201708/campaign_extension_setting_service_registry.rb +0 -0
  233. data/lib/adwords_api/v201708/campaign_feed_service.rb +0 -0
  234. data/lib/adwords_api/v201708/campaign_feed_service_registry.rb +0 -0
  235. data/lib/adwords_api/v201708/campaign_group_performance_target_service.rb +0 -0
  236. data/lib/adwords_api/v201708/campaign_group_performance_target_service_registry.rb +0 -0
  237. data/lib/adwords_api/v201708/campaign_group_service.rb +0 -0
  238. data/lib/adwords_api/v201708/campaign_group_service_registry.rb +0 -0
  239. data/lib/adwords_api/v201708/campaign_service.rb +0 -0
  240. data/lib/adwords_api/v201708/campaign_service_registry.rb +0 -0
  241. data/lib/adwords_api/v201708/campaign_shared_set_service.rb +0 -0
  242. data/lib/adwords_api/v201708/campaign_shared_set_service_registry.rb +0 -0
  243. data/lib/adwords_api/v201708/constant_data_service.rb +0 -0
  244. data/lib/adwords_api/v201708/constant_data_service_registry.rb +0 -0
  245. data/lib/adwords_api/v201708/conversion_tracker_service.rb +0 -0
  246. data/lib/adwords_api/v201708/conversion_tracker_service_registry.rb +0 -0
  247. data/lib/adwords_api/v201708/customer_extension_setting_service.rb +0 -0
  248. data/lib/adwords_api/v201708/customer_extension_setting_service_registry.rb +0 -0
  249. data/lib/adwords_api/v201708/customer_feed_service.rb +0 -0
  250. data/lib/adwords_api/v201708/customer_feed_service_registry.rb +0 -0
  251. data/lib/adwords_api/v201708/customer_service.rb +0 -0
  252. data/lib/adwords_api/v201708/customer_service_registry.rb +0 -0
  253. data/lib/adwords_api/v201708/customer_sync_service.rb +0 -0
  254. data/lib/adwords_api/v201708/customer_sync_service_registry.rb +0 -0
  255. data/lib/adwords_api/v201708/data_service.rb +0 -0
  256. data/lib/adwords_api/v201708/data_service_registry.rb +0 -0
  257. data/lib/adwords_api/v201708/draft_async_error_service.rb +0 -0
  258. data/lib/adwords_api/v201708/draft_async_error_service_registry.rb +0 -0
  259. data/lib/adwords_api/v201708/draft_service.rb +0 -0
  260. data/lib/adwords_api/v201708/draft_service_registry.rb +0 -0
  261. data/lib/adwords_api/v201708/feed_item_service.rb +0 -0
  262. data/lib/adwords_api/v201708/feed_item_service_registry.rb +0 -0
  263. data/lib/adwords_api/v201708/feed_mapping_service.rb +0 -0
  264. data/lib/adwords_api/v201708/feed_mapping_service_registry.rb +0 -0
  265. data/lib/adwords_api/v201708/feed_service.rb +0 -0
  266. data/lib/adwords_api/v201708/feed_service_registry.rb +0 -0
  267. data/lib/adwords_api/v201708/label_service.rb +0 -0
  268. data/lib/adwords_api/v201708/label_service_registry.rb +0 -0
  269. data/lib/adwords_api/v201708/location_criterion_service.rb +0 -0
  270. data/lib/adwords_api/v201708/location_criterion_service_registry.rb +0 -0
  271. data/lib/adwords_api/v201708/managed_customer_service.rb +0 -0
  272. data/lib/adwords_api/v201708/managed_customer_service_registry.rb +0 -0
  273. data/lib/adwords_api/v201708/media_service.rb +0 -0
  274. data/lib/adwords_api/v201708/media_service_registry.rb +0 -0
  275. data/lib/adwords_api/v201708/offline_call_conversion_feed_service.rb +0 -0
  276. data/lib/adwords_api/v201708/offline_call_conversion_feed_service_registry.rb +0 -0
  277. data/lib/adwords_api/v201708/offline_conversion_feed_service.rb +0 -0
  278. data/lib/adwords_api/v201708/offline_conversion_feed_service_registry.rb +0 -0
  279. data/lib/adwords_api/v201708/offline_data_upload_service.rb +0 -0
  280. data/lib/adwords_api/v201708/offline_data_upload_service_registry.rb +0 -0
  281. data/lib/adwords_api/v201708/report_definition_service.rb +0 -0
  282. data/lib/adwords_api/v201708/report_definition_service_registry.rb +0 -0
  283. data/lib/adwords_api/v201708/shared_criterion_service.rb +0 -0
  284. data/lib/adwords_api/v201708/shared_criterion_service_registry.rb +0 -0
  285. data/lib/adwords_api/v201708/shared_set_service.rb +0 -0
  286. data/lib/adwords_api/v201708/shared_set_service_registry.rb +0 -0
  287. data/lib/adwords_api/v201708/targeting_idea_service.rb +0 -0
  288. data/lib/adwords_api/v201708/targeting_idea_service_registry.rb +0 -0
  289. data/lib/adwords_api/v201708/traffic_estimator_service.rb +0 -0
  290. data/lib/adwords_api/v201708/traffic_estimator_service_registry.rb +0 -0
  291. data/lib/adwords_api/v201708/trial_async_error_service.rb +0 -0
  292. data/lib/adwords_api/v201708/trial_async_error_service_registry.rb +0 -0
  293. data/lib/adwords_api/v201708/trial_service.rb +0 -0
  294. data/lib/adwords_api/v201708/trial_service_registry.rb +0 -0
  295. data/lib/adwords_api/version.rb +1 -1
  296. metadata +6 -96
  297. data/lib/adwords_api/v201609/account_label_service.rb +0 -46
  298. data/lib/adwords_api/v201609/account_label_service_registry.rb +0 -46
  299. data/lib/adwords_api/v201609/ad_customizer_feed_service.rb +0 -46
  300. data/lib/adwords_api/v201609/ad_customizer_feed_service_registry.rb +0 -46
  301. data/lib/adwords_api/v201609/ad_group_ad_service.rb +0 -70
  302. data/lib/adwords_api/v201609/ad_group_ad_service_registry.rb +0 -46
  303. data/lib/adwords_api/v201609/ad_group_bid_modifier_service.rb +0 -54
  304. data/lib/adwords_api/v201609/ad_group_bid_modifier_service_registry.rb +0 -46
  305. data/lib/adwords_api/v201609/ad_group_criterion_service.rb +0 -62
  306. data/lib/adwords_api/v201609/ad_group_criterion_service_registry.rb +0 -46
  307. data/lib/adwords_api/v201609/ad_group_extension_setting_service.rb +0 -54
  308. data/lib/adwords_api/v201609/ad_group_extension_setting_service_registry.rb +0 -46
  309. data/lib/adwords_api/v201609/ad_group_feed_service.rb +0 -54
  310. data/lib/adwords_api/v201609/ad_group_feed_service_registry.rb +0 -46
  311. data/lib/adwords_api/v201609/ad_group_service.rb +0 -62
  312. data/lib/adwords_api/v201609/ad_group_service_registry.rb +0 -46
  313. data/lib/adwords_api/v201609/ad_param_service.rb +0 -46
  314. data/lib/adwords_api/v201609/ad_param_service_registry.rb +0 -46
  315. data/lib/adwords_api/v201609/adwords_user_list_service.rb +0 -62
  316. data/lib/adwords_api/v201609/adwords_user_list_service_registry.rb +0 -46
  317. data/lib/adwords_api/v201609/batch_job_service.rb +0 -54
  318. data/lib/adwords_api/v201609/batch_job_service_registry.rb +0 -46
  319. data/lib/adwords_api/v201609/bidding_strategy_service.rb +0 -54
  320. data/lib/adwords_api/v201609/bidding_strategy_service_registry.rb +0 -46
  321. data/lib/adwords_api/v201609/budget_order_service.rb +0 -54
  322. data/lib/adwords_api/v201609/budget_order_service_registry.rb +0 -46
  323. data/lib/adwords_api/v201609/budget_service.rb +0 -54
  324. data/lib/adwords_api/v201609/budget_service_registry.rb +0 -46
  325. data/lib/adwords_api/v201609/campaign_criterion_service.rb +0 -54
  326. data/lib/adwords_api/v201609/campaign_criterion_service_registry.rb +0 -46
  327. data/lib/adwords_api/v201609/campaign_extension_setting_service.rb +0 -54
  328. data/lib/adwords_api/v201609/campaign_extension_setting_service_registry.rb +0 -46
  329. data/lib/adwords_api/v201609/campaign_feed_service.rb +0 -54
  330. data/lib/adwords_api/v201609/campaign_feed_service_registry.rb +0 -46
  331. data/lib/adwords_api/v201609/campaign_service.rb +0 -62
  332. data/lib/adwords_api/v201609/campaign_service_registry.rb +0 -46
  333. data/lib/adwords_api/v201609/campaign_shared_set_service.rb +0 -54
  334. data/lib/adwords_api/v201609/campaign_shared_set_service_registry.rb +0 -46
  335. data/lib/adwords_api/v201609/constant_data_service.rb +0 -110
  336. data/lib/adwords_api/v201609/constant_data_service_registry.rb +0 -46
  337. data/lib/adwords_api/v201609/conversion_tracker_service.rb +0 -54
  338. data/lib/adwords_api/v201609/conversion_tracker_service_registry.rb +0 -46
  339. data/lib/adwords_api/v201609/customer_extension_setting_service.rb +0 -54
  340. data/lib/adwords_api/v201609/customer_extension_setting_service_registry.rb +0 -46
  341. data/lib/adwords_api/v201609/customer_feed_service.rb +0 -54
  342. data/lib/adwords_api/v201609/customer_feed_service_registry.rb +0 -46
  343. data/lib/adwords_api/v201609/customer_service.rb +0 -62
  344. data/lib/adwords_api/v201609/customer_service_registry.rb +0 -46
  345. data/lib/adwords_api/v201609/customer_sync_service.rb +0 -38
  346. data/lib/adwords_api/v201609/customer_sync_service_registry.rb +0 -47
  347. data/lib/adwords_api/v201609/data_service.rb +0 -94
  348. data/lib/adwords_api/v201609/data_service_registry.rb +0 -46
  349. data/lib/adwords_api/v201609/draft_async_error_service.rb +0 -46
  350. data/lib/adwords_api/v201609/draft_async_error_service_registry.rb +0 -46
  351. data/lib/adwords_api/v201609/draft_service.rb +0 -54
  352. data/lib/adwords_api/v201609/draft_service_registry.rb +0 -46
  353. data/lib/adwords_api/v201609/feed_item_service.rb +0 -54
  354. data/lib/adwords_api/v201609/feed_item_service_registry.rb +0 -46
  355. data/lib/adwords_api/v201609/feed_mapping_service.rb +0 -54
  356. data/lib/adwords_api/v201609/feed_mapping_service_registry.rb +0 -46
  357. data/lib/adwords_api/v201609/feed_service.rb +0 -54
  358. data/lib/adwords_api/v201609/feed_service_registry.rb +0 -46
  359. data/lib/adwords_api/v201609/label_service.rb +0 -54
  360. data/lib/adwords_api/v201609/label_service_registry.rb +0 -46
  361. data/lib/adwords_api/v201609/location_criterion_service.rb +0 -46
  362. data/lib/adwords_api/v201609/location_criterion_service_registry.rb +0 -46
  363. data/lib/adwords_api/v201609/managed_customer_service.rb +0 -78
  364. data/lib/adwords_api/v201609/managed_customer_service_registry.rb +0 -46
  365. data/lib/adwords_api/v201609/media_service.rb +0 -54
  366. data/lib/adwords_api/v201609/media_service_registry.rb +0 -46
  367. data/lib/adwords_api/v201609/offline_call_conversion_feed_service.rb +0 -38
  368. data/lib/adwords_api/v201609/offline_call_conversion_feed_service_registry.rb +0 -46
  369. data/lib/adwords_api/v201609/offline_conversion_feed_service.rb +0 -38
  370. data/lib/adwords_api/v201609/offline_conversion_feed_service_registry.rb +0 -46
  371. data/lib/adwords_api/v201609/report_definition_service.rb +0 -38
  372. data/lib/adwords_api/v201609/report_definition_service_registry.rb +0 -46
  373. data/lib/adwords_api/v201609/shared_criterion_service.rb +0 -54
  374. data/lib/adwords_api/v201609/shared_criterion_service_registry.rb +0 -46
  375. data/lib/adwords_api/v201609/shared_set_service.rb +0 -54
  376. data/lib/adwords_api/v201609/shared_set_service_registry.rb +0 -46
  377. data/lib/adwords_api/v201609/targeting_idea_service.rb +0 -38
  378. data/lib/adwords_api/v201609/targeting_idea_service_registry.rb +0 -46
  379. data/lib/adwords_api/v201609/traffic_estimator_service.rb +0 -38
  380. data/lib/adwords_api/v201609/traffic_estimator_service_registry.rb +0 -46
  381. data/lib/adwords_api/v201609/trial_async_error_service.rb +0 -46
  382. data/lib/adwords_api/v201609/trial_async_error_service_registry.rb +0 -46
  383. data/lib/adwords_api/v201609/trial_service.rb +0 -54
  384. data/lib/adwords_api/v201609/trial_service_registry.rb +0 -46
  385. data/test/suite_unittests.rb +0 -32
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5315c16efa08e912d7555b3741a3fadc28a3b66b
4
- data.tar.gz: 5222e8647f762f2136e7c5adf59f969bf7530700
3
+ metadata.gz: f83d7759744e0257f1128ff6c29c4b3c5a0581ee
4
+ data.tar.gz: 24382283437b1625adf05008029ead94f9516ef5
5
5
  SHA512:
6
- metadata.gz: 14f8b95d707d91ca447a6f7bb712b250d984cbf381cabe47586b7e053da7596a44d4f7e88b3ffaeb2b546f73a1cae761e0b20d3c102f9a34a64d41f4cd20fc10
7
- data.tar.gz: 7378e153203a04bc6f26e55ffe58f266379ef883e5148fbd50a2bc5a33833e32ed7e83286247add9da2926af7bcfb5637df8ad08c6e0f829d7f648e1c7581220
6
+ metadata.gz: b2a5a291c1709cd7e5b7e87da501a36414d336fe34acd1ce6009e57c949b9f86898d1097d2994a650903099d393afbb238ef1fc7f235ded35643d393d3673282
7
+ data.tar.gz: e6ef2f1ac91de2409449e5a57f59ebd2219cb2c412eb7600e90e1d9f2e279b1427566fd71aa90ce4b527c2869f1fe8f8b93cf20138aabf94b0ee067c0445c99b
data/COPYING CHANGED
File without changes
data/ChangeLog CHANGED
@@ -1,3 +1,13 @@
1
+ 1.0.0:
2
+ - Major version bump. The library has been stable and feature complete for
3
+ some time, and this is more accurately reflected by this version number.
4
+ - Remove deprecated API version v201609.
5
+ - No longer include test files in the built gem.
6
+ - Fixed potential issue where ReportStream could not split sometimes when a
7
+ unicode character was returned across separate batches.
8
+ - Removing support for multiple environments.
9
+ - Require google-ads-common 1.0.0 or later from now on.
10
+
1
11
  0.25.1:
2
12
  - Support and examples for v201708.
3
13
 
data/README.md CHANGED
File without changes
@@ -36,9 +36,6 @@
36
36
  :developer_token: INSERT_YOUR_DEVELOPER_TOKEN_HERE
37
37
  :client_customer_id: INSERT_YOUR_CLIENT_CUSTOMER_ID_HERE
38
38
  :user_agent: INSERT_YOUR_USER_AGENT_HERE
39
- :service:
40
- # Only production environment is available now, see: http://goo.gl/Plu3o
41
- :environment: PRODUCTION
42
39
  :connection:
43
40
  # Enable to request all responses to be compressed.
44
41
  :enable_gzip: false
File without changes
@@ -34,7 +34,6 @@ module AdwordsApi
34
34
 
35
35
  # Set defaults
36
36
  DEFAULT_VERSION = :v201708
37
- DEFAULT_ENVIRONMENT = :PRODUCTION
38
37
  LATEST_VERSION = :v201708
39
38
 
40
39
  # Set other constants
@@ -43,52 +42,6 @@ module AdwordsApi
43
42
 
44
43
  # Configure the services available to each version
45
44
  @@service_config = {
46
- :v201609 => [
47
- :AccountLabelService,
48
- :AdCustomizerFeedService,
49
- :AdGroupAdService,
50
- :AdGroupBidModifierService,
51
- :AdGroupCriterionService,
52
- :AdGroupExtensionSettingService,
53
- :AdGroupFeedService,
54
- :AdGroupService,
55
- :AdParamService,
56
- :AdwordsUserListService,
57
- :BatchJobService,
58
- :BiddingStrategyService,
59
- :BudgetOrderService,
60
- :BudgetService,
61
- :CampaignCriterionService,
62
- :CampaignExtensionSettingService,
63
- :CampaignFeedService,
64
- :CampaignService,
65
- :CampaignSharedSetService,
66
- :ConstantDataService,
67
- :ConversionTrackerService,
68
- :CustomerExtensionSettingService,
69
- :CustomerFeedService,
70
- :CustomerService,
71
- :CustomerSyncService,
72
- :DataService,
73
- :DraftService,
74
- :DraftAsyncErrorService,
75
- :FeedItemService,
76
- :FeedMappingService,
77
- :FeedService,
78
- :LabelService,
79
- :LocationCriterionService,
80
- :ManagedCustomerService,
81
- :MediaService,
82
- :OfflineCallConversionFeedService,
83
- :OfflineConversionFeedService,
84
- :ReportDefinitionService,
85
- :SharedCriterionService,
86
- :SharedSetService,
87
- :TargetingIdeaService,
88
- :TrafficEstimatorService,
89
- :TrialService,
90
- :TrialAsyncErrorService
91
- ],
92
45
  :v201702 => [
93
46
  :AccountLabelService,
94
47
  :AdCustomizerFeedService,
@@ -236,66 +189,18 @@ module AdwordsApi
236
189
  ]
237
190
  }
238
191
 
239
- # Configure the different environments, with the base URL for each one
240
- @@environment_config = {
241
- :PRODUCTION => {
242
- :oauth_scope => 'https://www.googleapis.com/auth/adwords',
243
- :header_ns => 'https://adwords.google.com/api/adwords/cm/',
244
- :v201609 => 'https://adwords.google.com/api/adwords/',
245
- :v201702 => 'https://adwords.google.com/api/adwords/',
246
- :v201705 => 'https://adwords.google.com/api/adwords/',
247
- :v201708 => 'https://adwords.google.com/api/adwords/'
248
- }
192
+ # Configure the base URL for each version and scope.
193
+ @@config = {
194
+ :oauth_scope => 'https://www.googleapis.com/auth/adwords',
195
+ :header_ns => 'https://adwords.google.com/api/adwords/cm/',
196
+ :v201702 => 'https://adwords.google.com/api/adwords/',
197
+ :v201705 => 'https://adwords.google.com/api/adwords/',
198
+ :v201708 => 'https://adwords.google.com/api/adwords/'
249
199
  }
250
200
 
251
201
  # Configure the subdirectories for each version / service pair.
252
202
  # A missing pair means that only the base URL is used.
253
203
  @@subdir_config = {
254
- # v201609
255
- [:v201609, :AccountLabelService] => 'mcm/',
256
- [:v201609, :AdCustomizerFeedService] => 'cm/',
257
- [:v201609, :AdGroupAdService] => 'cm/',
258
- [:v201609, :AdGroupBidModifierService] => 'cm/',
259
- [:v201609, :AdGroupCriterionService] => 'cm/',
260
- [:v201609, :AdGroupExtensionSettingService] => 'cm/',
261
- [:v201609, :AdGroupFeedService] => 'cm/',
262
- [:v201609, :AdGroupService] => 'cm/',
263
- [:v201609, :AdParamService] => 'cm/',
264
- [:v201609, :BatchJobService] => 'cm/',
265
- [:v201609, :BudgetOrderService] => 'billing/',
266
- [:v201609, :CampaignCriterionService] => 'cm/',
267
- [:v201609, :CampaignExtensionSettingService] => 'cm/',
268
- [:v201609, :CampaignFeedService] => 'cm/',
269
- [:v201609, :CampaignService] => 'cm/',
270
- [:v201609, :CampaignSharedSetService] => 'cm/',
271
- [:v201609, :ConstantDataService] => 'cm/',
272
- [:v201609, :ConversionTrackerService] => 'cm/',
273
- [:v201609, :CustomerExtensionSettingService] => 'cm/',
274
- [:v201609, :CustomerSyncService] => 'ch/',
275
- [:v201609, :DataService] => 'cm/',
276
- [:v201609, :FeedItemService] => 'cm/',
277
- [:v201609, :FeedMappingService] => 'cm/',
278
- [:v201609, :FeedService] => 'cm/',
279
- [:v201609, :LocationCriterionService] => 'cm/',
280
- [:v201609, :MediaService] => 'cm/',
281
- [:v201609, :OfflineCallConversionFeedService] => 'cm/',
282
- [:v201609, :OfflineConversionFeedService] => 'cm/',
283
- [:v201609, :ReportDefinitionService] => 'cm/',
284
- [:v201609, :SharedCriterionService] => 'cm/',
285
- [:v201609, :SharedSetService] => 'cm/',
286
- [:v201609, :TargetingIdeaService] => 'o/',
287
- [:v201609, :TrafficEstimatorService] => 'o/',
288
- [:v201609, :ManagedCustomerService] => 'mcm/',
289
- [:v201609, :CustomerService] => 'mcm/',
290
- [:v201609, :CustomerFeedService] => 'cm/',
291
- [:v201609, :BudgetService] => 'cm/',
292
- [:v201609, :BiddingStrategyService] => 'cm/',
293
- [:v201609, :AdwordsUserListService] => 'rm/',
294
- [:v201609, :LabelService] => 'cm/',
295
- [:v201609, :DraftService] => 'cm/',
296
- [:v201609, :DraftAsyncErrorService] => 'cm/',
297
- [:v201609, :TrialService] => 'cm/',
298
- [:v201609, :TrialAsyncErrorService] => 'cm/',
299
204
  # v201702
300
205
  [:v201702, :AccountLabelService] => 'mcm/',
301
206
  [:v201702, :AdCustomizerFeedService] => 'cm/',
@@ -447,10 +352,6 @@ module AdwordsApi
447
352
  DEFAULT_VERSION
448
353
  end
449
354
 
450
- def self.default_environment
451
- DEFAULT_ENVIRONMENT
452
- end
453
-
454
355
  def self.latest_version
455
356
  LATEST_VERSION
456
357
  end
@@ -463,9 +364,8 @@ module AdwordsApi
463
364
  @@service_config
464
365
  end
465
366
 
466
- def self.environment_config(environment, key)
467
- return @@environment_config.include?(environment) ?
468
- @@environment_config[environment][key] : nil
367
+ def self.config(key)
368
+ @@config[key]
469
369
  end
470
370
 
471
371
  def self.subdir_config
@@ -483,14 +383,13 @@ module AdwordsApi
483
383
  # Get the download URL for Ad Hoc reports.
484
384
  #
485
385
  # Args:
486
- # - environment: the service environment to be used
487
386
  # - version: the API version (as a symbol)
488
387
  #
489
388
  # Returns:
490
389
  # - The endpoint URL (as a string)
491
390
  #
492
- def self.adhoc_report_download_url(environment, version)
493
- base = get_wsdl_base(environment, version)
391
+ def self.adhoc_report_download_url(version)
392
+ base = get_wsdl_base(version)
494
393
  if base
495
394
  base += 'reportdownload/%s' % version.to_s
496
395
  end
File without changes
File without changes
File without changes
File without changes
@@ -51,8 +51,14 @@ module AdwordsApi
51
51
  leftover_data = ''
52
52
  @report_utils.send(method, *args) do |batch|
53
53
  data_to_process = leftover_data + batch
54
+ leftover_data = ''
55
+ while !data_to_process.valid_encoding?
56
+ leftover_data = data_to_process[-1] + leftover_data
57
+ data_to_process = data_to_process[0, data_to_process.length - 1]
58
+ end
54
59
  lines = data_to_process.each_line.map {|line| line}
55
- leftover_data = lines.pop
60
+ remainder = lines.pop
61
+ leftover_data = remainder + leftover_data unless remainder.nil?
56
62
  lines.each do |line|
57
63
  yield line.chomp
58
64
  end
@@ -219,8 +219,7 @@ module AdwordsApi
219
219
  # Makes request and AdHoc service and returns response.
220
220
  def make_adhoc_request(data, cid, &block)
221
221
  @api.utils_reporter.report_utils_used()
222
- url = @api.api_config.adhoc_report_download_url(
223
- @api.config.read('service.environment'), @version)
222
+ url = @api.api_config.adhoc_report_download_url(@version)
224
223
  headers = get_report_request_headers(url, cid)
225
224
  log_request(url, headers, data)
226
225
  # A given block indicates that we should make a stream request and yield
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes