Sign in

Get Targeting Criteria

documented

List targeting criteria for an account.

GET /5/accounts/{account_id}/targeting_criteriaAds APIno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://ads-api.x.com/12/accounts/{{$account_id}}/targeting_criteria?line_item_ids={{$line_item_ids}}&count={{$count}}&cursor={{$cursor}}&lang={{$lang}}&sort_by={{$sort_by}}&targeting_criterion_ids={{$targeting_criterion_ids}}&with_deleted={{$with_deleted}}&with_total_count={{$with_total_count}}" \
  -X GET \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Accept: application/json"
Get Targeting Criteria · X · OpenIntegrations