2017-04-19 152 views
0

我想調整Instagram廣告,但無法訪問ad_id。我已經完成了「http delete request」來輸入ad_id值,但是出現錯誤。我怎樣才能得到facebook廣告api中的ad_id?如何在Facebook廣告中獲取ad_id?

刪除請求URL:

https://graph.facebook.com/v2.8/<ID_HASH_STRING> 

身體參數:

{ 
    "ad_id":"number12321435", 
    "access_token":"xxxxxxxxxxxx", 
    "appsecret_proof":"xxxxxxxxx" 
} 

RESPONSE:

{ 
    "error": { 
    "message": "(#100) Param ad_id must be a valid Adgroup ID", 
    "type": "OAuthException", 
    "code": 100, 
    "fbtrace_id": "CAwgnuVEWYl" 
    } 
} 

DOCS: https://developers.facebook.com/docs/marketing-api/guides/instagramads/ad_creative/v2.9(下 「後適度」)。

謝謝。

回答

0

您想調節Instagram廣告,但是您沒有廣告ID。那麼你有什麼?假設您應該擁有廣告帳戶ID。在這種情況下,您可以使用: https://graph.facebook.com/v2.9/act_/ads?fields = name

您可以看到廣告帳戶的所有廣告。根據名稱,希望您可以知道您正在討論哪個廣告。或者您可以使用其他字段來查找您的廣告。但是,無論如何,您需要先了解您的廣告,然後才能對廣告進行審覈。

相關問題