Interruzione parzialeshare-external
Pixel installation or selection during ad set creation needed to create campaign
1

while creating adset using marketing API i am getting this error code: const adsetParams = { "campaign_id":fbCampagin.id, "name":"Adset", "optimization_goal":"APP_INSTALLS", "billing_event":"IMPRESSIONS", "bid_amount":1000, "daily_budget":"100000", "targeting":{"geo_locations":{"countries":["IN"]},"interests":[{"id":"6003285403725","name":"Education Technology"}]}, "start_time":"2024-07-11T20:00:00+0530", "status":"PAUSED", "access_token":adzai.facebook.access_token } FB.api(/v20.0/act_${adzai.facebook.adAccId}/adsets,'POST',adsetParams,function(res){ console.log(res) }) error_object: { "message": "Invalid parameter", "type": "OAuthException", "code": 100, "error_subcode": 1815430, "is_transient": false, "error_user_title": "No promotion object found", "error_user_msg": "Pixel installation or selection during ad set creation needed to create campaign.", "fbtrace_id": "AaoUj7Cir_7gJ1yajFlpKbE" }

Benedict
Chiesta circa 4 mesi fa
Risposta selezionata
1

APP_INSTALLS need promotion_object which include store_url and appi_id

11 luglio alle ore 12:12
Benedict