Can't submit Facebook Ad with api, new error code Your ad is ineligible for News Feed targeting -


i having trouble submitting ad through facebook ads api, doing before.

it seems new problem has come up. api of course gives me generic error "invalid parameter" in past noted this comes reason ad creation fails , not tell specific. in different situation used curl facebook graph because noted give additional information. not more in case. note error message below code.

    curl -x post -f "name=ad administrator_15"  -f "campaign_id=xxxxxxxxxx995" -f "creative={'creative_id': xxxxxxxxxx795}" /  -f "adgroup_status=paused" / -f  "access_token={access_token}" / "https://graph.facebook.com/v2.2/act_{account_id}/adgroups" 

this error received

{"error":{"message":"invalid parameter","type":"facebookapiexception","code":100,"error_subcode":1487757,"is_transient":false,"error_user_title":"ad ineligible feed targeting","error_user_msg":"your ad ineligible news feed targeting."}} 

in checking on facebook ads error message page. error not listed, though many others are.

previously getting invalid parameter message api because had not put payment profile on ad account. used curl instead find out message. after creating ads fine. seems new problem.

if ask facebook directly. ask "hey can put descriptive error messages on failures developers can see how fix problems?" guess that's ask.

anyhow, may note here campain newly created api, adset, ad creative ad image, created fine recorded ids (i masked these ids in code shown here security reasons). when using these id's outside of api curl failure noted. here shows in api error trace.

invalid parameter   /var/www/turnkey/vendor/facebook/php-ads-sdk/src/facebookads/http/client.php(191): facebookads\http\exception\requestexception::create(array, 500) #1 /var/www/turnkey/vendor/facebook/php-ads-sdk/src/facebookads/http/request.php(276): facebookads\http\client->sendrequest(object(facebookads\http\request)) #2 /var/www/turnkey/vendor/facebook/php-ads-sdk/src/facebookads/api.php(140): facebookads\http\request->execute() #3 /var/www/turnkey/vendor/facebook/php-ads-sdk/src/facebookads/api.php(182): facebookads\api->executerequest(object(facebookads\http\request)) #4 /var/www/turnkey/vendor/facebook/php-ads-sdk/src/facebookads/object/abstractcrudobject.php(248): facebookads\api->call('/act_xxxxxxxx40...', 'post', array) #5 /var/www/turnkey/application/modules/ads/models/facebookadsapi.php(473): facebookads\object\abstractcrudobject->create() 

here thought, if anyone, including @ facebook since own site, tell me going on, appreciate it.

thanks in advance.

the facebook documented required length message body ad creative needs minimum length of 1 character , maximum length of 90 characters. before happen ads created. test content in title , body of ad. not approved if facebook did not content. such messages "test title, test body" , things this. facebook seems evaluating text on submission now, rather on ad approval. guess want cut down on unnecessary ad approvals. out updating documentation. seems there new requirements body field. , perhaps title field.

all did lengthen body of ad message 17 characters 38 characters. did 1 of 2 things. made field long enough pass new undocumented restriction, or, adding more words text decided wasn't test message.

here problem thinking on part though.

1 paying ad, should able put content want in it. long meaningful , doesn't violate obvious policies content such obscenity etc.

2 if it's length rather content. ad paying has 17 characters, should required longer if want short.


Popular posts from this blog