Facebook Marketing API connections: exclude people -
so on ads manager under connections, gives choice exclude people used app way avoid showing ads current users.
the marketing api in doc says can set targeting spec: 'app_install_state' can set 'installed' or 'not_installed' , quote facebook
must used in conjunction promoted_object @ adset level
i have tried adding $targeting object adding on adset level. when go view ad set in ad manager on facebook connections part still unchanged.
'name' => 'test ad set', 'billing_event' => 'app_installs', 'optimization_goal' => 'app_installs', 'campaign_status' => "paused", 'daily_budget' => 5000, 'bid_amount' => 10, 'campaign_group_id' => $id, 'targeting' => json_encode($targeting), $targeting = array( 'geo_locations' => array( 'countries' => array('us'), ), 'page_types' => array('mobilefeed'), 'user_os' => array('android'), 'app_install_state' => 'not_installed', );
also tried moving app_install_state outside of targeting array adset level.
Comments
Post a Comment