google-adwords-api 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (334) hide show
  1. data/COPYING +201 -0
  2. data/ChangeLog +14 -0
  3. data/README +44 -14
  4. data/Rakefile +1 -1
  5. data/adwords_api.yml +0 -1
  6. data/examples/v200909/add_ad_group_criteria.rb +1 -1
  7. data/examples/v200909/perform_bulk_mutate_job.rb +1 -1
  8. data/examples/v201003/get_related_placements.rb +6 -9
  9. data/examples/v201003/perform_bulk_mutate_job.rb +1 -1
  10. data/examples/v201008/get_bulk_mutate_job.rb +1 -1
  11. data/examples/v201008/perform_bulk_mutate_job.rb +1 -1
  12. data/examples/v201101/add_mcc_report_definition.rb +4 -8
  13. data/examples/v201101/download_mcc_report.rb +47 -23
  14. data/examples/v201101/download_mcc_report_as_file.rb +118 -0
  15. data/examples/v201101/get_bulk_mutate_job.rb +1 -1
  16. data/examples/v201101/get_keyword_opportunities.rb +0 -0
  17. data/examples/v201101/perform_bulk_mutate_job.rb +1 -1
  18. data/lib/adwords_api.rb +4 -8
  19. data/lib/adwords_api/api_config.rb +1 -1
  20. data/lib/adwords_api/auth/v13_login_handler.rb +3 -6
  21. data/lib/adwords_api/extensions.rb +156 -25
  22. data/lib/adwords_api/v13/AccountService.rb +0 -0
  23. data/lib/adwords_api/v13/AccountServiceDriver.rb +6 -6
  24. data/lib/adwords_api/v13/AccountServiceMappingRegistry.rb +0 -0
  25. data/lib/adwords_api/v13/AccountServiceWrapper.rb +2 -2
  26. data/lib/adwords_api/v13/ReportService.rb +0 -0
  27. data/lib/adwords_api/v13/ReportServiceDriver.rb +8 -8
  28. data/lib/adwords_api/v13/ReportServiceMappingRegistry.rb +0 -0
  29. data/lib/adwords_api/v13/ReportServiceWrapper.rb +2 -2
  30. data/lib/adwords_api/v13/TrafficEstimatorService.rb +0 -0
  31. data/lib/adwords_api/v13/TrafficEstimatorServiceDriver.rb +5 -5
  32. data/lib/adwords_api/v13/TrafficEstimatorServiceMappingRegistry.rb +0 -0
  33. data/lib/adwords_api/v13/TrafficEstimatorServiceWrapper.rb +2 -2
  34. data/lib/adwords_api/v200909/AdExtensionOverrideService.rb +0 -0
  35. data/lib/adwords_api/v200909/AdExtensionOverrideServiceDriver.rb +3 -3
  36. data/lib/adwords_api/v200909/AdExtensionOverrideServiceMappingRegistry.rb +0 -0
  37. data/lib/adwords_api/v200909/AdExtensionOverrideServiceWrapper.rb +2 -2
  38. data/lib/adwords_api/v200909/AdGroupAdService.rb +239 -239
  39. data/lib/adwords_api/v200909/AdGroupAdServiceDriver.rb +3 -3
  40. data/lib/adwords_api/v200909/AdGroupAdServiceMappingRegistry.rb +120 -120
  41. data/lib/adwords_api/v200909/AdGroupAdServiceWrapper.rb +2 -2
  42. data/lib/adwords_api/v200909/AdGroupCriterionService.rb +0 -0
  43. data/lib/adwords_api/v200909/AdGroupCriterionServiceDriver.rb +3 -3
  44. data/lib/adwords_api/v200909/AdGroupCriterionServiceMappingRegistry.rb +0 -0
  45. data/lib/adwords_api/v200909/AdGroupCriterionServiceWrapper.rb +2 -2
  46. data/lib/adwords_api/v200909/AdGroupService.rb +0 -0
  47. data/lib/adwords_api/v200909/AdGroupServiceDriver.rb +3 -3
  48. data/lib/adwords_api/v200909/AdGroupServiceMappingRegistry.rb +0 -0
  49. data/lib/adwords_api/v200909/AdGroupServiceWrapper.rb +2 -2
  50. data/lib/adwords_api/v200909/AdParamService.rb +0 -0
  51. data/lib/adwords_api/v200909/AdParamServiceDriver.rb +3 -3
  52. data/lib/adwords_api/v200909/AdParamServiceMappingRegistry.rb +0 -0
  53. data/lib/adwords_api/v200909/AdParamServiceWrapper.rb +2 -2
  54. data/lib/adwords_api/v200909/BulkMutateJobService.rb +0 -0
  55. data/lib/adwords_api/v200909/BulkMutateJobServiceDriver.rb +3 -3
  56. data/lib/adwords_api/v200909/BulkMutateJobServiceMappingRegistry.rb +0 -0
  57. data/lib/adwords_api/v200909/BulkMutateJobServiceWrapper.rb +2 -2
  58. data/lib/adwords_api/v200909/CampaignAdExtensionService.rb +0 -0
  59. data/lib/adwords_api/v200909/CampaignAdExtensionServiceDriver.rb +3 -3
  60. data/lib/adwords_api/v200909/CampaignAdExtensionServiceMappingRegistry.rb +0 -0
  61. data/lib/adwords_api/v200909/CampaignAdExtensionServiceWrapper.rb +2 -2
  62. data/lib/adwords_api/v200909/CampaignCriterionService.rb +0 -0
  63. data/lib/adwords_api/v200909/CampaignCriterionServiceDriver.rb +3 -3
  64. data/lib/adwords_api/v200909/CampaignCriterionServiceMappingRegistry.rb +0 -0
  65. data/lib/adwords_api/v200909/CampaignCriterionServiceWrapper.rb +2 -2
  66. data/lib/adwords_api/v200909/CampaignService.rb +0 -0
  67. data/lib/adwords_api/v200909/CampaignServiceDriver.rb +3 -3
  68. data/lib/adwords_api/v200909/CampaignServiceMappingRegistry.rb +0 -0
  69. data/lib/adwords_api/v200909/CampaignServiceWrapper.rb +2 -2
  70. data/lib/adwords_api/v200909/CampaignTargetService.rb +0 -0
  71. data/lib/adwords_api/v200909/CampaignTargetServiceDriver.rb +3 -3
  72. data/lib/adwords_api/v200909/CampaignTargetServiceMappingRegistry.rb +0 -0
  73. data/lib/adwords_api/v200909/CampaignTargetServiceWrapper.rb +2 -2
  74. data/lib/adwords_api/v200909/GeoLocationService.rb +0 -0
  75. data/lib/adwords_api/v200909/GeoLocationServiceDriver.rb +2 -2
  76. data/lib/adwords_api/v200909/GeoLocationServiceMappingRegistry.rb +0 -0
  77. data/lib/adwords_api/v200909/GeoLocationServiceWrapper.rb +2 -2
  78. data/lib/adwords_api/v200909/InfoService.rb +0 -0
  79. data/lib/adwords_api/v200909/InfoServiceDriver.rb +2 -2
  80. data/lib/adwords_api/v200909/InfoServiceMappingRegistry.rb +0 -0
  81. data/lib/adwords_api/v200909/InfoServiceWrapper.rb +2 -2
  82. data/lib/adwords_api/v200909/TargetingIdeaService.rb +0 -0
  83. data/lib/adwords_api/v200909/TargetingIdeaServiceDriver.rb +3 -3
  84. data/lib/adwords_api/v200909/TargetingIdeaServiceMappingRegistry.rb +0 -0
  85. data/lib/adwords_api/v200909/TargetingIdeaServiceWrapper.rb +2 -2
  86. data/lib/adwords_api/v201003/AdExtensionOverrideService.rb +0 -0
  87. data/lib/adwords_api/v201003/AdExtensionOverrideServiceDriver.rb +3 -3
  88. data/lib/adwords_api/v201003/AdExtensionOverrideServiceMappingRegistry.rb +0 -0
  89. data/lib/adwords_api/v201003/AdExtensionOverrideServiceWrapper.rb +2 -2
  90. data/lib/adwords_api/v201003/AdGroupAdService.rb +293 -293
  91. data/lib/adwords_api/v201003/AdGroupAdServiceDriver.rb +3 -3
  92. data/lib/adwords_api/v201003/AdGroupAdServiceMappingRegistry.rb +124 -124
  93. data/lib/adwords_api/v201003/AdGroupAdServiceWrapper.rb +2 -2
  94. data/lib/adwords_api/v201003/AdGroupCriterionService.rb +0 -0
  95. data/lib/adwords_api/v201003/AdGroupCriterionServiceDriver.rb +3 -3
  96. data/lib/adwords_api/v201003/AdGroupCriterionServiceMappingRegistry.rb +0 -0
  97. data/lib/adwords_api/v201003/AdGroupCriterionServiceWrapper.rb +2 -2
  98. data/lib/adwords_api/v201003/AdGroupService.rb +0 -0
  99. data/lib/adwords_api/v201003/AdGroupServiceDriver.rb +3 -3
  100. data/lib/adwords_api/v201003/AdGroupServiceMappingRegistry.rb +0 -0
  101. data/lib/adwords_api/v201003/AdGroupServiceWrapper.rb +2 -2
  102. data/lib/adwords_api/v201003/AdParamService.rb +0 -0
  103. data/lib/adwords_api/v201003/AdParamServiceDriver.rb +3 -3
  104. data/lib/adwords_api/v201003/AdParamServiceMappingRegistry.rb +0 -0
  105. data/lib/adwords_api/v201003/AdParamServiceWrapper.rb +2 -2
  106. data/lib/adwords_api/v201003/BidLandscapeService.rb +0 -0
  107. data/lib/adwords_api/v201003/BidLandscapeServiceDriver.rb +2 -2
  108. data/lib/adwords_api/v201003/BidLandscapeServiceMappingRegistry.rb +0 -0
  109. data/lib/adwords_api/v201003/BidLandscapeServiceWrapper.rb +2 -2
  110. data/lib/adwords_api/v201003/BulkMutateJobService.rb +0 -0
  111. data/lib/adwords_api/v201003/BulkMutateJobServiceDriver.rb +3 -3
  112. data/lib/adwords_api/v201003/BulkMutateJobServiceMappingRegistry.rb +0 -0
  113. data/lib/adwords_api/v201003/BulkMutateJobServiceWrapper.rb +2 -2
  114. data/lib/adwords_api/v201003/CampaignAdExtensionService.rb +0 -0
  115. data/lib/adwords_api/v201003/CampaignAdExtensionServiceDriver.rb +3 -3
  116. data/lib/adwords_api/v201003/CampaignAdExtensionServiceMappingRegistry.rb +0 -0
  117. data/lib/adwords_api/v201003/CampaignAdExtensionServiceWrapper.rb +2 -2
  118. data/lib/adwords_api/v201003/CampaignCriterionService.rb +0 -0
  119. data/lib/adwords_api/v201003/CampaignCriterionServiceDriver.rb +3 -3
  120. data/lib/adwords_api/v201003/CampaignCriterionServiceMappingRegistry.rb +0 -0
  121. data/lib/adwords_api/v201003/CampaignCriterionServiceWrapper.rb +2 -2
  122. data/lib/adwords_api/v201003/CampaignService.rb +0 -0
  123. data/lib/adwords_api/v201003/CampaignServiceDriver.rb +3 -3
  124. data/lib/adwords_api/v201003/CampaignServiceMappingRegistry.rb +0 -0
  125. data/lib/adwords_api/v201003/CampaignServiceWrapper.rb +2 -2
  126. data/lib/adwords_api/v201003/CampaignTargetService.rb +0 -0
  127. data/lib/adwords_api/v201003/CampaignTargetServiceDriver.rb +3 -3
  128. data/lib/adwords_api/v201003/CampaignTargetServiceMappingRegistry.rb +0 -0
  129. data/lib/adwords_api/v201003/CampaignTargetServiceWrapper.rb +2 -2
  130. data/lib/adwords_api/v201003/GeoLocationService.rb +0 -0
  131. data/lib/adwords_api/v201003/GeoLocationServiceDriver.rb +2 -2
  132. data/lib/adwords_api/v201003/GeoLocationServiceMappingRegistry.rb +0 -0
  133. data/lib/adwords_api/v201003/GeoLocationServiceWrapper.rb +2 -2
  134. data/lib/adwords_api/v201003/InfoService.rb +0 -0
  135. data/lib/adwords_api/v201003/InfoServiceDriver.rb +2 -2
  136. data/lib/adwords_api/v201003/InfoServiceMappingRegistry.rb +0 -0
  137. data/lib/adwords_api/v201003/InfoServiceWrapper.rb +2 -2
  138. data/lib/adwords_api/v201003/MediaService.rb +224 -224
  139. data/lib/adwords_api/v201003/MediaServiceDriver.rb +3 -3
  140. data/lib/adwords_api/v201003/MediaServiceMappingRegistry.rb +58 -58
  141. data/lib/adwords_api/v201003/MediaServiceWrapper.rb +2 -2
  142. data/lib/adwords_api/v201003/ReportDefinitionService.rb +0 -0
  143. data/lib/adwords_api/v201003/ReportDefinitionServiceDriver.rb +4 -4
  144. data/lib/adwords_api/v201003/ReportDefinitionServiceMappingRegistry.rb +0 -0
  145. data/lib/adwords_api/v201003/ReportDefinitionServiceWrapper.rb +2 -2
  146. data/lib/adwords_api/v201003/TargetingIdeaService.rb +0 -0
  147. data/lib/adwords_api/v201003/TargetingIdeaServiceDriver.rb +3 -3
  148. data/lib/adwords_api/v201003/TargetingIdeaServiceMappingRegistry.rb +0 -0
  149. data/lib/adwords_api/v201003/TargetingIdeaServiceWrapper.rb +2 -2
  150. data/lib/adwords_api/v201008/AdExtensionOverrideService.rb +0 -0
  151. data/lib/adwords_api/v201008/AdExtensionOverrideServiceDriver.rb +3 -3
  152. data/lib/adwords_api/v201008/AdExtensionOverrideServiceMappingRegistry.rb +0 -0
  153. data/lib/adwords_api/v201008/AdExtensionOverrideServiceWrapper.rb +2 -2
  154. data/lib/adwords_api/v201008/AdGroupAdService.rb +255 -255
  155. data/lib/adwords_api/v201008/AdGroupAdServiceDriver.rb +3 -3
  156. data/lib/adwords_api/v201008/AdGroupAdServiceMappingRegistry.rb +120 -120
  157. data/lib/adwords_api/v201008/AdGroupAdServiceWrapper.rb +2 -2
  158. data/lib/adwords_api/v201008/AdGroupCriterionService.rb +0 -0
  159. data/lib/adwords_api/v201008/AdGroupCriterionServiceDriver.rb +3 -3
  160. data/lib/adwords_api/v201008/AdGroupCriterionServiceMappingRegistry.rb +0 -0
  161. data/lib/adwords_api/v201008/AdGroupCriterionServiceWrapper.rb +2 -2
  162. data/lib/adwords_api/v201008/AdGroupService.rb +0 -0
  163. data/lib/adwords_api/v201008/AdGroupServiceDriver.rb +3 -3
  164. data/lib/adwords_api/v201008/AdGroupServiceMappingRegistry.rb +0 -0
  165. data/lib/adwords_api/v201008/AdGroupServiceWrapper.rb +2 -2
  166. data/lib/adwords_api/v201008/AdParamService.rb +0 -0
  167. data/lib/adwords_api/v201008/AdParamServiceDriver.rb +3 -3
  168. data/lib/adwords_api/v201008/AdParamServiceMappingRegistry.rb +0 -0
  169. data/lib/adwords_api/v201008/AdParamServiceWrapper.rb +2 -2
  170. data/lib/adwords_api/v201008/AlertService.rb +0 -0
  171. data/lib/adwords_api/v201008/AlertServiceDriver.rb +2 -2
  172. data/lib/adwords_api/v201008/AlertServiceMappingRegistry.rb +0 -0
  173. data/lib/adwords_api/v201008/AlertServiceWrapper.rb +2 -2
  174. data/lib/adwords_api/v201008/BidLandscapeService.rb +0 -0
  175. data/lib/adwords_api/v201008/BidLandscapeServiceDriver.rb +2 -2
  176. data/lib/adwords_api/v201008/BidLandscapeServiceMappingRegistry.rb +0 -0
  177. data/lib/adwords_api/v201008/BidLandscapeServiceWrapper.rb +2 -2
  178. data/lib/adwords_api/v201008/BulkMutateJobService.rb +0 -0
  179. data/lib/adwords_api/v201008/BulkMutateJobServiceDriver.rb +3 -3
  180. data/lib/adwords_api/v201008/BulkMutateJobServiceMappingRegistry.rb +0 -0
  181. data/lib/adwords_api/v201008/BulkMutateJobServiceWrapper.rb +2 -2
  182. data/lib/adwords_api/v201008/CampaignAdExtensionService.rb +0 -0
  183. data/lib/adwords_api/v201008/CampaignAdExtensionServiceDriver.rb +3 -3
  184. data/lib/adwords_api/v201008/CampaignAdExtensionServiceMappingRegistry.rb +0 -0
  185. data/lib/adwords_api/v201008/CampaignAdExtensionServiceWrapper.rb +2 -2
  186. data/lib/adwords_api/v201008/CampaignCriterionService.rb +0 -0
  187. data/lib/adwords_api/v201008/CampaignCriterionServiceDriver.rb +3 -3
  188. data/lib/adwords_api/v201008/CampaignCriterionServiceMappingRegistry.rb +0 -0
  189. data/lib/adwords_api/v201008/CampaignCriterionServiceWrapper.rb +2 -2
  190. data/lib/adwords_api/v201008/CampaignService.rb +0 -0
  191. data/lib/adwords_api/v201008/CampaignServiceDriver.rb +3 -3
  192. data/lib/adwords_api/v201008/CampaignServiceMappingRegistry.rb +0 -0
  193. data/lib/adwords_api/v201008/CampaignServiceWrapper.rb +2 -2
  194. data/lib/adwords_api/v201008/CampaignTargetService.rb +0 -0
  195. data/lib/adwords_api/v201008/CampaignTargetServiceDriver.rb +3 -3
  196. data/lib/adwords_api/v201008/CampaignTargetServiceMappingRegistry.rb +0 -0
  197. data/lib/adwords_api/v201008/CampaignTargetServiceWrapper.rb +2 -2
  198. data/lib/adwords_api/v201008/CustomerSyncService.rb +0 -0
  199. data/lib/adwords_api/v201008/CustomerSyncServiceDriver.rb +2 -2
  200. data/lib/adwords_api/v201008/CustomerSyncServiceMappingRegistry.rb +0 -0
  201. data/lib/adwords_api/v201008/CustomerSyncServiceWrapper.rb +2 -2
  202. data/lib/adwords_api/v201008/ExperimentService.rb +0 -0
  203. data/lib/adwords_api/v201008/ExperimentServiceDriver.rb +3 -3
  204. data/lib/adwords_api/v201008/ExperimentServiceMappingRegistry.rb +0 -0
  205. data/lib/adwords_api/v201008/ExperimentServiceWrapper.rb +2 -2
  206. data/lib/adwords_api/v201008/GeoLocationService.rb +0 -0
  207. data/lib/adwords_api/v201008/GeoLocationServiceDriver.rb +2 -2
  208. data/lib/adwords_api/v201008/GeoLocationServiceMappingRegistry.rb +0 -0
  209. data/lib/adwords_api/v201008/GeoLocationServiceWrapper.rb +2 -2
  210. data/lib/adwords_api/v201008/InfoService.rb +0 -0
  211. data/lib/adwords_api/v201008/InfoServiceDriver.rb +2 -2
  212. data/lib/adwords_api/v201008/InfoServiceMappingRegistry.rb +0 -0
  213. data/lib/adwords_api/v201008/InfoServiceWrapper.rb +2 -2
  214. data/lib/adwords_api/v201008/MediaService.rb +203 -203
  215. data/lib/adwords_api/v201008/MediaServiceDriver.rb +3 -3
  216. data/lib/adwords_api/v201008/MediaServiceMappingRegistry.rb +54 -54
  217. data/lib/adwords_api/v201008/MediaServiceWrapper.rb +2 -2
  218. data/lib/adwords_api/v201008/ReportDefinitionService.rb +0 -0
  219. data/lib/adwords_api/v201008/ReportDefinitionServiceDriver.rb +4 -4
  220. data/lib/adwords_api/v201008/ReportDefinitionServiceMappingRegistry.rb +0 -0
  221. data/lib/adwords_api/v201008/ReportDefinitionServiceWrapper.rb +2 -2
  222. data/lib/adwords_api/v201008/ServicedAccountService.rb +0 -0
  223. data/lib/adwords_api/v201008/ServicedAccountServiceDriver.rb +2 -2
  224. data/lib/adwords_api/v201008/ServicedAccountServiceMappingRegistry.rb +0 -0
  225. data/lib/adwords_api/v201008/ServicedAccountServiceWrapper.rb +2 -2
  226. data/lib/adwords_api/v201008/TargetingIdeaService.rb +0 -0
  227. data/lib/adwords_api/v201008/TargetingIdeaServiceDriver.rb +3 -3
  228. data/lib/adwords_api/v201008/TargetingIdeaServiceMappingRegistry.rb +0 -0
  229. data/lib/adwords_api/v201008/TargetingIdeaServiceWrapper.rb +2 -2
  230. data/lib/adwords_api/v201008/TrafficEstimatorService.rb +0 -0
  231. data/lib/adwords_api/v201008/TrafficEstimatorServiceDriver.rb +2 -2
  232. data/lib/adwords_api/v201008/TrafficEstimatorServiceMappingRegistry.rb +0 -0
  233. data/lib/adwords_api/v201008/TrafficEstimatorServiceWrapper.rb +2 -2
  234. data/lib/adwords_api/v201008/UserListService.rb +0 -0
  235. data/lib/adwords_api/v201008/UserListServiceDriver.rb +3 -3
  236. data/lib/adwords_api/v201008/UserListServiceMappingRegistry.rb +0 -0
  237. data/lib/adwords_api/v201008/UserListServiceWrapper.rb +2 -2
  238. data/lib/adwords_api/v201101/AdExtensionOverrideService.rb +0 -0
  239. data/lib/adwords_api/v201101/AdExtensionOverrideServiceDriver.rb +3 -3
  240. data/lib/adwords_api/v201101/AdExtensionOverrideServiceMappingRegistry.rb +0 -0
  241. data/lib/adwords_api/v201101/AdExtensionOverrideServiceWrapper.rb +2 -2
  242. data/lib/adwords_api/v201101/AdGroupAdService.rb +246 -246
  243. data/lib/adwords_api/v201101/AdGroupAdServiceDriver.rb +3 -3
  244. data/lib/adwords_api/v201101/AdGroupAdServiceMappingRegistry.rb +94 -94
  245. data/lib/adwords_api/v201101/AdGroupAdServiceWrapper.rb +2 -2
  246. data/lib/adwords_api/v201101/AdGroupCriterionService.rb +0 -0
  247. data/lib/adwords_api/v201101/AdGroupCriterionServiceDriver.rb +3 -3
  248. data/lib/adwords_api/v201101/AdGroupCriterionServiceMappingRegistry.rb +0 -0
  249. data/lib/adwords_api/v201101/AdGroupCriterionServiceWrapper.rb +2 -2
  250. data/lib/adwords_api/v201101/AdGroupService.rb +0 -0
  251. data/lib/adwords_api/v201101/AdGroupServiceDriver.rb +3 -3
  252. data/lib/adwords_api/v201101/AdGroupServiceMappingRegistry.rb +0 -0
  253. data/lib/adwords_api/v201101/AdGroupServiceWrapper.rb +2 -2
  254. data/lib/adwords_api/v201101/AdParamService.rb +0 -0
  255. data/lib/adwords_api/v201101/AdParamServiceDriver.rb +3 -3
  256. data/lib/adwords_api/v201101/AdParamServiceMappingRegistry.rb +0 -0
  257. data/lib/adwords_api/v201101/AdParamServiceWrapper.rb +2 -2
  258. data/lib/adwords_api/v201101/AlertService.rb +0 -0
  259. data/lib/adwords_api/v201101/AlertServiceDriver.rb +2 -2
  260. data/lib/adwords_api/v201101/AlertServiceMappingRegistry.rb +0 -0
  261. data/lib/adwords_api/v201101/AlertServiceWrapper.rb +2 -2
  262. data/lib/adwords_api/v201101/BulkMutateJobService.rb +0 -13
  263. data/lib/adwords_api/v201101/BulkMutateJobServiceDriver.rb +3 -3
  264. data/lib/adwords_api/v201101/BulkMutateJobServiceMappingRegistry.rb +0 -20
  265. data/lib/adwords_api/v201101/BulkMutateJobServiceWrapper.rb +2 -2
  266. data/lib/adwords_api/v201101/BulkOpportunityService.rb +0 -0
  267. data/lib/adwords_api/v201101/BulkOpportunityServiceDriver.rb +2 -2
  268. data/lib/adwords_api/v201101/BulkOpportunityServiceMappingRegistry.rb +0 -0
  269. data/lib/adwords_api/v201101/BulkOpportunityServiceWrapper.rb +2 -2
  270. data/lib/adwords_api/v201101/CampaignAdExtensionService.rb +0 -0
  271. data/lib/adwords_api/v201101/CampaignAdExtensionServiceDriver.rb +3 -3
  272. data/lib/adwords_api/v201101/CampaignAdExtensionServiceMappingRegistry.rb +0 -0
  273. data/lib/adwords_api/v201101/CampaignAdExtensionServiceWrapper.rb +2 -2
  274. data/lib/adwords_api/v201101/CampaignCriterionService.rb +0 -0
  275. data/lib/adwords_api/v201101/CampaignCriterionServiceDriver.rb +3 -3
  276. data/lib/adwords_api/v201101/CampaignCriterionServiceMappingRegistry.rb +0 -0
  277. data/lib/adwords_api/v201101/CampaignCriterionServiceWrapper.rb +2 -2
  278. data/lib/adwords_api/v201101/CampaignService.rb +0 -0
  279. data/lib/adwords_api/v201101/CampaignServiceDriver.rb +3 -3
  280. data/lib/adwords_api/v201101/CampaignServiceMappingRegistry.rb +0 -0
  281. data/lib/adwords_api/v201101/CampaignServiceWrapper.rb +2 -2
  282. data/lib/adwords_api/v201101/CampaignTargetService.rb +0 -13
  283. data/lib/adwords_api/v201101/CampaignTargetServiceDriver.rb +3 -3
  284. data/lib/adwords_api/v201101/CampaignTargetServiceMappingRegistry.rb +0 -20
  285. data/lib/adwords_api/v201101/CampaignTargetServiceWrapper.rb +2 -2
  286. data/lib/adwords_api/v201101/ConversionTrackerService.rb +27 -0
  287. data/lib/adwords_api/v201101/ConversionTrackerServiceDriver.rb +3 -3
  288. data/lib/adwords_api/v201101/ConversionTrackerServiceMappingRegistry.rb +36 -0
  289. data/lib/adwords_api/v201101/ConversionTrackerServiceWrapper.rb +2 -2
  290. data/lib/adwords_api/v201101/CustomerSyncService.rb +0 -0
  291. data/lib/adwords_api/v201101/CustomerSyncServiceDriver.rb +2 -2
  292. data/lib/adwords_api/v201101/CustomerSyncServiceMappingRegistry.rb +0 -0
  293. data/lib/adwords_api/v201101/CustomerSyncServiceWrapper.rb +2 -2
  294. data/lib/adwords_api/v201101/DataService.rb +0 -0
  295. data/lib/adwords_api/v201101/DataServiceDriver.rb +3 -3
  296. data/lib/adwords_api/v201101/DataServiceMappingRegistry.rb +0 -0
  297. data/lib/adwords_api/v201101/DataServiceWrapper.rb +2 -2
  298. data/lib/adwords_api/v201101/ExperimentService.rb +0 -0
  299. data/lib/adwords_api/v201101/ExperimentServiceDriver.rb +3 -3
  300. data/lib/adwords_api/v201101/ExperimentServiceMappingRegistry.rb +0 -0
  301. data/lib/adwords_api/v201101/ExperimentServiceWrapper.rb +2 -2
  302. data/lib/adwords_api/v201101/GeoLocationService.rb +0 -0
  303. data/lib/adwords_api/v201101/GeoLocationServiceDriver.rb +2 -2
  304. data/lib/adwords_api/v201101/GeoLocationServiceMappingRegistry.rb +0 -0
  305. data/lib/adwords_api/v201101/GeoLocationServiceWrapper.rb +2 -2
  306. data/lib/adwords_api/v201101/InfoService.rb +0 -0
  307. data/lib/adwords_api/v201101/InfoServiceDriver.rb +2 -2
  308. data/lib/adwords_api/v201101/InfoServiceMappingRegistry.rb +0 -0
  309. data/lib/adwords_api/v201101/InfoServiceWrapper.rb +2 -2
  310. data/lib/adwords_api/v201101/MediaService.rb +203 -203
  311. data/lib/adwords_api/v201101/MediaServiceDriver.rb +3 -3
  312. data/lib/adwords_api/v201101/MediaServiceMappingRegistry.rb +54 -54
  313. data/lib/adwords_api/v201101/MediaServiceWrapper.rb +2 -2
  314. data/lib/adwords_api/v201101/ReportDefinitionService.rb +0 -0
  315. data/lib/adwords_api/v201101/ReportDefinitionServiceDriver.rb +4 -4
  316. data/lib/adwords_api/v201101/ReportDefinitionServiceMappingRegistry.rb +0 -0
  317. data/lib/adwords_api/v201101/ReportDefinitionServiceWrapper.rb +16 -2
  318. data/lib/adwords_api/v201101/ServicedAccountService.rb +0 -0
  319. data/lib/adwords_api/v201101/ServicedAccountServiceDriver.rb +2 -2
  320. data/lib/adwords_api/v201101/ServicedAccountServiceMappingRegistry.rb +0 -0
  321. data/lib/adwords_api/v201101/ServicedAccountServiceWrapper.rb +2 -2
  322. data/lib/adwords_api/v201101/TargetingIdeaService.rb +0 -0
  323. data/lib/adwords_api/v201101/TargetingIdeaServiceDriver.rb +3 -3
  324. data/lib/adwords_api/v201101/TargetingIdeaServiceMappingRegistry.rb +0 -0
  325. data/lib/adwords_api/v201101/TargetingIdeaServiceWrapper.rb +2 -2
  326. data/lib/adwords_api/v201101/TrafficEstimatorService.rb +0 -0
  327. data/lib/adwords_api/v201101/TrafficEstimatorServiceDriver.rb +2 -2
  328. data/lib/adwords_api/v201101/TrafficEstimatorServiceMappingRegistry.rb +0 -0
  329. data/lib/adwords_api/v201101/TrafficEstimatorServiceWrapper.rb +2 -2
  330. data/lib/adwords_api/v201101/UserListService.rb +0 -0
  331. data/lib/adwords_api/v201101/UserListServiceDriver.rb +3 -3
  332. data/lib/adwords_api/v201101/UserListServiceMappingRegistry.rb +0 -0
  333. data/lib/adwords_api/v201101/UserListServiceWrapper.rb +2 -2
  334. metadata +205 -211
@@ -189,6 +189,19 @@ module DefaultMappingRegistry
189
189
  ]
190
190
  )
191
191
 
192
+ EncodedRegistry.register(
193
+ :class => AdwordsApi::V201101::ConversionTrackerService::OperatorError,
194
+ :schema_type => XSD::QName.new(NsV201101, "OperatorError"),
195
+ :schema_basetype => XSD::QName.new(NsV201101, "ApiError"),
196
+ :schema_element => [
197
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
198
+ ["trigger", "SOAP::SOAPString", [0, 1]],
199
+ ["errorString", "SOAP::SOAPString", [0, 1]],
200
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ApiError.Type")], [0, 1]],
201
+ ["reason", "AdwordsApi::V201101::ConversionTrackerService::OperatorErrorReason", [0, 1]]
202
+ ]
203
+ )
204
+
192
205
  EncodedRegistry.register(
193
206
  :class => AdwordsApi::V201101::ConversionTrackerService::OrderBy,
194
207
  :schema_type => XSD::QName.new(NsV201101, "OrderBy"),
@@ -504,6 +517,11 @@ module DefaultMappingRegistry
504
517
  :schema_type => XSD::QName.new(NsV201101, "Operator")
505
518
  )
506
519
 
520
+ EncodedRegistry.register(
521
+ :class => AdwordsApi::V201101::ConversionTrackerService::OperatorErrorReason,
522
+ :schema_type => XSD::QName.new(NsV201101, "OperatorError.Reason")
523
+ )
524
+
507
525
  EncodedRegistry.register(
508
526
  :class => AdwordsApi::V201101::ConversionTrackerService::PredicateOperator,
509
527
  :schema_type => XSD::QName.new(NsV201101, "Predicate.Operator")
@@ -730,6 +748,19 @@ module DefaultMappingRegistry
730
748
  ]
731
749
  )
732
750
 
751
+ LiteralRegistry.register(
752
+ :class => AdwordsApi::V201101::ConversionTrackerService::OperatorError,
753
+ :schema_type => XSD::QName.new(NsV201101, "OperatorError"),
754
+ :schema_basetype => XSD::QName.new(NsV201101, "ApiError"),
755
+ :schema_element => [
756
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
757
+ ["trigger", "SOAP::SOAPString", [0, 1]],
758
+ ["errorString", "SOAP::SOAPString", [0, 1]],
759
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ApiError.Type")], [0, 1]],
760
+ ["reason", "AdwordsApi::V201101::ConversionTrackerService::OperatorErrorReason", [0, 1]]
761
+ ]
762
+ )
763
+
733
764
  LiteralRegistry.register(
734
765
  :class => AdwordsApi::V201101::ConversionTrackerService::OrderBy,
735
766
  :schema_type => XSD::QName.new(NsV201101, "OrderBy"),
@@ -1045,6 +1076,11 @@ module DefaultMappingRegistry
1045
1076
  :schema_type => XSD::QName.new(NsV201101, "Operator")
1046
1077
  )
1047
1078
 
1079
+ LiteralRegistry.register(
1080
+ :class => AdwordsApi::V201101::ConversionTrackerService::OperatorErrorReason,
1081
+ :schema_type => XSD::QName.new(NsV201101, "OperatorError.Reason")
1082
+ )
1083
+
1048
1084
  LiteralRegistry.register(
1049
1085
  :class => AdwordsApi::V201101::ConversionTrackerService::PredicateOperator,
1050
1086
  :schema_type => XSD::QName.new(NsV201101, "Predicate.Operator")
@@ -187,7 +187,7 @@
187
187
  object.each do |entry, value|
188
188
  entry = entry.to_s
189
189
  unless entry == 'xsi_type'
190
- if @api.config.read('service.use_ruby_names')
190
+ if @api.config.read('service.use_ruby_names', true)
191
191
  entry = camel_case(entry)
192
192
  end
193
193
  if value.is_a? Hash
@@ -238,7 +238,7 @@
238
238
  if object.respond_to? property and !property.include?('_Type')
239
239
  value = object.send(property)
240
240
  property_name = nil
241
- if @api.config.read('service.use_ruby_names')
241
+ if @api.config.read('service.use_ruby_names', true)
242
242
  property_name = underscore(property).to_sym
243
243
  else
244
244
  property_name = property.to_sym
@@ -7,7 +7,7 @@ module V201101
7
7
  module CustomerSyncService
8
8
 
9
9
  class CustomerSyncServiceInterface < ::SOAP::RPC::Driver
10
- DefaultEndpointUrl = "https://adwords.google.com:443/api/adwords/ch/v201101/CustomerSyncService"
10
+ DefaultEndpointUrl = "https://adwords.google.com/api/adwords/ch/v201101/CustomerSyncService"
11
11
 
12
12
  Methods = [
13
13
  [ "",
@@ -16,7 +16,7 @@ class CustomerSyncServiceInterface < ::SOAP::RPC::Driver
16
16
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/ch/v201101", "getResponse"]] ],
17
17
  { :request_style => :document, :request_use => :literal,
18
18
  :response_style => :document, :response_use => :literal,
19
- :faults => {"AdwordsApi::V201101::CustomerSyncService::ApiException_"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/ch/v201101", :name=>"ApiException"}} }
19
+ :faults => {"AdwordsApi::V201101::CustomerSyncService::ApiException_"=>{:ns=>"https://adwords.google.com/api/adwords/ch/v201101", :use=>"literal", :encodingstyle=>"document", :name=>"ApiException", :namespace=>nil}} }
20
20
  ]
21
21
  ]
22
22
 
@@ -187,7 +187,7 @@
187
187
  object.each do |entry, value|
188
188
  entry = entry.to_s
189
189
  unless entry == 'xsi_type'
190
- if @api.config.read('service.use_ruby_names')
190
+ if @api.config.read('service.use_ruby_names', true)
191
191
  entry = camel_case(entry)
192
192
  end
193
193
  if value.is_a? Hash
@@ -238,7 +238,7 @@
238
238
  if object.respond_to? property and !property.include?('_Type')
239
239
  value = object.send(property)
240
240
  property_name = nil
241
- if @api.config.read('service.use_ruby_names')
241
+ if @api.config.read('service.use_ruby_names', true)
242
242
  property_name = underscore(property).to_sym
243
243
  else
244
244
  property_name = property.to_sym
File without changes
@@ -7,7 +7,7 @@ module V201101
7
7
  module DataService
8
8
 
9
9
  class DataServiceInterface < ::SOAP::RPC::Driver
10
- DefaultEndpointUrl = "https://adwords.google.com:443/api/adwords/cm/v201101/DataService"
10
+ DefaultEndpointUrl = "https://adwords.google.com/api/adwords/cm/v201101/DataService"
11
11
 
12
12
  Methods = [
13
13
  [ "",
@@ -16,7 +16,7 @@ class DataServiceInterface < ::SOAP::RPC::Driver
16
16
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201101", "getAdGroupBidLandscapeResponse"]] ],
17
17
  { :request_style => :document, :request_use => :literal,
18
18
  :response_style => :document, :response_use => :literal,
19
- :faults => {"AdwordsApi::V201101::DataService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201101", :name=>"ApiException"}} }
19
+ :faults => {"AdwordsApi::V201101::DataService::ApiException"=>{:ns=>"https://adwords.google.com/api/adwords/cm/v201101", :use=>"literal", :encodingstyle=>"document", :name=>"ApiException", :namespace=>nil}} }
20
20
  ],
21
21
  [ "",
22
22
  "getCriterionBidLandscape",
@@ -24,7 +24,7 @@ class DataServiceInterface < ::SOAP::RPC::Driver
24
24
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201101", "getCriterionBidLandscapeResponse"]] ],
25
25
  { :request_style => :document, :request_use => :literal,
26
26
  :response_style => :document, :response_use => :literal,
27
- :faults => {"AdwordsApi::V201101::DataService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201101", :name=>"ApiException"}} }
27
+ :faults => {"AdwordsApi::V201101::DataService::ApiException"=>{:ns=>"https://adwords.google.com/api/adwords/cm/v201101", :use=>"literal", :encodingstyle=>"document", :name=>"ApiException", :namespace=>nil}} }
28
28
  ]
29
29
  ]
30
30
 
@@ -187,7 +187,7 @@
187
187
  object.each do |entry, value|
188
188
  entry = entry.to_s
189
189
  unless entry == 'xsi_type'
190
- if @api.config.read('service.use_ruby_names')
190
+ if @api.config.read('service.use_ruby_names', true)
191
191
  entry = camel_case(entry)
192
192
  end
193
193
  if value.is_a? Hash
@@ -238,7 +238,7 @@
238
238
  if object.respond_to? property and !property.include?('_Type')
239
239
  value = object.send(property)
240
240
  property_name = nil
241
- if @api.config.read('service.use_ruby_names')
241
+ if @api.config.read('service.use_ruby_names', true)
242
242
  property_name = underscore(property).to_sym
243
243
  else
244
244
  property_name = property.to_sym
@@ -7,7 +7,7 @@ module V201101
7
7
  module ExperimentService
8
8
 
9
9
  class ExperimentServiceInterface < ::SOAP::RPC::Driver
10
- DefaultEndpointUrl = "https://adwords.google.com:443/api/adwords/cm/v201101/ExperimentService"
10
+ DefaultEndpointUrl = "https://adwords.google.com/api/adwords/cm/v201101/ExperimentService"
11
11
 
12
12
  Methods = [
13
13
  [ "",
@@ -16,7 +16,7 @@ class ExperimentServiceInterface < ::SOAP::RPC::Driver
16
16
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201101", "getResponse"]] ],
17
17
  { :request_style => :document, :request_use => :literal,
18
18
  :response_style => :document, :response_use => :literal,
19
- :faults => {"AdwordsApi::V201101::ExperimentService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201101", :name=>"ApiException"}} }
19
+ :faults => {"AdwordsApi::V201101::ExperimentService::ApiException"=>{:ns=>"https://adwords.google.com/api/adwords/cm/v201101", :use=>"literal", :encodingstyle=>"document", :name=>"ApiException", :namespace=>nil}} }
20
20
  ],
21
21
  [ "",
22
22
  "mutate",
@@ -24,7 +24,7 @@ class ExperimentServiceInterface < ::SOAP::RPC::Driver
24
24
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201101", "mutateResponse"]] ],
25
25
  { :request_style => :document, :request_use => :literal,
26
26
  :response_style => :document, :response_use => :literal,
27
- :faults => {"AdwordsApi::V201101::ExperimentService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201101", :name=>"ApiException"}} }
27
+ :faults => {"AdwordsApi::V201101::ExperimentService::ApiException"=>{:ns=>"https://adwords.google.com/api/adwords/cm/v201101", :use=>"literal", :encodingstyle=>"document", :name=>"ApiException", :namespace=>nil}} }
28
28
  ]
29
29
  ]
30
30
 
@@ -187,7 +187,7 @@
187
187
  object.each do |entry, value|
188
188
  entry = entry.to_s
189
189
  unless entry == 'xsi_type'
190
- if @api.config.read('service.use_ruby_names')
190
+ if @api.config.read('service.use_ruby_names', true)
191
191
  entry = camel_case(entry)
192
192
  end
193
193
  if value.is_a? Hash
@@ -238,7 +238,7 @@
238
238
  if object.respond_to? property and !property.include?('_Type')
239
239
  value = object.send(property)
240
240
  property_name = nil
241
- if @api.config.read('service.use_ruby_names')
241
+ if @api.config.read('service.use_ruby_names', true)
242
242
  property_name = underscore(property).to_sym
243
243
  else
244
244
  property_name = property.to_sym
@@ -7,7 +7,7 @@ module V201101
7
7
  module GeoLocationService
8
8
 
9
9
  class GeoLocationServiceInterface < ::SOAP::RPC::Driver
10
- DefaultEndpointUrl = "https://adwords.google.com:443/api/adwords/cm/v201101/GeoLocationService"
10
+ DefaultEndpointUrl = "https://adwords.google.com/api/adwords/cm/v201101/GeoLocationService"
11
11
 
12
12
  Methods = [
13
13
  [ "",
@@ -16,7 +16,7 @@ class GeoLocationServiceInterface < ::SOAP::RPC::Driver
16
16
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201101", "getResponse"]] ],
17
17
  { :request_style => :document, :request_use => :literal,
18
18
  :response_style => :document, :response_use => :literal,
19
- :faults => {"AdwordsApi::V201101::GeoLocationService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201101", :name=>"ApiException"}} }
19
+ :faults => {"AdwordsApi::V201101::GeoLocationService::ApiException"=>{:ns=>"https://adwords.google.com/api/adwords/cm/v201101", :use=>"literal", :encodingstyle=>"document", :name=>"ApiException", :namespace=>nil}} }
20
20
  ]
21
21
  ]
22
22
 
@@ -187,7 +187,7 @@
187
187
  object.each do |entry, value|
188
188
  entry = entry.to_s
189
189
  unless entry == 'xsi_type'
190
- if @api.config.read('service.use_ruby_names')
190
+ if @api.config.read('service.use_ruby_names', true)
191
191
  entry = camel_case(entry)
192
192
  end
193
193
  if value.is_a? Hash
@@ -238,7 +238,7 @@
238
238
  if object.respond_to? property and !property.include?('_Type')
239
239
  value = object.send(property)
240
240
  property_name = nil
241
- if @api.config.read('service.use_ruby_names')
241
+ if @api.config.read('service.use_ruby_names', true)
242
242
  property_name = underscore(property).to_sym
243
243
  else
244
244
  property_name = property.to_sym
File without changes
@@ -7,7 +7,7 @@ module V201101
7
7
  module InfoService
8
8
 
9
9
  class InfoServiceInterface < ::SOAP::RPC::Driver
10
- DefaultEndpointUrl = "https://adwords.google.com:443/api/adwords/info/v201101/InfoService"
10
+ DefaultEndpointUrl = "https://adwords.google.com/api/adwords/info/v201101/InfoService"
11
11
 
12
12
  Methods = [
13
13
  [ "",
@@ -16,7 +16,7 @@ class InfoServiceInterface < ::SOAP::RPC::Driver
16
16
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/info/v201101", "getResponse"]] ],
17
17
  { :request_style => :document, :request_use => :literal,
18
18
  :response_style => :document, :response_use => :literal,
19
- :faults => {"AdwordsApi::V201101::InfoService::ApiException_"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/info/v201101", :name=>"ApiException"}} }
19
+ :faults => {"AdwordsApi::V201101::InfoService::ApiException_"=>{:ns=>"https://adwords.google.com/api/adwords/info/v201101", :use=>"literal", :encodingstyle=>"document", :name=>"ApiException", :namespace=>nil}} }
20
20
  ]
21
21
  ]
22
22
 
@@ -187,7 +187,7 @@
187
187
  object.each do |entry, value|
188
188
  entry = entry.to_s
189
189
  unless entry == 'xsi_type'
190
- if @api.config.read('service.use_ruby_names')
190
+ if @api.config.read('service.use_ruby_names', true)
191
191
  entry = camel_case(entry)
192
192
  end
193
193
  if value.is_a? Hash
@@ -238,7 +238,7 @@
238
238
  if object.respond_to? property and !property.include?('_Type')
239
239
  value = object.send(property)
240
240
  property_name = nil
241
- if @api.config.read('service.use_ruby_names')
241
+ if @api.config.read('service.use_ruby_names', true)
242
242
  property_name = underscore(property).to_sym
243
243
  else
244
244
  property_name = property.to_sym
@@ -144,209 +144,6 @@ class SoapResponseHeader
144
144
  end
145
145
  end
146
146
 
147
- # Media
148
- # - mediaId - SOAP::SOAPLong
149
- # - type - AdwordsApi::V201101::MediaService::MediaMediaType
150
- # - referenceId - SOAP::SOAPLong
151
- # - dimensions - AdwordsApi::V201101::MediaService::Media_Size_DimensionsMapEntry
152
- # - urls - AdwordsApi::V201101::MediaService::Media_Size_StringMapEntry
153
- # - mimeType - AdwordsApi::V201101::MediaService::MediaMimeType
154
- # - sourceUrl - SOAP::SOAPString
155
- # - name - SOAP::SOAPString
156
- # - fileSize - SOAP::SOAPLong
157
- # - creationTime - SOAP::SOAPString
158
- # - media_Type - SOAP::SOAPString
159
- class Media
160
- attr_accessor :mediaId
161
- attr_accessor :type
162
- attr_accessor :referenceId
163
- attr_accessor :dimensions
164
- attr_accessor :urls
165
- attr_accessor :mimeType
166
- attr_accessor :sourceUrl
167
- attr_accessor :name
168
- attr_accessor :fileSize
169
- attr_accessor :creationTime
170
- attr_accessor :media_Type
171
-
172
- def initialize(mediaId = nil, type = nil, referenceId = nil, dimensions = [], urls = [], mimeType = nil, sourceUrl = nil, name = nil, fileSize = nil, creationTime = nil, media_Type = nil)
173
- @mediaId = mediaId
174
- @type = type
175
- @referenceId = referenceId
176
- @dimensions = dimensions
177
- @urls = urls
178
- @mimeType = mimeType
179
- @sourceUrl = sourceUrl
180
- @name = name
181
- @fileSize = fileSize
182
- @creationTime = creationTime
183
- @media_Type = media_Type
184
- end
185
- end
186
-
187
- # Audio
188
- # - mediaId - SOAP::SOAPLong
189
- # - type - AdwordsApi::V201101::MediaService::MediaMediaType
190
- # - referenceId - SOAP::SOAPLong
191
- # - dimensions - AdwordsApi::V201101::MediaService::Media_Size_DimensionsMapEntry
192
- # - urls - AdwordsApi::V201101::MediaService::Media_Size_StringMapEntry
193
- # - mimeType - AdwordsApi::V201101::MediaService::MediaMimeType
194
- # - sourceUrl - SOAP::SOAPString
195
- # - name - SOAP::SOAPString
196
- # - fileSize - SOAP::SOAPLong
197
- # - creationTime - SOAP::SOAPString
198
- # - media_Type - SOAP::SOAPString
199
- # - durationMillis - SOAP::SOAPLong
200
- # - streamingUrl - SOAP::SOAPString
201
- # - readyToPlayOnTheWeb - SOAP::SOAPBoolean
202
- class Audio < Media
203
- attr_accessor :mediaId
204
- attr_accessor :type
205
- attr_accessor :referenceId
206
- attr_accessor :dimensions
207
- attr_accessor :urls
208
- attr_accessor :mimeType
209
- attr_accessor :sourceUrl
210
- attr_accessor :name
211
- attr_accessor :fileSize
212
- attr_accessor :creationTime
213
- attr_accessor :media_Type
214
- attr_accessor :durationMillis
215
- attr_accessor :streamingUrl
216
- attr_accessor :readyToPlayOnTheWeb
217
-
218
- def initialize(mediaId = nil, type = nil, referenceId = nil, dimensions = [], urls = [], mimeType = nil, sourceUrl = nil, name = nil, fileSize = nil, creationTime = nil, media_Type = nil, durationMillis = nil, streamingUrl = nil, readyToPlayOnTheWeb = nil)
219
- @mediaId = mediaId
220
- @type = type
221
- @referenceId = referenceId
222
- @dimensions = dimensions
223
- @urls = urls
224
- @mimeType = mimeType
225
- @sourceUrl = sourceUrl
226
- @name = name
227
- @fileSize = fileSize
228
- @creationTime = creationTime
229
- @media_Type = media_Type
230
- @durationMillis = durationMillis
231
- @streamingUrl = streamingUrl
232
- @readyToPlayOnTheWeb = readyToPlayOnTheWeb
233
- end
234
- end
235
-
236
- # Image
237
- # - mediaId - SOAP::SOAPLong
238
- # - type - AdwordsApi::V201101::MediaService::MediaMediaType
239
- # - referenceId - SOAP::SOAPLong
240
- # - dimensions - AdwordsApi::V201101::MediaService::Media_Size_DimensionsMapEntry
241
- # - urls - AdwordsApi::V201101::MediaService::Media_Size_StringMapEntry
242
- # - mimeType - AdwordsApi::V201101::MediaService::MediaMimeType
243
- # - sourceUrl - SOAP::SOAPString
244
- # - name - SOAP::SOAPString
245
- # - fileSize - SOAP::SOAPLong
246
- # - creationTime - SOAP::SOAPString
247
- # - media_Type - SOAP::SOAPString
248
- # - data - SOAP::SOAPBase64
249
- class Image < Media
250
- attr_accessor :mediaId
251
- attr_accessor :type
252
- attr_accessor :referenceId
253
- attr_accessor :dimensions
254
- attr_accessor :urls
255
- attr_accessor :mimeType
256
- attr_accessor :sourceUrl
257
- attr_accessor :name
258
- attr_accessor :fileSize
259
- attr_accessor :creationTime
260
- attr_accessor :media_Type
261
- attr_accessor :data
262
-
263
- def initialize(mediaId = nil, type = nil, referenceId = nil, dimensions = [], urls = [], mimeType = nil, sourceUrl = nil, name = nil, fileSize = nil, creationTime = nil, media_Type = nil, data = nil)
264
- @mediaId = mediaId
265
- @type = type
266
- @referenceId = referenceId
267
- @dimensions = dimensions
268
- @urls = urls
269
- @mimeType = mimeType
270
- @sourceUrl = sourceUrl
271
- @name = name
272
- @fileSize = fileSize
273
- @creationTime = creationTime
274
- @media_Type = media_Type
275
- @data = data
276
- end
277
- end
278
-
279
- # Video
280
- # - mediaId - SOAP::SOAPLong
281
- # - type - AdwordsApi::V201101::MediaService::MediaMediaType
282
- # - referenceId - SOAP::SOAPLong
283
- # - dimensions - AdwordsApi::V201101::MediaService::Media_Size_DimensionsMapEntry
284
- # - urls - AdwordsApi::V201101::MediaService::Media_Size_StringMapEntry
285
- # - mimeType - AdwordsApi::V201101::MediaService::MediaMimeType
286
- # - sourceUrl - SOAP::SOAPString
287
- # - name - SOAP::SOAPString
288
- # - fileSize - SOAP::SOAPLong
289
- # - creationTime - SOAP::SOAPString
290
- # - media_Type - SOAP::SOAPString
291
- # - durationMillis - SOAP::SOAPLong
292
- # - streamingUrl - SOAP::SOAPString
293
- # - readyToPlayOnTheWeb - SOAP::SOAPBoolean
294
- # - industryStandardCommercialIdentifier - SOAP::SOAPString
295
- # - advertisingId - SOAP::SOAPString
296
- # - youTubeVideoIdString - SOAP::SOAPString
297
- class Video < Media
298
- attr_accessor :mediaId
299
- attr_accessor :type
300
- attr_accessor :referenceId
301
- attr_accessor :dimensions
302
- attr_accessor :urls
303
- attr_accessor :mimeType
304
- attr_accessor :sourceUrl
305
- attr_accessor :name
306
- attr_accessor :fileSize
307
- attr_accessor :creationTime
308
- attr_accessor :media_Type
309
- attr_accessor :durationMillis
310
- attr_accessor :streamingUrl
311
- attr_accessor :readyToPlayOnTheWeb
312
- attr_accessor :industryStandardCommercialIdentifier
313
- attr_accessor :advertisingId
314
- attr_accessor :youTubeVideoIdString
315
-
316
- def initialize(mediaId = nil, type = nil, referenceId = nil, dimensions = [], urls = [], mimeType = nil, sourceUrl = nil, name = nil, fileSize = nil, creationTime = nil, media_Type = nil, durationMillis = nil, streamingUrl = nil, readyToPlayOnTheWeb = nil, industryStandardCommercialIdentifier = nil, advertisingId = nil, youTubeVideoIdString = nil)
317
- @mediaId = mediaId
318
- @type = type
319
- @referenceId = referenceId
320
- @dimensions = dimensions
321
- @urls = urls
322
- @mimeType = mimeType
323
- @sourceUrl = sourceUrl
324
- @name = name
325
- @fileSize = fileSize
326
- @creationTime = creationTime
327
- @media_Type = media_Type
328
- @durationMillis = durationMillis
329
- @streamingUrl = streamingUrl
330
- @readyToPlayOnTheWeb = readyToPlayOnTheWeb
331
- @industryStandardCommercialIdentifier = industryStandardCommercialIdentifier
332
- @advertisingId = advertisingId
333
- @youTubeVideoIdString = youTubeVideoIdString
334
- end
335
- end
336
-
337
- # MediaPage
338
- # - entries - AdwordsApi::V201101::MediaService::Media
339
- # - totalNumEntries - SOAP::SOAPInt
340
- class MediaPage
341
- attr_accessor :entries
342
- attr_accessor :totalNumEntries
343
-
344
- def initialize(entries = [], totalNumEntries = nil)
345
- @entries = entries
346
- @totalNumEntries = totalNumEntries
347
- end
348
- end
349
-
350
147
  # Selector
351
148
  # - fields - SOAP::SOAPString
352
149
  # - predicates - AdwordsApi::V201101::MediaService::Predicate
@@ -911,6 +708,209 @@ class ApiException < ApplicationException
911
708
  end
912
709
  end
913
710
 
711
+ # Media
712
+ # - mediaId - SOAP::SOAPLong
713
+ # - type - AdwordsApi::V201101::MediaService::MediaMediaType
714
+ # - referenceId - SOAP::SOAPLong
715
+ # - dimensions - AdwordsApi::V201101::MediaService::Media_Size_DimensionsMapEntry
716
+ # - urls - AdwordsApi::V201101::MediaService::Media_Size_StringMapEntry
717
+ # - mimeType - AdwordsApi::V201101::MediaService::MediaMimeType
718
+ # - sourceUrl - SOAP::SOAPString
719
+ # - name - SOAP::SOAPString
720
+ # - fileSize - SOAP::SOAPLong
721
+ # - creationTime - SOAP::SOAPString
722
+ # - media_Type - SOAP::SOAPString
723
+ class Media
724
+ attr_accessor :mediaId
725
+ attr_accessor :type
726
+ attr_accessor :referenceId
727
+ attr_accessor :dimensions
728
+ attr_accessor :urls
729
+ attr_accessor :mimeType
730
+ attr_accessor :sourceUrl
731
+ attr_accessor :name
732
+ attr_accessor :fileSize
733
+ attr_accessor :creationTime
734
+ attr_accessor :media_Type
735
+
736
+ def initialize(mediaId = nil, type = nil, referenceId = nil, dimensions = [], urls = [], mimeType = nil, sourceUrl = nil, name = nil, fileSize = nil, creationTime = nil, media_Type = nil)
737
+ @mediaId = mediaId
738
+ @type = type
739
+ @referenceId = referenceId
740
+ @dimensions = dimensions
741
+ @urls = urls
742
+ @mimeType = mimeType
743
+ @sourceUrl = sourceUrl
744
+ @name = name
745
+ @fileSize = fileSize
746
+ @creationTime = creationTime
747
+ @media_Type = media_Type
748
+ end
749
+ end
750
+
751
+ # Audio
752
+ # - mediaId - SOAP::SOAPLong
753
+ # - type - AdwordsApi::V201101::MediaService::MediaMediaType
754
+ # - referenceId - SOAP::SOAPLong
755
+ # - dimensions - AdwordsApi::V201101::MediaService::Media_Size_DimensionsMapEntry
756
+ # - urls - AdwordsApi::V201101::MediaService::Media_Size_StringMapEntry
757
+ # - mimeType - AdwordsApi::V201101::MediaService::MediaMimeType
758
+ # - sourceUrl - SOAP::SOAPString
759
+ # - name - SOAP::SOAPString
760
+ # - fileSize - SOAP::SOAPLong
761
+ # - creationTime - SOAP::SOAPString
762
+ # - media_Type - SOAP::SOAPString
763
+ # - durationMillis - SOAP::SOAPLong
764
+ # - streamingUrl - SOAP::SOAPString
765
+ # - readyToPlayOnTheWeb - SOAP::SOAPBoolean
766
+ class Audio < Media
767
+ attr_accessor :mediaId
768
+ attr_accessor :type
769
+ attr_accessor :referenceId
770
+ attr_accessor :dimensions
771
+ attr_accessor :urls
772
+ attr_accessor :mimeType
773
+ attr_accessor :sourceUrl
774
+ attr_accessor :name
775
+ attr_accessor :fileSize
776
+ attr_accessor :creationTime
777
+ attr_accessor :media_Type
778
+ attr_accessor :durationMillis
779
+ attr_accessor :streamingUrl
780
+ attr_accessor :readyToPlayOnTheWeb
781
+
782
+ def initialize(mediaId = nil, type = nil, referenceId = nil, dimensions = [], urls = [], mimeType = nil, sourceUrl = nil, name = nil, fileSize = nil, creationTime = nil, media_Type = nil, durationMillis = nil, streamingUrl = nil, readyToPlayOnTheWeb = nil)
783
+ @mediaId = mediaId
784
+ @type = type
785
+ @referenceId = referenceId
786
+ @dimensions = dimensions
787
+ @urls = urls
788
+ @mimeType = mimeType
789
+ @sourceUrl = sourceUrl
790
+ @name = name
791
+ @fileSize = fileSize
792
+ @creationTime = creationTime
793
+ @media_Type = media_Type
794
+ @durationMillis = durationMillis
795
+ @streamingUrl = streamingUrl
796
+ @readyToPlayOnTheWeb = readyToPlayOnTheWeb
797
+ end
798
+ end
799
+
800
+ # Image
801
+ # - mediaId - SOAP::SOAPLong
802
+ # - type - AdwordsApi::V201101::MediaService::MediaMediaType
803
+ # - referenceId - SOAP::SOAPLong
804
+ # - dimensions - AdwordsApi::V201101::MediaService::Media_Size_DimensionsMapEntry
805
+ # - urls - AdwordsApi::V201101::MediaService::Media_Size_StringMapEntry
806
+ # - mimeType - AdwordsApi::V201101::MediaService::MediaMimeType
807
+ # - sourceUrl - SOAP::SOAPString
808
+ # - name - SOAP::SOAPString
809
+ # - fileSize - SOAP::SOAPLong
810
+ # - creationTime - SOAP::SOAPString
811
+ # - media_Type - SOAP::SOAPString
812
+ # - data - SOAP::SOAPBase64
813
+ class Image < Media
814
+ attr_accessor :mediaId
815
+ attr_accessor :type
816
+ attr_accessor :referenceId
817
+ attr_accessor :dimensions
818
+ attr_accessor :urls
819
+ attr_accessor :mimeType
820
+ attr_accessor :sourceUrl
821
+ attr_accessor :name
822
+ attr_accessor :fileSize
823
+ attr_accessor :creationTime
824
+ attr_accessor :media_Type
825
+ attr_accessor :data
826
+
827
+ def initialize(mediaId = nil, type = nil, referenceId = nil, dimensions = [], urls = [], mimeType = nil, sourceUrl = nil, name = nil, fileSize = nil, creationTime = nil, media_Type = nil, data = nil)
828
+ @mediaId = mediaId
829
+ @type = type
830
+ @referenceId = referenceId
831
+ @dimensions = dimensions
832
+ @urls = urls
833
+ @mimeType = mimeType
834
+ @sourceUrl = sourceUrl
835
+ @name = name
836
+ @fileSize = fileSize
837
+ @creationTime = creationTime
838
+ @media_Type = media_Type
839
+ @data = data
840
+ end
841
+ end
842
+
843
+ # Video
844
+ # - mediaId - SOAP::SOAPLong
845
+ # - type - AdwordsApi::V201101::MediaService::MediaMediaType
846
+ # - referenceId - SOAP::SOAPLong
847
+ # - dimensions - AdwordsApi::V201101::MediaService::Media_Size_DimensionsMapEntry
848
+ # - urls - AdwordsApi::V201101::MediaService::Media_Size_StringMapEntry
849
+ # - mimeType - AdwordsApi::V201101::MediaService::MediaMimeType
850
+ # - sourceUrl - SOAP::SOAPString
851
+ # - name - SOAP::SOAPString
852
+ # - fileSize - SOAP::SOAPLong
853
+ # - creationTime - SOAP::SOAPString
854
+ # - media_Type - SOAP::SOAPString
855
+ # - durationMillis - SOAP::SOAPLong
856
+ # - streamingUrl - SOAP::SOAPString
857
+ # - readyToPlayOnTheWeb - SOAP::SOAPBoolean
858
+ # - industryStandardCommercialIdentifier - SOAP::SOAPString
859
+ # - advertisingId - SOAP::SOAPString
860
+ # - youTubeVideoIdString - SOAP::SOAPString
861
+ class Video < Media
862
+ attr_accessor :mediaId
863
+ attr_accessor :type
864
+ attr_accessor :referenceId
865
+ attr_accessor :dimensions
866
+ attr_accessor :urls
867
+ attr_accessor :mimeType
868
+ attr_accessor :sourceUrl
869
+ attr_accessor :name
870
+ attr_accessor :fileSize
871
+ attr_accessor :creationTime
872
+ attr_accessor :media_Type
873
+ attr_accessor :durationMillis
874
+ attr_accessor :streamingUrl
875
+ attr_accessor :readyToPlayOnTheWeb
876
+ attr_accessor :industryStandardCommercialIdentifier
877
+ attr_accessor :advertisingId
878
+ attr_accessor :youTubeVideoIdString
879
+
880
+ def initialize(mediaId = nil, type = nil, referenceId = nil, dimensions = [], urls = [], mimeType = nil, sourceUrl = nil, name = nil, fileSize = nil, creationTime = nil, media_Type = nil, durationMillis = nil, streamingUrl = nil, readyToPlayOnTheWeb = nil, industryStandardCommercialIdentifier = nil, advertisingId = nil, youTubeVideoIdString = nil)
881
+ @mediaId = mediaId
882
+ @type = type
883
+ @referenceId = referenceId
884
+ @dimensions = dimensions
885
+ @urls = urls
886
+ @mimeType = mimeType
887
+ @sourceUrl = sourceUrl
888
+ @name = name
889
+ @fileSize = fileSize
890
+ @creationTime = creationTime
891
+ @media_Type = media_Type
892
+ @durationMillis = durationMillis
893
+ @streamingUrl = streamingUrl
894
+ @readyToPlayOnTheWeb = readyToPlayOnTheWeb
895
+ @industryStandardCommercialIdentifier = industryStandardCommercialIdentifier
896
+ @advertisingId = advertisingId
897
+ @youTubeVideoIdString = youTubeVideoIdString
898
+ end
899
+ end
900
+
901
+ # MediaPage
902
+ # - entries - AdwordsApi::V201101::MediaService::Media
903
+ # - totalNumEntries - SOAP::SOAPInt
904
+ class MediaPage
905
+ attr_accessor :entries
906
+ attr_accessor :totalNumEntries
907
+
908
+ def initialize(entries = [], totalNumEntries = nil)
909
+ @entries = entries
910
+ @totalNumEntries = totalNumEntries
911
+ end
912
+ end
913
+
914
914
  # AudioError.Reason
915
915
  class AudioErrorReason < ::String
916
916
  ERROR_GENERATING_STREAMING_URL = AudioErrorReason.new("ERROR_GENERATING_STREAMING_URL")