Los siguientes son los códigos de error que devuelve la API:
Código de error | Descripción |
---|---|
| Negative-value error codes are internal Facebook errors. Check |
| An unknown error occurred |
| Ocurrió un error desconocido. Este error puede ocurrir si defines el parámetro |
| Application request limit reached |
| Application does not have permission for this action |
| User request limit reached |
| Invalid parameter |
|
Unsupported post request. Este error puede ocurrir si el token de acceso no se agrega como un usuario del sistema con los permisos adecuados a la cuenta publicitaria que es propietaria de un público personalizado. Verifica la cuenta publicitaria en el administrador comercial y comprueba que todos los usuarios del sistema aparezcan como
|
|
Invalid parameter. La categoría que seleccionaste ya no está disponible. Varias categorías de segmentación basadas en comportamientos se dejaron de utilizar. Si tratas de usarlas para crear anuncios, la solicitud falla y devuelve este error. Usa la Búsqueda de segmentación para ver las categorías disponibles. |
|
Invalid parameter. No se admite esta combinación de tareas. Si quieres asignar un usuario para las funciones válidas de esta cuenta publicitaria, debes proporcionar una combinación de tareas definida en la asignación. Consulta API del administrador comercial, Roles permitidos. |
| Session key invalid or no longer valid |
| Incorrect signature |
| Invalid OAuth 2.0 Access Token |
| Permission error |
| Condiciones de los públicos personalizados no aceptadas: para poder crear o editar un público o un conjunto de anuncios, antes debes aceptar las condiciones de los públicos personalizados. Consulta Facebook, Condiciones de los públicos personalizados. |
| 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 |
| La configuración de la app de seguridad de URL de publicaciones de stream no admite una o varias de las URL proporcionadas. Debe coincidir con la URL del sitio web o la URL de Canvas, o el dominio debe ser un subdominio de uno de los dominios de la app. Obtén más información sobre la seguridad del inicio de sesión para aprender más sobre las configuraciones de apps relacionadas con la seguridad. |
| 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. |
| Tu estrategia de puja no es válida. Las estrategias de puja disponibles actualmente son |
| Estás intentando configurar una estrategia de puja para un conjunto de anuncios de una campaña de anuncios con la opción de optimización del presupuesto de la campaña habilitada. No se permite configurar una estrategia de puja en ese tipo de conjunto de anuncios. Elimina la estrategia de puja del conjunto de anuncios o deshabilita la optimización del presupuesto de campaña de la campaña. Vigente desde la versión 3.0. |
| Estás intentando configurar una estrategia de puja en un conjunto de anuncios de una campaña de anuncios que no usa el tipo de compra por subasta. No se permite configurar una estrategia de puja en ese tipo de conjunto de anuncios. Vigente desde la versión 3.0. |
| Se requiere un importe de puja: debes proporcionar un límite de puja o un costo objetivo en el campo bid_amount. Para |
| No puedes configurar un límite de puja en conjuntos de anuncios con estrategia de puja |
| El objetivo de optimización no está disponible: no puedes usar el objetivo de optimización seleccionado para el objetivo de tu campaña. Selecciona un objetivo diferente y edita tu campaña. |
| No permitimos la creación de conjuntos de productos vacíos para los anuncios del catálogo Advantage+. Agrega productos a tu catálogo y crea un conjunto que contenga al menos un producto. |
| No es posible crear una campaña con esta cuenta publicitaria. Para crear campañas de anuncios colaborativos, los anunciantes de marcas deben usar una cuenta publicitaria distinta por cada vendedor con el que se asocian. Asegúrate de usar una cuenta publicitaria independiente asociada con el vendedor propietario del segmento del catálogo. La disponibilidad es limitada. |
| No es posible crear una campaña con este segmento de catálogo. No puedes usar esta cuenta publicitaria para poner anuncios en circulación para este segmento de catálogo. El negocio creó este segmento de catálogo para que un anunciante de marca lo use en anuncios colaborativos. Selecciona otra cuenta publicitaria o usa esta para poner en circulación campañas con un catálogo de productos. La disponibilidad es limitada. |
| No puedes editar tu píxel, evento de conversión, conversión personalizada ni optimización para un conjunto de anuncios una vez que el conjunto de anuncios esté publicado. Para poner en circulación un conjunto de anuncios con tus cambios deseados, crea un conjunto nuevo. |
| Esta campaña contiene opciones que ya no se pueden usar en campañas con público menor de 18 años a nivel global, de 20 en Tailandia o de 21 en Indonesia. Aumenta la edad mínima de tu público o elimina todas las opciones de segmentación, salvo la edad y las ubicaciones que sean ciudades o áreas más grandes (sin incluir el código postal ni el área de marketing designada). |
| Esta campaña contiene opciones que ya no se pueden usar en campañas con público menor de 18 años a nivel global, de 20 en Tailandia o de 21 en Indonesia. Aumenta la edad mínima de tu audiencia o elimina lo siguiente: Ubicaciones no disponibles. |
La administración de errores se debe efectuar usando únicamente los códigos de error. La cadena Descripción está sujeta a cambios sin previo aviso.
Esta propiedad se incluye en el blob error_data
de cualquier llamada a la API que devuelva un error de validación e indica los campos incorrectos. Se puede usar para proporcionar errores contextuales; por ejemplo, mostrar un error junto a los campos incorrectos en la interfaz gráfica de usuario de una herramienta de creación de anuncios.
blame_field_specs
es una matriz, donde cada elemento es un valor de blame_field_spec
que indica un campo individual de la especificación de la API incorrecta.
Una blame_field_spec
también es una matriz, que indica el nombre del campo incorrecto y la ubicación del campo en la especificación general de la API proporcionada.
{ "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 que el campo daily_budget
de la especificación de la API no es correcto (en este caso, el valor es demasiado bajo).
"blame_field_specs":[ ["targeting_spec", "interested_in"], ["bid_info", "impressions"] ]
Indica que hay un error relacionado con el subcampo interested_in
dentro del campo targeting_spec
de la especificación de la API, y el error también se relaciona con el campo impressions
dentro del campo bid_info
de la especificación de la API.