0

我有商業帳戶和2個廣告帳戶。當我嘗試創建第三個廣告帳戶時,出現以下錯誤。在業務經理中創建廣告帳戶時取消限制

You have exceeded the number of allowed ad accounts for your Business Manager at this time. 

(#10) You do not have permission to perform this action. This action requires that you can MODIFY_AD_ACCOUNTS for this business account. 

按照Facebook的https://developers.facebook.com/docs/marketing-api/reference/ad-account,我們必須使用userpermissions那麼我們就可以避開這個錯誤。

但在業務經理中創建廣告帳戶時用戶權限不起作用。在更新廣告帳戶方面工作正常。下面的代碼,我正在使用。

$ch = curl_init(); 
curl_setopt($ch, CURLOPT_URL,'https://graph.facebook.com/v2.8/'.$associative_arr['businessId'].'/adaccount/userpermissions'); 
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); 
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2); 
curl_setopt($ch, CURLOPT_POST, true); 
curl_setopt($ch, CURLOPT_POSTFIELDS, $attachment); 
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); 
$result = curl_exec($ch);    
curl_close ($ch); 

任何建議我如何使用用戶權限在創建廣告帳戶,這樣可以抑制廣告帳戶的限制問題?

回答

0

你必須申請進一步訪問級別爲您的應用程序。 ​​

  • 發展:嘗試在Facebook平臺上的API和測試應用程序。
  • 基本:進一步測試,迭代,建立一個應用程序與多達25個外部帳戶。
  • 標準:使用無限制帳戶來擴展您的業務,並被 提名爲Facebook營銷合作伙伴。
+0

我已經有喜歡的廣告管理的基本接入,business_management和標準訪問 – Jass

+0

所有訪問級別如何,你想製作的廣告帳戶? – bertucho

+0

與訪問令牌相關的用戶是否在Business Manager中具有管理員角色? – bertucho

相關問題