问题描述
我对API v2端点发出的每个HTTP请求(get,list,delete,insert,batch)都会返回以下错误({STORE_ID}替换为实际商店ID):
Every HTTP request (get, list, delete, insert, batch) I make to the API v2 endpoint returns the following error (with {STORE_ID} replaced by the actual store ID):
<?xml version="1.0" encoding="utf-8"?>
<errors xmlns="http://schemas.google.com/g/2005">
<error>
<location type="other">request</location>
<domain>GData</domain>
<code>auth/frontend/provider_unknown</code>
<internalReason>Unknown provider-id in URL: {STORE_ID}.</internalReason>
</error>
</errors>
商店ID与Bing Merchant Center商店的"商店摘要"中显示的商店ID相同。页。该商店已获批准,并且具有已启用API管理的活动目录。
The store ID is the same as the one that displays in the Bing Merchant Center store's "Store summary" page. The store has been approved, and has an active catalog that has API management enabled.
我向以下地址发出请求:
I am making requests to:
https://content.api.bingads.microsoft.com/shopping/v9.1/bmc/{STORE_ID}/products
包括alt = json,警告或干-run flags仍会返回与上面相同的错误。
Including alt=json, warnings, or dry-run flags still returns the same error as above.
推荐答案
很棒的问题!对于每个目录,您需要确保启用API管理。在Bing Ads网络应用程序中,您可以通过工具 - >执行此操作。 Bing Merchant Center - > YourStoreName - > YourCatalogName - >目录设置 - >启用API管理。
在目录设置页面的底部,还请指出您打算通过API管理传输的优惠数量。我们一定会更新内容API文档以澄清这些详细信息。
Great question! For each catalog, you'll need to make sure to enable API management. In the Bing Ads web application you can do this via Tools -> Bing Merchant Center -> YourStoreName -> YourCatalogName -> Catalog settings -> Enable API management. At the bottom of the catalog settings page, please also indicate how many offers you intend to transfer via API management. We'll be sure to update Content API documentation to clarify these details.
如果这不能解决问题,或者您有其他问题,请告诉我们。
If this does not resolve the issue, or if you have additional questions please let me know.
最好的问候,
Eric
Best regards,
Eric
这篇关于返回“网址中的未知提供者ID”错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!