使用SOAP中的API获取关键字性能 [英] Get keyword performance using API in SOAP
问题描述
您好,
我现在已经尝试了几天以获得关键字效果 对于使用SOAP UI的广告系列 但我无法获得任何报告。
I have been trying for days now to get keyword performance for my campaigns using SOAP UI but i have not been able to get any kind of report.
XML要求提供报告名称 但我不确定这意味着什么。下面是我正在使用的xml和端点。如果有人可以提供帮助我真的很感激。
The XML asks for a Report Name but i am not sure what it means. Below is the xml and endpoint i am using. If anyone could help i really would appreciate.
< soapenv:Envelope xmlns:soapenv =" http://schemas.xmlsoap。组织/肥皂/信封/" xmlns:v9 =" https://guideads.microsoft.com/Reporting/v9">
< soapenv:Header>
< v9:UserName> *****< / v9:UserName>
< v9:密码> *****< / v9:密码>
< v9:DeveloperToken> ******< / v9:DeveloperToken>
< v9:CustomerId> ******< / v9:CustomerId>
< v9:CustomerAccountId> *****< / v9:CustomerAccountId>
< / soapenv:标题>
< soapenv:正文>
< v9:SubmitGenerateReportRequest>
<! - 可选: - >
< v9:ReportRequest>
<! - 可选: - >
< v9:格式>?< / v9:格式>
<! - 可选: - >
< v9:语言>?< / v9:语言>
<! - 可选: - >
< v9:ReportName />
<! - 可选: - >
< v9:ReturnOnlyCompleteData>?< / v9:ReturnOnlyCompleteData>
< / v9:ReportRequest>
< / v9:SubmitGenerateReportRequest>
< / soapenv:正文>
< / soapenv:信封>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v9="https://bingads.microsoft.com/Reporting/v9">
<soapenv:Header>
<v9:UserName>*****</v9:UserName>
<v9:Password>*****</v9:Password>
<v9:DeveloperToken>******</v9:DeveloperToken>
<v9:CustomerId>******</v9:CustomerId>
<v9:CustomerAccountId>*****</v9:CustomerAccountId>
</soapenv:Header>
<soapenv:Body>
<v9:SubmitGenerateReportRequest>
<!--Optional:-->
<v9:ReportRequest>
<!--Optional:-->
<v9:Format>?</v9:Format>
<!--Optional:-->
<v9:Language>?</v9:Language>
<!--Optional:-->
<v9:ReportName/>
<!--Optional:-->
<v9:ReturnOnlyCompleteData>?</v9:ReturnOnlyCompleteData>
</v9:ReportRequest>
</v9:SubmitGenerateReportRequest>
</soapenv:Body>
</soapenv:Envelope>
推荐答案
您好,
请查看文档以了解如何创建报告。为方便起见,我附上了一份有效的KW绩效报告。您可以看到在那里指定的内容。
Please check the documentation for how to create reports. For your convenience, I have attached a working KW Performance report. You can see how things are being specified there.
文档
http://msdn.microsoft.com/en-US/library/bing-ads-reporting-submitgeneratereport。 aspx
报告类型:
http://msdn.microsoft.com/en-US/library/bing-ads-reporting-report-types .aspx
这是一个工作请求,只需用你的参数替换我的参数
Here is a working request, just replace my parameters with yours
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Header>
<h:CustomerAccountId xmlns:h="https://bingads.microsoft.com/Reporting/v9">***</h:CustomerAccountId>
<h:CustomerId xmlns:h="https://bingads.microsoft.com/Reporting/v9">*****</h:CustomerId>
<h:DeveloperToken xmlns:h="https://bingads.microsoft.com/Reporting/v9">
{DeveloperToken_MU}< / h: DeveloperToken>
< h:密码xmlns:h =" https://bingads.microsoft.com/Reporting/v9">
{DeveloperToken_MU}</h:DeveloperToken> <h:Password xmlns:h="https://bingads.microsoft.com/Reporting/v9">
{Password_INT}< / h:密码>
< h:用户名xmlns:h =" https://guideads.microsoft.com/Reporting/v9">
{Password_INT}</h:Password> <h:UserName xmlns:h="https://bingads.microsoft.com/Reporting/v9">
这篇关于使用SOAP中的API获取关键字性能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!