从Bing ads api获取数据的确切HTTP请求是什么? [英] What is the exact HTTP request to make to get data from Bing ads api
本文介绍了从Bing ads api获取数据的确切HTTP请求是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在R中使用GET功能,它发出HTTP请求以从Bing Ads API获取数据。
看起来像这样:
响应< - GET(" https://guideads.microsoft.com/Reporting/v9" ;, c(verbose(),add_headers(" Action" =" SubmitGenerateReport", " CustomerAccountId" = ""/ account /"之后来自帐号网址的号码,  ;""CustomerId" "" url after / customer /""""DeveloperToken" = ""我在邮件上收到的API访问密钥","密码" = " bing ads account password", & QUOT;用户名" = " bing ads account username是一个电子邮件ID")))
作为回应,我得到的内容如下:
- > GET / Reporting / v9 HTTP / 1.1
- > User-Agent:libcurl / 7.19.7 r-curl / 0.9.7 httr / 1.1.0
- >主持人:bingads.microsoft.com
- > Accept-Encoding:gzip,deflate
- > Cookie:LoginVersion = 2; ckyAdCenter = LCIDCookie = MTAzMw ==; JFX_SessionId = a17bb397-ab82-4b7b-9775-a69700769bd1; switchAppAdCenter =; IetfLanguageTag =; MarketIDCookie = 1033; LCIDCookie = 1033
- >接受:application / json,text / xml,application / xml,* / *
- >行动:SubmitGenerateReport
- > CustomerAccountId:44061829
- > CustomerId:15248697
- > DeveloperToken:116370272P011397
- >密码:密码
- >用户名:id
- >
< - HTTP / 1.1 301永久移动
< - Content-Type:text / html; charset = UTF-8
< - 位置:https://ui.bingads.microsoft.com/Reporting
< - 服务器:Microsoft-IIS / 8.0
< - RequestId: eddf4d14-3f03-41f7-a306-cb5e104ff009-pui04
< - X-Powered-By:ASP.NET
< - p3p:CP =" ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
< - Access-Control-Allow-Methods:GET,POST,OPTIONS
< - Access-Control-Allow-Headers:Origin,X-Requested-With,Content-Type,Accept
< - 日期:星期四,2016年10月6日07:12:07 GMT
< - 内容 - 长度:165
< -
- >获取/报告HTTP / 1.1
- > User-Agent:libcurl / 7.19.7 r-curl / 0.9.7 httr / 1.1.0
- >主持人:ui.bingads.microsoft.com
- > Accept-Encoding:gzip,deflate
- > Cookie:LoginVersion = 2; ckyAdCenter = LCIDCookie = MTAzMw ==; JFX_SessionId = a17bb397-ab82-4b7b-9775-a69700769bd1; switchAppAdCenter =; IetfLanguageTag =; MarketIDCookie = 1033; LCIDCookie = 1033
- >接受:application / json,text / xml,application / xml,* / *
- >行动:SubmitGenerateReport
- > CustomerAccountId:44061829
- > CustomerId:15248697
- > DeveloperToken:116370272P011397
- >密码:密码
- >用户名:id
- >
< - HTTP / 1.1 302找到
< - 位置:https://bingads.microsoft.com//signout.aspx?final = 1& msg = sessionexpired& urur = https%3a% 2f%2fui.bingads.microsoft.com%2fReporting
< - 服务器:Microsoft-IIS / 8.5
< - X-MiniProfiler-Ids:[]
< - RequestId:5cd4038c -ebd5-4c09-82f3-5675c26cb90a-00715
< - X-Powered-By:ASP.NET
< - Access-Control-Allow-Methods:GET,POST,OPTIONS
< - Access-Control-Allow-Headers:Origin,X-Requested-With,Content-Type,Accept
< - Date:Thu,06 Oct 2016 07:12:09 GMT
< - 内容长度:252
< -
- > GET //signout.aspx?reason=1&msg=sessionexpired&rurl=https%3a%2f%2fui.bingads.microsoft.com%2fReporting HTTP / 1.1
- > User-Agent:libcurl / 7.19.7 r-curl / 0.9.7 httr / 1.1.0
- >主持人:bingads.microsoft.com
- > Accept-Encoding:gzip,deflate
- > Cookie:LoginVersion = 2; ckyAdCenter = LCIDCookie = MTAzMw ==; JFX_SessionId = a17bb397-ab82-4b7b-9775-a69700769bd1; switchAppAdCenter =; IetfLanguageTag =; MarketIDCookie = 1033; LCIDCookie = 1033
- >接受:application / json,text / xml,application / xml,* / *
- >行动:SubmitGenerateReport
- > CustomerAccountId:44061829
- > CustomerId:15248697
- > DeveloperToken:116370272P011397
- >密码:密码
- >用户名:id
- >
< - HTTP / 1.1 301永久移动
< - 缓存控制:私有,无商店
< - Content-Type:text / html; charset = UTF-8
< - 位置:https://secure.bingads.microsoft.com/logout?reason = 1& msg = sessionexpired& rurl = http%3a%2f%2fui.bingads.microsoft。 com%2fReporting
< - 服务器:Microsoft-IIS / 8.0
< - RequestId:c2ba78e5-9e83-4b2d-82da-bcb170edcd31-ck346
< - X-Powered-By: ASP.NET
< -p3p:CP =" ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
< - 日期:星期四,2016年10月6日07:12:09 GMT
< - Content-Length:258
< -
- > GET /logout?reason=1&msg=sessionexpired&rurl=https%3a%2f%2fui.bingads.microsoft.com%2fReporting HTTP / 1.1
- > User-Agent:libcurl / 7.19.7 r-curl / 0.9.7 httr / 1.1.0
- >主持人:secure.bingads.microsoft.com
- > Accept-Encoding:gzip,deflate
- > Cookie:__ RequestVerificationToken_Lw __ = icz26 ++ B + P3lZ3BwOzEqM / yHL7d6B5fAfJDLr4 + q91Pw / i + U ++ UJznDZkzOzEov0JjdQMFN6RzM81Lka7wMjJRRnDnEIIzrDCIIA3XyWVF6WJEcsJYaRmdhlosAWq97tN / U1rQ ==; LoginVersion = 2; ckyAdCenter = LCIDCookie = MTAzMw ==; JFX_SessionId = a17bb397-ab82-4b7b-9775-a69700769bd1; switchAppAdCenter =; IetfLanguageTag =; MarketIDCookie = 1033; LCIDCookie = 1033
- >接受:application / json,text / xml,application / xml,* / *
- >行动:SubmitGenerateReport
- > CustomerAccountId:44061829
- > CustomerId:15248697
- > DeveloperToken:116370272P011397
- >密码:密码
- >用户名:id
- >
< - HTTP / 1.1 302找到
< - 缓存控制:无缓存,无存储
< - Pragma:no-cache
< - 内容-Type:text / html; charset = utf-8
< - Expires:-1
< - 位置:/LoginVersion/2?signout=true&msg=sessionexpired&RURL=https%3a%2f%2fui.bingads。 microsoft.com%2fReporting
< - 服务器:Microsoft-IIS / 8.0
< - X-AspNetMvc-版本:3.0
< - X-AspNet-版本:4.0.30319
< - Set-Cookie:LCIDCookie = 1033;域= bingads.microsoft.com; expires =星期五,06-Oct-2017 07:00:00 GMT;路径= /;安全
< - Set-Cookie:MarketIDCookie = 1033;域= bingads.microsoft.com; expires =星期五,06-Oct-2017 07:00:00 GMT;路径= /;安全
< - Set-Cookie:IetfLanguageTag =;域= bingads.microsoft.com; expires =星期五,06-Oct-2017 07:00:00 GMT;路径= /;安全
< - Set-Cookie:switchAppAdCenter =;域= bingads.microsoft.com;路径= /;安全;仅Http
将 - 设置Cookie:__RequestVerificationToken_Lw __ = icz26 ++ B + P3lZ3BwOzEqM / yHL7d6B5fAfJDLr4 + q91Pw / I + U ++ UJznDZkzOzEov0JjdQMFN6RzM81Lka7wMjJRRnDnEIIzrDCIIA3XyWVF6WJEcsJYaRmdhlosAWq97tN / U1rQ ==; expires = Wed,05-Oct-2016 07:12:11 GMT; path = /
< - Set-Cookie:ImportCookie =;域= bingads.microsoft.com; expires =星期二,04-Oct-2016 07:12:11 GMT;路径= /;安全; HttpOnly
< - Set-Cookie:OAuth2_AccessToken =;域= bingads.microsoft.com; expires =星期二,04-Oct-2016 07:12:11 GMT;路径= /;安全; HttpOnly
< - Set-Cookie:OAuth2_RefreshToken =;域= bingads.microsoft.com; expires =星期二,04-Oct-2016 07:12:11 GMT;路径= /;安全; HttpOnly
< - Set-Cookie:OAuth2_UpdatedOn =;域= bingads.microsoft.com; expires =星期二,04-Oct-2016 07:12:11 GMT;路径= /;安全; HttpOnly
< - Set-Cookie:JFX_SessionId = 2d71b8ad-63e8-4613-81d7-a6970076b3e9;域= bingads.microsoft.com;路径= /;安全; HttpOnly
< - RequestId:4b0d54c5-a154-4cf1-8c41-91f4378ee4a7-pui01
< - X-Powered-By:ASP.NET
< - X-UA-Compatible: IE = Edge
< -p3p:CP =" ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
< - 日期:星期四,2016年10月6日07:12:10 GMT
< - 内容 - 长度:228
< -
- > GET /LoginVersion/2?signout=true&msg=sessionexpired&RURL=https%3a%2f%2fui.bingads.microsoft.com%2fReporting HTTP / 1.1
- > User-Agent:libcurl / 7.19.7 r-curl / 0.9.7 httr / 1.1.0
- >主持人:secure.bingads.microsoft.com
- > Accept-Encoding:gzip,deflate
- > Cookie:LoginVersion = 2; ckyAdCenter = LCIDCookie = MTAzMw ==; JFX_SessionId = 2d71b8ad-63e8-4613-81d7-a6970076b3e9; switchAppAdCenter =; IetfLanguageTag =; MarketIDCookie = 1033; LCIDCookie = 1033
- >接受:application / json,text / xml,application / xml,* / *
- >行动:SubmitGenerateReport
- > CustomerAccountId:44061829
- > CustomerId:15248697
- > DeveloperToken:116370272P011397
- >密码:passwrd
- >用户名:id
- >
< - HTTP / 1.1 200 OK
< - 缓存控制:无缓存,无存储
< - Pragma:no-cache
< - 内容-Type:text / html; charset = utf-8
< - Expires:-1
< - 服务器:Microsoft-IIS / 8.0
< - Set-Cookie:LCIDCookie = 1033;域= bingads.microsoft.com; expires =星期五,06-Oct-2017 07:00:00 GMT;路径= /;安全
< - Set-Cookie:MarketIDCookie = 1033;域= bingads.microsoft.com; expires =星期五,06-Oct-2017 07:00:00 GMT;路径= /;安全
< - Set-Cookie:IetfLanguageTag =;域= bingads.microsoft.com; expires =星期五,06-Oct-2017 07:00:00 GMT;路径= /;安全
< - Set-Cookie:JFX_SessionId = 2d71b8ad-63e8-4613-81d7-a6970076b3e9;域= bingads.microsoft.com;路径= /;安全
< - X-AspNetMvc-版本:3.0
< - X-Frame-Options:DENY
< - X-AspNet-Version:4.0.30319
< ; - Set-Cookie:LCIDCookie = 1033;域= bingads.microsoft.com; expires =星期五,06-Oct-2017 07:00:00 GMT;路径= /;安全
< - Set-Cookie:MarketIDCookie = 1033;域= bingads.microsoft.com; expires =星期五,06-Oct-2017 07:00:00 GMT;路径= /;安全
< - Set-Cookie:IetfLanguageTag =;域= bingads.microsoft.com; expires =星期五,06-Oct-2017 07:00:00 GMT;路径= /;安全
< - Set-Cookie:JFX_SessionId = 2d71b8ad-63e8-4613-81d7-a6970076b3e9;域= bingads.microsoft.com;路径= /;安全
< - Set-Cookie:ckyAdCenter = LCIDCookie = MTAzMw ==;域= bingads.microsoft.com; path = /
< - Set-Cookie:LoginVersion = 2;域= bingads.microsoft.com; expires =星期五,06-Oct-2017 07:00:00 GMT;路径= /;安全; HttpOnly
< - Set-Cookie:__ RequestVerificationToken_Lw __ = x54Op59HGmKtMExvsZ / cMzx6tkj4fl8EkPii8jF44kX4rOHHUZCNh5hVDlbolsHDUIG49pPzbu2OIAITsktTXFNp7E0n26GLcgjzHZBR3DsiKgz4yYCqsbzn7s94Zs8X99O7Xw ==;路径= /;安全; HttpOnly
< - RequestId:e15d708e-837b-479e-a099-5465a5107ae9-pui01
< - X-Powered-By:ASP.NET
< - X-UA-Compatible: IE = Edge
< -p3p:CP =" ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
< - 日期:星期四,2016年10月6日07:12:11 GMT
< - 内容长度:10687
< -
我不明白这个回应。我这里有问题吗?如何获取数据?
解决方案
< blockquote>
Hello。
我们仅支持大多数服务的SOAP API。我们确实只有Content API的REST API。如果我们可以帮助您使用Reporting SOAP API,请告知我们。
祝您好运,
Eric
I am using GET function in R that makes HTTP requests to fetch data from Bing Ads API.
It looks like this:
response <- GET("https://bingads.microsoft.com/Reporting/v9", c(verbose(),add_headers("Action" = "SubmitGenerateReport", "CustomerAccountId" = "number from url in account after /account/", "CustomerId" = "number in url after /customer/", "DeveloperToken" = "API access key I received on mail","Password" = "bing ads account password", "UserName" = "bing ads account username which is an email id")))
In response I get something that looks like this:
-> GET /Reporting/v9 HTTP/1.1 -> User-Agent: libcurl/7.19.7 r-curl/0.9.7 httr/1.1.0 -> Host: bingads.microsoft.com -> Accept-Encoding: gzip, deflate -> Cookie: LoginVersion=2; ckyAdCenter=LCIDCookie=MTAzMw==; JFX_SessionId=a17bb397-ab82-4b7b-9775-a69700769bd1; switchAppAdCenter=; IetfLanguageTag=; MarketIDCookie=1033; LCIDCookie=1033 -> Accept: application/json, text/xml, application/xml, */* -> Action: SubmitGenerateReport -> CustomerAccountId: 44061829 -> CustomerId: 15248697 -> DeveloperToken: 116370272P011397 -> Password: password -> UserName: id -> <- HTTP/1.1 301 Moved Permanently <- Content-Type: text/html; charset=UTF-8 <- Location: https://ui.bingads.microsoft.com/Reporting <- Server: Microsoft-IIS/8.0 <- RequestId: eddf4d14-3f03-41f7-a306-cb5e104ff009-pui04 <- X-Powered-By: ASP.NET <- p3p: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI" <- Access-Control-Allow-Methods: GET, POST, OPTIONS <- Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept <- Date: Thu, 06 Oct 2016 07:12:07 GMT <- Content-Length: 165 <- -> GET /Reporting HTTP/1.1 -> User-Agent: libcurl/7.19.7 r-curl/0.9.7 httr/1.1.0 -> Host: ui.bingads.microsoft.com -> Accept-Encoding: gzip, deflate -> Cookie: LoginVersion=2; ckyAdCenter=LCIDCookie=MTAzMw==; JFX_SessionId=a17bb397-ab82-4b7b-9775-a69700769bd1; switchAppAdCenter=; IetfLanguageTag=; MarketIDCookie=1033; LCIDCookie=1033 -> Accept: application/json, text/xml, application/xml, */* -> Action: SubmitGenerateReport -> CustomerAccountId: 44061829 -> CustomerId: 15248697 -> DeveloperToken: 116370272P011397 -> Password: password -> UserName: id -> <- HTTP/1.1 302 Found <- Location: https://bingads.microsoft.com//signout.aspx?reason=1&msg=sessionexpired&rurl=https%3a%2f%2fui.bingads.microsoft.com%2fReporting <- Server: Microsoft-IIS/8.5 <- X-MiniProfiler-Ids: [] <- RequestId: 5cd4038c-ebd5-4c09-82f3-5675c26cb90a-00715 <- X-Powered-By: ASP.NET <- Access-Control-Allow-Methods: GET, POST, OPTIONS <- Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept <- Date: Thu, 06 Oct 2016 07:12:09 GMT <- Content-Length: 252 <- -> GET //signout.aspx?reason=1&msg=sessionexpired&rurl=https%3a%2f%2fui.bingads.microsoft.com%2fReporting HTTP/1.1 -> User-Agent: libcurl/7.19.7 r-curl/0.9.7 httr/1.1.0 -> Host: bingads.microsoft.com -> Accept-Encoding: gzip, deflate -> Cookie: LoginVersion=2; ckyAdCenter=LCIDCookie=MTAzMw==; JFX_SessionId=a17bb397-ab82-4b7b-9775-a69700769bd1; switchAppAdCenter=; IetfLanguageTag=; MarketIDCookie=1033; LCIDCookie=1033 -> Accept: application/json, text/xml, application/xml, */* -> Action: SubmitGenerateReport -> CustomerAccountId: 44061829 -> CustomerId: 15248697 -> DeveloperToken: 116370272P011397 -> Password: password -> UserName: id -> <- HTTP/1.1 301 Moved Permanently <- Cache-Control: private, no-store <- Content-Type: text/html; charset=UTF-8 <- Location: https://secure.bingads.microsoft.com/logout?reason=1&msg=sessionexpired&rurl=https%3a%2f%2fui.bingads.microsoft.com%2fReporting <- Server: Microsoft-IIS/8.0 <- RequestId: c2ba78e5-9e83-4b2d-82da-bcb170edcd31-ck346 <- X-Powered-By: ASP.NET <- p3p: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI" <- Date: Thu, 06 Oct 2016 07:12:09 GMT <- Content-Length: 258 <- -> GET /logout?reason=1&msg=sessionexpired&rurl=https%3a%2f%2fui.bingads.microsoft.com%2fReporting HTTP/1.1 -> User-Agent: libcurl/7.19.7 r-curl/0.9.7 httr/1.1.0 -> Host: secure.bingads.microsoft.com -> Accept-Encoding: gzip, deflate -> Cookie: __RequestVerificationToken_Lw__=icz26++B+P3lZ3BwOzEqM/yHL7d6B5fAfJDLr4+q91Pw/i+U++UJznDZkzOzEov0JjdQMFN6RzM81Lka7wMjJRRnDnEIIzrDCIIA3XyWVF6WJEcsJYaRmdhlosAWq97tN/U1rQ==; LoginVersion=2; ckyAdCenter=LCIDCookie=MTAzMw==; JFX_SessionId=a17bb397-ab82-4b7b-9775-a69700769bd1; switchAppAdCenter=; IetfLanguageTag=; MarketIDCookie=1033; LCIDCookie=1033 -> Accept: application/json, text/xml, application/xml, */* -> Action: SubmitGenerateReport -> CustomerAccountId: 44061829 -> CustomerId: 15248697 -> DeveloperToken: 116370272P011397 -> Password: password -> UserName:id -> <- HTTP/1.1 302 Found <- Cache-Control: no-cache, no-store <- Pragma: no-cache <- Content-Type: text/html; charset=utf-8 <- Expires: -1 <- Location: /LoginVersion/2?signout=true&msg=sessionexpired&RURL=https%3a%2f%2fui.bingads.microsoft.com%2fReporting <- Server: Microsoft-IIS/8.0 <- X-AspNetMvc-Version: 3.0 <- X-AspNet-Version: 4.0.30319 <- Set-Cookie: LCIDCookie=1033; domain=bingads.microsoft.com; expires=Fri, 06-Oct-2017 07:00:00 GMT; path=/; secure <- Set-Cookie: MarketIDCookie=1033; domain=bingads.microsoft.com; expires=Fri, 06-Oct-2017 07:00:00 GMT; path=/; secure <- Set-Cookie: IetfLanguageTag=; domain=bingads.microsoft.com; expires=Fri, 06-Oct-2017 07:00:00 GMT; path=/; secure <- Set-Cookie: switchAppAdCenter=; domain=bingads.microsoft.com; path=/; secure; HttpOnly <- Set-Cookie: __RequestVerificationToken_Lw__=icz26++B+P3lZ3BwOzEqM/yHL7d6B5fAfJDLr4+q91Pw/i+U++UJznDZkzOzEov0JjdQMFN6RzM81Lka7wMjJRRnDnEIIzrDCIIA3XyWVF6WJEcsJYaRmdhlosAWq97tN/U1rQ==; expires=Wed, 05-Oct-2016 07:12:11 GMT; path=/ <- Set-Cookie: ImportCookie=; domain=bingads.microsoft.com; expires=Tue, 04-Oct-2016 07:12:11 GMT; path=/; secure; HttpOnly <- Set-Cookie: OAuth2_AccessToken=; domain=bingads.microsoft.com; expires=Tue, 04-Oct-2016 07:12:11 GMT; path=/; secure; HttpOnly <- Set-Cookie: OAuth2_RefreshToken=; domain=bingads.microsoft.com; expires=Tue, 04-Oct-2016 07:12:11 GMT; path=/; secure; HttpOnly <- Set-Cookie: OAuth2_UpdatedOn=; domain=bingads.microsoft.com; expires=Tue, 04-Oct-2016 07:12:11 GMT; path=/; secure; HttpOnly <- Set-Cookie: JFX_SessionId=2d71b8ad-63e8-4613-81d7-a6970076b3e9; domain=bingads.microsoft.com; path=/; secure; HttpOnly <- RequestId: 4b0d54c5-a154-4cf1-8c41-91f4378ee4a7-pui01 <- X-Powered-By: ASP.NET <- X-UA-Compatible: IE=Edge <- p3p: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI" <- Date: Thu, 06 Oct 2016 07:12:10 GMT <- Content-Length: 228 <- -> GET /LoginVersion/2?signout=true&msg=sessionexpired&RURL=https%3a%2f%2fui.bingads.microsoft.com%2fReporting HTTP/1.1 -> User-Agent: libcurl/7.19.7 r-curl/0.9.7 httr/1.1.0 -> Host: secure.bingads.microsoft.com -> Accept-Encoding: gzip, deflate -> Cookie: LoginVersion=2; ckyAdCenter=LCIDCookie=MTAzMw==; JFX_SessionId=2d71b8ad-63e8-4613-81d7-a6970076b3e9; switchAppAdCenter=; IetfLanguageTag=; MarketIDCookie=1033; LCIDCookie=1033 -> Accept: application/json, text/xml, application/xml, */* -> Action: SubmitGenerateReport -> CustomerAccountId: 44061829 -> CustomerId: 15248697 -> DeveloperToken: 116370272P011397 -> Password: passwrd -> UserName: id -> <- HTTP/1.1 200 OK <- Cache-Control: no-cache, no-store <- Pragma: no-cache <- Content-Type: text/html; charset=utf-8 <- Expires: -1 <- Server: Microsoft-IIS/8.0 <- Set-Cookie: LCIDCookie=1033; domain=bingads.microsoft.com; expires=Fri, 06-Oct-2017 07:00:00 GMT; path=/; secure <- Set-Cookie: MarketIDCookie=1033; domain=bingads.microsoft.com; expires=Fri, 06-Oct-2017 07:00:00 GMT; path=/; secure <- Set-Cookie: IetfLanguageTag=; domain=bingads.microsoft.com; expires=Fri, 06-Oct-2017 07:00:00 GMT; path=/; secure <- Set-Cookie: JFX_SessionId=2d71b8ad-63e8-4613-81d7-a6970076b3e9; domain=bingads.microsoft.com; path=/; secure <- X-AspNetMvc-Version: 3.0 <- X-Frame-Options: DENY <- X-AspNet-Version: 4.0.30319 <- Set-Cookie: LCIDCookie=1033; domain=bingads.microsoft.com; expires=Fri, 06-Oct-2017 07:00:00 GMT; path=/; secure <- Set-Cookie: MarketIDCookie=1033; domain=bingads.microsoft.com; expires=Fri, 06-Oct-2017 07:00:00 GMT; path=/; secure <- Set-Cookie: IetfLanguageTag=; domain=bingads.microsoft.com; expires=Fri, 06-Oct-2017 07:00:00 GMT; path=/; secure <- Set-Cookie: JFX_SessionId=2d71b8ad-63e8-4613-81d7-a6970076b3e9; domain=bingads.microsoft.com; path=/; secure <- Set-Cookie: ckyAdCenter=LCIDCookie=MTAzMw==; domain=bingads.microsoft.com; path=/ <- Set-Cookie: LoginVersion=2; domain=bingads.microsoft.com; expires=Fri, 06-Oct-2017 07:00:00 GMT; path=/; secure; HttpOnly <- Set-Cookie: __RequestVerificationToken_Lw__=x54Op59HGmKtMExvsZ/cMzx6tkj4fl8EkPii8jF44kX4rOHHUZCNh5hVDlbolsHDUIG49pPzbu2OIAITsktTXFNp7E0n26GLcgjzHZBR3DsiKgz4yYCqsbzn7s94Zs8X99O7Xw==; path=/; secure; HttpOnly <- RequestId: e15d708e-837b-479e-a099-5465a5107ae9-pui01 <- X-Powered-By: ASP.NET <- X-UA-Compatible: IE=Edge <- p3p: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI" <- Date: Thu, 06 Oct 2016 07:12:11 GMT <- Content-Length: 10687 <-
I don't understand this response. Do I have a problem here? How do I get the data?
解决方案
Hello.
We only support SOAP API for most services. We do have a REST API for Content API only. Please let me know if we can help you onboard to Reporting SOAP API.
Best regards,
Eric
这篇关于从Bing ads api获取数据的确切HTTP请求是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文