Phiên bản API Đồ thị

Ad Adlabels

Đọc

Bạn không thể thực hiện thao tác này trên điểm cuối này.

Tạo

Bạn không thể thực hiện thao tác này trên điểm cuối này.

Cập nhật

Bạn có thể cập nhật an AdLabel bằng cách thực hiện yêu cầu POST đến /{ad_id}/adlabels.

Thông số

Thông sốMô tả
adlabels
list<Object>

Specification of adlabels to be associated with the ad

Bắt buộc
execution_options
list<enum{validate_only}>
Giá trị mặc định: 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.

Kiểu trả về

Điểm cuối này hỗ trợ đọc sau khi ghi và sẽ đọc nút mà bạn đã đăng vào đó.
Struct {
success: bool,
}

Mã lỗi

LỗiMô tả
200Permissions error
100Invalid parameter

Xóa

Bạn không thể thực hiện thao tác này trên điểm cuối này.