google-adwords-api 0.16.0 → 0.16.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (164) hide show
  1. checksums.yaml +8 -8
  2. data/COPYING +1 -1
  3. data/ChangeLog +4 -0
  4. data/README.md +6 -7
  5. data/adwords_api.yml +1 -1
  6. data/examples/v201502/account_management/create_account.rb +0 -4
  7. data/examples/v201502/account_management/get_account_changes.rb +0 -4
  8. data/examples/v201502/account_management/get_account_hierarchy.rb +0 -4
  9. data/examples/v201502/advanced_operations/add_ad_customizers.rb +0 -5
  10. data/examples/v201502/advanced_operations/add_ad_group_bid_modifier.rb +0 -4
  11. data/examples/v201502/advanced_operations/add_click_to_download_ad.rb +0 -4
  12. data/examples/v201502/advanced_operations/add_text_ad_with_upgraded_urls.rb +0 -4
  13. data/examples/v201502/advanced_operations/create_and_attach_shared_keyword_set.rb +0 -4
  14. data/examples/v201502/advanced_operations/find_and_remove_criteria_from_shared_set.rb +0 -5
  15. data/examples/v201502/advanced_operations/get_ad_group_bid_modifiers.rb +0 -4
  16. data/examples/v201502/advanced_operations/upload_offline_conversions.rb +0 -4
  17. data/examples/v201502/advanced_operations/use_shared_bidding_strategy.rb +0 -5
  18. data/examples/v201502/basic_operations/add_ad_groups.rb +0 -4
  19. data/examples/v201502/basic_operations/add_campaigns.rb +0 -4
  20. data/examples/v201502/basic_operations/add_keywords.rb +0 -4
  21. data/examples/v201502/basic_operations/add_text_ads.rb +0 -4
  22. data/examples/v201502/basic_operations/get_ad_groups.rb +0 -4
  23. data/examples/v201502/basic_operations/get_campaigns.rb +0 -4
  24. data/examples/v201502/basic_operations/get_campaigns_with_awql.rb +0 -4
  25. data/examples/v201502/basic_operations/get_keywords.rb +0 -4
  26. data/examples/v201502/basic_operations/get_text_ads.rb +0 -4
  27. data/examples/v201502/basic_operations/pause_ad.rb +0 -4
  28. data/examples/v201502/basic_operations/remove_ad.rb +0 -4
  29. data/examples/v201502/basic_operations/remove_ad_group.rb +0 -4
  30. data/examples/v201502/basic_operations/remove_campaign.rb +0 -4
  31. data/examples/v201502/basic_operations/remove_keyword.rb +0 -4
  32. data/examples/v201502/basic_operations/update_ad_group.rb +0 -4
  33. data/examples/v201502/basic_operations/update_campaign.rb +0 -4
  34. data/examples/v201502/basic_operations/update_keyword.rb +0 -4
  35. data/examples/v201502/campaign_management/add_campaign_labels.rb +0 -4
  36. data/examples/v201502/campaign_management/add_experiment.rb +0 -4
  37. data/examples/v201502/campaign_management/add_keywords_in_bulk.rb +0 -5
  38. data/examples/v201502/campaign_management/get_all_disapproved_ads.rb +0 -4
  39. data/examples/v201502/campaign_management/get_all_disapproved_ads_with_awql.rb +0 -4
  40. data/examples/v201502/campaign_management/get_campaigns_by_label.rb +0 -4
  41. data/examples/v201502/campaign_management/promote_experiment.rb +0 -4
  42. data/examples/v201502/campaign_management/set_ad_parameters.rb +0 -4
  43. data/examples/v201502/campaign_management/set_criterion_bid_modifier.rb +0 -4
  44. data/examples/v201502/campaign_management/validate_text_ad.rb +0 -4
  45. data/examples/v201502/error_handling/handle_partial_failures.rb +0 -4
  46. data/examples/v201502/error_handling/handle_policy_violation_error.rb +0 -4
  47. data/examples/v201502/extensions/add_google_my_business_location_extensions.rb +0 -4
  48. data/examples/v201502/extensions/add_site_links.rb +0 -4
  49. data/examples/v201502/extensions/add_site_links_using_feeds.rb +0 -5
  50. data/examples/v201502/migration/migrate_to_extension_settings.rb +0 -6
  51. data/examples/v201502/migration/upgrade_ad_url.rb +0 -4
  52. data/examples/v201502/misc/create_ad_words_session_without_properties_file.rb +0 -2
  53. data/examples/v201502/misc/get_all_images_and_videos.rb +0 -4
  54. data/examples/v201502/misc/setup_oauth2.rb +0 -4
  55. data/examples/v201502/misc/upload_image.rb +0 -4
  56. data/examples/v201502/misc/use_oauth2_jwt.rb +0 -4
  57. data/examples/v201502/optimization/estimate_keyword_traffic.rb +0 -4
  58. data/examples/v201502/optimization/get_keyword_bid_simulations.rb +0 -4
  59. data/examples/v201502/optimization/get_keyword_ideas.rb +0 -4
  60. data/examples/v201502/remarketing/add_audience.rb +0 -4
  61. data/examples/v201502/remarketing/add_conversion_tracker.rb +0 -4
  62. data/examples/v201502/remarketing/add_rule_based_user_lists.rb +0 -4
  63. data/examples/v201502/reporting/download_criteria_report.rb +0 -2
  64. data/examples/v201502/reporting/download_criteria_report_with_awql.rb +0 -2
  65. data/examples/v201502/reporting/get_report_fields.rb +0 -4
  66. data/examples/v201502/reporting/parallel_report_download.rb +0 -2
  67. data/examples/v201502/shopping_campaigns/add_product_partition_tree.rb +0 -2
  68. data/examples/v201502/shopping_campaigns/add_product_scope.rb +0 -4
  69. data/examples/v201502/shopping_campaigns/add_shopping_campaign.rb +0 -4
  70. data/examples/v201502/shopping_campaigns/get_product_category_taxonomy.rb +6 -8
  71. data/examples/v201502/targeting/add_campaign_targeting_criteria.rb +0 -4
  72. data/examples/v201502/targeting/add_demographic_targeting_criteria.rb +0 -4
  73. data/examples/v201502/targeting/get_campaign_targeting_criteria.rb +0 -4
  74. data/examples/v201502/targeting/get_targetable_languages_and_carriers.rb +0 -5
  75. data/examples/v201502/targeting/lookup_location.rb +0 -4
  76. data/examples/v201506/account_management/create_account.rb +1 -5
  77. data/examples/v201506/account_management/get_account_changes.rb +1 -5
  78. data/examples/v201506/account_management/get_account_hierarchy.rb +1 -5
  79. data/examples/v201506/advanced_operations/add_ad_customizers.rb +1 -6
  80. data/examples/v201506/advanced_operations/add_ad_group_bid_modifier.rb +1 -5
  81. data/examples/v201506/advanced_operations/add_click_to_download_ad.rb +1 -5
  82. data/examples/v201506/advanced_operations/add_text_ad_with_upgraded_urls.rb +1 -5
  83. data/examples/v201506/advanced_operations/create_and_attach_shared_keyword_set.rb +8 -4
  84. data/examples/v201506/advanced_operations/find_and_remove_criteria_from_shared_set.rb +8 -5
  85. data/examples/v201506/advanced_operations/get_ad_group_bid_modifiers.rb +1 -5
  86. data/examples/v201506/advanced_operations/upload_offline_conversions.rb +1 -5
  87. data/examples/v201506/advanced_operations/use_shared_bidding_strategy.rb +1 -6
  88. data/examples/v201506/basic_operations/add_ad_groups.rb +1 -5
  89. data/examples/v201506/basic_operations/add_campaigns.rb +1 -5
  90. data/examples/v201506/basic_operations/add_keywords.rb +1 -5
  91. data/examples/v201506/basic_operations/add_text_ads.rb +1 -5
  92. data/examples/v201506/basic_operations/get_ad_groups.rb +1 -5
  93. data/examples/v201506/basic_operations/get_campaigns.rb +1 -5
  94. data/examples/v201506/basic_operations/get_campaigns_with_awql.rb +1 -5
  95. data/examples/v201506/basic_operations/get_keywords.rb +1 -5
  96. data/examples/v201506/basic_operations/get_text_ads.rb +1 -5
  97. data/examples/v201506/basic_operations/pause_ad.rb +1 -5
  98. data/examples/v201506/basic_operations/remove_ad.rb +1 -5
  99. data/examples/v201506/basic_operations/remove_ad_group.rb +1 -5
  100. data/examples/v201506/basic_operations/remove_campaign.rb +1 -5
  101. data/examples/v201506/basic_operations/remove_keyword.rb +1 -5
  102. data/examples/v201506/basic_operations/update_ad_group.rb +1 -5
  103. data/examples/v201506/basic_operations/update_campaign.rb +1 -5
  104. data/examples/v201506/basic_operations/update_keyword.rb +1 -5
  105. data/examples/v201506/campaign_management/add_campaign_labels.rb +1 -5
  106. data/examples/v201506/campaign_management/add_experiment.rb +1 -5
  107. data/examples/v201506/campaign_management/add_keywords_in_bulk.rb +1 -6
  108. data/examples/v201506/campaign_management/get_all_disapproved_ads.rb +1 -5
  109. data/examples/v201506/campaign_management/get_all_disapproved_ads_with_awql.rb +1 -5
  110. data/examples/v201506/campaign_management/get_campaigns_by_label.rb +1 -5
  111. data/examples/v201506/campaign_management/promote_experiment.rb +1 -5
  112. data/examples/v201506/campaign_management/set_ad_parameters.rb +1 -5
  113. data/examples/v201506/campaign_management/set_criterion_bid_modifier.rb +1 -5
  114. data/examples/v201506/campaign_management/validate_text_ad.rb +1 -5
  115. data/examples/v201506/error_handling/handle_partial_failures.rb +1 -5
  116. data/examples/v201506/error_handling/handle_policy_violation_error.rb +1 -5
  117. data/examples/v201506/extensions/add_google_my_business_location_extensions.rb +1 -5
  118. data/examples/v201506/extensions/add_site_links.rb +1 -5
  119. data/examples/v201506/extensions/add_site_links_using_feeds.rb +1 -6
  120. data/examples/v201506/migration/migrate_to_extension_settings.rb +1 -7
  121. data/examples/v201506/migration/upgrade_ad_url.rb +1 -5
  122. data/examples/v201506/misc/get_all_images_and_videos.rb +1 -5
  123. data/examples/v201506/misc/setup_oauth2.rb +0 -4
  124. data/examples/v201506/misc/upload_image.rb +1 -5
  125. data/examples/v201506/misc/use_oauth2_jwt.rb +0 -4
  126. data/examples/v201506/misc/use_runtime_config.rb +1 -3
  127. data/examples/v201506/optimization/estimate_keyword_traffic.rb +1 -5
  128. data/examples/v201506/optimization/get_keyword_bid_simulations.rb +1 -5
  129. data/examples/v201506/optimization/get_keyword_ideas.rb +1 -5
  130. data/examples/v201506/remarketing/add_audience.rb +1 -5
  131. data/examples/v201506/remarketing/add_conversion_tracker.rb +1 -5
  132. data/examples/v201506/remarketing/add_rule_based_user_lists.rb +1 -5
  133. data/examples/v201506/reporting/download_criteria_report.rb +1 -3
  134. data/examples/v201506/reporting/download_criteria_report_with_awql.rb +1 -3
  135. data/examples/v201506/reporting/get_report_fields.rb +1 -5
  136. data/examples/v201506/reporting/parallel_report_download.rb +1 -3
  137. data/examples/v201506/shopping_campaigns/add_product_partition_tree.rb +1 -3
  138. data/examples/v201506/shopping_campaigns/add_product_scope.rb +1 -5
  139. data/examples/v201506/shopping_campaigns/add_shopping_campaign.rb +1 -5
  140. data/examples/v201506/shopping_campaigns/get_product_category_taxonomy.rb +7 -9
  141. data/examples/v201506/targeting/add_campaign_targeting_criteria.rb +1 -5
  142. data/examples/v201506/targeting/add_demographic_targeting_criteria.rb +1 -5
  143. data/examples/v201506/targeting/get_campaign_targeting_criteria.rb +1 -5
  144. data/examples/v201506/targeting/get_targetable_languages_and_carriers.rb +1 -6
  145. data/examples/v201506/targeting/lookup_location.rb +1 -5
  146. data/lib/adwords_api.rb +0 -3
  147. data/lib/adwords_api/api_config.rb +0 -2
  148. data/lib/adwords_api/credential_handler.rb +0 -2
  149. data/lib/adwords_api/errors.rb +1 -2
  150. data/lib/adwords_api/report_header_handler.rb +0 -2
  151. data/lib/adwords_api/report_utils.rb +0 -2
  152. data/lib/adwords_api/utils.rb +0 -2
  153. data/lib/adwords_api/version.rb +1 -3
  154. data/test/adwords_api/test_adwords_api.rb +0 -2
  155. data/test/adwords_api/test_api_config.rb +0 -2
  156. data/test/adwords_api/test_choices.rb +0 -2
  157. data/test/adwords_api/test_credential_handler.rb +0 -2
  158. data/test/adwords_api/test_report_utils.rb +31 -23
  159. data/test/adwords_api/test_utils.rb +0 -2
  160. data/test/coverage.rb +0 -2
  161. data/test/suite_integration.rb +0 -2
  162. data/test/suite_unittests.rb +0 -2
  163. data/test/test_utils.rb +0 -2
  164. metadata +34 -8
@@ -1,8 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  # Encoding: utf-8
3
3
  #
4
- # Author:: api.dklimkin@gmail.com (Danial Klimkin)
5
- #
6
4
  # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
7
5
  #
8
6
  # License:: Licensed under the Apache License, Version 2.0 (the "License");
@@ -20,8 +18,6 @@
20
18
  #
21
19
  # This example gets all account changes that happened within the last 24 hours,
22
20
  # for all your campaigns.
23
- #
24
- # Tags: CustomerSyncService.get
25
21
 
26
22
  require 'adwords_api'
27
23
  require 'date'
@@ -123,7 +119,7 @@ if __FILE__ == $0
123
119
  "OAuth2 client ID and secret and run misc/setup_oauth2.rb example " +
124
120
  "to retrieve and store OAuth2 tokens."
125
121
  puts "See this wiki page for more details:\n\n " +
126
- 'http://code.google.com/p/google-api-ads-ruby/wiki/OAuth2'
122
+ 'https://github.com/googleads/google-api-ads-ruby/wiki/OAuth2'
127
123
 
128
124
  # HTTP errors.
129
125
  rescue AdsCommon::Errors::HttpError => e
@@ -1,8 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  # Encoding: utf-8
3
3
  #
4
- # Author:: api.dklimkin@gmail.com (Danial Klimkin)
5
- #
6
4
  # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
7
5
  #
8
6
  # License:: Licensed under the Apache License, Version 2.0 (the "License");
@@ -20,8 +18,6 @@
20
18
  #
21
19
  # This example illustrates how to retrieve the account hierarchy under an
22
20
  # account. This example needs to be run against an MCC account.
23
- #
24
- # Tags: ManagedCustomerService.get
25
21
 
26
22
  require 'adwords_api'
27
23
  require 'adwords_api/utils'
@@ -78,7 +74,7 @@ if __FILE__ == $0
78
74
  "OAuth2 client ID and secret and run misc/setup_oauth2.rb example " +
79
75
  "to retrieve and store OAuth2 tokens."
80
76
  puts "See this wiki page for more details:\n\n " +
81
- 'http://code.google.com/p/google-api-ads-ruby/wiki/OAuth2'
77
+ 'https://github.com/googleads/google-api-ads-ruby/wiki/OAuth2'
82
78
 
83
79
  # HTTP errors.
84
80
  rescue AdsCommon::Errors::HttpError => e
@@ -1,8 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  # Encoding: utf-8
3
3
  #
4
- # Author:: api.mcloonan@gmail.com (Michael Cloonan)
5
- #
6
4
  # Copyright:: Copyright 2015, Google Inc. All Rights Reserved.
7
5
  #
8
6
  # License:: Licensed under the Apache License, Version 2.0 (the "License");
@@ -20,9 +18,6 @@
20
18
  #
21
19
  # This example adds an ad customizer feed using Extension Services. Then it adds
22
20
  # an ad that uses the feed to populate dynamic data.
23
- #
24
- # Tags: AdCustomizerFeedService.mutate, FeedItemService.mutate
25
- # Tags: AdGroupAdService.mutate
26
21
 
27
22
  require 'adwords_api'
28
23
  require 'date'
@@ -169,7 +164,7 @@ if __FILE__ == $0
169
164
  "OAuth2 client ID and secret and run misc/setup_oauth2.rb example " +
170
165
  "to retrieve and store OAuth2 tokens."
171
166
  puts "See this wiki page for more details:\n\n " +
172
- 'http://code.google.com/p/google-api-ads-ruby/wiki/OAuth2'
167
+ 'https://github.com/googleads/google-api-ads-ruby/wiki/OAuth2'
173
168
 
174
169
  # HTTP errors.
175
170
  rescue AdsCommon::Errors::HttpError => e
@@ -1,8 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  # Encoding: utf-8
3
3
  #
4
- # Author:: api.dklimkin@gmail.com (Danial Klimkin)
5
- #
6
4
  # Copyright:: Copyright 2013, Google Inc. All Rights Reserved.
7
5
  #
8
6
  # License:: Licensed under the Apache License, Version 2.0 (the "License");
@@ -20,8 +18,6 @@
20
18
  #
21
19
  # This example illustrates how to add an ad group level mobile bid modifier
22
20
  # override for a campaign.
23
- #
24
- # Tags: AdGroupBidModifierService.mutate
25
21
 
26
22
  require 'adwords_api'
27
23
 
@@ -85,7 +81,7 @@ if __FILE__ == $0
85
81
  "OAuth2 client ID and secret and run misc/setup_oauth2.rb example " +
86
82
  "to retrieve and store OAuth2 tokens."
87
83
  puts "See this wiki page for more details:\n\n " +
88
- 'http://code.google.com/p/google-api-ads-ruby/wiki/OAuth2'
84
+ 'https://github.com/googleads/google-api-ads-ruby/wiki/OAuth2'
89
85
 
90
86
  # HTTP errors.
91
87
  rescue AdsCommon::Errors::HttpError => e
@@ -1,8 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  # Encoding: utf-8
3
3
  #
4
- # Author:: api.dklimkin@gmail.com (Danial Klimkin)
5
- #
6
4
  # Copyright:: Copyright 2013, Google Inc. All Rights Reserved.
7
5
  #
8
6
  # License:: Licensed under the Apache License, Version 2.0 (the "License");
@@ -20,8 +18,6 @@
20
18
  #
21
19
  # This code example creates a click-to-download ad, also known as an app
22
20
  # promotion ad to a given ad group. To list ad groups, run get_ad_groups.rb.
23
- #
24
- # Tags: AdGroupAdService.mutate
25
21
 
26
22
  require 'adwords_api'
27
23
 
@@ -117,7 +113,7 @@ if __FILE__ == $0
117
113
  "OAuth2 client ID and secret and run misc/setup_oauth2.rb example " +
118
114
  "to retrieve and store OAuth2 tokens."
119
115
  puts "See this wiki page for more details:\n\n " +
120
- 'http://code.google.com/p/google-api-ads-ruby/wiki/OAuth2'
116
+ 'https://github.com/googleads/google-api-ads-ruby/wiki/OAuth2'
121
117
 
122
118
  # HTTP errors.
123
119
  rescue AdsCommon::Errors::HttpError => e
@@ -1,8 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  # Encoding: utf-8
3
3
  #
4
- # Author:: api.mcloonan@gmail.com (Michael Cloonan)
5
- #
6
4
  # Copyright:: Copyright 2014, Google Inc. All Rights Reserved.
7
5
  #
8
6
  # License:: Licensed under the Apache License, Version 2.0 (the "License");
@@ -20,8 +18,6 @@
20
18
  #
21
19
  # This code example adds a text ad that uses advanced features of upgraded
22
20
  # URLs.
23
- #
24
- # Tags: AdGroupAdService.mutate
25
21
 
26
22
  require 'adwords_api'
27
23
 
@@ -118,7 +114,7 @@ if __FILE__ == $0
118
114
  "OAuth2 client ID and secret and run misc/setup_oauth2.rb example " +
119
115
  "to retrieve and store OAuth2 tokens."
120
116
  puts "See this wiki page for more details:\n\n " +
121
- 'http://code.google.com/p/google-api-ads-ruby/wiki/OAuth2'
117
+ 'https://github.com/googleads/google-api-ads-ruby/wiki/OAuth2'
122
118
 
123
119
  # HTTP errors.
124
120
  rescue AdsCommon::Errors::HttpError => e
@@ -1,8 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  # Encoding: utf-8
3
3
  #
4
- # Author:: api.dklimkin@gmail.com (Danial Klimkin)
5
- #
6
4
  # Copyright:: Copyright 2015, Google Inc. All Rights Reserved.
7
5
  #
8
6
  # License:: Licensed under the Apache License, Version 2.0 (the "License");
@@ -20,8 +18,6 @@
20
18
  #
21
19
  # This example creates a shared list of negative broad match keywords, it then
22
20
  # attaches them to a campaign.
23
- #
24
- # Tags: SharedSetService.mutate, CampaignSharedSetService.mutate
25
21
 
26
22
  require 'adwords_api'
27
23
  require 'date'
@@ -119,6 +115,14 @@ if __FILE__ == $0
119
115
 
120
116
  create_and_attach_shared_keyword_set(campaign_id)
121
117
 
118
+ # Authorization error.
119
+ rescue AdsCommon::Errors::OAuth2VerificationRequired => e
120
+ puts "Authorization credentials are not valid. Edit adwords_api.yml for " +
121
+ "OAuth2 client ID and secret and run misc/setup_oauth2.rb example " +
122
+ "to retrieve and store OAuth2 tokens."
123
+ puts "See this wiki page for more details:\n\n " +
124
+ 'https://github.com/googleads/google-api-ads-ruby/wiki/OAuth2'
125
+
122
126
  # HTTP errors.
123
127
  rescue AdsCommon::Errors::HttpError => e
124
128
  puts "HTTP Error: %s" % e
@@ -1,8 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  # Encoding: utf-8
3
3
  #
4
- # Author:: api.dklimkin@gmail.com (Danial Klimkin)
5
- #
6
4
  # Copyright:: Copyright 2015, Google Inc. All Rights Reserved.
7
5
  #
8
6
  # License:: Licensed under the Apache License, Version 2.0 (the "License");
@@ -20,9 +18,6 @@
20
18
  #
21
19
  # This example demonstrates how to find shared sets, shared set criterions and
22
20
  # how to remove them.
23
- #
24
- # Tags: CampaignSharedSetService.get
25
- # Tags: SharedCriterionService.get, SharedCriterionService.mutate
26
21
 
27
22
  require 'adwords_api'
28
23
 
@@ -153,6 +148,14 @@ if __FILE__ == $0
153
148
 
154
149
  find_and_remove_criteria_from_shared_set(campaign_id)
155
150
 
151
+ # Authorization error.
152
+ rescue AdsCommon::Errors::OAuth2VerificationRequired => e
153
+ puts "Authorization credentials are not valid. Edit adwords_api.yml for " +
154
+ "OAuth2 client ID and secret and run misc/setup_oauth2.rb example " +
155
+ "to retrieve and store OAuth2 tokens."
156
+ puts "See this wiki page for more details:\n\n " +
157
+ 'https://github.com/googleads/google-api-ads-ruby/wiki/OAuth2'
158
+
156
159
  # HTTP errors.
157
160
  rescue AdsCommon::Errors::HttpError => e
158
161
  puts "HTTP Error: %s" % e
@@ -1,8 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  # Encoding: utf-8
3
3
  #
4
- # Author:: api.dklimkin@gmail.com (Danial Klimkin)
5
- #
6
4
  # Copyright:: Copyright 2013, Google Inc. All Rights Reserved.
7
5
  #
8
6
  # License:: Licensed under the Apache License, Version 2.0 (the "License");
@@ -20,8 +18,6 @@
20
18
  #
21
19
  # This example illustrates how to retrieve ad group level bid modifiers for a
22
20
  # campaign.
23
- #
24
- # Tags: AdGroupBidModifierService.get
25
21
 
26
22
  require 'adwords_api'
27
23
 
@@ -86,7 +82,7 @@ if __FILE__ == $0
86
82
  "OAuth2 client ID and secret and run misc/setup_oauth2.rb example " +
87
83
  "to retrieve and store OAuth2 tokens."
88
84
  puts "See this wiki page for more details:\n\n " +
89
- 'http://code.google.com/p/google-api-ads-ruby/wiki/OAuth2'
85
+ 'https://github.com/googleads/google-api-ads-ruby/wiki/OAuth2'
90
86
 
91
87
  # HTTP errors.
92
88
  rescue AdsCommon::Errors::HttpError => e
@@ -1,8 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  # Encoding: utf-8
3
3
  #
4
- # Author:: api.dklimkin@gmail.com (Danial Klimkin)
5
- #
6
4
  # Copyright:: Copyright 2013, Google Inc. All Rights Reserved.
7
5
  #
8
6
  # License:: Licensed under the Apache License, Version 2.0 (the "License");
@@ -21,8 +19,6 @@
21
19
  # This code example imports offline conversion values for specific clicks to
22
20
  # your account. To get Google Click ID for a click, run
23
21
  # CLICK_PERFORMANCE_REPORT.
24
- #
25
- # Tags: ConversionTrackerService.mutate, OfflineConversionFeedService.mutate
26
22
 
27
23
  require 'adwords_api'
28
24
  require 'date'
@@ -97,7 +93,7 @@ if __FILE__ == $0
97
93
  "OAuth2 client ID and secret and run misc/setup_oauth2.rb example " +
98
94
  "to retrieve and store OAuth2 tokens."
99
95
  puts "See this wiki page for more details:\n\n " +
100
- 'http://code.google.com/p/google-api-ads-ruby/wiki/OAuth2'
96
+ 'https://github.com/googleads/google-api-ads-ruby/wiki/OAuth2'
101
97
 
102
98
  # HTTP errors.
103
99
  rescue AdsCommon::Errors::HttpError => e
@@ -1,8 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  # Encoding: utf-8
3
3
  #
4
- # Author:: api.dklimkin@gmail.com (Danial Klimkin)
5
- #
6
4
  # Copyright:: Copyright 2013, Google Inc. All Rights Reserved.
7
5
  #
8
6
  # License:: Licensed under the Apache License, Version 2.0 (the "License");
@@ -20,9 +18,6 @@
20
18
  #
21
19
  # This example adds a Shared Bidding Strategy and uses it to construct a
22
20
  # campaign.
23
- #
24
- # Tags: BiddingStrategyService.mutate, CampaignService.mutate
25
- # Tags: BudgetService.mutate
26
21
 
27
22
  require 'adwords_api'
28
23
  require 'date'
@@ -132,7 +127,7 @@ if __FILE__ == $0
132
127
  "OAuth2 client ID and secret and run misc/setup_oauth2.rb example " +
133
128
  "to retrieve and store OAuth2 tokens."
134
129
  puts "See this wiki page for more details:\n\n " +
135
- 'http://code.google.com/p/google-api-ads-ruby/wiki/OAuth2'
130
+ 'https://github.com/googleads/google-api-ads-ruby/wiki/OAuth2'
136
131
 
137
132
  # HTTP errors.
138
133
  rescue AdsCommon::Errors::HttpError => e
@@ -1,8 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  # Encoding: utf-8
3
3
  #
4
- # Author:: api.dklimkin@gmail.com (Danial Klimkin)
5
- #
6
4
  # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
7
5
  #
8
6
  # License:: Licensed under the Apache License, Version 2.0 (the "License");
@@ -20,8 +18,6 @@
20
18
  #
21
19
  # This example illustrates how to create ad groups. To get a list of existing
22
20
  # campaigns run get_campaigns.rb.
23
- #
24
- # Tags: AdGroupService.mutate
25
21
 
26
22
  require 'adwords_api'
27
23
 
@@ -124,7 +120,7 @@ if __FILE__ == $0
124
120
  "OAuth2 client ID and secret and run misc/setup_oauth2.rb example " +
125
121
  "to retrieve and store OAuth2 tokens."
126
122
  puts "See this wiki page for more details:\n\n " +
127
- 'http://code.google.com/p/google-api-ads-ruby/wiki/OAuth2'
123
+ 'https://github.com/googleads/google-api-ads-ruby/wiki/OAuth2'
128
124
 
129
125
  # HTTP errors.
130
126
  rescue AdsCommon::Errors::HttpError => e
@@ -1,8 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  # Encoding: utf-8
3
3
  #
4
- # Author:: api.dklimkin@gmail.com (Danial Klimkin)
5
- #
6
4
  # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
7
5
  #
8
6
  # License:: Licensed under the Apache License, Version 2.0 (the "License");
@@ -19,8 +17,6 @@
19
17
  # limitations under the License.
20
18
  #
21
19
  # This example illustrates how to create campaigns.
22
- #
23
- # Tags: CampaignService.mutate, BudgetService.mutate
24
20
 
25
21
  require 'adwords_api'
26
22
  require 'date'
@@ -123,7 +119,7 @@ if __FILE__ == $0
123
119
  "OAuth2 client ID and secret and run misc/setup_oauth2.rb example " +
124
120
  "to retrieve and store OAuth2 tokens."
125
121
  puts "See this wiki page for more details:\n\n " +
126
- 'http://code.google.com/p/google-api-ads-ruby/wiki/OAuth2'
122
+ 'https://github.com/googleads/google-api-ads-ruby/wiki/OAuth2'
127
123
 
128
124
  # HTTP errors.
129
125
  rescue AdsCommon::Errors::HttpError => e
@@ -1,8 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  # Encoding: utf-8
3
3
  #
4
- # Author:: api.dklimkin@gmail.com (Danial Klimkin)
5
- #
6
4
  # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
7
5
  #
8
6
  # License:: Licensed under the Apache License, Version 2.0 (the "License");
@@ -20,8 +18,6 @@
20
18
  #
21
19
  # This example illustrates how to add multiple keywords to a given ad group. To
22
20
  # create an ad group, run add_ad_group.rb.
23
- #
24
- # Tags: AdGroupCriterionService.mutate
25
21
 
26
22
  require 'adwords_api'
27
23
 
@@ -98,7 +94,7 @@ if __FILE__ == $0
98
94
  "OAuth2 client ID and secret and run misc/setup_oauth2.rb example " +
99
95
  "to retrieve and store OAuth2 tokens."
100
96
  puts "See this wiki page for more details:\n\n " +
101
- 'http://code.google.com/p/google-api-ads-ruby/wiki/OAuth2'
97
+ 'https://github.com/googleads/google-api-ads-ruby/wiki/OAuth2'
102
98
 
103
99
  # HTTP errors.
104
100
  rescue AdsCommon::Errors::HttpError => e
@@ -1,8 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  # Encoding: utf-8
3
3
  #
4
- # Author:: api.dklimkin@gmail.com (Danial Klimkin)
5
- #
6
4
  # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
7
5
  #
8
6
  # License:: Licensed under the Apache License, Version 2.0 (the "License");
@@ -20,8 +18,6 @@
20
18
  #
21
19
  # This example illustrates how to add text ads to a given ad group. To create an
22
20
  # ad group, run add_ad_group.rb.
23
- #
24
- # Tags: AdGroupAdService.mutate
25
21
 
26
22
  require 'adwords_api'
27
23
 
@@ -93,7 +89,7 @@ if __FILE__ == $0
93
89
  "OAuth2 client ID and secret and run misc/setup_oauth2.rb example " +
94
90
  "to retrieve and store OAuth2 tokens."
95
91
  puts "See this wiki page for more details:\n\n " +
96
- 'http://code.google.com/p/google-api-ads-ruby/wiki/OAuth2'
92
+ 'https://github.com/googleads/google-api-ads-ruby/wiki/OAuth2'
97
93
 
98
94
  # HTTP errors.
99
95
  rescue AdsCommon::Errors::HttpError => e
@@ -1,8 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  # Encoding: utf-8
3
3
  #
4
- # Author:: api.dklimkin@gmail.com (Danial Klimkin)
5
- #
6
4
  # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
7
5
  #
8
6
  # License:: Licensed under the Apache License, Version 2.0 (the "License");
@@ -20,8 +18,6 @@
20
18
  #
21
19
  # This example illustrates how to retrieve all the ad groups for a campaign. To
22
20
  # create an ad group, run add_ad_group.rb.
23
- #
24
- # Tags: AdGroupService.get
25
21
 
26
22
  require 'adwords_api'
27
23
 
@@ -86,7 +82,7 @@ if __FILE__ == $0
86
82
  "OAuth2 client ID and secret and run misc/setup_oauth2.rb example " +
87
83
  "to retrieve and store OAuth2 tokens."
88
84
  puts "See this wiki page for more details:\n\n " +
89
- 'http://code.google.com/p/google-api-ads-ruby/wiki/OAuth2'
85
+ 'https://github.com/googleads/google-api-ads-ruby/wiki/OAuth2'
90
86
 
91
87
  # HTTP errors.
92
88
  rescue AdsCommon::Errors::HttpError => e
@@ -1,8 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  # Encoding: utf-8
3
3
  #
4
- # Author:: api.dklimkin@gmail.com (Danial Klimkin)
5
- #
6
4
  # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
7
5
  #
8
6
  # License:: Licensed under the Apache License, Version 2.0 (the "License");
@@ -19,8 +17,6 @@
19
17
  # limitations under the License.
20
18
  #
21
19
  # This example illustrates how to retrieve all the campaigns for an account.
22
- #
23
- # Tags: CampaignService.get
24
20
 
25
21
  require 'adwords_api'
26
22
 
@@ -81,7 +77,7 @@ if __FILE__ == $0
81
77
  "OAuth2 client ID and secret and run misc/setup_oauth2.rb example " +
82
78
  "to retrieve and store OAuth2 tokens."
83
79
  puts "See this wiki page for more details:\n\n " +
84
- 'http://code.google.com/p/google-api-ads-ruby/wiki/OAuth2'
80
+ 'https://github.com/googleads/google-api-ads-ruby/wiki/OAuth2'
85
81
 
86
82
  # HTTP errors.
87
83
  rescue AdsCommon::Errors::HttpError => e