API này trả về các mã lỗi sau đây:
Mã lỗi | Mô tả |
---|---|
| Negative-value error codes are internal Facebook errors. Check |
| An unknown error occurred |
| Đã xảy ra lỗi không xác định. Lỗi này có thể xảy ra nếu bạn đặt |
| Application request limit reached |
| Application does not have permission for this action |
| User request limit reached |
| Invalid parameter |
|
Unsupported post request. Lỗi này có thể xảy ra nếu bạn chưa thêm mã truy cập của mình làm người dùng hệ thống có các quyền thích hợp vào tài khoản quảng cáo sở hữu Đối tượng tùy chỉnh. Hãy xác minh tài khoản quảng cáo trong Trình quản lý kinh doanh và xác minh rằng tất cả người dùng hệ thống trong tài khoản quảng cáo đó đều là
|
|
Invalid parameter. Hạng mục bạn đã chọn không sử dụng được nữa. Một số hạng mục nhắm mục tiêu dựa trên hành vi đã ngừng hoạt động. Nếu bạn cố sử dụng các hạng mục này để tạo quảng cáo thì yêu cầu sẽ không thành công và trả về lỗi này. Hãy tham khảo phần Tìm kiếm tùy chọn nhắm mục tiêu để xem các hạng mục có thể nhắm mục tiêu. |
|
Invalid parameter. Tổ hợp nhiệm vụ này không được hỗ trợ. Để chỉ định một người dùng cho tính năng hợp lệ với tài khoản quảng cáo này, bạn phải chuyển vào một tổ hợp nhiệm vụ đã xác định trong quá trình đối ghép. Hãy xem phần API Trình quản lý kinh doanh, Vai trò được phép. |
| Session key invalid or no longer valid |
| Incorrect signature |
| Invalid OAuth 2.0 Access Token |
| Permission error |
| Chưa chấp nhận điều khoản về Đối tượng tùy chỉnh: Bạn cần phải đồng ý với điều khoản về Đối tượng tùy chỉnh thì mới tạo hoặc chỉnh sửa được đối tượng hoặc nhóm quảng cáo. Hãy xem Điều khoản về Đối tượng tùy chỉnh trên Facebook |
| Audience Size too Low: You cannot remove users from this audience because it will result in a low audience size and may result in under-delivery or non-delivery of your ads. |
| Managing advertisements requires the extended permission `ads_management` and an application that is in our allow list to access the Marketing API |
| Unable to display a preview of this ad |
| The given currency is invalid for usage with ads. |
| Invalid call to update this adaccount |
| Failed to create custom audience. |
| No write permission for this ad account. Developer making this call must have permissions for the ad account to create an audience for it. |
| Unknown Error Code |
| Một hoặc nhiều URL đã cung cấp không được cho phép theo cài đặt ứng dụng bảo mật URL bài viết trong Luồng. URL này phải khớp với URL trang web hoặc URL Canvas hoặc miền phải là miền phụ của một trong các miền của Ứng dụng. Hãy đọc thêm về Bảo mật đăng nhập để hiểu rõ hơn các chế độ cài đặt ứng dụng liên quan đến bảo mật. |
| Ad Create Failed - Too Many Ads: The account {account_id} has reached the maximum number of ads {max} |
| Invalid Parameter In Spec: Parameter has invalid value or missing required parameter: {param-value} |
| Invalid Campaign ID: You must specify a campaign, and the campaign specified must belong to the account specified and must not be deleted. |
| Campaign Ended: You can't edit ads in a campaign that has ended. Please create a new ad within this campaign, update the campaign end time, pick another campaign, or create a new campaign. |
| Ad Bid Too High: Your bid is above the maximum for its type and placement. Please try again with a value below the maximum if you would like to raise your bid. |
| Bid Too Low: Your bid is below the minimum for its placement and type. If you don't want your ad to run at the minimum bid rate, please pause it. Otherwise, please increase the bid to be within the suggested range. |
| Campaign budget was too low. Please increase the daily budget to at least 2 times the amount of the highest CPC ad bid, which is at least {minimum_budget}. You bid {bid}. |
| The ad creative is invalid |
| Ad Missing Targeting Spec: Ad spec needs a targeting spec. Please use targeting field to specify what audience the ad should be shown to. Field 'countries' is required; all others are optional. |
| Ad Create Failed: The Ad Create Failed for the following reason: {reason} |
| Target Spec Invalid: The target spec is invalid: {reason} |
| Ad Edit Failed - Spec Errors: {error} |
| Invalid Cities: Please check that the format in which you are specify the cities is correct, and if you specify IDs, that they are of the correct type. This can not be the the ID of the page for the city; city ids are returned by, `/search?type=adcity`. |
| Invalid Connection: You can only specify connections to objects you are an administrator or developer of. |
| Invalid Negative Connections: If you specify negative targeting, you must be the administrator or developer of the objects whose fans you want to specify to exclude. You are not an admin of the following specified connections: {connections} |
| Could not save creative |
| Invalid Image Hash: Invalid Image Hash - {hash} |
| Permission Error: Either the object you are trying to access is not visible to you or the action you are trying to take is restricted to certain account types. |
| Ad targeting does not match targeting of the story: The targeting specified for this ad is not compatible with the story being boosted. Check the privacy and language/country targeting of the story you are trying to sponsor. |
| Invalid object - not admin or object not public: The user is not an admin of the object or the object is not publicly accessible. |
| Invalid URL For Creative Destination: Creative must have a valid destination URL, and if attached object is page, destination must match page. |
| Ad Creation Limited By Daily Spend: The number of ads you can create in a given period of time has a limit determined by your daily spend level. Higher spend levels allow creation of more ads. Increase your daily spend limit or create fewer ads per time period. |
| Campaign Update Failed: Campaign {campaign_id}: {reason} |
| Campaign Creation Failed: {reason} |
| Targeting declined due to policy: Invalid ads targeting. The targeting spec was declined due to policy restrictions. |
| Not Allowed To Use View Tags: Only some partners are allowed to use view tags. Please verify that you are using an approved account. |
| Custom Audience Unavailable: The custom audience you're trying to use hasn't been shared with your ad account. Please create or choose a different custom audience, or ask the owner of the custom audience to let you use it. |
| The post does not belong to the specified Page: Post to be promoted does not belong to the Page specified. The post belongs to {otherDestination}; try using this as the destination or using a post that belongs to the specified Page. Specified Page: {destination}. |
| Custom Audience Has Been Deleted: Cannot use deleted custom audience. Please choose another audience. |
| Conversion Spec Needed: For ads pointing to an offsite location with a non-zero bid on actions, you must specify the conversion spec. |
| Invalid aggregation day for conversion data. The aggregation day must be larger than or equal to 1. |
| Adcreative Create Failed: The Adcreative Create Failed for the following reason: {reason} |
| Cannot Use Syndicated Audiences From Multiple Partners: When specifying partner-created custom audiences for an ad, all audiences must be from the same provider. |
| Failed to update the creative: Failed to update creative {id}. Failed for the following reason: {reason} |
| Ad Needs Exclusion Targeting: This ad cannot be created with the targeting spec you selected. Your ad has a conversion objective that users can only do once, so you must target the ad at those users who have not already converted. If you are using the Facebook API, consider including the following string in your targeting spec: {exclusion-targeting-spec}. |
| Invalid CPA Bid: The action type you selected is not allowed for Cost-Per-Action (CPA) bidding: '{action_type}'. Please change your optimization goal or switch your bid type to regular Optimized CPM. |
| This type of page post is not eligible to be promoted. {debug_info} |
| Conversion Tracking Pixel Permission Error: The conversion tracking pixel you're trying to use is owned by another user and hasn't been shared with you. Please use a tracking pixel that's been shared with you or create a new one. |
| Too many async requests |
| The new budget value is too low: The new budget value of {new_budget} is too low. The minimum acceptable is {minimum_budget}. |
| No supported fields were provided for updating the campaign |
| No supported fields were provided for updating the ad |
| Ad Update Failed {reason} |
| You must specify an object_id for this adcreative type (creative type 27) |
| There have been too many calls from this ad-account. Wait a bit and try again. |
| You have overlapping locations specified in the geo_locations field. Your broader option will override the narrower option, please remove one to proceed. |
| The promoted object is invalid: it could have been deleted or never existed. |
| The given prediction id in a reach and frequency campaign is not reserved. |
| The given reservation in a reach and frequency campaign is not finalized yet. |
| The given reservation in a reach and frequency campaign is already finalized |
| The prediction in a reach and frequency campaign is already reserved. |
| This indicates the operation fails for an unknown reason. |
| The given page types are not supported by the inventory manager. |
| A finalized prediction order can not be cancelled. You can create a new prediction or delete the campaign. |
| Conversion Spec Targets Invalid ID: You are targeting an ID in your conversion spec without admin permissions on that object. {debug_info} |
| This Promotion Can't Be Edited: This can't be edited because you promoted it from your Page. Find the post on your Page to pause, delete, or update budget for this promotion. |
| This Promotion Can't Be Edited: This can't be edited because you promoted it from your Page. Find the post on your Page to pause, delete, or update budget for this promotion. |
| Chiến lược giá thầu của bạn không hợp lệ. Các chiến lược giá thầu hiện có là |
| Bạn đang cố đặt chiến lược giá thầu trên một nhóm quảng cáo trong chiến dịch quảng cáo đã bật cài đặt tối ưu hóa ngân sách chiến dịch. Bạn không được phép đặt chiến lược giá thầu trên nhóm quảng cáo như vậy. Hãy gỡ chiến lược giá thầu trên nhóm quảng cáo của bạn hoặc tắt cài đặt tối ưu hóa ngân sách chiến dịch trên chiến dịch của bạn. Có hiệu lực kể từ phiên bản 3.0. |
| Bạn đang cố đặt chiến lược giá thầu trên một nhóm quảng cáo trong chiến dịch quảng cáo không sử dụng cách mua Đấu giá. Bạn không được phép đặt chiến lược giá thầu trên nhóm quảng cáo như vậy. Có hiệu lực kể từ phiên bản 3.0. |
| Yêu cầu giá thầu: bạn phải điền giới hạn giá thầu hoặc chi phí mục tiêu vào trường bid_amount. Đối với |
| Bạn không thể đặt giới hạn giá thầu trên các nhóm quảng cáo có chiến lược giá thầu là |
| Mục tiêu tối ưu hóa không khả dụng: Bạn không thể sử dụng mục tiêu tối ưu hóa đã chọn cho mục tiêu chiến dịch của mình. Vui lòng chọn một mục tiêu khác và chỉnh sửa chiến dịch của bạn. |
| Chúng tôi không cho phép tạo nhóm sản phẩm trống cho quảng cáo danh mục Advantage+. Vui lòng thêm sản phẩm vào danh mục của bạn và tạo nhóm chứa tối thiểu một sản phẩm. |
| Không thể tạo chiến dịch bằng tài khoản quảng cáo này. Để tạo chiến dịch Quảng cáo cộng tác, Nhà quảng cáo thương hiệu phải sử dụng một tài khoản quảng cáo riêng cho từng người bán mà họ cộng tác. Hãy đảm bảo bạn sử dụng một tài khoản quảng cáo riêng liên kết với người bán sở hữu phân khúc danh mục này. Có áp dụng giới hạn về khả năng sử dụng. |
| Không thể tạo chiến dịch bằng phân khúc danh mục này. Bạn không thể dùng tài khoản quảng cáo này để chạy quảng cáo cho phân khúc danh mục này. Doanh nghiệp đã tạo phân khúc danh mục này để một Nhà quảng cáo thương hiệu sử dụng trong Quảng cáo cộng tác. Hãy chọn một tài khoản quảng cáo khác hoặc dùng tài khoản quảng cáo này để chạy các chiến dịch bằng một danh mục sản phẩm. Có áp dụng giới hạn về khả năng sử dụng. |
| Bạn không thể chỉnh sửa pixel, sự kiện chuyển đổi, chuyển đổi tùy chỉnh hoặc tùy chọn tối ưu hóa cho một nhóm quảng cáo sau khi đăng nhóm quảng cáo đó. Để chạy nhóm quảng cáo với các thay đổi mà bạn muốn, hãy tạo nhóm quảng cáo mới. |
| Chiến dịch này chứa các tùy chọn không còn được sử dụng trong những chiến dịch có đối tượng dưới 18 tuổi trên toàn cầu, dưới 20 tuổi tại Thái Lan hoặc dưới 21 tuổi tại Indonesia. Hãy tăng độ tuổi tối thiểu của đối tượng hoặc gỡ tất cả tùy chọn nhắm mục tiêu ngoại trừ độ tuổi và vị trí là tỉnh/thành phố trở lên (không bao gồm mã bưu chính và Designated Marketing Area). |
| Chiến dịch này chứa các tùy chọn không còn được sử dụng trong những chiến dịch có đối tượng dưới 18 tuổi trên toàn cầu, dưới 20 tuổi tại Thái Lan hoặc dưới 21 tuổi tại Indonesia. Hãy tăng độ tuổi tối thiểu của đối tượng hoặc gỡ mục sau: Vị trí quảng cáo không dùng được. |
Chỉ nên tiến hành xử lý lỗi bằng Mã lỗi. Chuỗi Mô tả có thể thay đổi mà không cần thông báo trước.
Đây là thuộc tính có trong blob error_data
của lệnh gọi API bất kỳ dẫn đến lỗi xác thực. Thuộc tính này cho biết (các) trường nào bị lỗi đối với lỗi xác thực đó. Thuộc tính này có thể được dùng để báo lỗi theo ngữ cảnh, ví dụ: hiển thị lỗi ngay cạnh (các) trường bị lỗi trong GUI của một công cụ tạo quảng cáo.
blame_field_specs
là một mảng, trong đó mỗi thành phần trong mảng là một blame_field_spec
cho biết một trường của quy cách API này bị lỗi.
Bản thân blame_field_spec
cũng là một mảng, cho biết tên của trường bị lỗi và vị trí của trường này trong quy cách API chung được cung cấp.
{ "error":{ "type":"Exception", "message":"The budget for your Ad-Set is too low. It must be at least $1.00 per day.", "code":1487901, "is_transient":false, "error_data":{ "blame_field_specs":[ ["daily_budget"] ] } } }
Cho biết rằng trường daily_budget
của quy cách API này bị lỗi. Trong trường hợp này là mức ngân sách quá thấp.
"blame_field_specs":[ ["targeting_spec", "interested_in"], ["bid_info", "impressions"] ]
Cho biết rằng đã xảy ra lỗi liên quan đến trường phụ interested_in
trong trường targeting_spec
của quy cách API này. Lỗi đó cũng liên quan đến trường impressions
trong trường bid_info
của quy cách API này.