google-adwords-api 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (527) hide show
  1. data/README +178 -0
  2. data/Rakefile +117 -0
  3. data/adwords_api.yml +21 -0
  4. data/examples/v200909/add_ad_extension_override.rb +91 -0
  5. data/examples/v200909/add_ad_group.rb +98 -0
  6. data/examples/v200909/add_ad_group_criteria.rb +117 -0
  7. data/examples/v200909/add_ads.rb +129 -0
  8. data/examples/v200909/add_campaign.rb +101 -0
  9. data/examples/v200909/add_campaign_ad_extension.rb +130 -0
  10. data/examples/v200909/add_negative_campaign_criterion.rb +96 -0
  11. data/examples/v200909/check_campaigns.rb +132 -0
  12. data/examples/v200909/delete_ad.rb +94 -0
  13. data/examples/v200909/delete_ad_group.rb +86 -0
  14. data/examples/v200909/delete_ad_group_criterion.rb +95 -0
  15. data/examples/v200909/delete_campaign.rb +87 -0
  16. data/examples/v200909/get_all_active_ad_group_criteria.rb +93 -0
  17. data/examples/v200909/get_all_ad_extension_overrides.rb +91 -0
  18. data/examples/v200909/get_all_ad_group_criteria.rb +91 -0
  19. data/examples/v200909/get_all_ad_groups.rb +88 -0
  20. data/examples/v200909/get_all_ad_params.rb +89 -0
  21. data/examples/v200909/get_all_ads.rb +88 -0
  22. data/examples/v200909/get_all_campaign_ad_extensions.rb +90 -0
  23. data/examples/v200909/get_all_campaign_targets.rb +83 -0
  24. data/examples/v200909/get_all_campaigns.rb +83 -0
  25. data/examples/v200909/get_all_disapproved_ads.rb +94 -0
  26. data/examples/v200909/get_all_paused_campaigns.rb +86 -0
  27. data/examples/v200909/get_conversion_optimizer_eligibility.rb +112 -0
  28. data/examples/v200909/get_geo_location_info.rb +108 -0
  29. data/examples/v200909/get_method_cost.rb +96 -0
  30. data/examples/v200909/get_operation_count.rb +88 -0
  31. data/examples/v200909/get_related_keywords.rb +115 -0
  32. data/examples/v200909/get_related_placements.rb +114 -0
  33. data/examples/v200909/get_total_usage_units_per_month.rb +83 -0
  34. data/examples/v200909/get_unit_count.rb +88 -0
  35. data/examples/v200909/perform_bulk_mutate_job.rb +221 -0
  36. data/examples/v200909/set_ad_params.rb +124 -0
  37. data/examples/v200909/set_campaign_targets.rb +125 -0
  38. data/examples/v200909/update_ad.rb +95 -0
  39. data/examples/v200909/update_ad_group.rb +90 -0
  40. data/examples/v200909/update_ad_group_criterion.rb +108 -0
  41. data/examples/v200909/update_campaign.rb +93 -0
  42. data/examples/v201003/add_ad_extension_override.rb +91 -0
  43. data/examples/v201003/add_ad_group.rb +98 -0
  44. data/examples/v201003/add_ad_group_criteria.rb +117 -0
  45. data/examples/v201003/add_ads.rb +182 -0
  46. data/examples/v201003/add_campaign.rb +101 -0
  47. data/examples/v201003/add_campaign_ad_extension.rb +130 -0
  48. data/examples/v201003/add_keywords_performance_report_definition.rb +108 -0
  49. data/examples/v201003/add_negative_campaign_criterion.rb +96 -0
  50. data/examples/v201003/check_campaigns.rb +132 -0
  51. data/examples/v201003/delete_ad.rb +94 -0
  52. data/examples/v201003/delete_ad_group.rb +86 -0
  53. data/examples/v201003/delete_ad_group_criterion.rb +95 -0
  54. data/examples/v201003/delete_campaign.rb +87 -0
  55. data/examples/v201003/download_report.rb +71 -0
  56. data/examples/v201003/get_all_active_ad_group_criteria.rb +93 -0
  57. data/examples/v201003/get_all_ad_extension_overrides.rb +91 -0
  58. data/examples/v201003/get_all_ad_group_criteria.rb +91 -0
  59. data/examples/v201003/get_all_ad_groups.rb +88 -0
  60. data/examples/v201003/get_all_ad_params.rb +89 -0
  61. data/examples/v201003/get_all_ads.rb +91 -0
  62. data/examples/v201003/get_all_campaign_ad_extensions.rb +90 -0
  63. data/examples/v201003/get_all_campaign_targets.rb +83 -0
  64. data/examples/v201003/get_all_campaigns.rb +83 -0
  65. data/examples/v201003/get_all_disapproved_ads.rb +94 -0
  66. data/examples/v201003/get_all_images.rb +88 -0
  67. data/examples/v201003/get_all_paused_campaigns.rb +86 -0
  68. data/examples/v201003/get_all_report_definitions.rb +84 -0
  69. data/examples/v201003/get_all_videos.rb +85 -0
  70. data/examples/v201003/get_conversion_optimizer_eligibility.rb +112 -0
  71. data/examples/v201003/get_criterion_bid_landscape.rb +105 -0
  72. data/examples/v201003/get_geo_location_info.rb +108 -0
  73. data/examples/v201003/get_method_cost.rb +96 -0
  74. data/examples/v201003/get_operation_count.rb +88 -0
  75. data/examples/v201003/get_related_keywords.rb +115 -0
  76. data/examples/v201003/get_related_placements.rb +114 -0
  77. data/examples/v201003/get_report_fields.rb +81 -0
  78. data/examples/v201003/get_total_usage_units_per_month.rb +83 -0
  79. data/examples/v201003/get_unit_count.rb +88 -0
  80. data/examples/v201003/perform_bulk_mutate_job.rb +221 -0
  81. data/examples/v201003/set_ad_params.rb +124 -0
  82. data/examples/v201003/set_campaign_targets.rb +125 -0
  83. data/examples/v201003/update_ad.rb +95 -0
  84. data/examples/v201003/update_ad_group.rb +90 -0
  85. data/examples/v201003/update_ad_group_criterion.rb +108 -0
  86. data/examples/v201003/update_campaign.rb +92 -0
  87. data/examples/v201003/upload_image.rb +97 -0
  88. data/examples/v201008/add_ad_extension_override.rb +91 -0
  89. data/examples/v201008/add_ad_group.rb +98 -0
  90. data/examples/v201008/add_ad_group_criteria.rb +117 -0
  91. data/examples/v201008/add_ads.rb +182 -0
  92. data/examples/v201008/add_campaign.rb +101 -0
  93. data/examples/v201008/add_campaign_ad_extension.rb +130 -0
  94. data/examples/v201008/add_experiment.rb +162 -0
  95. data/examples/v201008/add_keywords_performance_report_definition.rb +108 -0
  96. data/examples/v201008/add_negative_campaign_criterion.rb +96 -0
  97. data/examples/v201008/add_user_list.rb +96 -0
  98. data/examples/v201008/check_campaigns.rb +132 -0
  99. data/examples/v201008/delete_ad.rb +94 -0
  100. data/examples/v201008/delete_ad_group.rb +86 -0
  101. data/examples/v201008/delete_ad_group_criterion.rb +95 -0
  102. data/examples/v201008/delete_bulk_mutate_job.rb +96 -0
  103. data/examples/v201008/delete_campaign.rb +87 -0
  104. data/examples/v201008/delete_experiment.rb +87 -0
  105. data/examples/v201008/delete_user_list.rb +87 -0
  106. data/examples/v201008/download_report.rb +71 -0
  107. data/examples/v201008/get_account_hierarchy.rb +112 -0
  108. data/examples/v201008/get_all_account_changes.rb +144 -0
  109. data/examples/v201008/get_all_active_ad_group_criteria.rb +93 -0
  110. data/examples/v201008/get_all_ad_extension_overrides.rb +91 -0
  111. data/examples/v201008/get_all_ad_group_criteria.rb +91 -0
  112. data/examples/v201008/get_all_ad_groups.rb +88 -0
  113. data/examples/v201008/get_all_ad_params.rb +89 -0
  114. data/examples/v201008/get_all_ads.rb +91 -0
  115. data/examples/v201008/get_all_campaign_ad_extensions.rb +90 -0
  116. data/examples/v201008/get_all_campaign_targets.rb +83 -0
  117. data/examples/v201008/get_all_campaigns.rb +83 -0
  118. data/examples/v201008/get_all_disapproved_ads.rb +94 -0
  119. data/examples/v201008/get_all_experiments.rb +93 -0
  120. data/examples/v201008/get_all_images.rb +88 -0
  121. data/examples/v201008/get_all_paused_campaigns.rb +86 -0
  122. data/examples/v201008/get_all_report_definitions.rb +84 -0
  123. data/examples/v201008/get_all_user_lists.rb +84 -0
  124. data/examples/v201008/get_all_videos.rb +85 -0
  125. data/examples/v201008/get_bulk_mutate_job.rb +106 -0
  126. data/examples/v201008/get_campaign_alerts.rb +103 -0
  127. data/examples/v201008/get_conversion_optimizer_eligibility.rb +97 -0
  128. data/examples/v201008/get_criterion_bid_landscape.rb +105 -0
  129. data/examples/v201008/get_geo_location_info.rb +108 -0
  130. data/examples/v201008/get_method_cost.rb +96 -0
  131. data/examples/v201008/get_operation_count.rb +88 -0
  132. data/examples/v201008/get_related_keywords.rb +115 -0
  133. data/examples/v201008/get_related_placements.rb +114 -0
  134. data/examples/v201008/get_report_fields.rb +81 -0
  135. data/examples/v201008/get_total_usage_units_per_month.rb +83 -0
  136. data/examples/v201008/get_traffic_estimates.rb +156 -0
  137. data/examples/v201008/get_unit_count.rb +88 -0
  138. data/examples/v201008/handle_partial_failures.rb +135 -0
  139. data/examples/v201008/handle_policy_violation_error.rb +146 -0
  140. data/examples/v201008/perform_bulk_mutate_job.rb +221 -0
  141. data/examples/v201008/promote_experiment.rb +88 -0
  142. data/examples/v201008/set_ad_params.rb +124 -0
  143. data/examples/v201008/set_campaign_targets.rb +125 -0
  144. data/examples/v201008/update_ad.rb +95 -0
  145. data/examples/v201008/update_ad_group.rb +90 -0
  146. data/examples/v201008/update_ad_group_criterion.rb +108 -0
  147. data/examples/v201008/update_campaign.rb +93 -0
  148. data/examples/v201008/update_user_list.rb +91 -0
  149. data/examples/v201008/upload_image.rb +97 -0
  150. data/examples/v201101/add_ad_extension_override.rb +91 -0
  151. data/examples/v201101/add_ad_group.rb +98 -0
  152. data/examples/v201101/add_ad_group_criteria.rb +117 -0
  153. data/examples/v201101/add_ads.rb +182 -0
  154. data/examples/v201101/add_campaign.rb +108 -0
  155. data/examples/v201101/add_campaign_ad_extension.rb +130 -0
  156. data/examples/v201101/add_experiment.rb +162 -0
  157. data/examples/v201101/add_keywords_performance_report_definition.rb +108 -0
  158. data/examples/v201101/add_mcc_report_definition.rb +103 -0
  159. data/examples/v201101/add_negative_campaign_criterion.rb +96 -0
  160. data/examples/v201101/add_user_list.rb +96 -0
  161. data/examples/v201101/check_campaigns.rb +132 -0
  162. data/examples/v201101/delete_ad.rb +94 -0
  163. data/examples/v201101/delete_ad_group.rb +86 -0
  164. data/examples/v201101/delete_ad_group_criterion.rb +95 -0
  165. data/examples/v201101/delete_bulk_mutate_job.rb +96 -0
  166. data/examples/v201101/delete_campaign.rb +87 -0
  167. data/examples/v201101/delete_experiment.rb +87 -0
  168. data/examples/v201101/delete_user_list.rb +87 -0
  169. data/examples/v201101/download_mcc_report.rb +93 -0
  170. data/examples/v201101/download_report.rb +71 -0
  171. data/examples/v201101/get_account_hierarchy.rb +112 -0
  172. data/examples/v201101/get_ad_group_bid_landscape.rb +103 -0
  173. data/examples/v201101/get_all_account_changes.rb +146 -0
  174. data/examples/v201101/get_all_active_ad_group_criteria.rb +106 -0
  175. data/examples/v201101/get_all_ad_extension_overrides.rb +91 -0
  176. data/examples/v201101/get_all_ad_group_criteria.rb +97 -0
  177. data/examples/v201101/get_all_ad_groups.rb +94 -0
  178. data/examples/v201101/get_all_ad_params.rb +89 -0
  179. data/examples/v201101/get_all_ads.rb +99 -0
  180. data/examples/v201101/get_all_campaign_ad_extensions.rb +96 -0
  181. data/examples/v201101/get_all_campaign_targets.rb +83 -0
  182. data/examples/v201101/get_all_campaigns.rb +86 -0
  183. data/examples/v201101/get_all_disapproved_ads.rb +102 -0
  184. data/examples/v201101/get_all_experiments.rb +98 -0
  185. data/examples/v201101/get_all_images.rb +90 -0
  186. data/examples/v201101/get_all_paused_campaigns.rb +92 -0
  187. data/examples/v201101/get_all_report_definitions.rb +84 -0
  188. data/examples/v201101/get_all_user_lists.rb +87 -0
  189. data/examples/v201101/get_all_videos.rb +87 -0
  190. data/examples/v201101/get_bulk_mutate_job.rb +106 -0
  191. data/examples/v201101/get_campaign_alerts.rb +103 -0
  192. data/examples/v201101/get_conversion_optimizer_eligibility.rb +102 -0
  193. data/examples/v201101/get_criterion_bid_landscape.rb +102 -0
  194. data/examples/v201101/get_geo_location_info.rb +108 -0
  195. data/examples/v201101/get_method_cost.rb +96 -0
  196. data/examples/v201101/get_operation_count.rb +88 -0
  197. data/examples/v201101/get_related_keywords.rb +115 -0
  198. data/examples/v201101/get_related_placements.rb +114 -0
  199. data/examples/v201101/get_report_fields.rb +81 -0
  200. data/examples/v201101/get_total_usage_units_per_month.rb +83 -0
  201. data/examples/v201101/get_traffic_estimates.rb +157 -0
  202. data/examples/v201101/get_unit_count.rb +88 -0
  203. data/examples/v201101/handle_partial_failures.rb +135 -0
  204. data/examples/v201101/handle_policy_violation_error.rb +146 -0
  205. data/examples/v201101/perform_bulk_mutate_job.rb +221 -0
  206. data/examples/v201101/promote_experiment.rb +88 -0
  207. data/examples/v201101/set_ad_params.rb +124 -0
  208. data/examples/v201101/set_campaign_targets.rb +111 -0
  209. data/examples/v201101/update_ad.rb +95 -0
  210. data/examples/v201101/update_ad_group.rb +90 -0
  211. data/examples/v201101/update_ad_group_criterion.rb +108 -0
  212. data/examples/v201101/update_campaign.rb +93 -0
  213. data/examples/v201101/update_user_list.rb +91 -0
  214. data/examples/v201101/upload_image.rb +97 -0
  215. data/lib/adwords_api.rb +273 -0
  216. data/lib/adwords_api/api_config.rb +270 -0
  217. data/lib/adwords_api/auth/v13_login_handler.rb +36 -0
  218. data/lib/adwords_api/credential_handler.rb +111 -0
  219. data/lib/adwords_api/errors.rb +85 -0
  220. data/lib/adwords_api/extensions.rb +245 -0
  221. data/lib/adwords_api/soap4r_response_handler.rb +121 -0
  222. data/lib/adwords_api/utils.rb +80 -0
  223. data/lib/adwords_api/v13/AccountService.rb +321 -0
  224. data/lib/adwords_api/v13/AccountServiceDriver.rb +87 -0
  225. data/lib/adwords_api/v13/AccountServiceMappingRegistry.rb +337 -0
  226. data/lib/adwords_api/v13/AccountServiceWrapper.rb +407 -0
  227. data/lib/adwords_api/v13/ReportService.rb +328 -0
  228. data/lib/adwords_api/v13/ReportServiceDriver.rb +103 -0
  229. data/lib/adwords_api/v13/ReportServiceMappingRegistry.rb +298 -0
  230. data/lib/adwords_api/v13/ReportServiceWrapper.rb +500 -0
  231. data/lib/adwords_api/v13/TrafficEstimatorService.rb +414 -0
  232. data/lib/adwords_api/v13/TrafficEstimatorServiceDriver.rb +79 -0
  233. data/lib/adwords_api/v13/TrafficEstimatorServiceMappingRegistry.rb +491 -0
  234. data/lib/adwords_api/v13/TrafficEstimatorServiceWrapper.rb +402 -0
  235. data/lib/adwords_api/v200909/AdExtensionOverrideService.rb +1105 -0
  236. data/lib/adwords_api/v200909/AdExtensionOverrideServiceDriver.rb +63 -0
  237. data/lib/adwords_api/v200909/AdExtensionOverrideServiceMappingRegistry.rb +1265 -0
  238. data/lib/adwords_api/v200909/AdExtensionOverrideServiceWrapper.rb +332 -0
  239. data/lib/adwords_api/v200909/AdGroupAdService.rb +2603 -0
  240. data/lib/adwords_api/v200909/AdGroupAdServiceDriver.rb +63 -0
  241. data/lib/adwords_api/v200909/AdGroupAdServiceMappingRegistry.rb +2755 -0
  242. data/lib/adwords_api/v200909/AdGroupAdServiceWrapper.rb +332 -0
  243. data/lib/adwords_api/v200909/AdGroupCriterionService.rb +1577 -0
  244. data/lib/adwords_api/v200909/AdGroupCriterionServiceDriver.rb +63 -0
  245. data/lib/adwords_api/v200909/AdGroupCriterionServiceMappingRegistry.rb +1821 -0
  246. data/lib/adwords_api/v200909/AdGroupCriterionServiceWrapper.rb +332 -0
  247. data/lib/adwords_api/v200909/AdGroupService.rb +1251 -0
  248. data/lib/adwords_api/v200909/AdGroupServiceDriver.rb +63 -0
  249. data/lib/adwords_api/v200909/AdGroupServiceMappingRegistry.rb +1395 -0
  250. data/lib/adwords_api/v200909/AdGroupServiceWrapper.rb +332 -0
  251. data/lib/adwords_api/v200909/AdParamService.rb +765 -0
  252. data/lib/adwords_api/v200909/AdParamServiceDriver.rb +63 -0
  253. data/lib/adwords_api/v200909/AdParamServiceMappingRegistry.rb +927 -0
  254. data/lib/adwords_api/v200909/AdParamServiceWrapper.rb +332 -0
  255. data/lib/adwords_api/v200909/BulkMutateJobService.rb +4778 -0
  256. data/lib/adwords_api/v200909/BulkMutateJobServiceDriver.rb +63 -0
  257. data/lib/adwords_api/v200909/BulkMutateJobServiceMappingRegistry.rb +5077 -0
  258. data/lib/adwords_api/v200909/BulkMutateJobServiceWrapper.rb +332 -0
  259. data/lib/adwords_api/v200909/CampaignAdExtensionService.rb +1065 -0
  260. data/lib/adwords_api/v200909/CampaignAdExtensionServiceDriver.rb +63 -0
  261. data/lib/adwords_api/v200909/CampaignAdExtensionServiceMappingRegistry.rb +1273 -0
  262. data/lib/adwords_api/v200909/CampaignAdExtensionServiceWrapper.rb +332 -0
  263. data/lib/adwords_api/v200909/CampaignCriterionService.rb +1019 -0
  264. data/lib/adwords_api/v200909/CampaignCriterionServiceDriver.rb +63 -0
  265. data/lib/adwords_api/v200909/CampaignCriterionServiceMappingRegistry.rb +1237 -0
  266. data/lib/adwords_api/v200909/CampaignCriterionServiceWrapper.rb +332 -0
  267. data/lib/adwords_api/v200909/CampaignService.rb +1633 -0
  268. data/lib/adwords_api/v200909/CampaignServiceDriver.rb +63 -0
  269. data/lib/adwords_api/v200909/CampaignServiceMappingRegistry.rb +1785 -0
  270. data/lib/adwords_api/v200909/CampaignServiceWrapper.rb +332 -0
  271. data/lib/adwords_api/v200909/CampaignTargetService.rb +1435 -0
  272. data/lib/adwords_api/v200909/CampaignTargetServiceDriver.rb +63 -0
  273. data/lib/adwords_api/v200909/CampaignTargetServiceMappingRegistry.rb +1569 -0
  274. data/lib/adwords_api/v200909/CampaignTargetServiceWrapper.rb +332 -0
  275. data/lib/adwords_api/v200909/GeoLocationService.rb +611 -0
  276. data/lib/adwords_api/v200909/GeoLocationServiceDriver.rb +55 -0
  277. data/lib/adwords_api/v200909/GeoLocationServiceMappingRegistry.rb +771 -0
  278. data/lib/adwords_api/v200909/GeoLocationServiceWrapper.rb +303 -0
  279. data/lib/adwords_api/v200909/InfoService.rb +605 -0
  280. data/lib/adwords_api/v200909/InfoServiceDriver.rb +55 -0
  281. data/lib/adwords_api/v200909/InfoServiceMappingRegistry.rb +764 -0
  282. data/lib/adwords_api/v200909/InfoServiceWrapper.rb +303 -0
  283. data/lib/adwords_api/v200909/TargetingIdeaService.rb +2253 -0
  284. data/lib/adwords_api/v200909/TargetingIdeaServiceDriver.rb +63 -0
  285. data/lib/adwords_api/v200909/TargetingIdeaServiceMappingRegistry.rb +2688 -0
  286. data/lib/adwords_api/v200909/TargetingIdeaServiceWrapper.rb +335 -0
  287. data/lib/adwords_api/v201003/AdExtensionOverrideService.rb +1301 -0
  288. data/lib/adwords_api/v201003/AdExtensionOverrideServiceDriver.rb +63 -0
  289. data/lib/adwords_api/v201003/AdExtensionOverrideServiceMappingRegistry.rb +1468 -0
  290. data/lib/adwords_api/v201003/AdExtensionOverrideServiceWrapper.rb +332 -0
  291. data/lib/adwords_api/v201003/AdGroupAdService.rb +2909 -0
  292. data/lib/adwords_api/v201003/AdGroupAdServiceDriver.rb +63 -0
  293. data/lib/adwords_api/v201003/AdGroupAdServiceMappingRegistry.rb +2970 -0
  294. data/lib/adwords_api/v201003/AdGroupAdServiceWrapper.rb +332 -0
  295. data/lib/adwords_api/v201003/AdGroupCriterionService.rb +1762 -0
  296. data/lib/adwords_api/v201003/AdGroupCriterionServiceDriver.rb +63 -0
  297. data/lib/adwords_api/v201003/AdGroupCriterionServiceMappingRegistry.rb +1978 -0
  298. data/lib/adwords_api/v201003/AdGroupCriterionServiceWrapper.rb +332 -0
  299. data/lib/adwords_api/v201003/AdGroupService.rb +1421 -0
  300. data/lib/adwords_api/v201003/AdGroupServiceDriver.rb +63 -0
  301. data/lib/adwords_api/v201003/AdGroupServiceMappingRegistry.rb +1546 -0
  302. data/lib/adwords_api/v201003/AdGroupServiceWrapper.rb +332 -0
  303. data/lib/adwords_api/v201003/AdParamService.rb +859 -0
  304. data/lib/adwords_api/v201003/AdParamServiceDriver.rb +63 -0
  305. data/lib/adwords_api/v201003/AdParamServiceMappingRegistry.rb +1002 -0
  306. data/lib/adwords_api/v201003/AdParamServiceWrapper.rb +332 -0
  307. data/lib/adwords_api/v201003/BidLandscapeService.rb +847 -0
  308. data/lib/adwords_api/v201003/BidLandscapeServiceDriver.rb +55 -0
  309. data/lib/adwords_api/v201003/BidLandscapeServiceMappingRegistry.rb +958 -0
  310. data/lib/adwords_api/v201003/BidLandscapeServiceWrapper.rb +306 -0
  311. data/lib/adwords_api/v201003/BulkMutateJobService.rb +5401 -0
  312. data/lib/adwords_api/v201003/BulkMutateJobServiceDriver.rb +63 -0
  313. data/lib/adwords_api/v201003/BulkMutateJobServiceMappingRegistry.rb +5600 -0
  314. data/lib/adwords_api/v201003/BulkMutateJobServiceWrapper.rb +332 -0
  315. data/lib/adwords_api/v201003/CampaignAdExtensionService.rb +1255 -0
  316. data/lib/adwords_api/v201003/CampaignAdExtensionServiceDriver.rb +63 -0
  317. data/lib/adwords_api/v201003/CampaignAdExtensionServiceMappingRegistry.rb +1452 -0
  318. data/lib/adwords_api/v201003/CampaignAdExtensionServiceWrapper.rb +332 -0
  319. data/lib/adwords_api/v201003/CampaignCriterionService.rb +1145 -0
  320. data/lib/adwords_api/v201003/CampaignCriterionServiceDriver.rb +63 -0
  321. data/lib/adwords_api/v201003/CampaignCriterionServiceMappingRegistry.rb +1344 -0
  322. data/lib/adwords_api/v201003/CampaignCriterionServiceWrapper.rb +332 -0
  323. data/lib/adwords_api/v201003/CampaignService.rb +1901 -0
  324. data/lib/adwords_api/v201003/CampaignServiceDriver.rb +63 -0
  325. data/lib/adwords_api/v201003/CampaignServiceMappingRegistry.rb +2010 -0
  326. data/lib/adwords_api/v201003/CampaignServiceWrapper.rb +332 -0
  327. data/lib/adwords_api/v201003/CampaignTargetService.rb +1642 -0
  328. data/lib/adwords_api/v201003/CampaignTargetServiceDriver.rb +63 -0
  329. data/lib/adwords_api/v201003/CampaignTargetServiceMappingRegistry.rb +1754 -0
  330. data/lib/adwords_api/v201003/CampaignTargetServiceWrapper.rb +332 -0
  331. data/lib/adwords_api/v201003/GeoLocationService.rb +692 -0
  332. data/lib/adwords_api/v201003/GeoLocationServiceDriver.rb +55 -0
  333. data/lib/adwords_api/v201003/GeoLocationServiceMappingRegistry.rb +840 -0
  334. data/lib/adwords_api/v201003/GeoLocationServiceWrapper.rb +303 -0
  335. data/lib/adwords_api/v201003/InfoService.rb +687 -0
  336. data/lib/adwords_api/v201003/InfoServiceDriver.rb +55 -0
  337. data/lib/adwords_api/v201003/InfoServiceMappingRegistry.rb +833 -0
  338. data/lib/adwords_api/v201003/InfoServiceWrapper.rb +303 -0
  339. data/lib/adwords_api/v201003/MediaService.rb +1192 -0
  340. data/lib/adwords_api/v201003/MediaServiceDriver.rb +63 -0
  341. data/lib/adwords_api/v201003/MediaServiceMappingRegistry.rb +1290 -0
  342. data/lib/adwords_api/v201003/MediaServiceWrapper.rb +332 -0
  343. data/lib/adwords_api/v201003/ReportDefinitionService.rb +905 -0
  344. data/lib/adwords_api/v201003/ReportDefinitionServiceDriver.rb +71 -0
  345. data/lib/adwords_api/v201003/ReportDefinitionServiceMappingRegistry.rb +1036 -0
  346. data/lib/adwords_api/v201003/ReportDefinitionServiceWrapper.rb +378 -0
  347. data/lib/adwords_api/v201003/TargetingIdeaService.rb +2517 -0
  348. data/lib/adwords_api/v201003/TargetingIdeaServiceDriver.rb +63 -0
  349. data/lib/adwords_api/v201003/TargetingIdeaServiceMappingRegistry.rb +2925 -0
  350. data/lib/adwords_api/v201003/TargetingIdeaServiceWrapper.rb +335 -0
  351. data/lib/adwords_api/v201008/AdExtensionOverrideService.rb +1383 -0
  352. data/lib/adwords_api/v201008/AdExtensionOverrideServiceDriver.rb +63 -0
  353. data/lib/adwords_api/v201008/AdExtensionOverrideServiceMappingRegistry.rb +1563 -0
  354. data/lib/adwords_api/v201008/AdExtensionOverrideServiceWrapper.rb +332 -0
  355. data/lib/adwords_api/v201008/AdGroupAdService.rb +2928 -0
  356. data/lib/adwords_api/v201008/AdGroupAdServiceDriver.rb +63 -0
  357. data/lib/adwords_api/v201008/AdGroupAdServiceMappingRegistry.rb +2969 -0
  358. data/lib/adwords_api/v201008/AdGroupAdServiceWrapper.rb +332 -0
  359. data/lib/adwords_api/v201008/AdGroupCriterionService.rb +1981 -0
  360. data/lib/adwords_api/v201008/AdGroupCriterionServiceDriver.rb +63 -0
  361. data/lib/adwords_api/v201008/AdGroupCriterionServiceMappingRegistry.rb +2229 -0
  362. data/lib/adwords_api/v201008/AdGroupCriterionServiceWrapper.rb +332 -0
  363. data/lib/adwords_api/v201008/AdGroupService.rb +1548 -0
  364. data/lib/adwords_api/v201008/AdGroupServiceDriver.rb +63 -0
  365. data/lib/adwords_api/v201008/AdGroupServiceMappingRegistry.rb +1687 -0
  366. data/lib/adwords_api/v201008/AdGroupServiceWrapper.rb +332 -0
  367. data/lib/adwords_api/v201008/AdParamService.rb +889 -0
  368. data/lib/adwords_api/v201008/AdParamServiceDriver.rb +63 -0
  369. data/lib/adwords_api/v201008/AdParamServiceMappingRegistry.rb +1041 -0
  370. data/lib/adwords_api/v201008/AdParamServiceWrapper.rb +332 -0
  371. data/lib/adwords_api/v201008/AlertService.rb +743 -0
  372. data/lib/adwords_api/v201008/AlertServiceDriver.rb +55 -0
  373. data/lib/adwords_api/v201008/AlertServiceMappingRegistry.rb +836 -0
  374. data/lib/adwords_api/v201008/AlertServiceWrapper.rb +303 -0
  375. data/lib/adwords_api/v201008/BidLandscapeService.rb +928 -0
  376. data/lib/adwords_api/v201008/BidLandscapeServiceDriver.rb +55 -0
  377. data/lib/adwords_api/v201008/BidLandscapeServiceMappingRegistry.rb +1059 -0
  378. data/lib/adwords_api/v201008/BidLandscapeServiceWrapper.rb +306 -0
  379. data/lib/adwords_api/v201008/BulkMutateJobService.rb +6063 -0
  380. data/lib/adwords_api/v201008/BulkMutateJobServiceDriver.rb +63 -0
  381. data/lib/adwords_api/v201008/BulkMutateJobServiceMappingRegistry.rb +6265 -0
  382. data/lib/adwords_api/v201008/BulkMutateJobServiceWrapper.rb +332 -0
  383. data/lib/adwords_api/v201008/CampaignAdExtensionService.rb +1594 -0
  384. data/lib/adwords_api/v201008/CampaignAdExtensionServiceDriver.rb +63 -0
  385. data/lib/adwords_api/v201008/CampaignAdExtensionServiceMappingRegistry.rb +1789 -0
  386. data/lib/adwords_api/v201008/CampaignAdExtensionServiceWrapper.rb +332 -0
  387. data/lib/adwords_api/v201008/CampaignCriterionService.rb +1243 -0
  388. data/lib/adwords_api/v201008/CampaignCriterionServiceDriver.rb +63 -0
  389. data/lib/adwords_api/v201008/CampaignCriterionServiceMappingRegistry.rb +1467 -0
  390. data/lib/adwords_api/v201008/CampaignCriterionServiceWrapper.rb +332 -0
  391. data/lib/adwords_api/v201008/CampaignService.rb +1979 -0
  392. data/lib/adwords_api/v201008/CampaignServiceDriver.rb +63 -0
  393. data/lib/adwords_api/v201008/CampaignServiceMappingRegistry.rb +2089 -0
  394. data/lib/adwords_api/v201008/CampaignServiceWrapper.rb +332 -0
  395. data/lib/adwords_api/v201008/CampaignTargetService.rb +1651 -0
  396. data/lib/adwords_api/v201008/CampaignTargetServiceDriver.rb +63 -0
  397. data/lib/adwords_api/v201008/CampaignTargetServiceMappingRegistry.rb +1757 -0
  398. data/lib/adwords_api/v201008/CampaignTargetServiceWrapper.rb +332 -0
  399. data/lib/adwords_api/v201008/CustomerSyncService.rb +693 -0
  400. data/lib/adwords_api/v201008/CustomerSyncServiceDriver.rb +55 -0
  401. data/lib/adwords_api/v201008/CustomerSyncServiceMappingRegistry.rb +820 -0
  402. data/lib/adwords_api/v201008/CustomerSyncServiceWrapper.rb +303 -0
  403. data/lib/adwords_api/v201008/ExperimentService.rb +1124 -0
  404. data/lib/adwords_api/v201008/ExperimentServiceDriver.rb +63 -0
  405. data/lib/adwords_api/v201008/ExperimentServiceMappingRegistry.rb +1281 -0
  406. data/lib/adwords_api/v201008/ExperimentServiceWrapper.rb +332 -0
  407. data/lib/adwords_api/v201008/GeoLocationService.rb +695 -0
  408. data/lib/adwords_api/v201008/GeoLocationServiceDriver.rb +55 -0
  409. data/lib/adwords_api/v201008/GeoLocationServiceMappingRegistry.rb +843 -0
  410. data/lib/adwords_api/v201008/GeoLocationServiceWrapper.rb +303 -0
  411. data/lib/adwords_api/v201008/InfoService.rb +690 -0
  412. data/lib/adwords_api/v201008/InfoServiceDriver.rb +55 -0
  413. data/lib/adwords_api/v201008/InfoServiceMappingRegistry.rb +836 -0
  414. data/lib/adwords_api/v201008/InfoServiceWrapper.rb +303 -0
  415. data/lib/adwords_api/v201008/MediaService.rb +1144 -0
  416. data/lib/adwords_api/v201008/MediaServiceDriver.rb +63 -0
  417. data/lib/adwords_api/v201008/MediaServiceMappingRegistry.rb +1241 -0
  418. data/lib/adwords_api/v201008/MediaServiceWrapper.rb +332 -0
  419. data/lib/adwords_api/v201008/ReportDefinitionService.rb +976 -0
  420. data/lib/adwords_api/v201008/ReportDefinitionServiceDriver.rb +71 -0
  421. data/lib/adwords_api/v201008/ReportDefinitionServiceMappingRegistry.rb +1115 -0
  422. data/lib/adwords_api/v201008/ReportDefinitionServiceWrapper.rb +378 -0
  423. data/lib/adwords_api/v201008/ServicedAccountService.rb +630 -0
  424. data/lib/adwords_api/v201008/ServicedAccountServiceDriver.rb +55 -0
  425. data/lib/adwords_api/v201008/ServicedAccountServiceMappingRegistry.rb +752 -0
  426. data/lib/adwords_api/v201008/ServicedAccountServiceWrapper.rb +303 -0
  427. data/lib/adwords_api/v201008/TargetingIdeaService.rb +2645 -0
  428. data/lib/adwords_api/v201008/TargetingIdeaServiceDriver.rb +63 -0
  429. data/lib/adwords_api/v201008/TargetingIdeaServiceMappingRegistry.rb +3080 -0
  430. data/lib/adwords_api/v201008/TargetingIdeaServiceWrapper.rb +335 -0
  431. data/lib/adwords_api/v201008/TrafficEstimatorService.rb +1833 -0
  432. data/lib/adwords_api/v201008/TrafficEstimatorServiceDriver.rb +55 -0
  433. data/lib/adwords_api/v201008/TrafficEstimatorServiceMappingRegistry.rb +2124 -0
  434. data/lib/adwords_api/v201008/TrafficEstimatorServiceWrapper.rb +303 -0
  435. data/lib/adwords_api/v201008/UserListService.rb +846 -0
  436. data/lib/adwords_api/v201008/UserListServiceDriver.rb +63 -0
  437. data/lib/adwords_api/v201008/UserListServiceMappingRegistry.rb +915 -0
  438. data/lib/adwords_api/v201008/UserListServiceWrapper.rb +332 -0
  439. data/lib/adwords_api/v201101/AdExtensionOverrideService.rb +1399 -0
  440. data/lib/adwords_api/v201101/AdExtensionOverrideServiceDriver.rb +63 -0
  441. data/lib/adwords_api/v201101/AdExtensionOverrideServiceMappingRegistry.rb +1573 -0
  442. data/lib/adwords_api/v201101/AdExtensionOverrideServiceWrapper.rb +332 -0
  443. data/lib/adwords_api/v201101/AdGroupAdService.rb +2585 -0
  444. data/lib/adwords_api/v201101/AdGroupAdServiceDriver.rb +63 -0
  445. data/lib/adwords_api/v201101/AdGroupAdServiceMappingRegistry.rb +2583 -0
  446. data/lib/adwords_api/v201101/AdGroupAdServiceWrapper.rb +332 -0
  447. data/lib/adwords_api/v201101/AdGroupCriterionService.rb +2099 -0
  448. data/lib/adwords_api/v201101/AdGroupCriterionServiceDriver.rb +63 -0
  449. data/lib/adwords_api/v201101/AdGroupCriterionServiceMappingRegistry.rb +2327 -0
  450. data/lib/adwords_api/v201101/AdGroupCriterionServiceWrapper.rb +332 -0
  451. data/lib/adwords_api/v201101/AdGroupService.rb +1610 -0
  452. data/lib/adwords_api/v201101/AdGroupServiceDriver.rb +63 -0
  453. data/lib/adwords_api/v201101/AdGroupServiceMappingRegistry.rb +1765 -0
  454. data/lib/adwords_api/v201101/AdGroupServiceWrapper.rb +332 -0
  455. data/lib/adwords_api/v201101/AdParamService.rb +922 -0
  456. data/lib/adwords_api/v201101/AdParamServiceDriver.rb +63 -0
  457. data/lib/adwords_api/v201101/AdParamServiceMappingRegistry.rb +1077 -0
  458. data/lib/adwords_api/v201101/AdParamServiceWrapper.rb +332 -0
  459. data/lib/adwords_api/v201101/AlertService.rb +747 -0
  460. data/lib/adwords_api/v201101/AlertServiceDriver.rb +55 -0
  461. data/lib/adwords_api/v201101/AlertServiceMappingRegistry.rb +838 -0
  462. data/lib/adwords_api/v201101/AlertServiceWrapper.rb +303 -0
  463. data/lib/adwords_api/v201101/BulkMutateJobService.rb +6208 -0
  464. data/lib/adwords_api/v201101/BulkMutateJobServiceDriver.rb +63 -0
  465. data/lib/adwords_api/v201101/BulkMutateJobServiceMappingRegistry.rb +6433 -0
  466. data/lib/adwords_api/v201101/BulkMutateJobServiceWrapper.rb +332 -0
  467. data/lib/adwords_api/v201101/CampaignAdExtensionService.rb +1677 -0
  468. data/lib/adwords_api/v201101/CampaignAdExtensionServiceDriver.rb +63 -0
  469. data/lib/adwords_api/v201101/CampaignAdExtensionServiceMappingRegistry.rb +1855 -0
  470. data/lib/adwords_api/v201101/CampaignAdExtensionServiceWrapper.rb +332 -0
  471. data/lib/adwords_api/v201101/CampaignCriterionService.rb +1388 -0
  472. data/lib/adwords_api/v201101/CampaignCriterionServiceDriver.rb +63 -0
  473. data/lib/adwords_api/v201101/CampaignCriterionServiceMappingRegistry.rb +1601 -0
  474. data/lib/adwords_api/v201101/CampaignCriterionServiceWrapper.rb +332 -0
  475. data/lib/adwords_api/v201101/CampaignService.rb +2188 -0
  476. data/lib/adwords_api/v201101/CampaignServiceDriver.rb +63 -0
  477. data/lib/adwords_api/v201101/CampaignServiceMappingRegistry.rb +2301 -0
  478. data/lib/adwords_api/v201101/CampaignServiceWrapper.rb +332 -0
  479. data/lib/adwords_api/v201101/CampaignTargetService.rb +1629 -0
  480. data/lib/adwords_api/v201101/CampaignTargetServiceDriver.rb +63 -0
  481. data/lib/adwords_api/v201101/CampaignTargetServiceMappingRegistry.rb +1725 -0
  482. data/lib/adwords_api/v201101/CampaignTargetServiceWrapper.rb +332 -0
  483. data/lib/adwords_api/v201101/CustomerSyncService.rb +694 -0
  484. data/lib/adwords_api/v201101/CustomerSyncServiceDriver.rb +55 -0
  485. data/lib/adwords_api/v201101/CustomerSyncServiceMappingRegistry.rb +820 -0
  486. data/lib/adwords_api/v201101/CustomerSyncServiceWrapper.rb +303 -0
  487. data/lib/adwords_api/v201101/DataService.rb +1079 -0
  488. data/lib/adwords_api/v201101/DataServiceDriver.rb +63 -0
  489. data/lib/adwords_api/v201101/DataServiceMappingRegistry.rb +1177 -0
  490. data/lib/adwords_api/v201101/DataServiceWrapper.rb +338 -0
  491. data/lib/adwords_api/v201101/ExperimentService.rb +1256 -0
  492. data/lib/adwords_api/v201101/ExperimentServiceDriver.rb +63 -0
  493. data/lib/adwords_api/v201101/ExperimentServiceMappingRegistry.rb +1417 -0
  494. data/lib/adwords_api/v201101/ExperimentServiceWrapper.rb +332 -0
  495. data/lib/adwords_api/v201101/GeoLocationService.rb +695 -0
  496. data/lib/adwords_api/v201101/GeoLocationServiceDriver.rb +55 -0
  497. data/lib/adwords_api/v201101/GeoLocationServiceMappingRegistry.rb +843 -0
  498. data/lib/adwords_api/v201101/GeoLocationServiceWrapper.rb +303 -0
  499. data/lib/adwords_api/v201101/InfoService.rb +690 -0
  500. data/lib/adwords_api/v201101/InfoServiceDriver.rb +55 -0
  501. data/lib/adwords_api/v201101/InfoServiceMappingRegistry.rb +836 -0
  502. data/lib/adwords_api/v201101/InfoServiceWrapper.rb +303 -0
  503. data/lib/adwords_api/v201101/MediaService.rb +1247 -0
  504. data/lib/adwords_api/v201101/MediaServiceDriver.rb +63 -0
  505. data/lib/adwords_api/v201101/MediaServiceMappingRegistry.rb +1357 -0
  506. data/lib/adwords_api/v201101/MediaServiceWrapper.rb +332 -0
  507. data/lib/adwords_api/v201101/ReportDefinitionService.rb +1121 -0
  508. data/lib/adwords_api/v201101/ReportDefinitionServiceDriver.rb +71 -0
  509. data/lib/adwords_api/v201101/ReportDefinitionServiceMappingRegistry.rb +1263 -0
  510. data/lib/adwords_api/v201101/ReportDefinitionServiceWrapper.rb +364 -0
  511. data/lib/adwords_api/v201101/ServicedAccountService.rb +636 -0
  512. data/lib/adwords_api/v201101/ServicedAccountServiceDriver.rb +55 -0
  513. data/lib/adwords_api/v201101/ServicedAccountServiceMappingRegistry.rb +756 -0
  514. data/lib/adwords_api/v201101/ServicedAccountServiceWrapper.rb +303 -0
  515. data/lib/adwords_api/v201101/TargetingIdeaService.rb +2827 -0
  516. data/lib/adwords_api/v201101/TargetingIdeaServiceDriver.rb +63 -0
  517. data/lib/adwords_api/v201101/TargetingIdeaServiceMappingRegistry.rb +3262 -0
  518. data/lib/adwords_api/v201101/TargetingIdeaServiceWrapper.rb +335 -0
  519. data/lib/adwords_api/v201101/TrafficEstimatorService.rb +1839 -0
  520. data/lib/adwords_api/v201101/TrafficEstimatorServiceDriver.rb +55 -0
  521. data/lib/adwords_api/v201101/TrafficEstimatorServiceMappingRegistry.rb +2128 -0
  522. data/lib/adwords_api/v201101/TrafficEstimatorServiceWrapper.rb +303 -0
  523. data/lib/adwords_api/v201101/UserListService.rb +1206 -0
  524. data/lib/adwords_api/v201101/UserListServiceDriver.rb +63 -0
  525. data/lib/adwords_api/v201101/UserListServiceMappingRegistry.rb +1323 -0
  526. data/lib/adwords_api/v201101/UserListServiceWrapper.rb +332 -0
  527. metadata +649 -0
@@ -0,0 +1,303 @@
1
+ # This file was automatically generated during the "rake generate" step of
2
+ # library setup.
3
+ require 'adwords_api/v200909/InfoServiceDriver.rb'
4
+
5
+ module AdwordsApi
6
+ module V200909
7
+ module InfoService
8
+
9
+ # Wrapper class for the v200909 InfoService service.
10
+ # This class is automatically generated.
11
+ class InfoServiceWrapper
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::V200909::InfoService::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/info/v200909'
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::V200909::InfoService::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 InfoServiceWrapper.
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::V200909::InfoService
51
+ @version = :v200909
52
+ @service = :InfoService
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')
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::V200909::\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')
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/v200909/InfoService.html#get] method of the InfoService service.
272
+ # Check {the online documentation for this method}[http://code.google.com/apis/adwords/docs/reference/v200909/InfoService.html#get].
273
+ #
274
+ # Args:
275
+ # - selector: AdwordsApi::V200909::InfoService::InfoSelector
276
+ #
277
+ # Returns:
278
+ # - rval: AdwordsApi::V200909::InfoService::ApiUsageInfo
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::V200909::InfoService::InfoSelector)
287
+ arg_array << convert_to_object(selector, AdwordsApi::V200909::InfoService::Get,
288
+ 'selector')
289
+ # Construct request object and make API call
290
+ obj = AdwordsApi::V200909::InfoService::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
+ end
301
+ end
302
+ end
303
+ end
@@ -0,0 +1,2253 @@
1
+ require 'xsd/qname'
2
+
3
+ module AdwordsApi; module V200909; module TargetingIdeaService
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
+ # GeoPoint
35
+ # - latitudeInMicroDegrees - SOAP::SOAPInt
36
+ # - longitudeInMicroDegrees - SOAP::SOAPInt
37
+ class GeoPoint
38
+ attr_accessor :latitudeInMicroDegrees
39
+ attr_accessor :longitudeInMicroDegrees
40
+
41
+ def initialize(latitudeInMicroDegrees = nil, longitudeInMicroDegrees = nil)
42
+ @latitudeInMicroDegrees = latitudeInMicroDegrees
43
+ @longitudeInMicroDegrees = longitudeInMicroDegrees
44
+ end
45
+ end
46
+
47
+ # Paging
48
+ # - startIndex - SOAP::SOAPInt
49
+ # - numberResults - SOAP::SOAPInt
50
+ class Paging
51
+ attr_accessor :startIndex
52
+ attr_accessor :numberResults
53
+
54
+ def initialize(startIndex = nil, numberResults = nil)
55
+ @startIndex = startIndex
56
+ @numberResults = numberResults
57
+ end
58
+ end
59
+
60
+ # PolicyViolationError.Part
61
+ # - index - SOAP::SOAPInt
62
+ # - length - SOAP::SOAPInt
63
+ class PolicyViolationErrorPart
64
+ attr_accessor :index
65
+ attr_accessor :length
66
+
67
+ def initialize(index = nil, length = nil)
68
+ @index = index
69
+ @length = length
70
+ end
71
+ end
72
+
73
+ # PolicyViolationKey
74
+ # - policyName - SOAP::SOAPString
75
+ # - violatingText - SOAP::SOAPString
76
+ class PolicyViolationKey
77
+ attr_accessor :policyName
78
+ attr_accessor :violatingText
79
+
80
+ def initialize(policyName = nil, violatingText = nil)
81
+ @policyName = policyName
82
+ @violatingText = violatingText
83
+ end
84
+ end
85
+
86
+ # SoapHeader
87
+ # - applicationToken - SOAP::SOAPString
88
+ # - authToken - SOAP::SOAPString
89
+ # - clientCustomerId - SOAP::SOAPString
90
+ # - clientEmail - SOAP::SOAPString
91
+ # - developerToken - SOAP::SOAPString
92
+ # - userAgent - SOAP::SOAPString
93
+ # - validateOnly - SOAP::SOAPBoolean
94
+ class SoapHeader
95
+ attr_accessor :applicationToken
96
+ attr_accessor :authToken
97
+ attr_accessor :clientCustomerId
98
+ attr_accessor :clientEmail
99
+ attr_accessor :developerToken
100
+ attr_accessor :userAgent
101
+ attr_accessor :validateOnly
102
+
103
+ def initialize(applicationToken = nil, authToken = nil, clientCustomerId = nil, clientEmail = nil, developerToken = nil, userAgent = nil, validateOnly = nil)
104
+ @applicationToken = applicationToken
105
+ @authToken = authToken
106
+ @clientCustomerId = clientCustomerId
107
+ @clientEmail = clientEmail
108
+ @developerToken = developerToken
109
+ @userAgent = userAgent
110
+ @validateOnly = validateOnly
111
+ end
112
+ end
113
+
114
+ # SoapResponseHeader
115
+ # - requestId - SOAP::SOAPString
116
+ # - operations - SOAP::SOAPLong
117
+ # - responseTime - SOAP::SOAPLong
118
+ # - units - SOAP::SOAPLong
119
+ class SoapResponseHeader
120
+ attr_accessor :requestId
121
+ attr_accessor :operations
122
+ attr_accessor :responseTime
123
+ attr_accessor :units
124
+
125
+ def initialize(requestId = nil, operations = nil, responseTime = nil, units = nil)
126
+ @requestId = requestId
127
+ @operations = operations
128
+ @responseTime = responseTime
129
+ @units = units
130
+ end
131
+ end
132
+
133
+ # ComparableValue
134
+ # abstract
135
+ # - comparableValue_Type - SOAP::SOAPString
136
+ class ComparableValue
137
+ attr_accessor :comparableValue_Type
138
+
139
+ def initialize(comparableValue_Type = nil)
140
+ @comparableValue_Type = comparableValue_Type
141
+ end
142
+ end
143
+
144
+ # Money
145
+ # - comparableValue_Type - SOAP::SOAPString
146
+ # - microAmount - SOAP::SOAPLong
147
+ class Money < ComparableValue
148
+ attr_accessor :comparableValue_Type
149
+ attr_accessor :microAmount
150
+
151
+ def initialize(comparableValue_Type = nil, microAmount = nil)
152
+ @comparableValue_Type = comparableValue_Type
153
+ @microAmount = microAmount
154
+ end
155
+ end
156
+
157
+ # NumberValue
158
+ # abstract
159
+ # - comparableValue_Type - SOAP::SOAPString
160
+ class NumberValue < ComparableValue
161
+ attr_accessor :comparableValue_Type
162
+
163
+ def initialize(comparableValue_Type = nil)
164
+ @comparableValue_Type = comparableValue_Type
165
+ end
166
+ end
167
+
168
+ # DoubleValue
169
+ # - comparableValue_Type - SOAP::SOAPString
170
+ # - number - SOAP::SOAPDouble
171
+ class DoubleValue < NumberValue
172
+ attr_accessor :comparableValue_Type
173
+ attr_accessor :number
174
+
175
+ def initialize(comparableValue_Type = nil, number = nil)
176
+ @comparableValue_Type = comparableValue_Type
177
+ @number = number
178
+ end
179
+ end
180
+
181
+ # LongValue
182
+ # - comparableValue_Type - SOAP::SOAPString
183
+ # - number - SOAP::SOAPLong
184
+ class LongValue < NumberValue
185
+ attr_accessor :comparableValue_Type
186
+ attr_accessor :number
187
+
188
+ def initialize(comparableValue_Type = nil, number = nil)
189
+ @comparableValue_Type = comparableValue_Type
190
+ @number = number
191
+ end
192
+ end
193
+
194
+ # Target
195
+ # abstract
196
+ # - target_Type - SOAP::SOAPString
197
+ class Target
198
+ attr_accessor :target_Type
199
+
200
+ def initialize(target_Type = nil)
201
+ @target_Type = target_Type
202
+ end
203
+ end
204
+
205
+ # AdScheduleTarget
206
+ # - target_Type - SOAP::SOAPString
207
+ # - dayOfWeek - AdwordsApi::V200909::TargetingIdeaService::DayOfWeek
208
+ # - startHour - SOAP::SOAPInt
209
+ # - startMinute - AdwordsApi::V200909::TargetingIdeaService::MinuteOfHour
210
+ # - endHour - SOAP::SOAPInt
211
+ # - endMinute - AdwordsApi::V200909::TargetingIdeaService::MinuteOfHour
212
+ # - bidMultiplier - SOAP::SOAPDouble
213
+ class AdScheduleTarget < Target
214
+ attr_accessor :target_Type
215
+ attr_accessor :dayOfWeek
216
+ attr_accessor :startHour
217
+ attr_accessor :startMinute
218
+ attr_accessor :endHour
219
+ attr_accessor :endMinute
220
+ attr_accessor :bidMultiplier
221
+
222
+ def initialize(target_Type = nil, dayOfWeek = nil, startHour = nil, startMinute = nil, endHour = nil, endMinute = nil, bidMultiplier = nil)
223
+ @target_Type = target_Type
224
+ @dayOfWeek = dayOfWeek
225
+ @startHour = startHour
226
+ @startMinute = startMinute
227
+ @endHour = endHour
228
+ @endMinute = endMinute
229
+ @bidMultiplier = bidMultiplier
230
+ end
231
+ end
232
+
233
+ # LanguageTarget
234
+ # - target_Type - SOAP::SOAPString
235
+ # - languageCode - SOAP::SOAPString
236
+ class LanguageTarget < Target
237
+ attr_accessor :target_Type
238
+ attr_accessor :languageCode
239
+
240
+ def initialize(target_Type = nil, languageCode = nil)
241
+ @target_Type = target_Type
242
+ @languageCode = languageCode
243
+ end
244
+ end
245
+
246
+ # NetworkTarget
247
+ # - target_Type - SOAP::SOAPString
248
+ # - networkCoverageType - AdwordsApi::V200909::TargetingIdeaService::NetworkCoverageType
249
+ class NetworkTarget < Target
250
+ attr_accessor :target_Type
251
+ attr_accessor :networkCoverageType
252
+
253
+ def initialize(target_Type = nil, networkCoverageType = nil)
254
+ @target_Type = target_Type
255
+ @networkCoverageType = networkCoverageType
256
+ end
257
+ end
258
+
259
+ # PlatformTarget
260
+ # - target_Type - SOAP::SOAPString
261
+ # - platformType - AdwordsApi::V200909::TargetingIdeaService::PlatformType
262
+ class PlatformTarget < Target
263
+ attr_accessor :target_Type
264
+ attr_accessor :platformType
265
+
266
+ def initialize(target_Type = nil, platformType = nil)
267
+ @target_Type = target_Type
268
+ @platformType = platformType
269
+ end
270
+ end
271
+
272
+ # DemographicTarget
273
+ # abstract
274
+ # - target_Type - SOAP::SOAPString
275
+ # - bidModifier - SOAP::SOAPInt
276
+ class DemographicTarget < Target
277
+ attr_accessor :target_Type
278
+ attr_accessor :bidModifier
279
+
280
+ def initialize(target_Type = nil, bidModifier = nil)
281
+ @target_Type = target_Type
282
+ @bidModifier = bidModifier
283
+ end
284
+ end
285
+
286
+ # AgeTarget
287
+ # - target_Type - SOAP::SOAPString
288
+ # - bidModifier - SOAP::SOAPInt
289
+ # - age - AdwordsApi::V200909::TargetingIdeaService::AgeTargetAge
290
+ class AgeTarget < DemographicTarget
291
+ attr_accessor :target_Type
292
+ attr_accessor :bidModifier
293
+ attr_accessor :age
294
+
295
+ def initialize(target_Type = nil, bidModifier = nil, age = nil)
296
+ @target_Type = target_Type
297
+ @bidModifier = bidModifier
298
+ @age = age
299
+ end
300
+ end
301
+
302
+ # GenderTarget
303
+ # - target_Type - SOAP::SOAPString
304
+ # - bidModifier - SOAP::SOAPInt
305
+ # - gender - AdwordsApi::V200909::TargetingIdeaService::GenderTargetGender
306
+ class GenderTarget < DemographicTarget
307
+ attr_accessor :target_Type
308
+ attr_accessor :bidModifier
309
+ attr_accessor :gender
310
+
311
+ def initialize(target_Type = nil, bidModifier = nil, gender = nil)
312
+ @target_Type = target_Type
313
+ @bidModifier = bidModifier
314
+ @gender = gender
315
+ end
316
+ end
317
+
318
+ # GeoTarget
319
+ # abstract
320
+ # - target_Type - SOAP::SOAPString
321
+ # - excluded - SOAP::SOAPBoolean
322
+ class GeoTarget < Target
323
+ attr_accessor :target_Type
324
+ attr_accessor :excluded
325
+
326
+ def initialize(target_Type = nil, excluded = nil)
327
+ @target_Type = target_Type
328
+ @excluded = excluded
329
+ end
330
+ end
331
+
332
+ # CityTarget
333
+ # - target_Type - SOAP::SOAPString
334
+ # - excluded - SOAP::SOAPBoolean
335
+ # - cityName - SOAP::SOAPString
336
+ # - provinceCode - SOAP::SOAPString
337
+ # - countryCode - SOAP::SOAPString
338
+ class CityTarget < GeoTarget
339
+ attr_accessor :target_Type
340
+ attr_accessor :excluded
341
+ attr_accessor :cityName
342
+ attr_accessor :provinceCode
343
+ attr_accessor :countryCode
344
+
345
+ def initialize(target_Type = nil, excluded = nil, cityName = nil, provinceCode = nil, countryCode = nil)
346
+ @target_Type = target_Type
347
+ @excluded = excluded
348
+ @cityName = cityName
349
+ @provinceCode = provinceCode
350
+ @countryCode = countryCode
351
+ end
352
+ end
353
+
354
+ # CountryTarget
355
+ # - target_Type - SOAP::SOAPString
356
+ # - excluded - SOAP::SOAPBoolean
357
+ # - countryCode - SOAP::SOAPString
358
+ class CountryTarget < GeoTarget
359
+ attr_accessor :target_Type
360
+ attr_accessor :excluded
361
+ attr_accessor :countryCode
362
+
363
+ def initialize(target_Type = nil, excluded = nil, countryCode = nil)
364
+ @target_Type = target_Type
365
+ @excluded = excluded
366
+ @countryCode = countryCode
367
+ end
368
+ end
369
+
370
+ # MetroTarget
371
+ # - target_Type - SOAP::SOAPString
372
+ # - excluded - SOAP::SOAPBoolean
373
+ # - metroCode - SOAP::SOAPString
374
+ class MetroTarget < GeoTarget
375
+ attr_accessor :target_Type
376
+ attr_accessor :excluded
377
+ attr_accessor :metroCode
378
+
379
+ def initialize(target_Type = nil, excluded = nil, metroCode = nil)
380
+ @target_Type = target_Type
381
+ @excluded = excluded
382
+ @metroCode = metroCode
383
+ end
384
+ end
385
+
386
+ # PolygonTarget
387
+ # - target_Type - SOAP::SOAPString
388
+ # - excluded - SOAP::SOAPBoolean
389
+ # - vertices - AdwordsApi::V200909::TargetingIdeaService::GeoPoint
390
+ class PolygonTarget < GeoTarget
391
+ attr_accessor :target_Type
392
+ attr_accessor :excluded
393
+ attr_accessor :vertices
394
+
395
+ def initialize(target_Type = nil, excluded = nil, vertices = [])
396
+ @target_Type = target_Type
397
+ @excluded = excluded
398
+ @vertices = vertices
399
+ end
400
+ end
401
+
402
+ # ProvinceTarget
403
+ # - target_Type - SOAP::SOAPString
404
+ # - excluded - SOAP::SOAPBoolean
405
+ # - provinceCode - SOAP::SOAPString
406
+ class ProvinceTarget < GeoTarget
407
+ attr_accessor :target_Type
408
+ attr_accessor :excluded
409
+ attr_accessor :provinceCode
410
+
411
+ def initialize(target_Type = nil, excluded = nil, provinceCode = nil)
412
+ @target_Type = target_Type
413
+ @excluded = excluded
414
+ @provinceCode = provinceCode
415
+ end
416
+ end
417
+
418
+ # ProximityTarget
419
+ # - target_Type - SOAP::SOAPString
420
+ # - excluded - SOAP::SOAPBoolean
421
+ # - geoPoint - AdwordsApi::V200909::TargetingIdeaService::GeoPoint
422
+ # - radiusDistanceUnits - AdwordsApi::V200909::TargetingIdeaService::ProximityTargetDistanceUnits
423
+ # - radiusInUnits - SOAP::SOAPDouble
424
+ # - address - AdwordsApi::V200909::TargetingIdeaService::Address
425
+ # - allowServiceOfAddress - SOAP::SOAPBoolean
426
+ class ProximityTarget < GeoTarget
427
+ attr_accessor :target_Type
428
+ attr_accessor :excluded
429
+ attr_accessor :geoPoint
430
+ attr_accessor :radiusDistanceUnits
431
+ attr_accessor :radiusInUnits
432
+ attr_accessor :address
433
+ attr_accessor :allowServiceOfAddress
434
+
435
+ def initialize(target_Type = nil, excluded = nil, geoPoint = nil, radiusDistanceUnits = nil, radiusInUnits = nil, address = nil, allowServiceOfAddress = nil)
436
+ @target_Type = target_Type
437
+ @excluded = excluded
438
+ @geoPoint = geoPoint
439
+ @radiusDistanceUnits = radiusDistanceUnits
440
+ @radiusInUnits = radiusInUnits
441
+ @address = address
442
+ @allowServiceOfAddress = allowServiceOfAddress
443
+ end
444
+ end
445
+
446
+ # ApiError
447
+ # abstract
448
+ # - fieldPath - SOAP::SOAPString
449
+ # - trigger - SOAP::SOAPString
450
+ # - apiError_Type - SOAP::SOAPString
451
+ class ApiError
452
+ attr_accessor :fieldPath
453
+ attr_accessor :trigger
454
+ attr_accessor :apiError_Type
455
+
456
+ def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil)
457
+ @fieldPath = fieldPath
458
+ @trigger = trigger
459
+ @apiError_Type = apiError_Type
460
+ end
461
+ end
462
+
463
+ # AdGroupCriterionError
464
+ # - fieldPath - SOAP::SOAPString
465
+ # - trigger - SOAP::SOAPString
466
+ # - apiError_Type - SOAP::SOAPString
467
+ # - reason - AdwordsApi::V200909::TargetingIdeaService::AdGroupCriterionErrorReason
468
+ class AdGroupCriterionError < ApiError
469
+ attr_accessor :fieldPath
470
+ attr_accessor :trigger
471
+ attr_accessor :apiError_Type
472
+ attr_accessor :reason
473
+
474
+ def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
475
+ @fieldPath = fieldPath
476
+ @trigger = trigger
477
+ @apiError_Type = apiError_Type
478
+ @reason = reason
479
+ end
480
+ end
481
+
482
+ # AuthenticationError
483
+ # - fieldPath - SOAP::SOAPString
484
+ # - trigger - SOAP::SOAPString
485
+ # - apiError_Type - SOAP::SOAPString
486
+ # - reason - AdwordsApi::V200909::TargetingIdeaService::AuthenticationErrorReason
487
+ class AuthenticationError < ApiError
488
+ attr_accessor :fieldPath
489
+ attr_accessor :trigger
490
+ attr_accessor :apiError_Type
491
+ attr_accessor :reason
492
+
493
+ def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
494
+ @fieldPath = fieldPath
495
+ @trigger = trigger
496
+ @apiError_Type = apiError_Type
497
+ @reason = reason
498
+ end
499
+ end
500
+
501
+ # AuthorizationError
502
+ # - fieldPath - SOAP::SOAPString
503
+ # - trigger - SOAP::SOAPString
504
+ # - apiError_Type - SOAP::SOAPString
505
+ # - reason - AdwordsApi::V200909::TargetingIdeaService::AuthorizationErrorReason
506
+ class AuthorizationError < ApiError
507
+ attr_accessor :fieldPath
508
+ attr_accessor :trigger
509
+ attr_accessor :apiError_Type
510
+ attr_accessor :reason
511
+
512
+ def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
513
+ @fieldPath = fieldPath
514
+ @trigger = trigger
515
+ @apiError_Type = apiError_Type
516
+ @reason = reason
517
+ end
518
+ end
519
+
520
+ # BiddingError
521
+ # - fieldPath - SOAP::SOAPString
522
+ # - trigger - SOAP::SOAPString
523
+ # - apiError_Type - SOAP::SOAPString
524
+ # - reason - AdwordsApi::V200909::TargetingIdeaService::BiddingErrorReason
525
+ class BiddingError < ApiError
526
+ attr_accessor :fieldPath
527
+ attr_accessor :trigger
528
+ attr_accessor :apiError_Type
529
+ attr_accessor :reason
530
+
531
+ def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
532
+ @fieldPath = fieldPath
533
+ @trigger = trigger
534
+ @apiError_Type = apiError_Type
535
+ @reason = reason
536
+ end
537
+ end
538
+
539
+ # BudgetError
540
+ # - fieldPath - SOAP::SOAPString
541
+ # - trigger - SOAP::SOAPString
542
+ # - apiError_Type - SOAP::SOAPString
543
+ # - reason - AdwordsApi::V200909::TargetingIdeaService::BudgetErrorReason
544
+ class BudgetError < ApiError
545
+ attr_accessor :fieldPath
546
+ attr_accessor :trigger
547
+ attr_accessor :apiError_Type
548
+ attr_accessor :reason
549
+
550
+ def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
551
+ @fieldPath = fieldPath
552
+ @trigger = trigger
553
+ @apiError_Type = apiError_Type
554
+ @reason = reason
555
+ end
556
+ end
557
+
558
+ # ClientTermsError
559
+ # - fieldPath - SOAP::SOAPString
560
+ # - trigger - SOAP::SOAPString
561
+ # - apiError_Type - SOAP::SOAPString
562
+ # - reason - AdwordsApi::V200909::TargetingIdeaService::ClientTermsErrorReason
563
+ class ClientTermsError < ApiError
564
+ attr_accessor :fieldPath
565
+ attr_accessor :trigger
566
+ attr_accessor :apiError_Type
567
+ attr_accessor :reason
568
+
569
+ def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
570
+ @fieldPath = fieldPath
571
+ @trigger = trigger
572
+ @apiError_Type = apiError_Type
573
+ @reason = reason
574
+ end
575
+ end
576
+
577
+ # DateError
578
+ # - fieldPath - SOAP::SOAPString
579
+ # - trigger - SOAP::SOAPString
580
+ # - apiError_Type - SOAP::SOAPString
581
+ # - reason - AdwordsApi::V200909::TargetingIdeaService::DateErrorReason
582
+ class DateError < ApiError
583
+ attr_accessor :fieldPath
584
+ attr_accessor :trigger
585
+ attr_accessor :apiError_Type
586
+ attr_accessor :reason
587
+
588
+ def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
589
+ @fieldPath = fieldPath
590
+ @trigger = trigger
591
+ @apiError_Type = apiError_Type
592
+ @reason = reason
593
+ end
594
+ end
595
+
596
+ # DistinctError
597
+ # - fieldPath - SOAP::SOAPString
598
+ # - trigger - SOAP::SOAPString
599
+ # - apiError_Type - SOAP::SOAPString
600
+ # - reason - AdwordsApi::V200909::TargetingIdeaService::DistinctErrorReason
601
+ class DistinctError < ApiError
602
+ attr_accessor :fieldPath
603
+ attr_accessor :trigger
604
+ attr_accessor :apiError_Type
605
+ attr_accessor :reason
606
+
607
+ def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
608
+ @fieldPath = fieldPath
609
+ @trigger = trigger
610
+ @apiError_Type = apiError_Type
611
+ @reason = reason
612
+ end
613
+ end
614
+
615
+ # EntityCountLimitExceeded
616
+ # - fieldPath - SOAP::SOAPString
617
+ # - trigger - SOAP::SOAPString
618
+ # - apiError_Type - SOAP::SOAPString
619
+ # - reason - AdwordsApi::V200909::TargetingIdeaService::EntityCountLimitExceededReason
620
+ # - enclosingId - SOAP::SOAPString
621
+ # - limit - SOAP::SOAPInt
622
+ class EntityCountLimitExceeded < ApiError
623
+ attr_accessor :fieldPath
624
+ attr_accessor :trigger
625
+ attr_accessor :apiError_Type
626
+ attr_accessor :reason
627
+ attr_accessor :enclosingId
628
+ attr_accessor :limit
629
+
630
+ def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil, enclosingId = nil, limit = nil)
631
+ @fieldPath = fieldPath
632
+ @trigger = trigger
633
+ @apiError_Type = apiError_Type
634
+ @reason = reason
635
+ @enclosingId = enclosingId
636
+ @limit = limit
637
+ end
638
+ end
639
+
640
+ # AdGroupCriterionLimitExceeded
641
+ # - fieldPath - SOAP::SOAPString
642
+ # - trigger - SOAP::SOAPString
643
+ # - apiError_Type - SOAP::SOAPString
644
+ # - reason - AdwordsApi::V200909::TargetingIdeaService::EntityCountLimitExceededReason
645
+ # - enclosingId - SOAP::SOAPString
646
+ # - limit - SOAP::SOAPInt
647
+ # - limitType - AdwordsApi::V200909::TargetingIdeaService::AdGroupCriterionLimitExceededCriteriaLimitType
648
+ class AdGroupCriterionLimitExceeded < EntityCountLimitExceeded
649
+ attr_accessor :fieldPath
650
+ attr_accessor :trigger
651
+ attr_accessor :apiError_Type
652
+ attr_accessor :reason
653
+ attr_accessor :enclosingId
654
+ attr_accessor :limit
655
+ attr_accessor :limitType
656
+
657
+ def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil, enclosingId = nil, limit = nil, limitType = nil)
658
+ @fieldPath = fieldPath
659
+ @trigger = trigger
660
+ @apiError_Type = apiError_Type
661
+ @reason = reason
662
+ @enclosingId = enclosingId
663
+ @limit = limit
664
+ @limitType = limitType
665
+ end
666
+ end
667
+
668
+ # EntityNotFound
669
+ # - fieldPath - SOAP::SOAPString
670
+ # - trigger - SOAP::SOAPString
671
+ # - apiError_Type - SOAP::SOAPString
672
+ # - reason - AdwordsApi::V200909::TargetingIdeaService::EntityNotFoundReason
673
+ class EntityNotFound < ApiError
674
+ attr_accessor :fieldPath
675
+ attr_accessor :trigger
676
+ attr_accessor :apiError_Type
677
+ attr_accessor :reason
678
+
679
+ def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
680
+ @fieldPath = fieldPath
681
+ @trigger = trigger
682
+ @apiError_Type = apiError_Type
683
+ @reason = reason
684
+ end
685
+ end
686
+
687
+ # InternalApiError
688
+ # - fieldPath - SOAP::SOAPString
689
+ # - trigger - SOAP::SOAPString
690
+ # - apiError_Type - SOAP::SOAPString
691
+ # - reason - AdwordsApi::V200909::TargetingIdeaService::InternalApiErrorReason
692
+ class InternalApiError < ApiError
693
+ attr_accessor :fieldPath
694
+ attr_accessor :trigger
695
+ attr_accessor :apiError_Type
696
+ attr_accessor :reason
697
+
698
+ def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
699
+ @fieldPath = fieldPath
700
+ @trigger = trigger
701
+ @apiError_Type = apiError_Type
702
+ @reason = reason
703
+ end
704
+ end
705
+
706
+ # NotEmptyError
707
+ # - fieldPath - SOAP::SOAPString
708
+ # - trigger - SOAP::SOAPString
709
+ # - apiError_Type - SOAP::SOAPString
710
+ # - reason - AdwordsApi::V200909::TargetingIdeaService::NotEmptyErrorReason
711
+ class NotEmptyError < ApiError
712
+ attr_accessor :fieldPath
713
+ attr_accessor :trigger
714
+ attr_accessor :apiError_Type
715
+ attr_accessor :reason
716
+
717
+ def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
718
+ @fieldPath = fieldPath
719
+ @trigger = trigger
720
+ @apiError_Type = apiError_Type
721
+ @reason = reason
722
+ end
723
+ end
724
+
725
+ # NotWhitelistedError
726
+ # - fieldPath - SOAP::SOAPString
727
+ # - trigger - SOAP::SOAPString
728
+ # - apiError_Type - SOAP::SOAPString
729
+ # - reason - AdwordsApi::V200909::TargetingIdeaService::NotWhitelistedErrorReason
730
+ class NotWhitelistedError < ApiError
731
+ attr_accessor :fieldPath
732
+ attr_accessor :trigger
733
+ attr_accessor :apiError_Type
734
+ attr_accessor :reason
735
+
736
+ def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
737
+ @fieldPath = fieldPath
738
+ @trigger = trigger
739
+ @apiError_Type = apiError_Type
740
+ @reason = reason
741
+ end
742
+ end
743
+
744
+ # NullError
745
+ # - fieldPath - SOAP::SOAPString
746
+ # - trigger - SOAP::SOAPString
747
+ # - apiError_Type - SOAP::SOAPString
748
+ # - reason - AdwordsApi::V200909::TargetingIdeaService::NullErrorReason
749
+ class NullError < ApiError
750
+ attr_accessor :fieldPath
751
+ attr_accessor :trigger
752
+ attr_accessor :apiError_Type
753
+ attr_accessor :reason
754
+
755
+ def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
756
+ @fieldPath = fieldPath
757
+ @trigger = trigger
758
+ @apiError_Type = apiError_Type
759
+ @reason = reason
760
+ end
761
+ end
762
+
763
+ # QuotaCheckError
764
+ # - fieldPath - SOAP::SOAPString
765
+ # - trigger - SOAP::SOAPString
766
+ # - apiError_Type - SOAP::SOAPString
767
+ # - reason - AdwordsApi::V200909::TargetingIdeaService::QuotaCheckErrorReason
768
+ class QuotaCheckError < ApiError
769
+ attr_accessor :fieldPath
770
+ attr_accessor :trigger
771
+ attr_accessor :apiError_Type
772
+ attr_accessor :reason
773
+
774
+ def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
775
+ @fieldPath = fieldPath
776
+ @trigger = trigger
777
+ @apiError_Type = apiError_Type
778
+ @reason = reason
779
+ end
780
+ end
781
+
782
+ # QuotaExceededError
783
+ # - fieldPath - SOAP::SOAPString
784
+ # - trigger - SOAP::SOAPString
785
+ # - apiError_Type - SOAP::SOAPString
786
+ # - reason - AdwordsApi::V200909::TargetingIdeaService::QuotaExceededErrorReason
787
+ class QuotaExceededError < ApiError
788
+ attr_accessor :fieldPath
789
+ attr_accessor :trigger
790
+ attr_accessor :apiError_Type
791
+ attr_accessor :reason
792
+
793
+ def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
794
+ @fieldPath = fieldPath
795
+ @trigger = trigger
796
+ @apiError_Type = apiError_Type
797
+ @reason = reason
798
+ end
799
+ end
800
+
801
+ # RangeError
802
+ # - fieldPath - SOAP::SOAPString
803
+ # - trigger - SOAP::SOAPString
804
+ # - apiError_Type - SOAP::SOAPString
805
+ # - reason - AdwordsApi::V200909::TargetingIdeaService::RangeErrorReason
806
+ class C_RangeError < ApiError
807
+ attr_accessor :fieldPath
808
+ attr_accessor :trigger
809
+ attr_accessor :apiError_Type
810
+ attr_accessor :reason
811
+
812
+ def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
813
+ @fieldPath = fieldPath
814
+ @trigger = trigger
815
+ @apiError_Type = apiError_Type
816
+ @reason = reason
817
+ end
818
+ end
819
+
820
+ # ReadOnlyError
821
+ # - fieldPath - SOAP::SOAPString
822
+ # - trigger - SOAP::SOAPString
823
+ # - apiError_Type - SOAP::SOAPString
824
+ # - reason - AdwordsApi::V200909::TargetingIdeaService::ReadOnlyErrorReason
825
+ class ReadOnlyError < ApiError
826
+ attr_accessor :fieldPath
827
+ attr_accessor :trigger
828
+ attr_accessor :apiError_Type
829
+ attr_accessor :reason
830
+
831
+ def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
832
+ @fieldPath = fieldPath
833
+ @trigger = trigger
834
+ @apiError_Type = apiError_Type
835
+ @reason = reason
836
+ end
837
+ end
838
+
839
+ # RegionCodeError
840
+ # - fieldPath - SOAP::SOAPString
841
+ # - trigger - SOAP::SOAPString
842
+ # - apiError_Type - SOAP::SOAPString
843
+ # - reason - AdwordsApi::V200909::TargetingIdeaService::RegionCodeErrorReason
844
+ class RegionCodeError < ApiError
845
+ attr_accessor :fieldPath
846
+ attr_accessor :trigger
847
+ attr_accessor :apiError_Type
848
+ attr_accessor :reason
849
+
850
+ def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
851
+ @fieldPath = fieldPath
852
+ @trigger = trigger
853
+ @apiError_Type = apiError_Type
854
+ @reason = reason
855
+ end
856
+ end
857
+
858
+ # RequiredError
859
+ # - fieldPath - SOAP::SOAPString
860
+ # - trigger - SOAP::SOAPString
861
+ # - apiError_Type - SOAP::SOAPString
862
+ # - reason - AdwordsApi::V200909::TargetingIdeaService::RequiredErrorReason
863
+ class RequiredError < ApiError
864
+ attr_accessor :fieldPath
865
+ attr_accessor :trigger
866
+ attr_accessor :apiError_Type
867
+ attr_accessor :reason
868
+
869
+ def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
870
+ @fieldPath = fieldPath
871
+ @trigger = trigger
872
+ @apiError_Type = apiError_Type
873
+ @reason = reason
874
+ end
875
+ end
876
+
877
+ # SizeLimitError
878
+ # - fieldPath - SOAP::SOAPString
879
+ # - trigger - SOAP::SOAPString
880
+ # - apiError_Type - SOAP::SOAPString
881
+ # - reason - AdwordsApi::V200909::TargetingIdeaService::SizeLimitErrorReason
882
+ class SizeLimitError < ApiError
883
+ attr_accessor :fieldPath
884
+ attr_accessor :trigger
885
+ attr_accessor :apiError_Type
886
+ attr_accessor :reason
887
+
888
+ def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
889
+ @fieldPath = fieldPath
890
+ @trigger = trigger
891
+ @apiError_Type = apiError_Type
892
+ @reason = reason
893
+ end
894
+ end
895
+
896
+ # StatsQueryError
897
+ # - fieldPath - SOAP::SOAPString
898
+ # - trigger - SOAP::SOAPString
899
+ # - apiError_Type - SOAP::SOAPString
900
+ # - reason - AdwordsApi::V200909::TargetingIdeaService::StatsQueryErrorReason
901
+ class StatsQueryError < ApiError
902
+ attr_accessor :fieldPath
903
+ attr_accessor :trigger
904
+ attr_accessor :apiError_Type
905
+ attr_accessor :reason
906
+
907
+ def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
908
+ @fieldPath = fieldPath
909
+ @trigger = trigger
910
+ @apiError_Type = apiError_Type
911
+ @reason = reason
912
+ end
913
+ end
914
+
915
+ # StringLengthError
916
+ # - fieldPath - SOAP::SOAPString
917
+ # - trigger - SOAP::SOAPString
918
+ # - apiError_Type - SOAP::SOAPString
919
+ # - reason - AdwordsApi::V200909::TargetingIdeaService::StringLengthErrorReason
920
+ class StringLengthError < ApiError
921
+ attr_accessor :fieldPath
922
+ attr_accessor :trigger
923
+ attr_accessor :apiError_Type
924
+ attr_accessor :reason
925
+
926
+ def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
927
+ @fieldPath = fieldPath
928
+ @trigger = trigger
929
+ @apiError_Type = apiError_Type
930
+ @reason = reason
931
+ end
932
+ end
933
+
934
+ # TargetError
935
+ # - fieldPath - SOAP::SOAPString
936
+ # - trigger - SOAP::SOAPString
937
+ # - apiError_Type - SOAP::SOAPString
938
+ # - reason - AdwordsApi::V200909::TargetingIdeaService::TargetErrorReason
939
+ class TargetError < ApiError
940
+ attr_accessor :fieldPath
941
+ attr_accessor :trigger
942
+ attr_accessor :apiError_Type
943
+ attr_accessor :reason
944
+
945
+ def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
946
+ @fieldPath = fieldPath
947
+ @trigger = trigger
948
+ @apiError_Type = apiError_Type
949
+ @reason = reason
950
+ end
951
+ end
952
+
953
+ # DatabaseError
954
+ # - fieldPath - SOAP::SOAPString
955
+ # - trigger - SOAP::SOAPString
956
+ # - apiError_Type - SOAP::SOAPString
957
+ # - reason - AdwordsApi::V200909::TargetingIdeaService::DatabaseErrorReason
958
+ class DatabaseError < ApiError
959
+ attr_accessor :fieldPath
960
+ attr_accessor :trigger
961
+ attr_accessor :apiError_Type
962
+ attr_accessor :reason
963
+
964
+ def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
965
+ @fieldPath = fieldPath
966
+ @trigger = trigger
967
+ @apiError_Type = apiError_Type
968
+ @reason = reason
969
+ end
970
+ end
971
+
972
+ # PolicyViolationError
973
+ # - fieldPath - SOAP::SOAPString
974
+ # - trigger - SOAP::SOAPString
975
+ # - apiError_Type - SOAP::SOAPString
976
+ # - key - AdwordsApi::V200909::TargetingIdeaService::PolicyViolationKey
977
+ # - externalPolicyName - SOAP::SOAPString
978
+ # - externalPolicyUrl - SOAP::SOAPString
979
+ # - externalPolicyDescription - SOAP::SOAPString
980
+ # - isExemptable - SOAP::SOAPBoolean
981
+ # - violatingParts - AdwordsApi::V200909::TargetingIdeaService::PolicyViolationErrorPart
982
+ class PolicyViolationError < ApiError
983
+ attr_accessor :fieldPath
984
+ attr_accessor :trigger
985
+ attr_accessor :apiError_Type
986
+ attr_accessor :key
987
+ attr_accessor :externalPolicyName
988
+ attr_accessor :externalPolicyUrl
989
+ attr_accessor :externalPolicyDescription
990
+ attr_accessor :isExemptable
991
+ attr_accessor :violatingParts
992
+
993
+ def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, key = nil, externalPolicyName = nil, externalPolicyUrl = nil, externalPolicyDescription = nil, isExemptable = nil, violatingParts = [])
994
+ @fieldPath = fieldPath
995
+ @trigger = trigger
996
+ @apiError_Type = apiError_Type
997
+ @key = key
998
+ @externalPolicyName = externalPolicyName
999
+ @externalPolicyUrl = externalPolicyUrl
1000
+ @externalPolicyDescription = externalPolicyDescription
1001
+ @isExemptable = isExemptable
1002
+ @violatingParts = violatingParts
1003
+ end
1004
+ end
1005
+
1006
+ # CriterionPolicyError
1007
+ # - fieldPath - SOAP::SOAPString
1008
+ # - trigger - SOAP::SOAPString
1009
+ # - apiError_Type - SOAP::SOAPString
1010
+ # - key - AdwordsApi::V200909::TargetingIdeaService::PolicyViolationKey
1011
+ # - externalPolicyName - SOAP::SOAPString
1012
+ # - externalPolicyUrl - SOAP::SOAPString
1013
+ # - externalPolicyDescription - SOAP::SOAPString
1014
+ # - isExemptable - SOAP::SOAPBoolean
1015
+ # - violatingParts - AdwordsApi::V200909::TargetingIdeaService::PolicyViolationErrorPart
1016
+ class CriterionPolicyError < PolicyViolationError
1017
+ attr_accessor :fieldPath
1018
+ attr_accessor :trigger
1019
+ attr_accessor :apiError_Type
1020
+ attr_accessor :key
1021
+ attr_accessor :externalPolicyName
1022
+ attr_accessor :externalPolicyUrl
1023
+ attr_accessor :externalPolicyDescription
1024
+ attr_accessor :isExemptable
1025
+ attr_accessor :violatingParts
1026
+
1027
+ def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, key = nil, externalPolicyName = nil, externalPolicyUrl = nil, externalPolicyDescription = nil, isExemptable = nil, violatingParts = [])
1028
+ @fieldPath = fieldPath
1029
+ @trigger = trigger
1030
+ @apiError_Type = apiError_Type
1031
+ @key = key
1032
+ @externalPolicyName = externalPolicyName
1033
+ @externalPolicyUrl = externalPolicyUrl
1034
+ @externalPolicyDescription = externalPolicyDescription
1035
+ @isExemptable = isExemptable
1036
+ @violatingParts = violatingParts
1037
+ end
1038
+ end
1039
+
1040
+ # CollectionSizeError
1041
+ # - fieldPath - SOAP::SOAPString
1042
+ # - trigger - SOAP::SOAPString
1043
+ # - apiError_Type - SOAP::SOAPString
1044
+ # - reason - AdwordsApi::V200909::TargetingIdeaService::CollectionSizeErrorReason
1045
+ class CollectionSizeError < ApiError
1046
+ attr_accessor :fieldPath
1047
+ attr_accessor :trigger
1048
+ attr_accessor :apiError_Type
1049
+ attr_accessor :reason
1050
+
1051
+ def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
1052
+ @fieldPath = fieldPath
1053
+ @trigger = trigger
1054
+ @apiError_Type = apiError_Type
1055
+ @reason = reason
1056
+ end
1057
+ end
1058
+
1059
+ # TargetingIdeaError
1060
+ # - fieldPath - SOAP::SOAPString
1061
+ # - trigger - SOAP::SOAPString
1062
+ # - apiError_Type - SOAP::SOAPString
1063
+ # - reason - AdwordsApi::V200909::TargetingIdeaService::TargetingIdeaErrorReason
1064
+ class TargetingIdeaError < ApiError
1065
+ attr_accessor :fieldPath
1066
+ attr_accessor :trigger
1067
+ attr_accessor :apiError_Type
1068
+ attr_accessor :reason
1069
+
1070
+ def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
1071
+ @fieldPath = fieldPath
1072
+ @trigger = trigger
1073
+ @apiError_Type = apiError_Type
1074
+ @reason = reason
1075
+ end
1076
+ end
1077
+
1078
+ # ApplicationException
1079
+ # - message - SOAP::SOAPString
1080
+ # - applicationException_Type - SOAP::SOAPString
1081
+ class ApplicationException
1082
+ attr_accessor :message
1083
+ attr_accessor :applicationException_Type
1084
+
1085
+ def initialize(message = nil, applicationException_Type = nil)
1086
+ @message = message
1087
+ @applicationException_Type = applicationException_Type
1088
+ end
1089
+ end
1090
+
1091
+ # ApiException
1092
+ # - message - SOAP::SOAPString
1093
+ # - applicationException_Type - SOAP::SOAPString
1094
+ # - errors - AdwordsApi::V200909::TargetingIdeaService::ApiError
1095
+ class ApiException < ApplicationException
1096
+ attr_accessor :message
1097
+ attr_accessor :applicationException_Type
1098
+ attr_accessor :errors
1099
+
1100
+ def initialize(message = nil, applicationException_Type = nil, errors = [])
1101
+ @message = message
1102
+ @applicationException_Type = applicationException_Type
1103
+ @errors = errors
1104
+ end
1105
+ end
1106
+
1107
+ # Criterion
1108
+ # - id - SOAP::SOAPLong
1109
+ # - criterion_Type - SOAP::SOAPString
1110
+ class Criterion
1111
+ attr_accessor :id
1112
+ attr_accessor :criterion_Type
1113
+
1114
+ def initialize(id = nil, criterion_Type = nil)
1115
+ @id = id
1116
+ @criterion_Type = criterion_Type
1117
+ end
1118
+ end
1119
+
1120
+ # Keyword
1121
+ # - id - SOAP::SOAPLong
1122
+ # - criterion_Type - SOAP::SOAPString
1123
+ # - text - SOAP::SOAPString
1124
+ # - matchType - AdwordsApi::V200909::TargetingIdeaService::KeywordMatchType
1125
+ class Keyword < Criterion
1126
+ attr_accessor :id
1127
+ attr_accessor :criterion_Type
1128
+ attr_accessor :text
1129
+ attr_accessor :matchType
1130
+
1131
+ def initialize(id = nil, criterion_Type = nil, text = nil, matchType = nil)
1132
+ @id = id
1133
+ @criterion_Type = criterion_Type
1134
+ @text = text
1135
+ @matchType = matchType
1136
+ end
1137
+ end
1138
+
1139
+ # Placement
1140
+ # - id - SOAP::SOAPLong
1141
+ # - criterion_Type - SOAP::SOAPString
1142
+ # - url - SOAP::SOAPString
1143
+ class Placement < Criterion
1144
+ attr_accessor :id
1145
+ attr_accessor :criterion_Type
1146
+ attr_accessor :url
1147
+
1148
+ def initialize(id = nil, criterion_Type = nil, url = nil)
1149
+ @id = id
1150
+ @criterion_Type = criterion_Type
1151
+ @url = url
1152
+ end
1153
+ end
1154
+
1155
+ # AdFormatSpec
1156
+ # - format - AdwordsApi::V200909::TargetingIdeaService::SiteConstantsAdFormat
1157
+ class AdFormatSpec
1158
+ attr_accessor :format
1159
+
1160
+ def initialize(format = nil)
1161
+ @format = format
1162
+ end
1163
+ end
1164
+
1165
+ # InStreamAdInfo
1166
+ # - maxAdDuration - SOAP::SOAPInt
1167
+ # - minAdDuration - SOAP::SOAPInt
1168
+ # - medianAdDuration - SOAP::SOAPInt
1169
+ # - preRollPercent - SOAP::SOAPDouble
1170
+ # - midRollPercent - SOAP::SOAPDouble
1171
+ # - postRollPercent - SOAP::SOAPDouble
1172
+ class InStreamAdInfo
1173
+ attr_accessor :maxAdDuration
1174
+ attr_accessor :minAdDuration
1175
+ attr_accessor :medianAdDuration
1176
+ attr_accessor :preRollPercent
1177
+ attr_accessor :midRollPercent
1178
+ attr_accessor :postRollPercent
1179
+
1180
+ def initialize(maxAdDuration = nil, minAdDuration = nil, medianAdDuration = nil, preRollPercent = nil, midRollPercent = nil, postRollPercent = nil)
1181
+ @maxAdDuration = maxAdDuration
1182
+ @minAdDuration = minAdDuration
1183
+ @medianAdDuration = medianAdDuration
1184
+ @preRollPercent = preRollPercent
1185
+ @midRollPercent = midRollPercent
1186
+ @postRollPercent = postRollPercent
1187
+ end
1188
+ end
1189
+
1190
+ # LongComparisonOperation
1191
+ # - minimum - SOAP::SOAPLong
1192
+ # - maximum - SOAP::SOAPLong
1193
+ # - excludes - SOAP::SOAPLong
1194
+ class LongComparisonOperation
1195
+ attr_accessor :minimum
1196
+ attr_accessor :maximum
1197
+ attr_accessor :excludes
1198
+
1199
+ def initialize(minimum = nil, maximum = nil, excludes = [])
1200
+ @minimum = minimum
1201
+ @maximum = maximum
1202
+ @excludes = excludes
1203
+ end
1204
+ end
1205
+
1206
+ # MonthlySearchVolume
1207
+ # - year - SOAP::SOAPInt
1208
+ # - month - SOAP::SOAPInt
1209
+ # - count - SOAP::SOAPLong
1210
+ class MonthlySearchVolume
1211
+ attr_accessor :year
1212
+ attr_accessor :month
1213
+ attr_accessor :count
1214
+
1215
+ def initialize(year = nil, month = nil, count = nil)
1216
+ @year = year
1217
+ @month = month
1218
+ @count = count
1219
+ end
1220
+ end
1221
+
1222
+ # WebpageDescriptor
1223
+ # - url - SOAP::SOAPString
1224
+ # - title - SOAP::SOAPString
1225
+ class WebpageDescriptor
1226
+ attr_accessor :url
1227
+ attr_accessor :title
1228
+
1229
+ def initialize(url = nil, title = nil)
1230
+ @url = url
1231
+ @title = title
1232
+ end
1233
+ end
1234
+
1235
+ # Range
1236
+ # - min - AdwordsApi::V200909::TargetingIdeaService::ComparableValue
1237
+ # - max - AdwordsApi::V200909::TargetingIdeaService::ComparableValue
1238
+ class C_Range
1239
+ attr_accessor :min
1240
+ attr_accessor :max
1241
+
1242
+ def initialize(min = nil, max = nil)
1243
+ @min = min
1244
+ @max = max
1245
+ end
1246
+ end
1247
+
1248
+ # SearchParameter
1249
+ # abstract
1250
+ # - searchParameter_Type - SOAP::SOAPString
1251
+ class SearchParameter
1252
+ attr_accessor :searchParameter_Type
1253
+
1254
+ def initialize(searchParameter_Type = nil)
1255
+ @searchParameter_Type = searchParameter_Type
1256
+ end
1257
+ end
1258
+
1259
+ # AdTypeSearchParameter
1260
+ # - searchParameter_Type - SOAP::SOAPString
1261
+ # - adTypes - AdwordsApi::V200909::TargetingIdeaService::SiteConstantsAdType
1262
+ class AdTypeSearchParameter < SearchParameter
1263
+ attr_accessor :searchParameter_Type
1264
+ attr_accessor :adTypes
1265
+
1266
+ def initialize(searchParameter_Type = nil, adTypes = [])
1267
+ @searchParameter_Type = searchParameter_Type
1268
+ @adTypes = adTypes
1269
+ end
1270
+ end
1271
+
1272
+ # CompetitionSearchParameter
1273
+ # - searchParameter_Type - SOAP::SOAPString
1274
+ # - levels - AdwordsApi::V200909::TargetingIdeaService::CompetitionSearchParameterLevel
1275
+ class CompetitionSearchParameter < SearchParameter
1276
+ attr_accessor :searchParameter_Type
1277
+ attr_accessor :levels
1278
+
1279
+ def initialize(searchParameter_Type = nil, levels = [])
1280
+ @searchParameter_Type = searchParameter_Type
1281
+ @levels = levels
1282
+ end
1283
+ end
1284
+
1285
+ # IncludeAdultContentSearchParameter
1286
+ # - searchParameter_Type - SOAP::SOAPString
1287
+ class IncludeAdultContentSearchParameter < SearchParameter
1288
+ attr_accessor :searchParameter_Type
1289
+
1290
+ def initialize(searchParameter_Type = nil)
1291
+ @searchParameter_Type = searchParameter_Type
1292
+ end
1293
+ end
1294
+
1295
+ # KeywordCategoryIdSearchParameter
1296
+ # - searchParameter_Type - SOAP::SOAPString
1297
+ # - categoryId - SOAP::SOAPInt
1298
+ class KeywordCategoryIdSearchParameter < SearchParameter
1299
+ attr_accessor :searchParameter_Type
1300
+ attr_accessor :categoryId
1301
+
1302
+ def initialize(searchParameter_Type = nil, categoryId = nil)
1303
+ @searchParameter_Type = searchParameter_Type
1304
+ @categoryId = categoryId
1305
+ end
1306
+ end
1307
+
1308
+ # KeywordMatchTypeSearchParameter
1309
+ # - searchParameter_Type - SOAP::SOAPString
1310
+ # - keywordMatchTypes - AdwordsApi::V200909::TargetingIdeaService::KeywordMatchType
1311
+ class KeywordMatchTypeSearchParameter < SearchParameter
1312
+ attr_accessor :searchParameter_Type
1313
+ attr_accessor :keywordMatchTypes
1314
+
1315
+ def initialize(searchParameter_Type = nil, keywordMatchTypes = [])
1316
+ @searchParameter_Type = searchParameter_Type
1317
+ @keywordMatchTypes = keywordMatchTypes
1318
+ end
1319
+ end
1320
+
1321
+ # MobileSearchParameter
1322
+ # - searchParameter_Type - SOAP::SOAPString
1323
+ class MobileSearchParameter < SearchParameter
1324
+ attr_accessor :searchParameter_Type
1325
+
1326
+ def initialize(searchParameter_Type = nil)
1327
+ @searchParameter_Type = searchParameter_Type
1328
+ end
1329
+ end
1330
+
1331
+ # NgramGroupsSearchParameter
1332
+ # - searchParameter_Type - SOAP::SOAPString
1333
+ # - ngramGroups - SOAP::SOAPString
1334
+ class NgramGroupsSearchParameter < SearchParameter
1335
+ attr_accessor :searchParameter_Type
1336
+ attr_accessor :ngramGroups
1337
+
1338
+ def initialize(searchParameter_Type = nil, ngramGroups = [])
1339
+ @searchParameter_Type = searchParameter_Type
1340
+ @ngramGroups = ngramGroups
1341
+ end
1342
+ end
1343
+
1344
+ # PlacementTypeSearchParameter
1345
+ # - searchParameter_Type - SOAP::SOAPString
1346
+ # - placementTypes - AdwordsApi::V200909::TargetingIdeaService::SiteConstantsPlacementType
1347
+ class PlacementTypeSearchParameter < SearchParameter
1348
+ attr_accessor :searchParameter_Type
1349
+ attr_accessor :placementTypes
1350
+
1351
+ def initialize(searchParameter_Type = nil, placementTypes = [])
1352
+ @searchParameter_Type = searchParameter_Type
1353
+ @placementTypes = placementTypes
1354
+ end
1355
+ end
1356
+
1357
+ # RelatedToUrlSearchParameter
1358
+ # - searchParameter_Type - SOAP::SOAPString
1359
+ # - urls - SOAP::SOAPString
1360
+ # - includeSubUrls - SOAP::SOAPBoolean
1361
+ class RelatedToUrlSearchParameter < SearchParameter
1362
+ attr_accessor :searchParameter_Type
1363
+ attr_accessor :urls
1364
+ attr_accessor :includeSubUrls
1365
+
1366
+ def initialize(searchParameter_Type = nil, urls = [], includeSubUrls = nil)
1367
+ @searchParameter_Type = searchParameter_Type
1368
+ @urls = urls
1369
+ @includeSubUrls = includeSubUrls
1370
+ end
1371
+ end
1372
+
1373
+ # SeedAdGroupIdSearchParameter
1374
+ # - searchParameter_Type - SOAP::SOAPString
1375
+ # - adGroupId - SOAP::SOAPLong
1376
+ class SeedAdGroupIdSearchParameter < SearchParameter
1377
+ attr_accessor :searchParameter_Type
1378
+ attr_accessor :adGroupId
1379
+
1380
+ def initialize(searchParameter_Type = nil, adGroupId = nil)
1381
+ @searchParameter_Type = searchParameter_Type
1382
+ @adGroupId = adGroupId
1383
+ end
1384
+ end
1385
+
1386
+ # AverageTargetedMonthlySearchesSearchParameter
1387
+ # - searchParameter_Type - SOAP::SOAPString
1388
+ # - operation - AdwordsApi::V200909::TargetingIdeaService::LongComparisonOperation
1389
+ class AverageTargetedMonthlySearchesSearchParameter < SearchParameter
1390
+ attr_accessor :searchParameter_Type
1391
+ attr_accessor :operation
1392
+
1393
+ def initialize(searchParameter_Type = nil, operation = nil)
1394
+ @searchParameter_Type = searchParameter_Type
1395
+ @operation = operation
1396
+ end
1397
+ end
1398
+
1399
+ # GlobalMonthlySearchesSearchParameter
1400
+ # - searchParameter_Type - SOAP::SOAPString
1401
+ # - operation - AdwordsApi::V200909::TargetingIdeaService::LongComparisonOperation
1402
+ class GlobalMonthlySearchesSearchParameter < SearchParameter
1403
+ attr_accessor :searchParameter_Type
1404
+ attr_accessor :operation
1405
+
1406
+ def initialize(searchParameter_Type = nil, operation = nil)
1407
+ @searchParameter_Type = searchParameter_Type
1408
+ @operation = operation
1409
+ end
1410
+ end
1411
+
1412
+ # CountryTargetSearchParameter
1413
+ # - searchParameter_Type - SOAP::SOAPString
1414
+ # - countryTargets - AdwordsApi::V200909::TargetingIdeaService::CountryTarget
1415
+ class CountryTargetSearchParameter < SearchParameter
1416
+ attr_accessor :searchParameter_Type
1417
+ attr_accessor :countryTargets
1418
+
1419
+ def initialize(searchParameter_Type = nil, countryTargets = [])
1420
+ @searchParameter_Type = searchParameter_Type
1421
+ @countryTargets = countryTargets
1422
+ end
1423
+ end
1424
+
1425
+ # LanguageTargetSearchParameter
1426
+ # - searchParameter_Type - SOAP::SOAPString
1427
+ # - languageTargets - AdwordsApi::V200909::TargetingIdeaService::LanguageTarget
1428
+ class LanguageTargetSearchParameter < SearchParameter
1429
+ attr_accessor :searchParameter_Type
1430
+ attr_accessor :languageTargets
1431
+
1432
+ def initialize(searchParameter_Type = nil, languageTargets = [])
1433
+ @searchParameter_Type = searchParameter_Type
1434
+ @languageTargets = languageTargets
1435
+ end
1436
+ end
1437
+
1438
+ # ExcludedKeywordSearchParameter
1439
+ # - searchParameter_Type - SOAP::SOAPString
1440
+ # - keywords - AdwordsApi::V200909::TargetingIdeaService::Keyword
1441
+ class ExcludedKeywordSearchParameter < SearchParameter
1442
+ attr_accessor :searchParameter_Type
1443
+ attr_accessor :keywords
1444
+
1445
+ def initialize(searchParameter_Type = nil, keywords = [])
1446
+ @searchParameter_Type = searchParameter_Type
1447
+ @keywords = keywords
1448
+ end
1449
+ end
1450
+
1451
+ # RelatedToKeywordSearchParameter
1452
+ # - searchParameter_Type - SOAP::SOAPString
1453
+ # - keywords - AdwordsApi::V200909::TargetingIdeaService::Keyword
1454
+ class RelatedToKeywordSearchParameter < SearchParameter
1455
+ attr_accessor :searchParameter_Type
1456
+ attr_accessor :keywords
1457
+
1458
+ def initialize(searchParameter_Type = nil, keywords = [])
1459
+ @searchParameter_Type = searchParameter_Type
1460
+ @keywords = keywords
1461
+ end
1462
+ end
1463
+
1464
+ # TargetingIdeaSelector
1465
+ # - searchParameters - AdwordsApi::V200909::TargetingIdeaService::SearchParameter
1466
+ # - ideaType - AdwordsApi::V200909::TargetingIdeaService::IdeaType
1467
+ # - requestType - AdwordsApi::V200909::TargetingIdeaService::RequestType
1468
+ # - requestedAttributeTypes - AdwordsApi::V200909::TargetingIdeaService::AttributeType
1469
+ # - paging - AdwordsApi::V200909::TargetingIdeaService::Paging
1470
+ # - localeCode - SOAP::SOAPString
1471
+ # - currencyCode - SOAP::SOAPString
1472
+ class TargetingIdeaSelector
1473
+ attr_accessor :searchParameters
1474
+ attr_accessor :ideaType
1475
+ attr_accessor :requestType
1476
+ attr_accessor :requestedAttributeTypes
1477
+ attr_accessor :paging
1478
+ attr_accessor :localeCode
1479
+ attr_accessor :currencyCode
1480
+
1481
+ def initialize(searchParameters = [], ideaType = nil, requestType = nil, requestedAttributeTypes = [], paging = nil, localeCode = nil, currencyCode = nil)
1482
+ @searchParameters = searchParameters
1483
+ @ideaType = ideaType
1484
+ @requestType = requestType
1485
+ @requestedAttributeTypes = requestedAttributeTypes
1486
+ @paging = paging
1487
+ @localeCode = localeCode
1488
+ @currencyCode = currencyCode
1489
+ end
1490
+ end
1491
+
1492
+ # Attribute
1493
+ # abstract
1494
+ # - attribute_Type - SOAP::SOAPString
1495
+ class Attribute
1496
+ attr_accessor :attribute_Type
1497
+
1498
+ def initialize(attribute_Type = nil)
1499
+ @attribute_Type = attribute_Type
1500
+ end
1501
+ end
1502
+
1503
+ # AdFormatSpecListAttribute
1504
+ # - attribute_Type - SOAP::SOAPString
1505
+ # - value - AdwordsApi::V200909::TargetingIdeaService::AdFormatSpec
1506
+ class AdFormatSpecListAttribute < Attribute
1507
+ attr_accessor :attribute_Type
1508
+ attr_accessor :value
1509
+
1510
+ def initialize(attribute_Type = nil, value = [])
1511
+ @attribute_Type = attribute_Type
1512
+ @value = value
1513
+ end
1514
+ end
1515
+
1516
+ # BooleanAttribute
1517
+ # - attribute_Type - SOAP::SOAPString
1518
+ # - value - SOAP::SOAPBoolean
1519
+ class BooleanAttribute < Attribute
1520
+ attr_accessor :attribute_Type
1521
+ attr_accessor :value
1522
+
1523
+ def initialize(attribute_Type = nil, value = nil)
1524
+ @attribute_Type = attribute_Type
1525
+ @value = value
1526
+ end
1527
+ end
1528
+
1529
+ # DoubleAttribute
1530
+ # - attribute_Type - SOAP::SOAPString
1531
+ # - value - SOAP::SOAPDouble
1532
+ class DoubleAttribute < Attribute
1533
+ attr_accessor :attribute_Type
1534
+ attr_accessor :value
1535
+
1536
+ def initialize(attribute_Type = nil, value = nil)
1537
+ @attribute_Type = attribute_Type
1538
+ @value = value
1539
+ end
1540
+ end
1541
+
1542
+ # IdeaTypeAttribute
1543
+ # - attribute_Type - SOAP::SOAPString
1544
+ # - value - AdwordsApi::V200909::TargetingIdeaService::IdeaType
1545
+ class IdeaTypeAttribute < Attribute
1546
+ attr_accessor :attribute_Type
1547
+ attr_accessor :value
1548
+
1549
+ def initialize(attribute_Type = nil, value = nil)
1550
+ @attribute_Type = attribute_Type
1551
+ @value = value
1552
+ end
1553
+ end
1554
+
1555
+ # InStreamAdInfoAttribute
1556
+ # - attribute_Type - SOAP::SOAPString
1557
+ # - value - AdwordsApi::V200909::TargetingIdeaService::InStreamAdInfo
1558
+ class InStreamAdInfoAttribute < Attribute
1559
+ attr_accessor :attribute_Type
1560
+ attr_accessor :value
1561
+
1562
+ def initialize(attribute_Type = nil, value = nil)
1563
+ @attribute_Type = attribute_Type
1564
+ @value = value
1565
+ end
1566
+ end
1567
+
1568
+ # IntegerAttribute
1569
+ # - attribute_Type - SOAP::SOAPString
1570
+ # - value - SOAP::SOAPInt
1571
+ class IntegerAttribute < Attribute
1572
+ attr_accessor :attribute_Type
1573
+ attr_accessor :value
1574
+
1575
+ def initialize(attribute_Type = nil, value = nil)
1576
+ @attribute_Type = attribute_Type
1577
+ @value = value
1578
+ end
1579
+ end
1580
+
1581
+ # IntegerSetAttribute
1582
+ # - attribute_Type - SOAP::SOAPString
1583
+ # - value - SOAP::SOAPInt
1584
+ class IntegerSetAttribute < Attribute
1585
+ attr_accessor :attribute_Type
1586
+ attr_accessor :value
1587
+
1588
+ def initialize(attribute_Type = nil, value = [])
1589
+ @attribute_Type = attribute_Type
1590
+ @value = value
1591
+ end
1592
+ end
1593
+
1594
+ # LongAttribute
1595
+ # - attribute_Type - SOAP::SOAPString
1596
+ # - value - SOAP::SOAPLong
1597
+ class LongAttribute < Attribute
1598
+ attr_accessor :attribute_Type
1599
+ attr_accessor :value
1600
+
1601
+ def initialize(attribute_Type = nil, value = nil)
1602
+ @attribute_Type = attribute_Type
1603
+ @value = value
1604
+ end
1605
+ end
1606
+
1607
+ # MonthlySearchVolumeAttribute
1608
+ # - attribute_Type - SOAP::SOAPString
1609
+ # - value - AdwordsApi::V200909::TargetingIdeaService::MonthlySearchVolume
1610
+ class MonthlySearchVolumeAttribute < Attribute
1611
+ attr_accessor :attribute_Type
1612
+ attr_accessor :value
1613
+
1614
+ def initialize(attribute_Type = nil, value = [])
1615
+ @attribute_Type = attribute_Type
1616
+ @value = value
1617
+ end
1618
+ end
1619
+
1620
+ # PlacementTypeAttribute
1621
+ # - attribute_Type - SOAP::SOAPString
1622
+ # - value - AdwordsApi::V200909::TargetingIdeaService::SiteConstantsPlacementType
1623
+ class PlacementTypeAttribute < Attribute
1624
+ attr_accessor :attribute_Type
1625
+ attr_accessor :value
1626
+
1627
+ def initialize(attribute_Type = nil, value = nil)
1628
+ @attribute_Type = attribute_Type
1629
+ @value = value
1630
+ end
1631
+ end
1632
+
1633
+ # StringAttribute
1634
+ # - attribute_Type - SOAP::SOAPString
1635
+ # - value - SOAP::SOAPString
1636
+ class StringAttribute < Attribute
1637
+ attr_accessor :attribute_Type
1638
+ attr_accessor :value
1639
+
1640
+ def initialize(attribute_Type = nil, value = nil)
1641
+ @attribute_Type = attribute_Type
1642
+ @value = value
1643
+ end
1644
+ end
1645
+
1646
+ # WebpageDescriptorAttribute
1647
+ # - attribute_Type - SOAP::SOAPString
1648
+ # - value - AdwordsApi::V200909::TargetingIdeaService::WebpageDescriptor
1649
+ class WebpageDescriptorAttribute < Attribute
1650
+ attr_accessor :attribute_Type
1651
+ attr_accessor :value
1652
+
1653
+ def initialize(attribute_Type = nil, value = nil)
1654
+ @attribute_Type = attribute_Type
1655
+ @value = value
1656
+ end
1657
+ end
1658
+
1659
+ # MoneyAttribute
1660
+ # - attribute_Type - SOAP::SOAPString
1661
+ # - value - AdwordsApi::V200909::TargetingIdeaService::Money
1662
+ class MoneyAttribute < Attribute
1663
+ attr_accessor :attribute_Type
1664
+ attr_accessor :value
1665
+
1666
+ def initialize(attribute_Type = nil, value = nil)
1667
+ @attribute_Type = attribute_Type
1668
+ @value = value
1669
+ end
1670
+ end
1671
+
1672
+ # LongRangeAttribute
1673
+ # - attribute_Type - SOAP::SOAPString
1674
+ # - value - AdwordsApi::V200909::TargetingIdeaService::C_Range
1675
+ class LongRangeAttribute < Attribute
1676
+ attr_accessor :attribute_Type
1677
+ attr_accessor :value
1678
+
1679
+ def initialize(attribute_Type = nil, value = nil)
1680
+ @attribute_Type = attribute_Type
1681
+ @value = value
1682
+ end
1683
+ end
1684
+
1685
+ # KeywordAttribute
1686
+ # - attribute_Type - SOAP::SOAPString
1687
+ # - value - AdwordsApi::V200909::TargetingIdeaService::Keyword
1688
+ class KeywordAttribute < Attribute
1689
+ attr_accessor :attribute_Type
1690
+ attr_accessor :value
1691
+
1692
+ def initialize(attribute_Type = nil, value = nil)
1693
+ @attribute_Type = attribute_Type
1694
+ @value = value
1695
+ end
1696
+ end
1697
+
1698
+ # PlacementAttribute
1699
+ # - attribute_Type - SOAP::SOAPString
1700
+ # - value - AdwordsApi::V200909::TargetingIdeaService::Placement
1701
+ class PlacementAttribute < Attribute
1702
+ attr_accessor :attribute_Type
1703
+ attr_accessor :value
1704
+
1705
+ def initialize(attribute_Type = nil, value = nil)
1706
+ @attribute_Type = attribute_Type
1707
+ @value = value
1708
+ end
1709
+ end
1710
+
1711
+ # Type_AttributeMapEntry
1712
+ # - key - AdwordsApi::V200909::TargetingIdeaService::AttributeType
1713
+ # - value - AdwordsApi::V200909::TargetingIdeaService::Attribute
1714
+ class Type_AttributeMapEntry
1715
+ attr_accessor :key
1716
+ attr_accessor :value
1717
+
1718
+ def initialize(key = nil, value = nil)
1719
+ @key = key
1720
+ @value = value
1721
+ end
1722
+ end
1723
+
1724
+ # TargetingIdea
1725
+ # - data - AdwordsApi::V200909::TargetingIdeaService::Type_AttributeMapEntry
1726
+ class TargetingIdea
1727
+ attr_accessor :data
1728
+
1729
+ def initialize(data = [])
1730
+ @data = data
1731
+ end
1732
+ end
1733
+
1734
+ # TargetingIdeaPage
1735
+ # - totalNumEntries - SOAP::SOAPInt
1736
+ # - entries - AdwordsApi::V200909::TargetingIdeaService::TargetingIdea
1737
+ class TargetingIdeaPage
1738
+ attr_accessor :totalNumEntries
1739
+ attr_accessor :entries
1740
+
1741
+ def initialize(totalNumEntries = nil, entries = [])
1742
+ @totalNumEntries = totalNumEntries
1743
+ @entries = entries
1744
+ end
1745
+ end
1746
+
1747
+ # AdGroupCriterionError.Reason
1748
+ class AdGroupCriterionErrorReason < ::String
1749
+ BID_INCOMPATIBLE_WITH_ADGROUP = AdGroupCriterionErrorReason.new("BID_INCOMPATIBLE_WITH_ADGROUP")
1750
+ CANNOT_TARGET_AND_EXCLUDE = AdGroupCriterionErrorReason.new("CANNOT_TARGET_AND_EXCLUDE")
1751
+ CANT_UPDATE_NEGATIVE = AdGroupCriterionErrorReason.new("CANT_UPDATE_NEGATIVE")
1752
+ CONCRETE_TYPE_REQUIRED = AdGroupCriterionErrorReason.new("CONCRETE_TYPE_REQUIRED")
1753
+ CRITERION_NOT_TARGETED = AdGroupCriterionErrorReason.new("CRITERION_NOT_TARGETED")
1754
+ CURRENCY_MISMATCH = AdGroupCriterionErrorReason.new("CURRENCY_MISMATCH")
1755
+ ID_FILTERS_HAVE_DIFF_FIELDS_SET = AdGroupCriterionErrorReason.new("ID_FILTERS_HAVE_DIFF_FIELDS_SET")
1756
+ ILLEGAL_URL = AdGroupCriterionErrorReason.new("ILLEGAL_URL")
1757
+ INAPPLICABLE_FILTER_SPECIFIED = AdGroupCriterionErrorReason.new("INAPPLICABLE_FILTER_SPECIFIED")
1758
+ INVALID_DESTINATION_URL = AdGroupCriterionErrorReason.new("INVALID_DESTINATION_URL")
1759
+ INVALID_ID_FILTER_TYPE = AdGroupCriterionErrorReason.new("INVALID_ID_FILTER_TYPE")
1760
+ INVALID_KEYWORD_TEXT = AdGroupCriterionErrorReason.new("INVALID_KEYWORD_TEXT")
1761
+ INVALID_USER_STATUS = AdGroupCriterionErrorReason.new("INVALID_USER_STATUS")
1762
+ KEYWORD_LEVEL_BID_NOT_SUPPORTED_FOR_MANUALCPM = AdGroupCriterionErrorReason.new("KEYWORD_LEVEL_BID_NOT_SUPPORTED_FOR_MANUALCPM")
1763
+ NETWORK_NOT_OVERRIDABLE = AdGroupCriterionErrorReason.new("NETWORK_NOT_OVERRIDABLE")
1764
+ NO_EFFECTIVE_BID_FOR_THIS_CRITERION = AdGroupCriterionErrorReason.new("NO_EFFECTIVE_BID_FOR_THIS_CRITERION")
1765
+ TOO_MANY_OPERTAIONS = AdGroupCriterionErrorReason.new("TOO_MANY_OPERTAIONS")
1766
+ TYPE_MISMATCH = AdGroupCriterionErrorReason.new("TYPE_MISMATCH")
1767
+ end
1768
+
1769
+ # AdGroupCriterionLimitExceeded.CriteriaLimitType
1770
+ class AdGroupCriterionLimitExceededCriteriaLimitType < ::String
1771
+ ADGROUP_KEYWORD = AdGroupCriterionLimitExceededCriteriaLimitType.new("ADGROUP_KEYWORD")
1772
+ ADGROUP_WEBSITE = AdGroupCriterionLimitExceededCriteriaLimitType.new("ADGROUP_WEBSITE")
1773
+ end
1774
+
1775
+ # AgeTarget.Age
1776
+ class AgeTargetAge < ::String
1777
+ AGE_0_17 = AgeTargetAge.new("AGE_0_17")
1778
+ AGE_18_24 = AgeTargetAge.new("AGE_18_24")
1779
+ AGE_25_34 = AgeTargetAge.new("AGE_25_34")
1780
+ AGE_35_44 = AgeTargetAge.new("AGE_35_44")
1781
+ AGE_45_54 = AgeTargetAge.new("AGE_45_54")
1782
+ AGE_55_64 = AgeTargetAge.new("AGE_55_64")
1783
+ AGE_65_PLUS = AgeTargetAge.new("AGE_65_PLUS")
1784
+ end
1785
+
1786
+ # AuthenticationError.Reason
1787
+ class AuthenticationErrorReason < ::String
1788
+ AUTHENTICATION_FAILED = AuthenticationErrorReason.new("AUTHENTICATION_FAILED")
1789
+ CLIENT_CUSTOMER_ID_INVALID = AuthenticationErrorReason.new("CLIENT_CUSTOMER_ID_INVALID")
1790
+ CLIENT_CUSTOMER_ID_IS_REQUIRED = AuthenticationErrorReason.new("CLIENT_CUSTOMER_ID_IS_REQUIRED")
1791
+ CLIENT_EMAIL_FAILED_TO_AUTHENTICATE = AuthenticationErrorReason.new("CLIENT_EMAIL_FAILED_TO_AUTHENTICATE")
1792
+ CLIENT_EMAIL_INVALID = AuthenticationErrorReason.new("CLIENT_EMAIL_INVALID")
1793
+ CLIENT_EMAIL_REQUIRED = AuthenticationErrorReason.new("CLIENT_EMAIL_REQUIRED")
1794
+ CUSTOMER_NOT_FOUND = AuthenticationErrorReason.new("CUSTOMER_NOT_FOUND")
1795
+ FAILED_TO_AUTHENTICATE_GOOGLE_ACCOUNT = AuthenticationErrorReason.new("FAILED_TO_AUTHENTICATE_GOOGLE_ACCOUNT")
1796
+ FAILED_TO_RETRIEVE_LOGIN_COOKIE = AuthenticationErrorReason.new("FAILED_TO_RETRIEVE_LOGIN_COOKIE")
1797
+ GOOGLE_ACCOUNT_COOKIE_INVALID = AuthenticationErrorReason.new("GOOGLE_ACCOUNT_COOKIE_INVALID")
1798
+ GOOGLE_ACCOUNT_DELETED = AuthenticationErrorReason.new("GOOGLE_ACCOUNT_DELETED")
1799
+ GOOGLE_ACCOUNT_USER_AND_ADS_USER_MISMATCH = AuthenticationErrorReason.new("GOOGLE_ACCOUNT_USER_AND_ADS_USER_MISMATCH")
1800
+ LOGIN_COOKIE_INVALID = AuthenticationErrorReason.new("LOGIN_COOKIE_INVALID")
1801
+ LOGIN_COOKIE_REQUIRED = AuthenticationErrorReason.new("LOGIN_COOKIE_REQUIRED")
1802
+ NOT_ADS_USER = AuthenticationErrorReason.new("NOT_ADS_USER")
1803
+ OAUTH_TOKEN_DISABLED = AuthenticationErrorReason.new("OAUTH_TOKEN_DISABLED")
1804
+ OAUTH_TOKEN_EXPIRED = AuthenticationErrorReason.new("OAUTH_TOKEN_EXPIRED")
1805
+ OAUTH_TOKEN_HEADER_INVALID = AuthenticationErrorReason.new("OAUTH_TOKEN_HEADER_INVALID")
1806
+ OAUTH_TOKEN_INVALID = AuthenticationErrorReason.new("OAUTH_TOKEN_INVALID")
1807
+ OAUTH_TOKEN_REVOKED = AuthenticationErrorReason.new("OAUTH_TOKEN_REVOKED")
1808
+ USER_ID_INVALID = AuthenticationErrorReason.new("USER_ID_INVALID")
1809
+ end
1810
+
1811
+ # AuthorizationError.Reason
1812
+ class AuthorizationErrorReason < ::String
1813
+ EFFECTIVE_USER_PERMISSION_DENIED = AuthorizationErrorReason.new("EFFECTIVE_USER_PERMISSION_DENIED")
1814
+ NO_ADWORDS_ACCOUNT_FOR_CUSTOMER = AuthorizationErrorReason.new("NO_ADWORDS_ACCOUNT_FOR_CUSTOMER")
1815
+ NO_CUSTOMER_FOUND = AuthorizationErrorReason.new("NO_CUSTOMER_FOUND")
1816
+ UNABLE_TO_AUTHORIZE = AuthorizationErrorReason.new("UNABLE_TO_AUTHORIZE")
1817
+ USER_HAS_READONLY_PERMISSION = AuthorizationErrorReason.new("USER_HAS_READONLY_PERMISSION")
1818
+ USER_PERMISSION_DENIED = AuthorizationErrorReason.new("USER_PERMISSION_DENIED")
1819
+ end
1820
+
1821
+ # BiddingError.Reason
1822
+ class BiddingErrorReason < ::String
1823
+ ADGROUPS_DO_NOT_MATCH_CONSTRAINT = BiddingErrorReason.new("ADGROUPS_DO_NOT_MATCH_CONSTRAINT")
1824
+ AUCTION_STRATEGY_INCOMPATIBLE_WITH_PROXY_BIDDER = BiddingErrorReason.new("AUCTION_STRATEGY_INCOMPATIBLE_WITH_PROXY_BIDDER")
1825
+ BAD_BID_COMBINATION = BiddingErrorReason.new("BAD_BID_COMBINATION")
1826
+ BIDS_DO_NOT_FULFILL_SPEC = BiddingErrorReason.new("BIDS_DO_NOT_FULFILL_SPEC")
1827
+ BID_AMOUNT_REQUIRED = BiddingErrorReason.new("BID_AMOUNT_REQUIRED")
1828
+ BID_INCOMPATIBLE_WITH_ADGROUP = BiddingErrorReason.new("BID_INCOMPATIBLE_WITH_ADGROUP")
1829
+ BID_TOO_BIG = BiddingErrorReason.new("BID_TOO_BIG")
1830
+ BID_TOO_HIGH_FOR_DAILY_BUDGET = BiddingErrorReason.new("BID_TOO_HIGH_FOR_DAILY_BUDGET")
1831
+ BID_TOO_HIGH_FOR_MONTHLY_BUDGET = BiddingErrorReason.new("BID_TOO_HIGH_FOR_MONTHLY_BUDGET")
1832
+ BID_TOO_MANY_FRACTIONAL_DIGITS = BiddingErrorReason.new("BID_TOO_MANY_FRACTIONAL_DIGITS")
1833
+ BID_TOO_SMALL = BiddingErrorReason.new("BID_TOO_SMALL")
1834
+ BID_TO_POSITION_NOT_ENABLED = BiddingErrorReason.new("BID_TO_POSITION_NOT_ENABLED")
1835
+ BID_UNIVERSAL_CRITERIA_EXPECTED = BiddingErrorReason.new("BID_UNIVERSAL_CRITERIA_EXPECTED")
1836
+ BOTTOM_POSITION_OUT_OF_RANGE = BiddingErrorReason.new("BOTTOM_POSITION_OUT_OF_RANGE")
1837
+ CAMPAIGN_ALREADY_SET = BiddingErrorReason.new("CAMPAIGN_ALREADY_SET")
1838
+ CAMPAIGN_MUST_HAVE_A_BUDGET_TO_ENABLE_BUDGET_OPTIMIZER = BiddingErrorReason.new("CAMPAIGN_MUST_HAVE_A_BUDGET_TO_ENABLE_BUDGET_OPTIMIZER")
1839
+ CANNOT_CREATE_CAMPAIGN_WITH_CONVERSION_OPTIMIZER = BiddingErrorReason.new("CANNOT_CREATE_CAMPAIGN_WITH_CONVERSION_OPTIMIZER")
1840
+ CANNOT_EXCLUDE_DEFAULT = BiddingErrorReason.new("CANNOT_EXCLUDE_DEFAULT")
1841
+ CANNOT_SET_CONTENT_BID_WITHOUT_SETTING_KEYWORD_MAX_CPC_AS_WELL = BiddingErrorReason.new("CANNOT_SET_CONTENT_BID_WITHOUT_SETTING_KEYWORD_MAX_CPC_AS_WELL")
1842
+ CANNOT_TARGET_AND_EXCLUDE = BiddingErrorReason.new("CANNOT_TARGET_AND_EXCLUDE")
1843
+ CANNOT_TARGET_UNIVERSE = BiddingErrorReason.new("CANNOT_TARGET_UNIVERSE")
1844
+ CANNOT_UPDATE_SITE_BIDS_WHILE_PROXY_BIDDING = BiddingErrorReason.new("CANNOT_UPDATE_SITE_BIDS_WHILE_PROXY_BIDDING")
1845
+ CRITERION_NOT_TARGETED = BiddingErrorReason.new("CRITERION_NOT_TARGETED")
1846
+ CURRENCY_MISMATCH = BiddingErrorReason.new("CURRENCY_MISMATCH")
1847
+ GOAL_DOES_NOT_FULFILL_SPEC = BiddingErrorReason.new("GOAL_DOES_NOT_FULFILL_SPEC")
1848
+ GOAL_VALIDATION_FAILED = BiddingErrorReason.new("GOAL_VALIDATION_FAILED")
1849
+ ILLEGAL_URL = BiddingErrorReason.new("ILLEGAL_URL")
1850
+ MUST_EXCLUDE_0_TO_17_WITH_OTHER_AGE_EXCLUSIONS = BiddingErrorReason.new("MUST_EXCLUDE_0_TO_17_WITH_OTHER_AGE_EXCLUSIONS")
1851
+ NETWORK_NOT_OVERRIDEABLE = BiddingErrorReason.new("NETWORK_NOT_OVERRIDEABLE")
1852
+ NETWORK_SETTINGS_DO_NOT_SUPPORT_TRANSITION = BiddingErrorReason.new("NETWORK_SETTINGS_DO_NOT_SUPPORT_TRANSITION")
1853
+ NON_POSITIVE_BID = BiddingErrorReason.new("NON_POSITIVE_BID")
1854
+ NO_DESTINATION_URL_SPECIFIED = BiddingErrorReason.new("NO_DESTINATION_URL_SPECIFIED")
1855
+ NO_EFFECTIVE_BID = BiddingErrorReason.new("NO_EFFECTIVE_BID")
1856
+ PAY_PER_CONVERSION_NOT_AVAILABLE_FOR_CUSTOMER = BiddingErrorReason.new("PAY_PER_CONVERSION_NOT_AVAILABLE_FOR_CUSTOMER")
1857
+ POSITION_PREFERENCE_NOT_ENABLED = BiddingErrorReason.new("POSITION_PREFERENCE_NOT_ENABLED")
1858
+ POSITION_PREFERENCE_NOT_SUPPORTED_FOR_CRITERIA_TYPE = BiddingErrorReason.new("POSITION_PREFERENCE_NOT_SUPPORTED_FOR_CRITERIA_TYPE")
1859
+ PREFERRED_POSITION_CANNOT_BE_HIGHER_THAN_BOTTOM = BiddingErrorReason.new("PREFERRED_POSITION_CANNOT_BE_HIGHER_THAN_BOTTOM")
1860
+ PREFERRED_POSITION_OUT_OF_RANGE = BiddingErrorReason.new("PREFERRED_POSITION_OUT_OF_RANGE")
1861
+ PROXY_BIDDER_STRATEGY_INCOMPATIBLE_WITH_STYLE = BiddingErrorReason.new("PROXY_BIDDER_STRATEGY_INCOMPATIBLE_WITH_STYLE")
1862
+ PROXY_NOT_ENABLED = BiddingErrorReason.new("PROXY_NOT_ENABLED")
1863
+ TRANSITION_DOES_NOT_SUPPORT_GOAL = BiddingErrorReason.new("TRANSITION_DOES_NOT_SUPPORT_GOAL")
1864
+ TRANSITION_DOES_NOT_SUPPORT_OPTION = BiddingErrorReason.new("TRANSITION_DOES_NOT_SUPPORT_OPTION")
1865
+ UNSUPPORTED_PROXY_BIDDER_STRATEGY_TRANSITION = BiddingErrorReason.new("UNSUPPORTED_PROXY_BIDDER_STRATEGY_TRANSITION")
1866
+ UNSUPPORTED_STYLE = BiddingErrorReason.new("UNSUPPORTED_STYLE")
1867
+ UNSUPPORTED_STYLE_TRANSITION = BiddingErrorReason.new("UNSUPPORTED_STYLE_TRANSITION")
1868
+ end
1869
+
1870
+ # BudgetError.Reason
1871
+ class BudgetErrorReason < ::String
1872
+ INVALID_BUDGET_SCHEDULE = BudgetErrorReason.new("INVALID_BUDGET_SCHEDULE")
1873
+ MONEY_AMOUNT_IN_WRONG_CURRENCY = BudgetErrorReason.new("MONEY_AMOUNT_IN_WRONG_CURRENCY")
1874
+ MONEY_AMOUNT_LESS_THAN_CURRENCY_MINIMUM_CPC = BudgetErrorReason.new("MONEY_AMOUNT_LESS_THAN_CURRENCY_MINIMUM_CPC")
1875
+ MONEY_AMOUNT_LESS_THAN_MAXIMUM_AD_GROUP_CPM = BudgetErrorReason.new("MONEY_AMOUNT_LESS_THAN_MAXIMUM_AD_GROUP_CPM")
1876
+ MONEY_AMOUNT_LESS_THAN_MAXIMUM_SITE_CPM = BudgetErrorReason.new("MONEY_AMOUNT_LESS_THAN_MAXIMUM_SITE_CPM")
1877
+ MONEY_AMOUNT_LESS_THAN_MINIMUM_AD_GROUP_CPC = BudgetErrorReason.new("MONEY_AMOUNT_LESS_THAN_MINIMUM_AD_GROUP_CPC")
1878
+ MONEY_AMOUNT_LESS_THAN_MINIMUM_CRITERIA_CPC = BudgetErrorReason.new("MONEY_AMOUNT_LESS_THAN_MINIMUM_CRITERIA_CPC")
1879
+ MONEY_AMOUNT_TOO_LARGE = BudgetErrorReason.new("MONEY_AMOUNT_TOO_LARGE")
1880
+ NEGATIVE_MONEY_AMOUNT = BudgetErrorReason.new("NEGATIVE_MONEY_AMOUNT")
1881
+ NON_MULTIPLE_OF_MINIMUM_CURRENCY_UNIT = BudgetErrorReason.new("NON_MULTIPLE_OF_MINIMUM_CURRENCY_UNIT")
1882
+ end
1883
+
1884
+ # ClientTermsError.Reason
1885
+ class ClientTermsErrorReason < ::String
1886
+ INCOMPLETE_SIGNUP_CURRENT_ADWORDS_TNC_NOT_AGREED = ClientTermsErrorReason.new("INCOMPLETE_SIGNUP_CURRENT_ADWORDS_TNC_NOT_AGREED")
1887
+ end
1888
+
1889
+ # DatabaseError.Reason
1890
+ class DatabaseErrorReason < ::String
1891
+ CAMPAIGN_PRODUCT_NOT_SUPPORTED = DatabaseErrorReason.new("CAMPAIGN_PRODUCT_NOT_SUPPORTED")
1892
+ CONCURRENT_MODIFICATION = DatabaseErrorReason.new("CONCURRENT_MODIFICATION")
1893
+ PERMISSION_DENIED = DatabaseErrorReason.new("PERMISSION_DENIED")
1894
+ end
1895
+
1896
+ # DateError.Reason
1897
+ class DateErrorReason < ::String
1898
+ DATE_RANGE_MINIMUM_AND_MAXIMUM_DATES_BOTH_NULL = DateErrorReason.new("DATE_RANGE_MINIMUM_AND_MAXIMUM_DATES_BOTH_NULL")
1899
+ DATE_RANGE_MINIMUM_DATE_LATER_THAN_MAXIMUM_DATE = DateErrorReason.new("DATE_RANGE_MINIMUM_DATE_LATER_THAN_MAXIMUM_DATE")
1900
+ EARLIER_THAN_MINIMUM_DATE = DateErrorReason.new("EARLIER_THAN_MINIMUM_DATE")
1901
+ INVALID_FIELD_VALUES_IN_DATE = DateErrorReason.new("INVALID_FIELD_VALUES_IN_DATE")
1902
+ INVALID_STRING_DATE = DateErrorReason.new("INVALID_STRING_DATE")
1903
+ INVALID_STRING_DATE_RANGE = DateErrorReason.new("INVALID_STRING_DATE_RANGE")
1904
+ INVALID_STRING_DATE_TIME = DateErrorReason.new("INVALID_STRING_DATE_TIME")
1905
+ LATER_THAN_MAXIMUM_DATE = DateErrorReason.new("LATER_THAN_MAXIMUM_DATE")
1906
+ end
1907
+
1908
+ # DayOfWeek
1909
+ class DayOfWeek < ::String
1910
+ FRIDAY = DayOfWeek.new("FRIDAY")
1911
+ MONDAY = DayOfWeek.new("MONDAY")
1912
+ SATURDAY = DayOfWeek.new("SATURDAY")
1913
+ SUNDAY = DayOfWeek.new("SUNDAY")
1914
+ THURSDAY = DayOfWeek.new("THURSDAY")
1915
+ TUESDAY = DayOfWeek.new("TUESDAY")
1916
+ WEDNESDAY = DayOfWeek.new("WEDNESDAY")
1917
+ end
1918
+
1919
+ # DistinctError.Reason
1920
+ class DistinctErrorReason < ::String
1921
+ DUPLICATE_ELEMENT = DistinctErrorReason.new("DUPLICATE_ELEMENT")
1922
+ end
1923
+
1924
+ # EntityCountLimitExceeded.Reason
1925
+ class EntityCountLimitExceededReason < ::String
1926
+ ACCOUNT_LIMIT = EntityCountLimitExceededReason.new("ACCOUNT_LIMIT")
1927
+ ADGROUP_LIMIT = EntityCountLimitExceededReason.new("ADGROUP_LIMIT")
1928
+ CAMPAIGN_LIMIT = EntityCountLimitExceededReason.new("CAMPAIGN_LIMIT")
1929
+ end
1930
+
1931
+ # EntityNotFound.Reason
1932
+ class EntityNotFoundReason < ::String
1933
+ INVALID_ID = EntityNotFoundReason.new("INVALID_ID")
1934
+ end
1935
+
1936
+ # GenderTarget.Gender
1937
+ class GenderTargetGender < ::String
1938
+ FEMALE = GenderTargetGender.new("FEMALE")
1939
+ MALE = GenderTargetGender.new("MALE")
1940
+ end
1941
+
1942
+ # InternalApiError.Reason
1943
+ class InternalApiErrorReason < ::String
1944
+ UNEXPECTED_INTERNAL_API_ERROR = InternalApiErrorReason.new("UNEXPECTED_INTERNAL_API_ERROR")
1945
+ end
1946
+
1947
+ # KeywordMatchType
1948
+ class KeywordMatchType < ::String
1949
+ BROAD = KeywordMatchType.new("BROAD")
1950
+ EXACT = KeywordMatchType.new("EXACT")
1951
+ PHRASE = KeywordMatchType.new("PHRASE")
1952
+ end
1953
+
1954
+ # MinuteOfHour
1955
+ class MinuteOfHour < ::String
1956
+ FIFTEEN = MinuteOfHour.new("FIFTEEN")
1957
+ FORTY_FIVE = MinuteOfHour.new("FORTY_FIVE")
1958
+ THIRTY = MinuteOfHour.new("THIRTY")
1959
+ ZERO = MinuteOfHour.new("ZERO")
1960
+ end
1961
+
1962
+ # NetworkCoverageType
1963
+ class NetworkCoverageType < ::String
1964
+ CONTENT_CONTEXTUAL = NetworkCoverageType.new("CONTENT_CONTEXTUAL")
1965
+ CONTENT_NETWORK = NetworkCoverageType.new("CONTENT_NETWORK")
1966
+ CPA_REFERRAL = NetworkCoverageType.new("CPA_REFERRAL")
1967
+ GOOGLE_SEARCH = NetworkCoverageType.new("GOOGLE_SEARCH")
1968
+ SEARCH_NETWORK = NetworkCoverageType.new("SEARCH_NETWORK")
1969
+ end
1970
+
1971
+ # NotEmptyError.Reason
1972
+ class NotEmptyErrorReason < ::String
1973
+ EMPTY_LIST = NotEmptyErrorReason.new("EMPTY_LIST")
1974
+ end
1975
+
1976
+ # NotWhitelistedError.Reason
1977
+ class NotWhitelistedErrorReason < ::String
1978
+ CUSTOMER_NOT_WHITELISTED_FOR_API = NotWhitelistedErrorReason.new("CUSTOMER_NOT_WHITELISTED_FOR_API")
1979
+ end
1980
+
1981
+ # NullError.Reason
1982
+ class NullErrorReason < ::String
1983
+ NULL_CONTENT = NullErrorReason.new("NULL_CONTENT")
1984
+ end
1985
+
1986
+ # PlatformType
1987
+ class PlatformType < ::String
1988
+ DESKTOP = PlatformType.new("DESKTOP")
1989
+ HIGH_END_MOBILE = PlatformType.new("HIGH_END_MOBILE")
1990
+ end
1991
+
1992
+ # ProximityTarget.DistanceUnits
1993
+ class ProximityTargetDistanceUnits < ::String
1994
+ KILOMETERS = ProximityTargetDistanceUnits.new("KILOMETERS")
1995
+ MILES = ProximityTargetDistanceUnits.new("MILES")
1996
+ end
1997
+
1998
+ # QuotaCheckError.Reason
1999
+ class QuotaCheckErrorReason < ::String
2000
+ ACCOUNT_DELINQUENT = QuotaCheckErrorReason.new("ACCOUNT_DELINQUENT")
2001
+ ACCOUNT_INACCESSIBLE = QuotaCheckErrorReason.new("ACCOUNT_INACCESSIBLE")
2002
+ ACCOUNT_INACTIVE = QuotaCheckErrorReason.new("ACCOUNT_INACTIVE")
2003
+ INCOMPLETE_SIGNUP = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP")
2004
+ INCOMPLETE_SIGNUP_APP_INFO_MISSING = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP_APP_INFO_MISSING")
2005
+ INCOMPLETE_SIGNUP_APP_INFO_PENDING = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP_APP_INFO_PENDING")
2006
+ INCOMPLETE_SIGNUP_APP_INFO_REJECTED = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP_APP_INFO_REJECTED")
2007
+ INCOMPLETE_SIGNUP_LATEST_NETAPI_TNC_NOT_AGREED = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP_LATEST_NETAPI_TNC_NOT_AGREED")
2008
+ INCOMPLETE_SIGNUP_NO_BILLING_INFO = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP_NO_BILLING_INFO")
2009
+ INCOMPLETE_SIGNUP_USER_INFO_MISSING = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP_USER_INFO_MISSING")
2010
+ INCOMPLETE_SIGNUP_USER_INFO_PENDING = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP_USER_INFO_PENDING")
2011
+ INCOMPLETE_SIGNUP_USER_INFO_REJECTED = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP_USER_INFO_REJECTED")
2012
+ INVALID_TOKEN_HEADER = QuotaCheckErrorReason.new("INVALID_TOKEN_HEADER")
2013
+ MONTHLY_BUDGET_REACHED = QuotaCheckErrorReason.new("MONTHLY_BUDGET_REACHED")
2014
+ QUOTA_EXCEEDED = QuotaCheckErrorReason.new("QUOTA_EXCEEDED")
2015
+ end
2016
+
2017
+ # QuotaExceededError.Reason
2018
+ class QuotaExceededErrorReason < ::String
2019
+ QUOTA_EXCEEDED = QuotaExceededErrorReason.new("QUOTA_EXCEEDED")
2020
+ end
2021
+
2022
+ # RangeError.Reason
2023
+ class RangeErrorReason < ::String
2024
+ TOO_HIGH = RangeErrorReason.new("TOO_HIGH")
2025
+ TOO_LOW = RangeErrorReason.new("TOO_LOW")
2026
+ end
2027
+
2028
+ # ReadOnlyError.Reason
2029
+ class ReadOnlyErrorReason < ::String
2030
+ READ_ONLY = ReadOnlyErrorReason.new("READ_ONLY")
2031
+ end
2032
+
2033
+ # RegionCodeError.Reason
2034
+ class RegionCodeErrorReason < ::String
2035
+ INVALID_REGION_CODE = RegionCodeErrorReason.new("INVALID_REGION_CODE")
2036
+ end
2037
+
2038
+ # RequiredError.Reason
2039
+ class RequiredErrorReason < ::String
2040
+ REQUIRED = RequiredErrorReason.new("REQUIRED")
2041
+ end
2042
+
2043
+ # SizeLimitError.Reason
2044
+ class SizeLimitErrorReason < ::String
2045
+ REQUEST_SIZE_LIMIT_EXCEEDED = SizeLimitErrorReason.new("REQUEST_SIZE_LIMIT_EXCEEDED")
2046
+ RESPONSE_SIZE_LIMIT_EXCEEDED = SizeLimitErrorReason.new("RESPONSE_SIZE_LIMIT_EXCEEDED")
2047
+ end
2048
+
2049
+ # StatsQueryError.Reason
2050
+ class StatsQueryErrorReason < ::String
2051
+ DATE_NOT_IN_VALID_RANGE = StatsQueryErrorReason.new("DATE_NOT_IN_VALID_RANGE")
2052
+ end
2053
+
2054
+ # StringLengthError.Reason
2055
+ class StringLengthErrorReason < ::String
2056
+ TOO_LONG = StringLengthErrorReason.new("TOO_LONG")
2057
+ TOO_SHORT = StringLengthErrorReason.new("TOO_SHORT")
2058
+ end
2059
+
2060
+ # TargetError.Reason
2061
+ class TargetErrorReason < ::String
2062
+ AD_SCHEDULE_ADVANCED_INCOMPATIBLE_WITH_CONVERSION_OPTIMIZER = TargetErrorReason.new("AD_SCHEDULE_ADVANCED_INCOMPATIBLE_WITH_CONVERSION_OPTIMIZER")
2063
+ AD_SCHEDULE_BID_MULTIPLIER_MALFORMED = TargetErrorReason.new("AD_SCHEDULE_BID_MULTIPLIER_MALFORMED")
2064
+ AD_SCHEDULE_BID_MULTIPLIER_TOO_BIG = TargetErrorReason.new("AD_SCHEDULE_BID_MULTIPLIER_TOO_BIG")
2065
+ AD_SCHEDULE_BID_MULTIPLIER_TOO_MANY_FRACTION_DIGITS = TargetErrorReason.new("AD_SCHEDULE_BID_MULTIPLIER_TOO_MANY_FRACTION_DIGITS")
2066
+ AD_SCHEDULE_BID_MULTIPLIER_TOO_SMALL = TargetErrorReason.new("AD_SCHEDULE_BID_MULTIPLIER_TOO_SMALL")
2067
+ AD_SCHEDULE_EXCEEDED_INTERVALS_PER_DAY_LIMIT = TargetErrorReason.new("AD_SCHEDULE_EXCEEDED_INTERVALS_PER_DAY_LIMIT")
2068
+ AD_SCHEDULE_EXCEEDS_PAST_END_OF_WEEK = TargetErrorReason.new("AD_SCHEDULE_EXCEEDS_PAST_END_OF_WEEK")
2069
+ AD_SCHEDULE_INCOMPATIBILITY = TargetErrorReason.new("AD_SCHEDULE_INCOMPATIBILITY")
2070
+ AD_SCHEDULE_INCOMPATIBLE_WITH_BUDGET_OPTIMIZER = TargetErrorReason.new("AD_SCHEDULE_INCOMPATIBLE_WITH_BUDGET_OPTIMIZER")
2071
+ AD_SCHEDULE_INTERVAL_CANNOT_SPAN_MULTIPLE_DAYS = TargetErrorReason.new("AD_SCHEDULE_INTERVAL_CANNOT_SPAN_MULTIPLE_DAYS")
2072
+ AD_SCHEDULE_INVALID_DAY_OF_THE_WEEK = TargetErrorReason.new("AD_SCHEDULE_INVALID_DAY_OF_THE_WEEK")
2073
+ AD_SCHEDULE_INVALID_TIME_INTERVAL = TargetErrorReason.new("AD_SCHEDULE_INVALID_TIME_INTERVAL")
2074
+ AD_SCHEDULE_NOT_MULTIPLE_OF_15_MINUTES = TargetErrorReason.new("AD_SCHEDULE_NOT_MULTIPLE_OF_15_MINUTES")
2075
+ AD_SCHEDULE_NO_INTERVALS_WHILE_ENABLED = TargetErrorReason.new("AD_SCHEDULE_NO_INTERVALS_WHILE_ENABLED")
2076
+ AD_SCHEDULE_TIME_INTERVALS_OVERLAP = TargetErrorReason.new("AD_SCHEDULE_TIME_INTERVALS_OVERLAP")
2077
+ CANNOT_EXCLUDE_CITY = TargetErrorReason.new("CANNOT_EXCLUDE_CITY")
2078
+ CANNOT_EXCLUDE_IF_NOT_TARGETED = TargetErrorReason.new("CANNOT_EXCLUDE_IF_NOT_TARGETED")
2079
+ CANNOT_EXCLUDE_METRO = TargetErrorReason.new("CANNOT_EXCLUDE_METRO")
2080
+ CANNOT_EXCLUDE_PROVINCE = TargetErrorReason.new("CANNOT_EXCLUDE_PROVINCE")
2081
+ CANNOT_OPT_OUT_GOOGLE_SEARCH_WHILE_BID_TO_POSITION_ENABLE = TargetErrorReason.new("CANNOT_OPT_OUT_GOOGLE_SEARCH_WHILE_BID_TO_POSITION_ENABLE")
2082
+ CANNOT_TARGET_AGE_WITHOUT_GENDER = TargetErrorReason.new("CANNOT_TARGET_AGE_WITHOUT_GENDER")
2083
+ CANNOT_TARGET_CITY = TargetErrorReason.new("CANNOT_TARGET_CITY")
2084
+ CANNOT_TARGET_COUNTRY = TargetErrorReason.new("CANNOT_TARGET_COUNTRY")
2085
+ CANNOT_TARGET_COVERAGE = TargetErrorReason.new("CANNOT_TARGET_COVERAGE")
2086
+ CANNOT_TARGET_GENDER_WITHOUT_AGE = TargetErrorReason.new("CANNOT_TARGET_GENDER_WITHOUT_AGE")
2087
+ CANNOT_TARGET_GOOGLE_SEARCH_FOR_CPM_CAMPAIGN = TargetErrorReason.new("CANNOT_TARGET_GOOGLE_SEARCH_FOR_CPM_CAMPAIGN")
2088
+ CANNOT_TARGET_LANGUAGE = TargetErrorReason.new("CANNOT_TARGET_LANGUAGE")
2089
+ CANNOT_TARGET_METRO = TargetErrorReason.new("CANNOT_TARGET_METRO")
2090
+ CANNOT_TARGET_PROVINCE = TargetErrorReason.new("CANNOT_TARGET_PROVINCE")
2091
+ CANNOT_TARGET_SEARCH_SYNDICATION_WITHOUT_GOOGLE_SEARCH = TargetErrorReason.new("CANNOT_TARGET_SEARCH_SYNDICATION_WITHOUT_GOOGLE_SEARCH")
2092
+ CANNOT_TARGET_SYNDICATABLE_TYPES = TargetErrorReason.new("CANNOT_TARGET_SYNDICATABLE_TYPES")
2093
+ DEMOGRAPHIC_BID_MODIFIER_SHOULD_BE_IN_BETWEEN_0_AND_500 = TargetErrorReason.new("DEMOGRAPHIC_BID_MODIFIER_SHOULD_BE_IN_BETWEEN_0_AND_500")
2094
+ INVALID_CITYNAME_LENGTH = TargetErrorReason.new("INVALID_CITYNAME_LENGTH")
2095
+ INVALID_CITY_CODE = TargetErrorReason.new("INVALID_CITY_CODE")
2096
+ INVALID_LANGUAGE_CODE = TargetErrorReason.new("INVALID_LANGUAGE_CODE")
2097
+ INVALID_LATITUDE = TargetErrorReason.new("INVALID_LATITUDE")
2098
+ INVALID_LONGITUDE = TargetErrorReason.new("INVALID_LONGITUDE")
2099
+ INVALID_METRO_CODE = TargetErrorReason.new("INVALID_METRO_CODE")
2100
+ INVALID_POSTALCODE_LENGTH = TargetErrorReason.new("INVALID_POSTALCODE_LENGTH")
2101
+ INVALID_PROVINCE_CODE = TargetErrorReason.new("INVALID_PROVINCE_CODE")
2102
+ INVALID_PROXIMITY_RADIUS = TargetErrorReason.new("INVALID_PROXIMITY_RADIUS")
2103
+ INVALID_REGIONCODE_LENGTH = TargetErrorReason.new("INVALID_REGIONCODE_LENGTH")
2104
+ INVALID_REGIONNAME_LENGTH = TargetErrorReason.new("INVALID_REGIONNAME_LENGTH")
2105
+ INVALID_STREETADDRESS_LENGTH = TargetErrorReason.new("INVALID_STREETADDRESS_LENGTH")
2106
+ MULTIPLE_OCCURRENCES_OF_SAME_TARGET = TargetErrorReason.new("MULTIPLE_OCCURRENCES_OF_SAME_TARGET")
2107
+ POLYGON_DUPLICATE_VERTICES = TargetErrorReason.new("POLYGON_DUPLICATE_VERTICES")
2108
+ POLYGON_EDGES_INTERSECT = TargetErrorReason.new("POLYGON_EDGES_INTERSECT")
2109
+ POLYGON_TOO_FEW_VERTICES = TargetErrorReason.new("POLYGON_TOO_FEW_VERTICES")
2110
+ POLYGON_TOO_LARGE = TargetErrorReason.new("POLYGON_TOO_LARGE")
2111
+ TARGETING_CROSS_COUNTRY_REGIONAL = TargetErrorReason.new("TARGETING_CROSS_COUNTRY_REGIONAL")
2112
+ TARGETING_EXCLUSION_NOT_SUPPORTED = TargetErrorReason.new("TARGETING_EXCLUSION_NOT_SUPPORTED")
2113
+ TARGETING_INCOMPATIBLE_LOCATION_TYPES = TargetErrorReason.new("TARGETING_INCOMPATIBLE_LOCATION_TYPES")
2114
+ TARGETING_NOT_SUPPORTED = TargetErrorReason.new("TARGETING_NOT_SUPPORTED")
2115
+ TARGETING_TOO_MANY_REGIONS = TargetErrorReason.new("TARGETING_TOO_MANY_REGIONS")
2116
+ TARGETING_VALIDATION_FAILED = TargetErrorReason.new("TARGETING_VALIDATION_FAILED")
2117
+ TARGET_IS_ENCLOSED_BY_ANOTHER_TARGET = TargetErrorReason.new("TARGET_IS_ENCLOSED_BY_ANOTHER_TARGET")
2118
+ TARGET_IS_EXCLUDED_BY_ANOTHER_TARGET = TargetErrorReason.new("TARGET_IS_EXCLUDED_BY_ANOTHER_TARGET")
2119
+ TOO_MANY_EXCLUDED_LOCATIONS = TargetErrorReason.new("TOO_MANY_EXCLUDED_LOCATIONS")
2120
+ TOO_MANY_TARGETED_LOCATIONS = TargetErrorReason.new("TOO_MANY_TARGETED_LOCATIONS")
2121
+ WARNING_MAY_NOW_REQUIRE_CHINESE_APPROVAL = TargetErrorReason.new("WARNING_MAY_NOW_REQUIRE_CHINESE_APPROVAL")
2122
+ WARNING_NOW_REQUIRES_CHINESE_APPROVAL = TargetErrorReason.new("WARNING_NOW_REQUIRES_CHINESE_APPROVAL")
2123
+ WARNING_NOW_TARGETS_CHINA = TargetErrorReason.new("WARNING_NOW_TARGETS_CHINA")
2124
+ WARNING_NOW_TARGETS_CHINESE = TargetErrorReason.new("WARNING_NOW_TARGETS_CHINESE")
2125
+ end
2126
+
2127
+ # AttributeType
2128
+ class AttributeType < ::String
2129
+ AD_SHARE = AttributeType.new("AD_SHARE")
2130
+ APPROX_CONTENT_IMPRESSIONS_PER_DAY = AttributeType.new("APPROX_CONTENT_IMPRESSIONS_PER_DAY")
2131
+ AVERAGE_TARGETED_MONTHLY_SEARCHES = AttributeType.new("AVERAGE_TARGETED_MONTHLY_SEARCHES")
2132
+ COMPETITION = AttributeType.new("COMPETITION")
2133
+ EXTRACTED_FROM_WEBPAGE = AttributeType.new("EXTRACTED_FROM_WEBPAGE")
2134
+ FORMATS = AttributeType.new("FORMATS")
2135
+ GLOBAL_MONTHLY_SEARCHES = AttributeType.new("GLOBAL_MONTHLY_SEARCHES")
2136
+ IDEA_TYPE = AttributeType.new("IDEA_TYPE")
2137
+ IN_STREAM_AD_INFO = AttributeType.new("IN_STREAM_AD_INFO")
2138
+ KEYWORD = AttributeType.new("KEYWORD")
2139
+ KEYWORD_CATEGORY = AttributeType.new("KEYWORD_CATEGORY")
2140
+ NGRAM_GROUP = AttributeType.new("NGRAM_GROUP")
2141
+ PLACEMENT = AttributeType.new("PLACEMENT")
2142
+ PLACEMENT_CATEGORY = AttributeType.new("PLACEMENT_CATEGORY")
2143
+ PLACEMENT_NAME = AttributeType.new("PLACEMENT_NAME")
2144
+ PLACEMENT_TYPE = AttributeType.new("PLACEMENT_TYPE")
2145
+ PUBLISHER_DESCRIPTION = AttributeType.new("PUBLISHER_DESCRIPTION")
2146
+ SAMPLE_URL = AttributeType.new("SAMPLE_URL")
2147
+ SEARCH_SHARE = AttributeType.new("SEARCH_SHARE")
2148
+ TARGETED_MONTHLY_SEARCHES = AttributeType.new("TARGETED_MONTHLY_SEARCHES")
2149
+ end
2150
+
2151
+ # CollectionSizeError.Reason
2152
+ class CollectionSizeErrorReason < ::String
2153
+ TOO_FEW = CollectionSizeErrorReason.new("TOO_FEW")
2154
+ TOO_MANY = CollectionSizeErrorReason.new("TOO_MANY")
2155
+ end
2156
+
2157
+ # CompetitionSearchParameter.Level
2158
+ class CompetitionSearchParameterLevel < ::String
2159
+ HIGH = CompetitionSearchParameterLevel.new("HIGH")
2160
+ LOW = CompetitionSearchParameterLevel.new("LOW")
2161
+ MEDIUM = CompetitionSearchParameterLevel.new("MEDIUM")
2162
+ end
2163
+
2164
+ # IdeaType
2165
+ class IdeaType < ::String
2166
+ KEYWORD = IdeaType.new("KEYWORD")
2167
+ PLACEMENT = IdeaType.new("PLACEMENT")
2168
+ end
2169
+
2170
+ # RequestType
2171
+ class RequestType < ::String
2172
+ IDEAS = RequestType.new("IDEAS")
2173
+ STATS = RequestType.new("STATS")
2174
+ end
2175
+
2176
+ # SiteConstants.AdFormat
2177
+ class SiteConstantsAdFormat < ::String
2178
+ IMAGE = SiteConstantsAdFormat.new("IMAGE")
2179
+ INSTREAM = SiteConstantsAdFormat.new("INSTREAM")
2180
+ TEXT = SiteConstantsAdFormat.new("TEXT")
2181
+ VIDEO = SiteConstantsAdFormat.new("VIDEO")
2182
+ end
2183
+
2184
+ # SiteConstants.AdType
2185
+ class SiteConstantsAdType < ::String
2186
+ DISPLAY = SiteConstantsAdType.new("DISPLAY")
2187
+ TEXT = SiteConstantsAdType.new("TEXT")
2188
+ end
2189
+
2190
+ # SiteConstants.PlacementType
2191
+ class SiteConstantsPlacementType < ::String
2192
+ FEED = SiteConstantsPlacementType.new("FEED")
2193
+ GAME = SiteConstantsPlacementType.new("GAME")
2194
+ MOBILE = SiteConstantsPlacementType.new("MOBILE")
2195
+ SITE = SiteConstantsPlacementType.new("SITE")
2196
+ VIDEO = SiteConstantsPlacementType.new("VIDEO")
2197
+ end
2198
+
2199
+ # TargetingIdeaError.Reason
2200
+ class TargetingIdeaErrorReason < ::String
2201
+ DUPLICATE_SEARCH_FILTER_TYPES_PRESENT = TargetingIdeaErrorReason.new("DUPLICATE_SEARCH_FILTER_TYPES_PRESENT")
2202
+ INSUFFICIENT_SEARCH_PARAMETERS = TargetingIdeaErrorReason.new("INSUFFICIENT_SEARCH_PARAMETERS")
2203
+ INVALID_ATTRIBUTE_TYPE = TargetingIdeaErrorReason.new("INVALID_ATTRIBUTE_TYPE")
2204
+ INVALID_SEARCH_PARAMETERS = TargetingIdeaErrorReason.new("INVALID_SEARCH_PARAMETERS")
2205
+ INVALID_URL_IN_SEARCH_PARAMETER = TargetingIdeaErrorReason.new("INVALID_URL_IN_SEARCH_PARAMETER")
2206
+ MUTUALLY_EXCLUSIVE_SEARCH_PARAMETERS_IN_QUERY = TargetingIdeaErrorReason.new("MUTUALLY_EXCLUSIVE_SEARCH_PARAMETERS_IN_QUERY")
2207
+ NO_PAGING_IN_SELECTOR = TargetingIdeaErrorReason.new("NO_PAGING_IN_SELECTOR")
2208
+ SERVICE_UNAVAILABLE = TargetingIdeaErrorReason.new("SERVICE_UNAVAILABLE")
2209
+ TOO_MANY_RESULTS_REQUESTED = TargetingIdeaErrorReason.new("TOO_MANY_RESULTS_REQUESTED")
2210
+ end
2211
+
2212
+ # get
2213
+ # - selector - AdwordsApi::V200909::TargetingIdeaService::TargetingIdeaSelector
2214
+ class Get #:nodoc: all
2215
+ attr_accessor :selector
2216
+
2217
+ def initialize(selector = nil)
2218
+ @selector = selector
2219
+ end
2220
+ end
2221
+
2222
+ # getResponse
2223
+ # - rval - AdwordsApi::V200909::TargetingIdeaService::TargetingIdeaPage
2224
+ class GetResponse #:nodoc: all
2225
+ attr_accessor :rval
2226
+
2227
+ def initialize(rval = nil)
2228
+ @rval = rval
2229
+ end
2230
+ end
2231
+
2232
+ # getBulkKeywordIdeas
2233
+ # - selector - AdwordsApi::V200909::TargetingIdeaService::TargetingIdeaSelector
2234
+ class GetBulkKeywordIdeas #:nodoc: all
2235
+ attr_accessor :selector
2236
+
2237
+ def initialize(selector = nil)
2238
+ @selector = selector
2239
+ end
2240
+ end
2241
+
2242
+ # getBulkKeywordIdeasResponse
2243
+ # - rval - AdwordsApi::V200909::TargetingIdeaService::TargetingIdeaPage
2244
+ class GetBulkKeywordIdeasResponse #:nodoc: all
2245
+ attr_accessor :rval
2246
+
2247
+ def initialize(rval = nil)
2248
+ @rval = rval
2249
+ end
2250
+ end
2251
+
2252
+
2253
+ end; end; end