google-adwords-api 0.14.1 → 0.14.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (184) hide show
  1. checksums.yaml +8 -8
  2. data/ChangeLog +3 -0
  3. data/examples/v201406/optimization/estimate_keyword_traffic.rb +30 -12
  4. data/examples/v201409/basic_operations/add_keywords.rb +3 -1
  5. data/examples/v201409/{advanced_operations → extensions}/add_google_my_business_location_extensions.rb +1 -1
  6. data/examples/v201409/extensions/add_site_links.rb +167 -0
  7. data/examples/v201409/{advanced_operations/add_site_links.rb → extensions/add_site_links_using_feeds.rb} +0 -0
  8. data/examples/v201409/migration/migrate_to_extension_settings.rb +365 -0
  9. data/examples/v201409/optimization/estimate_keyword_traffic.rb +30 -13
  10. data/examples/v201502/account_management/create_account.rb +92 -0
  11. data/examples/v201502/account_management/get_account_changes.rb +143 -0
  12. data/examples/v201502/account_management/get_account_hierarchy.rb +98 -0
  13. data/examples/v201502/advanced_operations/add_ad_customizer.rb +277 -0
  14. data/examples/v201502/advanced_operations/add_ad_group_bid_modifier.rb +105 -0
  15. data/examples/v201502/advanced_operations/add_click_to_download_ad.rb +137 -0
  16. data/examples/v201502/advanced_operations/add_text_ad_with_upgraded_urls.rb +137 -0
  17. data/examples/v201502/advanced_operations/create_and_attach_shared_keyword_set.rb +137 -0
  18. data/examples/v201502/advanced_operations/find_and_remove_criteria_from_shared_set.rb +171 -0
  19. data/examples/v201502/advanced_operations/get_ad_group_bid_modifiers.rb +106 -0
  20. data/examples/v201502/advanced_operations/upload_offline_conversions.rb +117 -0
  21. data/examples/v201502/advanced_operations/use_shared_bidding_strategy.rb +152 -0
  22. data/examples/v201502/basic_operations/add_ad_groups.rb +144 -0
  23. data/examples/v201502/basic_operations/add_campaigns.rb +143 -0
  24. data/examples/v201502/basic_operations/add_keywords.rb +118 -0
  25. data/examples/v201502/basic_operations/add_text_ads.rb +113 -0
  26. data/examples/v201502/basic_operations/get_ad_groups.rb +106 -0
  27. data/examples/v201502/basic_operations/get_campaigns.rb +101 -0
  28. data/examples/v201502/basic_operations/get_campaigns_with_awql.rb +93 -0
  29. data/examples/v201502/basic_operations/get_keywords.rb +112 -0
  30. data/examples/v201502/basic_operations/get_text_ads.rb +114 -0
  31. data/examples/v201502/basic_operations/pause_ad.rb +92 -0
  32. data/examples/v201502/basic_operations/remove_ad.rb +93 -0
  33. data/examples/v201502/basic_operations/remove_ad_group.rb +89 -0
  34. data/examples/v201502/basic_operations/remove_campaign.rb +91 -0
  35. data/examples/v201502/basic_operations/remove_keyword.rb +98 -0
  36. data/examples/v201502/basic_operations/update_ad_group.rb +89 -0
  37. data/examples/v201502/basic_operations/update_campaign.rb +90 -0
  38. data/examples/v201502/basic_operations/update_keyword.rb +110 -0
  39. data/examples/v201502/campaign_management/add_campaign_labels.rb +86 -0
  40. data/examples/v201502/campaign_management/add_experiment.rb +166 -0
  41. data/examples/v201502/campaign_management/add_keywords_in_bulk.rb +158 -0
  42. data/examples/v201502/campaign_management/add_location_extension.rb +125 -0
  43. data/examples/v201502/campaign_management/get_all_disapproved_ads.rb +101 -0
  44. data/examples/v201502/campaign_management/get_all_disapproved_ads_with_awql.rb +93 -0
  45. data/examples/v201502/campaign_management/get_campaigns_by_label.rb +112 -0
  46. data/examples/v201502/campaign_management/promote_experiment.rb +85 -0
  47. data/examples/v201502/campaign_management/set_ad_parameters.rb +122 -0
  48. data/examples/v201502/campaign_management/set_criterion_bid_modifier.rb +108 -0
  49. data/examples/v201502/campaign_management/validate_text_ad.rb +114 -0
  50. data/examples/v201502/error_handling/handle_captcha_challenge.rb +93 -0
  51. data/examples/v201502/error_handling/handle_partial_failures.rb +134 -0
  52. data/examples/v201502/error_handling/handle_policy_violation_error.rb +145 -0
  53. data/examples/v201502/error_handling/handle_two_factor_authorization_error.rb +88 -0
  54. data/examples/v201502/extensions/add_google_my_business_location_extensions.rb +183 -0
  55. data/examples/v201502/extensions/add_site_links.rb +167 -0
  56. data/examples/v201502/extensions/add_site_links_using_feeds.rb +306 -0
  57. data/examples/v201502/migration/migrate_to_extension_settings.rb +365 -0
  58. data/examples/v201502/migration/upgrade_ad_url.rb +97 -0
  59. data/examples/v201502/misc/create_ad_words_session_without_properties_file.rb +94 -0
  60. data/examples/v201502/misc/get_all_images_and_videos.rb +108 -0
  61. data/examples/v201502/misc/setup_oauth2.rb +88 -0
  62. data/examples/v201502/misc/upload_image.rb +97 -0
  63. data/examples/v201502/misc/use_oauth2_jwt.rb +97 -0
  64. data/examples/v201502/optimization/estimate_keyword_traffic.rb +155 -0
  65. data/examples/v201502/optimization/get_keyword_bid_simulations.rb +99 -0
  66. data/examples/v201502/optimization/get_keyword_ideas.rb +130 -0
  67. data/examples/v201502/remarketing/add_audience.rb +122 -0
  68. data/examples/v201502/remarketing/add_conversion_tracker.rb +105 -0
  69. data/examples/v201502/remarketing/add_rule_based_user_lists.rb +171 -0
  70. data/examples/v201502/reporting/download_criteria_report.rb +87 -0
  71. data/examples/v201502/reporting/download_criteria_report_with_awql.rb +86 -0
  72. data/examples/v201502/reporting/get_report_fields.rb +79 -0
  73. data/examples/v201502/reporting/parallel_report_download.rb +168 -0
  74. data/examples/v201502/shopping_campaigns/add_product_partition_tree.rb +269 -0
  75. data/examples/v201502/shopping_campaigns/add_product_scope.rb +133 -0
  76. data/examples/v201502/shopping_campaigns/add_shopping_campaign.rb +133 -0
  77. data/examples/v201502/shopping_campaigns/get_product_category_taxonomy.rb +117 -0
  78. data/examples/v201502/targeting/add_campaign_targeting_criteria.rb +173 -0
  79. data/examples/v201502/targeting/add_demographic_targeting_criteria.rb +116 -0
  80. data/examples/v201502/targeting/get_campaign_targeting_criteria.rb +110 -0
  81. data/examples/v201502/targeting/get_targetable_languages_and_carriers.rb +94 -0
  82. data/examples/v201502/targeting/lookup_location.rb +112 -0
  83. data/lib/adwords_api/api_config.rb +98 -4
  84. data/lib/adwords_api/v201409/ad_customizer_feed_service.rb +38 -0
  85. data/lib/adwords_api/v201409/ad_customizer_feed_service_registry.rb +46 -0
  86. data/lib/adwords_api/v201409/ad_group_extension_setting_service.rb +42 -0
  87. data/lib/adwords_api/v201409/ad_group_extension_setting_service_registry.rb +46 -0
  88. data/lib/adwords_api/v201409/campaign_extension_setting_service.rb +42 -0
  89. data/lib/adwords_api/v201409/campaign_extension_setting_service_registry.rb +46 -0
  90. data/lib/adwords_api/v201409/customer_extension_setting_service.rb +42 -0
  91. data/lib/adwords_api/v201409/customer_extension_setting_service_registry.rb +46 -0
  92. data/lib/adwords_api/v201502/account_label_service.rb +38 -0
  93. data/lib/adwords_api/v201502/account_label_service_registry.rb +46 -0
  94. data/lib/adwords_api/v201502/ad_customizer_feed_service.rb +38 -0
  95. data/lib/adwords_api/v201502/ad_customizer_feed_service_registry.rb +46 -0
  96. data/lib/adwords_api/v201502/ad_group_ad_service.rb +50 -0
  97. data/lib/adwords_api/v201502/ad_group_ad_service_registry.rb +46 -0
  98. data/lib/adwords_api/v201502/ad_group_bid_modifier_service.rb +42 -0
  99. data/lib/adwords_api/v201502/ad_group_bid_modifier_service_registry.rb +46 -0
  100. data/lib/adwords_api/v201502/ad_group_criterion_service.rb +46 -0
  101. data/lib/adwords_api/v201502/ad_group_criterion_service_registry.rb +46 -0
  102. data/lib/adwords_api/v201502/ad_group_extension_setting_service.rb +42 -0
  103. data/lib/adwords_api/v201502/ad_group_extension_setting_service_registry.rb +46 -0
  104. data/lib/adwords_api/v201502/ad_group_feed_service.rb +42 -0
  105. data/lib/adwords_api/v201502/ad_group_feed_service_registry.rb +46 -0
  106. data/lib/adwords_api/v201502/ad_group_service.rb +46 -0
  107. data/lib/adwords_api/v201502/ad_group_service_registry.rb +46 -0
  108. data/lib/adwords_api/v201502/ad_param_service.rb +38 -0
  109. data/lib/adwords_api/v201502/ad_param_service_registry.rb +46 -0
  110. data/lib/adwords_api/v201502/adwords_user_list_service.rb +38 -0
  111. data/lib/adwords_api/v201502/adwords_user_list_service_registry.rb +46 -0
  112. data/lib/adwords_api/v201502/bidding_strategy_service.rb +42 -0
  113. data/lib/adwords_api/v201502/bidding_strategy_service_registry.rb +46 -0
  114. data/lib/adwords_api/v201502/budget_order_service.rb +42 -0
  115. data/lib/adwords_api/v201502/budget_order_service_registry.rb +46 -0
  116. data/lib/adwords_api/v201502/budget_service.rb +42 -0
  117. data/lib/adwords_api/v201502/budget_service_registry.rb +46 -0
  118. data/lib/adwords_api/v201502/campaign_criterion_service.rb +42 -0
  119. data/lib/adwords_api/v201502/campaign_criterion_service_registry.rb +46 -0
  120. data/lib/adwords_api/v201502/campaign_extension_setting_service.rb +42 -0
  121. data/lib/adwords_api/v201502/campaign_extension_setting_service_registry.rb +46 -0
  122. data/lib/adwords_api/v201502/campaign_feed_service.rb +42 -0
  123. data/lib/adwords_api/v201502/campaign_feed_service_registry.rb +46 -0
  124. data/lib/adwords_api/v201502/campaign_service.rb +46 -0
  125. data/lib/adwords_api/v201502/campaign_service_registry.rb +46 -0
  126. data/lib/adwords_api/v201502/campaign_shared_set_service.rb +38 -0
  127. data/lib/adwords_api/v201502/campaign_shared_set_service_registry.rb +46 -0
  128. data/lib/adwords_api/v201502/constant_data_service.rb +66 -0
  129. data/lib/adwords_api/v201502/constant_data_service_registry.rb +46 -0
  130. data/lib/adwords_api/v201502/conversion_tracker_service.rb +42 -0
  131. data/lib/adwords_api/v201502/conversion_tracker_service_registry.rb +46 -0
  132. data/lib/adwords_api/v201502/customer_extension_setting_service.rb +42 -0
  133. data/lib/adwords_api/v201502/customer_extension_setting_service_registry.rb +46 -0
  134. data/lib/adwords_api/v201502/customer_feed_service.rb +42 -0
  135. data/lib/adwords_api/v201502/customer_feed_service_registry.rb +46 -0
  136. data/lib/adwords_api/v201502/customer_service.rb +38 -0
  137. data/lib/adwords_api/v201502/customer_service_registry.rb +46 -0
  138. data/lib/adwords_api/v201502/customer_sync_service.rb +34 -0
  139. data/lib/adwords_api/v201502/customer_sync_service_registry.rb +47 -0
  140. data/lib/adwords_api/v201502/data_service.rb +54 -0
  141. data/lib/adwords_api/v201502/data_service_registry.rb +46 -0
  142. data/lib/adwords_api/v201502/experiment_service.rb +38 -0
  143. data/lib/adwords_api/v201502/experiment_service_registry.rb +46 -0
  144. data/lib/adwords_api/v201502/feed_item_service.rb +42 -0
  145. data/lib/adwords_api/v201502/feed_item_service_registry.rb +46 -0
  146. data/lib/adwords_api/v201502/feed_mapping_service.rb +42 -0
  147. data/lib/adwords_api/v201502/feed_mapping_service_registry.rb +46 -0
  148. data/lib/adwords_api/v201502/feed_service.rb +42 -0
  149. data/lib/adwords_api/v201502/feed_service_registry.rb +46 -0
  150. data/lib/adwords_api/v201502/geo_location_service.rb +34 -0
  151. data/lib/adwords_api/v201502/geo_location_service_registry.rb +46 -0
  152. data/lib/adwords_api/v201502/label_service.rb +42 -0
  153. data/lib/adwords_api/v201502/label_service_registry.rb +46 -0
  154. data/lib/adwords_api/v201502/location_criterion_service.rb +38 -0
  155. data/lib/adwords_api/v201502/location_criterion_service_registry.rb +46 -0
  156. data/lib/adwords_api/v201502/managed_customer_service.rb +54 -0
  157. data/lib/adwords_api/v201502/managed_customer_service_registry.rb +46 -0
  158. data/lib/adwords_api/v201502/media_service.rb +42 -0
  159. data/lib/adwords_api/v201502/media_service_registry.rb +46 -0
  160. data/lib/adwords_api/v201502/mutate_job_service.rb +42 -0
  161. data/lib/adwords_api/v201502/mutate_job_service_registry.rb +46 -0
  162. data/lib/adwords_api/v201502/offline_conversion_feed_service.rb +34 -0
  163. data/lib/adwords_api/v201502/offline_conversion_feed_service_registry.rb +46 -0
  164. data/lib/adwords_api/v201502/report_definition_service.rb +34 -0
  165. data/lib/adwords_api/v201502/report_definition_service_registry.rb +46 -0
  166. data/lib/adwords_api/v201502/shared_criterion_service.rb +38 -0
  167. data/lib/adwords_api/v201502/shared_criterion_service_registry.rb +46 -0
  168. data/lib/adwords_api/v201502/shared_set_service.rb +38 -0
  169. data/lib/adwords_api/v201502/shared_set_service_registry.rb +46 -0
  170. data/lib/adwords_api/v201502/targeting_idea_service.rb +34 -0
  171. data/lib/adwords_api/v201502/targeting_idea_service_registry.rb +46 -0
  172. data/lib/adwords_api/v201502/traffic_estimator_service.rb +34 -0
  173. data/lib/adwords_api/v201502/traffic_estimator_service_registry.rb +46 -0
  174. data/lib/adwords_api/version.rb +1 -1
  175. data/test/adwords_api/test_adwords_api.rb +1 -12
  176. data/test/templates/v201406/basic_operations_get_campaigns.def +1 -1
  177. data/test/templates/v201406/misc_use_oauth2_jwt.def +1 -1
  178. data/test/templates/v201409/basic_operations_get_campaigns.def +1 -1
  179. data/test/templates/v201409/misc_use_oauth2_jwt.def +1 -1
  180. data/test/templates/v201502/basic_operations_get_campaigns.def +114 -0
  181. data/test/templates/v201502/misc_use_oauth2_jwt.def +131 -0
  182. metadata +173 -8
  183. data/examples/v201406/advanced_operations/update_site_links.rb +0 -194
  184. data/examples/v201409/advanced_operations/update_site_links.rb +0 -194
@@ -22,7 +22,7 @@ def setup_mocks()
22
22
  {"env:Envelope"=>
23
23
  {"env:Header"=>
24
24
  {"wsdl:RequestHeader"=>
25
- {"userAgent"=>"ruby-tests (AwApi-Ruby/0.14.0, Common-Ruby/0.9.6, Savon/1.2.0, ruby/1.9.3, HTTPI/1.1.1, net_http)",
25
+ {"userAgent"=>"ruby-tests (AwApi-Ruby/0.14.1, Common-Ruby/0.9.8, Savon/1.2.0, ruby/1.9.3, HTTPI/1.1.1, net_http)",
26
26
  "developerToken"=>"dev_token123",
27
27
  "clientCustomerId"=>"123-456-7890",
28
28
  "authToken"=>"abcAuthbcd",
@@ -40,7 +40,7 @@ def setup_mocks()
40
40
  {"env:Envelope"=>
41
41
  {"env:Header"=>
42
42
  {"wsdl:RequestHeader"=>
43
- {"userAgent"=>"ruby-tests (AwApi-Ruby/0.14.0, Common-Ruby/0.9.6, Savon/1.2.0, ruby/1.9.3, HTTPI/1.1.1, net_http)",
43
+ {"userAgent"=>"ruby-tests (AwApi-Ruby/0.14.1, Common-Ruby/0.9.8, Savon/1.2.0, ruby/1.9.3, HTTPI/1.1.1, net_http)",
44
44
  "developerToken"=>"dev_token123",
45
45
  "clientCustomerId"=>"123-456-7890",
46
46
  "xmlns"=>"https://adwords.google.com/api/adwords/cm/v201406"}},
@@ -22,7 +22,7 @@ def setup_mocks()
22
22
  {"env:Envelope"=>
23
23
  {"env:Header"=>
24
24
  {"wsdl:RequestHeader"=>
25
- {"userAgent"=>"ruby-tests (AwApi-Ruby/0.14.0, Common-Ruby/0.9.6, Savon/1.2.0, ruby/1.9.3, HTTPI/1.1.1, net_http)",
25
+ {"userAgent"=>"ruby-tests (AwApi-Ruby/0.14.1, Common-Ruby/0.9.8, Savon/1.2.0, ruby/1.9.3, HTTPI/1.1.1, net_http)",
26
26
  "developerToken"=>"dev_token123",
27
27
  "clientCustomerId"=>"123-456-7890",
28
28
  "authToken"=>"abcAuthbcd",
@@ -40,7 +40,7 @@ def setup_mocks()
40
40
  {"env:Envelope"=>
41
41
  {"env:Header"=>
42
42
  {"wsdl:RequestHeader"=>
43
- {"userAgent"=>"ruby-tests (AwApi-Ruby/0.14.0, Common-Ruby/0.9.6, Savon/1.2.0, ruby/1.9.3, HTTPI/1.1.1, net_http)",
43
+ {"userAgent"=>"ruby-tests (AwApi-Ruby/0.14.1, Common-Ruby/0.9.8, Savon/1.2.0, ruby/1.9.3, HTTPI/1.1.1, net_http)",
44
44
  "developerToken"=>"dev_token123",
45
45
  "clientCustomerId"=>"123-456-7890",
46
46
  "xmlns"=>"https://adwords.google.com/api/adwords/cm/v201409"}},
@@ -0,0 +1,114 @@
1
+ def setup_mocks()
2
+ $api_config = {
3
+ :service => {:environment => 'PRODUCTION'},
4
+ :authentication => {
5
+ :method => 'ClientLogin',
6
+ :email => 'noreply@google.com',
7
+ :password => 'noreply_password',
8
+ :developer_token => 'dev_token123',
9
+ :client_customer_id => '123-456-7890',
10
+ :user_agent => 'ruby-tests'
11
+ }
12
+ }
13
+
14
+ stub_request(:post, "https://www.google.com/accounts/ClientLogin").
15
+ with(:body => {"Email"=>"noreply@google.com", "Passwd"=>"noreply_password", "accountType"=>"GOOGLE", "service"=>"adwords"}).
16
+ to_return(:status => 200, :body => "SID=abcSIDbcd\nLSID=abcLSIDbcd\nAuth=abcAuthbcd\n", :headers => {})
17
+
18
+ stub_request(:post, "https://adwords.google.com/api/adwords/cm/v201502/CampaignService").
19
+ with(
20
+ :body =>
21
+ # autogenerated code
22
+ {"env:Envelope"=>
23
+ {"env:Header"=>
24
+ {"wsdl:RequestHeader"=>
25
+ {"userAgent"=>"ruby-tests (AwApi-Ruby/0.14.1, Common-Ruby/0.9.8, Savon/1.2.0, ruby/1.9.3, HTTPI/1.1.1, net_http)",
26
+ "developerToken"=>"dev_token123",
27
+ "clientCustomerId"=>"123-456-7890",
28
+ "authToken"=>"abcAuthbcd",
29
+ "xmlns"=>"https://adwords.google.com/api/adwords/cm/v201502"}},
30
+ "env:Body"=>
31
+ {"get"=>
32
+ {"serviceSelector"=>
33
+ {"fields"=>["Id", "Name", "Status"],
34
+ "ordering"=>{"field"=>"Name", "sortOrder"=>"ASCENDING"},
35
+ "paging"=>{"startIndex"=>"0", "numberResults"=>"5"}},
36
+ "xmlns"=>"https://adwords.google.com/api/adwords/cm/v201502"}},
37
+ "xmlns:xsd"=>"http://www.w3.org/2001/XMLSchema",
38
+ "xmlns:xsi"=>"http://www.w3.org/2001/XMLSchema-instance",
39
+ "xmlns:wsdl"=>"https://adwords.google.com/api/adwords/cm/v201502",
40
+ "xmlns:env"=>"http://schemas.xmlsoap.org/soap/envelope/"}},
41
+ # end of auto-generated code.
42
+ :headers => {
43
+ 'SOAPAction' => '"get"',
44
+ 'Content-Type' => 'text/xml;charset=UTF-8'
45
+ }
46
+ ).
47
+ to_return(
48
+ :status => 200,
49
+ :body => '<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
50
+ <soap:Header>
51
+ <ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/v201502">
52
+ <requestId>0004c</requestId>
53
+ <serviceName>CampaignService</serviceName>
54
+ <methodName>get</methodName>
55
+ <operations>42</operations>
56
+ <responseTime>84</responseTime>
57
+ <units>42</units>
58
+ </ResponseHeader>
59
+ </soap:Header>
60
+ <soap:Body>
61
+ <getResponse xmlns="https://adwords.google.com/api/adwords/cm/v201502">
62
+ <rval>
63
+ <totalNumEntries>2</totalNumEntries>
64
+ <Page.Type>CampaignPage</Page.Type>
65
+ <totalBudget>
66
+ <period>DAILY</period><amount><ComparableValue.Type>Money</ComparableValue.Type>
67
+ <microAmount>0</microAmount></amount>
68
+ </totalBudget>
69
+ <entries>
70
+ <id>15</id><name>Campaign name 1</name><status>PAUSED</status><campaignStats><network>ALL</network>
71
+ <Stats.Type>CampaignStats</Stats.Type></campaignStats><frequencyCap><impressions>0</impressions></frequencyCap>
72
+ </entries>
73
+ <entries>
74
+ <id>16</id><name>Campaign name 2</name><status>ACTIVE</status><campaignStats><network>ALL</network>
75
+ <Stats.Type>CampaignStats</Stats.Type></campaignStats><frequencyCap><impressions>150</impressions></frequencyCap>
76
+ </entries>
77
+ </rval>
78
+ </getResponse>
79
+ </soap:Body>
80
+ </soap:Envelope>',
81
+ :headers => {'content-type' => 'text/xml;'}
82
+ )
83
+ end
84
+
85
+ def run_asserts()
86
+ assert_equal(2, $latest_result[:total_num_entries])
87
+ assert_equal('CampaignPage', $latest_result[:page_type])
88
+ entries = $latest_result[:entries]
89
+ assert_equal(2, entries.size)
90
+
91
+ if entries[0][:id] == 15
92
+ assert_campaign_15(entries[0])
93
+ assert_campaign_16(entries[1])
94
+ else
95
+ assert_campaign_15(entries[1])
96
+ assert_campaign_16(entries[0])
97
+ end
98
+ end
99
+
100
+ def assert_campaign_15(entry)
101
+ assert_equal(15, entry[:id])
102
+ assert_equal('Campaign name 1', entry[:name])
103
+ assert_equal('PAUSED', entry[:status])
104
+ assert_equal({:network=>"ALL", :stats_type=>"CampaignStats"}, entry[:campaign_stats])
105
+ assert_equal({:impressions=>0}, entry[:frequency_cap])
106
+ end
107
+
108
+ def assert_campaign_16(entry)
109
+ assert_equal(16, entry[:id])
110
+ assert_equal('Campaign name 2', entry[:name])
111
+ assert_equal('ACTIVE', entry[:status])
112
+ assert_equal({:network=>"ALL", :stats_type=>"CampaignStats"}, entry[:campaign_stats])
113
+ assert_equal({:impressions=>150}, entry[:frequency_cap])
114
+ end
@@ -0,0 +1,131 @@
1
+ def setup_mocks()
2
+ file_name = 'privatekey.p12'
3
+ file_contents = 'file contents'
4
+ key_secret = 'not-secret'
5
+
6
+ $api_config = {
7
+ :service => {:environment => 'PRODUCTION'},
8
+ :authentication => {
9
+ :method => 'OAUTH2_JWT',
10
+ :oauth2_issuer => 'not-valid@developer.gserviceaccount.com',
11
+ :oauth2_secret => key_secret,
12
+ :oauth2_keyfile => file_name,
13
+ :developer_token => 'dev_token123',
14
+ :client_customer_id => '123-456-7890',
15
+ :user_agent => 'ruby-tests'
16
+ }
17
+ }
18
+
19
+ stub(File).file?(file_name) { true }
20
+ stub.proxy(File).file?
21
+
22
+ stub(File).read(file_name) { file_contents }
23
+ stub.proxy(File).read
24
+
25
+ key = mock!.key { 'pkcs12 key' }
26
+ stub(OpenSSL::PKCS12).new.with(file_contents, key_secret) { key }
27
+
28
+ stub_request(:post, "https://accounts.google.com/o/oauth2/token").
29
+ with(:body => hash_including({"grant_type"=>"urn:ietf:params:oauth:grant-type:jwt-bearer"}),
30
+ :headers => {'Accept'=>'*/*', 'Cache-Control'=>'no-store', 'Content-Type'=>'application/x-www-form-urlencoded', 'User-Agent'=>'Ruby'}).
31
+ with(:body => /assertion=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9/).
32
+ to_return(:status => 200,
33
+ :body => "{\n \"access_token\" : \"ab01.CBEF2GHi3JKlMnOpqRstUvW4X-YzaBcdEFG5IjKLMNPPqRStuV\",\n \"token_type\" : \"Bearer\",\n \"expires_in\" : 3600\n}",
34
+ :headers => {"Content-Type"=>"application/json"})
35
+
36
+ stub_request(:post, "https://adwords.google.com/api/adwords/cm/v201502/CampaignService").
37
+ with(
38
+ :body =>
39
+ # autogenerated code
40
+ {"env:Envelope"=>
41
+ {"env:Header"=>
42
+ {"wsdl:RequestHeader"=>
43
+ {"userAgent"=>"ruby-tests (AwApi-Ruby/0.14.1, Common-Ruby/0.9.8, Savon/1.2.0, ruby/1.9.3, HTTPI/1.1.1, net_http)",
44
+ "developerToken"=>"dev_token123",
45
+ "clientCustomerId"=>"123-456-7890",
46
+ "xmlns"=>"https://adwords.google.com/api/adwords/cm/v201502"}},
47
+ "env:Body"=>
48
+ {"get"=>
49
+ {"serviceSelector"=>
50
+ {"fields"=>["Id", "Name", "Status"],
51
+ "ordering"=>{"field"=>"Name", "sortOrder"=>"ASCENDING"}},
52
+ "xmlns"=>"https://adwords.google.com/api/adwords/cm/v201502"}},
53
+ "xmlns:xsd"=>"http://www.w3.org/2001/XMLSchema",
54
+ "xmlns:xsi"=>"http://www.w3.org/2001/XMLSchema-instance",
55
+ "xmlns:wsdl"=>"https://adwords.google.com/api/adwords/cm/v201502",
56
+ "xmlns:env"=>"http://schemas.xmlsoap.org/soap/envelope/"}},
57
+ # end of auto-generated code.
58
+ :headers => {
59
+ 'SOAPAction' => '"get"',
60
+ 'Content-Type' => 'text/xml;charset=UTF-8',
61
+ 'Authorization' => 'Bearer ab01.CBEF2GHi3JKlMnOpqRstUvW4X-YzaBcdEFG5IjKLMNPPqRStuV'
62
+ }
63
+ ).
64
+ to_return(
65
+ :status => 200,
66
+ :body => '<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
67
+ <soap:Header>
68
+ <ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/v201502">
69
+ <requestId>0004c</requestId>
70
+ <serviceName>CampaignService</serviceName>
71
+ <methodName>get</methodName>
72
+ <operations>42</operations>
73
+ <responseTime>84</responseTime>
74
+ <units>42</units>
75
+ </ResponseHeader>
76
+ </soap:Header>
77
+ <soap:Body>
78
+ <getResponse xmlns="https://adwords.google.com/api/adwords/cm/v201502">
79
+ <rval>
80
+ <totalNumEntries>2</totalNumEntries>
81
+ <Page.Type>CampaignPage</Page.Type>
82
+ <totalBudget>
83
+ <period>DAILY</period><amount><ComparableValue.Type>Money</ComparableValue.Type>
84
+ <microAmount>0</microAmount></amount>
85
+ </totalBudget>
86
+ <entries>
87
+ <id>15</id><name>Campaign name 1</name><status>PAUSED</status><campaignStats><network>ALL</network>
88
+ <Stats.Type>CampaignStats</Stats.Type></campaignStats><frequencyCap><impressions>0</impressions></frequencyCap>
89
+ </entries>
90
+ <entries>
91
+ <id>16</id><name>Campaign name 2</name><status>ACTIVE</status><campaignStats><network>ALL</network>
92
+ <Stats.Type>CampaignStats</Stats.Type></campaignStats><frequencyCap><impressions>150</impressions></frequencyCap>
93
+ </entries>
94
+ </rval>
95
+ </getResponse>
96
+ </soap:Body>
97
+ </soap:Envelope>',
98
+ :headers => {'content-type' => 'text/xml;'}
99
+ )
100
+ end
101
+
102
+ def run_asserts()
103
+ assert_equal(2, $latest_result[:total_num_entries])
104
+ assert_equal('CampaignPage', $latest_result[:page_type])
105
+ entries = $latest_result[:entries]
106
+ assert_equal(2, entries.size)
107
+
108
+ if entries[0][:id] == 15
109
+ assert_campaign_15(entries[0])
110
+ assert_campaign_16(entries[1])
111
+ else
112
+ assert_campaign_15(entries[1])
113
+ assert_campaign_16(entries[0])
114
+ end
115
+ end
116
+
117
+ def assert_campaign_15(entry)
118
+ assert_equal(15, entry[:id])
119
+ assert_equal('Campaign name 1', entry[:name])
120
+ assert_equal('PAUSED', entry[:status])
121
+ assert_equal({:network=>"ALL", :stats_type=>"CampaignStats"}, entry[:campaign_stats])
122
+ assert_equal({:impressions=>0}, entry[:frequency_cap])
123
+ end
124
+
125
+ def assert_campaign_16(entry)
126
+ assert_equal(16, entry[:id])
127
+ assert_equal('Campaign name 2', entry[:name])
128
+ assert_equal('ACTIVE', entry[:status])
129
+ assert_equal({:network=>"ALL", :stats_type=>"CampaignStats"}, entry[:campaign_stats])
130
+ assert_equal({:impressions=>150}, entry[:frequency_cap])
131
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-adwords-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.1
4
+ version: 0.14.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danial Klimkin
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-02-18 00:00:00.000000000 Z
12
+ date: 2015-03-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: google-ads-common
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - ~>
19
19
  - !ruby/object:Gem::Version
20
- version: 0.9.6
20
+ version: 0.9.8
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - ~>
26
26
  - !ruby/object:Gem::Version
27
- version: 0.9.6
27
+ version: 0.9.8
28
28
  description: google-adwords-api is a AdWords API client library for Ruby
29
29
  email:
30
30
  - api.dklimkin@gmail.com
@@ -48,7 +48,6 @@ files:
48
48
  - examples/v201406/advanced_operations/add_site_links.rb
49
49
  - examples/v201406/advanced_operations/add_text_ad_with_upgraded_urls.rb
50
50
  - examples/v201406/advanced_operations/get_ad_group_bid_modifiers.rb
51
- - examples/v201406/advanced_operations/update_site_links.rb
52
51
  - examples/v201406/advanced_operations/upload_offline_conversions.rb
53
52
  - examples/v201406/advanced_operations/use_shared_bidding_strategy.rb
54
53
  - examples/v201406/basic_operations/add_ad_groups.rb
@@ -114,11 +113,8 @@ files:
114
113
  - examples/v201409/advanced_operations/add_ad_customizer.rb
115
114
  - examples/v201409/advanced_operations/add_ad_group_bid_modifier.rb
116
115
  - examples/v201409/advanced_operations/add_click_to_download_ad.rb
117
- - examples/v201409/advanced_operations/add_google_my_business_location_extensions.rb
118
- - examples/v201409/advanced_operations/add_site_links.rb
119
116
  - examples/v201409/advanced_operations/add_text_ad_with_upgraded_urls.rb
120
117
  - examples/v201409/advanced_operations/get_ad_group_bid_modifiers.rb
121
- - examples/v201409/advanced_operations/update_site_links.rb
122
118
  - examples/v201409/advanced_operations/upload_offline_conversions.rb
123
119
  - examples/v201409/advanced_operations/use_shared_bidding_strategy.rb
124
120
  - examples/v201409/basic_operations/add_ad_groups.rb
@@ -153,6 +149,10 @@ files:
153
149
  - examples/v201409/error_handling/handle_partial_failures.rb
154
150
  - examples/v201409/error_handling/handle_policy_violation_error.rb
155
151
  - examples/v201409/error_handling/handle_two_factor_authorization_error.rb
152
+ - examples/v201409/extensions/add_google_my_business_location_extensions.rb
153
+ - examples/v201409/extensions/add_site_links.rb
154
+ - examples/v201409/extensions/add_site_links_using_feeds.rb
155
+ - examples/v201409/migration/migrate_to_extension_settings.rb
156
156
  - examples/v201409/migration/upgrade_ad_url.rb
157
157
  - examples/v201409/misc/create_ad_words_session_without_properties_file.rb
158
158
  - examples/v201409/misc/get_all_images_and_videos.rb
@@ -178,6 +178,79 @@ files:
178
178
  - examples/v201409/targeting/get_campaign_targeting_criteria.rb
179
179
  - examples/v201409/targeting/get_targetable_languages_and_carriers.rb
180
180
  - examples/v201409/targeting/lookup_location.rb
181
+ - examples/v201502/account_management/create_account.rb
182
+ - examples/v201502/account_management/get_account_changes.rb
183
+ - examples/v201502/account_management/get_account_hierarchy.rb
184
+ - examples/v201502/advanced_operations/add_ad_customizer.rb
185
+ - examples/v201502/advanced_operations/add_ad_group_bid_modifier.rb
186
+ - examples/v201502/advanced_operations/add_click_to_download_ad.rb
187
+ - examples/v201502/advanced_operations/add_text_ad_with_upgraded_urls.rb
188
+ - examples/v201502/advanced_operations/create_and_attach_shared_keyword_set.rb
189
+ - examples/v201502/advanced_operations/find_and_remove_criteria_from_shared_set.rb
190
+ - examples/v201502/advanced_operations/get_ad_group_bid_modifiers.rb
191
+ - examples/v201502/advanced_operations/upload_offline_conversions.rb
192
+ - examples/v201502/advanced_operations/use_shared_bidding_strategy.rb
193
+ - examples/v201502/basic_operations/add_ad_groups.rb
194
+ - examples/v201502/basic_operations/add_campaigns.rb
195
+ - examples/v201502/basic_operations/add_keywords.rb
196
+ - examples/v201502/basic_operations/add_text_ads.rb
197
+ - examples/v201502/basic_operations/get_ad_groups.rb
198
+ - examples/v201502/basic_operations/get_campaigns.rb
199
+ - examples/v201502/basic_operations/get_campaigns_with_awql.rb
200
+ - examples/v201502/basic_operations/get_keywords.rb
201
+ - examples/v201502/basic_operations/get_text_ads.rb
202
+ - examples/v201502/basic_operations/pause_ad.rb
203
+ - examples/v201502/basic_operations/remove_ad.rb
204
+ - examples/v201502/basic_operations/remove_ad_group.rb
205
+ - examples/v201502/basic_operations/remove_campaign.rb
206
+ - examples/v201502/basic_operations/remove_keyword.rb
207
+ - examples/v201502/basic_operations/update_ad_group.rb
208
+ - examples/v201502/basic_operations/update_campaign.rb
209
+ - examples/v201502/basic_operations/update_keyword.rb
210
+ - examples/v201502/campaign_management/add_campaign_labels.rb
211
+ - examples/v201502/campaign_management/add_experiment.rb
212
+ - examples/v201502/campaign_management/add_keywords_in_bulk.rb
213
+ - examples/v201502/campaign_management/add_location_extension.rb
214
+ - examples/v201502/campaign_management/get_all_disapproved_ads.rb
215
+ - examples/v201502/campaign_management/get_all_disapproved_ads_with_awql.rb
216
+ - examples/v201502/campaign_management/get_campaigns_by_label.rb
217
+ - examples/v201502/campaign_management/promote_experiment.rb
218
+ - examples/v201502/campaign_management/set_ad_parameters.rb
219
+ - examples/v201502/campaign_management/set_criterion_bid_modifier.rb
220
+ - examples/v201502/campaign_management/validate_text_ad.rb
221
+ - examples/v201502/error_handling/handle_captcha_challenge.rb
222
+ - examples/v201502/error_handling/handle_partial_failures.rb
223
+ - examples/v201502/error_handling/handle_policy_violation_error.rb
224
+ - examples/v201502/error_handling/handle_two_factor_authorization_error.rb
225
+ - examples/v201502/extensions/add_google_my_business_location_extensions.rb
226
+ - examples/v201502/extensions/add_site_links.rb
227
+ - examples/v201502/extensions/add_site_links_using_feeds.rb
228
+ - examples/v201502/migration/migrate_to_extension_settings.rb
229
+ - examples/v201502/migration/upgrade_ad_url.rb
230
+ - examples/v201502/misc/create_ad_words_session_without_properties_file.rb
231
+ - examples/v201502/misc/get_all_images_and_videos.rb
232
+ - examples/v201502/misc/setup_oauth2.rb
233
+ - examples/v201502/misc/upload_image.rb
234
+ - examples/v201502/misc/use_oauth2_jwt.rb
235
+ - examples/v201502/optimization/estimate_keyword_traffic.rb
236
+ - examples/v201502/optimization/get_keyword_bid_simulations.rb
237
+ - examples/v201502/optimization/get_keyword_ideas.rb
238
+ - examples/v201502/remarketing/add_audience.rb
239
+ - examples/v201502/remarketing/add_conversion_tracker.rb
240
+ - examples/v201502/remarketing/add_rule_based_user_lists.rb
241
+ - examples/v201502/reporting/download_criteria_report.rb
242
+ - examples/v201502/reporting/download_criteria_report_with_awql.rb
243
+ - examples/v201502/reporting/get_report_fields.rb
244
+ - examples/v201502/reporting/parallel_report_download.rb
245
+ - examples/v201502/shopping_campaigns/add_product_partition_tree.rb
246
+ - examples/v201502/shopping_campaigns/add_product_scope.rb
247
+ - examples/v201502/shopping_campaigns/add_shopping_campaign.rb
248
+ - examples/v201502/shopping_campaigns/get_product_category_taxonomy.rb
249
+ - examples/v201502/targeting/add_campaign_targeting_criteria.rb
250
+ - examples/v201502/targeting/add_demographic_targeting_criteria.rb
251
+ - examples/v201502/targeting/get_campaign_targeting_criteria.rb
252
+ - examples/v201502/targeting/get_targetable_languages_and_carriers.rb
253
+ - examples/v201502/targeting/lookup_location.rb
181
254
  - lib/adwords_api.rb
182
255
  - lib/adwords_api/api_config.rb
183
256
  - lib/adwords_api/credential_handler.rb
@@ -261,12 +334,16 @@ files:
261
334
  - lib/adwords_api/v201406/targeting_idea_service_registry.rb
262
335
  - lib/adwords_api/v201406/traffic_estimator_service.rb
263
336
  - lib/adwords_api/v201406/traffic_estimator_service_registry.rb
337
+ - lib/adwords_api/v201409/ad_customizer_feed_service.rb
338
+ - lib/adwords_api/v201409/ad_customizer_feed_service_registry.rb
264
339
  - lib/adwords_api/v201409/ad_group_ad_service.rb
265
340
  - lib/adwords_api/v201409/ad_group_ad_service_registry.rb
266
341
  - lib/adwords_api/v201409/ad_group_bid_modifier_service.rb
267
342
  - lib/adwords_api/v201409/ad_group_bid_modifier_service_registry.rb
268
343
  - lib/adwords_api/v201409/ad_group_criterion_service.rb
269
344
  - lib/adwords_api/v201409/ad_group_criterion_service_registry.rb
345
+ - lib/adwords_api/v201409/ad_group_extension_setting_service.rb
346
+ - lib/adwords_api/v201409/ad_group_extension_setting_service_registry.rb
270
347
  - lib/adwords_api/v201409/ad_group_feed_service.rb
271
348
  - lib/adwords_api/v201409/ad_group_feed_service_registry.rb
272
349
  - lib/adwords_api/v201409/ad_group_service.rb
@@ -285,6 +362,8 @@ files:
285
362
  - lib/adwords_api/v201409/campaign_ad_extension_service_registry.rb
286
363
  - lib/adwords_api/v201409/campaign_criterion_service.rb
287
364
  - lib/adwords_api/v201409/campaign_criterion_service_registry.rb
365
+ - lib/adwords_api/v201409/campaign_extension_setting_service.rb
366
+ - lib/adwords_api/v201409/campaign_extension_setting_service_registry.rb
288
367
  - lib/adwords_api/v201409/campaign_feed_service.rb
289
368
  - lib/adwords_api/v201409/campaign_feed_service_registry.rb
290
369
  - lib/adwords_api/v201409/campaign_service.rb
@@ -295,6 +374,8 @@ files:
295
374
  - lib/adwords_api/v201409/constant_data_service_registry.rb
296
375
  - lib/adwords_api/v201409/conversion_tracker_service.rb
297
376
  - lib/adwords_api/v201409/conversion_tracker_service_registry.rb
377
+ - lib/adwords_api/v201409/customer_extension_setting_service.rb
378
+ - lib/adwords_api/v201409/customer_extension_setting_service_registry.rb
298
379
  - lib/adwords_api/v201409/customer_feed_service.rb
299
380
  - lib/adwords_api/v201409/customer_feed_service_registry.rb
300
381
  - lib/adwords_api/v201409/customer_service.rb
@@ -335,6 +416,88 @@ files:
335
416
  - lib/adwords_api/v201409/targeting_idea_service_registry.rb
336
417
  - lib/adwords_api/v201409/traffic_estimator_service.rb
337
418
  - lib/adwords_api/v201409/traffic_estimator_service_registry.rb
419
+ - lib/adwords_api/v201502/account_label_service.rb
420
+ - lib/adwords_api/v201502/account_label_service_registry.rb
421
+ - lib/adwords_api/v201502/ad_customizer_feed_service.rb
422
+ - lib/adwords_api/v201502/ad_customizer_feed_service_registry.rb
423
+ - lib/adwords_api/v201502/ad_group_ad_service.rb
424
+ - lib/adwords_api/v201502/ad_group_ad_service_registry.rb
425
+ - lib/adwords_api/v201502/ad_group_bid_modifier_service.rb
426
+ - lib/adwords_api/v201502/ad_group_bid_modifier_service_registry.rb
427
+ - lib/adwords_api/v201502/ad_group_criterion_service.rb
428
+ - lib/adwords_api/v201502/ad_group_criterion_service_registry.rb
429
+ - lib/adwords_api/v201502/ad_group_extension_setting_service.rb
430
+ - lib/adwords_api/v201502/ad_group_extension_setting_service_registry.rb
431
+ - lib/adwords_api/v201502/ad_group_feed_service.rb
432
+ - lib/adwords_api/v201502/ad_group_feed_service_registry.rb
433
+ - lib/adwords_api/v201502/ad_group_service.rb
434
+ - lib/adwords_api/v201502/ad_group_service_registry.rb
435
+ - lib/adwords_api/v201502/ad_param_service.rb
436
+ - lib/adwords_api/v201502/ad_param_service_registry.rb
437
+ - lib/adwords_api/v201502/adwords_user_list_service.rb
438
+ - lib/adwords_api/v201502/adwords_user_list_service_registry.rb
439
+ - lib/adwords_api/v201502/bidding_strategy_service.rb
440
+ - lib/adwords_api/v201502/bidding_strategy_service_registry.rb
441
+ - lib/adwords_api/v201502/budget_order_service.rb
442
+ - lib/adwords_api/v201502/budget_order_service_registry.rb
443
+ - lib/adwords_api/v201502/budget_service.rb
444
+ - lib/adwords_api/v201502/budget_service_registry.rb
445
+ - lib/adwords_api/v201502/campaign_criterion_service.rb
446
+ - lib/adwords_api/v201502/campaign_criterion_service_registry.rb
447
+ - lib/adwords_api/v201502/campaign_extension_setting_service.rb
448
+ - lib/adwords_api/v201502/campaign_extension_setting_service_registry.rb
449
+ - lib/adwords_api/v201502/campaign_feed_service.rb
450
+ - lib/adwords_api/v201502/campaign_feed_service_registry.rb
451
+ - lib/adwords_api/v201502/campaign_service.rb
452
+ - lib/adwords_api/v201502/campaign_service_registry.rb
453
+ - lib/adwords_api/v201502/campaign_shared_set_service.rb
454
+ - lib/adwords_api/v201502/campaign_shared_set_service_registry.rb
455
+ - lib/adwords_api/v201502/constant_data_service.rb
456
+ - lib/adwords_api/v201502/constant_data_service_registry.rb
457
+ - lib/adwords_api/v201502/conversion_tracker_service.rb
458
+ - lib/adwords_api/v201502/conversion_tracker_service_registry.rb
459
+ - lib/adwords_api/v201502/customer_extension_setting_service.rb
460
+ - lib/adwords_api/v201502/customer_extension_setting_service_registry.rb
461
+ - lib/adwords_api/v201502/customer_feed_service.rb
462
+ - lib/adwords_api/v201502/customer_feed_service_registry.rb
463
+ - lib/adwords_api/v201502/customer_service.rb
464
+ - lib/adwords_api/v201502/customer_service_registry.rb
465
+ - lib/adwords_api/v201502/customer_sync_service.rb
466
+ - lib/adwords_api/v201502/customer_sync_service_registry.rb
467
+ - lib/adwords_api/v201502/data_service.rb
468
+ - lib/adwords_api/v201502/data_service_registry.rb
469
+ - lib/adwords_api/v201502/experiment_service.rb
470
+ - lib/adwords_api/v201502/experiment_service_registry.rb
471
+ - lib/adwords_api/v201502/feed_item_service.rb
472
+ - lib/adwords_api/v201502/feed_item_service_registry.rb
473
+ - lib/adwords_api/v201502/feed_mapping_service.rb
474
+ - lib/adwords_api/v201502/feed_mapping_service_registry.rb
475
+ - lib/adwords_api/v201502/feed_service.rb
476
+ - lib/adwords_api/v201502/feed_service_registry.rb
477
+ - lib/adwords_api/v201502/geo_location_service.rb
478
+ - lib/adwords_api/v201502/geo_location_service_registry.rb
479
+ - lib/adwords_api/v201502/label_service.rb
480
+ - lib/adwords_api/v201502/label_service_registry.rb
481
+ - lib/adwords_api/v201502/location_criterion_service.rb
482
+ - lib/adwords_api/v201502/location_criterion_service_registry.rb
483
+ - lib/adwords_api/v201502/managed_customer_service.rb
484
+ - lib/adwords_api/v201502/managed_customer_service_registry.rb
485
+ - lib/adwords_api/v201502/media_service.rb
486
+ - lib/adwords_api/v201502/media_service_registry.rb
487
+ - lib/adwords_api/v201502/mutate_job_service.rb
488
+ - lib/adwords_api/v201502/mutate_job_service_registry.rb
489
+ - lib/adwords_api/v201502/offline_conversion_feed_service.rb
490
+ - lib/adwords_api/v201502/offline_conversion_feed_service_registry.rb
491
+ - lib/adwords_api/v201502/report_definition_service.rb
492
+ - lib/adwords_api/v201502/report_definition_service_registry.rb
493
+ - lib/adwords_api/v201502/shared_criterion_service.rb
494
+ - lib/adwords_api/v201502/shared_criterion_service_registry.rb
495
+ - lib/adwords_api/v201502/shared_set_service.rb
496
+ - lib/adwords_api/v201502/shared_set_service_registry.rb
497
+ - lib/adwords_api/v201502/targeting_idea_service.rb
498
+ - lib/adwords_api/v201502/targeting_idea_service_registry.rb
499
+ - lib/adwords_api/v201502/traffic_estimator_service.rb
500
+ - lib/adwords_api/v201502/traffic_estimator_service_registry.rb
338
501
  - lib/adwords_api/version.rb
339
502
  - test/adwords_api/test_adwords_api.rb
340
503
  - test/adwords_api/test_api_config.rb
@@ -349,6 +512,8 @@ files:
349
512
  - test/templates/v201406/misc_use_oauth2_jwt.def
350
513
  - test/templates/v201409/basic_operations_get_campaigns.def
351
514
  - test/templates/v201409/misc_use_oauth2_jwt.def
515
+ - test/templates/v201502/basic_operations_get_campaigns.def
516
+ - test/templates/v201502/misc_use_oauth2_jwt.def
352
517
  - test/test_utils.rb
353
518
  homepage: http://code.google.com/p/google-api-ads-ruby/
354
519
  licenses: