soapy_bing 0.4.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +5 -5
  2. data/.circleci/config.yml +87 -0
  3. data/.ruby-version +1 -1
  4. data/CHANGELOG.md +19 -0
  5. data/lib/soapy_bing/accounts.rb +1 -1
  6. data/lib/soapy_bing/ads/campaign_performance_report.rb +2 -1
  7. data/lib/soapy_bing/ads/campaigns.rb +1 -1
  8. data/lib/soapy_bing/ads/report.rb +2 -1
  9. data/lib/soapy_bing/oauth_credentials.rb +6 -2
  10. data/lib/soapy_bing/service.rb +6 -2
  11. data/lib/soapy_bing/version.rb +1 -1
  12. data/lib/soapy_bing/wsdl/ad_insight.wsdl +1 -1
  13. data/lib/soapy_bing/wsdl/bulk.wsdl +1 -1
  14. data/lib/soapy_bing/wsdl/campaign_management.wsdl +1 -1
  15. data/lib/soapy_bing/wsdl/customer_billing.wsdl +1 -1
  16. data/lib/soapy_bing/wsdl/customer_management.wsdl +1 -1
  17. data/lib/soapy_bing/wsdl/reporting.wsdl +1 -1
  18. data/lib/tasks/upate_wsdl_files.rake +24 -7
  19. data/soapy_bing.gemspec +3 -3
  20. data/spec/fixtures/ads/campaign_performance_report.csv +8 -31
  21. data/spec/fixtures/ads/campaign_performance_report.json +5 -166
  22. data/spec/fixtures/ads/campaigns_by_account_id.csv +4 -7
  23. data/spec/fixtures/ads/campaigns_by_account_id.json +175 -718
  24. data/spec/fixtures/ads/campaigns_by_campaign_ids.csv +3 -5
  25. data/spec/fixtures/ads/campaigns_by_campaign_ids.json +112 -474
  26. data/spec/fixtures/vcr_cassettes/SoapyBing_Accounts/_list/returns_a_list_of_SoapyBing_Account_objects.yml +20 -20
  27. data/spec/fixtures/vcr_cassettes/SoapyBing_Ads/_campaigns/by_account_id/returns_parsed_rows.yml +61 -91
  28. data/spec/fixtures/vcr_cassettes/SoapyBing_Ads/_campaigns/by_campaign_ids/returns_parsed_rows.yml +60 -90
  29. data/spec/fixtures/vcr_cassettes/SoapyBing_CampaignManagement/_get_geo_locations/returns_a_list_of_geo_locations_hashes.yml +29 -25
  30. data/spec/fixtures/vcr_cassettes/campaign_performance_report/with_pending_status.yml +30 -28
  31. data/spec/fixtures/vcr_cassettes/campaign_performance_report/with_successful_empty_response.yml +37 -361
  32. data/spec/fixtures/vcr_cassettes/campaign_performance_report/with_successful_response.yml +45 -203
  33. data/spec/fixtures/vcr_cassettes/oauth_credentials/access_token/with_successful_status.yml +14 -8
  34. data/spec/integration/soapy_bing/accounts_spec.rb +1 -1
  35. data/spec/integration/soapy_bing/ads_campaigns_spec.rb +3 -4
  36. data/spec/soapy_bing/ads/campaign_performance_report_spec.rb +1 -3
  37. data/spec/soapy_bing/ads/campaigns_spec.rb +8 -10
  38. data/spec/soapy_bing/oauth_credentials_spec.rb +3 -4
  39. data/spec/soapy_bing/service_spec.rb +30 -2
  40. data/spec/spec_helper.rb +1 -0
  41. data/spec/support/vcr.rb +6 -4
  42. data/spec/wsdl/ad_insight.wsdl +1 -0
  43. data/spec/wsdl/bulk.wsdl +1 -0
  44. data/spec/wsdl/campaign_management.wsdl +1 -0
  45. data/spec/wsdl/customer_billing.wsdl +1 -0
  46. data/spec/wsdl/customer_management.wsdl +1 -0
  47. data/spec/wsdl/reporting.wsdl +1 -0
  48. metadata +39 -12
  49. data/circle.yml +0 -6
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://login.live.com/oauth20_token.srf
5
+ uri: https://login.live-int.com/oauth20_token.srf
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: client_id=bing-ads-oauth-client-id&client_secret=bing-ads-oauth-client-secret&grant_type=refresh_token&refresh_token=bing-ads-oauth-refresh-token
@@ -22,12 +22,14 @@ http_interactions:
22
22
  - no-store
23
23
  Pragma:
24
24
  - no-cache
25
- Content-Length:
26
- - '1509'
27
25
  Content-Type:
28
26
  - application/json
29
27
  Server:
30
28
  - Microsoft-IIS/8.5
29
+ Liveidtestresp:
30
+ - ''
31
+ Ppserver:
32
+ - 'PPV: 30 H: BY2INTIDSLGN12 V: 0'
31
33
  X-Content-Type-Options:
32
34
  - nosniff
33
35
  Strict-Transport-Security:
@@ -35,21 +37,21 @@ http_interactions:
35
37
  X-Xss-Protection:
36
38
  - 1; mode=block
37
39
  Date:
38
- - Mon, 05 Jun 2017 14:58:59 GMT
39
- Connection:
40
- - close
40
+ - Thu, 24 Jan 2019 11:38:50 GMT
41
+ Content-Length:
42
+ - '1630'
41
43
  body:
42
44
  encoding: UTF-8
43
45
  string: '{"token_type":"bearer","expires_in":3600,"scope":"bingads.manage","access_token":"bing-ads-oauth-authentication-token","refresh_token":"bing-ads-oauth-refresh-token","user_id":"bing-ads-oauth-user-id"}'
44
46
  http_version:
45
- recorded_at: Mon, 05 Jun 2017 14:59:00 GMT
47
+ recorded_at: Thu, 24 Jan 2019 11:38:50 GMT
46
48
  - request:
47
49
  method: post
48
- uri: https://campaign.api.bingads.microsoft.com/Api/Advertiser/CampaignManagement/V11/CampaignManagementService.svc
50
+ uri: https://campaign.api.sandbox.bingads.microsoft.com/Api/Advertiser/CampaignManagement/V12/CampaignManagementService.svc
49
51
  body:
50
52
  encoding: UTF-8
51
53
  string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
52
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="https://bingads.microsoft.com/CampaignManagement/v11"
54
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="https://bingads.microsoft.com/CampaignManagement/v12"
53
55
  xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header><tns:Action>GetGeoLocationsFileUrl</tns:Action><tns:AuthenticationToken>bing-ads-oauth-authentication-token</tns:AuthenticationToken><tns:DeveloperToken>bing-ads-developer-token</tns:DeveloperToken><tns:CustomerAccountId>bing-ads-account-id</tns:CustomerAccountId></env:Header><env:Body><tns:GetGeoLocationsFileUrlRequest><tns:Version>1.0</tns:Version><tns:LanguageLocale>en</tns:LanguageLocale></tns:GetGeoLocationsFileUrlRequest></env:Body></env:Envelope>
54
56
  headers:
55
57
  Soapaction:
@@ -57,7 +59,7 @@ http_interactions:
57
59
  Content-Type:
58
60
  - text/xml;charset=UTF-8
59
61
  Content-Length:
60
- - '1700'
62
+ - '1759'
61
63
  Accept-Encoding:
62
64
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
63
65
  Accept:
@@ -76,25 +78,25 @@ http_interactions:
76
78
  Vary:
77
79
  - Accept-Encoding
78
80
  Server:
79
- - Microsoft-IIS/8.5
81
+ - Microsoft-IIS/10.0
80
82
  X-Aspnet-Version:
81
83
  - 4.0.30319
82
84
  X-Powered-By:
83
85
  - ASP.NET
84
86
  Date:
85
- - Mon, 05 Jun 2017 14:59:01 GMT
87
+ - Thu, 24 Jan 2019 11:38:51 GMT
86
88
  Content-Length:
87
- - '431'
89
+ - '433'
88
90
  body:
89
91
  encoding: ASCII-8BIT
90
92
  string: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:TrackingId
91
- xmlns:h="https://bingads.microsoft.com/CampaignManagement/v11">bing-ads-report-tracking-id</h:TrackingId></s:Header><s:Body><GetGeoLocationsFileUrlResponse
92
- xmlns="https://bingads.microsoft.com/CampaignManagement/v11"><FileUrl>https://bingadsappsstorageprod.blob.core.windows.net/geolocationscsv/1.0/en/GeoLocations.csv?sv=2015-12-11&amp;sr=b&amp;sig=wrLaqR8eT8cKeJntsDD0hJ1hnm1KrkAid1c9VzfJfnw%3D&amp;st=2017-06-05T14%3A54%3A01Z&amp;se=2017-06-05T15%3A14%3A01Z&amp;sp=rl</FileUrl><FileUrlExpiryTimeUtc>2017-06-05T15:14:01Z</FileUrlExpiryTimeUtc><LastModifiedTimeUtc>2016-12-23T00:14:46Z</LastModifiedTimeUtc></GetGeoLocationsFileUrlResponse></s:Body></s:Envelope>
93
+ xmlns:h="https://bingads.microsoft.com/CampaignManagement/v12">bing-ads-report-tracking-id</h:TrackingId></s:Header><s:Body><GetGeoLocationsFileUrlResponse
94
+ xmlns="https://bingads.microsoft.com/CampaignManagement/v12"><FileUrl>https://bingadsappsstoragesi.blob.core.windows.net/geolocationscsv/1.0/en/GeoLocations.csv?sv=2015-12-11&amp;sr=b&amp;sig=7tYByb%2FqLlUgOGutpdG65O3EciXAc4hPswC7q8Ax%2Fng%3D&amp;st=2019-01-24T11%3A33%3A51Z&amp;se=2019-01-24T11%3A53%3A51Z&amp;sp=rl</FileUrl><FileUrlExpiryTimeUtc>2019-01-24T11:53:51Z</FileUrlExpiryTimeUtc><LastModifiedTimeUtc>2016-12-23T00:12:26Z</LastModifiedTimeUtc></GetGeoLocationsFileUrlResponse></s:Body></s:Envelope>
93
95
  http_version:
94
- recorded_at: Mon, 05 Jun 2017 14:59:01 GMT
96
+ recorded_at: Thu, 24 Jan 2019 11:38:51 GMT
95
97
  - request:
96
98
  method: get
97
- uri: https://bingadsappsstorageprod.blob.core.windows.net/geolocationscsv/1.0/en/GeoLocations.csv?se=2017-06-05T15:14:01Z&sig=wrLaqR8eT8cKeJntsDD0hJ1hnm1KrkAid1c9VzfJfnw=&sp=rl&sr=b&st=2017-06-05T14:54:01Z&sv=2015-12-11
99
+ uri: https://bingadsappsstoragesi.blob.core.windows.net/geolocationscsv/1.0/en/GeoLocations.csv?se=2019-01-24T11:53:51Z&sig=7tYByb/qLlUgOGutpdG65O3EciXAc4hPswC7q8Ax/ng=&sp=rl&sr=b&st=2019-01-24T11:33:51Z&sv=2015-12-11
98
100
  body:
99
101
  encoding: US-ASCII
100
102
  string: ''
@@ -117,17 +119,15 @@ http_interactions:
117
119
  Content-Md5:
118
120
  - xcU2iJHBPPuqyaLL/bQi8A==
119
121
  Last-Modified:
120
- - Fri, 23 Dec 2016 00:14:46 GMT
122
+ - Fri, 23 Dec 2016 00:12:26 GMT
121
123
  Accept-Ranges:
122
124
  - bytes
123
125
  Etag:
124
- - '"0x8D42AC8B3E4F3BA"'
125
- Vary:
126
- - Origin
126
+ - '"0x8D42AC8609DE67F"'
127
127
  Server:
128
128
  - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
129
129
  X-Ms-Request-Id:
130
- - fe5eb4a5-0001-0058-510c-de3f54000000
130
+ - '04951152-e01e-008b-1bd9-b380f1000000'
131
131
  X-Ms-Version:
132
132
  - '2015-12-11'
133
133
  X-Ms-Lease-Status:
@@ -138,8 +138,12 @@ http_interactions:
138
138
  - BlockBlob
139
139
  X-Ms-Server-Encrypted:
140
140
  - 'false'
141
+ Access-Control-Expose-Headers:
142
+ - x-ms-request-id,Server,x-ms-version,Content-Type,Last-Modified,ETag,Content-MD5,x-ms-lease-status,x-ms-lease-state,x-ms-blob-type,x-ms-server-encrypted,Accept-Ranges,Content-Length,Date,Transfer-Encoding
143
+ Access-Control-Allow-Origin:
144
+ - "*"
141
145
  Date:
142
- - Mon, 05 Jun 2017 14:59:01 GMT
146
+ - Thu, 24 Jan 2019 11:38:50 GMT
143
147
  body:
144
148
  encoding: ASCII-8BIT
145
149
  string: |
@@ -150,5 +154,5 @@ http_interactions:
150
154
  4,AS,American Samoa,country/region,Country,,Active,2016
151
155
  5,AD,Andorra,country/region,Country,,Active,2020
152
156
  http_version:
153
- recorded_at: Mon, 05 Jun 2017 14:59:20 GMT
154
- recorded_with: VCR 3.0.3
157
+ recorded_at: Thu, 24 Jan 2019 11:39:04 GMT
158
+ recorded_with: VCR 4.0.0
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://login.live.com/oauth20_token.srf
5
+ uri: https://login.live-int.com/oauth20_token.srf
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: client_id=bing-ads-oauth-client-id&client_secret=bing-ads-oauth-client-secret&grant_type=refresh_token&refresh_token=bing-ads-oauth-refresh-token
@@ -22,12 +22,14 @@ http_interactions:
22
22
  - no-store
23
23
  Pragma:
24
24
  - no-cache
25
- Content-Length:
26
- - '1509'
27
25
  Content-Type:
28
26
  - application/json
29
27
  Server:
30
28
  - Microsoft-IIS/8.5
29
+ Liveidtestresp:
30
+ - ''
31
+ Ppserver:
32
+ - 'PPV: 30 H: BY2INTIDSLGN11 V: 0'
31
33
  X-Content-Type-Options:
32
34
  - nosniff
33
35
  Strict-Transport-Security:
@@ -35,31 +37,31 @@ http_interactions:
35
37
  X-Xss-Protection:
36
38
  - 1; mode=block
37
39
  Date:
38
- - Wed, 07 Jun 2017 22:19:37 GMT
39
- Connection:
40
- - close
40
+ - Fri, 25 Jan 2019 13:57:31 GMT
41
+ Content-Length:
42
+ - '1606'
41
43
  body:
42
44
  encoding: UTF-8
43
45
  string: '{"token_type":"bearer","expires_in":3600,"scope":"bingads.manage","access_token":"bing-ads-oauth-authentication-token","refresh_token":"bing-ads-oauth-refresh-token","user_id":"bing-ads-oauth-user-id"}'
44
46
  http_version:
45
- recorded_at: Wed, 07 Jun 2017 22:19:38 GMT
47
+ recorded_at: Fri, 25 Jan 2019 13:57:31 GMT
46
48
  - request:
47
49
  method: post
48
- uri: https://reporting.api.bingads.microsoft.com/Api/Advertiser/Reporting/V11/ReportingService.svc
50
+ uri: https://reporting.api.sandbox.bingads.microsoft.com/Api/Advertiser/Reporting/V12/ReportingService.svc
49
51
  body:
50
52
  encoding: UTF-8
51
53
  string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
52
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="https://bingads.microsoft.com/Reporting/v11"
54
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="https://bingads.microsoft.com/Reporting/v12"
53
55
  xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header><tns:Action>SubmitGenerateReport</tns:Action><tns:AuthenticationToken>bing-ads-oauth-authentication-token</tns:AuthenticationToken><tns:DeveloperToken>bing-ads-developer-token</tns:DeveloperToken><tns:CustomerAccountId>bing-ads-account-id</tns:CustomerAccountId></env:Header><env:Body><tns:SubmitGenerateReportRequest><tns:ReportRequest
54
- xsi:type="tns:CampaignPerformanceReportRequest"><tns:Format>Csv</tns:Format><tns:Language>English</tns:Language><tns:ReportName>MyReport</tns:ReportName><tns:ReturnOnlyCompletedData>false</tns:ReturnOnlyCompletedData><tns:Aggregation>Hourly</tns:Aggregation><tns:Columns><tns:CampaignPerformanceReportColumn>TimePeriod</tns:CampaignPerformanceReportColumn><tns:CampaignPerformanceReportColumn>Impressions</tns:CampaignPerformanceReportColumn><tns:CampaignPerformanceReportColumn>Clicks</tns:CampaignPerformanceReportColumn><tns:CampaignPerformanceReportColumn>Spend</tns:CampaignPerformanceReportColumn></tns:Columns><tns:Scope><tns:AccountIds
55
- xmlns:a1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"><a1:long>bing-ads-account-id</a1:long></tns:AccountIds></tns:Scope><tns:Time><tns:CustomDateRangeEnd><tns:Day>14</tns:Day><tns:Month>10</tns:Month><tns:Year>2016</tns:Year></tns:CustomDateRangeEnd><tns:CustomDateRangeStart><tns:Day>14</tns:Day><tns:Month>10</tns:Month><tns:Year>2016</tns:Year></tns:CustomDateRangeStart></tns:Time></tns:ReportRequest></tns:SubmitGenerateReportRequest></env:Body></env:Envelope>
56
+ xsi:type="tns:CampaignPerformanceReportRequest"><tns:Format>Csv</tns:Format><tns:Language>English</tns:Language><tns:ReportName>MyReport</tns:ReportName><tns:ReturnOnlyCompletedData>false</tns:ReturnOnlyCompletedData><tns:Aggregation>Hourly</tns:Aggregation><tns:Columns><tns:CampaignPerformanceReportColumn>CampaignName</tns:CampaignPerformanceReportColumn><tns:CampaignPerformanceReportColumn>TimePeriod</tns:CampaignPerformanceReportColumn><tns:CampaignPerformanceReportColumn>Impressions</tns:CampaignPerformanceReportColumn><tns:CampaignPerformanceReportColumn>Clicks</tns:CampaignPerformanceReportColumn><tns:CampaignPerformanceReportColumn>Spend</tns:CampaignPerformanceReportColumn></tns:Columns><tns:Scope><tns:AccountIds
57
+ xmlns:a1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"><a1:long>bing-ads-account-id</a1:long></tns:AccountIds></tns:Scope><tns:Time><tns:CustomDateRangeEnd><tns:Day>22</tns:Day><tns:Month>1</tns:Month><tns:Year>2019</tns:Year></tns:CustomDateRangeEnd><tns:CustomDateRangeStart><tns:Day>22</tns:Day><tns:Month>1</tns:Month><tns:Year>2019</tns:Year></tns:CustomDateRangeStart></tns:Time><tns:ReportTimeZone>GreenwichMeanTimeDublinEdinburghLisbonLondon</tns:ReportTimeZone></tns:ReportRequest></tns:SubmitGenerateReportRequest></env:Body></env:Envelope>
56
58
  headers:
57
59
  Soapaction:
58
60
  - '"SubmitGenerateReport"'
59
61
  Content-Type:
60
62
  - text/xml;charset=UTF-8
61
63
  Content-Length:
62
- - '2684'
64
+ - '2915'
63
65
  Accept-Encoding:
64
66
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
65
67
  Accept:
@@ -76,27 +78,27 @@ http_interactions:
76
78
  Vary:
77
79
  - Accept-Encoding
78
80
  Server:
79
- - Microsoft-IIS/8.5
81
+ - Microsoft-IIS/10.0
80
82
  X-Powered-By:
81
83
  - ASP.NET
82
84
  Date:
83
- - Wed, 07 Jun 2017 22:19:38 GMT
85
+ - Fri, 25 Jan 2019 13:57:32 GMT
84
86
  Content-Length:
85
- - '346'
87
+ - '345'
86
88
  body:
87
89
  encoding: ASCII-8BIT
88
90
  string: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:TrackingId
89
- xmlns:h="https://bingads.microsoft.com/Reporting/v11">bing-ads-report-tracking-id</h:TrackingId></s:Header><s:Body><SubmitGenerateReportResponse
90
- xmlns="https://bingads.microsoft.com/Reporting/v11"><ReportRequestId>bing-ads-report-request-id</ReportRequestId></SubmitGenerateReportResponse></s:Body></s:Envelope>
91
+ xmlns:h="https://bingads.microsoft.com/Reporting/v12">bing-ads-report-tracking-id</h:TrackingId></s:Header><s:Body><SubmitGenerateReportResponse
92
+ xmlns="https://bingads.microsoft.com/Reporting/v12"><ReportRequestId>bing-ads-report-request-id</ReportRequestId></SubmitGenerateReportResponse></s:Body></s:Envelope>
91
93
  http_version:
92
- recorded_at: Wed, 07 Jun 2017 22:19:39 GMT
94
+ recorded_at: Fri, 25 Jan 2019 13:57:33 GMT
93
95
  - request:
94
96
  method: post
95
- uri: https://reporting.api.bingads.microsoft.com/Api/Advertiser/Reporting/V11/ReportingService.svc
97
+ uri: https://reporting.api.sandbox.bingads.microsoft.com/Api/Advertiser/Reporting/V12/ReportingService.svc
96
98
  body:
97
99
  encoding: UTF-8
98
100
  string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
99
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="https://bingads.microsoft.com/Reporting/v11"
101
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="https://bingads.microsoft.com/Reporting/v12"
100
102
  xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header><tns:Action>PollGenerateReport</tns:Action><tns:AuthenticationToken>bing-ads-oauth-authentication-token</tns:AuthenticationToken><tns:DeveloperToken>bing-ads-developer-token</tns:DeveloperToken><tns:CustomerAccountId>bing-ads-account-id</tns:CustomerAccountId></env:Header><env:Body><tns:PollGenerateReportRequest><tns:ReportRequestId>bing-ads-report-request-id</tns:ReportRequestId></tns:PollGenerateReportRequest></env:Body></env:Envelope>
101
103
  headers:
102
104
  Soapaction:
@@ -104,7 +106,7 @@ http_interactions:
104
106
  Content-Type:
105
107
  - text/xml;charset=UTF-8
106
108
  Content-Length:
107
- - '1666'
109
+ - '1725'
108
110
  Accept-Encoding:
109
111
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
110
112
  Accept:
@@ -121,19 +123,19 @@ http_interactions:
121
123
  Vary:
122
124
  - Accept-Encoding
123
125
  Server:
124
- - Microsoft-IIS/8.5
126
+ - Microsoft-IIS/10.0
125
127
  X-Powered-By:
126
128
  - ASP.NET
127
129
  Date:
128
- - Wed, 07 Jun 2017 22:19:41 GMT
130
+ - Fri, 25 Jan 2019 13:57:34 GMT
129
131
  Content-Length:
130
- - '408'
132
+ - '407'
131
133
  body:
132
134
  encoding: ASCII-8BIT
133
135
  string: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:TrackingId
134
- xmlns:h="https://bingads.microsoft.com/Reporting/v11">bing-ads-report-tracking-id</h:TrackingId></s:Header><s:Body><PollGenerateReportResponse
135
- xmlns="https://bingads.microsoft.com/Reporting/v11"><ReportRequestStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ReportDownloadUrl
136
+ xmlns:h="https://bingads.microsoft.com/Reporting/v12">bing-ads-report-tracking-id</h:TrackingId></s:Header><s:Body><PollGenerateReportResponse
137
+ xmlns="https://bingads.microsoft.com/Reporting/v12"><ReportRequestStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ReportDownloadUrl
136
138
  i:nil="true"/><Status>Pending</Status></ReportRequestStatus></PollGenerateReportResponse></s:Body></s:Envelope>
137
139
  http_version:
138
- recorded_at: Wed, 07 Jun 2017 22:19:41 GMT
139
- recorded_with: VCR 3.0.3
140
+ recorded_at: Fri, 25 Jan 2019 13:57:34 GMT
141
+ recorded_with: VCR 4.0.0
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://login.live.com/oauth20_token.srf
5
+ uri: https://login.live-int.com/oauth20_token.srf
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: client_id=bing-ads-oauth-client-id&client_secret=bing-ads-oauth-client-secret&grant_type=refresh_token&refresh_token=bing-ads-oauth-refresh-token
@@ -22,12 +22,14 @@ http_interactions:
22
22
  - no-store
23
23
  Pragma:
24
24
  - no-cache
25
- Content-Length:
26
- - '1509'
27
25
  Content-Type:
28
26
  - application/json
29
27
  Server:
30
28
  - Microsoft-IIS/8.5
29
+ Liveidtestresp:
30
+ - ''
31
+ Ppserver:
32
+ - 'PPV: 30 H: BY2INTIDSLGN11 V: 0'
31
33
  X-Content-Type-Options:
32
34
  - nosniff
33
35
  Strict-Transport-Security:
@@ -35,310 +37,31 @@ http_interactions:
35
37
  X-Xss-Protection:
36
38
  - 1; mode=block
37
39
  Date:
38
- - Wed, 07 Jun 2017 22:07:31 GMT
39
- Connection:
40
- - close
41
- body:
42
- encoding: UTF-8
43
- string: '{"token_type":"bearer","expires_in":3600,"scope":"bingads.manage","access_token":"bing-ads-oauth-authentication-token","refresh_token":"bing-ads-oauth-refresh-token","user_id":"bing-ads-oauth-user-id"}'
44
- http_version:
45
- recorded_at: Wed, 07 Jun 2017 22:07:31 GMT
46
- - request:
47
- method: post
48
- uri: https://reporting.api.bingads.microsoft.com/Api/Advertiser/Reporting/V11/ReportingService.svc
49
- body:
50
- encoding: UTF-8
51
- string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
52
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="https://bingads.microsoft.com/Reporting/v11"
53
- xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header><tns:Action>SubmitGenerateReport</tns:Action><tns:AuthenticationToken>bing-ads-oauth-authentication-token</tns:AuthenticationToken><tns:DeveloperToken>bing-ads-developer-token</tns:DeveloperToken><tns:CustomerAccountId>bing-ads-account-id</tns:CustomerAccountId></env:Header><env:Body><tns:SubmitGenerateReportRequest><tns:ReportRequest
54
- xsi:type="tns:CampaignPerformanceReportRequest"><tns:Format>Csv</tns:Format><tns:Language>English</tns:Language><tns:ReportName>MyReport</tns:ReportName><tns:ReturnOnlyCompletedData>false</tns:ReturnOnlyCompletedData><tns:Aggregation>Hourly</tns:Aggregation><tns:Columns><tns:CampaignPerformanceReportColumn>TimePeriod</tns:CampaignPerformanceReportColumn><tns:CampaignPerformanceReportColumn>Impressions</tns:CampaignPerformanceReportColumn><tns:CampaignPerformanceReportColumn>Clicks</tns:CampaignPerformanceReportColumn><tns:CampaignPerformanceReportColumn>Spend</tns:CampaignPerformanceReportColumn></tns:Columns><tns:Scope><tns:AccountIds
55
- xmlns:a1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"><a1:long>bing-ads-account-id</a1:long></tns:AccountIds></tns:Scope><tns:Time><tns:CustomDateRangeEnd><tns:Day>14</tns:Day><tns:Month>10</tns:Month><tns:Year>2016</tns:Year></tns:CustomDateRangeEnd><tns:CustomDateRangeStart><tns:Day>14</tns:Day><tns:Month>10</tns:Month><tns:Year>2016</tns:Year></tns:CustomDateRangeStart></tns:Time></tns:ReportRequest></tns:SubmitGenerateReportRequest></env:Body></env:Envelope>
56
- headers:
57
- Soapaction:
58
- - '"SubmitGenerateReport"'
59
- Content-Type:
60
- - text/xml;charset=UTF-8
61
- Content-Length:
62
- - '2684'
63
- Accept-Encoding:
64
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
65
- Accept:
66
- - "*/*"
67
- User-Agent:
68
- - Ruby
69
- response:
70
- status:
71
- code: 200
72
- message: OK
73
- headers:
74
- Content-Type:
75
- - text/xml; charset=utf-8
76
- Vary:
77
- - Accept-Encoding
78
- Server:
79
- - Microsoft-IIS/8.5
80
- X-Powered-By:
81
- - ASP.NET
82
- Date:
83
- - Wed, 07 Jun 2017 22:07:32 GMT
40
+ - Fri, 25 Jan 2019 13:53:18 GMT
84
41
  Content-Length:
85
- - '345'
86
- body:
87
- encoding: ASCII-8BIT
88
- string: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:TrackingId
89
- xmlns:h="https://bingads.microsoft.com/Reporting/v11">bing-ads-report-tracking-id</h:TrackingId></s:Header><s:Body><SubmitGenerateReportResponse
90
- xmlns="https://bingads.microsoft.com/Reporting/v11"><ReportRequestId>bing-ads-report-request-id</ReportRequestId></SubmitGenerateReportResponse></s:Body></s:Envelope>
91
- http_version:
92
- recorded_at: Wed, 07 Jun 2017 22:07:33 GMT
93
- - request:
94
- method: post
95
- uri: https://reporting.api.bingads.microsoft.com/Api/Advertiser/Reporting/V11/ReportingService.svc
42
+ - '1606'
96
43
  body:
97
44
  encoding: UTF-8
98
- string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
99
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="https://bingads.microsoft.com/Reporting/v11"
100
- xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header><tns:Action>PollGenerateReport</tns:Action><tns:AuthenticationToken>bing-ads-oauth-authentication-token</tns:AuthenticationToken><tns:DeveloperToken>bing-ads-developer-token</tns:DeveloperToken><tns:CustomerAccountId>bing-ads-account-id</tns:CustomerAccountId></env:Header><env:Body><tns:PollGenerateReportRequest><tns:ReportRequestId>bing-ads-report-request-id</tns:ReportRequestId></tns:PollGenerateReportRequest></env:Body></env:Envelope>
101
- headers:
102
- Soapaction:
103
- - '"PollGenerateReport"'
104
- Content-Type:
105
- - text/xml;charset=UTF-8
106
- Content-Length:
107
- - '1666'
108
- Accept-Encoding:
109
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
110
- Accept:
111
- - "*/*"
112
- User-Agent:
113
- - Ruby
114
- response:
115
- status:
116
- code: 200
117
- message: OK
118
- headers:
119
- Content-Type:
120
- - text/xml; charset=utf-8
121
- Vary:
122
- - Accept-Encoding
123
- Server:
124
- - Microsoft-IIS/8.5
125
- X-Powered-By:
126
- - ASP.NET
127
- Date:
128
- - Wed, 07 Jun 2017 22:07:34 GMT
129
- Content-Length:
130
- - '407'
131
- body:
132
- encoding: ASCII-8BIT
133
- string: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:TrackingId
134
- xmlns:h="https://bingads.microsoft.com/Reporting/v11">bing-ads-report-tracking-id</h:TrackingId></s:Header><s:Body><PollGenerateReportResponse
135
- xmlns="https://bingads.microsoft.com/Reporting/v11"><ReportRequestStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ReportDownloadUrl
136
- i:nil="true"/><Status>Pending</Status></ReportRequestStatus></PollGenerateReportResponse></s:Body></s:Envelope>
137
- http_version:
138
- recorded_at: Wed, 07 Jun 2017 22:07:34 GMT
139
- - request:
140
- method: post
141
- uri: https://reporting.api.bingads.microsoft.com/Api/Advertiser/Reporting/V11/ReportingService.svc
142
- body:
143
- encoding: UTF-8
144
- string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
145
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="https://bingads.microsoft.com/Reporting/v11"
146
- xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header><tns:Action>SubmitGenerateReport</tns:Action><tns:AuthenticationToken>bing-ads-oauth-authentication-token</tns:AuthenticationToken><tns:DeveloperToken>bing-ads-developer-token</tns:DeveloperToken><tns:CustomerAccountId>bing-ads-account-id</tns:CustomerAccountId></env:Header><env:Body><tns:SubmitGenerateReportRequest><tns:ReportRequest
147
- xsi:type="tns:CampaignPerformanceReportRequest"><tns:Format>Csv</tns:Format><tns:Language>English</tns:Language><tns:ReportName>MyReport</tns:ReportName><tns:ReturnOnlyCompletedData>false</tns:ReturnOnlyCompletedData><tns:Aggregation>Hourly</tns:Aggregation><tns:Columns><tns:CampaignPerformanceReportColumn>TimePeriod</tns:CampaignPerformanceReportColumn><tns:CampaignPerformanceReportColumn>Impressions</tns:CampaignPerformanceReportColumn><tns:CampaignPerformanceReportColumn>Clicks</tns:CampaignPerformanceReportColumn><tns:CampaignPerformanceReportColumn>Spend</tns:CampaignPerformanceReportColumn></tns:Columns><tns:Scope><tns:AccountIds
148
- xmlns:a1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"><a1:long>bing-ads-account-id</a1:long></tns:AccountIds></tns:Scope><tns:Time><tns:CustomDateRangeEnd><tns:Day>14</tns:Day><tns:Month>10</tns:Month><tns:Year>2016</tns:Year></tns:CustomDateRangeEnd><tns:CustomDateRangeStart><tns:Day>14</tns:Day><tns:Month>10</tns:Month><tns:Year>2016</tns:Year></tns:CustomDateRangeStart></tns:Time></tns:ReportRequest></tns:SubmitGenerateReportRequest></env:Body></env:Envelope>
149
- headers:
150
- Soapaction:
151
- - '"SubmitGenerateReport"'
152
- Content-Type:
153
- - text/xml;charset=UTF-8
154
- Content-Length:
155
- - '2684'
156
- Accept-Encoding:
157
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
158
- Accept:
159
- - "*/*"
160
- User-Agent:
161
- - Ruby
162
- response:
163
- status:
164
- code: 200
165
- message: OK
166
- headers:
167
- Content-Type:
168
- - text/xml; charset=utf-8
169
- Vary:
170
- - Accept-Encoding
171
- Server:
172
- - Microsoft-IIS/8.5
173
- X-Powered-By:
174
- - ASP.NET
175
- Date:
176
- - Wed, 07 Jun 2017 22:07:36 GMT
177
- Content-Length:
178
- - '346'
179
- body:
180
- encoding: ASCII-8BIT
181
- string: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:TrackingId
182
- xmlns:h="https://bingads.microsoft.com/Reporting/v11">bing-ads-report-tracking-id</h:TrackingId></s:Header><s:Body><SubmitGenerateReportResponse
183
- xmlns="https://bingads.microsoft.com/Reporting/v11"><ReportRequestId>bing-ads-report-request-id</ReportRequestId></SubmitGenerateReportResponse></s:Body></s:Envelope>
184
- http_version:
185
- recorded_at: Wed, 07 Jun 2017 22:07:37 GMT
186
- - request:
187
- method: post
188
- uri: https://reporting.api.bingads.microsoft.com/Api/Advertiser/Reporting/V11/ReportingService.svc
189
- body:
190
- encoding: UTF-8
191
- string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
192
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="https://bingads.microsoft.com/Reporting/v11"
193
- xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header><tns:Action>PollGenerateReport</tns:Action><tns:AuthenticationToken>bing-ads-oauth-authentication-token</tns:AuthenticationToken><tns:DeveloperToken>bing-ads-developer-token</tns:DeveloperToken><tns:CustomerAccountId>bing-ads-account-id</tns:CustomerAccountId></env:Header><env:Body><tns:PollGenerateReportRequest><tns:ReportRequestId>bing-ads-report-request-id</tns:ReportRequestId></tns:PollGenerateReportRequest></env:Body></env:Envelope>
194
- headers:
195
- Soapaction:
196
- - '"PollGenerateReport"'
197
- Content-Type:
198
- - text/xml;charset=UTF-8
199
- Content-Length:
200
- - '1666'
201
- Accept-Encoding:
202
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
203
- Accept:
204
- - "*/*"
205
- User-Agent:
206
- - Ruby
207
- response:
208
- status:
209
- code: 200
210
- message: OK
211
- headers:
212
- Content-Type:
213
- - text/xml; charset=utf-8
214
- Vary:
215
- - Accept-Encoding
216
- Server:
217
- - Microsoft-IIS/8.5
218
- X-Powered-By:
219
- - ASP.NET
220
- Date:
221
- - Wed, 07 Jun 2017 22:07:37 GMT
222
- Content-Length:
223
- - '407'
224
- body:
225
- encoding: ASCII-8BIT
226
- string: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:TrackingId
227
- xmlns:h="https://bingads.microsoft.com/Reporting/v11">bing-ads-report-tracking-id</h:TrackingId></s:Header><s:Body><PollGenerateReportResponse
228
- xmlns="https://bingads.microsoft.com/Reporting/v11"><ReportRequestStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ReportDownloadUrl
229
- i:nil="true"/><Status>Pending</Status></ReportRequestStatus></PollGenerateReportResponse></s:Body></s:Envelope>
230
- http_version:
231
- recorded_at: Wed, 07 Jun 2017 22:07:38 GMT
232
- - request:
233
- method: post
234
- uri: https://reporting.api.bingads.microsoft.com/Api/Advertiser/Reporting/V11/ReportingService.svc
235
- body:
236
- encoding: UTF-8
237
- string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
238
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="https://bingads.microsoft.com/Reporting/v11"
239
- xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header><tns:Action>SubmitGenerateReport</tns:Action><tns:AuthenticationToken>bing-ads-oauth-authentication-token</tns:AuthenticationToken><tns:DeveloperToken>bing-ads-developer-token</tns:DeveloperToken><tns:CustomerAccountId>bing-ads-account-id</tns:CustomerAccountId></env:Header><env:Body><tns:SubmitGenerateReportRequest><tns:ReportRequest
240
- xsi:type="tns:CampaignPerformanceReportRequest"><tns:Format>Csv</tns:Format><tns:Language>English</tns:Language><tns:ReportName>MyReport</tns:ReportName><tns:ReturnOnlyCompletedData>false</tns:ReturnOnlyCompletedData><tns:Aggregation>Hourly</tns:Aggregation><tns:Columns><tns:CampaignPerformanceReportColumn>TimePeriod</tns:CampaignPerformanceReportColumn><tns:CampaignPerformanceReportColumn>Impressions</tns:CampaignPerformanceReportColumn><tns:CampaignPerformanceReportColumn>Clicks</tns:CampaignPerformanceReportColumn><tns:CampaignPerformanceReportColumn>Spend</tns:CampaignPerformanceReportColumn></tns:Columns><tns:Scope><tns:AccountIds
241
- xmlns:a1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"><a1:long>bing-ads-account-id</a1:long></tns:AccountIds></tns:Scope><tns:Time><tns:CustomDateRangeEnd><tns:Day>14</tns:Day><tns:Month>10</tns:Month><tns:Year>2016</tns:Year></tns:CustomDateRangeEnd><tns:CustomDateRangeStart><tns:Day>14</tns:Day><tns:Month>10</tns:Month><tns:Year>2016</tns:Year></tns:CustomDateRangeStart></tns:Time></tns:ReportRequest></tns:SubmitGenerateReportRequest></env:Body></env:Envelope>
242
- headers:
243
- Soapaction:
244
- - '"SubmitGenerateReport"'
245
- Content-Type:
246
- - text/xml;charset=UTF-8
247
- Content-Length:
248
- - '2684'
249
- Accept-Encoding:
250
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
251
- Accept:
252
- - "*/*"
253
- User-Agent:
254
- - Ruby
255
- response:
256
- status:
257
- code: 200
258
- message: OK
259
- headers:
260
- Content-Type:
261
- - text/xml; charset=utf-8
262
- Vary:
263
- - Accept-Encoding
264
- Server:
265
- - Microsoft-IIS/8.5
266
- X-Powered-By:
267
- - ASP.NET
268
- Date:
269
- - Wed, 07 Jun 2017 22:07:41 GMT
270
- Content-Length:
271
- - '344'
272
- body:
273
- encoding: ASCII-8BIT
274
- string: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:TrackingId
275
- xmlns:h="https://bingads.microsoft.com/Reporting/v11">bing-ads-report-tracking-id</h:TrackingId></s:Header><s:Body><SubmitGenerateReportResponse
276
- xmlns="https://bingads.microsoft.com/Reporting/v11"><ReportRequestId>bing-ads-report-request-id</ReportRequestId></SubmitGenerateReportResponse></s:Body></s:Envelope>
277
- http_version:
278
- recorded_at: Wed, 07 Jun 2017 22:07:41 GMT
279
- - request:
280
- method: post
281
- uri: https://reporting.api.bingads.microsoft.com/Api/Advertiser/Reporting/V11/ReportingService.svc
282
- body:
283
- encoding: UTF-8
284
- string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
285
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="https://bingads.microsoft.com/Reporting/v11"
286
- xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header><tns:Action>PollGenerateReport</tns:Action><tns:AuthenticationToken>bing-ads-oauth-authentication-token</tns:AuthenticationToken><tns:DeveloperToken>bing-ads-developer-token</tns:DeveloperToken><tns:CustomerAccountId>bing-ads-account-id</tns:CustomerAccountId></env:Header><env:Body><tns:PollGenerateReportRequest><tns:ReportRequestId>bing-ads-report-request-id</tns:ReportRequestId></tns:PollGenerateReportRequest></env:Body></env:Envelope>
287
- headers:
288
- Soapaction:
289
- - '"PollGenerateReport"'
290
- Content-Type:
291
- - text/xml;charset=UTF-8
292
- Content-Length:
293
- - '1666'
294
- Accept-Encoding:
295
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
296
- Accept:
297
- - "*/*"
298
- User-Agent:
299
- - Ruby
300
- response:
301
- status:
302
- code: 200
303
- message: OK
304
- headers:
305
- Content-Type:
306
- - text/xml; charset=utf-8
307
- Vary:
308
- - Accept-Encoding
309
- Server:
310
- - Microsoft-IIS/8.5
311
- X-Powered-By:
312
- - ASP.NET
313
- Date:
314
- - Wed, 07 Jun 2017 22:07:42 GMT
315
- Content-Length:
316
- - '407'
317
- body:
318
- encoding: ASCII-8BIT
319
- string: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:TrackingId
320
- xmlns:h="https://bingads.microsoft.com/Reporting/v11">bing-ads-report-tracking-id</h:TrackingId></s:Header><s:Body><PollGenerateReportResponse
321
- xmlns="https://bingads.microsoft.com/Reporting/v11"><ReportRequestStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ReportDownloadUrl
322
- i:nil="true"/><Status>Pending</Status></ReportRequestStatus></PollGenerateReportResponse></s:Body></s:Envelope>
45
+ string: '{"token_type":"bearer","expires_in":3600,"scope":"bingads.manage","access_token":"bing-ads-oauth-authentication-token","refresh_token":"bing-ads-oauth-refresh-token","user_id":"bing-ads-oauth-user-id"}'
323
46
  http_version:
324
- recorded_at: Wed, 07 Jun 2017 22:07:42 GMT
47
+ recorded_at: Fri, 25 Jan 2019 13:53:18 GMT
325
48
  - request:
326
49
  method: post
327
- uri: https://reporting.api.bingads.microsoft.com/Api/Advertiser/Reporting/V11/ReportingService.svc
50
+ uri: https://reporting.api.sandbox.bingads.microsoft.com/Api/Advertiser/Reporting/V12/ReportingService.svc
328
51
  body:
329
52
  encoding: UTF-8
330
53
  string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
331
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="https://bingads.microsoft.com/Reporting/v11"
54
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="https://bingads.microsoft.com/Reporting/v12"
332
55
  xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header><tns:Action>SubmitGenerateReport</tns:Action><tns:AuthenticationToken>bing-ads-oauth-authentication-token</tns:AuthenticationToken><tns:DeveloperToken>bing-ads-developer-token</tns:DeveloperToken><tns:CustomerAccountId>bing-ads-account-id</tns:CustomerAccountId></env:Header><env:Body><tns:SubmitGenerateReportRequest><tns:ReportRequest
333
- xsi:type="tns:CampaignPerformanceReportRequest"><tns:Format>Csv</tns:Format><tns:Language>English</tns:Language><tns:ReportName>MyReport</tns:ReportName><tns:ReturnOnlyCompletedData>false</tns:ReturnOnlyCompletedData><tns:Aggregation>Hourly</tns:Aggregation><tns:Columns><tns:CampaignPerformanceReportColumn>TimePeriod</tns:CampaignPerformanceReportColumn><tns:CampaignPerformanceReportColumn>Impressions</tns:CampaignPerformanceReportColumn><tns:CampaignPerformanceReportColumn>Clicks</tns:CampaignPerformanceReportColumn><tns:CampaignPerformanceReportColumn>Spend</tns:CampaignPerformanceReportColumn></tns:Columns><tns:Scope><tns:AccountIds
334
- xmlns:a1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"><a1:long>bing-ads-account-id</a1:long></tns:AccountIds></tns:Scope><tns:Time><tns:CustomDateRangeEnd><tns:Day>14</tns:Day><tns:Month>10</tns:Month><tns:Year>2016</tns:Year></tns:CustomDateRangeEnd><tns:CustomDateRangeStart><tns:Day>14</tns:Day><tns:Month>10</tns:Month><tns:Year>2016</tns:Year></tns:CustomDateRangeStart></tns:Time></tns:ReportRequest></tns:SubmitGenerateReportRequest></env:Body></env:Envelope>
56
+ xsi:type="tns:CampaignPerformanceReportRequest"><tns:Format>Csv</tns:Format><tns:Language>English</tns:Language><tns:ReportName>MyReport</tns:ReportName><tns:ReturnOnlyCompletedData>false</tns:ReturnOnlyCompletedData><tns:Aggregation>Hourly</tns:Aggregation><tns:Columns><tns:CampaignPerformanceReportColumn>CampaignName</tns:CampaignPerformanceReportColumn><tns:CampaignPerformanceReportColumn>TimePeriod</tns:CampaignPerformanceReportColumn><tns:CampaignPerformanceReportColumn>Impressions</tns:CampaignPerformanceReportColumn><tns:CampaignPerformanceReportColumn>Clicks</tns:CampaignPerformanceReportColumn><tns:CampaignPerformanceReportColumn>Spend</tns:CampaignPerformanceReportColumn></tns:Columns><tns:Scope><tns:AccountIds
57
+ xmlns:a1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"><a1:long>bing-ads-account-id</a1:long></tns:AccountIds></tns:Scope><tns:Time><tns:CustomDateRangeEnd><tns:Day>22</tns:Day><tns:Month>1</tns:Month><tns:Year>2019</tns:Year></tns:CustomDateRangeEnd><tns:CustomDateRangeStart><tns:Day>22</tns:Day><tns:Month>1</tns:Month><tns:Year>2019</tns:Year></tns:CustomDateRangeStart></tns:Time><tns:ReportTimeZone>GreenwichMeanTimeDublinEdinburghLisbonLondon</tns:ReportTimeZone></tns:ReportRequest></tns:SubmitGenerateReportRequest></env:Body></env:Envelope>
335
58
  headers:
336
59
  Soapaction:
337
60
  - '"SubmitGenerateReport"'
338
61
  Content-Type:
339
62
  - text/xml;charset=UTF-8
340
63
  Content-Length:
341
- - '2684'
64
+ - '2915'
342
65
  Accept-Encoding:
343
66
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
344
67
  Accept:
@@ -355,27 +78,27 @@ http_interactions:
355
78
  Vary:
356
79
  - Accept-Encoding
357
80
  Server:
358
- - Microsoft-IIS/8.5
81
+ - Microsoft-IIS/10.0
359
82
  X-Powered-By:
360
83
  - ASP.NET
361
84
  Date:
362
- - Wed, 07 Jun 2017 22:07:47 GMT
85
+ - Fri, 25 Jan 2019 13:53:20 GMT
363
86
  Content-Length:
364
87
  - '344'
365
88
  body:
366
89
  encoding: ASCII-8BIT
367
90
  string: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:TrackingId
368
- xmlns:h="https://bingads.microsoft.com/Reporting/v11">bing-ads-report-tracking-id</h:TrackingId></s:Header><s:Body><SubmitGenerateReportResponse
369
- xmlns="https://bingads.microsoft.com/Reporting/v11"><ReportRequestId>bing-ads-report-request-id</ReportRequestId></SubmitGenerateReportResponse></s:Body></s:Envelope>
91
+ xmlns:h="https://bingads.microsoft.com/Reporting/v12">bing-ads-report-tracking-id</h:TrackingId></s:Header><s:Body><SubmitGenerateReportResponse
92
+ xmlns="https://bingads.microsoft.com/Reporting/v12"><ReportRequestId>bing-ads-report-request-id</ReportRequestId></SubmitGenerateReportResponse></s:Body></s:Envelope>
370
93
  http_version:
371
- recorded_at: Wed, 07 Jun 2017 22:07:47 GMT
94
+ recorded_at: Fri, 25 Jan 2019 13:53:20 GMT
372
95
  - request:
373
96
  method: post
374
- uri: https://reporting.api.bingads.microsoft.com/Api/Advertiser/Reporting/V11/ReportingService.svc
97
+ uri: https://reporting.api.sandbox.bingads.microsoft.com/Api/Advertiser/Reporting/V12/ReportingService.svc
375
98
  body:
376
99
  encoding: UTF-8
377
100
  string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
378
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="https://bingads.microsoft.com/Reporting/v11"
101
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="https://bingads.microsoft.com/Reporting/v12"
379
102
  xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header><tns:Action>PollGenerateReport</tns:Action><tns:AuthenticationToken>bing-ads-oauth-authentication-token</tns:AuthenticationToken><tns:DeveloperToken>bing-ads-developer-token</tns:DeveloperToken><tns:CustomerAccountId>bing-ads-account-id</tns:CustomerAccountId></env:Header><env:Body><tns:PollGenerateReportRequest><tns:ReportRequestId>bing-ads-report-request-id</tns:ReportRequestId></tns:PollGenerateReportRequest></env:Body></env:Envelope>
380
103
  headers:
381
104
  Soapaction:
@@ -383,7 +106,7 @@ http_interactions:
383
106
  Content-Type:
384
107
  - text/xml;charset=UTF-8
385
108
  Content-Length:
386
- - '1666'
109
+ - '1725'
387
110
  Accept-Encoding:
388
111
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
389
112
  Accept:
@@ -400,75 +123,28 @@ http_interactions:
400
123
  Vary:
401
124
  - Accept-Encoding
402
125
  Server:
403
- - Microsoft-IIS/8.5
126
+ - Microsoft-IIS/10.0
404
127
  X-Powered-By:
405
128
  - ASP.NET
406
129
  Date:
407
- - Wed, 07 Jun 2017 22:07:47 GMT
130
+ - Fri, 25 Jan 2019 13:53:20 GMT
408
131
  Content-Length:
409
- - '406'
132
+ - '408'
410
133
  body:
411
134
  encoding: ASCII-8BIT
412
135
  string: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:TrackingId
413
- xmlns:h="https://bingads.microsoft.com/Reporting/v11">bing-ads-report-tracking-id</h:TrackingId></s:Header><s:Body><PollGenerateReportResponse
414
- xmlns="https://bingads.microsoft.com/Reporting/v11"><ReportRequestStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ReportDownloadUrl
136
+ xmlns:h="https://bingads.microsoft.com/Reporting/v12">bing-ads-report-tracking-id</h:TrackingId></s:Header><s:Body><PollGenerateReportResponse
137
+ xmlns="https://bingads.microsoft.com/Reporting/v12"><ReportRequestStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ReportDownloadUrl
415
138
  i:nil="true"/><Status>Pending</Status></ReportRequestStatus></PollGenerateReportResponse></s:Body></s:Envelope>
416
139
  http_version:
417
- recorded_at: Wed, 07 Jun 2017 22:07:49 GMT
140
+ recorded_at: Fri, 25 Jan 2019 13:53:21 GMT
418
141
  - request:
419
142
  method: post
420
- uri: https://reporting.api.bingads.microsoft.com/Api/Advertiser/Reporting/V11/ReportingService.svc
143
+ uri: https://reporting.api.sandbox.bingads.microsoft.com/Api/Advertiser/Reporting/V12/ReportingService.svc
421
144
  body:
422
145
  encoding: UTF-8
423
146
  string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
424
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="https://bingads.microsoft.com/Reporting/v11"
425
- xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header><tns:Action>SubmitGenerateReport</tns:Action><tns:AuthenticationToken>bing-ads-oauth-authentication-token</tns:AuthenticationToken><tns:DeveloperToken>bing-ads-developer-token</tns:DeveloperToken><tns:CustomerAccountId>bing-ads-account-id</tns:CustomerAccountId></env:Header><env:Body><tns:SubmitGenerateReportRequest><tns:ReportRequest
426
- xsi:type="tns:CampaignPerformanceReportRequest"><tns:Format>Csv</tns:Format><tns:Language>English</tns:Language><tns:ReportName>MyReport</tns:ReportName><tns:ReturnOnlyCompletedData>false</tns:ReturnOnlyCompletedData><tns:Aggregation>Hourly</tns:Aggregation><tns:Columns><tns:CampaignPerformanceReportColumn>TimePeriod</tns:CampaignPerformanceReportColumn><tns:CampaignPerformanceReportColumn>Impressions</tns:CampaignPerformanceReportColumn><tns:CampaignPerformanceReportColumn>Clicks</tns:CampaignPerformanceReportColumn><tns:CampaignPerformanceReportColumn>Spend</tns:CampaignPerformanceReportColumn></tns:Columns><tns:Scope><tns:AccountIds
427
- xmlns:a1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"><a1:long>bing-ads-account-id</a1:long></tns:AccountIds></tns:Scope><tns:Time><tns:CustomDateRangeEnd><tns:Day>14</tns:Day><tns:Month>10</tns:Month><tns:Year>2016</tns:Year></tns:CustomDateRangeEnd><tns:CustomDateRangeStart><tns:Day>14</tns:Day><tns:Month>10</tns:Month><tns:Year>2016</tns:Year></tns:CustomDateRangeStart></tns:Time></tns:ReportRequest></tns:SubmitGenerateReportRequest></env:Body></env:Envelope>
428
- headers:
429
- Soapaction:
430
- - '"SubmitGenerateReport"'
431
- Content-Type:
432
- - text/xml;charset=UTF-8
433
- Content-Length:
434
- - '2684'
435
- Accept-Encoding:
436
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
437
- Accept:
438
- - "*/*"
439
- User-Agent:
440
- - Ruby
441
- response:
442
- status:
443
- code: 200
444
- message: OK
445
- headers:
446
- Content-Type:
447
- - text/xml; charset=utf-8
448
- Vary:
449
- - Accept-Encoding
450
- Server:
451
- - Microsoft-IIS/8.5
452
- X-Powered-By:
453
- - ASP.NET
454
- Date:
455
- - Wed, 07 Jun 2017 22:08:02 GMT
456
- Content-Length:
457
- - '348'
458
- body:
459
- encoding: ASCII-8BIT
460
- string: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:TrackingId
461
- xmlns:h="https://bingads.microsoft.com/Reporting/v11">bing-ads-report-tracking-id</h:TrackingId></s:Header><s:Body><SubmitGenerateReportResponse
462
- xmlns="https://bingads.microsoft.com/Reporting/v11"><ReportRequestId>bing-ads-report-request-id</ReportRequestId></SubmitGenerateReportResponse></s:Body></s:Envelope>
463
- http_version:
464
- recorded_at: Wed, 07 Jun 2017 22:08:03 GMT
465
- - request:
466
- method: post
467
- uri: https://reporting.api.bingads.microsoft.com/Api/Advertiser/Reporting/V11/ReportingService.svc
468
- body:
469
- encoding: UTF-8
470
- string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
471
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="https://bingads.microsoft.com/Reporting/v11"
147
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="https://bingads.microsoft.com/Reporting/v12"
472
148
  xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header><tns:Action>PollGenerateReport</tns:Action><tns:AuthenticationToken>bing-ads-oauth-authentication-token</tns:AuthenticationToken><tns:DeveloperToken>bing-ads-developer-token</tns:DeveloperToken><tns:CustomerAccountId>bing-ads-account-id</tns:CustomerAccountId></env:Header><env:Body><tns:PollGenerateReportRequest><tns:ReportRequestId>bing-ads-report-request-id</tns:ReportRequestId></tns:PollGenerateReportRequest></env:Body></env:Envelope>
473
149
  headers:
474
150
  Soapaction:
@@ -476,7 +152,7 @@ http_interactions:
476
152
  Content-Type:
477
153
  - text/xml;charset=UTF-8
478
154
  Content-Length:
479
- - '1666'
155
+ - '1725'
480
156
  Accept-Encoding:
481
157
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
482
158
  Accept:
@@ -493,19 +169,19 @@ http_interactions:
493
169
  Vary:
494
170
  - Accept-Encoding
495
171
  Server:
496
- - Microsoft-IIS/8.5
172
+ - Microsoft-IIS/10.0
497
173
  X-Powered-By:
498
174
  - ASP.NET
499
175
  Date:
500
- - Wed, 07 Jun 2017 22:08:09 GMT
176
+ - Fri, 25 Jan 2019 13:55:23 GMT
501
177
  Content-Length:
502
178
  - '408'
503
179
  body:
504
180
  encoding: ASCII-8BIT
505
181
  string: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:TrackingId
506
- xmlns:h="https://bingads.microsoft.com/Reporting/v11">bing-ads-report-tracking-id</h:TrackingId></s:Header><s:Body><PollGenerateReportResponse
507
- xmlns="https://bingads.microsoft.com/Reporting/v11"><ReportRequestStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ReportDownloadUrl
182
+ xmlns:h="https://bingads.microsoft.com/Reporting/v12">bing-ads-report-tracking-id</h:TrackingId></s:Header><s:Body><PollGenerateReportResponse
183
+ xmlns="https://bingads.microsoft.com/Reporting/v12"><ReportRequestStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ReportDownloadUrl
508
184
  i:nil="true"/><Status>Success</Status></ReportRequestStatus></PollGenerateReportResponse></s:Body></s:Envelope>
509
185
  http_version:
510
- recorded_at: Wed, 07 Jun 2017 22:08:09 GMT
511
- recorded_with: VCR 3.0.3
186
+ recorded_at: Fri, 25 Jan 2019 13:55:23 GMT
187
+ recorded_with: VCR 4.0.0