Skip to main content
Search OpenAI Ads geo targets by name or postal code for campaign targeting. Returns at most 100 locations across all terms; check metadata for skipped or potentially truncated terms before treating a bulk lookup as complete.

Inputs

Output

Type: Dict Returns {metadata, locations} inside output.data. Location rows contain id, type, name, canonical_name, country_code, region_code, parent_country, parent_id, and search_term. Metadata contains partial, warning, limit, returned_count, searched_terms, skipped_terms, and potentially_truncated_terms; partial also flags possible API truncation, not just skipped terms. Fields: dynamic (depend on the inputs) Example: