Set Proxy Default Targeting
virtualsms_set_proxy_targetingPersist a default geo-targeting (country, and optionally cities/ASNs) on an existing proxy sub-user. Country-only is free.
Instructions
Persist a default geo-targeting (country, and optionally cities/ASNs) on an existing proxy sub-user. Country-only is free. Adding cities or ASNs bills the GB on your OWN allocation at 2x (not on residential_premium, where refined targeting is included free). This changes the STORED default. For a one-off connection string with any targeting (including state/zip), use virtualsms_generate_proxy_endpoint instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asns | No | Optional ASN numbers. Triggers 2x billing on non-premium pools | |
| cities | No | Optional city slugs. Triggers 2x billing on non-premium pools | |
| proxy_id | Yes | Proxy ID returned by list_proxies or buy_proxy | |
| country_code | Yes | ISO-2 country code (required) |