图谱 API 版

Ad Adlabels

读取

你无法在此端点执行该操作。

创建

你无法在此端点执行该操作。

更新

你可以向 /{ad_id}/adlabels 发出 POST 请求,以更新 an AdLabel

参数

参数描述
adlabels
list<Object>

Specification of adlabels to be associated with the ad

必填
execution_options
list<enum{validate_only}>
默认值:Set

An execution setting
validate_only: when this option is specified, the API call will not perform the mutation but will run through the validation rules against values of each field.
If the call passes validation or review, response will be {"success": true}. If the call does not pass, an error will be returned with more details. These options can be used to improve any UI to display errors to the user much sooner, e.g. as soon as a new value is typed into any field corresponding to this ad object, rather than at the upload/save stage, or after review.

返回类型

这个端点支持先写后读,并会读取接收你的 POST 请求的节点。
Struct {
success: bool,
}

错误代码

错误描述
200Permissions error
100Invalid parameter

删除

你无法在此端点执行该操作。