รายการต่อไปนี้คือรหัสข้อผิดพลาดที่ API ส่งกลับมา
รหัสข้อผิดพลาด | คำอธิบาย |
---|---|
| Negative-value error codes are internal Facebook errors. Check |
| An unknown error occurred |
| มีข้อผิดพลาดที่ไม่รู้จักเกิดขึ้น ข้อผิดพลาดนี้อาจเกิดขึ้น หากคุณตั้งค่า |
| Application request limit reached |
| Application does not have permission for this action |
| User request limit reached |
| Invalid parameter |
|
Unsupported post request. อาจเกิดข้อผิดพลาดนี้ขึ้นได้ หากไม่ได้เพิ่มโทเค็นการเข้าถึงเป็นผู้ใช้ระบบที่มีสิทธิ์การอนุญาตที่เหมาะสมลงในบัญชีโฆษณาที่เป็นเจ้าของกลุ่มเป้าหมายที่กำหนดเอง ตรวจสอบยืนยันบัญชีโฆษณาในตัวจัดการธุรกิจ และตรวจสอบยืนยันว่าผู้ใช้ระบบทั้งหมดจะปรากฏเป็น
|
|
Invalid parameter. หมวดหมู่ที่คุณเลือกไม่มีให้บริการอีกต่อไป เลิกใช้หมวดหมู่การกำหนดเป้าหมายตามพฤติกรรมหลายรายการแล้ว หากคุณลองใช้รายการเหล่านั้นเพื่อสร้างโฆษณา จะไม่สามารถส่งคำขอได้และจะส่งคืนข้อผิดพลาดนี้ ใช้การกำหนดเป้าหมายการค้นหา เพื่อดูหมวดหมู่ที่มีสำหรับการกำหนดเป้าหมาย |
|
Invalid parameter. ไม่รองรับชุดงานนี้ หากต้องการกำหนดความสามารถที่ถูกต้องให้กับบัญชีโฆษณานี้ คุณควรส่งงานที่เป็นชุดที่ระบุในการแมป โปรดดู API ตัวจัดการธุรกิจ, บทบาทที่อนุญาต |
| Session key invalid or no longer valid |
| Incorrect signature |
| Invalid OAuth 2.0 Access Token |
| Permission error |
| ยังไม่มีการยอมรับข้อกำหนดกลุ่มเป้าหมายที่กำหนดเอง: คุณจะต้องยอมรับในข้อกำหนดสำหรับกลุ่มเป้าหมายที่กำหนดเองก่อนจึงจะสามารถสร้างหรือแก้ไขกลุ่มเป้าหมายหรือชุดโฆษณาได้ โปรดดูที่ 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 |
| การตั้งค่าแอพการสตรีมรักษาความปลอดภัย URL โพสต์ที่สตรีมไม่อนุญาต URL ที่ระบุอย่างน้อยหนึ่งรายการ จะต้องตรงกับ URL เว็บไซต์หรือ URL ของ Canvas หรือโดเมนจะต้องเป็นโดเมนย่อยของหนึ่งในโดเมนแอพ อ่านเพิ่มเติมเกี่ยวกับการรักษาความปลอดภัยการเข้าสู่ระบบเพื่อเรียนรู้เพิ่มเติมเกี่ยวกับการตั้งค่าแอพที่เกี่ยวข้องกับการรักษาความปลอดภัย |
| 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. |
| กลยุทธ์การประมูลของคุณไม่ถูกต้อง กลยุทธ์การประมูลที่ใช้ได้ในปัจจุบันคือ |
| คุณพยายามกำหนดกลยุทธ์การประมูลให้ชุดโฆษณาในแคมเปญโฆษณาที่มีการเปิดใช้การปรับงบประมาณแคมเปญให้เหมาะสม ไม่อนุญาตให้กำหนดกลยุทธ์การประมูลในชุดโฆษณาดังกล่าว โปรดลบกลยุทธ์การประมูลในชุดโฆษณาของคุณ หรือปิดใช้การปรับงบประมาณแคมเปญให้เหมาะสมในแคมเปญของคุณ มีผลตั้งแต่เวอร์ชั่น 3.0 |
| คุณพยายามกำหนดกลยุทธ์การประมูลให้ชุดโฆษณาจากแคมเปญโฆษณาที่ไม่ได้ใช้การซื้อประเภทการประมูลราคา ไม่อนุญาตให้กำหนดกลยุทธ์การประมูลในชุดโฆษณาดังกล่าว มีผลตั้งแต่เวอร์ชั่น 3.0 |
| ต้องระบุจำนวนเงินราคาประมูล: คุณต้องระบุเพดานราคาประมูลหรือราคาเป้าหมายในช่อง bid_amount สำหรับ |
| คุณไม่สามารถกำหนดเพดานราคาประมูลในชุดโฆษณาที่ใช้กลยุทธ์การประมูล |
| ไม่สามารถเลือกเป้าหมายการปรับให้เหมาะสม: คุณไม่สามารถใช้เป้าหมายการปรับให้เหมาะสมที่เลือกไว้สำหรับวัตถุประสงค์แคมเปญของคุณได้ โปรดเลือกเป้าหมายอื่นและแก้ไขแคมเปญของคุณ |
| เราไม่อนุญาตการสร้างชุดสินค้าที่ว่างเปล่าสำหรับโฆษณาแค็ตตาล็อก Advantage+ โปรดเพิ่มสินค้าในแค็ตตาล็อกของคุณและสร้างชุดที่มีสินค้าอย่างน้อยหนึ่งรายการ |
| ไม่สามารถสร้างแคมเปญโดยใช้บัญชีผู้ใช้โฆษณานี้ หากต้องการสร้างแคมเปญโฆษณาร่วม ผู้ลงโฆษณาของแบรนด์จะต้องใช้บัญชีโฆษณาแยกกันสำหรับผู้ขายแต่ละรายที่เป็นพาร์ทเนอร์กับผู้ลงโฆษณา ตรวจสอบว่าคุณใช้บัญชีโฆษณาแยกกันซึ่งเชื่อมโยงกับผู้ขายที่เป็นเจ้าของกลุ่มสินค้าจากแค็ตตาล็อกนี้ มีความพร้อมใช้งานแบบจำกัด |
| ไม่สามารถสร้างแคมเปญโดยใช้ส่วนแค็ตตาล็อกนี้ คุณไม่สามารถใช้บัญชีโฆษณานี้เพื่อแสดงโฆษณาสำหรับส่วนแค็ตตาล็อกนี้ ธุรกิจได้สร้างส่วนแค็ตตาล็อกนี้สำหรับผู้ลงโฆษณาแบรนด์เพื่อใช้ในโฆษณาร่วม เลือกบัญชีโฆษณาอื่นหรือใช้บัญชีโฆษณานี้เพื่อแสดงแคมเปญโดยใช้แค็ตตาล็อกสินค้าแทน มีความพร้อมใช้งานแบบจำกัด |
| คุณไม่สามารถแก้ไขพิกเซล เหตุการณ์คอนเวอร์ชั่น คอนเวอร์ชั่นแบบกำหนดเอง หรือการปรับความเหมาะสมในชุดโฆษณาหลังจากที่มีการเผยแพร่แล้วได้ โปรดสร้างชุดโฆษณาใหม่หากต้องการเผยแพร่ชุดโฆษณาที่มีการปรับแก้ตามความต้องการของคุณ |
| แคมเปญนี้มีตัวเลือกที่ไม่สามารถใช้ในแคมเปญที่มีกลุ่มเป้าหมายอายุต่ำกว่า 18 ปีในระดับทั่วโลก อายุต่ำกว่า 20 ปีในประเทศไทย หรืออายุต่ำกว่า 21 ปีในอินโดนีเซียได้อีกต่อไป เพิ่มอายุขั้นต่ำของกลุ่มเป้าหมายหรือลบตัวเลือกการกำหนดเป้าหมายทั้งหมดออก ยกเว้นอายุและตำแหน่งที่เป็นเมืองหรือใหญ่กว่านั้น (ไม่รวมรหัสไปรษณีย์และ Designated Marketing Area) |
| แคมเปญนี้มีตัวเลือกที่ไม่สามารถใช้ในแคมเปญที่มีกลุ่มเป้าหมายอายุต่ำกว่า 18 ปีในระดับทั่วโลก อายุต่ำกว่า 20 ปีในประเทศไทย หรืออายุต่ำกว่า 21 ปีในอินโดนีเซียได้อีกต่อไป เพิ่มอายุขั้นต่ำของกลุ่มเป้าหมายหรือลบรายการต่อไปนี้: ตำแหน่งการจัดวางที่ใช้งานไม่ได้ |
ควรมีการจัดการข้อผิดพลาดโดยใช้รหัสข้อผิดพลาดเท่านั้น สตริงคำอธิบายสามารถเปลี่ยนแปลงได้โดยไม่จำเป็นต้องแจ้งให้ทราบล่วงหน้า
นี่เป็นคุณสมบัติที่รวมอยู่ใน Blob error_data
ของการเรียกใช้ API ทั้งหมดที่ส่งผลให้เกิดข้อผิดพลาดในการตรวจสอบความถูกต้อง ซึ่งบ่งชี้ว่าช่องใดบ้างที่เป็นต้นเหตุของข้อผิดพลาดในการตรวจสอบความถูกต้องนั้น ซึ่งอาจใช้บอกข้อผิดพลาดเชิงบริบทได้ เช่น การแสดงข้อผิดพลาดไว้ข้างช่องที่เกิดข้อผิดพลาดใน GUI ของเครื่องมือการสร้างโฆษณา
blame_field_specs
เป็นอาร์เรย์หนึ่งที่แต่ละองค์ประกอบของอาร์เรย์เป็น blame_field_spec
ซึ่งบ่งชี้ถึงช่องเดียวจากข้อมูลจำเพาะ API ที่มีข้อผิดพลาด
และ blame_field_spec
เองก็เป็นอาร์เรย์ด้วย ซึ่งจะระบุชื่อของช่องที่มีข้อผิดพลาดและตำแหน่งของช่องนี้ในข้อมูลจำเพาะ API ทั้งหมดที่ระบุไว้
{ "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"] ] } } }
แสดงว่าช่อง daily_budget
ของข้อมูลจำเพาะ API มีข้อผิดพลาด ซึ่งในกรณีนี้แสดงว่าค่าที่ตั้งไว้ต่ำเกินไป
"blame_field_specs":[ ["targeting_spec", "interested_in"], ["bid_info", "impressions"] ]
แสดงว่ามีข้อผิดพลาดที่เกี่ยวข้องกับช่องย่อย interested_in
ภายในช่อง targeting_spec
ของข้อมูลจำเพาะ API และข้อผิดพลาดดังกล่าวยังเกี่ยวข้องกับช่อง impressions
ภายในช่อง bid_info
ของข้อมูลจำเพาะ API ด้วยเช่นกัน