L'API restituisce i codici di errore seguenti:
Codice di errore | Descrizione |
---|---|
| Negative-value error codes are internal Facebook errors. Check |
| An unknown error occurred |
| Si è verificato un errore sconosciuto. Questo errore potrebbe verificarsi se imposti |
| Application request limit reached |
| Application does not have permission for this action |
| User request limit reached |
| Invalid parameter |
|
Unsupported post request. Questo errore potrebbe verificarsi se il tuo token d'accesso non viene aggiunto come utente di sistema con autorizzazioni appropriate all'account pubblicitario proprietario del pubblico personalizzato. Verifica l'account pubblicitario in Business Manager e assicurati che tutti gli utenti di sistema vengano visualizzati nell'account pubblicitario come
|
|
Invalid parameter. La categoria selezionata non è più disponibile. Diverse categorie di targetizzazione basate sul comportamento sono diventate obsolete. Se provi a usarle per creare inserzioni, le richieste non vanno a buon fine e viene restituito questo errore. Usa Ricerca targetizzazione per vedere le categorie disponibili per la targetizzazione. |
|
Invalid parameter. Questa combinazione di attività non è supportata. Per assegnare un utente per le funzionalità valide di questo account pubblicitario devi fornire una combinazione di attività definite nella mappatura. Consulta API Business Manager, Ruoli consentiti. |
| Session key invalid or no longer valid |
| Incorrect signature |
| Invalid OAuth 2.0 Access Token |
| Permission error |
| Condizioni pubblico personalizzato non accettate: prima di poter creare o modificare un pubblico o un gruppo di inserzioni, devi accettare le condizioni per il pubblico personalizzato. Consulta Facebook, Condizioni per il pubblico personalizzato |
| 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 |
| Uno o più degli URL specificati non sono consentiti dall'impostazione dell'app di sicurezza URL dei post Stream. Deve corrispondere all'URL del sito web o all'URL dell'unità Canvas o il dominio deve essere un sottodominio di uno dei domini dell'app. Visita Protezione degli accessi per maggiori informazioni sulle impostazioni dell'app relative alla protezione. |
| 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. |
| La tua strategia di offerta non è valida. Le strategie di offerta attualmente disponibili sono |
| Stai tentando di impostare una strategia di offerta su un gruppo di inserzioni in una campagna pubblicitaria in cui è attivata l'ottimizzazione del budget della campagna. L'impostazione della strategia di offerta su un gruppo di inserzioni di questo tipo non è consentita. Rimuovi la strategia di offerta sul gruppo di inserzioni o disabilita l'ottimizzazione del budget della campagna. In vigore a partire dalla 3.0. |
| Stai tentando di impostare una strategia di offerta su un gruppo di inserzioni in una campagna pubblicitaria che non utilizza il tipo di acquisto Asta. L'impostazione della strategia di offerta su un gruppo di inserzioni di questo tipo non è consentita. In vigore a partire dalla 3.0. |
| Importo dell'offerta richiesto: devi fornire un limite di offerta o un costo desiderato nel campo bid_amount. Per |
| Non puoi impostare un limite di offerta sui gruppi di inserzioni con strategia di offerta |
| L'obiettivo di ottimizzazione non è disponibile: non puoi utilizzare l'obiettivo di ottimizzazione selezionato per l'obiettivo della tua campagna. Seleziona un obiettivo diverso e modifica la campagna. |
| Non è consentita la creazione di insiemi di prodotti vuoti per le inserzioni del catalogo Advantage+. Aggiungi prodotti al tuo catalogo e crea un insieme che contenga almeno un prodotto. |
| Impossibile creare una campagna usando questo account pubblicitario. Per creare campagne con inserzioni collaborative, gli inserzionisti del brand devono utilizzare un account pubblicitario separato per ciascun venditore di cui sono partner. Assicurati di utilizzare un account pubblicitario separato, associato al venditore che è titolare di questo segmento del catalogo. Soggetto a disponibilità limitata. |
| Impossibile creare una campagna usando questo segmento del catalogo. Non puoi utilizzare questo account pubblicitario per pubblicare inserzioni per questo segmento di catalogo. L'azienda ha creato questo segmento di catalogo per essere utilizzato da un inserzionista del brand in inserzioni collaborative. Scegli un altro account pubblicitario o utilizza questo account pubblicitario per pubblicare campagne con un catalogo prodotti. Soggetto a disponibilità limitata. |
| Una volta pubblicato un gruppo di inserzioni, non puoi modificarne il pixel, l'evento di conversione, la conversione personalizzata o l'ottimizzazione. Per eseguire un gruppo di inserzioni con le modifiche desiderate, crea un nuovo gruppo di inserzioni. |
| Questa campagna contiene opzioni che non possono più essere usate nelle campagne con gruppi di pubblico di età inferiore a 18 anni a livello globale, a 20 anni in Thailandia o a 21 anni in Indonesia. Aumenta l'età minima del tuo pubblico o rimuovi tutte le opzioni di targetizzazione eccetto l'età e i luoghi che sono città o di dimensioni maggiori (esclusi il codice postale e la Designated Marketing Area). |
| Questa campagna contiene opzioni che non possono più essere usate nelle campagne con gruppi di pubblico di età inferiore a 18 anni a livello globale, a 20 anni in Thailandia o a 21 anni in Indonesia. Aumenta l'età minima del tuo pubblico o rimuovi quanto segue: posizionamenti non disponibili. |
La gestione degli errori deve essere effettuata solo usando i codici di errore. La stringa Descrizione è soggetta a modifiche senza preavviso.
Questa proprietà inclusa nel blob error_data
di qualsiasi chiamata API che crea un errore di convalida indica i campi a cui è collegato l'errore di convalida. Può essere usata per indicare errori contestuali (ad es. la visualizzazione di un errore accanto ai campi con errore nell'interfaccia utente grafica di uno strumento di creazione delle inserzioni).
blame_field_specs
è un array in cui ogni elemento è un blame_field_spec
che indica un singolo campo con errore della specifica API.
Un blame_field_spec
è esso stesso un array che indica il nome del campo con errore e la relativa posizione all'interno della specifica API complessiva fornita.
{ "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"] ] } } }
Indica che il campo daily_budget
della specifica API è errato (in questo caso era troppo basso).
"blame_field_specs":[ ["targeting_spec", "interested_in"], ["bid_info", "impressions"] ]
Indica la presenza di un errore correlato al sottocampo interested_in
nel campo targeting_spec
della specifica API. L'errore è anche correlato al campo impressions
nel campo bid_info
della specifica API.