---
http_interactions:
- request:
method: post
uri: https://login.live-int.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-Type:
- application/json
Server:
- Microsoft-IIS/8.5
Liveidtestresp:
- ''
Ppserver:
- 'PPV: 30 H: BY2INTIDSLGN11 V: 0'
X-Content-Type-Options:
- nosniff
Strict-Transport-Security:
- max-age=31536000
X-Xss-Protection:
- 1; mode=block
Date:
- Fri, 25 Jan 2019 13:55:24 GMT
Content-Length:
- '1606'
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: Fri, 25 Jan 2019 13:55:24 GMT
- request:
method: post
uri: https://reporting.api.sandbox.bingads.microsoft.com/Api/Advertiser/Reporting/V12/ReportingService.svc
body:
encoding: UTF-8
string: SubmitGenerateReportbing-ads-oauth-authentication-tokenbing-ads-developer-tokenbing-ads-account-idCsvEnglishMyReportfalseHourlyCampaignNameTimePeriodImpressionsClicksSpendbing-ads-account-id23120192312019GreenwichMeanTimeDublinEdinburghLisbonLondon
headers:
Soapaction:
- '"SubmitGenerateReport"'
Content-Type:
- text/xml;charset=UTF-8
Content-Length:
- '2915'
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/10.0
X-Powered-By:
- ASP.NET
Date:
- Fri, 25 Jan 2019 13:55:26 GMT
Content-Length:
- '343'
body:
encoding: ASCII-8BIT
string: bing-ads-report-tracking-idbing-ads-report-request-id
http_version:
recorded_at: Fri, 25 Jan 2019 13:55:26 GMT
- request:
method: post
uri: https://reporting.api.sandbox.bingads.microsoft.com/Api/Advertiser/Reporting/V12/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:
- '1725'
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/10.0
X-Powered-By:
- ASP.NET
Date:
- Fri, 25 Jan 2019 13:55:26 GMT
Content-Length:
- '406'
body:
encoding: ASCII-8BIT
string: bing-ads-report-tracking-idPending
http_version:
recorded_at: Fri, 25 Jan 2019 13:55:27 GMT
- request:
method: post
uri: https://reporting.api.sandbox.bingads.microsoft.com/Api/Advertiser/Reporting/V12/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:
- '1725'
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/10.0
X-Powered-By:
- ASP.NET
Date:
- Fri, 25 Jan 2019 13:57:29 GMT
Content-Length:
- '1341'
body:
encoding: ASCII-8BIT
string: bing-ads-report-tracking-idhttps://dvsrdl.api.si.bingads.microsoft.com/ReportDownload/Download.aspx?q=bing-ads-report-download-idSuccess
http_version:
recorded_at: Fri, 25 Jan 2019 13:57:29 GMT
- request:
method: get
uri: https://dvsrdl.api.si.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:
- '680'
Content-Type:
- application/x-zip-compressed
Server:
- Microsoft-IIS/10.0
Content-Disposition:
- attachment; filename="MyReport.zip"
X-Aspnet-Version:
- 4.0.30319
X-Powered-By:
- ASP.NET
Date:
- Fri, 25 Jan 2019 13:57:29 GMT
body:
encoding: ASCII-8BIT
string: !binary |-
UEsDBBQAAAAIAO4uOU4fitkBUgEAAB8CAAAVAFIAMzAwMDAwMDAwMDE1NjI4MDEuY3N2TlUwAE5VQ1gVADMAMAAwADAAMAAwADAAMAAwADAAMQA1ADYAMgA4ADAAMQAuAGMAcwB2AHVwGgABcOymrzMwMDAwMDAwMDAxNTYyODAxLmNzdoWRz07CQBDG7ya+w8hJIoGWCmpvFaOSWEOAePC2tGPZsH+a3QXSxBfyGTiY+EK+grMLGk96me7Mt7Pf/Kafu/fWFGttHDwyiSnkzT5tHR99C3PuhbjXT3r9KL7yii/Bs1ZUP73L52dRnEZRGzJpHZqSyQ5coxFchS/FqZbYgZnTxWqpBclPHJVi/qkHZh2MtKwFOiwh2zAu2EIg3LAmuA6CK8RpMiATmOTBsv1n771em/+aD3RZVRmsmONapaFPNL/UWy6IKAVfmmiHynEmYKyKgylN6VgKzqwxdOmtJV86UjJisma8Un6xrU7Y2QQN1yUlY1kbtJZMLWUjwYuVP8xqVGUg03oFzIFsgPwN91BbXFju8ITu/fwMiPvE5dGy/DWOSbpIzikml0OKw6ibDPbDfLyF6zkvjLb6xa/NEGHg7kImBBheLZ0FGgvNBsuuZ/4CUEsBAi0AFAAAAAgA7i45Th+K2QFSAQAAHwIAABUAeAAAAAAAAAAAAAAAAAAAADMwMDAwMDAwMDAxNTYyODAxLmNzdk5VMgBOVUNYFQAAADMAMAAwADAAMAAwADAAMAAwADAAMQA1ADYAMgA4ADAAMQAuAGMAcwB2AAoAIAAAAAAAAQAYADgN8aG1tNQBOA3xobW01AE4DfGhtbTUAXVwGgABcOymrzMwMDAwMDAwMDAxNTYyODAxLmNzdlBLBQYAAAAAAQABALsAAADXAQAAAAA=
http_version:
recorded_at: Fri, 25 Jan 2019 13:57:30 GMT
recorded_with: VCR 4.0.0