Phiên bản API Đồ thị

Business Owned Ad Accounts

Đọ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 có thể tạo yêu cầu POST đến cạnh owned_ad_accounts từ các đường dẫn sau:
Khi đăng lên cạnh này, hệ thống sẽ tạo an AdAccount.

Thông số

Thông sốMô tả
adaccount_id
string

Ad account ID.

Bắt buộc

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 {
access_status: string,
}

Mã lỗi

LỗiMô tả
100Invalid parameter
3994Personal accounts that do not have any history of activity are not eligible for migration to a business manager. Instead create an ad account inside your business manager.
3979You have exceeded the number of allowed ad accounts for your Business Manager at this time.
3980One or more of the ad accounts in your Business Manager are currently in bad standing or in review. All of your accounts must be in good standing in order to create new ad accounts.
3944Your Business Manager already has access to this object.
415Two factor authentication required. User have to enter a code from SMS or TOTP code generator to pass 2fac. This could happen when accessing a 2fac-protected asset like a page that is owned by a 2fac-protected business manager.
3936You've already tried to claim this ad account. You'll see a notification if your request is accepted.
457The session has an invalid origin
368The action attempted has been deemed abusive or is otherwise disallowed
200Permissions error

Cập nhật

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

Xóa

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