圖形 API 版本

POST and DELETE Custom Audience Ad Accounts

閱讀中

你無法在此端點執行此操作。

建立中

You can make a POST request to ad_accounts edge from the following paths:
發佈到此關係連線時,會建立 an AdAccount

參數

參數說明
adaccounts
list<numeric string>

Array of new ad account IDs to receive access to the custom audience

permissions
string

targeting or targeting_and_insights. If targeting the recipient ad account can target the audience in ads. targeting_and_insights also allows recipient account to view the audience in Audience Insights tool

relationship_type
array<string>

relationship_type

replace
boolean

true or false. If true the list of adaccounts provided in the call will replace the existing set of ad accounts this audience is shared with.

傳回類型

此端點支援寫入後讀取功能,並將讀取你傳送 POST 的節點。
Struct {
success: bool,
sharing_data: List [
Struct {
ad_acct_id: string,
business_id: numeric string,
audience_share_status: string,
errors: List [
string
],
}
],
}

Error Codes

錯誤說明
100Invalid parameter

更新中

你無法在此端點執行此操作。

刪除中

你可以向 /{custom_audience_id}/ad_accounts 提出刪除要求,中斷 an AdAccount 和 a CustomAudience 的關聯。

參數

參數說明
adaccounts
list<numeric string>

Array of ad account IDs to revoke access to the custom audience

傳回類型

Struct {
success: bool,
}

Error Codes

錯誤說明
100Invalid parameter