google-adwords-api 0.2.1 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (705) hide show
  1. data/ChangeLog +4 -0
  2. data/README +3 -14
  3. data/Rakefile +58 -89
  4. data/examples/v200909/add_ad_extension_override.rb +9 -18
  5. data/examples/v200909/add_ad_group.rb +9 -18
  6. data/examples/v200909/add_ad_group_criteria.rb +9 -18
  7. data/examples/v200909/add_ads.rb +9 -18
  8. data/examples/v200909/add_campaign.rb +9 -18
  9. data/examples/v200909/add_campaign_ad_extension.rb +9 -18
  10. data/examples/v200909/add_negative_campaign_criterion.rb +9 -18
  11. data/examples/v200909/check_campaigns.rb +9 -18
  12. data/examples/v200909/delete_ad.rb +9 -18
  13. data/examples/v200909/delete_ad_group.rb +9 -18
  14. data/examples/v200909/delete_ad_group_criterion.rb +9 -18
  15. data/examples/v200909/delete_campaign.rb +9 -18
  16. data/examples/v200909/get_all_active_ad_group_criteria.rb +9 -18
  17. data/examples/v200909/get_all_ad_extension_overrides.rb +9 -18
  18. data/examples/v200909/get_all_ad_group_criteria.rb +9 -18
  19. data/examples/v200909/get_all_ad_groups.rb +9 -18
  20. data/examples/v200909/get_all_ad_params.rb +9 -18
  21. data/examples/v200909/get_all_ads.rb +9 -18
  22. data/examples/v200909/get_all_campaign_ad_extensions.rb +9 -18
  23. data/examples/v200909/get_all_campaign_targets.rb +9 -18
  24. data/examples/v200909/get_all_campaigns.rb +9 -18
  25. data/examples/v200909/get_all_disapproved_ads.rb +9 -18
  26. data/examples/v200909/get_all_paused_campaigns.rb +9 -18
  27. data/examples/v200909/get_conversion_optimizer_eligibility.rb +9 -18
  28. data/examples/v200909/get_geo_location_info.rb +9 -18
  29. data/examples/v200909/get_method_cost.rb +9 -18
  30. data/examples/v200909/get_operation_count.rb +9 -18
  31. data/examples/v200909/get_related_keywords.rb +10 -18
  32. data/examples/v200909/get_related_placements.rb +10 -18
  33. data/examples/v200909/get_total_usage_units_per_month.rb +9 -18
  34. data/examples/v200909/get_unit_count.rb +9 -18
  35. data/examples/v200909/perform_bulk_mutate_job.rb +9 -18
  36. data/examples/v200909/set_ad_params.rb +9 -18
  37. data/examples/v200909/set_campaign_targets.rb +9 -18
  38. data/examples/v200909/update_ad.rb +9 -18
  39. data/examples/v200909/update_ad_group.rb +9 -18
  40. data/examples/v200909/update_ad_group_criterion.rb +9 -18
  41. data/examples/v200909/update_campaign.rb +9 -18
  42. data/examples/v201003/add_ad_extension_override.rb +9 -18
  43. data/examples/v201003/add_ad_group.rb +9 -18
  44. data/examples/v201003/add_ad_group_criteria.rb +9 -18
  45. data/examples/v201003/add_ads.rb +9 -18
  46. data/examples/v201003/add_campaign.rb +9 -18
  47. data/examples/v201003/add_campaign_ad_extension.rb +9 -18
  48. data/examples/v201003/add_keywords_performance_report_definition.rb +9 -18
  49. data/examples/v201003/add_negative_campaign_criterion.rb +9 -18
  50. data/examples/v201003/check_campaigns.rb +9 -18
  51. data/examples/v201003/delete_ad.rb +9 -18
  52. data/examples/v201003/delete_ad_group.rb +9 -18
  53. data/examples/v201003/delete_ad_group_criterion.rb +9 -18
  54. data/examples/v201003/delete_campaign.rb +9 -18
  55. data/examples/v201003/download_report.rb +9 -18
  56. data/examples/v201003/get_all_active_ad_group_criteria.rb +9 -18
  57. data/examples/v201003/get_all_ad_extension_overrides.rb +9 -18
  58. data/examples/v201003/get_all_ad_group_criteria.rb +9 -18
  59. data/examples/v201003/get_all_ad_groups.rb +9 -18
  60. data/examples/v201003/get_all_ad_params.rb +9 -18
  61. data/examples/v201003/get_all_ads.rb +9 -18
  62. data/examples/v201003/get_all_campaign_ad_extensions.rb +9 -18
  63. data/examples/v201003/get_all_campaign_targets.rb +9 -18
  64. data/examples/v201003/get_all_campaigns.rb +9 -18
  65. data/examples/v201003/get_all_disapproved_ads.rb +9 -18
  66. data/examples/v201003/get_all_images.rb +10 -18
  67. data/examples/v201003/get_all_paused_campaigns.rb +9 -18
  68. data/examples/v201003/get_all_report_definitions.rb +9 -18
  69. data/examples/v201003/get_all_videos.rb +9 -18
  70. data/examples/v201003/get_conversion_optimizer_eligibility.rb +9 -18
  71. data/examples/v201003/get_criterion_bid_landscape.rb +9 -18
  72. data/examples/v201003/get_geo_location_info.rb +9 -18
  73. data/examples/v201003/get_method_cost.rb +9 -18
  74. data/examples/v201003/get_operation_count.rb +9 -18
  75. data/examples/v201003/get_related_keywords.rb +10 -18
  76. data/examples/v201003/get_related_placements.rb +10 -18
  77. data/examples/v201003/get_report_fields.rb +9 -18
  78. data/examples/v201003/get_total_usage_units_per_month.rb +9 -18
  79. data/examples/v201003/get_unit_count.rb +9 -18
  80. data/examples/v201003/perform_bulk_mutate_job.rb +9 -18
  81. data/examples/v201003/set_ad_params.rb +9 -18
  82. data/examples/v201003/set_campaign_targets.rb +9 -18
  83. data/examples/v201003/update_ad.rb +9 -18
  84. data/examples/v201003/update_ad_group.rb +9 -18
  85. data/examples/v201003/update_ad_group_criterion.rb +9 -18
  86. data/examples/v201003/update_campaign.rb +9 -18
  87. data/examples/v201003/upload_image.rb +10 -18
  88. data/examples/v201008/add_ad_extension_override.rb +9 -18
  89. data/examples/v201008/add_ad_group.rb +9 -18
  90. data/examples/v201008/add_ad_group_criteria.rb +9 -18
  91. data/examples/v201008/add_ads.rb +9 -18
  92. data/examples/v201008/add_campaign.rb +9 -18
  93. data/examples/v201008/add_campaign_ad_extension.rb +9 -18
  94. data/examples/v201008/add_experiment.rb +9 -18
  95. data/examples/v201008/add_keywords_performance_report_definition.rb +9 -18
  96. data/examples/v201008/add_negative_campaign_criterion.rb +9 -18
  97. data/examples/v201008/add_user_list.rb +9 -18
  98. data/examples/v201008/check_campaigns.rb +9 -18
  99. data/examples/v201008/delete_ad.rb +9 -18
  100. data/examples/v201008/delete_ad_group.rb +9 -18
  101. data/examples/v201008/delete_ad_group_criterion.rb +9 -18
  102. data/examples/v201008/delete_bulk_mutate_job.rb +9 -18
  103. data/examples/v201008/delete_campaign.rb +9 -18
  104. data/examples/v201008/delete_experiment.rb +9 -18
  105. data/examples/v201008/delete_user_list.rb +9 -18
  106. data/examples/v201008/download_report.rb +9 -18
  107. data/examples/v201008/get_account_hierarchy.rb +10 -18
  108. data/examples/v201008/get_all_account_changes.rb +9 -18
  109. data/examples/v201008/get_all_active_ad_group_criteria.rb +9 -18
  110. data/examples/v201008/get_all_ad_extension_overrides.rb +9 -18
  111. data/examples/v201008/get_all_ad_group_criteria.rb +9 -18
  112. data/examples/v201008/get_all_ad_groups.rb +9 -18
  113. data/examples/v201008/get_all_ad_params.rb +9 -18
  114. data/examples/v201008/get_all_ads.rb +9 -18
  115. data/examples/v201008/get_all_campaign_ad_extensions.rb +9 -18
  116. data/examples/v201008/get_all_campaign_targets.rb +9 -18
  117. data/examples/v201008/get_all_campaigns.rb +9 -18
  118. data/examples/v201008/get_all_disapproved_ads.rb +9 -18
  119. data/examples/v201008/get_all_experiments.rb +9 -18
  120. data/examples/v201008/get_all_images.rb +10 -18
  121. data/examples/v201008/get_all_paused_campaigns.rb +9 -18
  122. data/examples/v201008/get_all_report_definitions.rb +9 -18
  123. data/examples/v201008/get_all_user_lists.rb +9 -18
  124. data/examples/v201008/get_all_videos.rb +9 -18
  125. data/examples/v201008/get_bulk_mutate_job.rb +9 -18
  126. data/examples/v201008/get_campaign_alerts.rb +10 -18
  127. data/examples/v201008/get_conversion_optimizer_eligibility.rb +9 -18
  128. data/examples/v201008/get_criterion_bid_landscape.rb +9 -18
  129. data/examples/v201008/get_geo_location_info.rb +9 -18
  130. data/examples/v201008/get_method_cost.rb +9 -18
  131. data/examples/v201008/get_operation_count.rb +9 -18
  132. data/examples/v201008/get_related_keywords.rb +10 -18
  133. data/examples/v201008/get_related_placements.rb +10 -18
  134. data/examples/v201008/get_report_fields.rb +9 -18
  135. data/examples/v201008/get_total_usage_units_per_month.rb +9 -18
  136. data/examples/v201008/get_traffic_estimates.rb +9 -18
  137. data/examples/v201008/get_unit_count.rb +9 -18
  138. data/examples/v201008/handle_partial_failures.rb +10 -18
  139. data/examples/v201008/handle_policy_violation_error.rb +10 -18
  140. data/examples/v201008/perform_bulk_mutate_job.rb +9 -18
  141. data/examples/v201008/promote_experiment.rb +9 -18
  142. data/examples/v201008/set_ad_params.rb +9 -18
  143. data/examples/v201008/set_campaign_targets.rb +9 -18
  144. data/examples/v201008/update_ad.rb +9 -18
  145. data/examples/v201008/update_ad_group.rb +9 -18
  146. data/examples/v201008/update_ad_group_criterion.rb +9 -18
  147. data/examples/v201008/update_campaign.rb +9 -18
  148. data/examples/v201008/update_user_list.rb +9 -18
  149. data/examples/v201008/upload_image.rb +10 -18
  150. data/examples/v201101/add_ad_extension_override.rb +9 -18
  151. data/examples/v201101/add_ad_group.rb +9 -18
  152. data/examples/v201101/add_ad_group_criteria.rb +9 -18
  153. data/examples/v201101/add_ads.rb +9 -18
  154. data/examples/v201101/add_campaign.rb +9 -18
  155. data/examples/v201101/add_campaign_ad_extension.rb +9 -18
  156. data/examples/v201101/add_conversion.rb +9 -18
  157. data/examples/v201101/add_experiment.rb +9 -18
  158. data/examples/v201101/add_keywords_performance_report_definition.rb +9 -18
  159. data/examples/v201101/add_mcc_report_definition.rb +9 -18
  160. data/examples/v201101/add_negative_campaign_criterion.rb +9 -18
  161. data/examples/v201101/add_user_list.rb +9 -18
  162. data/examples/v201101/check_campaigns.rb +9 -18
  163. data/examples/v201101/delete_ad.rb +9 -18
  164. data/examples/v201101/delete_ad_group.rb +9 -18
  165. data/examples/v201101/delete_ad_group_criterion.rb +9 -18
  166. data/examples/v201101/delete_bulk_mutate_job.rb +9 -18
  167. data/examples/v201101/delete_campaign.rb +9 -18
  168. data/examples/v201101/delete_experiment.rb +9 -18
  169. data/examples/v201101/delete_user_list.rb +9 -18
  170. data/examples/v201101/download_mcc_report.rb +9 -18
  171. data/examples/v201101/download_mcc_report_as_file.rb +9 -18
  172. data/examples/v201101/download_report.rb +9 -18
  173. data/examples/v201101/get_account_hierarchy.rb +10 -18
  174. data/examples/v201101/get_ad_group_bid_landscape.rb +9 -18
  175. data/examples/v201101/get_all_account_changes.rb +9 -18
  176. data/examples/v201101/get_all_active_ad_group_criteria.rb +9 -18
  177. data/examples/v201101/get_all_ad_extension_overrides.rb +9 -18
  178. data/examples/v201101/get_all_ad_group_criteria.rb +9 -18
  179. data/examples/v201101/get_all_ad_groups.rb +9 -18
  180. data/examples/v201101/get_all_ad_params.rb +9 -18
  181. data/examples/v201101/get_all_ads.rb +9 -18
  182. data/examples/v201101/get_all_campaign_ad_extensions.rb +9 -18
  183. data/examples/v201101/get_all_campaign_targets.rb +9 -18
  184. data/examples/v201101/get_all_campaigns.rb +9 -18
  185. data/examples/v201101/get_all_conversions.rb +9 -18
  186. data/examples/v201101/get_all_disapproved_ads.rb +9 -18
  187. data/examples/v201101/get_all_experiments.rb +9 -18
  188. data/examples/v201101/get_all_images.rb +10 -18
  189. data/examples/v201101/get_all_paused_campaigns.rb +9 -18
  190. data/examples/v201101/get_all_report_definitions.rb +9 -18
  191. data/examples/v201101/get_all_user_lists.rb +9 -18
  192. data/examples/v201101/get_all_videos.rb +9 -18
  193. data/examples/v201101/get_bulk_mutate_job.rb +9 -18
  194. data/examples/v201101/get_campaign_alerts.rb +10 -18
  195. data/examples/v201101/get_conversion_optimizer_eligibility.rb +9 -18
  196. data/examples/v201101/get_criterion_bid_landscape.rb +9 -18
  197. data/examples/v201101/get_geo_location_info.rb +9 -18
  198. data/examples/v201101/get_keyword_opportunities.rb +10 -18
  199. data/examples/v201101/get_method_cost.rb +9 -18
  200. data/examples/v201101/get_operation_count.rb +9 -18
  201. data/examples/v201101/get_related_keywords.rb +10 -18
  202. data/examples/v201101/get_related_placements.rb +10 -18
  203. data/examples/v201101/get_report_fields.rb +9 -18
  204. data/examples/v201101/get_total_usage_units_per_month.rb +9 -18
  205. data/examples/v201101/get_traffic_estimates.rb +9 -18
  206. data/examples/v201101/get_unit_count.rb +9 -18
  207. data/examples/v201101/handle_partial_failures.rb +10 -18
  208. data/examples/v201101/handle_policy_violation_error.rb +10 -18
  209. data/examples/v201101/handle_second_factor.rb +9 -18
  210. data/examples/v201101/oauth_handling.rb +9 -18
  211. data/examples/v201101/perform_bulk_mutate_job.rb +9 -18
  212. data/examples/v201101/promote_experiment.rb +9 -18
  213. data/examples/v201101/set_ad_params.rb +9 -18
  214. data/examples/v201101/set_campaign_targets.rb +9 -18
  215. data/examples/v201101/update_ad.rb +9 -18
  216. data/examples/v201101/update_ad_group.rb +9 -18
  217. data/examples/v201101/update_ad_group_criterion.rb +9 -18
  218. data/examples/v201101/update_campaign.rb +9 -18
  219. data/examples/v201101/update_conversion.rb +9 -18
  220. data/examples/v201101/update_user_list.rb +9 -18
  221. data/examples/v201101/upload_image.rb +10 -18
  222. data/lib/adwords_api.rb +53 -112
  223. data/lib/adwords_api/api_config.rb +11 -3
  224. data/lib/adwords_api/client_login_header_handler.rb +76 -0
  225. data/lib/adwords_api/errors.rb +22 -51
  226. data/lib/adwords_api/extensions.rb +16 -19
  227. data/lib/adwords_api/utils.rb +2 -9
  228. data/lib/adwords_api/v13/account_service.rb +48 -0
  229. data/lib/adwords_api/v13/account_service_registry.rb +39 -0
  230. data/lib/adwords_api/v13/report_service.rb +65 -0
  231. data/lib/adwords_api/v13/report_service_registry.rb +39 -0
  232. data/lib/adwords_api/v13/traffic_estimator_service.rb +44 -0
  233. data/lib/adwords_api/v13/traffic_estimator_service_registry.rb +39 -0
  234. data/lib/adwords_api/{auth/v13_login_handler.rb → v13_login_handler.rb} +4 -6
  235. data/lib/adwords_api/v200909/ad_extension_override_service.rb +36 -0
  236. data/lib/adwords_api/v200909/ad_extension_override_service_registry.rb +42 -0
  237. data/lib/adwords_api/v200909/ad_group_ad_service.rb +36 -0
  238. data/lib/adwords_api/v200909/ad_group_ad_service_registry.rb +42 -0
  239. data/lib/adwords_api/v200909/ad_group_criterion_service.rb +36 -0
  240. data/lib/adwords_api/v200909/ad_group_criterion_service_registry.rb +42 -0
  241. data/lib/adwords_api/v200909/ad_group_service.rb +36 -0
  242. data/lib/adwords_api/v200909/ad_group_service_registry.rb +42 -0
  243. data/lib/adwords_api/v200909/ad_param_service.rb +36 -0
  244. data/lib/adwords_api/v200909/ad_param_service_registry.rb +42 -0
  245. data/lib/adwords_api/v200909/bulk_mutate_job_service.rb +36 -0
  246. data/lib/adwords_api/v200909/bulk_mutate_job_service_registry.rb +42 -0
  247. data/lib/adwords_api/v200909/campaign_ad_extension_service.rb +36 -0
  248. data/lib/adwords_api/v200909/campaign_ad_extension_service_registry.rb +42 -0
  249. data/lib/adwords_api/v200909/campaign_criterion_service.rb +36 -0
  250. data/lib/adwords_api/v200909/campaign_criterion_service_registry.rb +42 -0
  251. data/lib/adwords_api/v200909/campaign_service.rb +36 -0
  252. data/lib/adwords_api/v200909/campaign_service_registry.rb +42 -0
  253. data/lib/adwords_api/v200909/campaign_target_service.rb +36 -0
  254. data/lib/adwords_api/v200909/campaign_target_service_registry.rb +42 -0
  255. data/lib/adwords_api/v200909/geo_location_service.rb +32 -0
  256. data/lib/adwords_api/v200909/geo_location_service_registry.rb +42 -0
  257. data/lib/adwords_api/v200909/info_service.rb +32 -0
  258. data/lib/adwords_api/v200909/info_service_registry.rb +42 -0
  259. data/lib/adwords_api/v200909/targeting_idea_service.rb +36 -0
  260. data/lib/adwords_api/v200909/targeting_idea_service_registry.rb +42 -0
  261. data/lib/adwords_api/v201003/ad_extension_override_service.rb +36 -0
  262. data/lib/adwords_api/v201003/ad_extension_override_service_registry.rb +42 -0
  263. data/lib/adwords_api/v201003/ad_group_ad_service.rb +36 -0
  264. data/lib/adwords_api/v201003/ad_group_ad_service_registry.rb +42 -0
  265. data/lib/adwords_api/v201003/ad_group_criterion_service.rb +36 -0
  266. data/lib/adwords_api/v201003/ad_group_criterion_service_registry.rb +42 -0
  267. data/lib/adwords_api/v201003/ad_group_service.rb +36 -0
  268. data/lib/adwords_api/v201003/ad_group_service_registry.rb +42 -0
  269. data/lib/adwords_api/v201003/ad_param_service.rb +36 -0
  270. data/lib/adwords_api/v201003/ad_param_service_registry.rb +42 -0
  271. data/lib/adwords_api/v201003/bid_landscape_service.rb +32 -0
  272. data/lib/adwords_api/v201003/bid_landscape_service_registry.rb +42 -0
  273. data/lib/adwords_api/v201003/bulk_mutate_job_service.rb +36 -0
  274. data/lib/adwords_api/v201003/bulk_mutate_job_service_registry.rb +42 -0
  275. data/lib/adwords_api/v201003/campaign_ad_extension_service.rb +36 -0
  276. data/lib/adwords_api/v201003/campaign_ad_extension_service_registry.rb +42 -0
  277. data/lib/adwords_api/v201003/campaign_criterion_service.rb +36 -0
  278. data/lib/adwords_api/v201003/campaign_criterion_service_registry.rb +42 -0
  279. data/lib/adwords_api/v201003/campaign_service.rb +36 -0
  280. data/lib/adwords_api/v201003/campaign_service_registry.rb +42 -0
  281. data/lib/adwords_api/v201003/campaign_target_service.rb +36 -0
  282. data/lib/adwords_api/v201003/campaign_target_service_registry.rb +42 -0
  283. data/lib/adwords_api/v201003/geo_location_service.rb +32 -0
  284. data/lib/adwords_api/v201003/geo_location_service_registry.rb +42 -0
  285. data/lib/adwords_api/v201003/info_service.rb +32 -0
  286. data/lib/adwords_api/v201003/info_service_registry.rb +42 -0
  287. data/lib/adwords_api/v201003/media_service.rb +36 -0
  288. data/lib/adwords_api/v201003/media_service_registry.rb +42 -0
  289. data/lib/adwords_api/v201003/report_definition_service.rb +49 -0
  290. data/lib/adwords_api/v201003/report_definition_service_registry.rb +42 -0
  291. data/lib/adwords_api/v201003/targeting_idea_service.rb +36 -0
  292. data/lib/adwords_api/v201003/targeting_idea_service_registry.rb +42 -0
  293. data/lib/adwords_api/v201008/ad_extension_override_service.rb +36 -0
  294. data/lib/adwords_api/v201008/ad_extension_override_service_registry.rb +42 -0
  295. data/lib/adwords_api/v201008/ad_group_ad_service.rb +36 -0
  296. data/lib/adwords_api/v201008/ad_group_ad_service_registry.rb +42 -0
  297. data/lib/adwords_api/v201008/ad_group_criterion_service.rb +36 -0
  298. data/lib/adwords_api/v201008/ad_group_criterion_service_registry.rb +42 -0
  299. data/lib/adwords_api/v201008/ad_group_service.rb +36 -0
  300. data/lib/adwords_api/v201008/ad_group_service_registry.rb +42 -0
  301. data/lib/adwords_api/v201008/ad_param_service.rb +36 -0
  302. data/lib/adwords_api/v201008/ad_param_service_registry.rb +42 -0
  303. data/lib/adwords_api/v201008/alert_service.rb +32 -0
  304. data/lib/adwords_api/v201008/alert_service_registry.rb +42 -0
  305. data/lib/adwords_api/v201008/bid_landscape_service.rb +32 -0
  306. data/lib/adwords_api/v201008/bid_landscape_service_registry.rb +42 -0
  307. data/lib/adwords_api/v201008/bulk_mutate_job_service.rb +36 -0
  308. data/lib/adwords_api/v201008/bulk_mutate_job_service_registry.rb +42 -0
  309. data/lib/adwords_api/v201008/campaign_ad_extension_service.rb +36 -0
  310. data/lib/adwords_api/v201008/campaign_ad_extension_service_registry.rb +42 -0
  311. data/lib/adwords_api/v201008/campaign_criterion_service.rb +36 -0
  312. data/lib/adwords_api/v201008/campaign_criterion_service_registry.rb +42 -0
  313. data/lib/adwords_api/v201008/campaign_service.rb +36 -0
  314. data/lib/adwords_api/v201008/campaign_service_registry.rb +42 -0
  315. data/lib/adwords_api/v201008/campaign_target_service.rb +36 -0
  316. data/lib/adwords_api/v201008/campaign_target_service_registry.rb +42 -0
  317. data/lib/adwords_api/v201008/customer_sync_service.rb +32 -0
  318. data/lib/adwords_api/v201008/customer_sync_service_registry.rb +43 -0
  319. data/lib/adwords_api/v201008/experiment_service.rb +36 -0
  320. data/lib/adwords_api/v201008/experiment_service_registry.rb +42 -0
  321. data/lib/adwords_api/v201008/geo_location_service.rb +32 -0
  322. data/lib/adwords_api/v201008/geo_location_service_registry.rb +42 -0
  323. data/lib/adwords_api/v201008/info_service.rb +32 -0
  324. data/lib/adwords_api/v201008/info_service_registry.rb +42 -0
  325. data/lib/adwords_api/v201008/media_service.rb +36 -0
  326. data/lib/adwords_api/v201008/media_service_registry.rb +42 -0
  327. data/lib/adwords_api/v201008/report_definition_service.rb +49 -0
  328. data/lib/adwords_api/v201008/report_definition_service_registry.rb +42 -0
  329. data/lib/adwords_api/v201008/serviced_account_service.rb +32 -0
  330. data/lib/adwords_api/v201008/serviced_account_service_registry.rb +42 -0
  331. data/lib/adwords_api/v201008/targeting_idea_service.rb +36 -0
  332. data/lib/adwords_api/v201008/targeting_idea_service_registry.rb +42 -0
  333. data/lib/adwords_api/v201008/traffic_estimator_service.rb +32 -0
  334. data/lib/adwords_api/v201008/traffic_estimator_service_registry.rb +42 -0
  335. data/lib/adwords_api/v201008/user_list_service.rb +36 -0
  336. data/lib/adwords_api/v201008/user_list_service_registry.rb +42 -0
  337. data/lib/adwords_api/v201101/ad_extension_override_service.rb +36 -0
  338. data/lib/adwords_api/v201101/ad_extension_override_service_registry.rb +42 -0
  339. data/lib/adwords_api/v201101/ad_group_ad_service.rb +36 -0
  340. data/lib/adwords_api/v201101/ad_group_ad_service_registry.rb +42 -0
  341. data/lib/adwords_api/v201101/ad_group_criterion_service.rb +36 -0
  342. data/lib/adwords_api/v201101/ad_group_criterion_service_registry.rb +42 -0
  343. data/lib/adwords_api/v201101/ad_group_service.rb +36 -0
  344. data/lib/adwords_api/v201101/ad_group_service_registry.rb +42 -0
  345. data/lib/adwords_api/v201101/ad_param_service.rb +36 -0
  346. data/lib/adwords_api/v201101/ad_param_service_registry.rb +42 -0
  347. data/lib/adwords_api/v201101/alert_service.rb +32 -0
  348. data/lib/adwords_api/v201101/alert_service_registry.rb +42 -0
  349. data/lib/adwords_api/v201101/bulk_mutate_job_service.rb +36 -0
  350. data/lib/adwords_api/v201101/bulk_mutate_job_service_registry.rb +42 -0
  351. data/lib/adwords_api/v201101/bulk_opportunity_service.rb +32 -0
  352. data/lib/adwords_api/v201101/bulk_opportunity_service_registry.rb +42 -0
  353. data/lib/adwords_api/v201101/campaign_ad_extension_service.rb +36 -0
  354. data/lib/adwords_api/v201101/campaign_ad_extension_service_registry.rb +42 -0
  355. data/lib/adwords_api/v201101/campaign_criterion_service.rb +36 -0
  356. data/lib/adwords_api/v201101/campaign_criterion_service_registry.rb +42 -0
  357. data/lib/adwords_api/v201101/campaign_service.rb +36 -0
  358. data/lib/adwords_api/v201101/campaign_service_registry.rb +42 -0
  359. data/lib/adwords_api/v201101/campaign_target_service.rb +36 -0
  360. data/lib/adwords_api/v201101/campaign_target_service_registry.rb +42 -0
  361. data/lib/adwords_api/v201101/conversion_tracker_service.rb +36 -0
  362. data/lib/adwords_api/v201101/conversion_tracker_service_registry.rb +42 -0
  363. data/lib/adwords_api/v201101/customer_sync_service.rb +32 -0
  364. data/lib/adwords_api/v201101/customer_sync_service_registry.rb +43 -0
  365. data/lib/adwords_api/v201101/data_service.rb +36 -0
  366. data/lib/adwords_api/v201101/data_service_registry.rb +42 -0
  367. data/lib/adwords_api/v201101/experiment_service.rb +36 -0
  368. data/lib/adwords_api/v201101/experiment_service_registry.rb +42 -0
  369. data/lib/adwords_api/v201101/geo_location_service.rb +32 -0
  370. data/lib/adwords_api/v201101/geo_location_service_registry.rb +42 -0
  371. data/lib/adwords_api/v201101/info_service.rb +32 -0
  372. data/lib/adwords_api/v201101/info_service_registry.rb +42 -0
  373. data/lib/adwords_api/v201101/media_service.rb +36 -0
  374. data/lib/adwords_api/v201101/media_service_registry.rb +42 -0
  375. data/lib/adwords_api/v201101/report_definition_service.rb +57 -0
  376. data/lib/adwords_api/v201101/report_definition_service_registry.rb +42 -0
  377. data/lib/adwords_api/v201101/serviced_account_service.rb +32 -0
  378. data/lib/adwords_api/v201101/serviced_account_service_registry.rb +42 -0
  379. data/lib/adwords_api/v201101/targeting_idea_service.rb +36 -0
  380. data/lib/adwords_api/v201101/targeting_idea_service_registry.rb +42 -0
  381. data/lib/adwords_api/v201101/traffic_estimator_service.rb +32 -0
  382. data/lib/adwords_api/v201101/traffic_estimator_service_registry.rb +42 -0
  383. data/lib/adwords_api/v201101/user_list_service.rb +36 -0
  384. data/lib/adwords_api/v201101/user_list_service_registry.rb +42 -0
  385. metadata +185 -374
  386. data/adwords_api.yml +0 -39
  387. data/lib/adwords_api/nested_header_handler.rb +0 -47
  388. data/lib/adwords_api/single_header_handler.rb +0 -41
  389. data/lib/adwords_api/soap4r/rake_common.rb +0 -345
  390. data/lib/adwords_api/soap4r/soap4r_generator.rb +0 -564
  391. data/lib/adwords_api/soap4r/soap4r_logger.rb +0 -44
  392. data/lib/adwords_api/soap4r/soap4r_patches.rb +0 -210
  393. data/lib/adwords_api/soap4r/soap4r_response_handler.rb +0 -148
  394. data/lib/adwords_api/v13/AccountService.rb +0 -321
  395. data/lib/adwords_api/v13/AccountServiceDriver.rb +0 -87
  396. data/lib/adwords_api/v13/AccountServiceMappingRegistry.rb +0 -337
  397. data/lib/adwords_api/v13/AccountServiceWrapper.rb +0 -407
  398. data/lib/adwords_api/v13/ReportService.rb +0 -328
  399. data/lib/adwords_api/v13/ReportServiceDriver.rb +0 -103
  400. data/lib/adwords_api/v13/ReportServiceMappingRegistry.rb +0 -298
  401. data/lib/adwords_api/v13/ReportServiceWrapper.rb +0 -500
  402. data/lib/adwords_api/v13/TrafficEstimatorService.rb +0 -414
  403. data/lib/adwords_api/v13/TrafficEstimatorServiceDriver.rb +0 -79
  404. data/lib/adwords_api/v13/TrafficEstimatorServiceMappingRegistry.rb +0 -491
  405. data/lib/adwords_api/v13/TrafficEstimatorServiceWrapper.rb +0 -402
  406. data/lib/adwords_api/v200909/AdExtensionOverrideService.rb +0 -1105
  407. data/lib/adwords_api/v200909/AdExtensionOverrideServiceDriver.rb +0 -63
  408. data/lib/adwords_api/v200909/AdExtensionOverrideServiceMappingRegistry.rb +0 -1265
  409. data/lib/adwords_api/v200909/AdExtensionOverrideServiceWrapper.rb +0 -332
  410. data/lib/adwords_api/v200909/AdGroupAdService.rb +0 -2603
  411. data/lib/adwords_api/v200909/AdGroupAdServiceDriver.rb +0 -63
  412. data/lib/adwords_api/v200909/AdGroupAdServiceMappingRegistry.rb +0 -2755
  413. data/lib/adwords_api/v200909/AdGroupAdServiceWrapper.rb +0 -332
  414. data/lib/adwords_api/v200909/AdGroupCriterionService.rb +0 -1577
  415. data/lib/adwords_api/v200909/AdGroupCriterionServiceDriver.rb +0 -63
  416. data/lib/adwords_api/v200909/AdGroupCriterionServiceMappingRegistry.rb +0 -1821
  417. data/lib/adwords_api/v200909/AdGroupCriterionServiceWrapper.rb +0 -332
  418. data/lib/adwords_api/v200909/AdGroupService.rb +0 -1251
  419. data/lib/adwords_api/v200909/AdGroupServiceDriver.rb +0 -63
  420. data/lib/adwords_api/v200909/AdGroupServiceMappingRegistry.rb +0 -1395
  421. data/lib/adwords_api/v200909/AdGroupServiceWrapper.rb +0 -332
  422. data/lib/adwords_api/v200909/AdParamService.rb +0 -765
  423. data/lib/adwords_api/v200909/AdParamServiceDriver.rb +0 -63
  424. data/lib/adwords_api/v200909/AdParamServiceMappingRegistry.rb +0 -927
  425. data/lib/adwords_api/v200909/AdParamServiceWrapper.rb +0 -332
  426. data/lib/adwords_api/v200909/BulkMutateJobService.rb +0 -4778
  427. data/lib/adwords_api/v200909/BulkMutateJobServiceDriver.rb +0 -63
  428. data/lib/adwords_api/v200909/BulkMutateJobServiceMappingRegistry.rb +0 -5077
  429. data/lib/adwords_api/v200909/BulkMutateJobServiceWrapper.rb +0 -332
  430. data/lib/adwords_api/v200909/CampaignAdExtensionService.rb +0 -1065
  431. data/lib/adwords_api/v200909/CampaignAdExtensionServiceDriver.rb +0 -63
  432. data/lib/adwords_api/v200909/CampaignAdExtensionServiceMappingRegistry.rb +0 -1273
  433. data/lib/adwords_api/v200909/CampaignAdExtensionServiceWrapper.rb +0 -332
  434. data/lib/adwords_api/v200909/CampaignCriterionService.rb +0 -1019
  435. data/lib/adwords_api/v200909/CampaignCriterionServiceDriver.rb +0 -63
  436. data/lib/adwords_api/v200909/CampaignCriterionServiceMappingRegistry.rb +0 -1237
  437. data/lib/adwords_api/v200909/CampaignCriterionServiceWrapper.rb +0 -332
  438. data/lib/adwords_api/v200909/CampaignService.rb +0 -1633
  439. data/lib/adwords_api/v200909/CampaignServiceDriver.rb +0 -63
  440. data/lib/adwords_api/v200909/CampaignServiceMappingRegistry.rb +0 -1785
  441. data/lib/adwords_api/v200909/CampaignServiceWrapper.rb +0 -332
  442. data/lib/adwords_api/v200909/CampaignTargetService.rb +0 -1435
  443. data/lib/adwords_api/v200909/CampaignTargetServiceDriver.rb +0 -63
  444. data/lib/adwords_api/v200909/CampaignTargetServiceMappingRegistry.rb +0 -1569
  445. data/lib/adwords_api/v200909/CampaignTargetServiceWrapper.rb +0 -332
  446. data/lib/adwords_api/v200909/GeoLocationService.rb +0 -611
  447. data/lib/adwords_api/v200909/GeoLocationServiceDriver.rb +0 -55
  448. data/lib/adwords_api/v200909/GeoLocationServiceMappingRegistry.rb +0 -771
  449. data/lib/adwords_api/v200909/GeoLocationServiceWrapper.rb +0 -303
  450. data/lib/adwords_api/v200909/InfoService.rb +0 -605
  451. data/lib/adwords_api/v200909/InfoServiceDriver.rb +0 -55
  452. data/lib/adwords_api/v200909/InfoServiceMappingRegistry.rb +0 -764
  453. data/lib/adwords_api/v200909/InfoServiceWrapper.rb +0 -303
  454. data/lib/adwords_api/v200909/TargetingIdeaService.rb +0 -2253
  455. data/lib/adwords_api/v200909/TargetingIdeaServiceDriver.rb +0 -63
  456. data/lib/adwords_api/v200909/TargetingIdeaServiceMappingRegistry.rb +0 -2688
  457. data/lib/adwords_api/v200909/TargetingIdeaServiceWrapper.rb +0 -335
  458. data/lib/adwords_api/v201003/AdExtensionOverrideService.rb +0 -1301
  459. data/lib/adwords_api/v201003/AdExtensionOverrideServiceDriver.rb +0 -63
  460. data/lib/adwords_api/v201003/AdExtensionOverrideServiceMappingRegistry.rb +0 -1468
  461. data/lib/adwords_api/v201003/AdExtensionOverrideServiceWrapper.rb +0 -332
  462. data/lib/adwords_api/v201003/AdGroupAdService.rb +0 -2909
  463. data/lib/adwords_api/v201003/AdGroupAdServiceDriver.rb +0 -63
  464. data/lib/adwords_api/v201003/AdGroupAdServiceMappingRegistry.rb +0 -2970
  465. data/lib/adwords_api/v201003/AdGroupAdServiceWrapper.rb +0 -332
  466. data/lib/adwords_api/v201003/AdGroupCriterionService.rb +0 -1762
  467. data/lib/adwords_api/v201003/AdGroupCriterionServiceDriver.rb +0 -63
  468. data/lib/adwords_api/v201003/AdGroupCriterionServiceMappingRegistry.rb +0 -1978
  469. data/lib/adwords_api/v201003/AdGroupCriterionServiceWrapper.rb +0 -332
  470. data/lib/adwords_api/v201003/AdGroupService.rb +0 -1421
  471. data/lib/adwords_api/v201003/AdGroupServiceDriver.rb +0 -63
  472. data/lib/adwords_api/v201003/AdGroupServiceMappingRegistry.rb +0 -1546
  473. data/lib/adwords_api/v201003/AdGroupServiceWrapper.rb +0 -332
  474. data/lib/adwords_api/v201003/AdParamService.rb +0 -859
  475. data/lib/adwords_api/v201003/AdParamServiceDriver.rb +0 -63
  476. data/lib/adwords_api/v201003/AdParamServiceMappingRegistry.rb +0 -1002
  477. data/lib/adwords_api/v201003/AdParamServiceWrapper.rb +0 -332
  478. data/lib/adwords_api/v201003/BidLandscapeService.rb +0 -847
  479. data/lib/adwords_api/v201003/BidLandscapeServiceDriver.rb +0 -55
  480. data/lib/adwords_api/v201003/BidLandscapeServiceMappingRegistry.rb +0 -958
  481. data/lib/adwords_api/v201003/BidLandscapeServiceWrapper.rb +0 -306
  482. data/lib/adwords_api/v201003/BulkMutateJobService.rb +0 -5401
  483. data/lib/adwords_api/v201003/BulkMutateJobServiceDriver.rb +0 -63
  484. data/lib/adwords_api/v201003/BulkMutateJobServiceMappingRegistry.rb +0 -5600
  485. data/lib/adwords_api/v201003/BulkMutateJobServiceWrapper.rb +0 -332
  486. data/lib/adwords_api/v201003/CampaignAdExtensionService.rb +0 -1255
  487. data/lib/adwords_api/v201003/CampaignAdExtensionServiceDriver.rb +0 -63
  488. data/lib/adwords_api/v201003/CampaignAdExtensionServiceMappingRegistry.rb +0 -1452
  489. data/lib/adwords_api/v201003/CampaignAdExtensionServiceWrapper.rb +0 -332
  490. data/lib/adwords_api/v201003/CampaignCriterionService.rb +0 -1145
  491. data/lib/adwords_api/v201003/CampaignCriterionServiceDriver.rb +0 -63
  492. data/lib/adwords_api/v201003/CampaignCriterionServiceMappingRegistry.rb +0 -1344
  493. data/lib/adwords_api/v201003/CampaignCriterionServiceWrapper.rb +0 -332
  494. data/lib/adwords_api/v201003/CampaignService.rb +0 -1901
  495. data/lib/adwords_api/v201003/CampaignServiceDriver.rb +0 -63
  496. data/lib/adwords_api/v201003/CampaignServiceMappingRegistry.rb +0 -2010
  497. data/lib/adwords_api/v201003/CampaignServiceWrapper.rb +0 -332
  498. data/lib/adwords_api/v201003/CampaignTargetService.rb +0 -1642
  499. data/lib/adwords_api/v201003/CampaignTargetServiceDriver.rb +0 -63
  500. data/lib/adwords_api/v201003/CampaignTargetServiceMappingRegistry.rb +0 -1754
  501. data/lib/adwords_api/v201003/CampaignTargetServiceWrapper.rb +0 -332
  502. data/lib/adwords_api/v201003/GeoLocationService.rb +0 -692
  503. data/lib/adwords_api/v201003/GeoLocationServiceDriver.rb +0 -55
  504. data/lib/adwords_api/v201003/GeoLocationServiceMappingRegistry.rb +0 -840
  505. data/lib/adwords_api/v201003/GeoLocationServiceWrapper.rb +0 -303
  506. data/lib/adwords_api/v201003/InfoService.rb +0 -687
  507. data/lib/adwords_api/v201003/InfoServiceDriver.rb +0 -55
  508. data/lib/adwords_api/v201003/InfoServiceMappingRegistry.rb +0 -833
  509. data/lib/adwords_api/v201003/InfoServiceWrapper.rb +0 -303
  510. data/lib/adwords_api/v201003/MediaService.rb +0 -1192
  511. data/lib/adwords_api/v201003/MediaServiceDriver.rb +0 -63
  512. data/lib/adwords_api/v201003/MediaServiceMappingRegistry.rb +0 -1290
  513. data/lib/adwords_api/v201003/MediaServiceWrapper.rb +0 -332
  514. data/lib/adwords_api/v201003/ReportDefinitionService.rb +0 -905
  515. data/lib/adwords_api/v201003/ReportDefinitionServiceDriver.rb +0 -71
  516. data/lib/adwords_api/v201003/ReportDefinitionServiceMappingRegistry.rb +0 -1036
  517. data/lib/adwords_api/v201003/ReportDefinitionServiceWrapper.rb +0 -378
  518. data/lib/adwords_api/v201003/TargetingIdeaService.rb +0 -2517
  519. data/lib/adwords_api/v201003/TargetingIdeaServiceDriver.rb +0 -63
  520. data/lib/adwords_api/v201003/TargetingIdeaServiceMappingRegistry.rb +0 -2925
  521. data/lib/adwords_api/v201003/TargetingIdeaServiceWrapper.rb +0 -335
  522. data/lib/adwords_api/v201008/AdExtensionOverrideService.rb +0 -1383
  523. data/lib/adwords_api/v201008/AdExtensionOverrideServiceDriver.rb +0 -63
  524. data/lib/adwords_api/v201008/AdExtensionOverrideServiceMappingRegistry.rb +0 -1563
  525. data/lib/adwords_api/v201008/AdExtensionOverrideServiceWrapper.rb +0 -332
  526. data/lib/adwords_api/v201008/AdGroupAdService.rb +0 -2928
  527. data/lib/adwords_api/v201008/AdGroupAdServiceDriver.rb +0 -63
  528. data/lib/adwords_api/v201008/AdGroupAdServiceMappingRegistry.rb +0 -2969
  529. data/lib/adwords_api/v201008/AdGroupAdServiceWrapper.rb +0 -332
  530. data/lib/adwords_api/v201008/AdGroupCriterionService.rb +0 -1981
  531. data/lib/adwords_api/v201008/AdGroupCriterionServiceDriver.rb +0 -63
  532. data/lib/adwords_api/v201008/AdGroupCriterionServiceMappingRegistry.rb +0 -2229
  533. data/lib/adwords_api/v201008/AdGroupCriterionServiceWrapper.rb +0 -332
  534. data/lib/adwords_api/v201008/AdGroupService.rb +0 -1548
  535. data/lib/adwords_api/v201008/AdGroupServiceDriver.rb +0 -63
  536. data/lib/adwords_api/v201008/AdGroupServiceMappingRegistry.rb +0 -1687
  537. data/lib/adwords_api/v201008/AdGroupServiceWrapper.rb +0 -332
  538. data/lib/adwords_api/v201008/AdParamService.rb +0 -889
  539. data/lib/adwords_api/v201008/AdParamServiceDriver.rb +0 -63
  540. data/lib/adwords_api/v201008/AdParamServiceMappingRegistry.rb +0 -1041
  541. data/lib/adwords_api/v201008/AdParamServiceWrapper.rb +0 -332
  542. data/lib/adwords_api/v201008/AlertService.rb +0 -743
  543. data/lib/adwords_api/v201008/AlertServiceDriver.rb +0 -55
  544. data/lib/adwords_api/v201008/AlertServiceMappingRegistry.rb +0 -836
  545. data/lib/adwords_api/v201008/AlertServiceWrapper.rb +0 -303
  546. data/lib/adwords_api/v201008/BidLandscapeService.rb +0 -928
  547. data/lib/adwords_api/v201008/BidLandscapeServiceDriver.rb +0 -55
  548. data/lib/adwords_api/v201008/BidLandscapeServiceMappingRegistry.rb +0 -1059
  549. data/lib/adwords_api/v201008/BidLandscapeServiceWrapper.rb +0 -306
  550. data/lib/adwords_api/v201008/BulkMutateJobService.rb +0 -6063
  551. data/lib/adwords_api/v201008/BulkMutateJobServiceDriver.rb +0 -63
  552. data/lib/adwords_api/v201008/BulkMutateJobServiceMappingRegistry.rb +0 -6265
  553. data/lib/adwords_api/v201008/BulkMutateJobServiceWrapper.rb +0 -332
  554. data/lib/adwords_api/v201008/CampaignAdExtensionService.rb +0 -1594
  555. data/lib/adwords_api/v201008/CampaignAdExtensionServiceDriver.rb +0 -63
  556. data/lib/adwords_api/v201008/CampaignAdExtensionServiceMappingRegistry.rb +0 -1789
  557. data/lib/adwords_api/v201008/CampaignAdExtensionServiceWrapper.rb +0 -332
  558. data/lib/adwords_api/v201008/CampaignCriterionService.rb +0 -1243
  559. data/lib/adwords_api/v201008/CampaignCriterionServiceDriver.rb +0 -63
  560. data/lib/adwords_api/v201008/CampaignCriterionServiceMappingRegistry.rb +0 -1467
  561. data/lib/adwords_api/v201008/CampaignCriterionServiceWrapper.rb +0 -332
  562. data/lib/adwords_api/v201008/CampaignService.rb +0 -1979
  563. data/lib/adwords_api/v201008/CampaignServiceDriver.rb +0 -63
  564. data/lib/adwords_api/v201008/CampaignServiceMappingRegistry.rb +0 -2089
  565. data/lib/adwords_api/v201008/CampaignServiceWrapper.rb +0 -332
  566. data/lib/adwords_api/v201008/CampaignTargetService.rb +0 -1651
  567. data/lib/adwords_api/v201008/CampaignTargetServiceDriver.rb +0 -63
  568. data/lib/adwords_api/v201008/CampaignTargetServiceMappingRegistry.rb +0 -1757
  569. data/lib/adwords_api/v201008/CampaignTargetServiceWrapper.rb +0 -332
  570. data/lib/adwords_api/v201008/CustomerSyncService.rb +0 -693
  571. data/lib/adwords_api/v201008/CustomerSyncServiceDriver.rb +0 -55
  572. data/lib/adwords_api/v201008/CustomerSyncServiceMappingRegistry.rb +0 -820
  573. data/lib/adwords_api/v201008/CustomerSyncServiceWrapper.rb +0 -303
  574. data/lib/adwords_api/v201008/ExperimentService.rb +0 -1124
  575. data/lib/adwords_api/v201008/ExperimentServiceDriver.rb +0 -63
  576. data/lib/adwords_api/v201008/ExperimentServiceMappingRegistry.rb +0 -1281
  577. data/lib/adwords_api/v201008/ExperimentServiceWrapper.rb +0 -332
  578. data/lib/adwords_api/v201008/GeoLocationService.rb +0 -695
  579. data/lib/adwords_api/v201008/GeoLocationServiceDriver.rb +0 -55
  580. data/lib/adwords_api/v201008/GeoLocationServiceMappingRegistry.rb +0 -843
  581. data/lib/adwords_api/v201008/GeoLocationServiceWrapper.rb +0 -303
  582. data/lib/adwords_api/v201008/InfoService.rb +0 -690
  583. data/lib/adwords_api/v201008/InfoServiceDriver.rb +0 -55
  584. data/lib/adwords_api/v201008/InfoServiceMappingRegistry.rb +0 -836
  585. data/lib/adwords_api/v201008/InfoServiceWrapper.rb +0 -303
  586. data/lib/adwords_api/v201008/MediaService.rb +0 -1144
  587. data/lib/adwords_api/v201008/MediaServiceDriver.rb +0 -63
  588. data/lib/adwords_api/v201008/MediaServiceMappingRegistry.rb +0 -1241
  589. data/lib/adwords_api/v201008/MediaServiceWrapper.rb +0 -332
  590. data/lib/adwords_api/v201008/ReportDefinitionService.rb +0 -976
  591. data/lib/adwords_api/v201008/ReportDefinitionServiceDriver.rb +0 -71
  592. data/lib/adwords_api/v201008/ReportDefinitionServiceMappingRegistry.rb +0 -1115
  593. data/lib/adwords_api/v201008/ReportDefinitionServiceWrapper.rb +0 -378
  594. data/lib/adwords_api/v201008/ServicedAccountService.rb +0 -630
  595. data/lib/adwords_api/v201008/ServicedAccountServiceDriver.rb +0 -55
  596. data/lib/adwords_api/v201008/ServicedAccountServiceMappingRegistry.rb +0 -752
  597. data/lib/adwords_api/v201008/ServicedAccountServiceWrapper.rb +0 -303
  598. data/lib/adwords_api/v201008/TargetingIdeaService.rb +0 -2645
  599. data/lib/adwords_api/v201008/TargetingIdeaServiceDriver.rb +0 -63
  600. data/lib/adwords_api/v201008/TargetingIdeaServiceMappingRegistry.rb +0 -3080
  601. data/lib/adwords_api/v201008/TargetingIdeaServiceWrapper.rb +0 -335
  602. data/lib/adwords_api/v201008/TrafficEstimatorService.rb +0 -1833
  603. data/lib/adwords_api/v201008/TrafficEstimatorServiceDriver.rb +0 -55
  604. data/lib/adwords_api/v201008/TrafficEstimatorServiceMappingRegistry.rb +0 -2124
  605. data/lib/adwords_api/v201008/TrafficEstimatorServiceWrapper.rb +0 -303
  606. data/lib/adwords_api/v201008/UserListService.rb +0 -846
  607. data/lib/adwords_api/v201008/UserListServiceDriver.rb +0 -63
  608. data/lib/adwords_api/v201008/UserListServiceMappingRegistry.rb +0 -915
  609. data/lib/adwords_api/v201008/UserListServiceWrapper.rb +0 -332
  610. data/lib/adwords_api/v201101/AdExtensionOverrideService.rb +0 -1399
  611. data/lib/adwords_api/v201101/AdExtensionOverrideServiceDriver.rb +0 -63
  612. data/lib/adwords_api/v201101/AdExtensionOverrideServiceMappingRegistry.rb +0 -1573
  613. data/lib/adwords_api/v201101/AdExtensionOverrideServiceWrapper.rb +0 -332
  614. data/lib/adwords_api/v201101/AdGroupAdService.rb +0 -2587
  615. data/lib/adwords_api/v201101/AdGroupAdServiceDriver.rb +0 -63
  616. data/lib/adwords_api/v201101/AdGroupAdServiceMappingRegistry.rb +0 -2583
  617. data/lib/adwords_api/v201101/AdGroupAdServiceWrapper.rb +0 -332
  618. data/lib/adwords_api/v201101/AdGroupCriterionService.rb +0 -2099
  619. data/lib/adwords_api/v201101/AdGroupCriterionServiceDriver.rb +0 -63
  620. data/lib/adwords_api/v201101/AdGroupCriterionServiceMappingRegistry.rb +0 -2327
  621. data/lib/adwords_api/v201101/AdGroupCriterionServiceWrapper.rb +0 -332
  622. data/lib/adwords_api/v201101/AdGroupService.rb +0 -1610
  623. data/lib/adwords_api/v201101/AdGroupServiceDriver.rb +0 -63
  624. data/lib/adwords_api/v201101/AdGroupServiceMappingRegistry.rb +0 -1765
  625. data/lib/adwords_api/v201101/AdGroupServiceWrapper.rb +0 -332
  626. data/lib/adwords_api/v201101/AdParamService.rb +0 -922
  627. data/lib/adwords_api/v201101/AdParamServiceDriver.rb +0 -63
  628. data/lib/adwords_api/v201101/AdParamServiceMappingRegistry.rb +0 -1077
  629. data/lib/adwords_api/v201101/AdParamServiceWrapper.rb +0 -332
  630. data/lib/adwords_api/v201101/AlertService.rb +0 -747
  631. data/lib/adwords_api/v201101/AlertServiceDriver.rb +0 -55
  632. data/lib/adwords_api/v201101/AlertServiceMappingRegistry.rb +0 -838
  633. data/lib/adwords_api/v201101/AlertServiceWrapper.rb +0 -303
  634. data/lib/adwords_api/v201101/BulkMutateJobService.rb +0 -6197
  635. data/lib/adwords_api/v201101/BulkMutateJobServiceDriver.rb +0 -63
  636. data/lib/adwords_api/v201101/BulkMutateJobServiceMappingRegistry.rb +0 -6413
  637. data/lib/adwords_api/v201101/BulkMutateJobServiceWrapper.rb +0 -332
  638. data/lib/adwords_api/v201101/BulkOpportunityService.rb +0 -1367
  639. data/lib/adwords_api/v201101/BulkOpportunityServiceDriver.rb +0 -55
  640. data/lib/adwords_api/v201101/BulkOpportunityServiceMappingRegistry.rb +0 -1668
  641. data/lib/adwords_api/v201101/BulkOpportunityServiceWrapper.rb +0 -303
  642. data/lib/adwords_api/v201101/CampaignAdExtensionService.rb +0 -1677
  643. data/lib/adwords_api/v201101/CampaignAdExtensionServiceDriver.rb +0 -63
  644. data/lib/adwords_api/v201101/CampaignAdExtensionServiceMappingRegistry.rb +0 -1855
  645. data/lib/adwords_api/v201101/CampaignAdExtensionServiceWrapper.rb +0 -332
  646. data/lib/adwords_api/v201101/CampaignCriterionService.rb +0 -1388
  647. data/lib/adwords_api/v201101/CampaignCriterionServiceDriver.rb +0 -63
  648. data/lib/adwords_api/v201101/CampaignCriterionServiceMappingRegistry.rb +0 -1601
  649. data/lib/adwords_api/v201101/CampaignCriterionServiceWrapper.rb +0 -332
  650. data/lib/adwords_api/v201101/CampaignService.rb +0 -2188
  651. data/lib/adwords_api/v201101/CampaignServiceDriver.rb +0 -63
  652. data/lib/adwords_api/v201101/CampaignServiceMappingRegistry.rb +0 -2301
  653. data/lib/adwords_api/v201101/CampaignServiceWrapper.rb +0 -332
  654. data/lib/adwords_api/v201101/CampaignTargetService.rb +0 -1616
  655. data/lib/adwords_api/v201101/CampaignTargetServiceDriver.rb +0 -63
  656. data/lib/adwords_api/v201101/CampaignTargetServiceMappingRegistry.rb +0 -1705
  657. data/lib/adwords_api/v201101/CampaignTargetServiceWrapper.rb +0 -332
  658. data/lib/adwords_api/v201101/ConversionTrackerService.rb +0 -1132
  659. data/lib/adwords_api/v201101/ConversionTrackerServiceDriver.rb +0 -63
  660. data/lib/adwords_api/v201101/ConversionTrackerServiceMappingRegistry.rb +0 -1197
  661. data/lib/adwords_api/v201101/ConversionTrackerServiceWrapper.rb +0 -332
  662. data/lib/adwords_api/v201101/CustomerSyncService.rb +0 -694
  663. data/lib/adwords_api/v201101/CustomerSyncServiceDriver.rb +0 -55
  664. data/lib/adwords_api/v201101/CustomerSyncServiceMappingRegistry.rb +0 -820
  665. data/lib/adwords_api/v201101/CustomerSyncServiceWrapper.rb +0 -303
  666. data/lib/adwords_api/v201101/DataService.rb +0 -1079
  667. data/lib/adwords_api/v201101/DataServiceDriver.rb +0 -63
  668. data/lib/adwords_api/v201101/DataServiceMappingRegistry.rb +0 -1177
  669. data/lib/adwords_api/v201101/DataServiceWrapper.rb +0 -338
  670. data/lib/adwords_api/v201101/ExperimentService.rb +0 -1256
  671. data/lib/adwords_api/v201101/ExperimentServiceDriver.rb +0 -63
  672. data/lib/adwords_api/v201101/ExperimentServiceMappingRegistry.rb +0 -1417
  673. data/lib/adwords_api/v201101/ExperimentServiceWrapper.rb +0 -332
  674. data/lib/adwords_api/v201101/GeoLocationService.rb +0 -695
  675. data/lib/adwords_api/v201101/GeoLocationServiceDriver.rb +0 -55
  676. data/lib/adwords_api/v201101/GeoLocationServiceMappingRegistry.rb +0 -843
  677. data/lib/adwords_api/v201101/GeoLocationServiceWrapper.rb +0 -303
  678. data/lib/adwords_api/v201101/InfoService.rb +0 -690
  679. data/lib/adwords_api/v201101/InfoServiceDriver.rb +0 -55
  680. data/lib/adwords_api/v201101/InfoServiceMappingRegistry.rb +0 -836
  681. data/lib/adwords_api/v201101/InfoServiceWrapper.rb +0 -303
  682. data/lib/adwords_api/v201101/MediaService.rb +0 -1247
  683. data/lib/adwords_api/v201101/MediaServiceDriver.rb +0 -63
  684. data/lib/adwords_api/v201101/MediaServiceMappingRegistry.rb +0 -1357
  685. data/lib/adwords_api/v201101/MediaServiceWrapper.rb +0 -332
  686. data/lib/adwords_api/v201101/ReportDefinitionService.rb +0 -1121
  687. data/lib/adwords_api/v201101/ReportDefinitionServiceDriver.rb +0 -71
  688. data/lib/adwords_api/v201101/ReportDefinitionServiceMappingRegistry.rb +0 -1263
  689. data/lib/adwords_api/v201101/ReportDefinitionServiceWrapper.rb +0 -392
  690. data/lib/adwords_api/v201101/ServicedAccountService.rb +0 -636
  691. data/lib/adwords_api/v201101/ServicedAccountServiceDriver.rb +0 -55
  692. data/lib/adwords_api/v201101/ServicedAccountServiceMappingRegistry.rb +0 -756
  693. data/lib/adwords_api/v201101/ServicedAccountServiceWrapper.rb +0 -303
  694. data/lib/adwords_api/v201101/TargetingIdeaService.rb +0 -2827
  695. data/lib/adwords_api/v201101/TargetingIdeaServiceDriver.rb +0 -63
  696. data/lib/adwords_api/v201101/TargetingIdeaServiceMappingRegistry.rb +0 -3262
  697. data/lib/adwords_api/v201101/TargetingIdeaServiceWrapper.rb +0 -335
  698. data/lib/adwords_api/v201101/TrafficEstimatorService.rb +0 -1839
  699. data/lib/adwords_api/v201101/TrafficEstimatorServiceDriver.rb +0 -55
  700. data/lib/adwords_api/v201101/TrafficEstimatorServiceMappingRegistry.rb +0 -2128
  701. data/lib/adwords_api/v201101/TrafficEstimatorServiceWrapper.rb +0 -303
  702. data/lib/adwords_api/v201101/UserListService.rb +0 -1206
  703. data/lib/adwords_api/v201101/UserListServiceDriver.rb +0 -63
  704. data/lib/adwords_api/v201101/UserListServiceMappingRegistry.rb +0 -1323
  705. data/lib/adwords_api/v201101/UserListServiceWrapper.rb +0 -332
@@ -1,335 +0,0 @@
1
- # This file was automatically generated during the "rake generate" step of
2
- # library setup.
3
- require 'adwords_api/v201101/TargetingIdeaServiceDriver.rb'
4
-
5
- module AdwordsApi
6
- module V201101
7
- module TargetingIdeaService
8
-
9
- # Wrapper class for the v201101 TargetingIdeaService service.
10
- # This class is automatically generated.
11
- class TargetingIdeaServiceWrapper
12
-
13
- # Holds the API object to which the wrapper belongs.
14
- attr_reader :api
15
-
16
- # Version and service utility fields.
17
- attr_reader :version, :service
18
-
19
- REGISTRY = AdwordsApi::V201101::TargetingIdeaService::DefaultMappingRegistry::LiteralRegistry
20
- # This takes advantage of the code generated by soap4r to get the
21
- # correct namespace for a given service. It accesses one of the fields
22
- # in the description of the service's methods, which indicates the
23
- # namespace.
24
- # Since we're using a fixed version of soap4r (1.5.8), and this is
25
- # automatically generated as part of the stub generation, it will
26
- # always point to what we want.
27
- NAMESPACE = 'https://adwords.google.com/api/adwords/o/v201101'
28
-
29
- # Holds a shortcut to the parent module.
30
- # Use this to avoid typing the full class name when creating classes
31
- # belonging to this service, e.g.
32
- # service_object.module::ClassName
33
- # instead of
34
- # AdwordsApi::V201101::TargetingIdeaService::ClassName
35
- # This will make it easier to migrate your code between API versions.
36
- attr_reader :module
37
-
38
- public
39
-
40
- # Constructor for TargetingIdeaServiceWrapper.
41
- #
42
- # Args:
43
- # - driver: SOAP::RPC::Driver object with the remote SOAP methods for
44
- # this service
45
- # - api: the API object to which the wrapper belongs
46
- #
47
- def initialize(driver, api)
48
- @driver = driver
49
- @api = api
50
- @module = AdwordsApi::V201101::TargetingIdeaService
51
- @version = :v201101
52
- @service = :TargetingIdeaService
53
- end
54
-
55
- # Returns the namespace for this service.
56
- def namespace
57
- return NAMESPACE
58
- end
59
-
60
- private
61
-
62
- # Converts from underscore_separated names to camelCase names.
63
- #
64
- # Args:
65
- # - text: the text to be converted
66
- #
67
- def camel_case(text)
68
- text.gsub(/_\w/) {|match| match[1..-1].upcase}
69
- end
70
-
71
- # Converts from camelCase names to underscore_separated names.
72
- #
73
- # Args:
74
- # - text: the text to be converted
75
- #
76
- def underscore(text)
77
- text.gsub(/[a-z0-9][A-Z]/) do |match|
78
- match[0,1] + '_' + match[1,1].downcase
79
- end
80
- end
81
-
82
- # Validates whether an object is of the correct type.
83
- # This method is invoked by the hash to object converter during
84
- # runtime to check the type validity of every object.
85
- #
86
- # Args:
87
- # - object: the hash "object" being evaluated
88
- # - type: the expected type (the class object itself)
89
- #
90
- # Returns:
91
- # nil, upon success
92
- #
93
- # Raises:
94
- # - ArgumentError: in case of an unexpected type
95
- #
96
- def validate_object(object, type)
97
- return nil if object.is_a? type
98
-
99
- wsdl_type_obj = type.new
100
-
101
- if object.is_a? Hash
102
- xsi_type = object[:xsi_type] or object['xsi_type']
103
- if xsi_type
104
- begin
105
- subtype = @module.class_eval(xsi_type)
106
- user_type_obj = subtype.new
107
- rescue
108
- raise ArgumentError, "Specified xsi_type '" + xsi_type +
109
- "' is unknown"
110
- end
111
- unless user_type_obj.is_a? type
112
- raise ArgumentError, "Specified xsi_type '" + xsi_type +
113
- "' is not a subclass of " + type.to_s
114
- end
115
- else
116
- object.each do |key, value|
117
- if key.to_s != 'xsi_type'
118
- if !wsdl_type_obj.respond_to?(camel_case(key.to_s).to_sym)
119
- raise ArgumentError, "Unknown property '" + key.to_s +
120
- "' for type " + type.to_s
121
- end
122
- end
123
- end
124
- end
125
- end
126
- return nil
127
- end
128
-
129
- # Sets a property on a real (soap4r-generated) object.
130
- #
131
- # Args:
132
- # - object: the object being modified
133
- # - property: the property being set
134
- # - value: the value it's being set to
135
- #
136
- def set_object_property(object, property, value)
137
- begin
138
- object.send(property.to_s + '=', value)
139
- rescue
140
- object_class = object.class.name.split('::').last
141
- error = AdsCommon::Errors::MissingPropertyError.new(
142
- property, object_class)
143
- message = "'Missing property `" + property.to_s +
144
- "' for object class `" + object_class + "'"
145
- raise(error, message)
146
- end
147
- end
148
-
149
- public
150
-
151
- # Converts dynamic objects (property hashes) into real soap4r objects.
152
- # This is meant to be called when setting properties on a class, so
153
- # the method receives an optional parameter specifying the class and
154
- # property. This way, it's possible to determine the default type for
155
- # the object if none is provided.
156
- #
157
- # Args:
158
- # - object: the object being converted
159
- # - parent_class: the class whose property is being set
160
- # - property: the property being set
161
- #
162
- def convert_to_object(object, parent_class = nil, property = nil)
163
- property = camel_case(property.to_s) if property
164
- if object.is_a? Hash
165
- # Process a hash.
166
- specified_class = object[:xsi_type] or object['xsi_type']
167
- default_class = nil
168
- # Determine default class for this object, given the property
169
- # being set.
170
- if parent_class and property
171
- parent = REGISTRY.schema_definition_from_class(parent_class)
172
- element = parent.elements.entries.find do |entry|
173
- entry.varname.to_s == property.to_s
174
- end
175
- default_class = element.mapped_class if element
176
- end
177
- validate_object(object, default_class)
178
- real_class = nil
179
- if specified_class
180
- real_class = @module.class_eval(specified_class)
181
- else
182
- real_class = default_class
183
- end
184
- # Instance real object.
185
- real_object = real_class.new
186
- # Set each of its properties.
187
- object.each do |entry, value|
188
- entry = entry.to_s
189
- unless entry == 'xsi_type'
190
- if @api.config.read('service.use_ruby_names', true)
191
- entry = camel_case(entry)
192
- end
193
- if value.is_a? Hash
194
- # Recurse.
195
- set_object_property(real_object, entry,
196
- convert_to_object(value, real_class, entry))
197
- elsif value.is_a? Array
198
- set_object_property(real_object, entry,
199
- value.map do |item|
200
- # Recurse.
201
- convert_to_object(item, real_class, entry)
202
- end
203
- )
204
- else
205
- set_object_property(real_object, entry, value)
206
- end
207
- end
208
- end
209
- return real_object
210
- elsif object.is_a? Array
211
- # Process an array
212
- return object.map do |entry|
213
- # Recurse.
214
- convert_to_object(entry, parent_class, property)
215
- end
216
- else
217
- return object
218
- end
219
- end
220
-
221
- # Converts real soap4r objects into dynamic ones (property hashes).
222
- # This is meant to be called for return objects of remote calls.
223
- #
224
- # Args:
225
- # - object: the object being converted
226
- #
227
- def convert_from_object(object)
228
- if object.class.name =~
229
- /AdwordsApi::V201101::\w+::\w+/
230
- # Handle soap4r object
231
- object_class = REGISTRY.schema_definition_from_class(object.class)
232
- if object_class.elements and !object_class.elements.entries.empty?
233
- # Process complex object.
234
- hash = {}
235
- hash[:xsi_type] = object.class.name.split('::').last
236
- object_class.elements.entries.each do |entry|
237
- property = entry.varname.to_s
238
- if object.respond_to? property and !property.include?('_Type')
239
- value = object.send(property)
240
- property_name = nil
241
- if @api.config.read('service.use_ruby_names', true)
242
- property_name = underscore(property).to_sym
243
- else
244
- property_name = property.to_sym
245
- end
246
- # Recurse.
247
- hash[property_name] = convert_from_object(value) if value
248
- end
249
- end
250
- return hash
251
- else
252
- # Process simple object.
253
- parent = object.class.superclass
254
- return parent.new(object)
255
- end
256
- elsif object.is_a? Array
257
- # Handle arrays
258
- return object.map do |entry|
259
- # Recurse.
260
- convert_from_object(entry)
261
- end
262
- else
263
- # Handle native objects
264
- return object
265
- end
266
- end
267
-
268
-
269
- public
270
-
271
- # Calls the {get}[http://code.google.com/apis/adwords/docs/reference/v201101/TargetingIdeaService.html#get] method of the TargetingIdeaService service.
272
- # Check {the online documentation for this method}[http://code.google.com/apis/adwords/docs/reference/v201101/TargetingIdeaService.html#get].
273
- #
274
- # Args:
275
- # - selector: AdwordsApi::V201101::TargetingIdeaService::TargetingIdeaSelector
276
- #
277
- # Returns:
278
- # - rval: AdwordsApi::V201101::TargetingIdeaService::TargetingIdeaPage
279
- #
280
- # Raises:
281
- # Error::ApiError (or a subclass thereof) if a SOAP fault occurs.
282
- #
283
- def get(selector)
284
- begin
285
- arg_array = []
286
- validate_object(selector, AdwordsApi::V201101::TargetingIdeaService::TargetingIdeaSelector)
287
- arg_array << convert_to_object(selector, AdwordsApi::V201101::TargetingIdeaService::Get,
288
- 'selector')
289
- # Construct request object and make API call
290
- obj = AdwordsApi::V201101::TargetingIdeaService::Get.new(*arg_array)
291
- reply = convert_from_object(@driver.get(obj))
292
- reply = reply[:rval] if reply.include?(:rval)
293
- return reply
294
- rescue SOAP::FaultError => fault
295
- raise AdwordsApi::Errors.create_api_exception(fault,
296
- self)
297
- end
298
- end
299
-
300
- # Calls the {getBulkKeywordIdeas}[http://code.google.com/apis/adwords/docs/reference/v201101/TargetingIdeaService.html#getBulkKeywordIdeas] method of the TargetingIdeaService service.
301
- # Check {the online documentation for this method}[http://code.google.com/apis/adwords/docs/reference/v201101/TargetingIdeaService.html#getBulkKeywordIdeas].
302
- #
303
- # Args:
304
- # - selector: AdwordsApi::V201101::TargetingIdeaService::TargetingIdeaSelector
305
- #
306
- # Returns:
307
- # - rval: AdwordsApi::V201101::TargetingIdeaService::TargetingIdeaPage
308
- #
309
- # Raises:
310
- # Error::ApiError (or a subclass thereof) if a SOAP fault occurs.
311
- #
312
- def getBulkKeywordIdeas(selector)
313
- begin
314
- arg_array = []
315
- validate_object(selector, AdwordsApi::V201101::TargetingIdeaService::TargetingIdeaSelector)
316
- arg_array << convert_to_object(selector, AdwordsApi::V201101::TargetingIdeaService::GetBulkKeywordIdeas,
317
- 'selector')
318
- # Construct request object and make API call
319
- obj = AdwordsApi::V201101::TargetingIdeaService::GetBulkKeywordIdeas.new(*arg_array)
320
- reply = convert_from_object(@driver.getBulkKeywordIdeas(obj))
321
- reply = reply[:rval] if reply.include?(:rval)
322
- return reply
323
- rescue SOAP::FaultError => fault
324
- raise AdwordsApi::Errors.create_api_exception(fault,
325
- self)
326
- end
327
- end
328
-
329
- alias get_bulk_keyword_ideas getBulkKeywordIdeas
330
-
331
-
332
- end
333
- end
334
- end
335
- end
@@ -1,1839 +0,0 @@
1
- require 'xsd/qname'
2
-
3
- module AdwordsApi; module V201101; module TrafficEstimatorService
4
-
5
-
6
- # Address
7
- # - streetAddress - SOAP::SOAPString
8
- # - streetAddress2 - SOAP::SOAPString
9
- # - cityName - SOAP::SOAPString
10
- # - provinceCode - SOAP::SOAPString
11
- # - provinceName - SOAP::SOAPString
12
- # - postalCode - SOAP::SOAPString
13
- # - countryCode - SOAP::SOAPString
14
- class Address
15
- attr_accessor :streetAddress
16
- attr_accessor :streetAddress2
17
- attr_accessor :cityName
18
- attr_accessor :provinceCode
19
- attr_accessor :provinceName
20
- attr_accessor :postalCode
21
- attr_accessor :countryCode
22
-
23
- def initialize(streetAddress = nil, streetAddress2 = nil, cityName = nil, provinceCode = nil, provinceName = nil, postalCode = nil, countryCode = nil)
24
- @streetAddress = streetAddress
25
- @streetAddress2 = streetAddress2
26
- @cityName = cityName
27
- @provinceCode = provinceCode
28
- @provinceName = provinceName
29
- @postalCode = postalCode
30
- @countryCode = countryCode
31
- end
32
- end
33
-
34
- # ApiError
35
- # abstract
36
- # - fieldPath - SOAP::SOAPString
37
- # - trigger - SOAP::SOAPString
38
- # - errorString - SOAP::SOAPString
39
- # - apiError_Type - SOAP::SOAPString
40
- class ApiError
41
- attr_accessor :fieldPath
42
- attr_accessor :trigger
43
- attr_accessor :errorString
44
- attr_accessor :apiError_Type
45
-
46
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil)
47
- @fieldPath = fieldPath
48
- @trigger = trigger
49
- @errorString = errorString
50
- @apiError_Type = apiError_Type
51
- end
52
- end
53
-
54
- # AuthenticationError
55
- # - fieldPath - SOAP::SOAPString
56
- # - trigger - SOAP::SOAPString
57
- # - errorString - SOAP::SOAPString
58
- # - apiError_Type - SOAP::SOAPString
59
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::AuthenticationErrorReason
60
- class AuthenticationError < ApiError
61
- attr_accessor :fieldPath
62
- attr_accessor :trigger
63
- attr_accessor :errorString
64
- attr_accessor :apiError_Type
65
- attr_accessor :reason
66
-
67
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
68
- @fieldPath = fieldPath
69
- @trigger = trigger
70
- @errorString = errorString
71
- @apiError_Type = apiError_Type
72
- @reason = reason
73
- end
74
- end
75
-
76
- # AuthorizationError
77
- # - fieldPath - SOAP::SOAPString
78
- # - trigger - SOAP::SOAPString
79
- # - errorString - SOAP::SOAPString
80
- # - apiError_Type - SOAP::SOAPString
81
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::AuthorizationErrorReason
82
- class AuthorizationError < ApiError
83
- attr_accessor :fieldPath
84
- attr_accessor :trigger
85
- attr_accessor :errorString
86
- attr_accessor :apiError_Type
87
- attr_accessor :reason
88
-
89
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
90
- @fieldPath = fieldPath
91
- @trigger = trigger
92
- @errorString = errorString
93
- @apiError_Type = apiError_Type
94
- @reason = reason
95
- end
96
- end
97
-
98
- # ClientTermsError
99
- # - fieldPath - SOAP::SOAPString
100
- # - trigger - SOAP::SOAPString
101
- # - errorString - SOAP::SOAPString
102
- # - apiError_Type - SOAP::SOAPString
103
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::ClientTermsErrorReason
104
- class ClientTermsError < ApiError
105
- attr_accessor :fieldPath
106
- attr_accessor :trigger
107
- attr_accessor :errorString
108
- attr_accessor :apiError_Type
109
- attr_accessor :reason
110
-
111
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
112
- @fieldPath = fieldPath
113
- @trigger = trigger
114
- @errorString = errorString
115
- @apiError_Type = apiError_Type
116
- @reason = reason
117
- end
118
- end
119
-
120
- # DatabaseError
121
- # - fieldPath - SOAP::SOAPString
122
- # - trigger - SOAP::SOAPString
123
- # - errorString - SOAP::SOAPString
124
- # - apiError_Type - SOAP::SOAPString
125
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::DatabaseErrorReason
126
- class DatabaseError < ApiError
127
- attr_accessor :fieldPath
128
- attr_accessor :trigger
129
- attr_accessor :errorString
130
- attr_accessor :apiError_Type
131
- attr_accessor :reason
132
-
133
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
134
- @fieldPath = fieldPath
135
- @trigger = trigger
136
- @errorString = errorString
137
- @apiError_Type = apiError_Type
138
- @reason = reason
139
- end
140
- end
141
-
142
- # DateError
143
- # - fieldPath - SOAP::SOAPString
144
- # - trigger - SOAP::SOAPString
145
- # - errorString - SOAP::SOAPString
146
- # - apiError_Type - SOAP::SOAPString
147
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::DateErrorReason
148
- class DateError < ApiError
149
- attr_accessor :fieldPath
150
- attr_accessor :trigger
151
- attr_accessor :errorString
152
- attr_accessor :apiError_Type
153
- attr_accessor :reason
154
-
155
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
156
- @fieldPath = fieldPath
157
- @trigger = trigger
158
- @errorString = errorString
159
- @apiError_Type = apiError_Type
160
- @reason = reason
161
- end
162
- end
163
-
164
- # DistinctError
165
- # - fieldPath - SOAP::SOAPString
166
- # - trigger - SOAP::SOAPString
167
- # - errorString - SOAP::SOAPString
168
- # - apiError_Type - SOAP::SOAPString
169
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::DistinctErrorReason
170
- class DistinctError < ApiError
171
- attr_accessor :fieldPath
172
- attr_accessor :trigger
173
- attr_accessor :errorString
174
- attr_accessor :apiError_Type
175
- attr_accessor :reason
176
-
177
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
178
- @fieldPath = fieldPath
179
- @trigger = trigger
180
- @errorString = errorString
181
- @apiError_Type = apiError_Type
182
- @reason = reason
183
- end
184
- end
185
-
186
- # EntityAccessDenied
187
- # - fieldPath - SOAP::SOAPString
188
- # - trigger - SOAP::SOAPString
189
- # - errorString - SOAP::SOAPString
190
- # - apiError_Type - SOAP::SOAPString
191
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::EntityAccessDeniedReason
192
- class EntityAccessDenied < ApiError
193
- attr_accessor :fieldPath
194
- attr_accessor :trigger
195
- attr_accessor :errorString
196
- attr_accessor :apiError_Type
197
- attr_accessor :reason
198
-
199
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
200
- @fieldPath = fieldPath
201
- @trigger = trigger
202
- @errorString = errorString
203
- @apiError_Type = apiError_Type
204
- @reason = reason
205
- end
206
- end
207
-
208
- # EntityNotFound
209
- # - fieldPath - SOAP::SOAPString
210
- # - trigger - SOAP::SOAPString
211
- # - errorString - SOAP::SOAPString
212
- # - apiError_Type - SOAP::SOAPString
213
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::EntityNotFoundReason
214
- class EntityNotFound < ApiError
215
- attr_accessor :fieldPath
216
- attr_accessor :trigger
217
- attr_accessor :errorString
218
- attr_accessor :apiError_Type
219
- attr_accessor :reason
220
-
221
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
222
- @fieldPath = fieldPath
223
- @trigger = trigger
224
- @errorString = errorString
225
- @apiError_Type = apiError_Type
226
- @reason = reason
227
- end
228
- end
229
-
230
- # IdError
231
- # - fieldPath - SOAP::SOAPString
232
- # - trigger - SOAP::SOAPString
233
- # - errorString - SOAP::SOAPString
234
- # - apiError_Type - SOAP::SOAPString
235
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::IdErrorReason
236
- class IdError < ApiError
237
- attr_accessor :fieldPath
238
- attr_accessor :trigger
239
- attr_accessor :errorString
240
- attr_accessor :apiError_Type
241
- attr_accessor :reason
242
-
243
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
244
- @fieldPath = fieldPath
245
- @trigger = trigger
246
- @errorString = errorString
247
- @apiError_Type = apiError_Type
248
- @reason = reason
249
- end
250
- end
251
-
252
- # InternalApiError
253
- # - fieldPath - SOAP::SOAPString
254
- # - trigger - SOAP::SOAPString
255
- # - errorString - SOAP::SOAPString
256
- # - apiError_Type - SOAP::SOAPString
257
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::InternalApiErrorReason
258
- class InternalApiError < ApiError
259
- attr_accessor :fieldPath
260
- attr_accessor :trigger
261
- attr_accessor :errorString
262
- attr_accessor :apiError_Type
263
- attr_accessor :reason
264
-
265
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
266
- @fieldPath = fieldPath
267
- @trigger = trigger
268
- @errorString = errorString
269
- @apiError_Type = apiError_Type
270
- @reason = reason
271
- end
272
- end
273
-
274
- # NotEmptyError
275
- # - fieldPath - SOAP::SOAPString
276
- # - trigger - SOAP::SOAPString
277
- # - errorString - SOAP::SOAPString
278
- # - apiError_Type - SOAP::SOAPString
279
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::NotEmptyErrorReason
280
- class NotEmptyError < ApiError
281
- attr_accessor :fieldPath
282
- attr_accessor :trigger
283
- attr_accessor :errorString
284
- attr_accessor :apiError_Type
285
- attr_accessor :reason
286
-
287
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
288
- @fieldPath = fieldPath
289
- @trigger = trigger
290
- @errorString = errorString
291
- @apiError_Type = apiError_Type
292
- @reason = reason
293
- end
294
- end
295
-
296
- # NotWhitelistedError
297
- # - fieldPath - SOAP::SOAPString
298
- # - trigger - SOAP::SOAPString
299
- # - errorString - SOAP::SOAPString
300
- # - apiError_Type - SOAP::SOAPString
301
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::NotWhitelistedErrorReason
302
- class NotWhitelistedError < ApiError
303
- attr_accessor :fieldPath
304
- attr_accessor :trigger
305
- attr_accessor :errorString
306
- attr_accessor :apiError_Type
307
- attr_accessor :reason
308
-
309
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
310
- @fieldPath = fieldPath
311
- @trigger = trigger
312
- @errorString = errorString
313
- @apiError_Type = apiError_Type
314
- @reason = reason
315
- end
316
- end
317
-
318
- # NullError
319
- # - fieldPath - SOAP::SOAPString
320
- # - trigger - SOAP::SOAPString
321
- # - errorString - SOAP::SOAPString
322
- # - apiError_Type - SOAP::SOAPString
323
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::NullErrorReason
324
- class NullError < ApiError
325
- attr_accessor :fieldPath
326
- attr_accessor :trigger
327
- attr_accessor :errorString
328
- attr_accessor :apiError_Type
329
- attr_accessor :reason
330
-
331
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
332
- @fieldPath = fieldPath
333
- @trigger = trigger
334
- @errorString = errorString
335
- @apiError_Type = apiError_Type
336
- @reason = reason
337
- end
338
- end
339
-
340
- # OperationAccessDenied
341
- # - fieldPath - SOAP::SOAPString
342
- # - trigger - SOAP::SOAPString
343
- # - errorString - SOAP::SOAPString
344
- # - apiError_Type - SOAP::SOAPString
345
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::OperationAccessDeniedReason
346
- class OperationAccessDenied < ApiError
347
- attr_accessor :fieldPath
348
- attr_accessor :trigger
349
- attr_accessor :errorString
350
- attr_accessor :apiError_Type
351
- attr_accessor :reason
352
-
353
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
354
- @fieldPath = fieldPath
355
- @trigger = trigger
356
- @errorString = errorString
357
- @apiError_Type = apiError_Type
358
- @reason = reason
359
- end
360
- end
361
-
362
- # OperatorError
363
- # - fieldPath - SOAP::SOAPString
364
- # - trigger - SOAP::SOAPString
365
- # - errorString - SOAP::SOAPString
366
- # - apiError_Type - SOAP::SOAPString
367
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::OperatorErrorReason
368
- class OperatorError < ApiError
369
- attr_accessor :fieldPath
370
- attr_accessor :trigger
371
- attr_accessor :errorString
372
- attr_accessor :apiError_Type
373
- attr_accessor :reason
374
-
375
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
376
- @fieldPath = fieldPath
377
- @trigger = trigger
378
- @errorString = errorString
379
- @apiError_Type = apiError_Type
380
- @reason = reason
381
- end
382
- end
383
-
384
- # QuotaCheckError
385
- # - fieldPath - SOAP::SOAPString
386
- # - trigger - SOAP::SOAPString
387
- # - errorString - SOAP::SOAPString
388
- # - apiError_Type - SOAP::SOAPString
389
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::QuotaCheckErrorReason
390
- class QuotaCheckError < ApiError
391
- attr_accessor :fieldPath
392
- attr_accessor :trigger
393
- attr_accessor :errorString
394
- attr_accessor :apiError_Type
395
- attr_accessor :reason
396
-
397
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
398
- @fieldPath = fieldPath
399
- @trigger = trigger
400
- @errorString = errorString
401
- @apiError_Type = apiError_Type
402
- @reason = reason
403
- end
404
- end
405
-
406
- # RangeError
407
- # - fieldPath - SOAP::SOAPString
408
- # - trigger - SOAP::SOAPString
409
- # - errorString - SOAP::SOAPString
410
- # - apiError_Type - SOAP::SOAPString
411
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::RangeErrorReason
412
- class C_RangeError < ApiError
413
- attr_accessor :fieldPath
414
- attr_accessor :trigger
415
- attr_accessor :errorString
416
- attr_accessor :apiError_Type
417
- attr_accessor :reason
418
-
419
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
420
- @fieldPath = fieldPath
421
- @trigger = trigger
422
- @errorString = errorString
423
- @apiError_Type = apiError_Type
424
- @reason = reason
425
- end
426
- end
427
-
428
- # RateExceededError
429
- # - fieldPath - SOAP::SOAPString
430
- # - trigger - SOAP::SOAPString
431
- # - errorString - SOAP::SOAPString
432
- # - apiError_Type - SOAP::SOAPString
433
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::RateExceededErrorReason
434
- # - rateName - SOAP::SOAPString
435
- # - rateScope - SOAP::SOAPString
436
- # - retryAfterSeconds - SOAP::SOAPInt
437
- class RateExceededError < ApiError
438
- attr_accessor :fieldPath
439
- attr_accessor :trigger
440
- attr_accessor :errorString
441
- attr_accessor :apiError_Type
442
- attr_accessor :reason
443
- attr_accessor :rateName
444
- attr_accessor :rateScope
445
- attr_accessor :retryAfterSeconds
446
-
447
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil, rateName = nil, rateScope = nil, retryAfterSeconds = nil)
448
- @fieldPath = fieldPath
449
- @trigger = trigger
450
- @errorString = errorString
451
- @apiError_Type = apiError_Type
452
- @reason = reason
453
- @rateName = rateName
454
- @rateScope = rateScope
455
- @retryAfterSeconds = retryAfterSeconds
456
- end
457
- end
458
-
459
- # ReadOnlyError
460
- # - fieldPath - SOAP::SOAPString
461
- # - trigger - SOAP::SOAPString
462
- # - errorString - SOAP::SOAPString
463
- # - apiError_Type - SOAP::SOAPString
464
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::ReadOnlyErrorReason
465
- class ReadOnlyError < ApiError
466
- attr_accessor :fieldPath
467
- attr_accessor :trigger
468
- attr_accessor :errorString
469
- attr_accessor :apiError_Type
470
- attr_accessor :reason
471
-
472
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
473
- @fieldPath = fieldPath
474
- @trigger = trigger
475
- @errorString = errorString
476
- @apiError_Type = apiError_Type
477
- @reason = reason
478
- end
479
- end
480
-
481
- # RegionCodeError
482
- # - fieldPath - SOAP::SOAPString
483
- # - trigger - SOAP::SOAPString
484
- # - errorString - SOAP::SOAPString
485
- # - apiError_Type - SOAP::SOAPString
486
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::RegionCodeErrorReason
487
- class RegionCodeError < ApiError
488
- attr_accessor :fieldPath
489
- attr_accessor :trigger
490
- attr_accessor :errorString
491
- attr_accessor :apiError_Type
492
- attr_accessor :reason
493
-
494
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
495
- @fieldPath = fieldPath
496
- @trigger = trigger
497
- @errorString = errorString
498
- @apiError_Type = apiError_Type
499
- @reason = reason
500
- end
501
- end
502
-
503
- # RejectedError
504
- # - fieldPath - SOAP::SOAPString
505
- # - trigger - SOAP::SOAPString
506
- # - errorString - SOAP::SOAPString
507
- # - apiError_Type - SOAP::SOAPString
508
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::RejectedErrorReason
509
- class RejectedError < ApiError
510
- attr_accessor :fieldPath
511
- attr_accessor :trigger
512
- attr_accessor :errorString
513
- attr_accessor :apiError_Type
514
- attr_accessor :reason
515
-
516
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
517
- @fieldPath = fieldPath
518
- @trigger = trigger
519
- @errorString = errorString
520
- @apiError_Type = apiError_Type
521
- @reason = reason
522
- end
523
- end
524
-
525
- # RequestError
526
- # - fieldPath - SOAP::SOAPString
527
- # - trigger - SOAP::SOAPString
528
- # - errorString - SOAP::SOAPString
529
- # - apiError_Type - SOAP::SOAPString
530
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::RequestErrorReason
531
- class RequestError < ApiError
532
- attr_accessor :fieldPath
533
- attr_accessor :trigger
534
- attr_accessor :errorString
535
- attr_accessor :apiError_Type
536
- attr_accessor :reason
537
-
538
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
539
- @fieldPath = fieldPath
540
- @trigger = trigger
541
- @errorString = errorString
542
- @apiError_Type = apiError_Type
543
- @reason = reason
544
- end
545
- end
546
-
547
- # RequiredError
548
- # - fieldPath - SOAP::SOAPString
549
- # - trigger - SOAP::SOAPString
550
- # - errorString - SOAP::SOAPString
551
- # - apiError_Type - SOAP::SOAPString
552
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::RequiredErrorReason
553
- class RequiredError < ApiError
554
- attr_accessor :fieldPath
555
- attr_accessor :trigger
556
- attr_accessor :errorString
557
- attr_accessor :apiError_Type
558
- attr_accessor :reason
559
-
560
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
561
- @fieldPath = fieldPath
562
- @trigger = trigger
563
- @errorString = errorString
564
- @apiError_Type = apiError_Type
565
- @reason = reason
566
- end
567
- end
568
-
569
- # SizeLimitError
570
- # - fieldPath - SOAP::SOAPString
571
- # - trigger - SOAP::SOAPString
572
- # - errorString - SOAP::SOAPString
573
- # - apiError_Type - SOAP::SOAPString
574
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::SizeLimitErrorReason
575
- class SizeLimitError < ApiError
576
- attr_accessor :fieldPath
577
- attr_accessor :trigger
578
- attr_accessor :errorString
579
- attr_accessor :apiError_Type
580
- attr_accessor :reason
581
-
582
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
583
- @fieldPath = fieldPath
584
- @trigger = trigger
585
- @errorString = errorString
586
- @apiError_Type = apiError_Type
587
- @reason = reason
588
- end
589
- end
590
-
591
- # StringLengthError
592
- # - fieldPath - SOAP::SOAPString
593
- # - trigger - SOAP::SOAPString
594
- # - errorString - SOAP::SOAPString
595
- # - apiError_Type - SOAP::SOAPString
596
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::StringLengthErrorReason
597
- class StringLengthError < ApiError
598
- attr_accessor :fieldPath
599
- attr_accessor :trigger
600
- attr_accessor :errorString
601
- attr_accessor :apiError_Type
602
- attr_accessor :reason
603
-
604
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
605
- @fieldPath = fieldPath
606
- @trigger = trigger
607
- @errorString = errorString
608
- @apiError_Type = apiError_Type
609
- @reason = reason
610
- end
611
- end
612
-
613
- # TargetError
614
- # - fieldPath - SOAP::SOAPString
615
- # - trigger - SOAP::SOAPString
616
- # - errorString - SOAP::SOAPString
617
- # - apiError_Type - SOAP::SOAPString
618
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::TargetErrorReason
619
- class TargetError < ApiError
620
- attr_accessor :fieldPath
621
- attr_accessor :trigger
622
- attr_accessor :errorString
623
- attr_accessor :apiError_Type
624
- attr_accessor :reason
625
-
626
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
627
- @fieldPath = fieldPath
628
- @trigger = trigger
629
- @errorString = errorString
630
- @apiError_Type = apiError_Type
631
- @reason = reason
632
- end
633
- end
634
-
635
- # CollectionSizeError
636
- # - fieldPath - SOAP::SOAPString
637
- # - trigger - SOAP::SOAPString
638
- # - errorString - SOAP::SOAPString
639
- # - apiError_Type - SOAP::SOAPString
640
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::CollectionSizeErrorReason
641
- class CollectionSizeError < ApiError
642
- attr_accessor :fieldPath
643
- attr_accessor :trigger
644
- attr_accessor :errorString
645
- attr_accessor :apiError_Type
646
- attr_accessor :reason
647
-
648
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
649
- @fieldPath = fieldPath
650
- @trigger = trigger
651
- @errorString = errorString
652
- @apiError_Type = apiError_Type
653
- @reason = reason
654
- end
655
- end
656
-
657
- # CurrencyCodeError
658
- # - fieldPath - SOAP::SOAPString
659
- # - trigger - SOAP::SOAPString
660
- # - errorString - SOAP::SOAPString
661
- # - apiError_Type - SOAP::SOAPString
662
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::CurrencyCodeErrorReason
663
- class CurrencyCodeError < ApiError
664
- attr_accessor :fieldPath
665
- attr_accessor :trigger
666
- attr_accessor :errorString
667
- attr_accessor :apiError_Type
668
- attr_accessor :reason
669
-
670
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
671
- @fieldPath = fieldPath
672
- @trigger = trigger
673
- @errorString = errorString
674
- @apiError_Type = apiError_Type
675
- @reason = reason
676
- end
677
- end
678
-
679
- # MatchesRegexError
680
- # - fieldPath - SOAP::SOAPString
681
- # - trigger - SOAP::SOAPString
682
- # - errorString - SOAP::SOAPString
683
- # - apiError_Type - SOAP::SOAPString
684
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::MatchesRegexErrorReason
685
- class MatchesRegexError < ApiError
686
- attr_accessor :fieldPath
687
- attr_accessor :trigger
688
- attr_accessor :errorString
689
- attr_accessor :apiError_Type
690
- attr_accessor :reason
691
-
692
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
693
- @fieldPath = fieldPath
694
- @trigger = trigger
695
- @errorString = errorString
696
- @apiError_Type = apiError_Type
697
- @reason = reason
698
- end
699
- end
700
-
701
- # TrafficEstimatorError
702
- # - fieldPath - SOAP::SOAPString
703
- # - trigger - SOAP::SOAPString
704
- # - errorString - SOAP::SOAPString
705
- # - apiError_Type - SOAP::SOAPString
706
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::TrafficEstimatorErrorReason
707
- class TrafficEstimatorError < ApiError
708
- attr_accessor :fieldPath
709
- attr_accessor :trigger
710
- attr_accessor :errorString
711
- attr_accessor :apiError_Type
712
- attr_accessor :reason
713
-
714
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
715
- @fieldPath = fieldPath
716
- @trigger = trigger
717
- @errorString = errorString
718
- @apiError_Type = apiError_Type
719
- @reason = reason
720
- end
721
- end
722
-
723
- # ApplicationException
724
- # - message - SOAP::SOAPString
725
- # - applicationException_Type - SOAP::SOAPString
726
- class ApplicationException
727
- attr_accessor :message
728
- attr_accessor :applicationException_Type
729
-
730
- def initialize(message = nil, applicationException_Type = nil)
731
- @message = message
732
- @applicationException_Type = applicationException_Type
733
- end
734
- end
735
-
736
- # ApiException
737
- # - message - SOAP::SOAPString
738
- # - applicationException_Type - SOAP::SOAPString
739
- # - errors - AdwordsApi::V201101::TrafficEstimatorService::ApiError
740
- class ApiException < ApplicationException
741
- attr_accessor :message
742
- attr_accessor :applicationException_Type
743
- attr_accessor :errors
744
-
745
- def initialize(message = nil, applicationException_Type = nil, errors = [])
746
- @message = message
747
- @applicationException_Type = applicationException_Type
748
- @errors = errors
749
- end
750
- end
751
-
752
- # ComparableValue
753
- # abstract
754
- # - comparableValue_Type - SOAP::SOAPString
755
- class ComparableValue
756
- attr_accessor :comparableValue_Type
757
-
758
- def initialize(comparableValue_Type = nil)
759
- @comparableValue_Type = comparableValue_Type
760
- end
761
- end
762
-
763
- # Money
764
- # - comparableValue_Type - SOAP::SOAPString
765
- # - microAmount - SOAP::SOAPLong
766
- class Money < ComparableValue
767
- attr_accessor :comparableValue_Type
768
- attr_accessor :microAmount
769
-
770
- def initialize(comparableValue_Type = nil, microAmount = nil)
771
- @comparableValue_Type = comparableValue_Type
772
- @microAmount = microAmount
773
- end
774
- end
775
-
776
- # NumberValue
777
- # abstract
778
- # - comparableValue_Type - SOAP::SOAPString
779
- class NumberValue < ComparableValue
780
- attr_accessor :comparableValue_Type
781
-
782
- def initialize(comparableValue_Type = nil)
783
- @comparableValue_Type = comparableValue_Type
784
- end
785
- end
786
-
787
- # DoubleValue
788
- # - comparableValue_Type - SOAP::SOAPString
789
- # - number - SOAP::SOAPDouble
790
- class DoubleValue < NumberValue
791
- attr_accessor :comparableValue_Type
792
- attr_accessor :number
793
-
794
- def initialize(comparableValue_Type = nil, number = nil)
795
- @comparableValue_Type = comparableValue_Type
796
- @number = number
797
- end
798
- end
799
-
800
- # LongValue
801
- # - comparableValue_Type - SOAP::SOAPString
802
- # - number - SOAP::SOAPLong
803
- class LongValue < NumberValue
804
- attr_accessor :comparableValue_Type
805
- attr_accessor :number
806
-
807
- def initialize(comparableValue_Type = nil, number = nil)
808
- @comparableValue_Type = comparableValue_Type
809
- @number = number
810
- end
811
- end
812
-
813
- # Criterion
814
- # - id - SOAP::SOAPLong
815
- # - criterion_Type - SOAP::SOAPString
816
- class Criterion
817
- attr_accessor :id
818
- attr_accessor :criterion_Type
819
-
820
- def initialize(id = nil, criterion_Type = nil)
821
- @id = id
822
- @criterion_Type = criterion_Type
823
- end
824
- end
825
-
826
- # Keyword
827
- # - id - SOAP::SOAPLong
828
- # - criterion_Type - SOAP::SOAPString
829
- # - text - SOAP::SOAPString
830
- # - matchType - AdwordsApi::V201101::TrafficEstimatorService::KeywordMatchType
831
- class Keyword < Criterion
832
- attr_accessor :id
833
- attr_accessor :criterion_Type
834
- attr_accessor :text
835
- attr_accessor :matchType
836
-
837
- def initialize(id = nil, criterion_Type = nil, text = nil, matchType = nil)
838
- @id = id
839
- @criterion_Type = criterion_Type
840
- @text = text
841
- @matchType = matchType
842
- end
843
- end
844
-
845
- # Placement
846
- # - id - SOAP::SOAPLong
847
- # - criterion_Type - SOAP::SOAPString
848
- # - url - SOAP::SOAPString
849
- class Placement < Criterion
850
- attr_accessor :id
851
- attr_accessor :criterion_Type
852
- attr_accessor :url
853
-
854
- def initialize(id = nil, criterion_Type = nil, url = nil)
855
- @id = id
856
- @criterion_Type = criterion_Type
857
- @url = url
858
- end
859
- end
860
-
861
- # Product
862
- # - id - SOAP::SOAPLong
863
- # - criterion_Type - SOAP::SOAPString
864
- # - conditions - AdwordsApi::V201101::TrafficEstimatorService::ProductCondition
865
- # - text - SOAP::SOAPString
866
- class Product < Criterion
867
- attr_accessor :id
868
- attr_accessor :criterion_Type
869
- attr_accessor :conditions
870
- attr_accessor :text
871
-
872
- def initialize(id = nil, criterion_Type = nil, conditions = [], text = nil)
873
- @id = id
874
- @criterion_Type = criterion_Type
875
- @conditions = conditions
876
- @text = text
877
- end
878
- end
879
-
880
- # CriterionUserInterest
881
- # - id - SOAP::SOAPLong
882
- # - criterion_Type - SOAP::SOAPString
883
- # - userInterestId - SOAP::SOAPLong
884
- # - userInterestName - SOAP::SOAPString
885
- class CriterionUserInterest < Criterion
886
- attr_accessor :id
887
- attr_accessor :criterion_Type
888
- attr_accessor :userInterestId
889
- attr_accessor :userInterestName
890
-
891
- def initialize(id = nil, criterion_Type = nil, userInterestId = nil, userInterestName = nil)
892
- @id = id
893
- @criterion_Type = criterion_Type
894
- @userInterestId = userInterestId
895
- @userInterestName = userInterestName
896
- end
897
- end
898
-
899
- # CriterionUserList
900
- # - id - SOAP::SOAPLong
901
- # - criterion_Type - SOAP::SOAPString
902
- # - userListId - SOAP::SOAPLong
903
- # - userListName - SOAP::SOAPString
904
- # - userListMembershipStatus - AdwordsApi::V201101::TrafficEstimatorService::CriterionUserListMembershipStatus
905
- class CriterionUserList < Criterion
906
- attr_accessor :id
907
- attr_accessor :criterion_Type
908
- attr_accessor :userListId
909
- attr_accessor :userListName
910
- attr_accessor :userListMembershipStatus
911
-
912
- def initialize(id = nil, criterion_Type = nil, userListId = nil, userListName = nil, userListMembershipStatus = nil)
913
- @id = id
914
- @criterion_Type = criterion_Type
915
- @userListId = userListId
916
- @userListName = userListName
917
- @userListMembershipStatus = userListMembershipStatus
918
- end
919
- end
920
-
921
- # Vertical
922
- # - id - SOAP::SOAPLong
923
- # - criterion_Type - SOAP::SOAPString
924
- # - path - SOAP::SOAPString
925
- class Vertical < Criterion
926
- attr_accessor :id
927
- attr_accessor :criterion_Type
928
- attr_accessor :path
929
-
930
- def initialize(id = nil, criterion_Type = nil, path = [])
931
- @id = id
932
- @criterion_Type = criterion_Type
933
- @path = path
934
- end
935
- end
936
-
937
- # GeoPoint
938
- # - latitudeInMicroDegrees - SOAP::SOAPInt
939
- # - longitudeInMicroDegrees - SOAP::SOAPInt
940
- class GeoPoint
941
- attr_accessor :latitudeInMicroDegrees
942
- attr_accessor :longitudeInMicroDegrees
943
-
944
- def initialize(latitudeInMicroDegrees = nil, longitudeInMicroDegrees = nil)
945
- @latitudeInMicroDegrees = latitudeInMicroDegrees
946
- @longitudeInMicroDegrees = longitudeInMicroDegrees
947
- end
948
- end
949
-
950
- # ProductCondition
951
- # - argument - SOAP::SOAPString
952
- # - operand - AdwordsApi::V201101::TrafficEstimatorService::ProductConditionOperand
953
- class ProductCondition
954
- attr_accessor :argument
955
- attr_accessor :operand
956
-
957
- def initialize(argument = nil, operand = nil)
958
- @argument = argument
959
- @operand = operand
960
- end
961
- end
962
-
963
- # ProductConditionOperand
964
- # - operand - SOAP::SOAPString
965
- class ProductConditionOperand
966
- attr_accessor :operand
967
-
968
- def initialize(operand = nil)
969
- @operand = operand
970
- end
971
- end
972
-
973
- # SoapHeader
974
- # - authToken - SOAP::SOAPString
975
- # - clientCustomerId - SOAP::SOAPString
976
- # - clientEmail - SOAP::SOAPString
977
- # - developerToken - SOAP::SOAPString
978
- # - userAgent - SOAP::SOAPString
979
- # - validateOnly - SOAP::SOAPBoolean
980
- # - partialFailure - SOAP::SOAPBoolean
981
- class SoapHeader
982
- attr_accessor :authToken
983
- attr_accessor :clientCustomerId
984
- attr_accessor :clientEmail
985
- attr_accessor :developerToken
986
- attr_accessor :userAgent
987
- attr_accessor :validateOnly
988
- attr_accessor :partialFailure
989
-
990
- def initialize(authToken = nil, clientCustomerId = nil, clientEmail = nil, developerToken = nil, userAgent = nil, validateOnly = nil, partialFailure = nil)
991
- @authToken = authToken
992
- @clientCustomerId = clientCustomerId
993
- @clientEmail = clientEmail
994
- @developerToken = developerToken
995
- @userAgent = userAgent
996
- @validateOnly = validateOnly
997
- @partialFailure = partialFailure
998
- end
999
- end
1000
-
1001
- # SoapResponseHeader
1002
- # - requestId - SOAP::SOAPString
1003
- # - operations - SOAP::SOAPLong
1004
- # - responseTime - SOAP::SOAPLong
1005
- # - units - SOAP::SOAPLong
1006
- class SoapResponseHeader
1007
- attr_accessor :requestId
1008
- attr_accessor :operations
1009
- attr_accessor :responseTime
1010
- attr_accessor :units
1011
-
1012
- def initialize(requestId = nil, operations = nil, responseTime = nil, units = nil)
1013
- @requestId = requestId
1014
- @operations = operations
1015
- @responseTime = responseTime
1016
- @units = units
1017
- end
1018
- end
1019
-
1020
- # Target
1021
- # abstract
1022
- # - target_Type - SOAP::SOAPString
1023
- class Target
1024
- attr_accessor :target_Type
1025
-
1026
- def initialize(target_Type = nil)
1027
- @target_Type = target_Type
1028
- end
1029
- end
1030
-
1031
- # AdScheduleTarget
1032
- # - target_Type - SOAP::SOAPString
1033
- # - dayOfWeek - AdwordsApi::V201101::TrafficEstimatorService::DayOfWeek
1034
- # - startHour - SOAP::SOAPInt
1035
- # - startMinute - AdwordsApi::V201101::TrafficEstimatorService::MinuteOfHour
1036
- # - endHour - SOAP::SOAPInt
1037
- # - endMinute - AdwordsApi::V201101::TrafficEstimatorService::MinuteOfHour
1038
- # - bidMultiplier - SOAP::SOAPDouble
1039
- class AdScheduleTarget < Target
1040
- attr_accessor :target_Type
1041
- attr_accessor :dayOfWeek
1042
- attr_accessor :startHour
1043
- attr_accessor :startMinute
1044
- attr_accessor :endHour
1045
- attr_accessor :endMinute
1046
- attr_accessor :bidMultiplier
1047
-
1048
- def initialize(target_Type = nil, dayOfWeek = nil, startHour = nil, startMinute = nil, endHour = nil, endMinute = nil, bidMultiplier = nil)
1049
- @target_Type = target_Type
1050
- @dayOfWeek = dayOfWeek
1051
- @startHour = startHour
1052
- @startMinute = startMinute
1053
- @endHour = endHour
1054
- @endMinute = endMinute
1055
- @bidMultiplier = bidMultiplier
1056
- end
1057
- end
1058
-
1059
- # DemographicTarget
1060
- # abstract
1061
- # - target_Type - SOAP::SOAPString
1062
- # - bidModifier - SOAP::SOAPInt
1063
- class DemographicTarget < Target
1064
- attr_accessor :target_Type
1065
- attr_accessor :bidModifier
1066
-
1067
- def initialize(target_Type = nil, bidModifier = nil)
1068
- @target_Type = target_Type
1069
- @bidModifier = bidModifier
1070
- end
1071
- end
1072
-
1073
- # AgeTarget
1074
- # - target_Type - SOAP::SOAPString
1075
- # - bidModifier - SOAP::SOAPInt
1076
- # - age - AdwordsApi::V201101::TrafficEstimatorService::AgeTargetAge
1077
- class AgeTarget < DemographicTarget
1078
- attr_accessor :target_Type
1079
- attr_accessor :bidModifier
1080
- attr_accessor :age
1081
-
1082
- def initialize(target_Type = nil, bidModifier = nil, age = nil)
1083
- @target_Type = target_Type
1084
- @bidModifier = bidModifier
1085
- @age = age
1086
- end
1087
- end
1088
-
1089
- # GenderTarget
1090
- # - target_Type - SOAP::SOAPString
1091
- # - bidModifier - SOAP::SOAPInt
1092
- # - gender - AdwordsApi::V201101::TrafficEstimatorService::GenderTargetGender
1093
- class GenderTarget < DemographicTarget
1094
- attr_accessor :target_Type
1095
- attr_accessor :bidModifier
1096
- attr_accessor :gender
1097
-
1098
- def initialize(target_Type = nil, bidModifier = nil, gender = nil)
1099
- @target_Type = target_Type
1100
- @bidModifier = bidModifier
1101
- @gender = gender
1102
- end
1103
- end
1104
-
1105
- # GeoTarget
1106
- # abstract
1107
- # - target_Type - SOAP::SOAPString
1108
- # - excluded - SOAP::SOAPBoolean
1109
- class GeoTarget < Target
1110
- attr_accessor :target_Type
1111
- attr_accessor :excluded
1112
-
1113
- def initialize(target_Type = nil, excluded = nil)
1114
- @target_Type = target_Type
1115
- @excluded = excluded
1116
- end
1117
- end
1118
-
1119
- # CityTarget
1120
- # - target_Type - SOAP::SOAPString
1121
- # - excluded - SOAP::SOAPBoolean
1122
- # - cityName - SOAP::SOAPString
1123
- # - provinceCode - SOAP::SOAPString
1124
- # - countryCode - SOAP::SOAPString
1125
- class CityTarget < GeoTarget
1126
- attr_accessor :target_Type
1127
- attr_accessor :excluded
1128
- attr_accessor :cityName
1129
- attr_accessor :provinceCode
1130
- attr_accessor :countryCode
1131
-
1132
- def initialize(target_Type = nil, excluded = nil, cityName = nil, provinceCode = nil, countryCode = nil)
1133
- @target_Type = target_Type
1134
- @excluded = excluded
1135
- @cityName = cityName
1136
- @provinceCode = provinceCode
1137
- @countryCode = countryCode
1138
- end
1139
- end
1140
-
1141
- # CountryTarget
1142
- # - target_Type - SOAP::SOAPString
1143
- # - excluded - SOAP::SOAPBoolean
1144
- # - countryCode - SOAP::SOAPString
1145
- class CountryTarget < GeoTarget
1146
- attr_accessor :target_Type
1147
- attr_accessor :excluded
1148
- attr_accessor :countryCode
1149
-
1150
- def initialize(target_Type = nil, excluded = nil, countryCode = nil)
1151
- @target_Type = target_Type
1152
- @excluded = excluded
1153
- @countryCode = countryCode
1154
- end
1155
- end
1156
-
1157
- # MetroTarget
1158
- # - target_Type - SOAP::SOAPString
1159
- # - excluded - SOAP::SOAPBoolean
1160
- # - metroCode - SOAP::SOAPString
1161
- class MetroTarget < GeoTarget
1162
- attr_accessor :target_Type
1163
- attr_accessor :excluded
1164
- attr_accessor :metroCode
1165
-
1166
- def initialize(target_Type = nil, excluded = nil, metroCode = nil)
1167
- @target_Type = target_Type
1168
- @excluded = excluded
1169
- @metroCode = metroCode
1170
- end
1171
- end
1172
-
1173
- # PolygonTarget
1174
- # - target_Type - SOAP::SOAPString
1175
- # - excluded - SOAP::SOAPBoolean
1176
- # - vertices - AdwordsApi::V201101::TrafficEstimatorService::GeoPoint
1177
- class PolygonTarget < GeoTarget
1178
- attr_accessor :target_Type
1179
- attr_accessor :excluded
1180
- attr_accessor :vertices
1181
-
1182
- def initialize(target_Type = nil, excluded = nil, vertices = [])
1183
- @target_Type = target_Type
1184
- @excluded = excluded
1185
- @vertices = vertices
1186
- end
1187
- end
1188
-
1189
- # ProvinceTarget
1190
- # - target_Type - SOAP::SOAPString
1191
- # - excluded - SOAP::SOAPBoolean
1192
- # - provinceCode - SOAP::SOAPString
1193
- class ProvinceTarget < GeoTarget
1194
- attr_accessor :target_Type
1195
- attr_accessor :excluded
1196
- attr_accessor :provinceCode
1197
-
1198
- def initialize(target_Type = nil, excluded = nil, provinceCode = nil)
1199
- @target_Type = target_Type
1200
- @excluded = excluded
1201
- @provinceCode = provinceCode
1202
- end
1203
- end
1204
-
1205
- # ProximityTarget
1206
- # - target_Type - SOAP::SOAPString
1207
- # - excluded - SOAP::SOAPBoolean
1208
- # - geoPoint - AdwordsApi::V201101::TrafficEstimatorService::GeoPoint
1209
- # - radiusDistanceUnits - AdwordsApi::V201101::TrafficEstimatorService::ProximityTargetDistanceUnits
1210
- # - radiusInUnits - SOAP::SOAPDouble
1211
- # - address - AdwordsApi::V201101::TrafficEstimatorService::Address
1212
- # - allowServiceOfAddress - SOAP::SOAPBoolean
1213
- class ProximityTarget < GeoTarget
1214
- attr_accessor :target_Type
1215
- attr_accessor :excluded
1216
- attr_accessor :geoPoint
1217
- attr_accessor :radiusDistanceUnits
1218
- attr_accessor :radiusInUnits
1219
- attr_accessor :address
1220
- attr_accessor :allowServiceOfAddress
1221
-
1222
- def initialize(target_Type = nil, excluded = nil, geoPoint = nil, radiusDistanceUnits = nil, radiusInUnits = nil, address = nil, allowServiceOfAddress = nil)
1223
- @target_Type = target_Type
1224
- @excluded = excluded
1225
- @geoPoint = geoPoint
1226
- @radiusDistanceUnits = radiusDistanceUnits
1227
- @radiusInUnits = radiusInUnits
1228
- @address = address
1229
- @allowServiceOfAddress = allowServiceOfAddress
1230
- end
1231
- end
1232
-
1233
- # LanguageTarget
1234
- # - target_Type - SOAP::SOAPString
1235
- # - languageCode - SOAP::SOAPString
1236
- class LanguageTarget < Target
1237
- attr_accessor :target_Type
1238
- attr_accessor :languageCode
1239
-
1240
- def initialize(target_Type = nil, languageCode = nil)
1241
- @target_Type = target_Type
1242
- @languageCode = languageCode
1243
- end
1244
- end
1245
-
1246
- # MobileTarget
1247
- # abstract
1248
- # - target_Type - SOAP::SOAPString
1249
- class MobileTarget < Target
1250
- attr_accessor :target_Type
1251
-
1252
- def initialize(target_Type = nil)
1253
- @target_Type = target_Type
1254
- end
1255
- end
1256
-
1257
- # MobileCarrierTarget
1258
- # - target_Type - SOAP::SOAPString
1259
- # - carrierName - SOAP::SOAPString
1260
- # - countryCode - SOAP::SOAPString
1261
- class MobileCarrierTarget < MobileTarget
1262
- attr_accessor :target_Type
1263
- attr_accessor :carrierName
1264
- attr_accessor :countryCode
1265
-
1266
- def initialize(target_Type = nil, carrierName = nil, countryCode = nil)
1267
- @target_Type = target_Type
1268
- @carrierName = carrierName
1269
- @countryCode = countryCode
1270
- end
1271
- end
1272
-
1273
- # MobilePlatformTarget
1274
- # - target_Type - SOAP::SOAPString
1275
- # - platformName - SOAP::SOAPString
1276
- class MobilePlatformTarget < MobileTarget
1277
- attr_accessor :target_Type
1278
- attr_accessor :platformName
1279
-
1280
- def initialize(target_Type = nil, platformName = nil)
1281
- @target_Type = target_Type
1282
- @platformName = platformName
1283
- end
1284
- end
1285
-
1286
- # PlatformTarget
1287
- # - target_Type - SOAP::SOAPString
1288
- # - platformType - AdwordsApi::V201101::TrafficEstimatorService::PlatformType
1289
- class PlatformTarget < Target
1290
- attr_accessor :target_Type
1291
- attr_accessor :platformType
1292
-
1293
- def initialize(target_Type = nil, platformType = nil)
1294
- @target_Type = target_Type
1295
- @platformType = platformType
1296
- end
1297
- end
1298
-
1299
- # Estimate
1300
- # - estimate_Type - SOAP::SOAPString
1301
- class Estimate
1302
- attr_accessor :estimate_Type
1303
-
1304
- def initialize(estimate_Type = nil)
1305
- @estimate_Type = estimate_Type
1306
- end
1307
- end
1308
-
1309
- # AdGroupEstimate
1310
- # - estimate_Type - SOAP::SOAPString
1311
- # - adGroupId - SOAP::SOAPLong
1312
- # - keywordEstimates - AdwordsApi::V201101::TrafficEstimatorService::KeywordEstimate
1313
- class AdGroupEstimate < Estimate
1314
- attr_accessor :estimate_Type
1315
- attr_accessor :adGroupId
1316
- attr_accessor :keywordEstimates
1317
-
1318
- def initialize(estimate_Type = nil, adGroupId = nil, keywordEstimates = [])
1319
- @estimate_Type = estimate_Type
1320
- @adGroupId = adGroupId
1321
- @keywordEstimates = keywordEstimates
1322
- end
1323
- end
1324
-
1325
- # CampaignEstimate
1326
- # - estimate_Type - SOAP::SOAPString
1327
- # - campaignId - SOAP::SOAPLong
1328
- # - adGroupEstimates - AdwordsApi::V201101::TrafficEstimatorService::AdGroupEstimate
1329
- class CampaignEstimate < Estimate
1330
- attr_accessor :estimate_Type
1331
- attr_accessor :campaignId
1332
- attr_accessor :adGroupEstimates
1333
-
1334
- def initialize(estimate_Type = nil, campaignId = nil, adGroupEstimates = [])
1335
- @estimate_Type = estimate_Type
1336
- @campaignId = campaignId
1337
- @adGroupEstimates = adGroupEstimates
1338
- end
1339
- end
1340
-
1341
- # KeywordEstimate
1342
- # - estimate_Type - SOAP::SOAPString
1343
- # - criterionId - SOAP::SOAPLong
1344
- # - min - AdwordsApi::V201101::TrafficEstimatorService::StatsEstimate
1345
- # - max - AdwordsApi::V201101::TrafficEstimatorService::StatsEstimate
1346
- class KeywordEstimate < Estimate
1347
- attr_accessor :estimate_Type
1348
- attr_accessor :criterionId
1349
- attr_accessor :min
1350
- attr_accessor :max
1351
-
1352
- def initialize(estimate_Type = nil, criterionId = nil, min = nil, max = nil)
1353
- @estimate_Type = estimate_Type
1354
- @criterionId = criterionId
1355
- @min = min
1356
- @max = max
1357
- end
1358
- end
1359
-
1360
- # EstimateRequest
1361
- # abstract
1362
- # - estimateRequest_Type - SOAP::SOAPString
1363
- class EstimateRequest
1364
- attr_accessor :estimateRequest_Type
1365
-
1366
- def initialize(estimateRequest_Type = nil)
1367
- @estimateRequest_Type = estimateRequest_Type
1368
- end
1369
- end
1370
-
1371
- # AdGroupEstimateRequest
1372
- # - estimateRequest_Type - SOAP::SOAPString
1373
- # - adGroupId - SOAP::SOAPLong
1374
- # - keywordEstimateRequests - AdwordsApi::V201101::TrafficEstimatorService::KeywordEstimateRequest
1375
- # - maxCpc - AdwordsApi::V201101::TrafficEstimatorService::Money
1376
- class AdGroupEstimateRequest < EstimateRequest
1377
- attr_accessor :estimateRequest_Type
1378
- attr_accessor :adGroupId
1379
- attr_accessor :keywordEstimateRequests
1380
- attr_accessor :maxCpc
1381
-
1382
- def initialize(estimateRequest_Type = nil, adGroupId = nil, keywordEstimateRequests = [], maxCpc = nil)
1383
- @estimateRequest_Type = estimateRequest_Type
1384
- @adGroupId = adGroupId
1385
- @keywordEstimateRequests = keywordEstimateRequests
1386
- @maxCpc = maxCpc
1387
- end
1388
- end
1389
-
1390
- # CampaignEstimateRequest
1391
- # - estimateRequest_Type - SOAP::SOAPString
1392
- # - campaignId - SOAP::SOAPLong
1393
- # - adGroupEstimateRequests - AdwordsApi::V201101::TrafficEstimatorService::AdGroupEstimateRequest
1394
- # - targets - AdwordsApi::V201101::TrafficEstimatorService::Target
1395
- class CampaignEstimateRequest < EstimateRequest
1396
- attr_accessor :estimateRequest_Type
1397
- attr_accessor :campaignId
1398
- attr_accessor :adGroupEstimateRequests
1399
- attr_accessor :targets
1400
-
1401
- def initialize(estimateRequest_Type = nil, campaignId = nil, adGroupEstimateRequests = [], targets = [])
1402
- @estimateRequest_Type = estimateRequest_Type
1403
- @campaignId = campaignId
1404
- @adGroupEstimateRequests = adGroupEstimateRequests
1405
- @targets = targets
1406
- end
1407
- end
1408
-
1409
- # KeywordEstimateRequest
1410
- # - estimateRequest_Type - SOAP::SOAPString
1411
- # - keyword - AdwordsApi::V201101::TrafficEstimatorService::Keyword
1412
- # - maxCpc - AdwordsApi::V201101::TrafficEstimatorService::Money
1413
- class KeywordEstimateRequest < EstimateRequest
1414
- attr_accessor :estimateRequest_Type
1415
- attr_accessor :keyword
1416
- attr_accessor :maxCpc
1417
-
1418
- def initialize(estimateRequest_Type = nil, keyword = nil, maxCpc = nil)
1419
- @estimateRequest_Type = estimateRequest_Type
1420
- @keyword = keyword
1421
- @maxCpc = maxCpc
1422
- end
1423
- end
1424
-
1425
- # StatsEstimate
1426
- # - averageCpc - AdwordsApi::V201101::TrafficEstimatorService::Money
1427
- # - averagePosition - SOAP::SOAPDouble
1428
- # - clicksPerDay - SOAP::SOAPFloat
1429
- # - totalCost - AdwordsApi::V201101::TrafficEstimatorService::Money
1430
- class StatsEstimate
1431
- attr_accessor :averageCpc
1432
- attr_accessor :averagePosition
1433
- attr_accessor :clicksPerDay
1434
- attr_accessor :totalCost
1435
-
1436
- def initialize(averageCpc = nil, averagePosition = nil, clicksPerDay = nil, totalCost = nil)
1437
- @averageCpc = averageCpc
1438
- @averagePosition = averagePosition
1439
- @clicksPerDay = clicksPerDay
1440
- @totalCost = totalCost
1441
- end
1442
- end
1443
-
1444
- # TrafficEstimatorResult
1445
- # - campaignEstimates - AdwordsApi::V201101::TrafficEstimatorService::CampaignEstimate
1446
- class TrafficEstimatorResult
1447
- attr_accessor :campaignEstimates
1448
-
1449
- def initialize(campaignEstimates = [])
1450
- @campaignEstimates = campaignEstimates
1451
- end
1452
- end
1453
-
1454
- # TrafficEstimatorSelector
1455
- # - campaignEstimateRequests - AdwordsApi::V201101::TrafficEstimatorService::CampaignEstimateRequest
1456
- class TrafficEstimatorSelector
1457
- attr_accessor :campaignEstimateRequests
1458
-
1459
- def initialize(campaignEstimateRequests = [])
1460
- @campaignEstimateRequests = campaignEstimateRequests
1461
- end
1462
- end
1463
-
1464
- # AgeTarget.Age
1465
- class AgeTargetAge < ::String
1466
- AGE_0_17 = AgeTargetAge.new("AGE_0_17")
1467
- AGE_18_24 = AgeTargetAge.new("AGE_18_24")
1468
- AGE_25_34 = AgeTargetAge.new("AGE_25_34")
1469
- AGE_35_44 = AgeTargetAge.new("AGE_35_44")
1470
- AGE_45_54 = AgeTargetAge.new("AGE_45_54")
1471
- AGE_55_64 = AgeTargetAge.new("AGE_55_64")
1472
- AGE_65_PLUS = AgeTargetAge.new("AGE_65_PLUS")
1473
- end
1474
-
1475
- # AuthenticationError.Reason
1476
- class AuthenticationErrorReason < ::String
1477
- AUTHENTICATION_FAILED = AuthenticationErrorReason.new("AUTHENTICATION_FAILED")
1478
- CLIENT_CUSTOMER_ID_INVALID = AuthenticationErrorReason.new("CLIENT_CUSTOMER_ID_INVALID")
1479
- CLIENT_CUSTOMER_ID_IS_REQUIRED = AuthenticationErrorReason.new("CLIENT_CUSTOMER_ID_IS_REQUIRED")
1480
- CLIENT_EMAIL_FAILED_TO_AUTHENTICATE = AuthenticationErrorReason.new("CLIENT_EMAIL_FAILED_TO_AUTHENTICATE")
1481
- CLIENT_EMAIL_INVALID = AuthenticationErrorReason.new("CLIENT_EMAIL_INVALID")
1482
- CLIENT_EMAIL_REQUIRED = AuthenticationErrorReason.new("CLIENT_EMAIL_REQUIRED")
1483
- CUSTOMER_NOT_FOUND = AuthenticationErrorReason.new("CUSTOMER_NOT_FOUND")
1484
- FAILED_TO_AUTHENTICATE_GOOGLE_ACCOUNT = AuthenticationErrorReason.new("FAILED_TO_AUTHENTICATE_GOOGLE_ACCOUNT")
1485
- FAILED_TO_RETRIEVE_LOGIN_COOKIE = AuthenticationErrorReason.new("FAILED_TO_RETRIEVE_LOGIN_COOKIE")
1486
- GOOGLE_ACCOUNT_COOKIE_INVALID = AuthenticationErrorReason.new("GOOGLE_ACCOUNT_COOKIE_INVALID")
1487
- GOOGLE_ACCOUNT_DELETED = AuthenticationErrorReason.new("GOOGLE_ACCOUNT_DELETED")
1488
- GOOGLE_ACCOUNT_USER_AND_ADS_USER_MISMATCH = AuthenticationErrorReason.new("GOOGLE_ACCOUNT_USER_AND_ADS_USER_MISMATCH")
1489
- LOGIN_COOKIE_INVALID = AuthenticationErrorReason.new("LOGIN_COOKIE_INVALID")
1490
- LOGIN_COOKIE_REQUIRED = AuthenticationErrorReason.new("LOGIN_COOKIE_REQUIRED")
1491
- NOT_ADS_USER = AuthenticationErrorReason.new("NOT_ADS_USER")
1492
- OAUTH_TOKEN_DISABLED = AuthenticationErrorReason.new("OAUTH_TOKEN_DISABLED")
1493
- OAUTH_TOKEN_EXPIRED = AuthenticationErrorReason.new("OAUTH_TOKEN_EXPIRED")
1494
- OAUTH_TOKEN_HEADER_INVALID = AuthenticationErrorReason.new("OAUTH_TOKEN_HEADER_INVALID")
1495
- OAUTH_TOKEN_INVALID = AuthenticationErrorReason.new("OAUTH_TOKEN_INVALID")
1496
- OAUTH_TOKEN_REVOKED = AuthenticationErrorReason.new("OAUTH_TOKEN_REVOKED")
1497
- USER_ID_INVALID = AuthenticationErrorReason.new("USER_ID_INVALID")
1498
- end
1499
-
1500
- # AuthorizationError.Reason
1501
- class AuthorizationErrorReason < ::String
1502
- EFFECTIVE_USER_PERMISSION_DENIED = AuthorizationErrorReason.new("EFFECTIVE_USER_PERMISSION_DENIED")
1503
- NO_ADWORDS_ACCOUNT_FOR_CUSTOMER = AuthorizationErrorReason.new("NO_ADWORDS_ACCOUNT_FOR_CUSTOMER")
1504
- NO_CUSTOMER_FOUND = AuthorizationErrorReason.new("NO_CUSTOMER_FOUND")
1505
- UNABLE_TO_AUTHORIZE = AuthorizationErrorReason.new("UNABLE_TO_AUTHORIZE")
1506
- USER_HAS_READONLY_PERMISSION = AuthorizationErrorReason.new("USER_HAS_READONLY_PERMISSION")
1507
- USER_PERMISSION_DENIED = AuthorizationErrorReason.new("USER_PERMISSION_DENIED")
1508
- end
1509
-
1510
- # ClientTermsError.Reason
1511
- class ClientTermsErrorReason < ::String
1512
- INCOMPLETE_SIGNUP_CURRENT_ADWORDS_TNC_NOT_AGREED = ClientTermsErrorReason.new("INCOMPLETE_SIGNUP_CURRENT_ADWORDS_TNC_NOT_AGREED")
1513
- end
1514
-
1515
- # DatabaseError.Reason
1516
- class DatabaseErrorReason < ::String
1517
- CAMPAIGN_PRODUCT_NOT_SUPPORTED = DatabaseErrorReason.new("CAMPAIGN_PRODUCT_NOT_SUPPORTED")
1518
- CONCURRENT_MODIFICATION = DatabaseErrorReason.new("CONCURRENT_MODIFICATION")
1519
- DATABASE_ERROR = DatabaseErrorReason.new("DATABASE_ERROR")
1520
- DUPLICATE_KEY = DatabaseErrorReason.new("DUPLICATE_KEY")
1521
- PERMISSION_DENIED = DatabaseErrorReason.new("PERMISSION_DENIED")
1522
- UNKNOWN = DatabaseErrorReason.new("UNKNOWN")
1523
- end
1524
-
1525
- # DateError.Reason
1526
- class DateErrorReason < ::String
1527
- DATE_RANGE_MINIMUM_AND_MAXIMUM_DATES_BOTH_NULL = DateErrorReason.new("DATE_RANGE_MINIMUM_AND_MAXIMUM_DATES_BOTH_NULL")
1528
- DATE_RANGE_MINIMUM_DATE_LATER_THAN_MAXIMUM_DATE = DateErrorReason.new("DATE_RANGE_MINIMUM_DATE_LATER_THAN_MAXIMUM_DATE")
1529
- EARLIER_THAN_MINIMUM_DATE = DateErrorReason.new("EARLIER_THAN_MINIMUM_DATE")
1530
- INVALID_FIELD_VALUES_IN_DATE = DateErrorReason.new("INVALID_FIELD_VALUES_IN_DATE")
1531
- INVALID_STRING_DATE = DateErrorReason.new("INVALID_STRING_DATE")
1532
- INVALID_STRING_DATE_RANGE = DateErrorReason.new("INVALID_STRING_DATE_RANGE")
1533
- INVALID_STRING_DATE_TIME = DateErrorReason.new("INVALID_STRING_DATE_TIME")
1534
- LATER_THAN_MAXIMUM_DATE = DateErrorReason.new("LATER_THAN_MAXIMUM_DATE")
1535
- end
1536
-
1537
- # DayOfWeek
1538
- class DayOfWeek < ::String
1539
- FRIDAY = DayOfWeek.new("FRIDAY")
1540
- MONDAY = DayOfWeek.new("MONDAY")
1541
- SATURDAY = DayOfWeek.new("SATURDAY")
1542
- SUNDAY = DayOfWeek.new("SUNDAY")
1543
- THURSDAY = DayOfWeek.new("THURSDAY")
1544
- TUESDAY = DayOfWeek.new("TUESDAY")
1545
- WEDNESDAY = DayOfWeek.new("WEDNESDAY")
1546
- end
1547
-
1548
- # DistinctError.Reason
1549
- class DistinctErrorReason < ::String
1550
- DUPLICATE_ELEMENT = DistinctErrorReason.new("DUPLICATE_ELEMENT")
1551
- DUPLICATE_TYPE = DistinctErrorReason.new("DUPLICATE_TYPE")
1552
- end
1553
-
1554
- # EntityAccessDenied.Reason
1555
- class EntityAccessDeniedReason < ::String
1556
- READ_ACCESS_DENIED = EntityAccessDeniedReason.new("READ_ACCESS_DENIED")
1557
- WRITE_ACCESS_DENIED = EntityAccessDeniedReason.new("WRITE_ACCESS_DENIED")
1558
- end
1559
-
1560
- # EntityNotFound.Reason
1561
- class EntityNotFoundReason < ::String
1562
- INVALID_ID = EntityNotFoundReason.new("INVALID_ID")
1563
- end
1564
-
1565
- # GenderTarget.Gender
1566
- class GenderTargetGender < ::String
1567
- FEMALE = GenderTargetGender.new("FEMALE")
1568
- MALE = GenderTargetGender.new("MALE")
1569
- end
1570
-
1571
- # IdError.Reason
1572
- class IdErrorReason < ::String
1573
- NOT_FOUND = IdErrorReason.new("NOT_FOUND")
1574
- end
1575
-
1576
- # InternalApiError.Reason
1577
- class InternalApiErrorReason < ::String
1578
- UNEXPECTED_INTERNAL_API_ERROR = InternalApiErrorReason.new("UNEXPECTED_INTERNAL_API_ERROR")
1579
- UNKNOWN = InternalApiErrorReason.new("UNKNOWN")
1580
- end
1581
-
1582
- # KeywordMatchType
1583
- class KeywordMatchType < ::String
1584
- BROAD = KeywordMatchType.new("BROAD")
1585
- EXACT = KeywordMatchType.new("EXACT")
1586
- PHRASE = KeywordMatchType.new("PHRASE")
1587
- end
1588
-
1589
- # MinuteOfHour
1590
- class MinuteOfHour < ::String
1591
- FIFTEEN = MinuteOfHour.new("FIFTEEN")
1592
- FORTY_FIVE = MinuteOfHour.new("FORTY_FIVE")
1593
- THIRTY = MinuteOfHour.new("THIRTY")
1594
- ZERO = MinuteOfHour.new("ZERO")
1595
- end
1596
-
1597
- # NotEmptyError.Reason
1598
- class NotEmptyErrorReason < ::String
1599
- EMPTY_LIST = NotEmptyErrorReason.new("EMPTY_LIST")
1600
- end
1601
-
1602
- # NotWhitelistedError.Reason
1603
- class NotWhitelistedErrorReason < ::String
1604
- CUSTOMER_NOT_WHITELISTED_FOR_API = NotWhitelistedErrorReason.new("CUSTOMER_NOT_WHITELISTED_FOR_API")
1605
- end
1606
-
1607
- # NullError.Reason
1608
- class NullErrorReason < ::String
1609
- NULL_CONTENT = NullErrorReason.new("NULL_CONTENT")
1610
- end
1611
-
1612
- # OperationAccessDenied.Reason
1613
- class OperationAccessDeniedReason < ::String
1614
- ACTION_NOT_PERMITTED = OperationAccessDeniedReason.new("ACTION_NOT_PERMITTED")
1615
- ADD_OPERATION_NOT_PERMITTED = OperationAccessDeniedReason.new("ADD_OPERATION_NOT_PERMITTED")
1616
- MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT = OperationAccessDeniedReason.new("MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT")
1617
- REMOVE_OPERATION_NOT_PERMITTED = OperationAccessDeniedReason.new("REMOVE_OPERATION_NOT_PERMITTED")
1618
- SET_OPERATION_NOT_PERMITTED = OperationAccessDeniedReason.new("SET_OPERATION_NOT_PERMITTED")
1619
- UNKNOWN = OperationAccessDeniedReason.new("UNKNOWN")
1620
- end
1621
-
1622
- # OperatorError.Reason
1623
- class OperatorErrorReason < ::String
1624
- OPERATOR_NOT_SUPPORTED = OperatorErrorReason.new("OPERATOR_NOT_SUPPORTED")
1625
- end
1626
-
1627
- # PlatformType
1628
- class PlatformType < ::String
1629
- DESKTOP = PlatformType.new("DESKTOP")
1630
- HIGH_END_MOBILE = PlatformType.new("HIGH_END_MOBILE")
1631
- UNKNOWN = PlatformType.new("UNKNOWN")
1632
- end
1633
-
1634
- # ProximityTarget.DistanceUnits
1635
- class ProximityTargetDistanceUnits < ::String
1636
- KILOMETERS = ProximityTargetDistanceUnits.new("KILOMETERS")
1637
- MILES = ProximityTargetDistanceUnits.new("MILES")
1638
- end
1639
-
1640
- # QuotaCheckError.Reason
1641
- class QuotaCheckErrorReason < ::String
1642
- ACCOUNT_DELINQUENT = QuotaCheckErrorReason.new("ACCOUNT_DELINQUENT")
1643
- ACCOUNT_INACCESSIBLE = QuotaCheckErrorReason.new("ACCOUNT_INACCESSIBLE")
1644
- ACCOUNT_INACTIVE = QuotaCheckErrorReason.new("ACCOUNT_INACTIVE")
1645
- INCOMPLETE_SIGNUP = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP")
1646
- INCOMPLETE_SIGNUP_LATEST_ADWORDS_API_TNC_NOT_AGREED = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP_LATEST_ADWORDS_API_TNC_NOT_AGREED")
1647
- INCOMPLETE_SIGNUP_NO_BILLING_INFO = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP_NO_BILLING_INFO")
1648
- INCOMPLETE_SIGNUP_USER_INFO_MISSING = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP_USER_INFO_MISSING")
1649
- INCOMPLETE_SIGNUP_USER_INFO_PENDING = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP_USER_INFO_PENDING")
1650
- INCOMPLETE_SIGNUP_USER_INFO_REJECTED = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP_USER_INFO_REJECTED")
1651
- INVALID_TOKEN_HEADER = QuotaCheckErrorReason.new("INVALID_TOKEN_HEADER")
1652
- MONTHLY_BUDGET_REACHED = QuotaCheckErrorReason.new("MONTHLY_BUDGET_REACHED")
1653
- QUOTA_EXCEEDED = QuotaCheckErrorReason.new("QUOTA_EXCEEDED")
1654
- end
1655
-
1656
- # RangeError.Reason
1657
- class RangeErrorReason < ::String
1658
- TOO_HIGH = RangeErrorReason.new("TOO_HIGH")
1659
- TOO_LOW = RangeErrorReason.new("TOO_LOW")
1660
- end
1661
-
1662
- # RateExceededError.Reason
1663
- class RateExceededErrorReason < ::String
1664
- RATE_EXCEEDED = RateExceededErrorReason.new("RATE_EXCEEDED")
1665
- end
1666
-
1667
- # ReadOnlyError.Reason
1668
- class ReadOnlyErrorReason < ::String
1669
- READ_ONLY = ReadOnlyErrorReason.new("READ_ONLY")
1670
- end
1671
-
1672
- # RegionCodeError.Reason
1673
- class RegionCodeErrorReason < ::String
1674
- INVALID_REGION_CODE = RegionCodeErrorReason.new("INVALID_REGION_CODE")
1675
- end
1676
-
1677
- # RejectedError.Reason
1678
- class RejectedErrorReason < ::String
1679
- UNKNOWN_VALUE = RejectedErrorReason.new("UNKNOWN_VALUE")
1680
- end
1681
-
1682
- # RequestError.Reason
1683
- class RequestErrorReason < ::String
1684
- INVALID_INPUT = RequestErrorReason.new("INVALID_INPUT")
1685
- UNKNOWN = RequestErrorReason.new("UNKNOWN")
1686
- end
1687
-
1688
- # RequiredError.Reason
1689
- class RequiredErrorReason < ::String
1690
- REQUIRED = RequiredErrorReason.new("REQUIRED")
1691
- end
1692
-
1693
- # SizeLimitError.Reason
1694
- class SizeLimitErrorReason < ::String
1695
- REQUEST_SIZE_LIMIT_EXCEEDED = SizeLimitErrorReason.new("REQUEST_SIZE_LIMIT_EXCEEDED")
1696
- RESPONSE_SIZE_LIMIT_EXCEEDED = SizeLimitErrorReason.new("RESPONSE_SIZE_LIMIT_EXCEEDED")
1697
- UNKNOWN = SizeLimitErrorReason.new("UNKNOWN")
1698
- end
1699
-
1700
- # StringLengthError.Reason
1701
- class StringLengthErrorReason < ::String
1702
- TOO_LONG = StringLengthErrorReason.new("TOO_LONG")
1703
- TOO_SHORT = StringLengthErrorReason.new("TOO_SHORT")
1704
- end
1705
-
1706
- # TargetError.Reason
1707
- class TargetErrorReason < ::String
1708
- AD_SCHEDULE_ADVANCED_INCOMPATIBLE_WITH_CONVERSION_OPTIMIZER = TargetErrorReason.new("AD_SCHEDULE_ADVANCED_INCOMPATIBLE_WITH_CONVERSION_OPTIMIZER")
1709
- AD_SCHEDULE_BID_MULTIPLIER_MALFORMED = TargetErrorReason.new("AD_SCHEDULE_BID_MULTIPLIER_MALFORMED")
1710
- AD_SCHEDULE_BID_MULTIPLIER_TOO_BIG = TargetErrorReason.new("AD_SCHEDULE_BID_MULTIPLIER_TOO_BIG")
1711
- AD_SCHEDULE_BID_MULTIPLIER_TOO_MANY_FRACTION_DIGITS = TargetErrorReason.new("AD_SCHEDULE_BID_MULTIPLIER_TOO_MANY_FRACTION_DIGITS")
1712
- AD_SCHEDULE_BID_MULTIPLIER_TOO_SMALL = TargetErrorReason.new("AD_SCHEDULE_BID_MULTIPLIER_TOO_SMALL")
1713
- AD_SCHEDULE_EXCEEDED_INTERVALS_PER_DAY_LIMIT = TargetErrorReason.new("AD_SCHEDULE_EXCEEDED_INTERVALS_PER_DAY_LIMIT")
1714
- AD_SCHEDULE_EXCEEDS_PAST_END_OF_WEEK = TargetErrorReason.new("AD_SCHEDULE_EXCEEDS_PAST_END_OF_WEEK")
1715
- AD_SCHEDULE_INCOMPATIBILITY = TargetErrorReason.new("AD_SCHEDULE_INCOMPATIBILITY")
1716
- AD_SCHEDULE_INCOMPATIBLE_WITH_BUDGET_OPTIMIZER = TargetErrorReason.new("AD_SCHEDULE_INCOMPATIBLE_WITH_BUDGET_OPTIMIZER")
1717
- AD_SCHEDULE_INTERVAL_CANNOT_SPAN_MULTIPLE_DAYS = TargetErrorReason.new("AD_SCHEDULE_INTERVAL_CANNOT_SPAN_MULTIPLE_DAYS")
1718
- AD_SCHEDULE_INVALID_DAY_OF_THE_WEEK = TargetErrorReason.new("AD_SCHEDULE_INVALID_DAY_OF_THE_WEEK")
1719
- AD_SCHEDULE_INVALID_TIME_INTERVAL = TargetErrorReason.new("AD_SCHEDULE_INVALID_TIME_INTERVAL")
1720
- AD_SCHEDULE_NOT_MULTIPLE_OF_15_MINUTES = TargetErrorReason.new("AD_SCHEDULE_NOT_MULTIPLE_OF_15_MINUTES")
1721
- AD_SCHEDULE_NO_INTERVALS_WHILE_ENABLED = TargetErrorReason.new("AD_SCHEDULE_NO_INTERVALS_WHILE_ENABLED")
1722
- AD_SCHEDULE_TIME_INTERVALS_OVERLAP = TargetErrorReason.new("AD_SCHEDULE_TIME_INTERVALS_OVERLAP")
1723
- CANNOT_EXCLUDE_CITY = TargetErrorReason.new("CANNOT_EXCLUDE_CITY")
1724
- CANNOT_EXCLUDE_IF_NOT_TARGETED = TargetErrorReason.new("CANNOT_EXCLUDE_IF_NOT_TARGETED")
1725
- CANNOT_EXCLUDE_METRO = TargetErrorReason.new("CANNOT_EXCLUDE_METRO")
1726
- CANNOT_EXCLUDE_PROVINCE = TargetErrorReason.new("CANNOT_EXCLUDE_PROVINCE")
1727
- CANNOT_OPT_OUT_GOOGLE_SEARCH_WHILE_BID_TO_POSITION_ENABLE = TargetErrorReason.new("CANNOT_OPT_OUT_GOOGLE_SEARCH_WHILE_BID_TO_POSITION_ENABLE")
1728
- CANNOT_TARGET_AGE_WITHOUT_GENDER = TargetErrorReason.new("CANNOT_TARGET_AGE_WITHOUT_GENDER")
1729
- CANNOT_TARGET_CITY = TargetErrorReason.new("CANNOT_TARGET_CITY")
1730
- CANNOT_TARGET_CONTENT_CONTEXTUAL_WITHOUT_CONTENT_NETWORK = TargetErrorReason.new("CANNOT_TARGET_CONTENT_CONTEXTUAL_WITHOUT_CONTENT_NETWORK")
1731
- CANNOT_TARGET_COUNTRY = TargetErrorReason.new("CANNOT_TARGET_COUNTRY")
1732
- CANNOT_TARGET_COVERAGE = TargetErrorReason.new("CANNOT_TARGET_COVERAGE")
1733
- CANNOT_TARGET_GENDER_WITHOUT_AGE = TargetErrorReason.new("CANNOT_TARGET_GENDER_WITHOUT_AGE")
1734
- CANNOT_TARGET_GOOGLE_SEARCH_FOR_CPM_CAMPAIGN = TargetErrorReason.new("CANNOT_TARGET_GOOGLE_SEARCH_FOR_CPM_CAMPAIGN")
1735
- CANNOT_TARGET_LANGUAGE = TargetErrorReason.new("CANNOT_TARGET_LANGUAGE")
1736
- CANNOT_TARGET_METRO = TargetErrorReason.new("CANNOT_TARGET_METRO")
1737
- CANNOT_TARGET_MOBILE_CARRIER = TargetErrorReason.new("CANNOT_TARGET_MOBILE_CARRIER")
1738
- CANNOT_TARGET_PROVINCE = TargetErrorReason.new("CANNOT_TARGET_PROVINCE")
1739
- CANNOT_TARGET_SEARCH_SYNDICATION_WITHOUT_GOOGLE_SEARCH = TargetErrorReason.new("CANNOT_TARGET_SEARCH_SYNDICATION_WITHOUT_GOOGLE_SEARCH")
1740
- CANNOT_TARGET_SYNDICATABLE_TYPES = TargetErrorReason.new("CANNOT_TARGET_SYNDICATABLE_TYPES")
1741
- CANNOT_TARGET_THE_SAME_TARGET_LIST_TYPE_MULTIPLE_TIMES = TargetErrorReason.new("CANNOT_TARGET_THE_SAME_TARGET_LIST_TYPE_MULTIPLE_TIMES")
1742
- DEMOGRAPHIC_BID_MODIFIER_SHOULD_BE_IN_BETWEEN_0_AND_500 = TargetErrorReason.new("DEMOGRAPHIC_BID_MODIFIER_SHOULD_BE_IN_BETWEEN_0_AND_500")
1743
- INVALID_CITYNAME_LENGTH = TargetErrorReason.new("INVALID_CITYNAME_LENGTH")
1744
- INVALID_CITY_CODE = TargetErrorReason.new("INVALID_CITY_CODE")
1745
- INVALID_EXCLUDED_POLYGON_TARGET = TargetErrorReason.new("INVALID_EXCLUDED_POLYGON_TARGET")
1746
- INVALID_EXCLUDED_PROXIMITY_TARGET = TargetErrorReason.new("INVALID_EXCLUDED_PROXIMITY_TARGET")
1747
- INVALID_LANGUAGE_CODE = TargetErrorReason.new("INVALID_LANGUAGE_CODE")
1748
- INVALID_LATITUDE = TargetErrorReason.new("INVALID_LATITUDE")
1749
- INVALID_LONGITUDE = TargetErrorReason.new("INVALID_LONGITUDE")
1750
- INVALID_METRO_CODE = TargetErrorReason.new("INVALID_METRO_CODE")
1751
- INVALID_MOBILE_CARRIER = TargetErrorReason.new("INVALID_MOBILE_CARRIER")
1752
- INVALID_MOBILE_PLATFORM = TargetErrorReason.new("INVALID_MOBILE_PLATFORM")
1753
- INVALID_POSTALCODE_LENGTH = TargetErrorReason.new("INVALID_POSTALCODE_LENGTH")
1754
- INVALID_PROVINCE_CODE = TargetErrorReason.new("INVALID_PROVINCE_CODE")
1755
- INVALID_PROXIMITY_RADIUS = TargetErrorReason.new("INVALID_PROXIMITY_RADIUS")
1756
- INVALID_REGIONCODE_LENGTH = TargetErrorReason.new("INVALID_REGIONCODE_LENGTH")
1757
- INVALID_REGIONNAME_LENGTH = TargetErrorReason.new("INVALID_REGIONNAME_LENGTH")
1758
- INVALID_STREETADDRESS_LENGTH = TargetErrorReason.new("INVALID_STREETADDRESS_LENGTH")
1759
- MULTIPLE_OCCURRENCES_OF_SAME_TARGET = TargetErrorReason.new("MULTIPLE_OCCURRENCES_OF_SAME_TARGET")
1760
- POLYGON_DUPLICATE_VERTICES = TargetErrorReason.new("POLYGON_DUPLICATE_VERTICES")
1761
- POLYGON_EDGES_INTERSECT = TargetErrorReason.new("POLYGON_EDGES_INTERSECT")
1762
- POLYGON_TOO_FEW_VERTICES = TargetErrorReason.new("POLYGON_TOO_FEW_VERTICES")
1763
- POLYGON_TOO_LARGE = TargetErrorReason.new("POLYGON_TOO_LARGE")
1764
- POLYGON_TOO_MANY_VERTICES = TargetErrorReason.new("POLYGON_TOO_MANY_VERTICES")
1765
- TARGETING_CROSS_COUNTRY_REGIONAL = TargetErrorReason.new("TARGETING_CROSS_COUNTRY_REGIONAL")
1766
- TARGETING_EXCLUSION_NOT_SUPPORTED = TargetErrorReason.new("TARGETING_EXCLUSION_NOT_SUPPORTED")
1767
- TARGETING_INCOMPATIBLE_LOCATION_TYPES = TargetErrorReason.new("TARGETING_INCOMPATIBLE_LOCATION_TYPES")
1768
- TARGETING_NOT_SUPPORTED = TargetErrorReason.new("TARGETING_NOT_SUPPORTED")
1769
- TARGETING_TOO_MANY_REGIONS = TargetErrorReason.new("TARGETING_TOO_MANY_REGIONS")
1770
- TARGETING_VALIDATION_FAILED = TargetErrorReason.new("TARGETING_VALIDATION_FAILED")
1771
- TARGET_ERROR = TargetErrorReason.new("TARGET_ERROR")
1772
- TARGET_IS_ENCLOSED_BY_ANOTHER_TARGET = TargetErrorReason.new("TARGET_IS_ENCLOSED_BY_ANOTHER_TARGET")
1773
- TARGET_IS_EXCLUDED_BY_ANOTHER_TARGET = TargetErrorReason.new("TARGET_IS_EXCLUDED_BY_ANOTHER_TARGET")
1774
- TOO_MANY_EXCLUDED_LOCATIONS = TargetErrorReason.new("TOO_MANY_EXCLUDED_LOCATIONS")
1775
- TOO_MANY_TARGETED_LOCATIONS = TargetErrorReason.new("TOO_MANY_TARGETED_LOCATIONS")
1776
- WARNING_MAY_NOW_REQUIRE_CHINESE_APPROVAL = TargetErrorReason.new("WARNING_MAY_NOW_REQUIRE_CHINESE_APPROVAL")
1777
- WARNING_NOW_REQUIRES_CHINESE_APPROVAL = TargetErrorReason.new("WARNING_NOW_REQUIRES_CHINESE_APPROVAL")
1778
- WARNING_NOW_TARGETS_CHINA = TargetErrorReason.new("WARNING_NOW_TARGETS_CHINA")
1779
- WARNING_NOW_TARGETS_CHINESE = TargetErrorReason.new("WARNING_NOW_TARGETS_CHINESE")
1780
- end
1781
-
1782
- # CriterionUserList.MembershipStatus
1783
- class CriterionUserListMembershipStatus < ::String
1784
- CLOSED = CriterionUserListMembershipStatus.new("CLOSED")
1785
- OPEN = CriterionUserListMembershipStatus.new("OPEN")
1786
- end
1787
-
1788
- # CollectionSizeError.Reason
1789
- class CollectionSizeErrorReason < ::String
1790
- TOO_FEW = CollectionSizeErrorReason.new("TOO_FEW")
1791
- TOO_MANY = CollectionSizeErrorReason.new("TOO_MANY")
1792
- end
1793
-
1794
- # CurrencyCodeError.Reason
1795
- class CurrencyCodeErrorReason < ::String
1796
- UNSUPPORTED_CURRENCY_CODE = CurrencyCodeErrorReason.new("UNSUPPORTED_CURRENCY_CODE")
1797
- end
1798
-
1799
- # MatchesRegexError.Reason
1800
- class MatchesRegexErrorReason < ::String
1801
- DOES_NOT_MATCH = MatchesRegexErrorReason.new("DOES_NOT_MATCH")
1802
- UNKNOWN = MatchesRegexErrorReason.new("UNKNOWN")
1803
- end
1804
-
1805
- # TrafficEstimatorError.Reason
1806
- class TrafficEstimatorErrorReason < ::String
1807
- INVALID_INPUT = TrafficEstimatorErrorReason.new("INVALID_INPUT")
1808
- NO_AD_GROUP_FOR_KEYWORD_ESTIMATE_REQUEST = TrafficEstimatorErrorReason.new("NO_AD_GROUP_FOR_KEYWORD_ESTIMATE_REQUEST")
1809
- NO_CAMPAIGN_FOR_AD_GROUP_ESTIMATE_REQUEST = TrafficEstimatorErrorReason.new("NO_CAMPAIGN_FOR_AD_GROUP_ESTIMATE_REQUEST")
1810
- NO_MAX_CPC_FOR_KEYWORD_ESTIMATE_REQUEST = TrafficEstimatorErrorReason.new("NO_MAX_CPC_FOR_KEYWORD_ESTIMATE_REQUEST")
1811
- SERVICE_UNAVAILABLE = TrafficEstimatorErrorReason.new("SERVICE_UNAVAILABLE")
1812
- TOO_MANY_ADGROUP_ESTIMATE_REQUESTS = TrafficEstimatorErrorReason.new("TOO_MANY_ADGROUP_ESTIMATE_REQUESTS")
1813
- TOO_MANY_CAMPAIGN_ESTIMATE_REQUESTS = TrafficEstimatorErrorReason.new("TOO_MANY_CAMPAIGN_ESTIMATE_REQUESTS")
1814
- TOO_MANY_KEYWORD_ESTIMATE_REQUESTS = TrafficEstimatorErrorReason.new("TOO_MANY_KEYWORD_ESTIMATE_REQUESTS")
1815
- TOO_MANY_TARGETS = TrafficEstimatorErrorReason.new("TOO_MANY_TARGETS")
1816
- end
1817
-
1818
- # get
1819
- # - selector - AdwordsApi::V201101::TrafficEstimatorService::TrafficEstimatorSelector
1820
- class Get #:nodoc: all
1821
- attr_accessor :selector
1822
-
1823
- def initialize(selector = nil)
1824
- @selector = selector
1825
- end
1826
- end
1827
-
1828
- # getResponse
1829
- # - rval - AdwordsApi::V201101::TrafficEstimatorService::TrafficEstimatorResult
1830
- class GetResponse #:nodoc: all
1831
- attr_accessor :rval
1832
-
1833
- def initialize(rval = nil)
1834
- @rval = rval
1835
- end
1836
- end
1837
-
1838
-
1839
- end; end; end