--- 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:19:37 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:19:38 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-id1410201614102016 headers: Soapaction: - '"SubmitGenerateReport"' Content-Type: - text/xml;charset=UTF-8 Content-Length: - '2684' 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:19:38 GMT Content-Length: - '346' body: encoding: ASCII-8BIT string: bing-ads-report-tracking-idbing-ads-report-request-id http_version: recorded_at: Wed, 07 Jun 2017 22:19:39 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:19:41 GMT Content-Length: - '408' body: encoding: ASCII-8BIT string: bing-ads-report-tracking-idPending http_version: recorded_at: Wed, 07 Jun 2017 22:19:41 GMT recorded_with: VCR 3.0.3