---
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:38:50 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:38:50 GMT
- request:
method: post
uri: https://campaign.api.sandbox.bingads.microsoft.com/Api/Advertiser/CampaignManagement/V12/CampaignManagementService.svc
body:
encoding: UTF-8
string: GetGeoLocationsFileUrlbing-ads-oauth-authentication-tokenbing-ads-developer-tokenbing-ads-account-id1.0en
headers:
Soapaction:
- '"GetGeoLocationsFileUrl"'
Content-Type:
- text/xml;charset=UTF-8
Content-Length:
- '1759'
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:38:51 GMT
Content-Length:
- '433'
body:
encoding: ASCII-8BIT
string: bing-ads-report-tracking-idhttps://bingadsappsstoragesi.blob.core.windows.net/geolocationscsv/1.0/en/GeoLocations.csv?sv=2015-12-11&sr=b&sig=7tYByb%2FqLlUgOGutpdG65O3EciXAc4hPswC7q8Ax%2Fng%3D&st=2019-01-24T11%3A33%3A51Z&se=2019-01-24T11%3A53%3A51Z&sp=rl2019-01-24T11:53:51Z2016-12-23T00:12:26Z
http_version:
recorded_at: Thu, 24 Jan 2019 11:38:51 GMT
- request:
method: get
uri: https://bingadsappsstoragesi.blob.core.windows.net/geolocationscsv/1.0/en/GeoLocations.csv?se=2019-01-24T11:53:51Z&sig=7tYByb/qLlUgOGutpdG65O3EciXAc4hPswC7q8Ax/ng=&sp=rl&sr=b&st=2019-01-24T11:33:51Z&sv=2015-12-11
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:
Content-Length:
- '5905806'
Content-Type:
- text/csv
Content-Md5:
- xcU2iJHBPPuqyaLL/bQi8A==
Last-Modified:
- Fri, 23 Dec 2016 00:12:26 GMT
Accept-Ranges:
- bytes
Etag:
- '"0x8D42AC8609DE67F"'
Server:
- Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
X-Ms-Request-Id:
- '04951152-e01e-008b-1bd9-b380f1000000'
X-Ms-Version:
- '2015-12-11'
X-Ms-Lease-Status:
- unlocked
X-Ms-Lease-State:
- available
X-Ms-Blob-Type:
- BlockBlob
X-Ms-Server-Encrypted:
- 'false'
Access-Control-Expose-Headers:
- x-ms-request-id,Server,x-ms-version,Content-Type,Last-Modified,ETag,Content-MD5,x-ms-lease-status,x-ms-lease-state,x-ms-blob-type,x-ms-server-encrypted,Accept-Ranges,Content-Length,Date,Transfer-Encoding
Access-Control-Allow-Origin:
- "*"
Date:
- Thu, 24 Jan 2019 11:38:50 GMT
body:
encoding: ASCII-8BIT
string: |
ID,Code,Display Name,Descriptor,Target Type,Replaces,Status,AdWords Location ID
1,AL,Albania,country/region,Country,,Active,2008
2,AQ,Antarctica,country/region,Country,,Active,2010
3,DZ,Algeria,country/region,Country,,Active,2012
4,AS,American Samoa,country/region,Country,,Active,2016
5,AD,Andorra,country/region,Country,,Active,2020
http_version:
recorded_at: Thu, 24 Jan 2019 11:39:04 GMT
recorded_with: VCR 4.0.0