---
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: BY2INTIDSLGN12 V: 0'
X-Content-Type-Options:
- nosniff
Strict-Transport-Security:
- max-age=31536000
X-Xss-Protection:
- 1; mode=block
Date:
- Thu, 24 Jan 2019 11:47:31 GMT
Content-Length:
- '1630'
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: Thu, 24 Jan 2019 11:47:32 GMT
- request:
method: post
uri: https://clientcenter.api.sandbox.bingads.microsoft.com/Api/CustomerManagement/v12/CustomerManagementService.svc
body:
encoding: UTF-8
string: GetAccountsInfobing-ads-oauth-authentication-tokenbing-ads-developer-tokenbing-ads-account-id
headers:
Soapaction:
- '"GetAccountsInfo"'
Content-Type:
- text/xml;charset=UTF-8
Content-Length:
- '1655'
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-Type:
- text/xml; charset=utf-8
Vary:
- Accept-Encoding
Server:
- Microsoft-IIS/10.0
X-Aspnet-Version:
- 4.0.30319
X-Powered-By:
- ASP.NET
Date:
- Thu, 24 Jan 2019 11:47:33 GMT
Content-Length:
- '492'
body:
encoding: ASCII-8BIT
string: bing-ads-report-tracking-idbing-ads-account-idad2games
GmbHE104QLZNPending
http_version:
recorded_at: Thu, 24 Jan 2019 11:47:33 GMT
recorded_with: VCR 4.0.0