vendredi 27 mars 2015

Validate Facebook work position targeting IDs

Our Facebook Ad system uses work position in its targeting spec as documented here: http://ift.tt/1H6mbII


Sometimes Facebook deletes existing work positions and API requests to update the targeting spec fails:



{
"error":
{
"message": "Invalid parameter",
"type": "FacebookApiException",
"code": 100,
"error_subcode": 1487079,
"is_transient": false,
"error_user_title": "Invalid Targeting Spec",
"error_user_msg": "The specified targeting spec is not valid because: Job Titles with id 1542119359378854 is invalid."
}
}


The same happens with interest, but there is an API request to validate interests: http://ift.tt/1H6mcMV


Is there something similar for work positions? (Probably undocumented?)


I could do requests to the /search/ API endpoint, but then I'd run into API request limits.


Aucun commentaire:

Enregistrer un commentaire