google-adx-buyer-api 0.2.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (177) hide show
  1. data/ChangeLog +7 -0
  2. data/README +43 -41
  3. data/Rakefile +3 -3
  4. data/examples/v201003/add_ad_group.rb +5 -5
  5. data/examples/v201003/add_ad_group_criteria.rb +5 -5
  6. data/examples/v201003/add_ads.rb +5 -5
  7. data/examples/v201003/add_campaign.rb +5 -5
  8. data/examples/v201003/add_negative_campaign_criterion.rb +5 -5
  9. data/examples/v201003/add_placement_performance_report_definition.rb +5 -5
  10. data/examples/v201003/check_campaigns.rb +5 -5
  11. data/examples/v201003/delete_ad.rb +5 -5
  12. data/examples/v201003/delete_ad_group.rb +5 -5
  13. data/examples/v201003/delete_ad_group_criterion.rb +5 -5
  14. data/examples/v201003/delete_campaign.rb +5 -5
  15. data/examples/v201003/download_report.rb +5 -0
  16. data/examples/v201003/get_all_active_ad_group_criteria.rb +5 -5
  17. data/examples/v201003/get_all_ad_group_criteria.rb +5 -5
  18. data/examples/v201003/get_all_ad_groups.rb +5 -5
  19. data/examples/v201003/get_all_ads.rb +5 -5
  20. data/examples/v201003/get_all_campaign_targets.rb +5 -5
  21. data/examples/v201003/get_all_campaigns.rb +5 -5
  22. data/examples/v201003/get_all_disapproved_ads.rb +5 -5
  23. data/examples/v201003/get_all_images.rb +5 -5
  24. data/examples/v201003/get_all_paused_campaigns.rb +5 -5
  25. data/examples/v201003/get_all_report_definitions.rb +5 -5
  26. data/examples/v201003/get_criterion_bid_landscape.rb +5 -5
  27. data/examples/v201003/get_geo_location_info.rb +5 -5
  28. data/examples/v201003/get_related_placements.rb +5 -5
  29. data/examples/v201003/get_report_fields.rb +5 -5
  30. data/examples/v201003/perform_bulk_mutate_job.rb +5 -5
  31. data/examples/v201003/set_campaign_targets.rb +5 -5
  32. data/examples/v201003/update_ad.rb +5 -5
  33. data/examples/v201003/update_ad_group.rb +5 -5
  34. data/examples/v201003/update_ad_group_criterion.rb +5 -5
  35. data/examples/v201003/update_campaign.rb +5 -5
  36. data/examples/v201003/upload_image.rb +5 -5
  37. data/examples/v201008/add_ad_group.rb +5 -5
  38. data/examples/v201008/add_ad_group_criteria.rb +5 -5
  39. data/examples/v201008/add_ads.rb +5 -5
  40. data/examples/v201008/add_campaign.rb +5 -5
  41. data/examples/v201008/add_negative_campaign_criterion.rb +5 -5
  42. data/examples/v201008/add_placement_performance_report_definition.rb +5 -5
  43. data/examples/v201008/add_user_list.rb +5 -5
  44. data/examples/v201008/check_campaigns.rb +5 -5
  45. data/examples/v201008/delete_ad.rb +5 -5
  46. data/examples/v201008/delete_ad_group.rb +5 -5
  47. data/examples/v201008/delete_ad_group_criterion.rb +5 -5
  48. data/examples/v201008/delete_bulk_mutate_job.rb +5 -5
  49. data/examples/v201008/delete_campaign.rb +5 -5
  50. data/examples/v201008/delete_user_list.rb +5 -5
  51. data/examples/v201008/download_report.rb +5 -0
  52. data/examples/v201008/get_all_account_changes.rb +5 -5
  53. data/examples/v201008/get_all_active_ad_group_criteria.rb +5 -5
  54. data/examples/v201008/get_all_ad_group_criteria.rb +5 -5
  55. data/examples/v201008/get_all_ad_groups.rb +5 -5
  56. data/examples/v201008/get_all_ads.rb +5 -5
  57. data/examples/v201008/get_all_campaign_targets.rb +5 -5
  58. data/examples/v201008/get_all_campaigns.rb +5 -5
  59. data/examples/v201008/get_all_disapproved_ads.rb +5 -5
  60. data/examples/v201008/get_all_images.rb +5 -5
  61. data/examples/v201008/get_all_paused_campaigns.rb +5 -5
  62. data/examples/v201008/get_all_report_definitions.rb +5 -5
  63. data/examples/v201008/get_all_user_lists.rb +5 -5
  64. data/examples/v201008/get_bulk_mutate_job.rb +5 -5
  65. data/examples/v201008/get_campaign_alerts.rb +5 -5
  66. data/examples/v201008/get_criterion_bid_landscape.rb +5 -5
  67. data/examples/v201008/get_geo_location_info.rb +5 -5
  68. data/examples/v201008/get_related_placements.rb +5 -5
  69. data/examples/v201008/get_report_fields.rb +5 -5
  70. data/examples/v201008/perform_bulk_mutate_job.rb +5 -5
  71. data/examples/v201008/set_campaign_targets.rb +5 -5
  72. data/examples/v201008/update_ad.rb +5 -5
  73. data/examples/v201008/update_ad_group.rb +5 -5
  74. data/examples/v201008/update_ad_group_criterion.rb +5 -5
  75. data/examples/v201008/update_campaign.rb +5 -5
  76. data/examples/v201008/update_user_list.rb +5 -5
  77. data/examples/v201008/upload_image.rb +5 -5
  78. data/examples/v201101/add_ad_group.rb +5 -5
  79. data/examples/v201101/add_ad_group_criteria.rb +5 -5
  80. data/examples/v201101/add_ads.rb +5 -5
  81. data/examples/v201101/add_campaign.rb +5 -5
  82. data/examples/v201101/add_conversion.rb +5 -5
  83. data/examples/v201101/add_negative_campaign_criterion.rb +5 -5
  84. data/examples/v201101/add_placement_performance_report_definition.rb +5 -5
  85. data/examples/v201101/add_rtb_campaign.rb +5 -5
  86. data/examples/v201101/add_user_list.rb +5 -5
  87. data/examples/v201101/check_campaigns.rb +5 -5
  88. data/examples/v201101/delete_ad.rb +5 -5
  89. data/examples/v201101/delete_ad_group.rb +5 -5
  90. data/examples/v201101/delete_ad_group_criterion.rb +5 -5
  91. data/examples/v201101/delete_bulk_mutate_job.rb +5 -5
  92. data/examples/v201101/delete_campaign.rb +5 -5
  93. data/examples/v201101/delete_user_list.rb +5 -5
  94. data/examples/v201101/download_report.rb +5 -0
  95. data/examples/v201101/get_ad_group_bid_landscape.rb +5 -5
  96. data/examples/v201101/get_all_account_changes.rb +5 -5
  97. data/examples/v201101/get_all_active_ad_group_criteria.rb +5 -5
  98. data/examples/v201101/get_all_ad_group_criteria.rb +5 -5
  99. data/examples/v201101/get_all_ad_groups.rb +5 -5
  100. data/examples/v201101/get_all_ads.rb +5 -5
  101. data/examples/v201101/get_all_campaign_targets.rb +5 -5
  102. data/examples/v201101/get_all_campaigns.rb +5 -5
  103. data/examples/v201101/get_all_conversions.rb +5 -5
  104. data/examples/v201101/get_all_disapproved_ads.rb +5 -5
  105. data/examples/v201101/get_all_images.rb +5 -5
  106. data/examples/v201101/get_all_paused_campaigns.rb +5 -5
  107. data/examples/v201101/get_all_report_definitions.rb +5 -5
  108. data/examples/v201101/get_all_user_lists.rb +5 -5
  109. data/examples/v201101/get_bulk_mutate_job.rb +5 -5
  110. data/examples/v201101/get_campaign_alerts.rb +5 -5
  111. data/examples/v201101/get_criterion_bid_landscape.rb +5 -5
  112. data/examples/v201101/get_geo_location_info.rb +5 -5
  113. data/examples/v201101/get_related_placements.rb +5 -5
  114. data/examples/v201101/get_report_fields.rb +5 -5
  115. data/examples/v201101/perform_bulk_mutate_job.rb +5 -5
  116. data/examples/v201101/set_campaign_targets.rb +5 -5
  117. data/examples/v201101/update_ad.rb +5 -5
  118. data/examples/v201101/update_ad_group.rb +5 -5
  119. data/examples/v201101/update_ad_group_criterion.rb +5 -5
  120. data/examples/v201101/update_campaign.rb +5 -5
  121. data/examples/v201101/update_conversion.rb +5 -5
  122. data/examples/v201101/update_user_list.rb +5 -5
  123. data/examples/v201101/upload_image.rb +5 -5
  124. data/examples/v201109/add_ad_group.rb +98 -0
  125. data/examples/v201109/add_ad_group_criteria.rb +100 -0
  126. data/examples/v201109/add_ads.rb +110 -0
  127. data/examples/v201109/add_campaign.rb +108 -0
  128. data/examples/v201109/add_campaign_targeting_criteria.rb +102 -0
  129. data/examples/v201109/add_conversion.rb +97 -0
  130. data/examples/{v201008/get_all_experiments.rb → v201109/add_negative_campaign_criterion.rb} +32 -30
  131. data/examples/v201109/add_rtb_campaign.rb +113 -0
  132. data/examples/v201109/add_user_list.rb +122 -0
  133. data/examples/v201109/check_campaigns.rb +132 -0
  134. data/examples/v201109/delete_ad.rb +94 -0
  135. data/examples/{v201101/delete_experiment.rb → v201109/delete_ad_group.rb} +20 -21
  136. data/examples/v201109/delete_ad_group_criterion.rb +95 -0
  137. data/examples/v201109/delete_bulk_mutate_job.rb +96 -0
  138. data/examples/{v201008/delete_experiment.rb → v201109/delete_campaign.rb} +21 -21
  139. data/examples/{v201008/promote_experiment.rb → v201109/delete_user_list.rb} +21 -22
  140. data/examples/v201109/download_adhoc_report.rb +79 -0
  141. data/examples/v201109/download_report.rb +76 -0
  142. data/examples/v201109/get_ad_group_bid_landscape.rb +103 -0
  143. data/examples/v201109/get_all_account_changes.rb +146 -0
  144. data/examples/v201109/get_all_active_ad_group_criteria.rb +106 -0
  145. data/examples/v201109/get_all_ad_group_criteria.rb +98 -0
  146. data/examples/{v201101/get_all_experiments.rb → v201109/get_all_ad_groups.rb} +21 -25
  147. data/examples/v201109/get_all_ads.rb +99 -0
  148. data/examples/v201109/get_all_campaign_targets.rb +83 -0
  149. data/examples/v201109/get_all_campaigns.rb +86 -0
  150. data/examples/v201109/get_all_carriers.rb +72 -0
  151. data/examples/v201109/get_all_conversions.rb +88 -0
  152. data/examples/v201109/get_all_disapproved_ads.rb +102 -0
  153. data/examples/v201109/get_all_images.rb +90 -0
  154. data/examples/v201109/get_all_languages.rb +73 -0
  155. data/examples/v201109/get_all_paused_campaigns.rb +92 -0
  156. data/examples/v201109/get_all_report_definitions.rb +84 -0
  157. data/examples/v201109/get_all_user_lists.rb +87 -0
  158. data/examples/v201109/get_bulk_mutate_job.rb +106 -0
  159. data/examples/v201109/get_campaign_alerts.rb +103 -0
  160. data/examples/v201109/get_client_customer_id.rb +87 -0
  161. data/examples/v201109/get_criterion_bid_landscape.rb +102 -0
  162. data/examples/v201109/get_geo_location_info.rb +108 -0
  163. data/examples/v201109/get_location_criteria.rb +103 -0
  164. data/examples/v201109/get_related_placements.rb +114 -0
  165. data/examples/v201109/get_report_fields.rb +81 -0
  166. data/examples/v201109/perform_bulk_mutate_job.rb +222 -0
  167. data/examples/v201109/perform_mutate_job.rb +151 -0
  168. data/examples/{v201101/promote_experiment.rb → v201109/update_ad.rb} +29 -22
  169. data/examples/v201109/update_ad_group.rb +90 -0
  170. data/examples/v201109/update_ad_group_criterion.rb +108 -0
  171. data/examples/v201109/update_campaign.rb +93 -0
  172. data/examples/v201109/update_conversion.rb +96 -0
  173. data/examples/v201109/update_user_list.rb +91 -0
  174. data/examples/v201109/upload_image.rb +97 -0
  175. metadata +164 -114
  176. data/examples/v201008/add_experiment.rb +0 -162
  177. data/examples/v201101/add_experiment.rb +0 -162
@@ -0,0 +1,96 @@
1
+ #!/usr/bin/ruby
2
+ #
3
+ # Author:: api.sgomes@gmail.com (Sérgio Gomes)
4
+ #
5
+ # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
6
+ #
7
+ # License:: Licensed under the Apache License, Version 2.0 (the "License");
8
+ # you may not use this file except in compliance with the License.
9
+ # You may obtain a copy of the License at
10
+ #
11
+ # http://www.apache.org/licenses/LICENSE-2.0
12
+ #
13
+ # Unless required by applicable law or agreed to in writing, software
14
+ # distributed under the License is distributed on an "AS IS" BASIS,
15
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
16
+ # implied.
17
+ # See the License for the specific language governing permissions and
18
+ # limitations under the License.
19
+ #
20
+ # This example illustrates how to update a conversion by setting its status to
21
+ # 'DISABLED'. To get conversions, run get_all_conversions.rb.
22
+ #
23
+ # Tags: ConversionTrackerService.mutate
24
+
25
+ require 'rubygems'
26
+ gem 'google-adwords-api'
27
+ require 'adwords_api'
28
+
29
+ API_VERSION = :v201109
30
+
31
+ def update_conversion()
32
+ # AdwordsApi::Api will read a config file from ENV['HOME']/adwords_api.yml
33
+ # when called without parameters.
34
+ adwords = AdwordsApi::Api.new
35
+
36
+ # To enable logging of SOAP requests, set the log_level value to 'DEBUG' in
37
+ # the configuration file or provide your own logger:
38
+ # adwords.logger = Logger.new('adwords_xml.log')
39
+
40
+ conv_tracker_srv = adwords.service(:ConversionTrackerService, API_VERSION)
41
+
42
+ conversion_id = 'INSERT_CONVERSION_ID_HERE'.to_i
43
+
44
+ # Prepare for updating conversion.
45
+ operation = {
46
+ :operator => 'SET',
47
+ :operand => {
48
+ # The 'xsi_type' field allows you to specify the xsi:type of the object
49
+ # being created. It's only necessary when you must provide an explicit
50
+ # type that the client library can't infer.
51
+ :xsi_type => 'AdWordsConversionTracker',
52
+ :id => conversion_id,
53
+ :status => 'DISABLED'
54
+ }
55
+ }
56
+
57
+ # Update conversion.
58
+ response = conv_tracker_srv.mutate([operation])
59
+ if response and response[:value]
60
+ conversion = response[:value].first
61
+ puts "Conversion with id #{conversion[:id]}, name " +
62
+ "\"#{conversion[:name]}\", status \"#{conversion[:status]}\" and " +
63
+ " category \"#{conversion[:category]}\" was disabled."
64
+ else
65
+ puts 'No conversions were updated.'
66
+ end
67
+ end
68
+
69
+ if __FILE__ == $0
70
+ begin
71
+ update_conversion()
72
+
73
+ # Connection error. Likely transitory.
74
+ rescue Errno::ECONNRESET, SOAP::HTTPStreamError, SocketError => e
75
+ puts 'Connection Error: %s' % e
76
+ puts 'Source: %s' % e.backtrace.first
77
+
78
+ # API Error.
79
+ rescue AdwordsApi::Errors::ApiException => e
80
+ puts 'API Exception caught.'
81
+ puts 'Message: %s' % e.message
82
+ puts 'Code: %d' % e.code if e.code
83
+ puts 'Trigger: %s' % e.trigger if e.trigger
84
+ puts 'Errors:'
85
+ if e.errors
86
+ e.errors.each_with_index do |error, index|
87
+ puts ' %d. Error type is %s. Fields:' % [index + 1, error[:xsi_type]]
88
+ error.each_pair do |field, value|
89
+ if field != :xsi_type
90
+ puts ' %s: %s' % [field, value]
91
+ end
92
+ end
93
+ end
94
+ end
95
+ end
96
+ end
@@ -0,0 +1,91 @@
1
+ #!/usr/bin/ruby
2
+ #
3
+ # Author:: api.sgomes@gmail.com (Sérgio Gomes)
4
+ #
5
+ # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
6
+ #
7
+ # License:: Licensed under the Apache License, Version 2.0 (the "License");
8
+ # you may not use this file except in compliance with the License.
9
+ # You may obtain a copy of the License at
10
+ #
11
+ # http://www.apache.org/licenses/LICENSE-2.0
12
+ #
13
+ # Unless required by applicable law or agreed to in writing, software
14
+ # distributed under the License is distributed on an "AS IS" BASIS,
15
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
16
+ # implied.
17
+ # See the License for the specific language governing permissions and
18
+ # limitations under the License.
19
+ #
20
+ # This example illustrates how to update a user list, setting its description.
21
+ # To create a user list, run add_user_list.rb.
22
+ #
23
+ # Tags: UserListService.mutate
24
+
25
+ require 'rubygems'
26
+ gem 'google-adwords-api'
27
+ require 'adwords_api'
28
+
29
+ API_VERSION = :v201109
30
+
31
+ def update_user_list()
32
+ # AdwordsApi::Api will read a config file from ENV['HOME']/adwords_api.yml
33
+ # when called without parameters.
34
+ adwords = AdwordsApi::Api.new
35
+
36
+ # To enable logging of SOAP requests, set the log_level value to 'DEBUG' in
37
+ # the configuration file or provide your own logger:
38
+ # adwords.logger = Logger.new('adwords_xml.log')
39
+
40
+ user_list_srv = adwords.service(:UserListService, API_VERSION)
41
+
42
+ user_list_id = 'INSERT_USER_LIST_ID_HERE'.to_i
43
+
44
+ # Prepare for updating remarketing user list.
45
+ operation = {
46
+ :operator => 'SET',
47
+ :operand => {
48
+ :id => user_list_id,
49
+ :description => 'Last updated at %s' % Time.now.to_s
50
+ }
51
+ }
52
+
53
+ # Update user list.
54
+ response = user_list_srv.mutate([operation])
55
+ if response and response[:value]
56
+ user_list = response[:value].first
57
+ puts 'User list id %d was successfully updated, description set to "%s."' %
58
+ [user_list[:id], user_list[:description]]
59
+ else
60
+ puts 'No user lists were updated.'
61
+ end
62
+ end
63
+
64
+ if __FILE__ == $0
65
+ begin
66
+ update_user_list()
67
+
68
+ # Connection error. Likely transitory.
69
+ rescue Errno::ECONNRESET, SOAP::HTTPStreamError, SocketError => e
70
+ puts 'Connection Error: %s' % e
71
+ puts 'Source: %s' % e.backtrace.first
72
+
73
+ # API Error.
74
+ rescue AdwordsApi::Errors::ApiException => e
75
+ puts 'API Exception caught.'
76
+ puts 'Message: %s' % e.message
77
+ puts 'Code: %d' % e.code if e.code
78
+ puts 'Trigger: %s' % e.trigger if e.trigger
79
+ puts 'Errors:'
80
+ if e.errors
81
+ e.errors.each_with_index do |error, index|
82
+ puts ' %d. Error type is %s. Fields:' % [index + 1, error[:xsi_type]]
83
+ error.each_pair do |field, value|
84
+ if field != :xsi_type
85
+ puts ' %s: %s' % [field, value]
86
+ end
87
+ end
88
+ end
89
+ end
90
+ end
91
+ end
@@ -0,0 +1,97 @@
1
+ #!/usr/bin/ruby
2
+ #
3
+ # Author:: api.sgomes@gmail.com (Sérgio Gomes)
4
+ #
5
+ # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
6
+ #
7
+ # License:: Licensed under the Apache License, Version 2.0 (the "License");
8
+ # you may not use this file except in compliance with the License.
9
+ # You may obtain a copy of the License at
10
+ #
11
+ # http://www.apache.org/licenses/LICENSE-2.0
12
+ #
13
+ # Unless required by applicable law or agreed to in writing, software
14
+ # distributed under the License is distributed on an "AS IS" BASIS,
15
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
16
+ # implied.
17
+ # See the License for the specific language governing permissions and
18
+ # limitations under the License.
19
+ #
20
+ # This example uploads an image. To get images, run get_all_images.rb.
21
+ #
22
+ # Tags: MediaService.upload
23
+
24
+ require 'rubygems'
25
+ gem 'google-adwords-api'
26
+ require 'adwords_api'
27
+ require 'base64'
28
+
29
+ API_VERSION = :v201109
30
+
31
+ def upload_image()
32
+ # AdwordsApi::Api will read a config file from ENV['HOME']/adwords_api.yml
33
+ # when called without parameters.
34
+ adwords = AdwordsApi::Api.new
35
+
36
+ # To enable logging of SOAP requests, set the log_level value to 'DEBUG' in
37
+ # the configuration file or provide your own logger:
38
+ # adwords.logger = Logger.new('adwords_xml.log')
39
+
40
+ media_srv = adwords.service(:MediaService, API_VERSION)
41
+
42
+ # Create image.
43
+ image_url = 'https://sandbox.google.com/sandboximages/image.jpg'
44
+ # This utility method retrieves the contents of a URL using all of the config
45
+ # options provided to the Api object.
46
+ image_data = AdsCommon::Http.get(image_url, adwords.config)
47
+ base64_image_data = Base64.encode64(image_data)
48
+ image = {
49
+ # The 'xsi_type' field allows you to specify the xsi:type of the object
50
+ # being created. It's only necessary when you must provide an explicit
51
+ # type that the client library can't infer.
52
+ :xsi_type => 'Image',
53
+ :data => base64_image_data,
54
+ :type => 'IMAGE'
55
+ }
56
+
57
+ # Upload image.
58
+ response = media_srv.upload([image])
59
+ if response and !response.empty?
60
+ ret_image = response.first
61
+ dimensions = AdwordsApi::Utils.map(ret_image[:dimensions])
62
+ puts "Image with id #{ret_image[:media_id]}, dimensions " +
63
+ "#{dimensions['FULL'][:height]}x#{dimensions['FULL'][:width]} " +
64
+ "and MIME type \"#{ret_image[:mime_type]}\" uploaded successfully."
65
+ else
66
+ puts "No images uploaded."
67
+ end
68
+ end
69
+
70
+ if __FILE__ == $0
71
+ begin
72
+ upload_image()
73
+
74
+ # Connection error. Likely transitory.
75
+ rescue Errno::ECONNRESET, SOAP::HTTPStreamError, SocketError => e
76
+ puts 'Connection Error: %s' % e
77
+ puts 'Source: %s' % e.backtrace.first
78
+
79
+ # API Error.
80
+ rescue AdwordsApi::Errors::ApiException => e
81
+ puts 'API Exception caught.'
82
+ puts 'Message: %s' % e.message
83
+ puts 'Code: %d' % e.code if e.code
84
+ puts 'Trigger: %s' % e.trigger if e.trigger
85
+ puts 'Errors:'
86
+ if e.errors
87
+ e.errors.each_with_index do |error, index|
88
+ puts ' %d. Error type is %s. Fields:' % [index + 1, error[:xsi_type]]
89
+ error.each_pair do |field, value|
90
+ if field != :xsi_type
91
+ puts ' %s: %s' % [field, value]
92
+ end
93
+ end
94
+ end
95
+ end
96
+ end
97
+ end
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-adx-buyer-api
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 15
4
5
  prerelease: false
5
6
  segments:
6
7
  - 0
7
- - 2
8
+ - 4
8
9
  - 0
9
- version: 0.2.0
10
+ version: 0.4.0
10
11
  platform: ruby
11
12
  authors:
12
13
  - Danial Klimkin
@@ -14,21 +15,23 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2011-05-24 00:00:00 +04:00
18
+ date: 2011-10-27 00:00:00 +04:00
18
19
  default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
21
22
  name: google-adwords-api
22
23
  prerelease: false
23
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
24
26
  requirements:
25
27
  - - ~>
26
28
  - !ruby/object:Gem::Version
29
+ hash: 13
27
30
  segments:
28
31
  - 0
32
+ - 4
29
33
  - 1
30
- - 2
31
- version: 0.1.2
34
+ version: 0.4.1
32
35
  type: :runtime
33
36
  version_requirements: *id001
34
37
  description: google-adx-buyer-api is a DoubleClick Ad Exchange API Buyer API client library for Ruby
@@ -42,134 +45,177 @@ extra_rdoc_files:
42
45
  - COPYING
43
46
  - ChangeLog
44
47
  files:
45
- - examples/v201008/add_experiment.rb
46
- - examples/v201008/add_ad_group.rb
47
- - examples/v201008/add_ad_group_criteria.rb
48
- - examples/v201008/add_ads.rb
49
- - examples/v201008/add_campaign.rb
50
- - examples/v201008/add_placement_performance_report_definition.rb
51
- - examples/v201008/add_negative_campaign_criterion.rb
52
- - examples/v201008/add_user_list.rb
53
- - examples/v201008/check_campaigns.rb
54
- - examples/v201008/delete_ad.rb
55
- - examples/v201008/delete_ad_group.rb
56
- - examples/v201008/delete_ad_group_criterion.rb
57
- - examples/v201008/delete_bulk_mutate_job.rb
58
- - examples/v201008/delete_campaign.rb
59
- - examples/v201008/delete_user_list.rb
60
- - examples/v201008/download_report.rb
61
- - examples/v201008/get_all_account_changes.rb
62
- - examples/v201008/get_all_active_ad_group_criteria.rb
63
- - examples/v201008/get_all_ad_group_criteria.rb
64
- - examples/v201008/get_all_ad_groups.rb
65
- - examples/v201008/get_all_ads.rb
66
- - examples/v201008/delete_experiment.rb
67
- - examples/v201008/get_all_campaign_targets.rb
68
- - examples/v201008/get_all_campaigns.rb
69
- - examples/v201008/get_all_disapproved_ads.rb
70
- - examples/v201008/get_all_images.rb
71
- - examples/v201008/get_all_paused_campaigns.rb
72
- - examples/v201008/get_all_report_definitions.rb
73
- - examples/v201008/get_all_user_lists.rb
74
- - examples/v201008/get_criterion_bid_landscape.rb
75
- - examples/v201008/get_geo_location_info.rb
76
- - examples/v201008/get_related_placements.rb
77
- - examples/v201008/get_report_fields.rb
78
- - examples/v201008/get_bulk_mutate_job.rb
79
- - examples/v201008/set_campaign_targets.rb
80
- - examples/v201008/update_ad.rb
81
- - examples/v201008/update_ad_group.rb
82
- - examples/v201008/update_ad_group_criterion.rb
83
- - examples/v201008/update_campaign.rb
84
- - examples/v201008/update_user_list.rb
85
- - examples/v201008/upload_image.rb
86
- - examples/v201008/get_all_experiments.rb
87
- - examples/v201008/perform_bulk_mutate_job.rb
88
- - examples/v201008/get_campaign_alerts.rb
89
- - examples/v201008/promote_experiment.rb
90
- - examples/v201003/add_ad_group.rb
91
- - examples/v201003/add_ad_group_criteria.rb
92
- - examples/v201003/add_ads.rb
93
- - examples/v201003/add_campaign.rb
94
- - examples/v201003/add_negative_campaign_criterion.rb
95
- - examples/v201003/add_placement_performance_report_definition.rb
96
- - examples/v201003/check_campaigns.rb
48
+ - examples/v201003/get_all_ad_group_criteria.rb
97
49
  - examples/v201003/delete_ad.rb
50
+ - examples/v201003/add_negative_campaign_criterion.rb
51
+ - examples/v201003/get_criterion_bid_landscape.rb
52
+ - examples/v201003/get_all_disapproved_ads.rb
53
+ - examples/v201003/get_all_active_ad_group_criteria.rb
54
+ - examples/v201003/add_ad_group.rb
55
+ - examples/v201003/update_ad.rb
56
+ - examples/v201003/get_geo_location_info.rb
98
57
  - examples/v201003/delete_ad_group.rb
99
- - examples/v201003/delete_ad_group_criterion.rb
100
- - examples/v201003/delete_campaign.rb
58
+ - examples/v201003/set_campaign_targets.rb
101
59
  - examples/v201003/download_report.rb
102
- - examples/v201003/get_all_active_ad_group_criteria.rb
103
- - examples/v201003/get_all_ad_group_criteria.rb
104
- - examples/v201003/get_all_ad_groups.rb
105
- - examples/v201003/get_all_ads.rb
106
- - examples/v201003/get_all_campaign_targets.rb
107
- - examples/v201003/get_all_campaigns.rb
108
- - examples/v201003/get_all_disapproved_ads.rb
109
60
  - examples/v201003/get_all_images.rb
110
- - examples/v201003/get_all_paused_campaigns.rb
61
+ - examples/v201003/check_campaigns.rb
62
+ - examples/v201003/get_all_ads.rb
111
63
  - examples/v201003/get_all_report_definitions.rb
112
- - examples/v201003/get_criterion_bid_landscape.rb
113
- - examples/v201003/get_geo_location_info.rb
64
+ - examples/v201003/get_all_campaigns.rb
65
+ - examples/v201003/upload_image.rb
66
+ - examples/v201003/update_ad_group_criterion.rb
67
+ - examples/v201003/update_ad_group.rb
68
+ - examples/v201003/add_placement_performance_report_definition.rb
114
69
  - examples/v201003/get_related_placements.rb
70
+ - examples/v201003/get_all_paused_campaigns.rb
71
+ - examples/v201003/add_ads.rb
72
+ - examples/v201003/delete_ad_group_criterion.rb
73
+ - examples/v201003/get_all_ad_groups.rb
74
+ - examples/v201003/add_campaign.rb
75
+ - examples/v201003/add_ad_group_criteria.rb
76
+ - examples/v201003/delete_campaign.rb
115
77
  - examples/v201003/get_report_fields.rb
78
+ - examples/v201003/get_all_campaign_targets.rb
116
79
  - examples/v201003/perform_bulk_mutate_job.rb
117
- - examples/v201003/set_campaign_targets.rb
118
- - examples/v201003/update_ad.rb
119
- - examples/v201003/update_ad_group.rb
120
- - examples/v201003/update_ad_group_criterion.rb
121
80
  - examples/v201003/update_campaign.rb
122
- - examples/v201003/upload_image.rb
123
- - examples/v201101/add_ad_group.rb
124
- - examples/v201101/add_ad_group_criteria.rb
125
- - examples/v201101/add_ads.rb
126
- - examples/v201101/add_campaign.rb
127
- - examples/v201101/add_conversion.rb
128
- - examples/v201101/add_experiment.rb
129
- - examples/v201101/add_negative_campaign_criterion.rb
130
- - examples/v201101/add_placement_performance_report_definition.rb
131
- - examples/v201101/add_rtb_campaign.rb
132
- - examples/v201101/add_user_list.rb
133
- - examples/v201101/check_campaigns.rb
134
- - examples/v201101/delete_ad.rb
135
- - examples/v201101/delete_ad_group.rb
136
- - examples/v201101/delete_ad_group_criterion.rb
137
- - examples/v201101/delete_bulk_mutate_job.rb
138
- - examples/v201101/delete_campaign.rb
139
- - examples/v201101/delete_experiment.rb
140
- - examples/v201101/delete_user_list.rb
141
- - examples/v201101/download_report.rb
81
+ - examples/v201008/get_all_ad_group_criteria.rb
82
+ - examples/v201008/get_all_account_changes.rb
83
+ - examples/v201008/delete_ad.rb
84
+ - examples/v201008/add_negative_campaign_criterion.rb
85
+ - examples/v201008/get_criterion_bid_landscape.rb
86
+ - examples/v201008/get_all_disapproved_ads.rb
87
+ - examples/v201008/get_all_active_ad_group_criteria.rb
88
+ - examples/v201008/delete_bulk_mutate_job.rb
89
+ - examples/v201008/add_ad_group.rb
90
+ - examples/v201008/update_ad.rb
91
+ - examples/v201008/get_geo_location_info.rb
92
+ - examples/v201008/delete_ad_group.rb
93
+ - examples/v201008/set_campaign_targets.rb
94
+ - examples/v201008/download_report.rb
95
+ - examples/v201008/get_all_images.rb
96
+ - examples/v201008/check_campaigns.rb
97
+ - examples/v201008/get_all_ads.rb
98
+ - examples/v201008/get_all_report_definitions.rb
99
+ - examples/v201008/get_all_campaigns.rb
100
+ - examples/v201008/upload_image.rb
101
+ - examples/v201008/update_ad_group_criterion.rb
102
+ - examples/v201008/get_all_user_lists.rb
103
+ - examples/v201008/update_ad_group.rb
104
+ - examples/v201008/get_bulk_mutate_job.rb
105
+ - examples/v201008/add_placement_performance_report_definition.rb
106
+ - examples/v201008/get_related_placements.rb
107
+ - examples/v201008/get_all_paused_campaigns.rb
108
+ - examples/v201008/add_ads.rb
109
+ - examples/v201008/get_campaign_alerts.rb
110
+ - examples/v201008/delete_user_list.rb
111
+ - examples/v201008/delete_ad_group_criterion.rb
112
+ - examples/v201008/get_all_ad_groups.rb
113
+ - examples/v201008/add_campaign.rb
114
+ - examples/v201008/update_user_list.rb
115
+ - examples/v201008/add_user_list.rb
116
+ - examples/v201008/add_ad_group_criteria.rb
117
+ - examples/v201008/delete_campaign.rb
118
+ - examples/v201008/get_report_fields.rb
119
+ - examples/v201008/get_all_campaign_targets.rb
120
+ - examples/v201008/perform_bulk_mutate_job.rb
121
+ - examples/v201008/update_campaign.rb
142
122
  - examples/v201101/get_ad_group_bid_landscape.rb
143
- - examples/v201101/get_all_account_changes.rb
144
- - examples/v201101/get_all_active_ad_group_criteria.rb
145
123
  - examples/v201101/get_all_ad_group_criteria.rb
146
- - examples/v201101/get_all_ad_groups.rb
147
- - examples/v201101/get_all_ads.rb
148
- - examples/v201101/get_all_campaign_targets.rb
149
- - examples/v201101/get_all_campaigns.rb
150
- - examples/v201101/get_all_conversions.rb
124
+ - examples/v201101/get_all_account_changes.rb
125
+ - examples/v201101/delete_ad.rb
126
+ - examples/v201101/add_negative_campaign_criterion.rb
127
+ - examples/v201101/get_criterion_bid_landscape.rb
151
128
  - examples/v201101/get_all_disapproved_ads.rb
152
- - examples/v201101/get_all_experiments.rb
129
+ - examples/v201101/get_all_active_ad_group_criteria.rb
130
+ - examples/v201101/delete_bulk_mutate_job.rb
131
+ - examples/v201101/add_ad_group.rb
132
+ - examples/v201101/update_ad.rb
133
+ - examples/v201101/get_geo_location_info.rb
134
+ - examples/v201101/delete_ad_group.rb
135
+ - examples/v201101/set_campaign_targets.rb
136
+ - examples/v201101/download_report.rb
153
137
  - examples/v201101/get_all_images.rb
154
- - examples/v201101/get_all_paused_campaigns.rb
138
+ - examples/v201101/check_campaigns.rb
139
+ - examples/v201101/get_all_ads.rb
155
140
  - examples/v201101/get_all_report_definitions.rb
141
+ - examples/v201101/get_all_campaigns.rb
142
+ - examples/v201101/upload_image.rb
143
+ - examples/v201101/update_ad_group_criterion.rb
156
144
  - examples/v201101/get_all_user_lists.rb
145
+ - examples/v201101/update_ad_group.rb
157
146
  - examples/v201101/get_bulk_mutate_job.rb
158
- - examples/v201101/get_campaign_alerts.rb
159
- - examples/v201101/get_criterion_bid_landscape.rb
160
- - examples/v201101/get_geo_location_info.rb
147
+ - examples/v201101/add_placement_performance_report_definition.rb
148
+ - examples/v201101/add_rtb_campaign.rb
161
149
  - examples/v201101/get_related_placements.rb
150
+ - examples/v201101/get_all_paused_campaigns.rb
151
+ - examples/v201101/add_ads.rb
152
+ - examples/v201101/get_campaign_alerts.rb
153
+ - examples/v201101/delete_user_list.rb
154
+ - examples/v201101/delete_ad_group_criterion.rb
155
+ - examples/v201101/get_all_ad_groups.rb
156
+ - examples/v201101/add_campaign.rb
157
+ - examples/v201101/update_user_list.rb
158
+ - examples/v201101/add_user_list.rb
159
+ - examples/v201101/add_ad_group_criteria.rb
160
+ - examples/v201101/delete_campaign.rb
161
+ - examples/v201101/get_all_conversions.rb
162
+ - examples/v201101/update_conversion.rb
162
163
  - examples/v201101/get_report_fields.rb
164
+ - examples/v201101/get_all_campaign_targets.rb
163
165
  - examples/v201101/perform_bulk_mutate_job.rb
164
- - examples/v201101/promote_experiment.rb
165
- - examples/v201101/set_campaign_targets.rb
166
- - examples/v201101/update_ad.rb
167
- - examples/v201101/update_ad_group.rb
168
- - examples/v201101/update_ad_group_criterion.rb
166
+ - examples/v201101/add_conversion.rb
169
167
  - examples/v201101/update_campaign.rb
170
- - examples/v201101/update_conversion.rb
171
- - examples/v201101/update_user_list.rb
172
- - examples/v201101/upload_image.rb
168
+ - examples/v201109/get_ad_group_bid_landscape.rb
169
+ - examples/v201109/get_all_ad_group_criteria.rb
170
+ - examples/v201109/get_all_account_changes.rb
171
+ - examples/v201109/delete_ad.rb
172
+ - examples/v201109/add_negative_campaign_criterion.rb
173
+ - examples/v201109/get_criterion_bid_landscape.rb
174
+ - examples/v201109/get_all_disapproved_ads.rb
175
+ - examples/v201109/get_all_active_ad_group_criteria.rb
176
+ - examples/v201109/get_all_carriers.rb
177
+ - examples/v201109/delete_bulk_mutate_job.rb
178
+ - examples/v201109/perform_mutate_job.rb
179
+ - examples/v201109/add_ad_group.rb
180
+ - examples/v201109/update_ad.rb
181
+ - examples/v201109/get_geo_location_info.rb
182
+ - examples/v201109/get_all_languages.rb
183
+ - examples/v201109/delete_ad_group.rb
184
+ - examples/v201109/download_report.rb
185
+ - examples/v201109/get_all_images.rb
186
+ - examples/v201109/check_campaigns.rb
187
+ - examples/v201109/get_all_ads.rb
188
+ - examples/v201109/get_all_report_definitions.rb
189
+ - examples/v201109/get_all_campaigns.rb
190
+ - examples/v201109/upload_image.rb
191
+ - examples/v201109/update_ad_group_criterion.rb
192
+ - examples/v201109/get_all_user_lists.rb
193
+ - examples/v201109/update_ad_group.rb
194
+ - examples/v201109/get_location_criteria.rb
195
+ - examples/v201109/get_bulk_mutate_job.rb
196
+ - examples/v201109/add_campaign_targeting_criteria.rb
197
+ - examples/v201109/add_rtb_campaign.rb
198
+ - examples/v201109/get_related_placements.rb
199
+ - examples/v201109/get_all_paused_campaigns.rb
200
+ - examples/v201109/add_ads.rb
201
+ - examples/v201109/get_campaign_alerts.rb
202
+ - examples/v201109/delete_user_list.rb
203
+ - examples/v201109/delete_ad_group_criterion.rb
204
+ - examples/v201109/get_all_ad_groups.rb
205
+ - examples/v201109/add_campaign.rb
206
+ - examples/v201109/update_user_list.rb
207
+ - examples/v201109/add_user_list.rb
208
+ - examples/v201109/download_adhoc_report.rb
209
+ - examples/v201109/add_ad_group_criteria.rb
210
+ - examples/v201109/delete_campaign.rb
211
+ - examples/v201109/get_all_conversions.rb
212
+ - examples/v201109/get_client_customer_id.rb
213
+ - examples/v201109/update_conversion.rb
214
+ - examples/v201109/get_report_fields.rb
215
+ - examples/v201109/get_all_campaign_targets.rb
216
+ - examples/v201109/perform_bulk_mutate_job.rb
217
+ - examples/v201109/add_conversion.rb
218
+ - examples/v201109/update_campaign.rb
173
219
  - Rakefile
174
220
  - README
175
221
  - COPYING
@@ -184,23 +230,27 @@ rdoc_options: []
184
230
  require_paths:
185
231
  - lib
186
232
  required_ruby_version: !ruby/object:Gem::Requirement
233
+ none: false
187
234
  requirements:
188
235
  - - ">="
189
236
  - !ruby/object:Gem::Version
237
+ hash: 3
190
238
  segments:
191
239
  - 0
192
240
  version: "0"
193
241
  required_rubygems_version: !ruby/object:Gem::Requirement
242
+ none: false
194
243
  requirements:
195
244
  - - ">="
196
245
  - !ruby/object:Gem::Version
246
+ hash: 3
197
247
  segments:
198
248
  - 0
199
249
  version: "0"
200
250
  requirements: []
201
251
 
202
252
  rubyforge_project:
203
- rubygems_version: 1.3.6
253
+ rubygems_version: 1.3.7
204
254
  signing_key:
205
255
  specification_version: 3
206
256
  summary: Ruby Client libraries for DoubleClick Ad Exchange Buyer API