# How do I target a country, city or ISP with MENA Proxies?

> Pick one of 14 MENA countries, a city or an ISP (ASN) in the MENA Proxies username or generator; ASN targeting costs nothing extra.

- URL: https://menaproxies.com/help/target-a-country-city-or-isp/
- Last updated: 2026-11-13
- Publisher: MENA Proxies (https://menaproxies.com)

**Quick answer — How do I target a country, city or ISP with MENA Proxies?**

Add the location to the proxy username, or pick it in the Proxy generator. **MENA Proxies** reads country-ae for the UAE, then optional city and asn segments, across 14 countries from Morocco to Oman. City targeting works only where home IPs are online at that moment, and ASN targeting costs nothing extra on every plan.

**In brief**

- **Format**: USERNAME-country-{cc}-city-{city}-asn-{asn}-session-{id}-ttl-{minutes}; every segment after USERNAME is optional.
- **Countries**: 14 two-letter codes, lower case, such as ae, sa, eg and ma.
- **City**: lower-case ID with an underscore for spaces, such as abu_dhabi; availability changes through the day.
- **ISP**: an ASN number, such as asn-5384 for e& in the UAE, at no extra cost.
- **Generator**: Country, City and Internet provider (ISP) fields write the username for you, list included.

## Which country codes does MENA Proxies accept?

**MENA Proxies counted 14 country codes in its username format, each with its own coverage page.** Codes follow ISO 3166-1 and are written in lower case in the username.

*The 14 MENA Proxies country codes, with sample city IDs*

| Country | Code | Sample city IDs |
| --- | --- | --- |
| United Arab Emirates | ae | dubai, abu_dhabi, sharjah |
| Saudi Arabia | sa | riyadh, jeddah, dammam |
| Qatar | qa | doha |
| Kuwait | kw | check the generator |
| Bahrain | bh | check the generator |
| Oman | om | check the generator |
| Israel | il | check the generator |
| Jordan | jo | amman |
| Iraq | iq | check the generator |
| Lebanon | lb | beirut |
| Egypt | eg | cairo, alexandria, giza |
| Morocco | ma | casablanca, rabat |
| Algeria | dz | check the generator |
| Tunisia | tn | check the generator |

City IDs exist only while home IPs are online there; the generator lists the cities available when you open it.

## How do you write the targeting in the username?

**Start from your proxy username and add the segments you need, in the order country, city, asn, session, ttl, each as a key and a value joined by dashes.** A segment you leave out simply means any location at that level: no country segment draws from every country the plan covers.

Values are lower case. A space or a dash inside a value becomes an underscore, because the dash already separates the segments: Abu Dhabi is written abu_dhabi. Characters other than letters, digits and underscores are dropped by the generator. The password does not change with the targeting; only the username does, so one login can serve several locations at the same time.

The sticky session segments are covered on [connect and generate proxies](https://menaproxies.com/help/connect-and-generate-proxies/ "How do I connect to MENA Proxies and generate a proxy list?"). They combine freely with the location: a sticky session in Cairo on one ISP is a single username.

*Four usernames, from country only to country, city, ISP and session*

```text
USERNAME-country-sa
USERNAME-country-ae-city-dubai
USERNAME-country-ae-asn-5384
USERNAME-country-eg-city-cairo-session-q7w2e9r1-ttl-15
```

## Why is a city sometimes unavailable?

**A residential exit is someone's home connection, so a city is targetable only while devices in that city are online in the pool.** Large cities such as Dubai, Riyadh, Jeddah, Cairo or Casablanca usually have addresses most of the day; smaller cities can drop out at night or during a local outage.

The generator shows the cities of the chosen country as it opens. When a country has none listed, the City field reads "City targeting isn't available in this country yet". Country targeting keeps working whenever the country has IPs online.

MENA Proxies publishes no IP count per country or city: the generator's lists of cities and providers, loaded when the tab opens, are the working guide. For a city-level job, read the list first, keep a country-only fallback in your script, and retry with the country when the city returns no IP. Traffic is only counted when requests pass through the gateway, so a failed attempt that never reaches the target costs nothing.

## How do you pick one internet provider?

**Add asn followed by the provider's autonomous system number, for example USERNAME-country-ae-asn-5384 for e& in the UAE, or choose it under Internet provider (ISP) in the generator.** ASN targeting is included on every plan, with no surcharge per GB.

An ASN is the number a network uses on the internet's routing table, so it identifies the provider behind an IP more reliably than a name. Targeting it is useful when a site's behaviour differs between fixed-line and mobile operators, or when a test must match the network most local customers use.

The generator's provider list holds the networks currently online in the chosen country; "Any provider" leaves the choice to the pool. As with cities, availability per ASN varies through the day, and a narrow combination of city and ASN returns fewer addresses than either alone. Country pages, such as [Saudi Arabia](https://menaproxies.com/residential-proxies/saudi-arabia/ "Which residential proxies work in Saudi Arabia?"), describe the main networks of each market.

## How do you set the location in the generator?

The Proxy generator tab writes the targeting for you, using the exact format of the gateway.

1. **Open the plan** — In Residential (/app/residential), open the plan and the Proxy generator tab.
2. **Choose the Country** — Type or pick a country; the hint says your plan covers the countries in the list. "Any country" removes the segment.
3. **Add a City if needed** — Pick a city from the list, or keep "Any city" for the largest choice of addresses.
4. **Add an Internet provider (ISP) if needed** — Pick one provider to get IPs from its network only, or keep "Any provider".
5. **Check the first username** — The "Username of the first line" field shows the result, for tools that ask for username and password separately. Run "Test it" to see the exit location.

## How do you confirm the exit location?

**Run the test command under the list: it calls an IP information service through the proxy and prints the exit IP, the country, the city and the network.** IP databases disagree at city level, so a Riyadh exit may be placed in a nearby city by one service and correctly by another; the country and the ASN are the solid checks.

For a full method with several databases and what each one reads, follow [verify a proxy's location](https://menaproxies.com/guides/verify-proxy-location/ "How do I check where a proxy IP is located?"). Each country page, like the one for the [United Arab Emirates](https://menaproxies.com/residential-proxies/united-arab-emirates/ "Which residential proxies work in the UAE?"), lists its common networks and cities. Banking, government and payment-portal sites are blocked whatever the location chosen.

## Frequently asked questions

### Does MENA Proxies charge extra for city or ISP targeting?

No. MENA Proxies includes country, city and ASN targeting on every residential plan, from the 1 GB plan at $1.88 upward; only traffic is billed.

### Which countries can I target with MENA Proxies?

Fourteen: the UAE, Saudi Arabia, Qatar, Kuwait, Bahrain, Oman, Israel, Jordan, Iraq, Lebanon, Egypt, Morocco, Algeria and Tunisia. MENA Proxies writes each as a two-letter lower-case code.

### Why does my MENA Proxies city target return no IP?

No home device in that city is online in the pool at that moment. MENA Proxies suggests dropping the city segment and targeting the country, or trying again later.

### Can one MENA Proxies login target several countries at once?

Yes. MENA Proxies reads the targeting from each username, so the same password works with country-ae on one line and country-eg on the next.

### Is city targeting reliable for MENA Proxies' smaller markets?

It depends on how many homes are online. MENA Proxies shows the cities available in the generator when you open it, so check the list before a city-level run.

**Verdict**

- **Target the country first and add a city or ASN only when the job needs it**: each narrower segment shrinks the set of addresses.
- **Use the generator for city and ISP lists**: it shows what is online now among the 14 countries and writes the username correctly.

**Pick a location in the generator** Country, city and ISP targeting on every plan, from $1.88 for 1 GB. [Open Residential](https://menaproxies.com/app/residential?from=help-target-a-country-city-or-isp&lang=en) · [Buy 10 GB](https://menaproxies.com/app/checkout/?plan=res-10&product=residential&from=help-target-a-country-city-or-isp&lang=en)

---

MENA Proxies: MENA Proxies is a residential proxy provider for the Middle East and North Africa, paid in crypto with no ID upload: rotating home IPs with country targeting in the UAE, Saudi Arabia, Qatar, Egypt, Morocco and 9 more countries, billed per GB.
