Actions31
- Facebook Group Actions
- Facebook Marketplace Actions
- Facebook Media Actions
- Facebook Page Actions
- Facebook Post Actions
- Facebook Search Actions
- Meta Ads Library Actions
Meta Ads Library → Get Supported Countries
AI-generatedSummary
Retrieves a list of supported country codes for the Meta Ads Library.
Inputs
- batchSize — Input will be split in batches to throttle requests. -1 for disabled. 0 will be treated as 1.
- batchInterval — Time (in milliseconds) between each batch of requests. 0 for disabled.
- allowUnauthorizedCerts — Whether to accept the response even if SSL certificate validation is not possible.
- proxy — HTTP proxy to use. If authentication is required it can be defined as follow: http://username:password@myproxy:3128
- timeout — Time in ms to wait for the server to send response headers (and start the response body) before aborting the request
Output shape
array of country code strings
May be empty; list of supported ISO country codes.
Examples
Example 1: Validate target markets before launching ads
Select Resource = Meta Ads Library, Operation = Get Supported Countries, optionally set timeout to 15000 ms.
Example 2: Filter ad sets by supported country
After retrieving the country list, use it to restrict ad targeting parameters.
Example 3: Check if a specific country code is supported
Lookup the returned array for the desired ISO code to confirm eligibility.