---
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:57:31 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:57:31 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-id22120192212019GreenwichMeanTimeDublinEdinburghLisbonLondon
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:57:32 GMT
Content-Length:
- '345'
body:
encoding: ASCII-8BIT
string: bing-ads-report-tracking-idbing-ads-report-request-id
http_version:
recorded_at: Fri, 25 Jan 2019 13:57:33 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:34 GMT
Content-Length:
- '407'
body:
encoding: ASCII-8BIT
string: bing-ads-report-tracking-idPending
http_version:
recorded_at: Fri, 25 Jan 2019 13:57:34 GMT
recorded_with: VCR 4.0.0