需要帮忙。我尝试从https://developers.facebook.com/docs/marketing-api/dynamic-product-ads/ads-management/v2.3
创建帐户开始。已获批准phone。创建了一个企业帐户,一个广告帐户,一个应用程序,等等。将应用链接到这样的ad accont https://developers.facebook.com/docs/marketing-api/access#standard_accounts。现在,我尝试创建产品目录。我一直都遇到相同的错误:
The app is not whitelisted to use this API
Run Code Online (Sandbox Code Playgroud)
我试图调用api来创建/列出/管理产品目录。当我这样做时,UI也一样-我可以创建产品目录和Feed。但通过API-所有时间都出错。我不明白它需要什么?
现在尝试创建产品集:
GET /<product_catalog ID>/product_sets/?
access_token=<my access token from app with full rights get from exploer>
{
"error": {
"message": "(#200) The app is not whitelisted to use this API",
"type": "OAuthException",
"code": 200
}
}
Run Code Online (Sandbox Code Playgroud)
尝试创建相同的内容:
POST : /v2.3/<product_catalog ID>/product_sets/?access_token=<my access token from app with full rights get from exploer>&name=my new prod set
{
"error": {
"message": "(#275) Ad account cannot be …Run Code Online (Sandbox Code Playgroud)