Meta Ads icon

Meta Ads

Access Meta Ads Marketing API

Actions20

Ad Set → Get Many

AI-generated

Summary

Retrieve multiple ad sets from a specified Meta Ads ad account, optionally limiting the number of results returned.

Inputs

  • Ad Account ID (required) — The numeric ID of the Meta Ads ad account (exclude the 'act_' prefix).
  • Return All — Whether to retrieve all ad sets or just up to the specified limit.
  • Limit — The maximum number of ad sets to return when not returning all (default 50, max 100).

Output shape

a list of ad set objects as returned by the Meta Ads Marketing API

If 'Return All' is true, all ad sets for the account are retrieved. If false, up to the defined 'Limit' number of ad sets are returned. Results directly reflect the API response format.

Links

Discussion