google-adx-buyer-api 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +4 -0
- data/README +4 -7
- data/examples/v201206/account_management/get_account_changes.rb +137 -0
- data/examples/v201206/basic_operations/add_ad_group.rb +88 -0
- data/examples/v201206/basic_operations/add_campaign.rb +97 -0
- data/examples/v201206/basic_operations/add_placements.rb +99 -0
- data/examples/v201206/basic_operations/add_thirdparty_redirect_ad.rb +127 -0
- data/examples/v201206/basic_operations/delete_ad.rb +80 -0
- data/examples/v201206/basic_operations/delete_ad_group.rb +76 -0
- data/examples/v201206/basic_operations/delete_campaign.rb +77 -0
- data/examples/v201206/basic_operations/delete_placement.rb +86 -0
- data/examples/v201206/basic_operations/get_ad_groups.rb +80 -0
- data/examples/v201206/basic_operations/get_campaigns.rb +77 -0
- data/examples/v201206/basic_operations/get_placements.rb +92 -0
- data/examples/v201206/basic_operations/get_thirdparty_redirect_ads.rb +100 -0
- data/examples/v201206/basic_operations/pause_ad.rb +81 -0
- data/examples/v201206/basic_operations/update_ad_group.rb +76 -0
- data/examples/v201206/basic_operations/update_campaign.rb +79 -0
- data/examples/v201206/basic_operations/update_placement.rb +94 -0
- data/examples/v201206/campaign_management/add_placements_in_bulk.rb +151 -0
- data/examples/v201206/campaign_management/get_all_disapproved_ads.rb +92 -0
- data/examples/v201206/error_handling/handle_captcha_challenge.rb +93 -0
- data/examples/v201206/error_handling/handle_partial_failures.rb +117 -0
- data/examples/v201206/error_handling/handle_policy_violation_error.rb +138 -0
- data/examples/v201206/error_handling/handle_two_factor_authorization_error.rb +87 -0
- data/examples/v201206/misc/get_all_images_and_videos.rb +101 -0
- data/examples/v201206/misc/upload_image.rb +87 -0
- data/examples/v201206/misc/use_oauth.rb +97 -0
- data/examples/v201206/optimization/get_placement_ideas.rb +106 -0
- data/examples/v201206/remarketing/add_audience.rb +111 -0
- data/examples/v201206/remarketing/add_conversion_tracker.rb +93 -0
- data/examples/v201206/reporting/download_criteria_report.rb +79 -0
- data/examples/v201206/reporting/download_defined_report.rb +67 -0
- data/examples/v201206/reporting/get_campaign_stats.rb +105 -0
- data/examples/v201206/reporting/get_defined_reports.rb +75 -0
- data/examples/v201206/reporting/get_report_fields.rb +71 -0
- data/examples/v201206/reporting/parallel_report_download.rb +159 -0
- data/examples/v201206/targeting/add_campaign_targeting_criteria.rb +110 -0
- data/examples/v201206/targeting/get_campaign_targeting_criteria.rb +104 -0
- data/examples/v201206/targeting/get_targetable_languages_and_carriers.rb +82 -0
- data/examples/v201206/targeting/lookup_location.rb +104 -0
- metadata +71 -52
@@ -0,0 +1,110 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# Encoding: utf-8
|
3
|
+
#
|
4
|
+
# Author:: api.dklimkin@gmail.com (Danial Klimkin)
|
5
|
+
#
|
6
|
+
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
7
|
+
#
|
8
|
+
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
9
|
+
# you may not use this file except in compliance with the License.
|
10
|
+
# You may obtain a copy of the License at
|
11
|
+
#
|
12
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
13
|
+
#
|
14
|
+
# Unless required by applicable law or agreed to in writing, software
|
15
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
16
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
17
|
+
# implied.
|
18
|
+
# See the License for the specific language governing permissions and
|
19
|
+
# limitations under the License.
|
20
|
+
#
|
21
|
+
# This example adds various types of targeting criteria to a campaign. To get
|
22
|
+
# campaigns list, run get_campaigns.rb.
|
23
|
+
#
|
24
|
+
# Tags: CampaignCriterionService.mutate
|
25
|
+
|
26
|
+
require 'adwords_api'
|
27
|
+
|
28
|
+
def add_campaign_targeting_criteria(campaign_id)
|
29
|
+
# AdwordsApi::Api will read a config file from ENV['HOME']/adwords_api.yml
|
30
|
+
# when called without parameters.
|
31
|
+
adwords = AdwordsApi::Api.new
|
32
|
+
|
33
|
+
# To enable logging of SOAP requests, set the log_level value to 'DEBUG' in
|
34
|
+
# the configuration file or provide your own logger:
|
35
|
+
# adwords.logger = Logger.new('adwords_xml.log')
|
36
|
+
|
37
|
+
campaign_criterion_srv =
|
38
|
+
adwords.service(:CampaignCriterionService, API_VERSION)
|
39
|
+
|
40
|
+
# Create campaign criteria.
|
41
|
+
campaign_criteria = [
|
42
|
+
# Location criteria. The IDs can be found in the documentation or retrieved
|
43
|
+
# with the LocationCriterionService.
|
44
|
+
{:xsi_type => 'Location', :id => 21137}, # California, USA
|
45
|
+
{:xsi_type => 'Location', :id => 2484}, # Mexico
|
46
|
+
# Language criteria. The IDs can be found in the documentation or retrieved
|
47
|
+
# with the ConstantDataService.
|
48
|
+
{:xsi_type => 'Language', :id => 1000}, # English
|
49
|
+
{:xsi_type => 'Language', :id => 1003}, # Spanish
|
50
|
+
# Platform criteria. The IDs can be found in the documentation.
|
51
|
+
{:xsi_type => 'Platform', :id => 30001}, # Mobile
|
52
|
+
{:xsi_type => 'Platform', :id => 30002} # Tablets
|
53
|
+
]
|
54
|
+
|
55
|
+
# Create operations.
|
56
|
+
operations = campaign_criteria.map do |criterion|
|
57
|
+
{:operator => 'ADD',
|
58
|
+
:operand => {
|
59
|
+
:campaign_id => campaign_id,
|
60
|
+
:criterion => criterion}
|
61
|
+
}
|
62
|
+
end
|
63
|
+
|
64
|
+
# Create operation to add a negative campaign placement.
|
65
|
+
operations << {
|
66
|
+
:operator => 'ADD',
|
67
|
+
:operand => {
|
68
|
+
:xsi_type => 'NegativeCampaignCriterion',
|
69
|
+
:campaign_id => campaign_id,
|
70
|
+
:criterion => {
|
71
|
+
:xsi_type => 'Placement',
|
72
|
+
:url => 'http://mars.google.com'
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
|
77
|
+
response = campaign_criterion_srv.mutate(operations)
|
78
|
+
|
79
|
+
criteria = response[:value]
|
80
|
+
criteria.each do |campaign_criterion|
|
81
|
+
criterion = campaign_criterion[:criterion]
|
82
|
+
puts ("Campaign criterion with campaign ID %d, criterion ID %d and " +
|
83
|
+
"type '%s' was added.") % [campaign_criterion[:campaign_id],
|
84
|
+
criterion[:id], criterion[:criterion_type]]
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
if __FILE__ == $0
|
89
|
+
API_VERSION = :v201206
|
90
|
+
|
91
|
+
begin
|
92
|
+
campaign_id = 'INSERT_CAMPAIGN_ID_HERE'
|
93
|
+
add_campaign_targeting_criteria(campaign_id)
|
94
|
+
|
95
|
+
# HTTP errors.
|
96
|
+
rescue AdsCommon::Errors::HttpError => e
|
97
|
+
puts "HTTP Error: %s" % e
|
98
|
+
|
99
|
+
# API errors.
|
100
|
+
rescue AdwordsApi::Errors::ApiException => e
|
101
|
+
puts "Message: %s" % e.message
|
102
|
+
puts 'Errors:'
|
103
|
+
e.errors.each_with_index do |error, index|
|
104
|
+
puts "\tError [%d]:" % (index + 1)
|
105
|
+
error.each do |field, value|
|
106
|
+
puts "\t\t%s: %s" % [field, value]
|
107
|
+
end
|
108
|
+
end
|
109
|
+
end
|
110
|
+
end
|
@@ -0,0 +1,104 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# Encoding: utf-8
|
3
|
+
#
|
4
|
+
# Author:: api.dklimkin@gmail.com (Danial Klimkin)
|
5
|
+
#
|
6
|
+
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
7
|
+
#
|
8
|
+
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
9
|
+
# you may not use this file except in compliance with the License.
|
10
|
+
# You may obtain a copy of the License at
|
11
|
+
#
|
12
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
13
|
+
#
|
14
|
+
# Unless required by applicable law or agreed to in writing, software
|
15
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
16
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
17
|
+
# implied.
|
18
|
+
# See the License for the specific language governing permissions and
|
19
|
+
# limitations under the License.
|
20
|
+
#
|
21
|
+
# This example illustrates how to retrieve all the campaign targets. To set
|
22
|
+
# campaign targets, run add_campaign_targeting_criteria.rb.
|
23
|
+
#
|
24
|
+
# Tags: CampaignCriterionService.get
|
25
|
+
|
26
|
+
require 'adwords_api'
|
27
|
+
|
28
|
+
def get_campaign_targeting_criteria(campaign_id)
|
29
|
+
# AdwordsApi::Api will read a config file from ENV['HOME']/adwords_api.yml
|
30
|
+
# when called without parameters.
|
31
|
+
adwords = AdwordsApi::Api.new
|
32
|
+
|
33
|
+
# To enable logging of SOAP requests, set the log_level value to 'DEBUG' in
|
34
|
+
# the configuration file or provide your own logger:
|
35
|
+
# adwords.logger = Logger.new('adwords_xml.log')
|
36
|
+
|
37
|
+
campaign_criterion_srv =
|
38
|
+
adwords.service(:CampaignCriterionService, API_VERSION)
|
39
|
+
|
40
|
+
# Selector to get all the targeting for this campaign.
|
41
|
+
selector = {
|
42
|
+
:fields => ['Id', 'CriteriaType', 'PlacementUrl'],
|
43
|
+
:predicates => [
|
44
|
+
{:field => 'CampaignId', :operator => 'EQUALS', :values => [campaign_id]},
|
45
|
+
{
|
46
|
+
:field => 'CriteriaType',
|
47
|
+
:operator => 'EQUALS',
|
48
|
+
:values => ['PLACEMENT']
|
49
|
+
}
|
50
|
+
],
|
51
|
+
:paging => {
|
52
|
+
:start_index => 0,
|
53
|
+
:number_results => PAGE_SIZE
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
# Set initial values.
|
58
|
+
offset, page = 0, {}
|
59
|
+
|
60
|
+
begin
|
61
|
+
page = campaign_criterion_srv.get(selector)
|
62
|
+
if page[:entries]
|
63
|
+
page[:entries].each do |criterion|
|
64
|
+
placement = criterion[:criterion]
|
65
|
+
puts "Placement with ID %d, type '%s' and URL '%s' was found." %
|
66
|
+
[placement[:id], placement[:type], placement[:url]]
|
67
|
+
end
|
68
|
+
# Increment values to request the next page.
|
69
|
+
offset += PAGE_SIZE
|
70
|
+
selector[:paging][:start_index] = offset
|
71
|
+
end
|
72
|
+
end while page[:total_num_entries] > offset
|
73
|
+
|
74
|
+
if page.include?(:total_num_entries)
|
75
|
+
puts "\tCampaign ID %d has %d placements." %
|
76
|
+
[campaign_id, page[:total_num_entries]]
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
80
|
+
if __FILE__ == $0
|
81
|
+
API_VERSION = :v201206
|
82
|
+
PAGE_SIZE = 500
|
83
|
+
|
84
|
+
begin
|
85
|
+
# Specify campaign ID to get targeting for.
|
86
|
+
campaign_id = 'INSERT_CAMPAIGN_ID_HERE'.to_i
|
87
|
+
get_campaign_targeting_criteria(campaign_id)
|
88
|
+
|
89
|
+
# HTTP errors.
|
90
|
+
rescue AdsCommon::Errors::HttpError => e
|
91
|
+
puts "HTTP Error: %s" % e
|
92
|
+
|
93
|
+
# API errors.
|
94
|
+
rescue AdwordsApi::Errors::ApiException => e
|
95
|
+
puts "Message: %s" % e.message
|
96
|
+
puts 'Errors:'
|
97
|
+
e.errors.each_with_index do |error, index|
|
98
|
+
puts "\tError [%d]:" % (index + 1)
|
99
|
+
error.each do |field, value|
|
100
|
+
puts "\t\t%s: %s" % [field, value]
|
101
|
+
end
|
102
|
+
end
|
103
|
+
end
|
104
|
+
end
|
@@ -0,0 +1,82 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# Encoding: utf-8
|
3
|
+
#
|
4
|
+
# Author:: api.dklimkin@gmail.com (Danial Klimkin)
|
5
|
+
#
|
6
|
+
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
7
|
+
#
|
8
|
+
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
9
|
+
# you may not use this file except in compliance with the License.
|
10
|
+
# You may obtain a copy of the License at
|
11
|
+
#
|
12
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
13
|
+
#
|
14
|
+
# Unless required by applicable law or agreed to in writing, software
|
15
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
16
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
17
|
+
# implied.
|
18
|
+
# See the License for the specific language governing permissions and
|
19
|
+
# limitations under the License.
|
20
|
+
#
|
21
|
+
# This example illustrates how to retrieve all languages and carriers available
|
22
|
+
# for targeting.
|
23
|
+
#
|
24
|
+
# Tags: ConstantDataService.getLanguageCriterion
|
25
|
+
# Tags: ConstantDataService.getCarrierCriterion
|
26
|
+
|
27
|
+
require 'adwords_api'
|
28
|
+
|
29
|
+
def get_targetable_languages_and_carriers()
|
30
|
+
# AdwordsApi::Api will read a config file from ENV['HOME']/adwords_api.yml
|
31
|
+
# when called without parameters.
|
32
|
+
adwords = AdwordsApi::Api.new
|
33
|
+
|
34
|
+
# To enable logging of SOAP requests, set the log_level value to 'DEBUG' in
|
35
|
+
# the configuration file or provide your own logger:
|
36
|
+
# adwords.logger = Logger.new('adwords_xml.log')
|
37
|
+
|
38
|
+
constant_data_srv = adwords.service(:ConstantDataService, API_VERSION)
|
39
|
+
|
40
|
+
# Get all languages from ConstantDataService.
|
41
|
+
languages = constant_data_srv.get_language_criterion()
|
42
|
+
|
43
|
+
if languages
|
44
|
+
languages.each do |language|
|
45
|
+
puts "Language name is '%s', ID is %d and code is '%s'." %
|
46
|
+
[language[:name], language[:id], language[:code]]
|
47
|
+
end
|
48
|
+
else
|
49
|
+
puts 'No languages were found.'
|
50
|
+
end
|
51
|
+
|
52
|
+
# Get all carriers from ConstantDataService.
|
53
|
+
carriers = constant_data_srv.get_carrier_criterion()
|
54
|
+
|
55
|
+
carriers.each do |carrier|
|
56
|
+
puts "Carrier name is '%s', ID is %d and country code is '%s'." %
|
57
|
+
[carrier[:name], carrier[:id], carrier[:country_code]]
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
if __FILE__ == $0
|
62
|
+
API_VERSION = :v201206
|
63
|
+
|
64
|
+
begin
|
65
|
+
get_targetable_languages_and_carriers()
|
66
|
+
|
67
|
+
# HTTP errors.
|
68
|
+
rescue AdsCommon::Errors::HttpError => e
|
69
|
+
puts "HTTP Error: %s" % e
|
70
|
+
|
71
|
+
# API errors.
|
72
|
+
rescue AdwordsApi::Errors::ApiException => e
|
73
|
+
puts "Message: %s" % e.message
|
74
|
+
puts 'Errors:'
|
75
|
+
e.errors.each_with_index do |error, index|
|
76
|
+
puts "\tError [%d]:" % (index + 1)
|
77
|
+
error.each do |field, value|
|
78
|
+
puts "\t\t%s: %s" % [field, value]
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|
@@ -0,0 +1,104 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# Encoding: utf-8
|
3
|
+
#
|
4
|
+
# Author:: api.dklimkin@gmail.com (Danial Klimkin)
|
5
|
+
#
|
6
|
+
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
7
|
+
#
|
8
|
+
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
9
|
+
# you may not use this file except in compliance with the License.
|
10
|
+
# You may obtain a copy of the License at
|
11
|
+
#
|
12
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
13
|
+
#
|
14
|
+
# Unless required by applicable law or agreed to in writing, software
|
15
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
16
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
17
|
+
# implied.
|
18
|
+
# See the License for the specific language governing permissions and
|
19
|
+
# limitations under the License.
|
20
|
+
#
|
21
|
+
# This example gets location criteria by name.
|
22
|
+
#
|
23
|
+
# Tags: LocationCriterionService.get
|
24
|
+
|
25
|
+
require 'adwords_api'
|
26
|
+
|
27
|
+
def lookup_location()
|
28
|
+
# AdwordsApi::Api will read a config file from ENV['HOME']/adwords_api.yml
|
29
|
+
# when called without parameters.
|
30
|
+
adwords = AdwordsApi::Api.new
|
31
|
+
|
32
|
+
# To enable logging of SOAP requests, set the log_level value to 'DEBUG' in
|
33
|
+
# the configuration file or provide your own logger:
|
34
|
+
# adwords.logger = Logger.new('adwords_xml.log')
|
35
|
+
|
36
|
+
location_criterion_srv =
|
37
|
+
adwords.service(:LocationCriterionService, API_VERSION)
|
38
|
+
|
39
|
+
# List of locations to look up.
|
40
|
+
location_names = ['Paris', 'Quebec', 'Spain', 'Deutschland']
|
41
|
+
# Locale to retrieve names in.
|
42
|
+
locale = 'en'
|
43
|
+
|
44
|
+
# Get the criteria by names.
|
45
|
+
selector = {
|
46
|
+
:fields => ['Id', 'LocationName', 'CanonicalName', 'DisplayType',
|
47
|
+
'ParentLocations', 'Reach', 'TargetingStatus'],
|
48
|
+
:predicates => [
|
49
|
+
# Location names must match exactly, only EQUALS and IN are supported.
|
50
|
+
{:field => 'LocationName',
|
51
|
+
:operator => 'IN',
|
52
|
+
:values => location_names},
|
53
|
+
# Set the locale of the returned location names.
|
54
|
+
{:field => 'Locale', :operator => 'EQUALS', :values => [locale]}
|
55
|
+
]
|
56
|
+
}
|
57
|
+
criteria = location_criterion_srv.get(selector)
|
58
|
+
|
59
|
+
if criteria
|
60
|
+
criteria.each do |criterion|
|
61
|
+
# Extract all parent location names as one comma-separated string.
|
62
|
+
parent_location = if criterion[:location][:parent_locations] and
|
63
|
+
!criterion[:location][:parent_locations].empty?
|
64
|
+
locations_array = criterion[:location][:parent_locations].map do |loc|
|
65
|
+
loc[:location_name]
|
66
|
+
end
|
67
|
+
locations_array.join(', ')
|
68
|
+
else
|
69
|
+
'N/A'
|
70
|
+
end
|
71
|
+
puts ("The search term '%s' returned the location '%s' of type '%s' " +
|
72
|
+
"with ID %d, parent locations '%s' and reach %d (%s)") %
|
73
|
+
[criterion[:search_term], criterion[:location][:location_name],
|
74
|
+
criterion[:location][:criterion_type], criterion[:location][:id],
|
75
|
+
parent_location, criterion[:reach],
|
76
|
+
criterion[:location][:targeting_status]]
|
77
|
+
end
|
78
|
+
else
|
79
|
+
puts 'No criteria were returned.'
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
if __FILE__ == $0
|
84
|
+
API_VERSION = :v201206
|
85
|
+
|
86
|
+
begin
|
87
|
+
lookup_location()
|
88
|
+
|
89
|
+
# HTTP errors.
|
90
|
+
rescue AdsCommon::Errors::HttpError => e
|
91
|
+
puts "HTTP Error: %s" % e
|
92
|
+
|
93
|
+
# API errors.
|
94
|
+
rescue AdwordsApi::Errors::ApiException => e
|
95
|
+
puts "Message: %s" % e.message
|
96
|
+
puts 'Errors:'
|
97
|
+
e.errors.each_with_index do |error, index|
|
98
|
+
puts "\tError [%d]:" % (index + 1)
|
99
|
+
error.each do |field, value|
|
100
|
+
puts "\t\t%s: %s" % [field, value]
|
101
|
+
end
|
102
|
+
end
|
103
|
+
end
|
104
|
+
end
|
metadata
CHANGED
@@ -1,48 +1,40 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-adx-buyer-api
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.4.3
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 4
|
9
|
-
- 2
|
10
|
-
version: 0.4.2
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Danial Klimkin
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-08-03 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
21
15
|
name: google-adwords-api
|
22
|
-
|
23
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
24
17
|
none: false
|
25
|
-
requirements:
|
18
|
+
requirements:
|
26
19
|
- - ~>
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
|
29
|
-
segments:
|
30
|
-
- 0
|
31
|
-
- 6
|
32
|
-
- 1
|
33
|
-
version: 0.6.1
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 0.6.3
|
34
22
|
type: :runtime
|
35
|
-
|
36
|
-
|
37
|
-
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 0.6.3
|
30
|
+
description: AdWords API and DoubleClick Ad Exchange Buyer API client library for
|
31
|
+
Ruby
|
32
|
+
email:
|
38
33
|
- api.dklimkin@gmail.com
|
39
34
|
executables: []
|
40
|
-
|
41
35
|
extensions: []
|
42
|
-
|
43
36
|
extra_rdoc_files: []
|
44
|
-
|
45
|
-
files:
|
37
|
+
files:
|
46
38
|
- examples/v201109_1/reporting/download_criteria_report.rb
|
47
39
|
- examples/v201109_1/reporting/download_defined_report.rb
|
48
40
|
- examples/v201109_1/reporting/get_defined_reports.rb
|
@@ -121,43 +113,70 @@ files:
|
|
121
113
|
- examples/v201109/misc/use_oauth.rb
|
122
114
|
- examples/v201109/remarketing/add_conversion_tracker.rb
|
123
115
|
- examples/v201109/remarketing/add_audience.rb
|
116
|
+
- examples/v201206/reporting/download_criteria_report.rb
|
117
|
+
- examples/v201206/reporting/download_defined_report.rb
|
118
|
+
- examples/v201206/reporting/get_defined_reports.rb
|
119
|
+
- examples/v201206/reporting/get_campaign_stats.rb
|
120
|
+
- examples/v201206/reporting/parallel_report_download.rb
|
121
|
+
- examples/v201206/reporting/get_report_fields.rb
|
122
|
+
- examples/v201206/error_handling/handle_policy_violation_error.rb
|
123
|
+
- examples/v201206/error_handling/handle_two_factor_authorization_error.rb
|
124
|
+
- examples/v201206/error_handling/handle_captcha_challenge.rb
|
125
|
+
- examples/v201206/error_handling/handle_partial_failures.rb
|
126
|
+
- examples/v201206/targeting/lookup_location.rb
|
127
|
+
- examples/v201206/targeting/get_targetable_languages_and_carriers.rb
|
128
|
+
- examples/v201206/targeting/add_campaign_targeting_criteria.rb
|
129
|
+
- examples/v201206/targeting/get_campaign_targeting_criteria.rb
|
130
|
+
- examples/v201206/campaign_management/add_placements_in_bulk.rb
|
131
|
+
- examples/v201206/campaign_management/get_all_disapproved_ads.rb
|
132
|
+
- examples/v201206/account_management/get_account_changes.rb
|
133
|
+
- examples/v201206/optimization/get_placement_ideas.rb
|
134
|
+
- examples/v201206/basic_operations/update_campaign.rb
|
135
|
+
- examples/v201206/basic_operations/get_thirdparty_redirect_ads.rb
|
136
|
+
- examples/v201206/basic_operations/get_campaigns.rb
|
137
|
+
- examples/v201206/basic_operations/get_ad_groups.rb
|
138
|
+
- examples/v201206/basic_operations/add_campaign.rb
|
139
|
+
- examples/v201206/basic_operations/add_placements.rb
|
140
|
+
- examples/v201206/basic_operations/add_ad_group.rb
|
141
|
+
- examples/v201206/basic_operations/delete_ad_group.rb
|
142
|
+
- examples/v201206/basic_operations/update_placement.rb
|
143
|
+
- examples/v201206/basic_operations/delete_ad.rb
|
144
|
+
- examples/v201206/basic_operations/add_thirdparty_redirect_ad.rb
|
145
|
+
- examples/v201206/basic_operations/update_ad_group.rb
|
146
|
+
- examples/v201206/basic_operations/delete_campaign.rb
|
147
|
+
- examples/v201206/basic_operations/delete_placement.rb
|
148
|
+
- examples/v201206/basic_operations/pause_ad.rb
|
149
|
+
- examples/v201206/basic_operations/get_placements.rb
|
150
|
+
- examples/v201206/misc/upload_image.rb
|
151
|
+
- examples/v201206/misc/get_all_images_and_videos.rb
|
152
|
+
- examples/v201206/misc/use_oauth.rb
|
153
|
+
- examples/v201206/remarketing/add_conversion_tracker.rb
|
154
|
+
- examples/v201206/remarketing/add_audience.rb
|
124
155
|
- COPYING
|
125
156
|
- README
|
126
157
|
- ChangeLog
|
127
158
|
homepage: http://code.google.com/p/google-api-ads-ruby/
|
128
159
|
licenses: []
|
129
|
-
|
130
160
|
post_install_message:
|
131
161
|
rdoc_options: []
|
132
|
-
|
133
|
-
require_paths:
|
162
|
+
require_paths:
|
134
163
|
- lib
|
135
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
164
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
136
165
|
none: false
|
137
|
-
requirements:
|
138
|
-
- -
|
139
|
-
- !ruby/object:Gem::Version
|
140
|
-
|
141
|
-
|
142
|
-
- 0
|
143
|
-
version: "0"
|
144
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
166
|
+
requirements:
|
167
|
+
- - ! '>='
|
168
|
+
- !ruby/object:Gem::Version
|
169
|
+
version: '0'
|
170
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
145
171
|
none: false
|
146
|
-
requirements:
|
147
|
-
- -
|
148
|
-
- !ruby/object:Gem::Version
|
149
|
-
hash: 23
|
150
|
-
segments:
|
151
|
-
- 1
|
152
|
-
- 3
|
153
|
-
- 6
|
172
|
+
requirements:
|
173
|
+
- - ! '>='
|
174
|
+
- !ruby/object:Gem::Version
|
154
175
|
version: 1.3.6
|
155
176
|
requirements: []
|
156
|
-
|
157
177
|
rubyforge_project: google-adx-buyer-api
|
158
178
|
rubygems_version: 1.8.24
|
159
179
|
signing_key:
|
160
180
|
specification_version: 3
|
161
181
|
summary: Ruby examples for DoubleClick Ad Exchange Buyer API
|
162
182
|
test_files: []
|
163
|
-
|