cURL
curl --request POST \ --url https://public.plai.io/meta/search_targeting_locations \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "userId": "<string>", "query": "<string>" }'
{ "success": true, "results": { "success": true, "locations": [ { "key": "<string>", "name": "<string>", "region": "<string>", "country_name": "<string>", "type": "<string>", "country_code": "<string>", "region_id": 123, "supports_region": true, "supports_city": true } ], "error": "<string>" } }
This endpoint allows you to search for advertising target Locations based on search query. It helps in identifying relevant locations to improve the accuracy and effectiveness of ad targeting.
New York
Show Media Results
Show Location Items
city
subcity
neighborhood