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
@@ -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 V201008
7
7
  module InfoService
8
8
 
9
9
  class InfoServiceInterface < ::SOAP::RPC::Driver
10
- DefaultEndpointUrl = "https://adwords.google.com:443/api/adwords/info/v201008/InfoService"
10
+ DefaultEndpointUrl = "https://adwords.google.com/api/adwords/info/v201008/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/v201008", "getResponse"]] ],
17
17
  { :request_style => :document, :request_use => :literal,
18
18
  :response_style => :document, :response_use => :literal,
19
- :faults => {"AdwordsApi::V201008::InfoService::ApiException_"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/info/v201008", :name=>"ApiException"}} }
19
+ :faults => {"AdwordsApi::V201008::InfoService::ApiException_"=>{:ns=>"https://adwords.google.com/api/adwords/info/v201008", :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
@@ -89,209 +89,6 @@ class SoapResponseHeader
89
89
  end
90
90
  end
91
91
 
92
- # Media
93
- # - mediaId - SOAP::SOAPLong
94
- # - type - AdwordsApi::V201008::MediaService::MediaMediaType
95
- # - referenceId - SOAP::SOAPLong
96
- # - dimensions - AdwordsApi::V201008::MediaService::Media_Size_DimensionsMapEntry
97
- # - urls - AdwordsApi::V201008::MediaService::Media_Size_StringMapEntry
98
- # - mimeType - AdwordsApi::V201008::MediaService::MediaMimeType
99
- # - sourceUrl - SOAP::SOAPString
100
- # - name - SOAP::SOAPString
101
- # - fileSize - SOAP::SOAPLong
102
- # - creationTime - SOAP::SOAPString
103
- # - media_Type - SOAP::SOAPString
104
- class Media
105
- attr_accessor :mediaId
106
- attr_accessor :type
107
- attr_accessor :referenceId
108
- attr_accessor :dimensions
109
- attr_accessor :urls
110
- attr_accessor :mimeType
111
- attr_accessor :sourceUrl
112
- attr_accessor :name
113
- attr_accessor :fileSize
114
- attr_accessor :creationTime
115
- attr_accessor :media_Type
116
-
117
- def initialize(mediaId = nil, type = nil, referenceId = nil, dimensions = [], urls = [], mimeType = nil, sourceUrl = nil, name = nil, fileSize = nil, creationTime = nil, media_Type = nil)
118
- @mediaId = mediaId
119
- @type = type
120
- @referenceId = referenceId
121
- @dimensions = dimensions
122
- @urls = urls
123
- @mimeType = mimeType
124
- @sourceUrl = sourceUrl
125
- @name = name
126
- @fileSize = fileSize
127
- @creationTime = creationTime
128
- @media_Type = media_Type
129
- end
130
- end
131
-
132
- # Audio
133
- # - mediaId - SOAP::SOAPLong
134
- # - type - AdwordsApi::V201008::MediaService::MediaMediaType
135
- # - referenceId - SOAP::SOAPLong
136
- # - dimensions - AdwordsApi::V201008::MediaService::Media_Size_DimensionsMapEntry
137
- # - urls - AdwordsApi::V201008::MediaService::Media_Size_StringMapEntry
138
- # - mimeType - AdwordsApi::V201008::MediaService::MediaMimeType
139
- # - sourceUrl - SOAP::SOAPString
140
- # - name - SOAP::SOAPString
141
- # - fileSize - SOAP::SOAPLong
142
- # - creationTime - SOAP::SOAPString
143
- # - media_Type - SOAP::SOAPString
144
- # - durationMillis - SOAP::SOAPLong
145
- # - streamingUrl - SOAP::SOAPString
146
- # - readyToPlayOnTheWeb - SOAP::SOAPBoolean
147
- class Audio < Media
148
- attr_accessor :mediaId
149
- attr_accessor :type
150
- attr_accessor :referenceId
151
- attr_accessor :dimensions
152
- attr_accessor :urls
153
- attr_accessor :mimeType
154
- attr_accessor :sourceUrl
155
- attr_accessor :name
156
- attr_accessor :fileSize
157
- attr_accessor :creationTime
158
- attr_accessor :media_Type
159
- attr_accessor :durationMillis
160
- attr_accessor :streamingUrl
161
- attr_accessor :readyToPlayOnTheWeb
162
-
163
- 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)
164
- @mediaId = mediaId
165
- @type = type
166
- @referenceId = referenceId
167
- @dimensions = dimensions
168
- @urls = urls
169
- @mimeType = mimeType
170
- @sourceUrl = sourceUrl
171
- @name = name
172
- @fileSize = fileSize
173
- @creationTime = creationTime
174
- @media_Type = media_Type
175
- @durationMillis = durationMillis
176
- @streamingUrl = streamingUrl
177
- @readyToPlayOnTheWeb = readyToPlayOnTheWeb
178
- end
179
- end
180
-
181
- # Image
182
- # - mediaId - SOAP::SOAPLong
183
- # - type - AdwordsApi::V201008::MediaService::MediaMediaType
184
- # - referenceId - SOAP::SOAPLong
185
- # - dimensions - AdwordsApi::V201008::MediaService::Media_Size_DimensionsMapEntry
186
- # - urls - AdwordsApi::V201008::MediaService::Media_Size_StringMapEntry
187
- # - mimeType - AdwordsApi::V201008::MediaService::MediaMimeType
188
- # - sourceUrl - SOAP::SOAPString
189
- # - name - SOAP::SOAPString
190
- # - fileSize - SOAP::SOAPLong
191
- # - creationTime - SOAP::SOAPString
192
- # - media_Type - SOAP::SOAPString
193
- # - data - SOAP::SOAPBase64
194
- class Image < Media
195
- attr_accessor :mediaId
196
- attr_accessor :type
197
- attr_accessor :referenceId
198
- attr_accessor :dimensions
199
- attr_accessor :urls
200
- attr_accessor :mimeType
201
- attr_accessor :sourceUrl
202
- attr_accessor :name
203
- attr_accessor :fileSize
204
- attr_accessor :creationTime
205
- attr_accessor :media_Type
206
- attr_accessor :data
207
-
208
- 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)
209
- @mediaId = mediaId
210
- @type = type
211
- @referenceId = referenceId
212
- @dimensions = dimensions
213
- @urls = urls
214
- @mimeType = mimeType
215
- @sourceUrl = sourceUrl
216
- @name = name
217
- @fileSize = fileSize
218
- @creationTime = creationTime
219
- @media_Type = media_Type
220
- @data = data
221
- end
222
- end
223
-
224
- # Video
225
- # - mediaId - SOAP::SOAPLong
226
- # - type - AdwordsApi::V201008::MediaService::MediaMediaType
227
- # - referenceId - SOAP::SOAPLong
228
- # - dimensions - AdwordsApi::V201008::MediaService::Media_Size_DimensionsMapEntry
229
- # - urls - AdwordsApi::V201008::MediaService::Media_Size_StringMapEntry
230
- # - mimeType - AdwordsApi::V201008::MediaService::MediaMimeType
231
- # - sourceUrl - SOAP::SOAPString
232
- # - name - SOAP::SOAPString
233
- # - fileSize - SOAP::SOAPLong
234
- # - creationTime - SOAP::SOAPString
235
- # - media_Type - SOAP::SOAPString
236
- # - durationMillis - SOAP::SOAPLong
237
- # - streamingUrl - SOAP::SOAPString
238
- # - readyToPlayOnTheWeb - SOAP::SOAPBoolean
239
- # - industryStandardCommercialIdentifier - SOAP::SOAPString
240
- # - advertisingId - SOAP::SOAPString
241
- # - youTubeVideoIdString - SOAP::SOAPString
242
- class Video < Media
243
- attr_accessor :mediaId
244
- attr_accessor :type
245
- attr_accessor :referenceId
246
- attr_accessor :dimensions
247
- attr_accessor :urls
248
- attr_accessor :mimeType
249
- attr_accessor :sourceUrl
250
- attr_accessor :name
251
- attr_accessor :fileSize
252
- attr_accessor :creationTime
253
- attr_accessor :media_Type
254
- attr_accessor :durationMillis
255
- attr_accessor :streamingUrl
256
- attr_accessor :readyToPlayOnTheWeb
257
- attr_accessor :industryStandardCommercialIdentifier
258
- attr_accessor :advertisingId
259
- attr_accessor :youTubeVideoIdString
260
-
261
- 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)
262
- @mediaId = mediaId
263
- @type = type
264
- @referenceId = referenceId
265
- @dimensions = dimensions
266
- @urls = urls
267
- @mimeType = mimeType
268
- @sourceUrl = sourceUrl
269
- @name = name
270
- @fileSize = fileSize
271
- @creationTime = creationTime
272
- @media_Type = media_Type
273
- @durationMillis = durationMillis
274
- @streamingUrl = streamingUrl
275
- @readyToPlayOnTheWeb = readyToPlayOnTheWeb
276
- @industryStandardCommercialIdentifier = industryStandardCommercialIdentifier
277
- @advertisingId = advertisingId
278
- @youTubeVideoIdString = youTubeVideoIdString
279
- end
280
- end
281
-
282
- # MediaPage
283
- # - entries - AdwordsApi::V201008::MediaService::Media
284
- # - totalNumEntries - SOAP::SOAPInt
285
- class MediaPage
286
- attr_accessor :entries
287
- attr_accessor :totalNumEntries
288
-
289
- def initialize(entries = [], totalNumEntries = nil)
290
- @entries = entries
291
- @totalNumEntries = totalNumEntries
292
- end
293
- end
294
-
295
92
  # MediaSelector
296
93
  # - mediaType - AdwordsApi::V201008::MediaService::MediaMediaType
297
94
  # - mediaIds - SOAP::SOAPLong
@@ -840,6 +637,209 @@ class ApiException < ApplicationException
840
637
  end
841
638
  end
842
639
 
640
+ # Media
641
+ # - mediaId - SOAP::SOAPLong
642
+ # - type - AdwordsApi::V201008::MediaService::MediaMediaType
643
+ # - referenceId - SOAP::SOAPLong
644
+ # - dimensions - AdwordsApi::V201008::MediaService::Media_Size_DimensionsMapEntry
645
+ # - urls - AdwordsApi::V201008::MediaService::Media_Size_StringMapEntry
646
+ # - mimeType - AdwordsApi::V201008::MediaService::MediaMimeType
647
+ # - sourceUrl - SOAP::SOAPString
648
+ # - name - SOAP::SOAPString
649
+ # - fileSize - SOAP::SOAPLong
650
+ # - creationTime - SOAP::SOAPString
651
+ # - media_Type - SOAP::SOAPString
652
+ class Media
653
+ attr_accessor :mediaId
654
+ attr_accessor :type
655
+ attr_accessor :referenceId
656
+ attr_accessor :dimensions
657
+ attr_accessor :urls
658
+ attr_accessor :mimeType
659
+ attr_accessor :sourceUrl
660
+ attr_accessor :name
661
+ attr_accessor :fileSize
662
+ attr_accessor :creationTime
663
+ attr_accessor :media_Type
664
+
665
+ def initialize(mediaId = nil, type = nil, referenceId = nil, dimensions = [], urls = [], mimeType = nil, sourceUrl = nil, name = nil, fileSize = nil, creationTime = nil, media_Type = nil)
666
+ @mediaId = mediaId
667
+ @type = type
668
+ @referenceId = referenceId
669
+ @dimensions = dimensions
670
+ @urls = urls
671
+ @mimeType = mimeType
672
+ @sourceUrl = sourceUrl
673
+ @name = name
674
+ @fileSize = fileSize
675
+ @creationTime = creationTime
676
+ @media_Type = media_Type
677
+ end
678
+ end
679
+
680
+ # Audio
681
+ # - mediaId - SOAP::SOAPLong
682
+ # - type - AdwordsApi::V201008::MediaService::MediaMediaType
683
+ # - referenceId - SOAP::SOAPLong
684
+ # - dimensions - AdwordsApi::V201008::MediaService::Media_Size_DimensionsMapEntry
685
+ # - urls - AdwordsApi::V201008::MediaService::Media_Size_StringMapEntry
686
+ # - mimeType - AdwordsApi::V201008::MediaService::MediaMimeType
687
+ # - sourceUrl - SOAP::SOAPString
688
+ # - name - SOAP::SOAPString
689
+ # - fileSize - SOAP::SOAPLong
690
+ # - creationTime - SOAP::SOAPString
691
+ # - media_Type - SOAP::SOAPString
692
+ # - durationMillis - SOAP::SOAPLong
693
+ # - streamingUrl - SOAP::SOAPString
694
+ # - readyToPlayOnTheWeb - SOAP::SOAPBoolean
695
+ class Audio < Media
696
+ attr_accessor :mediaId
697
+ attr_accessor :type
698
+ attr_accessor :referenceId
699
+ attr_accessor :dimensions
700
+ attr_accessor :urls
701
+ attr_accessor :mimeType
702
+ attr_accessor :sourceUrl
703
+ attr_accessor :name
704
+ attr_accessor :fileSize
705
+ attr_accessor :creationTime
706
+ attr_accessor :media_Type
707
+ attr_accessor :durationMillis
708
+ attr_accessor :streamingUrl
709
+ attr_accessor :readyToPlayOnTheWeb
710
+
711
+ 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)
712
+ @mediaId = mediaId
713
+ @type = type
714
+ @referenceId = referenceId
715
+ @dimensions = dimensions
716
+ @urls = urls
717
+ @mimeType = mimeType
718
+ @sourceUrl = sourceUrl
719
+ @name = name
720
+ @fileSize = fileSize
721
+ @creationTime = creationTime
722
+ @media_Type = media_Type
723
+ @durationMillis = durationMillis
724
+ @streamingUrl = streamingUrl
725
+ @readyToPlayOnTheWeb = readyToPlayOnTheWeb
726
+ end
727
+ end
728
+
729
+ # Image
730
+ # - mediaId - SOAP::SOAPLong
731
+ # - type - AdwordsApi::V201008::MediaService::MediaMediaType
732
+ # - referenceId - SOAP::SOAPLong
733
+ # - dimensions - AdwordsApi::V201008::MediaService::Media_Size_DimensionsMapEntry
734
+ # - urls - AdwordsApi::V201008::MediaService::Media_Size_StringMapEntry
735
+ # - mimeType - AdwordsApi::V201008::MediaService::MediaMimeType
736
+ # - sourceUrl - SOAP::SOAPString
737
+ # - name - SOAP::SOAPString
738
+ # - fileSize - SOAP::SOAPLong
739
+ # - creationTime - SOAP::SOAPString
740
+ # - media_Type - SOAP::SOAPString
741
+ # - data - SOAP::SOAPBase64
742
+ class Image < Media
743
+ attr_accessor :mediaId
744
+ attr_accessor :type
745
+ attr_accessor :referenceId
746
+ attr_accessor :dimensions
747
+ attr_accessor :urls
748
+ attr_accessor :mimeType
749
+ attr_accessor :sourceUrl
750
+ attr_accessor :name
751
+ attr_accessor :fileSize
752
+ attr_accessor :creationTime
753
+ attr_accessor :media_Type
754
+ attr_accessor :data
755
+
756
+ 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)
757
+ @mediaId = mediaId
758
+ @type = type
759
+ @referenceId = referenceId
760
+ @dimensions = dimensions
761
+ @urls = urls
762
+ @mimeType = mimeType
763
+ @sourceUrl = sourceUrl
764
+ @name = name
765
+ @fileSize = fileSize
766
+ @creationTime = creationTime
767
+ @media_Type = media_Type
768
+ @data = data
769
+ end
770
+ end
771
+
772
+ # Video
773
+ # - mediaId - SOAP::SOAPLong
774
+ # - type - AdwordsApi::V201008::MediaService::MediaMediaType
775
+ # - referenceId - SOAP::SOAPLong
776
+ # - dimensions - AdwordsApi::V201008::MediaService::Media_Size_DimensionsMapEntry
777
+ # - urls - AdwordsApi::V201008::MediaService::Media_Size_StringMapEntry
778
+ # - mimeType - AdwordsApi::V201008::MediaService::MediaMimeType
779
+ # - sourceUrl - SOAP::SOAPString
780
+ # - name - SOAP::SOAPString
781
+ # - fileSize - SOAP::SOAPLong
782
+ # - creationTime - SOAP::SOAPString
783
+ # - media_Type - SOAP::SOAPString
784
+ # - durationMillis - SOAP::SOAPLong
785
+ # - streamingUrl - SOAP::SOAPString
786
+ # - readyToPlayOnTheWeb - SOAP::SOAPBoolean
787
+ # - industryStandardCommercialIdentifier - SOAP::SOAPString
788
+ # - advertisingId - SOAP::SOAPString
789
+ # - youTubeVideoIdString - SOAP::SOAPString
790
+ class Video < Media
791
+ attr_accessor :mediaId
792
+ attr_accessor :type
793
+ attr_accessor :referenceId
794
+ attr_accessor :dimensions
795
+ attr_accessor :urls
796
+ attr_accessor :mimeType
797
+ attr_accessor :sourceUrl
798
+ attr_accessor :name
799
+ attr_accessor :fileSize
800
+ attr_accessor :creationTime
801
+ attr_accessor :media_Type
802
+ attr_accessor :durationMillis
803
+ attr_accessor :streamingUrl
804
+ attr_accessor :readyToPlayOnTheWeb
805
+ attr_accessor :industryStandardCommercialIdentifier
806
+ attr_accessor :advertisingId
807
+ attr_accessor :youTubeVideoIdString
808
+
809
+ 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)
810
+ @mediaId = mediaId
811
+ @type = type
812
+ @referenceId = referenceId
813
+ @dimensions = dimensions
814
+ @urls = urls
815
+ @mimeType = mimeType
816
+ @sourceUrl = sourceUrl
817
+ @name = name
818
+ @fileSize = fileSize
819
+ @creationTime = creationTime
820
+ @media_Type = media_Type
821
+ @durationMillis = durationMillis
822
+ @streamingUrl = streamingUrl
823
+ @readyToPlayOnTheWeb = readyToPlayOnTheWeb
824
+ @industryStandardCommercialIdentifier = industryStandardCommercialIdentifier
825
+ @advertisingId = advertisingId
826
+ @youTubeVideoIdString = youTubeVideoIdString
827
+ end
828
+ end
829
+
830
+ # MediaPage
831
+ # - entries - AdwordsApi::V201008::MediaService::Media
832
+ # - totalNumEntries - SOAP::SOAPInt
833
+ class MediaPage
834
+ attr_accessor :entries
835
+ attr_accessor :totalNumEntries
836
+
837
+ def initialize(entries = [], totalNumEntries = nil)
838
+ @entries = entries
839
+ @totalNumEntries = totalNumEntries
840
+ end
841
+ end
842
+
843
843
  # AudioError.Reason
844
844
  class AudioErrorReason < ::String
845
845
  ERROR_GENERATING_STREAMING_URL = AudioErrorReason.new("ERROR_GENERATING_STREAMING_URL")