bing_ads_ruby_sdk 1.0.0 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.circleci/config.yml +52 -0
- data/.github/delete-merged-branch-config.yml +6 -0
- data/.github/stale.yml +19 -0
- data/.gitignore +2 -0
- data/README.md +25 -5
- data/bing_ads_ruby_sdk.gemspec +6 -5
- data/changelog.md +27 -2
- data/lib/bing_ads_ruby_sdk/api.rb +3 -1
- data/lib/bing_ads_ruby_sdk/configuration.rb +2 -1
- data/lib/bing_ads_ruby_sdk/header.rb +8 -4
- data/lib/bing_ads_ruby_sdk/http_client.rb +19 -9
- data/lib/bing_ads_ruby_sdk/oauth2/authorization_handler.rb +17 -10
- data/lib/bing_ads_ruby_sdk/services/base.rb +6 -6
- data/lib/bing_ads_ruby_sdk/services/campaign_management.rb +3 -0
- data/lib/bing_ads_ruby_sdk/version.rb +2 -2
- data/lib/bing_ads_ruby_sdk/wsdl/v13/production/ad_insight.xml +1 -0
- data/lib/bing_ads_ruby_sdk/wsdl/v13/production/bulk.xml +1 -0
- data/lib/bing_ads_ruby_sdk/wsdl/v13/production/campaign_management.xml +1 -0
- data/lib/bing_ads_ruby_sdk/wsdl/v13/production/customer_billing.xml +1 -0
- data/lib/bing_ads_ruby_sdk/wsdl/v13/production/customer_management.xml +1 -0
- data/lib/bing_ads_ruby_sdk/wsdl/v13/production/reporting.xml +1 -0
- data/lib/bing_ads_ruby_sdk/wsdl/v13/sandbox/ad_insight.xml +3037 -0
- data/lib/bing_ads_ruby_sdk/wsdl/v13/sandbox/bulk.xml +1 -0
- data/lib/bing_ads_ruby_sdk/wsdl/v13/sandbox/campaign_management.xml +1 -0
- data/lib/bing_ads_ruby_sdk/wsdl/v13/sandbox/customer_billing.xml +1 -0
- data/lib/bing_ads_ruby_sdk/wsdl/v13/sandbox/customer_management.xml +1 -0
- data/lib/bing_ads_ruby_sdk/wsdl/v13/sandbox/reporting.xml +1 -0
- data/lib/bing_ads_ruby_sdk/wsdl/{v12 → v13}/test/ad_insight.xml +1440 -1468
- data/lib/bing_ads_ruby_sdk/wsdl/{v12 → v13}/test/bulk.xml +83 -147
- data/lib/bing_ads_ruby_sdk/wsdl/{v12 → v13}/test/campaign_management.xml +711 -417
- data/lib/bing_ads_ruby_sdk/wsdl/{v12 → v13}/test/customer_billing.xml +62 -112
- data/lib/bing_ads_ruby_sdk/wsdl/{v12 → v13}/test/customer_management.xml +231 -176
- data/lib/bing_ads_ruby_sdk/wsdl/{v12 → v13}/test/reporting.xml +110 -158
- data/lib/bing_ads_ruby_sdk/wsdl/wsdl_source.txt +18 -18
- data/spec/bing_ads_ruby_sdk/api_spec.rb +17 -0
- data/spec/bing_ads_ruby_sdk/errors/error_handler_spec.rb +479 -0
- data/spec/bing_ads_ruby_sdk/errors/errors_spec.rb +13 -0
- data/spec/bing_ads_ruby_sdk/header_spec.rb +60 -0
- data/spec/bing_ads_ruby_sdk/http_client_spec.rb +44 -0
- data/spec/bing_ads_ruby_sdk/oauth2/fs_store_spec.rb +20 -0
- data/spec/bing_ads_ruby_sdk/postprocessors/cast_long_arrays_spec.rb +30 -0
- data/spec/bing_ads_ruby_sdk/postprocessors/snakize_spec.rb +40 -0
- data/spec/bing_ads_ruby_sdk/preprocessors/camelize_spec.rb +40 -0
- data/spec/bing_ads_ruby_sdk/preprocessors/order_spec.rb +119 -0
- data/spec/bing_ads_ruby_sdk/services/bulk_spec.rb +56 -0
- data/spec/bing_ads_ruby_sdk/services/campaign_management_spec.rb +307 -0
- data/spec/bing_ads_ruby_sdk/services/customer_management_spec.rb +97 -0
- data/spec/bing_ads_ruby_sdk_spec.rb +5 -0
- data/spec/examples/1_customer_creation/customer_spec.rb +35 -0
- data/spec/examples/2_with_customer/budget_spec.rb +54 -0
- data/spec/examples/2_with_customer/campaigns_spec.rb +27 -0
- data/spec/examples/2_with_customer/customer_management_spec.rb +190 -0
- data/spec/examples/2_with_customer/uet_tags_spec.rb +42 -0
- data/spec/examples/3_with_uet_tag/conversion_goal_spec.rb +40 -0
- data/spec/examples/3_with_uet_tag/uet_tags_spec.rb +56 -0
- data/spec/examples/4_with_conversion_goal/conversion_goals_spec.rb +75 -0
- data/spec/examples/5_with_campaign/ad_extension_spec.rb +238 -0
- data/spec/examples/5_with_campaign/ad_group_spec.rb +35 -0
- data/spec/examples/5_with_campaign/campaign_criterions_spec.rb +74 -0
- data/spec/examples/5_with_campaign/campaign_spec.rb +71 -0
- data/spec/examples/6_with_ad_group/ad_group_spec.rb +71 -0
- data/spec/examples/6_with_ad_group/ads_spec.rb +113 -0
- data/spec/examples/6_with_ad_group/keywords_spec.rb +108 -0
- data/spec/examples/examples.rb +76 -0
- data/spec/fixtures/bulk/download_campaigns_by_account_ids/standard.xml +23 -0
- data/spec/fixtures/bulk/download_campaigns_by_account_ids/standard_response.xml +11 -0
- data/spec/fixtures/bulk/get_bulk_download_status/standard.xml +14 -0
- data/spec/fixtures/bulk/get_bulk_download_status/standard_response.xml +15 -0
- data/spec/fixtures/campaign_management/add_ad_extensions/standard.xml +21 -0
- data/spec/fixtures/campaign_management/add_ad_extensions/standard_response.xml +17 -0
- data/spec/fixtures/campaign_management/add_conversion_goals/standard.xml +27 -0
- data/spec/fixtures/campaign_management/add_conversion_goals/standard_response.xml +14 -0
- data/spec/fixtures/campaign_management/add_shared_entity/standard.xml +16 -0
- data/spec/fixtures/campaign_management/add_shared_entity/standard_response.xml +13 -0
- data/spec/fixtures/campaign_management/add_uet_tags/standard.xml +19 -0
- data/spec/fixtures/campaign_management/add_uet_tags/standard_response.xml +21 -0
- data/spec/fixtures/campaign_management/get_ad_extension_ids_by_account_id/standard.xml +15 -0
- data/spec/fixtures/campaign_management/get_ad_extension_ids_by_account_id/standard_response.xml +13 -0
- data/spec/fixtures/campaign_management/get_ad_extensions_associations/standard.xml +19 -0
- data/spec/fixtures/campaign_management/get_ad_extensions_associations/standard_response.xml +47 -0
- data/spec/fixtures/campaign_management/get_budgets_by_ids/standard.xml +12 -0
- data/spec/fixtures/campaign_management/get_budgets_by_ids/standard_response.xml +20 -0
- data/spec/fixtures/campaign_management/get_campaigns_by_account_id/standard.xml +14 -0
- data/spec/fixtures/campaign_management/get_campaigns_by_account_id/standard_response.xml +84 -0
- data/spec/fixtures/campaign_management/get_conversion_goals_by_ids/standard.xml +18 -0
- data/spec/fixtures/campaign_management/get_conversion_goals_by_ids/standard_response.xml +61 -0
- data/spec/fixtures/campaign_management/get_shared_entities_by_account_id/standard.xml +14 -0
- data/spec/fixtures/campaign_management/get_shared_entities_by_account_id/standard_response.xml +20 -0
- data/spec/fixtures/campaign_management/get_shared_entity_associations_by_entity_ids/standard.xml +18 -0
- data/spec/fixtures/campaign_management/get_shared_entity_associations_by_entity_ids/standard_response.xml +19 -0
- data/spec/fixtures/campaign_management/get_uet_tags_by_ids/standard.xml +16 -0
- data/spec/fixtures/campaign_management/get_uet_tags_by_ids/standard_response.xml +21 -0
- data/spec/fixtures/campaign_management/set_ad_extensions_associations/standard.xml +21 -0
- data/spec/fixtures/campaign_management/set_ad_extensions_associations/standard_response.xml +11 -0
- data/spec/fixtures/campaign_management/set_shared_entity_associations/standard.xml +21 -0
- data/spec/fixtures/campaign_management/set_shared_entity_associations/standard_response.xml +11 -0
- data/spec/fixtures/campaign_management/update_conversion_goals/standard.xml +27 -0
- data/spec/fixtures/campaign_management/update_conversion_goals/standard_response.xml +11 -0
- data/spec/fixtures/campaign_management/update_uet_tags/standard.xml +20 -0
- data/spec/fixtures/campaign_management/update_uet_tags/standard_response.xml +11 -0
- data/spec/fixtures/customer_management/find_accounts_or_customers_info/standard.xml +15 -0
- data/spec/fixtures/customer_management/find_accounts_or_customers_info/standard_response.xml +21 -0
- data/spec/fixtures/customer_management/get_account/standard.xml +14 -0
- data/spec/fixtures/customer_management/get_account/standard_response.xml +43 -0
- data/spec/fixtures/customer_management/signup_customer/standard.xml +30 -0
- data/spec/fixtures/customer_management/signup_customer/standard_response.xml +15 -0
- data/spec/fixtures/customer_management/update_account/standard.xml +19 -0
- data/spec/fixtures/customer_management/update_account/standard_response.xml +11 -0
- data/spec/spec_helper.rb +33 -0
- data/spec/support/spec_helpers.rb +45 -0
- data/tasks/bing_ads_ruby_sdk.rake +5 -6
- metadata +202 -27
- data/.travis.yml +0 -5
- data/lib/bing_ads_ruby_sdk/wsdl/v12/production/ad_insight.xml +0 -1
- data/lib/bing_ads_ruby_sdk/wsdl/v12/production/bulk.xml +0 -1
- data/lib/bing_ads_ruby_sdk/wsdl/v12/production/campaign_management.xml +0 -1
- data/lib/bing_ads_ruby_sdk/wsdl/v12/production/customer_billing.xml +0 -1
- data/lib/bing_ads_ruby_sdk/wsdl/v12/production/customer_management.xml +0 -1
- data/lib/bing_ads_ruby_sdk/wsdl/v12/production/reporting.xml +0 -1
- data/lib/bing_ads_ruby_sdk/wsdl/v12/sandbox/ad_insight.xml +0 -1
- data/lib/bing_ads_ruby_sdk/wsdl/v12/sandbox/bulk.xml +0 -1
- data/lib/bing_ads_ruby_sdk/wsdl/v12/sandbox/campaign_management.xml +0 -1
- data/lib/bing_ads_ruby_sdk/wsdl/v12/sandbox/customer_billing.xml +0 -1
- data/lib/bing_ads_ruby_sdk/wsdl/v12/sandbox/customer_management.xml +0 -1
- data/lib/bing_ads_ruby_sdk/wsdl/v12/sandbox/reporting.xml +0 -1
@@ -0,0 +1,15 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
|
3
|
+
<s:Header>
|
4
|
+
<h:TrackingId xmlns:h="https://bingads.microsoft.com/Customer/v13">8b29b0c2-3168-4eb2-acf4-bcfa1d744cad</h:TrackingId>
|
5
|
+
</s:Header>
|
6
|
+
<s:Body>
|
7
|
+
<SignupCustomerResponse xmlns="https://bingads.microsoft.com/Customer/v13">
|
8
|
+
<CustomerId>1234</CustomerId>
|
9
|
+
<CustomerNumber>G11800KYC4</CustomerNumber>
|
10
|
+
<AccountId>5678</AccountId>
|
11
|
+
<AccountNumber>F118HLSM</AccountNumber>
|
12
|
+
<CreateTime>2019-01-18T12:53:01.883</CreateTime>
|
13
|
+
</SignupCustomerResponse>
|
14
|
+
</s:Body>
|
15
|
+
</s:Envelope>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<soap:Envelope xmlns:ns0="https://bingads.microsoft.com/Customer/v13/Entities" xmlns:ns1="https://adapi.microsoft.com" xmlns:ns2="https://bingads.microsoft.com/Customer/v13/Exception" xmlns:ns3="http://schemas.datacontract.org/2004/07/System.Collections.Generic" xmlns:ns4="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:ns5="https://bingads.microsoft.com/Customer/v13" xmlns:ns6="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
|
3
|
+
<soap:Header>
|
4
|
+
<ns5:AuthenticationToken>***FILTERED***</ns5:AuthenticationToken>
|
5
|
+
<ns5:DeveloperToken>***FILTERED***</ns5:DeveloperToken>
|
6
|
+
<soap:CustomerId>***FILTERED***</soap:CustomerId>
|
7
|
+
<soap:CustomerAccountId>***FILTERED***</soap:CustomerAccountId>
|
8
|
+
</soap:Header>
|
9
|
+
<soap:Body>
|
10
|
+
<ns5:UpdateAccountRequest>
|
11
|
+
<ns5:Account xsi:type="ns0:AdvertiserAccount">
|
12
|
+
<ns0:CurrencyCode>EUR</ns0:CurrencyCode>
|
13
|
+
<ns0:Id>5678</ns0:Id>
|
14
|
+
<ns0:Name>SDKTEST updated</ns0:Name>
|
15
|
+
<ns0:TimeStamp>AAAAAE496a4=</ns0:TimeStamp>
|
16
|
+
</ns5:Account>
|
17
|
+
</ns5:UpdateAccountRequest>
|
18
|
+
</soap:Body>
|
19
|
+
</soap:Envelope>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
|
3
|
+
<s:Header>
|
4
|
+
<h:TrackingId xmlns:h="https://bingads.microsoft.com/Customer/v13">a19fe953-1cb6-4012-93c3-7c4d442bb020</h:TrackingId>
|
5
|
+
</s:Header>
|
6
|
+
<s:Body>
|
7
|
+
<UpdateAccountResponse xmlns="https://bingads.microsoft.com/Customer/v13">
|
8
|
+
<LastModifiedTime>2019-01-18T13:16:38.827</LastModifiedTime>
|
9
|
+
</UpdateAccountResponse>
|
10
|
+
</s:Body>
|
11
|
+
</s:Envelope>
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
require 'simplecov'
|
2
|
+
require 'dotenv/load'
|
3
|
+
require 'byebug'
|
4
|
+
|
5
|
+
SimpleCov.start do
|
6
|
+
add_filter '/spec/'
|
7
|
+
end
|
8
|
+
|
9
|
+
require 'bing_ads_ruby_sdk'
|
10
|
+
|
11
|
+
Dir[File.join(BingAdsRubySdk.root_path, "spec", "support", "**", "*.rb")].each { |f| require f }
|
12
|
+
Dir[File.join(BingAdsRubySdk.root_path, "log", "*.log")].each do |log_file|
|
13
|
+
File.open(log_file, 'w') { |f| f.truncate(0) }
|
14
|
+
end
|
15
|
+
|
16
|
+
BingAdsRubySdk.configure do |conf|
|
17
|
+
conf.log = true
|
18
|
+
conf.logger.level = Logger::DEBUG
|
19
|
+
conf.pretty_print_xml = true
|
20
|
+
conf.filters = ["AuthenticationToken", "DeveloperToken", "CustomerId", "CustomerAccountId"]
|
21
|
+
end
|
22
|
+
|
23
|
+
RSpec.configure do |config|
|
24
|
+
# Enable flags like --only-failures and --next-failure
|
25
|
+
config.example_status_persistence_file_path = '.rspec_status'
|
26
|
+
|
27
|
+
# Disable RSpec exposing methods globally on `Module` and `main`
|
28
|
+
config.disable_monkey_patching!
|
29
|
+
|
30
|
+
config.expect_with :rspec do |c|
|
31
|
+
c.syntax = :expect
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
module SpecHelpers
|
2
|
+
def self.request_xml_for(service, action, filename)
|
3
|
+
Nokogiri::XML(File.read(xml_path_for(service, action, filename)))
|
4
|
+
end
|
5
|
+
|
6
|
+
def self.response_xml_for(service, action, filename)
|
7
|
+
File.read(xml_path_for(service, action, filename, false))
|
8
|
+
end
|
9
|
+
|
10
|
+
def self.fake_header
|
11
|
+
OpenStruct.new(
|
12
|
+
content: {
|
13
|
+
"AuthenticationToken" => BingAdsRubySdk::LogMessage::FILTERED,
|
14
|
+
"DeveloperToken" => BingAdsRubySdk::LogMessage::FILTERED,
|
15
|
+
"CustomerId" => BingAdsRubySdk::LogMessage::FILTERED,
|
16
|
+
"CustomerAccountId" => BingAdsRubySdk::LogMessage::FILTERED
|
17
|
+
})
|
18
|
+
end
|
19
|
+
|
20
|
+
def self.soap_client(service, header = fake_header)
|
21
|
+
BingAdsRubySdk::SoapClient.new(
|
22
|
+
service_name: service,
|
23
|
+
version: BingAdsRubySdk::DEFAULT_SDK_VERSION,
|
24
|
+
environment: 'test',
|
25
|
+
header: header
|
26
|
+
)
|
27
|
+
end
|
28
|
+
|
29
|
+
def self.wrapper(service, action_name)
|
30
|
+
soap_client(service).wsdl_wrapper(action_name)
|
31
|
+
end
|
32
|
+
|
33
|
+
def self.default_store
|
34
|
+
::BingAdsRubySdk::OAuth2::FsStore.new(ENV['BING_STORE_FILENAME'])
|
35
|
+
end
|
36
|
+
|
37
|
+
# default fixture for now is standard.xml but door is open to get more use cases
|
38
|
+
def self.xml_path_for(service, action, filename, request = true)
|
39
|
+
if request
|
40
|
+
File.join(BingAdsRubySdk.root_path, 'spec', 'fixtures', service.to_s, action, "#{filename}.xml")
|
41
|
+
else
|
42
|
+
File.join(BingAdsRubySdk.root_path, 'spec', 'fixtures', service.to_s, action, "#{filename}_response.xml")
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
@@ -2,21 +2,20 @@ require 'dotenv/load'
|
|
2
2
|
|
3
3
|
namespace :bing_token do
|
4
4
|
desc "Gets and stores Bing OAuth token in file"
|
5
|
-
task :get, [:filename, :bing_developer_token, :bing_client_id] do |task, args|
|
5
|
+
task :get, [:filename, :bing_developer_token, :bing_client_id, :bing_client_secret] do |task, args|
|
6
6
|
|
7
7
|
filename = args[:filename] || ENV.fetch('BING_STORE_FILENAME')
|
8
8
|
developer_token = args[:bing_developer_token] || ENV.fetch('BING_DEVELOPER_TOKEN')
|
9
9
|
bing_client_id = args[:bing_client_id] || ENV.fetch('BING_CLIENT_ID')
|
10
|
+
bing_client_secret = args[:bing_client_secret] || ENV.fetch('BING_CLIENT_SECRET', nil)
|
10
11
|
|
11
12
|
store = ::BingAdsRubySdk::OAuth2::FsStore.new(filename)
|
12
13
|
auth = BingAdsRubySdk::OAuth2::AuthorizationHandler.new(
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
},
|
14
|
+
developer_token: developer_token,
|
15
|
+
client_id: bing_client_id,
|
16
|
+
client_secret: bing_client_secret,
|
17
17
|
store: store
|
18
18
|
)
|
19
|
-
|
20
19
|
puts "Go to #{auth.code_url}",
|
21
20
|
"You will be redirected to a URL at the end. Paste it here in the console and press enter"
|
22
21
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bing_ads_ruby_sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Effilab
|
@@ -9,22 +9,28 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2020-10-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: signet
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- - "
|
18
|
+
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: 0.8.1
|
21
|
+
- - "<"
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 0.13.0
|
21
24
|
type: :runtime
|
22
25
|
prerelease: false
|
23
26
|
version_requirements: !ruby/object:Gem::Requirement
|
24
27
|
requirements:
|
25
|
-
- - "
|
28
|
+
- - ">="
|
26
29
|
- !ruby/object:Gem::Version
|
27
30
|
version: 0.8.1
|
31
|
+
- - "<"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.13.0
|
28
34
|
- !ruby/object:Gem::Dependency
|
29
35
|
name: excon
|
30
36
|
requirement: !ruby/object:Gem::Requirement
|
@@ -165,16 +171,34 @@ dependencies:
|
|
165
171
|
- - ">="
|
166
172
|
- !ruby/object:Gem::Version
|
167
173
|
version: '0'
|
174
|
+
- !ruby/object:Gem::Dependency
|
175
|
+
name: rspec_junit_formatter
|
176
|
+
requirement: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - "~>"
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: 0.4.1
|
181
|
+
type: :development
|
182
|
+
prerelease: false
|
183
|
+
version_requirements: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - "~>"
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: 0.4.1
|
168
188
|
description: Bing Ads Api Wrapper
|
169
189
|
email:
|
170
190
|
- developers@effilab-local.com
|
171
|
-
executables:
|
191
|
+
executables:
|
192
|
+
- console
|
193
|
+
- setup
|
172
194
|
extensions: []
|
173
195
|
extra_rdoc_files: []
|
174
196
|
files:
|
197
|
+
- ".circleci/config.yml"
|
198
|
+
- ".github/delete-merged-branch-config.yml"
|
199
|
+
- ".github/stale.yml"
|
175
200
|
- ".gitignore"
|
176
201
|
- ".rspec"
|
177
|
-
- ".travis.yml"
|
178
202
|
- Gemfile
|
179
203
|
- LICENSE.txt
|
180
204
|
- README.md
|
@@ -208,26 +232,102 @@ files:
|
|
208
232
|
- lib/bing_ads_ruby_sdk/soap_client.rb
|
209
233
|
- lib/bing_ads_ruby_sdk/string_utils.rb
|
210
234
|
- lib/bing_ads_ruby_sdk/version.rb
|
211
|
-
- lib/bing_ads_ruby_sdk/wsdl/
|
212
|
-
- lib/bing_ads_ruby_sdk/wsdl/
|
213
|
-
- lib/bing_ads_ruby_sdk/wsdl/
|
214
|
-
- lib/bing_ads_ruby_sdk/wsdl/
|
215
|
-
- lib/bing_ads_ruby_sdk/wsdl/
|
216
|
-
- lib/bing_ads_ruby_sdk/wsdl/
|
217
|
-
- lib/bing_ads_ruby_sdk/wsdl/
|
218
|
-
- lib/bing_ads_ruby_sdk/wsdl/
|
219
|
-
- lib/bing_ads_ruby_sdk/wsdl/
|
220
|
-
- lib/bing_ads_ruby_sdk/wsdl/
|
221
|
-
- lib/bing_ads_ruby_sdk/wsdl/
|
222
|
-
- lib/bing_ads_ruby_sdk/wsdl/
|
223
|
-
- lib/bing_ads_ruby_sdk/wsdl/
|
224
|
-
- lib/bing_ads_ruby_sdk/wsdl/
|
225
|
-
- lib/bing_ads_ruby_sdk/wsdl/
|
226
|
-
- lib/bing_ads_ruby_sdk/wsdl/
|
227
|
-
- lib/bing_ads_ruby_sdk/wsdl/
|
228
|
-
- lib/bing_ads_ruby_sdk/wsdl/
|
235
|
+
- lib/bing_ads_ruby_sdk/wsdl/v13/production/ad_insight.xml
|
236
|
+
- lib/bing_ads_ruby_sdk/wsdl/v13/production/bulk.xml
|
237
|
+
- lib/bing_ads_ruby_sdk/wsdl/v13/production/campaign_management.xml
|
238
|
+
- lib/bing_ads_ruby_sdk/wsdl/v13/production/customer_billing.xml
|
239
|
+
- lib/bing_ads_ruby_sdk/wsdl/v13/production/customer_management.xml
|
240
|
+
- lib/bing_ads_ruby_sdk/wsdl/v13/production/reporting.xml
|
241
|
+
- lib/bing_ads_ruby_sdk/wsdl/v13/sandbox/ad_insight.xml
|
242
|
+
- lib/bing_ads_ruby_sdk/wsdl/v13/sandbox/bulk.xml
|
243
|
+
- lib/bing_ads_ruby_sdk/wsdl/v13/sandbox/campaign_management.xml
|
244
|
+
- lib/bing_ads_ruby_sdk/wsdl/v13/sandbox/customer_billing.xml
|
245
|
+
- lib/bing_ads_ruby_sdk/wsdl/v13/sandbox/customer_management.xml
|
246
|
+
- lib/bing_ads_ruby_sdk/wsdl/v13/sandbox/reporting.xml
|
247
|
+
- lib/bing_ads_ruby_sdk/wsdl/v13/test/ad_insight.xml
|
248
|
+
- lib/bing_ads_ruby_sdk/wsdl/v13/test/bulk.xml
|
249
|
+
- lib/bing_ads_ruby_sdk/wsdl/v13/test/campaign_management.xml
|
250
|
+
- lib/bing_ads_ruby_sdk/wsdl/v13/test/customer_billing.xml
|
251
|
+
- lib/bing_ads_ruby_sdk/wsdl/v13/test/customer_management.xml
|
252
|
+
- lib/bing_ads_ruby_sdk/wsdl/v13/test/reporting.xml
|
229
253
|
- lib/bing_ads_ruby_sdk/wsdl/wsdl_source.txt
|
230
254
|
- lib/bing_ads_ruby_sdk/wsdl_operation_wrapper.rb
|
255
|
+
- spec/bing_ads_ruby_sdk/api_spec.rb
|
256
|
+
- spec/bing_ads_ruby_sdk/errors/error_handler_spec.rb
|
257
|
+
- spec/bing_ads_ruby_sdk/errors/errors_spec.rb
|
258
|
+
- spec/bing_ads_ruby_sdk/header_spec.rb
|
259
|
+
- spec/bing_ads_ruby_sdk/http_client_spec.rb
|
260
|
+
- spec/bing_ads_ruby_sdk/oauth2/fs_store_spec.rb
|
261
|
+
- spec/bing_ads_ruby_sdk/postprocessors/cast_long_arrays_spec.rb
|
262
|
+
- spec/bing_ads_ruby_sdk/postprocessors/snakize_spec.rb
|
263
|
+
- spec/bing_ads_ruby_sdk/preprocessors/camelize_spec.rb
|
264
|
+
- spec/bing_ads_ruby_sdk/preprocessors/order_spec.rb
|
265
|
+
- spec/bing_ads_ruby_sdk/services/bulk_spec.rb
|
266
|
+
- spec/bing_ads_ruby_sdk/services/campaign_management_spec.rb
|
267
|
+
- spec/bing_ads_ruby_sdk/services/customer_management_spec.rb
|
268
|
+
- spec/bing_ads_ruby_sdk_spec.rb
|
269
|
+
- spec/examples/1_customer_creation/customer_spec.rb
|
270
|
+
- spec/examples/2_with_customer/budget_spec.rb
|
271
|
+
- spec/examples/2_with_customer/campaigns_spec.rb
|
272
|
+
- spec/examples/2_with_customer/customer_management_spec.rb
|
273
|
+
- spec/examples/2_with_customer/uet_tags_spec.rb
|
274
|
+
- spec/examples/3_with_uet_tag/conversion_goal_spec.rb
|
275
|
+
- spec/examples/3_with_uet_tag/uet_tags_spec.rb
|
276
|
+
- spec/examples/4_with_conversion_goal/conversion_goals_spec.rb
|
277
|
+
- spec/examples/5_with_campaign/ad_extension_spec.rb
|
278
|
+
- spec/examples/5_with_campaign/ad_group_spec.rb
|
279
|
+
- spec/examples/5_with_campaign/campaign_criterions_spec.rb
|
280
|
+
- spec/examples/5_with_campaign/campaign_spec.rb
|
281
|
+
- spec/examples/6_with_ad_group/ad_group_spec.rb
|
282
|
+
- spec/examples/6_with_ad_group/ads_spec.rb
|
283
|
+
- spec/examples/6_with_ad_group/keywords_spec.rb
|
284
|
+
- spec/examples/examples.rb
|
285
|
+
- spec/fixtures/bulk/download_campaigns_by_account_ids/standard.xml
|
286
|
+
- spec/fixtures/bulk/download_campaigns_by_account_ids/standard_response.xml
|
287
|
+
- spec/fixtures/bulk/get_bulk_download_status/standard.xml
|
288
|
+
- spec/fixtures/bulk/get_bulk_download_status/standard_response.xml
|
289
|
+
- spec/fixtures/campaign_management/add_ad_extensions/standard.xml
|
290
|
+
- spec/fixtures/campaign_management/add_ad_extensions/standard_response.xml
|
291
|
+
- spec/fixtures/campaign_management/add_conversion_goals/standard.xml
|
292
|
+
- spec/fixtures/campaign_management/add_conversion_goals/standard_response.xml
|
293
|
+
- spec/fixtures/campaign_management/add_shared_entity/standard.xml
|
294
|
+
- spec/fixtures/campaign_management/add_shared_entity/standard_response.xml
|
295
|
+
- spec/fixtures/campaign_management/add_uet_tags/standard.xml
|
296
|
+
- spec/fixtures/campaign_management/add_uet_tags/standard_response.xml
|
297
|
+
- spec/fixtures/campaign_management/get_ad_extension_ids_by_account_id/standard.xml
|
298
|
+
- spec/fixtures/campaign_management/get_ad_extension_ids_by_account_id/standard_response.xml
|
299
|
+
- spec/fixtures/campaign_management/get_ad_extensions_associations/standard.xml
|
300
|
+
- spec/fixtures/campaign_management/get_ad_extensions_associations/standard_response.xml
|
301
|
+
- spec/fixtures/campaign_management/get_budgets_by_ids/standard.xml
|
302
|
+
- spec/fixtures/campaign_management/get_budgets_by_ids/standard_response.xml
|
303
|
+
- spec/fixtures/campaign_management/get_campaigns_by_account_id/standard.xml
|
304
|
+
- spec/fixtures/campaign_management/get_campaigns_by_account_id/standard_response.xml
|
305
|
+
- spec/fixtures/campaign_management/get_conversion_goals_by_ids/standard.xml
|
306
|
+
- spec/fixtures/campaign_management/get_conversion_goals_by_ids/standard_response.xml
|
307
|
+
- spec/fixtures/campaign_management/get_shared_entities_by_account_id/standard.xml
|
308
|
+
- spec/fixtures/campaign_management/get_shared_entities_by_account_id/standard_response.xml
|
309
|
+
- spec/fixtures/campaign_management/get_shared_entity_associations_by_entity_ids/standard.xml
|
310
|
+
- spec/fixtures/campaign_management/get_shared_entity_associations_by_entity_ids/standard_response.xml
|
311
|
+
- spec/fixtures/campaign_management/get_uet_tags_by_ids/standard.xml
|
312
|
+
- spec/fixtures/campaign_management/get_uet_tags_by_ids/standard_response.xml
|
313
|
+
- spec/fixtures/campaign_management/set_ad_extensions_associations/standard.xml
|
314
|
+
- spec/fixtures/campaign_management/set_ad_extensions_associations/standard_response.xml
|
315
|
+
- spec/fixtures/campaign_management/set_shared_entity_associations/standard.xml
|
316
|
+
- spec/fixtures/campaign_management/set_shared_entity_associations/standard_response.xml
|
317
|
+
- spec/fixtures/campaign_management/update_conversion_goals/standard.xml
|
318
|
+
- spec/fixtures/campaign_management/update_conversion_goals/standard_response.xml
|
319
|
+
- spec/fixtures/campaign_management/update_uet_tags/standard.xml
|
320
|
+
- spec/fixtures/campaign_management/update_uet_tags/standard_response.xml
|
321
|
+
- spec/fixtures/customer_management/find_accounts_or_customers_info/standard.xml
|
322
|
+
- spec/fixtures/customer_management/find_accounts_or_customers_info/standard_response.xml
|
323
|
+
- spec/fixtures/customer_management/get_account/standard.xml
|
324
|
+
- spec/fixtures/customer_management/get_account/standard_response.xml
|
325
|
+
- spec/fixtures/customer_management/signup_customer/standard.xml
|
326
|
+
- spec/fixtures/customer_management/signup_customer/standard_response.xml
|
327
|
+
- spec/fixtures/customer_management/update_account/standard.xml
|
328
|
+
- spec/fixtures/customer_management/update_account/standard_response.xml
|
329
|
+
- spec/spec_helper.rb
|
330
|
+
- spec/support/spec_helpers.rb
|
231
331
|
- tasks/bing_ads_ruby_sdk.rake
|
232
332
|
homepage: https://github.com/Effilab/bing_ads_ruby_sdk
|
233
333
|
licenses:
|
@@ -248,9 +348,84 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
248
348
|
- !ruby/object:Gem::Version
|
249
349
|
version: '0'
|
250
350
|
requirements: []
|
251
|
-
|
252
|
-
rubygems_version: 2.6.11
|
351
|
+
rubygems_version: 3.0.3
|
253
352
|
signing_key:
|
254
353
|
specification_version: 4
|
255
354
|
summary: Bing Ads Ruby SDK
|
256
|
-
test_files:
|
355
|
+
test_files:
|
356
|
+
- spec/bing_ads_ruby_sdk/api_spec.rb
|
357
|
+
- spec/bing_ads_ruby_sdk/errors/error_handler_spec.rb
|
358
|
+
- spec/bing_ads_ruby_sdk/errors/errors_spec.rb
|
359
|
+
- spec/bing_ads_ruby_sdk/header_spec.rb
|
360
|
+
- spec/bing_ads_ruby_sdk/http_client_spec.rb
|
361
|
+
- spec/bing_ads_ruby_sdk/oauth2/fs_store_spec.rb
|
362
|
+
- spec/bing_ads_ruby_sdk/postprocessors/cast_long_arrays_spec.rb
|
363
|
+
- spec/bing_ads_ruby_sdk/postprocessors/snakize_spec.rb
|
364
|
+
- spec/bing_ads_ruby_sdk/preprocessors/camelize_spec.rb
|
365
|
+
- spec/bing_ads_ruby_sdk/preprocessors/order_spec.rb
|
366
|
+
- spec/bing_ads_ruby_sdk/services/bulk_spec.rb
|
367
|
+
- spec/bing_ads_ruby_sdk/services/campaign_management_spec.rb
|
368
|
+
- spec/bing_ads_ruby_sdk/services/customer_management_spec.rb
|
369
|
+
- spec/bing_ads_ruby_sdk_spec.rb
|
370
|
+
- spec/examples/1_customer_creation/customer_spec.rb
|
371
|
+
- spec/examples/2_with_customer/budget_spec.rb
|
372
|
+
- spec/examples/2_with_customer/campaigns_spec.rb
|
373
|
+
- spec/examples/2_with_customer/customer_management_spec.rb
|
374
|
+
- spec/examples/2_with_customer/uet_tags_spec.rb
|
375
|
+
- spec/examples/3_with_uet_tag/conversion_goal_spec.rb
|
376
|
+
- spec/examples/3_with_uet_tag/uet_tags_spec.rb
|
377
|
+
- spec/examples/4_with_conversion_goal/conversion_goals_spec.rb
|
378
|
+
- spec/examples/5_with_campaign/ad_extension_spec.rb
|
379
|
+
- spec/examples/5_with_campaign/ad_group_spec.rb
|
380
|
+
- spec/examples/5_with_campaign/campaign_criterions_spec.rb
|
381
|
+
- spec/examples/5_with_campaign/campaign_spec.rb
|
382
|
+
- spec/examples/6_with_ad_group/ad_group_spec.rb
|
383
|
+
- spec/examples/6_with_ad_group/ads_spec.rb
|
384
|
+
- spec/examples/6_with_ad_group/keywords_spec.rb
|
385
|
+
- spec/examples/examples.rb
|
386
|
+
- spec/fixtures/bulk/download_campaigns_by_account_ids/standard.xml
|
387
|
+
- spec/fixtures/bulk/download_campaigns_by_account_ids/standard_response.xml
|
388
|
+
- spec/fixtures/bulk/get_bulk_download_status/standard.xml
|
389
|
+
- spec/fixtures/bulk/get_bulk_download_status/standard_response.xml
|
390
|
+
- spec/fixtures/campaign_management/add_ad_extensions/standard.xml
|
391
|
+
- spec/fixtures/campaign_management/add_ad_extensions/standard_response.xml
|
392
|
+
- spec/fixtures/campaign_management/add_conversion_goals/standard.xml
|
393
|
+
- spec/fixtures/campaign_management/add_conversion_goals/standard_response.xml
|
394
|
+
- spec/fixtures/campaign_management/add_shared_entity/standard.xml
|
395
|
+
- spec/fixtures/campaign_management/add_shared_entity/standard_response.xml
|
396
|
+
- spec/fixtures/campaign_management/add_uet_tags/standard.xml
|
397
|
+
- spec/fixtures/campaign_management/add_uet_tags/standard_response.xml
|
398
|
+
- spec/fixtures/campaign_management/get_ad_extension_ids_by_account_id/standard.xml
|
399
|
+
- spec/fixtures/campaign_management/get_ad_extension_ids_by_account_id/standard_response.xml
|
400
|
+
- spec/fixtures/campaign_management/get_ad_extensions_associations/standard.xml
|
401
|
+
- spec/fixtures/campaign_management/get_ad_extensions_associations/standard_response.xml
|
402
|
+
- spec/fixtures/campaign_management/get_budgets_by_ids/standard.xml
|
403
|
+
- spec/fixtures/campaign_management/get_budgets_by_ids/standard_response.xml
|
404
|
+
- spec/fixtures/campaign_management/get_campaigns_by_account_id/standard.xml
|
405
|
+
- spec/fixtures/campaign_management/get_campaigns_by_account_id/standard_response.xml
|
406
|
+
- spec/fixtures/campaign_management/get_conversion_goals_by_ids/standard.xml
|
407
|
+
- spec/fixtures/campaign_management/get_conversion_goals_by_ids/standard_response.xml
|
408
|
+
- spec/fixtures/campaign_management/get_shared_entities_by_account_id/standard.xml
|
409
|
+
- spec/fixtures/campaign_management/get_shared_entities_by_account_id/standard_response.xml
|
410
|
+
- spec/fixtures/campaign_management/get_shared_entity_associations_by_entity_ids/standard.xml
|
411
|
+
- spec/fixtures/campaign_management/get_shared_entity_associations_by_entity_ids/standard_response.xml
|
412
|
+
- spec/fixtures/campaign_management/get_uet_tags_by_ids/standard.xml
|
413
|
+
- spec/fixtures/campaign_management/get_uet_tags_by_ids/standard_response.xml
|
414
|
+
- spec/fixtures/campaign_management/set_ad_extensions_associations/standard.xml
|
415
|
+
- spec/fixtures/campaign_management/set_ad_extensions_associations/standard_response.xml
|
416
|
+
- spec/fixtures/campaign_management/set_shared_entity_associations/standard.xml
|
417
|
+
- spec/fixtures/campaign_management/set_shared_entity_associations/standard_response.xml
|
418
|
+
- spec/fixtures/campaign_management/update_conversion_goals/standard.xml
|
419
|
+
- spec/fixtures/campaign_management/update_conversion_goals/standard_response.xml
|
420
|
+
- spec/fixtures/campaign_management/update_uet_tags/standard.xml
|
421
|
+
- spec/fixtures/campaign_management/update_uet_tags/standard_response.xml
|
422
|
+
- spec/fixtures/customer_management/find_accounts_or_customers_info/standard.xml
|
423
|
+
- spec/fixtures/customer_management/find_accounts_or_customers_info/standard_response.xml
|
424
|
+
- spec/fixtures/customer_management/get_account/standard.xml
|
425
|
+
- spec/fixtures/customer_management/get_account/standard_response.xml
|
426
|
+
- spec/fixtures/customer_management/signup_customer/standard.xml
|
427
|
+
- spec/fixtures/customer_management/signup_customer/standard_response.xml
|
428
|
+
- spec/fixtures/customer_management/update_account/standard.xml
|
429
|
+
- spec/fixtures/customer_management/update_account/standard_response.xml
|
430
|
+
- spec/spec_helper.rb
|
431
|
+
- spec/support/spec_helpers.rb
|