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
@@ -1,54 +0,0 @@
1
- # Encoding: utf-8
2
- #
3
- # This is auto-generated code, changes will be overwritten.
4
- #
5
- # Copyright:: Copyright 2017, Google Inc. All Rights Reserved.
6
- # License:: Licensed under the Apache License, Version 2.0.
7
- #
8
- # Code generated by AdsCommon library 0.14.2 on 2017-08-09 18:01:02.
9
-
10
- require 'ads_common/savon_service'
11
- require 'adwords_api/v201609/campaign_shared_set_service_registry'
12
-
13
- module AdwordsApi; module V201609; module CampaignSharedSetService
14
- class CampaignSharedSetService < AdsCommon::SavonService
15
- def initialize(config, endpoint)
16
- namespace = 'https://adwords.google.com/api/adwords/cm/v201609'
17
- super(config, endpoint, namespace, :v201609)
18
- end
19
-
20
- def get(*args, &block)
21
- return execute_action('get', args, &block)
22
- end
23
-
24
- def get_to_xml(*args)
25
- return get_soap_xml('get', args)
26
- end
27
-
28
- def mutate(*args, &block)
29
- return execute_action('mutate', args, &block)
30
- end
31
-
32
- def mutate_to_xml(*args)
33
- return get_soap_xml('mutate', args)
34
- end
35
-
36
- def query(*args, &block)
37
- return execute_action('query', args, &block)
38
- end
39
-
40
- def query_to_xml(*args)
41
- return get_soap_xml('query', args)
42
- end
43
-
44
- private
45
-
46
- def get_service_registry()
47
- return CampaignSharedSetServiceRegistry
48
- end
49
-
50
- def get_module()
51
- return AdwordsApi::V201609::CampaignSharedSetService
52
- end
53
- end
54
- end; end; end
@@ -1,46 +0,0 @@
1
- # Encoding: utf-8
2
- #
3
- # This is auto-generated code, changes will be overwritten.
4
- #
5
- # Copyright:: Copyright 2017, Google Inc. All Rights Reserved.
6
- # License:: Licensed under the Apache License, Version 2.0.
7
- #
8
- # Code generated by AdsCommon library 0.14.2 on 2017-08-09 18:01:02.
9
-
10
- require 'adwords_api/errors'
11
-
12
- module AdwordsApi; module V201609; module CampaignSharedSetService
13
- class CampaignSharedSetServiceRegistry
14
- CAMPAIGNSHAREDSETSERVICE_METHODS = {:get=>{:input=>[{:name=>:selector, :type=>"Selector", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_response", :fields=>[{:name=>:rval, :type=>"CampaignSharedSetPage", :min_occurs=>0, :max_occurs=>1}]}}, :mutate=>{:input=>[{:name=>:operations, :type=>"CampaignSharedSetOperation", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"mutate_response", :fields=>[{:name=>:rval, :type=>"CampaignSharedSetReturnValue", :min_occurs=>0, :max_occurs=>1}]}}, :query=>{:input=>[{:name=>:query, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"query_response", :fields=>[{:name=>:rval, :type=>"CampaignSharedSetPage", :min_occurs=>0, :max_occurs=>1}]}}}
15
- CAMPAIGNSHAREDSETSERVICE_TYPES = {:AuthenticationError=>{:fields=>[{:name=>:reason, :type=>"AuthenticationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :AuthorizationError=>{:fields=>[{:name=>:reason, :type=>"AuthorizationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CampaignSharedSet=>{:fields=>[{:name=>:shared_set_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:campaign_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:shared_set_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:shared_set_type, :type=>"SharedSetType", :min_occurs=>0, :max_occurs=>1}, {:name=>:campaign_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"CampaignSharedSet.Status", :min_occurs=>0, :max_occurs=>1}]}, :CampaignSharedSetError=>{:fields=>[{:name=>:reason, :type=>"CampaignSharedSetError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CampaignSharedSetOperation=>{:fields=>[{:name=>:operand, :type=>"CampaignSharedSet", :min_occurs=>0, :max_occurs=>1}], :base=>"Operation"}, :CampaignSharedSetPage=>{:fields=>[{:name=>:entries, :type=>"CampaignSharedSet", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"NullStatsPage"}, :CampaignSharedSetReturnValue=>{:fields=>[{:name=>:value, :type=>"CampaignSharedSet", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ListReturnValue"}, :ClientTermsError=>{:fields=>[{:name=>:reason, :type=>"ClientTermsError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :DateError=>{:fields=>[{:name=>:reason, :type=>"DateError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :DateRange=>{:fields=>[{:name=>:min, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:max, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DistinctError=>{:fields=>[{:name=>:reason, :type=>"DistinctError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :EntityCountLimitExceeded=>{:fields=>[{:name=>:reason, :type=>"EntityCountLimitExceeded.Reason", :min_occurs=>0, :max_occurs=>1}, {:name=>:enclosing_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:limit, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:account_limit_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:existing_count, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :EntityNotFound=>{:fields=>[{:name=>:reason, :type=>"EntityNotFound.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :IdError=>{:fields=>[{:name=>:reason, :type=>"IdError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :InternalApiError=>{:fields=>[{:name=>:reason, :type=>"InternalApiError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ListReturnValue=>{:fields=>[{:name=>:list_return_value_type, :original_name=>"ListReturnValue.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :NewEntityCreationError=>{:fields=>[{:name=>:reason, :type=>"NewEntityCreationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NotEmptyError=>{:fields=>[{:name=>:reason, :type=>"NotEmptyError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NullError=>{:fields=>[{:name=>:reason, :type=>"NullError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NullStatsPage=>{:fields=>[], :abstract=>true, :base=>"Page"}, :Operation=>{:fields=>[{:name=>:operator, :type=>"Operator", :min_occurs=>0, :max_occurs=>1}, {:name=>:operation_type, :original_name=>"Operation.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :OperationAccessDenied=>{:fields=>[{:name=>:reason, :type=>"OperationAccessDenied.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :OperatorError=>{:fields=>[{:name=>:reason, :type=>"OperatorError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :OrderBy=>{:fields=>[{:name=>:field, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:sort_order, :type=>"SortOrder", :min_occurs=>0, :max_occurs=>1}]}, :Page=>{:fields=>[{:name=>:total_num_entries, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:page_type, :original_name=>"Page.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :Paging=>{:fields=>[{:name=>:start_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:number_results, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :PagingError=>{:fields=>[{:name=>:reason, :type=>"PagingError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Predicate=>{:fields=>[{:name=>:field, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:operator, :type=>"Predicate.Operator", :min_occurs=>0, :max_occurs=>1}, {:name=>:values, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}]}, :QueryError=>{:fields=>[{:name=>:reason, :type=>"QueryError.Reason", :min_occurs=>0, :max_occurs=>1}, {:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :QuotaCheckError=>{:fields=>[{:name=>:reason, :type=>"QuotaCheckError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RangeError=>{:fields=>[{:name=>:reason, :type=>"RangeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RateExceededError=>{:fields=>[{:name=>:reason, :type=>"RateExceededError.Reason", :min_occurs=>0, :max_occurs=>1}, {:name=>:rate_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:rate_scope, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:retry_after_seconds, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ReadOnlyError=>{:fields=>[{:name=>:reason, :type=>"ReadOnlyError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RejectedError=>{:fields=>[{:name=>:reason, :type=>"RejectedError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequestError=>{:fields=>[{:name=>:reason, :type=>"RequestError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredError=>{:fields=>[{:name=>:reason, :type=>"RequiredError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SelectorError=>{:fields=>[{:name=>:reason, :type=>"SelectorError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SizeLimitError=>{:fields=>[{:name=>:reason, :type=>"SizeLimitError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SoapHeader=>{:fields=>[{:name=>:client_customer_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:developer_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_agent, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:validate_only, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:partial_failure, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:service_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:method_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:operations, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :StringFormatError=>{:fields=>[{:name=>:reason, :type=>"StringFormatError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :StringLengthError=>{:fields=>[{:name=>:reason, :type=>"StringLengthError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :DatabaseError=>{:fields=>[{:name=>:reason, :type=>"DatabaseError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ApiError=>{:fields=>[{:name=>:field_path, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:trigger, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:api_error_type, :original_name=>"ApiError.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ApiException=>{:fields=>[{:name=>:errors, :type=>"ApiError", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ApplicationException"}, :ApplicationException=>{:fields=>[{:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_exception_type, :original_name=>"ApplicationException.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :Selector=>{:fields=>[{:name=>:fields, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:predicates, :type=>"Predicate", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:date_range, :type=>"DateRange", :min_occurs=>0, :max_occurs=>1}, {:name=>:ordering, :type=>"OrderBy", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:paging, :type=>"Paging", :min_occurs=>0, :max_occurs=>1}]}, :"AuthenticationError.Reason"=>{:fields=>[]}, :"AuthorizationError.Reason"=>{:fields=>[]}, :"CampaignSharedSet.Status"=>{:fields=>[]}, :"CampaignSharedSetError.Reason"=>{:fields=>[]}, :"ClientTermsError.Reason"=>{:fields=>[]}, :"DatabaseError.Reason"=>{:fields=>[]}, :"DateError.Reason"=>{:fields=>[]}, :"DistinctError.Reason"=>{:fields=>[]}, :"EntityCountLimitExceeded.Reason"=>{:fields=>[]}, :"EntityNotFound.Reason"=>{:fields=>[]}, :"IdError.Reason"=>{:fields=>[]}, :"InternalApiError.Reason"=>{:fields=>[]}, :"NewEntityCreationError.Reason"=>{:fields=>[]}, :"NotEmptyError.Reason"=>{:fields=>[]}, :"NullError.Reason"=>{:fields=>[]}, :"OperationAccessDenied.Reason"=>{:fields=>[]}, :Operator=>{:fields=>[]}, :"OperatorError.Reason"=>{:fields=>[]}, :"PagingError.Reason"=>{:fields=>[]}, :"Predicate.Operator"=>{:fields=>[]}, :"QueryError.Reason"=>{:fields=>[]}, :"QuotaCheckError.Reason"=>{:fields=>[]}, :"RangeError.Reason"=>{:fields=>[]}, :"RateExceededError.Reason"=>{:fields=>[]}, :"ReadOnlyError.Reason"=>{:fields=>[]}, :"RejectedError.Reason"=>{:fields=>[]}, :"RequestError.Reason"=>{:fields=>[]}, :"RequiredError.Reason"=>{:fields=>[]}, :"SelectorError.Reason"=>{:fields=>[]}, :SharedSetType=>{:fields=>[]}, :"SizeLimitError.Reason"=>{:fields=>[]}, :SortOrder=>{:fields=>[]}, :"StringFormatError.Reason"=>{:fields=>[]}, :"StringLengthError.Reason"=>{:fields=>[]}}
16
- CAMPAIGNSHAREDSETSERVICE_NAMESPACES = []
17
-
18
- def self.get_method_signature(method_name)
19
- return CAMPAIGNSHAREDSETSERVICE_METHODS[method_name.to_sym]
20
- end
21
-
22
- def self.get_type_signature(type_name)
23
- return CAMPAIGNSHAREDSETSERVICE_TYPES[type_name.to_sym]
24
- end
25
-
26
- def self.get_namespace(index)
27
- return CAMPAIGNSHAREDSETSERVICE_NAMESPACES[index]
28
- end
29
- end
30
-
31
- # Base class for exceptions.
32
- class ApplicationException < AdwordsApi::Errors::ApiException
33
- attr_reader :message # string
34
- attr_reader :application_exception_type # string
35
- end
36
-
37
- # Exception class for holding a list of service errors.
38
- class ApiException < ApplicationException
39
- attr_reader :errors # ApiError
40
- def initialize(exception_fault)
41
- @array_fields ||= []
42
- @array_fields << 'errors'
43
- super(exception_fault, CampaignSharedSetServiceRegistry)
44
- end
45
- end
46
- end; end; end
@@ -1,110 +0,0 @@
1
- # Encoding: utf-8
2
- #
3
- # This is auto-generated code, changes will be overwritten.
4
- #
5
- # Copyright:: Copyright 2017, Google Inc. All Rights Reserved.
6
- # License:: Licensed under the Apache License, Version 2.0.
7
- #
8
- # Code generated by AdsCommon library 0.14.2 on 2017-08-09 18:01:03.
9
-
10
- require 'ads_common/savon_service'
11
- require 'adwords_api/v201609/constant_data_service_registry'
12
-
13
- module AdwordsApi; module V201609; module ConstantDataService
14
- class ConstantDataService < AdsCommon::SavonService
15
- def initialize(config, endpoint)
16
- namespace = 'https://adwords.google.com/api/adwords/cm/v201609'
17
- super(config, endpoint, namespace, :v201609)
18
- end
19
-
20
- def get_age_range_criterion(*args, &block)
21
- return execute_action('get_age_range_criterion', args, &block)
22
- end
23
-
24
- def get_age_range_criterion_to_xml(*args)
25
- return get_soap_xml('get_age_range_criterion', args)
26
- end
27
-
28
- def get_carrier_criterion(*args, &block)
29
- return execute_action('get_carrier_criterion', args, &block)
30
- end
31
-
32
- def get_carrier_criterion_to_xml(*args)
33
- return get_soap_xml('get_carrier_criterion', args)
34
- end
35
-
36
- def get_gender_criterion(*args, &block)
37
- return execute_action('get_gender_criterion', args, &block)
38
- end
39
-
40
- def get_gender_criterion_to_xml(*args)
41
- return get_soap_xml('get_gender_criterion', args)
42
- end
43
-
44
- def get_language_criterion(*args, &block)
45
- return execute_action('get_language_criterion', args, &block)
46
- end
47
-
48
- def get_language_criterion_to_xml(*args)
49
- return get_soap_xml('get_language_criterion', args)
50
- end
51
-
52
- def get_mobile_app_category_criterion(*args, &block)
53
- return execute_action('get_mobile_app_category_criterion', args, &block)
54
- end
55
-
56
- def get_mobile_app_category_criterion_to_xml(*args)
57
- return get_soap_xml('get_mobile_app_category_criterion', args)
58
- end
59
-
60
- def get_mobile_device_criterion(*args, &block)
61
- return execute_action('get_mobile_device_criterion', args, &block)
62
- end
63
-
64
- def get_mobile_device_criterion_to_xml(*args)
65
- return get_soap_xml('get_mobile_device_criterion', args)
66
- end
67
-
68
- def get_operating_system_version_criterion(*args, &block)
69
- return execute_action('get_operating_system_version_criterion', args, &block)
70
- end
71
-
72
- def get_operating_system_version_criterion_to_xml(*args)
73
- return get_soap_xml('get_operating_system_version_criterion', args)
74
- end
75
-
76
- def get_product_bidding_category_data(*args, &block)
77
- return execute_action('get_product_bidding_category_data', args, &block)
78
- end
79
-
80
- def get_product_bidding_category_data_to_xml(*args)
81
- return get_soap_xml('get_product_bidding_category_data', args)
82
- end
83
-
84
- def get_user_interest_criterion(*args, &block)
85
- return execute_action('get_user_interest_criterion', args, &block)
86
- end
87
-
88
- def get_user_interest_criterion_to_xml(*args)
89
- return get_soap_xml('get_user_interest_criterion', args)
90
- end
91
-
92
- def get_vertical_criterion(*args, &block)
93
- return execute_action('get_vertical_criterion', args, &block)
94
- end
95
-
96
- def get_vertical_criterion_to_xml(*args)
97
- return get_soap_xml('get_vertical_criterion', args)
98
- end
99
-
100
- private
101
-
102
- def get_service_registry()
103
- return ConstantDataServiceRegistry
104
- end
105
-
106
- def get_module()
107
- return AdwordsApi::V201609::ConstantDataService
108
- end
109
- end
110
- end; end; end
@@ -1,46 +0,0 @@
1
- # Encoding: utf-8
2
- #
3
- # This is auto-generated code, changes will be overwritten.
4
- #
5
- # Copyright:: Copyright 2017, Google Inc. All Rights Reserved.
6
- # License:: Licensed under the Apache License, Version 2.0.
7
- #
8
- # Code generated by AdsCommon library 0.14.2 on 2017-08-09 18:01:03.
9
-
10
- require 'adwords_api/errors'
11
-
12
- module AdwordsApi; module V201609; module ConstantDataService
13
- class ConstantDataServiceRegistry
14
- CONSTANTDATASERVICE_METHODS = {:get_age_range_criterion=>{:input=>[], :output=>{:name=>"get_age_range_criterion_response", :fields=>[{:name=>:rval, :type=>"AgeRange", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_carrier_criterion=>{:input=>[], :output=>{:name=>"get_carrier_criterion_response", :fields=>[{:name=>:rval, :type=>"Carrier", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_gender_criterion=>{:input=>[], :output=>{:name=>"get_gender_criterion_response", :fields=>[{:name=>:rval, :type=>"Gender", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_language_criterion=>{:input=>[], :output=>{:name=>"get_language_criterion_response", :fields=>[{:name=>:rval, :type=>"Language", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_mobile_app_category_criterion=>{:input=>[], :output=>{:name=>"get_mobile_app_category_criterion_response", :fields=>[{:name=>:rval, :type=>"MobileAppCategory", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_mobile_device_criterion=>{:input=>[], :output=>{:name=>"get_mobile_device_criterion_response", :fields=>[{:name=>:rval, :type=>"MobileDevice", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_operating_system_version_criterion=>{:input=>[], :output=>{:name=>"get_operating_system_version_criterion_response", :fields=>[{:name=>:rval, :type=>"OperatingSystemVersion", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_product_bidding_category_data=>{:input=>[{:name=>:selector, :type=>"Selector", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_product_bidding_category_data_response", :fields=>[{:name=>:rval, :type=>"ProductBiddingCategoryData", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_user_interest_criterion=>{:input=>[{:name=>:user_interest_taxonomy_type, :type=>"ConstantDataService.UserInterestTaxonomyType", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_user_interest_criterion_response", :fields=>[{:name=>:rval, :type=>"CriterionUserInterest", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_vertical_criterion=>{:input=>[], :output=>{:name=>"get_vertical_criterion_response", :fields=>[{:name=>:rval, :type=>"Vertical", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
15
- CONSTANTDATASERVICE_TYPES = {:AdxError=>{:fields=>[{:name=>:reason, :type=>"AdxError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :AgeRange=>{:fields=>[{:name=>:age_range_type, :type=>"AgeRange.AgeRangeType", :min_occurs=>0, :max_occurs=>1}], :base=>"Criterion"}, :AuthenticationError=>{:fields=>[{:name=>:reason, :type=>"AuthenticationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :AuthorizationError=>{:fields=>[{:name=>:reason, :type=>"AuthorizationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Carrier=>{:fields=>[{:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:country_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Criterion"}, :ClientTermsError=>{:fields=>[{:name=>:reason, :type=>"ClientTermsError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :DateError=>{:fields=>[{:name=>:reason, :type=>"DateError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :DateRange=>{:fields=>[{:name=>:min, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:max, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DistinctError=>{:fields=>[{:name=>:reason, :type=>"DistinctError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Gender=>{:fields=>[{:name=>:gender_type, :type=>"Gender.GenderType", :min_occurs=>0, :max_occurs=>1}], :base=>"Criterion"}, :IdError=>{:fields=>[{:name=>:reason, :type=>"IdError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :InternalApiError=>{:fields=>[{:name=>:reason, :type=>"InternalApiError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Keyword=>{:fields=>[{:name=>:text, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:match_type, :type=>"KeywordMatchType", :min_occurs=>0, :max_occurs=>1}], :base=>"Criterion"}, :Language=>{:fields=>[{:name=>:code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Criterion"}, :MobileAppCategory=>{:fields=>[{:name=>:mobile_app_category_id, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:display_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Criterion"}, :MobileApplication=>{:fields=>[{:name=>:app_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:display_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Criterion"}, :MobileDevice=>{:fields=>[{:name=>:device_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:manufacturer_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:device_type, :type=>"MobileDevice.DeviceType", :min_occurs=>0, :max_occurs=>1}, {:name=>:operating_system_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Criterion"}, :NotEmptyError=>{:fields=>[{:name=>:reason, :type=>"NotEmptyError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NullError=>{:fields=>[{:name=>:reason, :type=>"NullError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :OperatingSystemVersion=>{:fields=>[{:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:os_major_version, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:os_minor_version, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:operator_type, :type=>"OperatingSystemVersion.OperatorType", :min_occurs=>0, :max_occurs=>1}], :base=>"Criterion"}, :OperationAccessDenied=>{:fields=>[{:name=>:reason, :type=>"OperationAccessDenied.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :OperatorError=>{:fields=>[{:name=>:reason, :type=>"OperatorError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :OrderBy=>{:fields=>[{:name=>:field, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:sort_order, :type=>"SortOrder", :min_occurs=>0, :max_occurs=>1}]}, :Paging=>{:fields=>[{:name=>:start_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:number_results, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :Placement=>{:fields=>[{:name=>:url, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Criterion"}, :Predicate=>{:fields=>[{:name=>:field, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:operator, :type=>"Predicate.Operator", :min_occurs=>0, :max_occurs=>1}, {:name=>:values, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}]}, :ProductAdwordsGrouping=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"ProductDimension"}, :ProductAdwordsLabels=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"ProductDimension"}, :ProductBiddingCategory=>{:fields=>[{:name=>:type, :type=>"ProductDimensionType", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"ProductDimension"}, :ProductBrand=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"ProductDimension"}, :ProductCanonicalCondition=>{:fields=>[{:name=>:condition, :type=>"ProductCanonicalCondition.Condition", :min_occurs=>0, :max_occurs=>1}], :base=>"ProductDimension"}, :ProductChannel=>{:fields=>[{:name=>:channel, :type=>"ShoppingProductChannel", :min_occurs=>0, :max_occurs=>1}], :base=>"ProductDimension"}, :ProductChannelExclusivity=>{:fields=>[{:name=>:channel_exclusivity, :type=>"ShoppingProductChannelExclusivity", :min_occurs=>0, :max_occurs=>1}], :base=>"ProductDimension"}, :ProductLegacyCondition=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"ProductDimension"}, :ProductCustomAttribute=>{:fields=>[{:name=>:type, :type=>"ProductDimensionType", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"ProductDimension"}, :ProductOfferId=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"ProductDimension"}, :ProductType=>{:fields=>[{:name=>:type, :type=>"ProductDimensionType", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"ProductDimension"}, :ProductTypeFull=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"ProductDimension"}, :QuotaCheckError=>{:fields=>[{:name=>:reason, :type=>"QuotaCheckError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RangeError=>{:fields=>[{:name=>:reason, :type=>"RangeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RateExceededError=>{:fields=>[{:name=>:reason, :type=>"RateExceededError.Reason", :min_occurs=>0, :max_occurs=>1}, {:name=>:rate_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:rate_scope, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:retry_after_seconds, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ReadOnlyError=>{:fields=>[{:name=>:reason, :type=>"ReadOnlyError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RejectedError=>{:fields=>[{:name=>:reason, :type=>"RejectedError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequestError=>{:fields=>[{:name=>:reason, :type=>"RequestError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredError=>{:fields=>[{:name=>:reason, :type=>"RequiredError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SelectorError=>{:fields=>[{:name=>:reason, :type=>"SelectorError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SizeLimitError=>{:fields=>[{:name=>:reason, :type=>"SizeLimitError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SoapHeader=>{:fields=>[{:name=>:client_customer_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:developer_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_agent, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:validate_only, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:partial_failure, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:service_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:method_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:operations, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :StringFormatError=>{:fields=>[{:name=>:reason, :type=>"StringFormatError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :StringLengthError=>{:fields=>[{:name=>:reason, :type=>"StringLengthError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :String_StringMapEntry=>{:fields=>[{:name=>:key, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :UnknownProductDimension=>{:fields=>[], :base=>"ProductDimension"}, :CriterionUserInterest=>{:fields=>[{:name=>:user_interest_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_interest_parent_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_interest_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Criterion"}, :CriterionUserList=>{:fields=>[{:name=>:user_list_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_list_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_list_membership_status, :type=>"CriterionUserList.MembershipStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_list_eligible_for_search, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_list_eligible_for_display, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Criterion"}, :Vertical=>{:fields=>[{:name=>:vertical_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:vertical_parent_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:path, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Criterion"}, :DatabaseError=>{:fields=>[{:name=>:reason, :type=>"DatabaseError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ProductDimension=>{:fields=>[{:name=>:product_dimension_type, :original_name=>"ProductDimension.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ApiError=>{:fields=>[{:name=>:field_path, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:trigger, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:api_error_type, :original_name=>"ApiError.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ApiException=>{:fields=>[{:name=>:errors, :type=>"ApiError", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ApplicationException"}, :ApplicationException=>{:fields=>[{:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_exception_type, :original_name=>"ApplicationException.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :ProductBiddingCategoryData=>{:fields=>[{:name=>:dimension_value, :type=>"ProductBiddingCategory", :min_occurs=>0, :max_occurs=>1}, {:name=>:parent_dimension_value, :type=>"ProductBiddingCategory", :min_occurs=>0, :max_occurs=>1}, {:name=>:country, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"ShoppingBiddingDimensionStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:display_value, :type=>"String_StringMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ConstantData"}, :Selector=>{:fields=>[{:name=>:fields, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:predicates, :type=>"Predicate", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:date_range, :type=>"DateRange", :min_occurs=>0, :max_occurs=>1}, {:name=>:ordering, :type=>"OrderBy", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:paging, :type=>"Paging", :min_occurs=>0, :max_occurs=>1}]}, :ConstantData=>{:fields=>[{:name=>:constant_data_type, :original_name=>"ConstantData.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :Criterion=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:type, :type=>"Criterion.Type", :min_occurs=>0, :max_occurs=>1}, {:name=>:criterion_type, :original_name=>"Criterion.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :"AdxError.Reason"=>{:fields=>[]}, :"AgeRange.AgeRangeType"=>{:fields=>[]}, :"AuthenticationError.Reason"=>{:fields=>[]}, :"AuthorizationError.Reason"=>{:fields=>[]}, :"ClientTermsError.Reason"=>{:fields=>[]}, :"ConstantDataService.UserInterestTaxonomyType"=>{:fields=>[]}, :"Criterion.Type"=>{:fields=>[]}, :"DatabaseError.Reason"=>{:fields=>[]}, :"DateError.Reason"=>{:fields=>[]}, :"DistinctError.Reason"=>{:fields=>[]}, :"Gender.GenderType"=>{:fields=>[]}, :"IdError.Reason"=>{:fields=>[]}, :"InternalApiError.Reason"=>{:fields=>[]}, :KeywordMatchType=>{:fields=>[]}, :"MobileDevice.DeviceType"=>{:fields=>[]}, :"NotEmptyError.Reason"=>{:fields=>[]}, :"NullError.Reason"=>{:fields=>[]}, :"OperatingSystemVersion.OperatorType"=>{:fields=>[]}, :"OperationAccessDenied.Reason"=>{:fields=>[]}, :"OperatorError.Reason"=>{:fields=>[]}, :"Predicate.Operator"=>{:fields=>[]}, :"ProductCanonicalCondition.Condition"=>{:fields=>[]}, :ProductDimensionType=>{:fields=>[]}, :"QuotaCheckError.Reason"=>{:fields=>[]}, :"RangeError.Reason"=>{:fields=>[]}, :"RateExceededError.Reason"=>{:fields=>[]}, :"ReadOnlyError.Reason"=>{:fields=>[]}, :"RejectedError.Reason"=>{:fields=>[]}, :"RequestError.Reason"=>{:fields=>[]}, :"RequiredError.Reason"=>{:fields=>[]}, :"SelectorError.Reason"=>{:fields=>[]}, :ShoppingBiddingDimensionStatus=>{:fields=>[]}, :ShoppingProductChannel=>{:fields=>[]}, :ShoppingProductChannelExclusivity=>{:fields=>[]}, :"SizeLimitError.Reason"=>{:fields=>[]}, :SortOrder=>{:fields=>[]}, :"StringFormatError.Reason"=>{:fields=>[]}, :"StringLengthError.Reason"=>{:fields=>[]}, :"CriterionUserList.MembershipStatus"=>{:fields=>[]}}
16
- CONSTANTDATASERVICE_NAMESPACES = []
17
-
18
- def self.get_method_signature(method_name)
19
- return CONSTANTDATASERVICE_METHODS[method_name.to_sym]
20
- end
21
-
22
- def self.get_type_signature(type_name)
23
- return CONSTANTDATASERVICE_TYPES[type_name.to_sym]
24
- end
25
-
26
- def self.get_namespace(index)
27
- return CONSTANTDATASERVICE_NAMESPACES[index]
28
- end
29
- end
30
-
31
- # Base class for exceptions.
32
- class ApplicationException < AdwordsApi::Errors::ApiException
33
- attr_reader :message # string
34
- attr_reader :application_exception_type # string
35
- end
36
-
37
- # Exception class for holding a list of service errors.
38
- class ApiException < ApplicationException
39
- attr_reader :errors # ApiError
40
- def initialize(exception_fault)
41
- @array_fields ||= []
42
- @array_fields << 'errors'
43
- super(exception_fault, ConstantDataServiceRegistry)
44
- end
45
- end
46
- end; end; end
@@ -1,54 +0,0 @@
1
- # Encoding: utf-8
2
- #
3
- # This is auto-generated code, changes will be overwritten.
4
- #
5
- # Copyright:: Copyright 2017, Google Inc. All Rights Reserved.
6
- # License:: Licensed under the Apache License, Version 2.0.
7
- #
8
- # Code generated by AdsCommon library 0.14.2 on 2017-08-09 18:01:04.
9
-
10
- require 'ads_common/savon_service'
11
- require 'adwords_api/v201609/conversion_tracker_service_registry'
12
-
13
- module AdwordsApi; module V201609; module ConversionTrackerService
14
- class ConversionTrackerService < AdsCommon::SavonService
15
- def initialize(config, endpoint)
16
- namespace = 'https://adwords.google.com/api/adwords/cm/v201609'
17
- super(config, endpoint, namespace, :v201609)
18
- end
19
-
20
- def get(*args, &block)
21
- return execute_action('get', args, &block)
22
- end
23
-
24
- def get_to_xml(*args)
25
- return get_soap_xml('get', args)
26
- end
27
-
28
- def mutate(*args, &block)
29
- return execute_action('mutate', args, &block)
30
- end
31
-
32
- def mutate_to_xml(*args)
33
- return get_soap_xml('mutate', args)
34
- end
35
-
36
- def query(*args, &block)
37
- return execute_action('query', args, &block)
38
- end
39
-
40
- def query_to_xml(*args)
41
- return get_soap_xml('query', args)
42
- end
43
-
44
- private
45
-
46
- def get_service_registry()
47
- return ConversionTrackerServiceRegistry
48
- end
49
-
50
- def get_module()
51
- return AdwordsApi::V201609::ConversionTrackerService
52
- end
53
- end
54
- end; end; end
@@ -1,46 +0,0 @@
1
- # Encoding: utf-8
2
- #
3
- # This is auto-generated code, changes will be overwritten.
4
- #
5
- # Copyright:: Copyright 2017, Google Inc. All Rights Reserved.
6
- # License:: Licensed under the Apache License, Version 2.0.
7
- #
8
- # Code generated by AdsCommon library 0.14.2 on 2017-08-09 18:01:04.
9
-
10
- require 'adwords_api/errors'
11
-
12
- module AdwordsApi; module V201609; module ConversionTrackerService
13
- class ConversionTrackerServiceRegistry
14
- CONVERSIONTRACKERSERVICE_METHODS = {:get=>{:input=>[{:name=>:service_selector, :type=>"Selector", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_response", :fields=>[{:name=>:rval, :type=>"ConversionTrackerPage", :min_occurs=>0, :max_occurs=>1}]}}, :mutate=>{:input=>[{:name=>:operations, :type=>"ConversionTrackerOperation", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"mutate_response", :fields=>[{:name=>:rval, :type=>"ConversionTrackerReturnValue", :min_occurs=>0, :max_occurs=>1}]}}, :query=>{:input=>[{:name=>:query, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"query_response", :fields=>[{:name=>:rval, :type=>"ConversionTrackerPage", :min_occurs=>0, :max_occurs=>1}]}}}
15
- CONVERSIONTRACKERSERVICE_TYPES = {:AdCallMetricsConversion=>{:fields=>[{:name=>:phone_call_duration, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"ConversionTracker"}, :AdWordsConversionTracker=>{:fields=>[{:name=>:snippet, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:text_format, :type=>"AdWordsConversionTracker.TextFormat", :min_occurs=>0, :max_occurs=>1}, {:name=>:conversion_page_language, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:background_color, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:tracking_code_type, :type=>"AdWordsConversionTracker.TrackingCodeType", :min_occurs=>0, :max_occurs=>1}], :base=>"ConversionTracker"}, :AppConversion=>{:fields=>[{:name=>:app_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:app_platform, :type=>"AppConversion.AppPlatform", :min_occurs=>0, :max_occurs=>1}, {:name=>:snippet, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:app_conversion_type, :type=>"AppConversion.AppConversionType", :min_occurs=>0, :max_occurs=>1}, {:name=>:app_postback_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"ConversionTracker"}, :AppPostbackUrlError=>{:fields=>[{:name=>:reason, :type=>"AppPostbackUrlError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :AuthenticationError=>{:fields=>[{:name=>:reason, :type=>"AuthenticationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :AuthorizationError=>{:fields=>[{:name=>:reason, :type=>"AuthorizationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ClientTermsError=>{:fields=>[{:name=>:reason, :type=>"ClientTermsError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ConversionTrackingError=>{:fields=>[{:name=>:reason, :type=>"ConversionTrackingError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :DateError=>{:fields=>[{:name=>:reason, :type=>"DateError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :DateRange=>{:fields=>[{:name=>:min, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:max, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DistinctError=>{:fields=>[{:name=>:reason, :type=>"DistinctError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :IdError=>{:fields=>[{:name=>:reason, :type=>"IdError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :InternalApiError=>{:fields=>[{:name=>:reason, :type=>"InternalApiError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NotEmptyError=>{:fields=>[{:name=>:reason, :type=>"NotEmptyError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :OperationAccessDenied=>{:fields=>[{:name=>:reason, :type=>"OperationAccessDenied.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :OperatorError=>{:fields=>[{:name=>:reason, :type=>"OperatorError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :OrderBy=>{:fields=>[{:name=>:field, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:sort_order, :type=>"SortOrder", :min_occurs=>0, :max_occurs=>1}]}, :Paging=>{:fields=>[{:name=>:start_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:number_results, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :Predicate=>{:fields=>[{:name=>:field, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:operator, :type=>"Predicate.Operator", :min_occurs=>0, :max_occurs=>1}, {:name=>:values, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}]}, :QueryError=>{:fields=>[{:name=>:reason, :type=>"QueryError.Reason", :min_occurs=>0, :max_occurs=>1}, {:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :QuotaCheckError=>{:fields=>[{:name=>:reason, :type=>"QuotaCheckError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RangeError=>{:fields=>[{:name=>:reason, :type=>"RangeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RateExceededError=>{:fields=>[{:name=>:reason, :type=>"RateExceededError.Reason", :min_occurs=>0, :max_occurs=>1}, {:name=>:rate_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:rate_scope, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:retry_after_seconds, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ReadOnlyError=>{:fields=>[{:name=>:reason, :type=>"ReadOnlyError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RejectedError=>{:fields=>[{:name=>:reason, :type=>"RejectedError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequestError=>{:fields=>[{:name=>:reason, :type=>"RequestError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredError=>{:fields=>[{:name=>:reason, :type=>"RequiredError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SelectorError=>{:fields=>[{:name=>:reason, :type=>"SelectorError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SizeLimitError=>{:fields=>[{:name=>:reason, :type=>"SizeLimitError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SoapHeader=>{:fields=>[{:name=>:client_customer_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:developer_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_agent, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:validate_only, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:partial_failure, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:service_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:method_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:operations, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :StringFormatError=>{:fields=>[{:name=>:reason, :type=>"StringFormatError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :StringLengthError=>{:fields=>[{:name=>:reason, :type=>"StringLengthError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :UploadCallConversion=>{:fields=>[{:name=>:snippet, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"ConversionTracker"}, :UploadConversion=>{:fields=>[], :base=>"ConversionTracker"}, :WebsiteCallMetricsConversion=>{:fields=>[{:name=>:phone_call_duration, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:snippet, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"ConversionTracker"}, :ConversionTracker=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:original_conversion_type_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"ConversionTracker.Status", :min_occurs=>0, :max_occurs=>1}, {:name=>:category, :type=>"ConversionTracker.Category", :min_occurs=>0, :max_occurs=>1}, {:name=>:data_driven_model_status, :type=>"DataDrivenModelStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:conversion_type_owner_customer_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:viewthrough_lookback_window, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:ctc_lookback_window, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:counting_type, :type=>"ConversionDeduplicationMode", :min_occurs=>0, :max_occurs=>1}, {:name=>:default_revenue_value, :type=>"double", :min_occurs=>0, :max_occurs=>1}, {:name=>:default_revenue_currency_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:always_use_default_revenue_value, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:exclude_from_bidding, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:attribution_model_type, :type=>"AttributionModelType", :min_occurs=>0, :max_occurs=>1}, {:name=>:most_recent_conversion_date, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:last_received_request_time, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:conversion_tracker_type, :original_name=>"ConversionTracker.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ConversionTrackerOperation=>{:fields=>[{:name=>:operand, :type=>"ConversionTracker", :min_occurs=>0, :max_occurs=>1}], :base=>"Operation"}, :ConversionTrackerReturnValue=>{:fields=>[{:name=>:value, :type=>"ConversionTracker", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ListReturnValue"}, :DatabaseError=>{:fields=>[{:name=>:reason, :type=>"DatabaseError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ListReturnValue=>{:fields=>[{:name=>:list_return_value_type, :original_name=>"ListReturnValue.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :Operation=>{:fields=>[{:name=>:operator, :type=>"Operator", :min_occurs=>0, :max_occurs=>1}, {:name=>:operation_type, :original_name=>"Operation.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ApiError=>{:fields=>[{:name=>:field_path, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:trigger, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:api_error_type, :original_name=>"ApiError.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ApiException=>{:fields=>[{:name=>:errors, :type=>"ApiError", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ApplicationException"}, :ApplicationException=>{:fields=>[{:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_exception_type, :original_name=>"ApplicationException.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :ConversionTrackerPage=>{:fields=>[{:name=>:entries, :type=>"ConversionTracker", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"NoStatsPage"}, :NoStatsPage=>{:fields=>[], :abstract=>true, :base=>"Page"}, :Page=>{:fields=>[{:name=>:total_num_entries, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:page_type, :original_name=>"Page.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :Selector=>{:fields=>[{:name=>:fields, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:predicates, :type=>"Predicate", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:date_range, :type=>"DateRange", :min_occurs=>0, :max_occurs=>1}, {:name=>:ordering, :type=>"OrderBy", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:paging, :type=>"Paging", :min_occurs=>0, :max_occurs=>1}]}, :"AdWordsConversionTracker.TextFormat"=>{:fields=>[]}, :"AdWordsConversionTracker.TrackingCodeType"=>{:fields=>[]}, :"AppConversion.AppConversionType"=>{:fields=>[]}, :"AppConversion.AppPlatform"=>{:fields=>[]}, :"AppPostbackUrlError.Reason"=>{:fields=>[]}, :AttributionModelType=>{:fields=>[]}, :"AuthenticationError.Reason"=>{:fields=>[]}, :"AuthorizationError.Reason"=>{:fields=>[]}, :"ClientTermsError.Reason"=>{:fields=>[]}, :ConversionDeduplicationMode=>{:fields=>[]}, :"ConversionTracker.Category"=>{:fields=>[]}, :"ConversionTracker.Status"=>{:fields=>[]}, :"ConversionTrackingError.Reason"=>{:fields=>[]}, :DataDrivenModelStatus=>{:fields=>[]}, :"DatabaseError.Reason"=>{:fields=>[]}, :"DateError.Reason"=>{:fields=>[]}, :"DistinctError.Reason"=>{:fields=>[]}, :"IdError.Reason"=>{:fields=>[]}, :"InternalApiError.Reason"=>{:fields=>[]}, :"NotEmptyError.Reason"=>{:fields=>[]}, :"OperationAccessDenied.Reason"=>{:fields=>[]}, :Operator=>{:fields=>[]}, :"OperatorError.Reason"=>{:fields=>[]}, :"Predicate.Operator"=>{:fields=>[]}, :"QueryError.Reason"=>{:fields=>[]}, :"QuotaCheckError.Reason"=>{:fields=>[]}, :"RangeError.Reason"=>{:fields=>[]}, :"RateExceededError.Reason"=>{:fields=>[]}, :"ReadOnlyError.Reason"=>{:fields=>[]}, :"RejectedError.Reason"=>{:fields=>[]}, :"RequestError.Reason"=>{:fields=>[]}, :"RequiredError.Reason"=>{:fields=>[]}, :"SelectorError.Reason"=>{:fields=>[]}, :"SizeLimitError.Reason"=>{:fields=>[]}, :SortOrder=>{:fields=>[]}, :"StringFormatError.Reason"=>{:fields=>[]}, :"StringLengthError.Reason"=>{:fields=>[]}}
16
- CONVERSIONTRACKERSERVICE_NAMESPACES = []
17
-
18
- def self.get_method_signature(method_name)
19
- return CONVERSIONTRACKERSERVICE_METHODS[method_name.to_sym]
20
- end
21
-
22
- def self.get_type_signature(type_name)
23
- return CONVERSIONTRACKERSERVICE_TYPES[type_name.to_sym]
24
- end
25
-
26
- def self.get_namespace(index)
27
- return CONVERSIONTRACKERSERVICE_NAMESPACES[index]
28
- end
29
- end
30
-
31
- # Base class for exceptions.
32
- class ApplicationException < AdwordsApi::Errors::ApiException
33
- attr_reader :message # string
34
- attr_reader :application_exception_type # string
35
- end
36
-
37
- # Exception class for holding a list of service errors.
38
- class ApiException < ApplicationException
39
- attr_reader :errors # ApiError
40
- def initialize(exception_fault)
41
- @array_fields ||= []
42
- @array_fields << 'errors'
43
- super(exception_fault, ConversionTrackerServiceRegistry)
44
- end
45
- end
46
- end; end; end
@@ -1,54 +0,0 @@
1
- # Encoding: utf-8
2
- #
3
- # This is auto-generated code, changes will be overwritten.
4
- #
5
- # Copyright:: Copyright 2017, Google Inc. All Rights Reserved.
6
- # License:: Licensed under the Apache License, Version 2.0.
7
- #
8
- # Code generated by AdsCommon library 0.14.2 on 2017-08-09 18:01:05.
9
-
10
- require 'ads_common/savon_service'
11
- require 'adwords_api/v201609/customer_extension_setting_service_registry'
12
-
13
- module AdwordsApi; module V201609; module CustomerExtensionSettingService
14
- class CustomerExtensionSettingService < AdsCommon::SavonService
15
- def initialize(config, endpoint)
16
- namespace = 'https://adwords.google.com/api/adwords/cm/v201609'
17
- super(config, endpoint, namespace, :v201609)
18
- end
19
-
20
- def get(*args, &block)
21
- return execute_action('get', args, &block)
22
- end
23
-
24
- def get_to_xml(*args)
25
- return get_soap_xml('get', args)
26
- end
27
-
28
- def mutate(*args, &block)
29
- return execute_action('mutate', args, &block)
30
- end
31
-
32
- def mutate_to_xml(*args)
33
- return get_soap_xml('mutate', args)
34
- end
35
-
36
- def query(*args, &block)
37
- return execute_action('query', args, &block)
38
- end
39
-
40
- def query_to_xml(*args)
41
- return get_soap_xml('query', args)
42
- end
43
-
44
- private
45
-
46
- def get_service_registry()
47
- return CustomerExtensionSettingServiceRegistry
48
- end
49
-
50
- def get_module()
51
- return AdwordsApi::V201609::CustomerExtensionSettingService
52
- end
53
- end
54
- end; end; end
@@ -1,46 +0,0 @@
1
- # Encoding: utf-8
2
- #
3
- # This is auto-generated code, changes will be overwritten.
4
- #
5
- # Copyright:: Copyright 2017, Google Inc. All Rights Reserved.
6
- # License:: Licensed under the Apache License, Version 2.0.
7
- #
8
- # Code generated by AdsCommon library 0.14.2 on 2017-08-09 18:01:05.
9
-
10
- require 'adwords_api/errors'
11
-
12
- module AdwordsApi; module V201609; module CustomerExtensionSettingService
13
- class CustomerExtensionSettingServiceRegistry
14
- CUSTOMEREXTENSIONSETTINGSERVICE_METHODS = {:get=>{:input=>[{:name=>:selector, :type=>"Selector", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_response", :fields=>[{:name=>:rval, :type=>"CustomerExtensionSettingPage", :min_occurs=>0, :max_occurs=>1}]}}, :mutate=>{:input=>[{:name=>:operations, :type=>"CustomerExtensionSettingOperation", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"mutate_response", :fields=>[{:name=>:rval, :type=>"CustomerExtensionSettingReturnValue", :min_occurs=>0, :max_occurs=>1}]}}, :query=>{:input=>[{:name=>:query, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"query_response", :fields=>[{:name=>:rval, :type=>"CustomerExtensionSettingPage", :min_occurs=>0, :max_occurs=>1}]}}}
15
- CUSTOMEREXTENSIONSETTINGSERVICE_TYPES = {:ApiError=>{:fields=>[{:name=>:field_path, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:trigger, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:api_error_type, :original_name=>"ApiError.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ApiException=>{:fields=>[{:name=>:errors, :type=>"ApiError", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ApplicationException"}, :AppFeedItem=>{:fields=>[{:name=>:app_store, :type=>"AppFeedItem.AppStore", :min_occurs=>0, :max_occurs=>1}, {:name=>:app_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:app_link_text, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:app_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:app_final_urls, :type=>"UrlList", :min_occurs=>0, :max_occurs=>1}, {:name=>:app_final_mobile_urls, :type=>"UrlList", :min_occurs=>0, :max_occurs=>1}, {:name=>:app_tracking_url_template, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:app_url_custom_parameters, :type=>"CustomParameters", :min_occurs=>0, :max_occurs=>1}], :base=>"ExtensionFeedItem"}, :ApplicationException=>{:fields=>[{:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_exception_type, :original_name=>"ApplicationException.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :AuthenticationError=>{:fields=>[{:name=>:reason, :type=>"AuthenticationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :AuthorizationError=>{:fields=>[{:name=>:reason, :type=>"AuthorizationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CallConversionType=>{:fields=>[{:name=>:conversion_type_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :CallFeedItem=>{:fields=>[{:name=>:call_phone_number, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:call_country_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:call_tracking, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:call_conversion_type, :type=>"CallConversionType", :min_occurs=>0, :max_occurs=>1}, {:name=>:disable_call_conversion_tracking, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"ExtensionFeedItem"}, :CalloutFeedItem=>{:fields=>[{:name=>:callout_text, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"ExtensionFeedItem"}, :ClientTermsError=>{:fields=>[{:name=>:reason, :type=>"ClientTermsError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CollectionSizeError=>{:fields=>[{:name=>:reason, :type=>"CollectionSizeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ComparableValue=>{:fields=>[{:name=>:comparable_value_type, :original_name=>"ComparableValue.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :Criterion=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:type, :type=>"Criterion.Type", :min_occurs=>0, :max_occurs=>1}, {:name=>:criterion_type, :original_name=>"Criterion.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :CriterionError=>{:fields=>[{:name=>:reason, :type=>"CriterionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CustomParameter=>{:fields=>[{:name=>:key, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_remove, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :CustomParameters=>{:fields=>[{:name=>:parameters, :type=>"CustomParameter", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:do_replace, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :CustomerExtensionSetting=>{:fields=>[{:name=>:extension_type, :type=>"Feed.Type", :min_occurs=>0, :max_occurs=>1}, {:name=>:extension_setting, :type=>"ExtensionSetting", :min_occurs=>0, :max_occurs=>1}]}, :CustomerExtensionSettingOperation=>{:fields=>[{:name=>:operand, :type=>"CustomerExtensionSetting", :min_occurs=>0, :max_occurs=>1}], :base=>"Operation"}, :CustomerExtensionSettingPage=>{:fields=>[{:name=>:entries, :type=>"CustomerExtensionSetting", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Page"}, :CustomerExtensionSettingReturnValue=>{:fields=>[{:name=>:value, :type=>"CustomerExtensionSetting", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ListReturnValue"}, :DatabaseError=>{:fields=>[{:name=>:reason, :type=>"DatabaseError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :DateError=>{:fields=>[{:name=>:reason, :type=>"DateError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :DateRange=>{:fields=>[{:name=>:min, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:max, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DisapprovalReason=>{:fields=>[{:name=>:short_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DistinctError=>{:fields=>[{:name=>:reason, :type=>"DistinctError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :DoubleValue=>{:fields=>[{:name=>:number, :type=>"double", :min_occurs=>0, :max_occurs=>1}], :base=>"NumberValue"}, :EntityAccessDenied=>{:fields=>[{:name=>:reason, :type=>"EntityAccessDenied.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :EntityCountLimitExceeded=>{:fields=>[{:name=>:reason, :type=>"EntityCountLimitExceeded.Reason", :min_occurs=>0, :max_occurs=>1}, {:name=>:enclosing_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:limit, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:account_limit_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:existing_count, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :EntityNotFound=>{:fields=>[{:name=>:reason, :type=>"EntityNotFound.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ExtensionFeedItem=>{:fields=>[{:name=>:feed_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:feed_item_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"FeedItem.Status", :min_occurs=>0, :max_occurs=>1}, {:name=>:feed_type, :type=>"Feed.Type", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_time, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:end_time, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:device_preference, :type=>"FeedItemDevicePreference", :min_occurs=>0, :max_occurs=>1}, {:name=>:scheduling, :type=>"FeedItemScheduling", :min_occurs=>0, :max_occurs=>1}, {:name=>:campaign_targeting, :type=>"FeedItemCampaignTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_group_targeting, :type=>"FeedItemAdGroupTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:keyword_targeting, :type=>"Keyword", :min_occurs=>0, :max_occurs=>1}, {:name=>:geo_targeting, :type=>"Location", :min_occurs=>0, :max_occurs=>1}, {:name=>:geo_targeting_restriction, :type=>"FeedItemGeoRestriction", :min_occurs=>0, :max_occurs=>1}, {:name=>:policy_data, :type=>"FeedItemPolicyData", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:extension_feed_item_type, :original_name=>"ExtensionFeedItem.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :ExtensionSetting=>{:fields=>[{:name=>:extensions, :type=>"ExtensionFeedItem", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:platform_restrictions, :type=>"ExtensionSetting.Platform", :min_occurs=>0, :max_occurs=>1}]}, :ExtensionSettingError=>{:fields=>[{:name=>:reason, :type=>"ExtensionSettingError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :FeedItemAdGroupTargeting=>{:fields=>[{:name=>:targeting_ad_group_id, :original_name=>"TargetingAdGroupId", :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :FeedItemAttributeError=>{:fields=>[{:name=>:feed_attribute_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:validation_error_code, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_information, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :FeedItemCampaignTargeting=>{:fields=>[{:name=>:targeting_campaign_id, :original_name=>"TargetingCampaignId", :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :FeedItemDevicePreference=>{:fields=>[{:name=>:device_preference, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :FeedItemGeoRestriction=>{:fields=>[{:name=>:geo_restriction, :type=>"GeoRestriction", :min_occurs=>0, :max_occurs=>1}]}, :FeedItemPolicyData=>{:fields=>[{:name=>:placeholder_type, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:feed_mapping_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:validation_status, :type=>"FeedItemValidationStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:approval_status, :type=>"FeedItemApprovalStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:validation_errors, :type=>"FeedItemAttributeError", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:quality_approval_status, :type=>"FeedItemQualityApprovalStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:quality_disapproval_reasons, :type=>"FeedItemQualityDisapprovalReasons", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"PolicyData"}, :FeedItemSchedule=>{:fields=>[{:name=>:day_of_week, :type=>"DayOfWeek", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_hour, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_minute, :type=>"MinuteOfHour", :min_occurs=>0, :max_occurs=>1}, {:name=>:end_hour, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:end_minute, :type=>"MinuteOfHour", :min_occurs=>0, :max_occurs=>1}]}, :FeedItemScheduling=>{:fields=>[{:name=>:feed_item_schedules, :type=>"FeedItemSchedule", :min_occurs=>0, :max_occurs=>:unbounded}]}, :IdError=>{:fields=>[{:name=>:reason, :type=>"IdError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :InternalApiError=>{:fields=>[{:name=>:reason, :type=>"InternalApiError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Keyword=>{:fields=>[{:name=>:text, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:match_type, :type=>"KeywordMatchType", :min_occurs=>0, :max_occurs=>1}], :base=>"Criterion"}, :ListReturnValue=>{:fields=>[{:name=>:list_return_value_type, :original_name=>"ListReturnValue.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :Location=>{:fields=>[{:name=>:location_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:display_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:targeting_status, :type=>"LocationTargetingStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:parent_locations, :type=>"Location", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Criterion"}, :LongValue=>{:fields=>[{:name=>:number, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"NumberValue"}, :MobileAppCategory=>{:fields=>[{:name=>:mobile_app_category_id, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:display_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Criterion"}, :MobileApplication=>{:fields=>[{:name=>:app_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:display_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Criterion"}, :Money=>{:fields=>[{:name=>:micro_amount, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"ComparableValue"}, :MoneyWithCurrency=>{:fields=>[{:name=>:money, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:currency_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"ComparableValue"}, :NotEmptyError=>{:fields=>[{:name=>:reason, :type=>"NotEmptyError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NullError=>{:fields=>[{:name=>:reason, :type=>"NullError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NumberValue=>{:fields=>[], :abstract=>true, :base=>"ComparableValue"}, :Operation=>{:fields=>[{:name=>:operator, :type=>"Operator", :min_occurs=>0, :max_occurs=>1}, {:name=>:operation_type, :original_name=>"Operation.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :OperationAccessDenied=>{:fields=>[{:name=>:reason, :type=>"OperationAccessDenied.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :OperatorError=>{:fields=>[{:name=>:reason, :type=>"OperatorError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :OrderBy=>{:fields=>[{:name=>:field, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:sort_order, :type=>"SortOrder", :min_occurs=>0, :max_occurs=>1}]}, :Page=>{:fields=>[{:name=>:total_num_entries, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:page_type, :original_name=>"Page.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :Paging=>{:fields=>[{:name=>:start_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:number_results, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :Placement=>{:fields=>[{:name=>:url, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Criterion"}, :PolicyData=>{:fields=>[{:name=>:disapproval_reasons, :type=>"DisapprovalReason", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:policy_data_type, :original_name=>"PolicyData.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :Predicate=>{:fields=>[{:name=>:field, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:operator, :type=>"Predicate.Operator", :min_occurs=>0, :max_occurs=>1}, {:name=>:values, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}]}, :PriceFeedItem=>{:fields=>[{:name=>:price_extension_type, :type=>"PriceExtensionType", :min_occurs=>0, :max_occurs=>1}, {:name=>:price_qualifier, :type=>"PriceExtensionPriceQualifier", :min_occurs=>0, :max_occurs=>1}, {:name=>:tracking_url_template, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:language, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:table_rows, :type=>"PriceTableRow", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ExtensionFeedItem"}, :PriceTableRow=>{:fields=>[{:name=>:header, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:description, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:final_urls, :type=>"UrlList", :min_occurs=>0, :max_occurs=>1}, {:name=>:price, :type=>"MoneyWithCurrency", :min_occurs=>0, :max_occurs=>1}, {:name=>:price_unit, :type=>"PriceExtensionPriceUnit", :min_occurs=>0, :max_occurs=>1}]}, :QueryError=>{:fields=>[{:name=>:reason, :type=>"QueryError.Reason", :min_occurs=>0, :max_occurs=>1}, {:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :QuotaCheckError=>{:fields=>[{:name=>:reason, :type=>"QuotaCheckError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RangeError=>{:fields=>[{:name=>:reason, :type=>"RangeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RateExceededError=>{:fields=>[{:name=>:reason, :type=>"RateExceededError.Reason", :min_occurs=>0, :max_occurs=>1}, {:name=>:rate_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:rate_scope, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:retry_after_seconds, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ReadOnlyError=>{:fields=>[{:name=>:reason, :type=>"ReadOnlyError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RejectedError=>{:fields=>[{:name=>:reason, :type=>"RejectedError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequestError=>{:fields=>[{:name=>:reason, :type=>"RequestError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredError=>{:fields=>[{:name=>:reason, :type=>"RequiredError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ReviewFeedItem=>{:fields=>[{:name=>:review_text, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:review_source_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:review_source_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:review_text_exactly_quoted, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"ExtensionFeedItem"}, :Selector=>{:fields=>[{:name=>:fields, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:predicates, :type=>"Predicate", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:date_range, :type=>"DateRange", :min_occurs=>0, :max_occurs=>1}, {:name=>:ordering, :type=>"OrderBy", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:paging, :type=>"Paging", :min_occurs=>0, :max_occurs=>1}]}, :SelectorError=>{:fields=>[{:name=>:reason, :type=>"SelectorError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SitelinkFeedItem=>{:fields=>[{:name=>:sitelink_text, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:sitelink_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:sitelink_line2, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:sitelink_line3, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:sitelink_final_urls, :type=>"UrlList", :min_occurs=>0, :max_occurs=>1}, {:name=>:sitelink_final_mobile_urls, :type=>"UrlList", :min_occurs=>0, :max_occurs=>1}, {:name=>:sitelink_tracking_url_template, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:sitelink_url_custom_parameters, :type=>"CustomParameters", :min_occurs=>0, :max_occurs=>1}], :base=>"ExtensionFeedItem"}, :SizeLimitError=>{:fields=>[{:name=>:reason, :type=>"SizeLimitError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SoapHeader=>{:fields=>[{:name=>:client_customer_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:developer_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_agent, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:validate_only, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:partial_failure, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:service_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:method_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:operations, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :StringFormatError=>{:fields=>[{:name=>:reason, :type=>"StringFormatError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :StringLengthError=>{:fields=>[{:name=>:reason, :type=>"StringLengthError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :StructuredSnippetFeedItem=>{:fields=>[{:name=>:header, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:values, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ExtensionFeedItem"}, :UrlError=>{:fields=>[{:name=>:reason, :type=>"UrlError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :UrlList=>{:fields=>[{:name=>:urls, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}]}, :CriterionUserInterest=>{:fields=>[{:name=>:user_interest_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_interest_parent_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_interest_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Criterion"}, :CriterionUserList=>{:fields=>[{:name=>:user_list_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_list_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_list_membership_status, :type=>"CriterionUserList.MembershipStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_list_eligible_for_search, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_list_eligible_for_display, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Criterion"}, :Vertical=>{:fields=>[{:name=>:vertical_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:vertical_parent_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:path, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Criterion"}, :"AppFeedItem.AppStore"=>{:fields=>[]}, :"AuthenticationError.Reason"=>{:fields=>[]}, :"AuthorizationError.Reason"=>{:fields=>[]}, :"ClientTermsError.Reason"=>{:fields=>[]}, :"CollectionSizeError.Reason"=>{:fields=>[]}, :"Criterion.Type"=>{:fields=>[]}, :"CriterionError.Reason"=>{:fields=>[]}, :"DatabaseError.Reason"=>{:fields=>[]}, :"DateError.Reason"=>{:fields=>[]}, :DayOfWeek=>{:fields=>[]}, :"DistinctError.Reason"=>{:fields=>[]}, :"EntityAccessDenied.Reason"=>{:fields=>[]}, :"EntityCountLimitExceeded.Reason"=>{:fields=>[]}, :"EntityNotFound.Reason"=>{:fields=>[]}, :"ExtensionSetting.Platform"=>{:fields=>[]}, :"ExtensionSettingError.Reason"=>{:fields=>[]}, :"FeedItem.Status"=>{:fields=>[]}, :FeedItemApprovalStatus=>{:fields=>[]}, :FeedItemQualityApprovalStatus=>{:fields=>[]}, :FeedItemQualityDisapprovalReasons=>{:fields=>[]}, :FeedItemValidationStatus=>{:fields=>[]}, :"Feed.Type"=>{:fields=>[]}, :GeoRestriction=>{:fields=>[]}, :"IdError.Reason"=>{:fields=>[]}, :"InternalApiError.Reason"=>{:fields=>[]}, :KeywordMatchType=>{:fields=>[]}, :LocationTargetingStatus=>{:fields=>[]}, :MinuteOfHour=>{:fields=>[]}, :"NotEmptyError.Reason"=>{:fields=>[]}, :"NullError.Reason"=>{:fields=>[]}, :"OperationAccessDenied.Reason"=>{:fields=>[]}, :Operator=>{:fields=>[]}, :"OperatorError.Reason"=>{:fields=>[]}, :"Predicate.Operator"=>{:fields=>[]}, :PriceExtensionPriceQualifier=>{:fields=>[]}, :PriceExtensionPriceUnit=>{:fields=>[]}, :PriceExtensionType=>{:fields=>[]}, :"QueryError.Reason"=>{:fields=>[]}, :"QuotaCheckError.Reason"=>{:fields=>[]}, :"RangeError.Reason"=>{:fields=>[]}, :"RateExceededError.Reason"=>{:fields=>[]}, :"ReadOnlyError.Reason"=>{:fields=>[]}, :"RejectedError.Reason"=>{:fields=>[]}, :"RequestError.Reason"=>{:fields=>[]}, :"RequiredError.Reason"=>{:fields=>[]}, :"SelectorError.Reason"=>{:fields=>[]}, :"SizeLimitError.Reason"=>{:fields=>[]}, :SortOrder=>{:fields=>[]}, :"StringFormatError.Reason"=>{:fields=>[]}, :"StringLengthError.Reason"=>{:fields=>[]}, :"UrlError.Reason"=>{:fields=>[]}, :"CriterionUserList.MembershipStatus"=>{:fields=>[]}}
16
- CUSTOMEREXTENSIONSETTINGSERVICE_NAMESPACES = []
17
-
18
- def self.get_method_signature(method_name)
19
- return CUSTOMEREXTENSIONSETTINGSERVICE_METHODS[method_name.to_sym]
20
- end
21
-
22
- def self.get_type_signature(type_name)
23
- return CUSTOMEREXTENSIONSETTINGSERVICE_TYPES[type_name.to_sym]
24
- end
25
-
26
- def self.get_namespace(index)
27
- return CUSTOMEREXTENSIONSETTINGSERVICE_NAMESPACES[index]
28
- end
29
- end
30
-
31
- # Base class for exceptions.
32
- class ApplicationException < AdwordsApi::Errors::ApiException
33
- attr_reader :message # string
34
- attr_reader :application_exception_type # string
35
- end
36
-
37
- # Exception class for holding a list of service errors.
38
- class ApiException < ApplicationException
39
- attr_reader :errors # ApiError
40
- def initialize(exception_fault)
41
- @array_fields ||= []
42
- @array_fields << 'errors'
43
- super(exception_fault, CustomerExtensionSettingServiceRegistry)
44
- end
45
- end
46
- end; end; end