Advantage Detailed Targeting

For more information about Advantage Detailed Targeting, see Help Center: About Advantage detail targeting.

Note: Campaigns with supported objectives are not enabled by default.

  • To opt in, set the targeting_optimization parameter to expansion_all.
  • To opt out, set the targeting_optimization parameter to none.

If you use the targeting_optimization parameter for an unsupported objective, you will see an error.

Example

curl \
  -F "name=relaxation null test" \
  -F "promoted_object={'application_id': '<APP_ID>', 'object_store_url': 'https://itunes.apple.com/app/id1111111'}" \
  -F "is_autobid=true" \
  -F "daily_budget=100" \
  -F "billing_event=LINK_CLICKS" \
  -F "campaign_id=<CAMPAIGN_ID>" \
  -F "access_token=<ACCESS_TOKEN>" \
  -F "targeting={'geo_locations': {'countries': ['US', 'GB']}, 'user_os': ['iOS'], 'user_device': ['iPad', 'iPhone', 'iPod'], 'targeting_optimization': 'expansion_all'}" \
  https://graph.facebook.com/v21.0/act_<AD_ACCOUNT_ID>/adsets