--- http_interactions: - request: method: post uri: https://login.live.com/oauth20_token.srf body: encoding: UTF-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 headers: Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby response: status: code: 200 message: OK headers: Cache-Control: - no-store Pragma: - no-cache Content-Length: - '1509' Content-Type: - application/json Server: - Microsoft-IIS/8.5 X-Content-Type-Options: - nosniff Strict-Transport-Security: - max-age=31536000 X-Xss-Protection: - 1; mode=block Date: - Wed, 07 Jun 2017 22:12:19 GMT Connection: - close body: encoding: UTF-8 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"}' http_version: recorded_at: Wed, 07 Jun 2017 22:12:19 GMT - request: method: post uri: https://reporting.api.bingads.microsoft.com/Api/Advertiser/Reporting/V11/ReportingService.svc body: encoding: UTF-8 string: SubmitGenerateReportbing-ads-oauth-authentication-tokenbing-ads-developer-tokenbing-ads-account-idCsvEnglishMyReportfalseHourlyTimePeriodImpressionsClicksSpendbing-ads-account-id14520171452017 headers: Soapaction: - '"SubmitGenerateReport"' Content-Type: - text/xml;charset=UTF-8 Content-Length: - '2682' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby response: status: code: 200 message: OK headers: Content-Type: - text/xml; charset=utf-8 Vary: - Accept-Encoding Server: - Microsoft-IIS/8.5 X-Powered-By: - ASP.NET Date: - Wed, 07 Jun 2017 22:12:20 GMT Content-Length: - '347' body: encoding: ASCII-8BIT string: bing-ads-report-tracking-idbing-ads-report-request-id http_version: recorded_at: Wed, 07 Jun 2017 22:12:20 GMT - request: method: post uri: https://reporting.api.bingads.microsoft.com/Api/Advertiser/Reporting/V11/ReportingService.svc body: encoding: UTF-8 string: PollGenerateReportbing-ads-oauth-authentication-tokenbing-ads-developer-tokenbing-ads-account-idbing-ads-report-request-id headers: Soapaction: - '"PollGenerateReport"' Content-Type: - text/xml;charset=UTF-8 Content-Length: - '1666' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby response: status: code: 200 message: OK headers: Content-Type: - text/xml; charset=utf-8 Vary: - Accept-Encoding Server: - Microsoft-IIS/8.5 X-Powered-By: - ASP.NET Date: - Wed, 07 Jun 2017 22:12:20 GMT Content-Length: - '407' body: encoding: ASCII-8BIT string: bing-ads-report-tracking-idPending http_version: recorded_at: Wed, 07 Jun 2017 22:12:22 GMT - request: method: post uri: https://reporting.api.bingads.microsoft.com/Api/Advertiser/Reporting/V11/ReportingService.svc body: encoding: UTF-8 string: SubmitGenerateReportbing-ads-oauth-authentication-tokenbing-ads-developer-tokenbing-ads-account-idCsvEnglishMyReportfalseHourlyTimePeriodImpressionsClicksSpendbing-ads-account-id14520171452017 headers: Soapaction: - '"SubmitGenerateReport"' Content-Type: - text/xml;charset=UTF-8 Content-Length: - '2682' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby response: status: code: 200 message: OK headers: Content-Type: - text/xml; charset=utf-8 Vary: - Accept-Encoding Server: - Microsoft-IIS/8.5 X-Powered-By: - ASP.NET Date: - Wed, 07 Jun 2017 22:12:24 GMT Content-Length: - '348' body: encoding: ASCII-8BIT string: bing-ads-report-tracking-idbing-ads-report-request-id http_version: recorded_at: Wed, 07 Jun 2017 22:12:25 GMT - request: method: post uri: https://reporting.api.bingads.microsoft.com/Api/Advertiser/Reporting/V11/ReportingService.svc body: encoding: UTF-8 string: PollGenerateReportbing-ads-oauth-authentication-tokenbing-ads-developer-tokenbing-ads-account-idbing-ads-report-request-id headers: Soapaction: - '"PollGenerateReport"' Content-Type: - text/xml;charset=UTF-8 Content-Length: - '1666' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby response: status: code: 200 message: OK headers: Content-Type: - text/xml; charset=utf-8 Vary: - Accept-Encoding Server: - Microsoft-IIS/8.5 X-Powered-By: - ASP.NET Date: - Wed, 07 Jun 2017 22:12:25 GMT Content-Length: - '408' body: encoding: ASCII-8BIT string: bing-ads-report-tracking-idPending http_version: recorded_at: Wed, 07 Jun 2017 22:12:26 GMT - request: method: post uri: https://reporting.api.bingads.microsoft.com/Api/Advertiser/Reporting/V11/ReportingService.svc body: encoding: UTF-8 string: SubmitGenerateReportbing-ads-oauth-authentication-tokenbing-ads-developer-tokenbing-ads-account-idCsvEnglishMyReportfalseHourlyTimePeriodImpressionsClicksSpendbing-ads-account-id14520171452017 headers: Soapaction: - '"SubmitGenerateReport"' Content-Type: - text/xml;charset=UTF-8 Content-Length: - '2682' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby response: status: code: 200 message: OK headers: Content-Type: - text/xml; charset=utf-8 Vary: - Accept-Encoding Server: - Microsoft-IIS/8.5 X-Powered-By: - ASP.NET Date: - Wed, 07 Jun 2017 22:12:28 GMT Content-Length: - '345' body: encoding: ASCII-8BIT string: bing-ads-report-tracking-idbing-ads-report-request-id http_version: recorded_at: Wed, 07 Jun 2017 22:12:29 GMT - request: method: post uri: https://reporting.api.bingads.microsoft.com/Api/Advertiser/Reporting/V11/ReportingService.svc body: encoding: UTF-8 string: PollGenerateReportbing-ads-oauth-authentication-tokenbing-ads-developer-tokenbing-ads-account-idbing-ads-report-request-id headers: Soapaction: - '"PollGenerateReport"' Content-Type: - text/xml;charset=UTF-8 Content-Length: - '1666' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby response: status: code: 200 message: OK headers: Content-Type: - text/xml; charset=utf-8 Vary: - Accept-Encoding Server: - Microsoft-IIS/8.5 X-Powered-By: - ASP.NET Date: - Wed, 07 Jun 2017 22:12:29 GMT Content-Length: - '1531' body: encoding: ASCII-8BIT string: bing-ads-report-tracking-idhttps://dvsrdl.api.bingads.microsoft.com/ReportDownload/Download.aspx?q=bing-ads-report-download-idSuccess http_version: recorded_at: Wed, 07 Jun 2017 22:12:31 GMT - request: method: get uri: https://dvsrdl.api.bingads.microsoft.com/ReportDownload/Download.aspx?q=bing-ads-report-download-id body: encoding: US-ASCII string: '' headers: Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby response: status: code: 200 message: OK headers: Cache-Control: - private Content-Length: - '920' Content-Type: - application/x-zip-compressed Server: - Microsoft-IIS/8.5 Content-Disposition: - attachment; filename="MyReport.zip" X-Aspnet-Version: - 4.0.30319 X-Powered-By: - ASP.NET Date: - Wed, 07 Jun 2017 22:12:32 GMT body: encoding: ASCII-8BIT string: !binary |- UEsDBBQAAAAIAI95x0o7OJxUQgIAAFIFAAAVAFIAMzAwMDAwMDA3NjgzNzM0 MDguY3N2TlUwAE5VQ1gVADMAMAAwADAAMAAwADAAMAA3ADYAOAAzADcAMwA0 ADAAOAAuAGMAcwB2AHVwGgAB0h3aWjMwMDAwMDAwNzY4MzczNDA4LmNzdoRU S47UMBDdI3EHq1cgMW6X/86uNYhhJBqNYMSCXeg2TUQ6aTnpQXMkzsACiQtx BVzlQUI4gkXs2H71XO+V7Z/fvq/exNOYZva6PcaGbe/LcPX40e+F2w4XzBr0 WgpwuIJT7P045Pl3berG84Szr9ppZpfj8dTHOe7Z5q7t+vZDH9nz9r5hdu0o nvnGmEYIdrNlT662t0//GfpyPKf/xD6kuTkcUjy0czcODYX193+svuj6OWYm nLoZ5zjMXduz62H3sGfOcW4bNqdzpKjxy9QwqfN/Hl1l4jF17ZBBcfVshey5 uz6eUpymvOGUR5d9t/uMP29PcdgjCWZ8IcwF6Dwr8ie1N7kD4XzuguU6VDhA nDEFF6DgnKlwkvhswXmKFJp7XQEVEQLiIT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