---
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:
- '1317'
Content-Type:
- application/json
Server:
- Microsoft-IIS/8.5
X-Content-Type-Options:
- nosniff
Date:
- Fri, 13 Nov 2015 14:23:33 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: Fri, 13 Nov 2015 14:23:34 GMT
- request:
method: post
uri: https://reporting.api.bingads.microsoft.com/Api/Advertiser/Reporting/V9/ReportingService.svc
body:
encoding: UTF-8
string: |
bing-ads-account-id
bing-ads-customer-id
bing-ads-developer-token
bing-ads-oauth-authentication-token
Csv
English
MyReport
false
HourOfDay
TimePeriod
Impressions
Clicks
Spend
bing-ads-account-id
14
10
2015
14
10
2015
headers:
Content-Type:
- text/xml;charset=UTF-8
Soapaction:
- SubmitGenerateReport
response:
status:
code: 200
message: OK
headers:
Content-Length:
- '396'
Content-Type:
- text/xml; charset=utf-8
Server:
- Microsoft-IIS/8.0
X-Powered-By:
- ASP.NET
Date:
- Fri, 13 Nov 2015 14:23:35 GMT
body:
encoding: UTF-8
string: bing-ads-report-tracking-idbing-ads-report-request-id
http_version:
recorded_at: Fri, 13 Nov 2015 14:23:35 GMT
- request:
method: post
uri: https://reporting.api.bingads.microsoft.com/Api/Advertiser/Reporting/V9/ReportingService.svc
body:
encoding: UTF-8
string: |
bing-ads-account-id
bing-ads-customer-id
bing-ads-developer-token
bing-ads-oauth-authentication-token
bing-ads-report-request-id
headers:
Content-Type:
- text/xml;charset=UTF-8
Soapaction:
- PollGenerateReport
response:
status:
code: 200
message: OK
headers:
Content-Length:
- '493'
Content-Type:
- text/xml; charset=utf-8
Server:
- Microsoft-IIS/8.0
X-Powered-By:
- ASP.NET
Date:
- Fri, 13 Nov 2015 14:23:36 GMT
body:
encoding: UTF-8
string: bing-ads-report-tracking-idPending
http_version:
recorded_at: Fri, 13 Nov 2015 14:23:36 GMT
- request:
method: post
uri: https://reporting.api.bingads.microsoft.com/Api/Advertiser/Reporting/V9/ReportingService.svc
body:
encoding: UTF-8
string: |
bing-ads-account-id
bing-ads-customer-id
bing-ads-developer-token
bing-ads-oauth-authentication-token
bing-ads-report-request-id
headers:
Content-Type:
- text/xml;charset=UTF-8
Soapaction:
- PollGenerateReport
response:
status:
code: 200
message: OK
headers:
Content-Length:
- '937'
Content-Type:
- text/xml; charset=utf-8
Server:
- Microsoft-IIS/8.0
X-Powered-By:
- ASP.NET
Date:
- Fri, 13 Nov 2015 14:23:42 GMT
body:
encoding: UTF-8
string: bing-ads-report-tracking-idhttps://download.api.bingads.microsoft.com/ReportDownload/Download.aspx?q=bing-ads-report-download-idSuccess
http_version:
recorded_at: Fri, 13 Nov 2015 14:23:42 GMT
- request:
method: get
uri: https://download.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:
- '875'
Content-Type:
- application/x-zip-compressed
Server:
- Microsoft-IIS/8.0
Content-Disposition:
- attachment; filename="MyReport.zip"
X-Aspnet-Version:
- 4.0.30319
X-Powered-By:
- ASP.NET
Date:
- Fri, 13 Nov 2015 14:23:43 GMT
body:
encoding: ASCII-8BIT
string: !binary |-
UEsDBBQAAAAIAPCYb0c2Z8CWHQI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