إصدار ‏‎Graph API‎‏

POST and DELETE Custom Audience Ad Accounts

قراءة

لا يمكنك تنفيذ هذه العملية في نقطة النهاية هذه.

إنشاء

‎You can make a POST request to ad_accounts edge from the following paths:
‎When posting to this edge, an AdAccount will be created.‎

المعلمات

معلمةالوصف
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.

‎Return Type‎

‎This endpoint supports ‎read-after-write‎ and will read the node to which you POSTed.‎
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

جارٍ التحديث

لا يمكنك تنفيذ هذه العملية في نقطة النهاية هذه.

جارٍ الحذف

‎You can dissociate an AdAccount from a CustomAudience by making a DELETE request to /{custom_audience_id}/ad_accounts.‎

المعلمات

معلمةالوصف
adaccounts
list<numeric string>

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

‎Return Type‎

Struct {
success: bool,
}

‎Error Codes‎

خطأالوصف
100Invalid parameter