Returns available mobile carrier names for mobile carrier targeting, grouped by country code.
Reference
GET https://YOUR-NETWORK-DOMAIN/rest-api/targeting/mobile-carrier/bycountry/values.do
Returns available mobile carrier names for mobile carrier targeting, grouped by country code. If a country code is provided, only carriers for that country are returned; otherwise all carriers grouped by country are returned. The response is a JSON object with country codes as keys and arrays of carrier names as values. Requires MANAGE_DEMAND_TARGETING permission.
Query Params
countryCodestring
Optional ISO country code to filter mobile carriers by country (e.g., US, GB, DE), under the name the other targeting value operations use
US
countrystring
The same filter under its older name; countryCode wins when both are sent
using var client = new HttpClient();
var request = new HttpRequestMessage(new HttpMethod("GET"), "https://YOUR-NETWORK-DOMAIN/rest-api/targeting/mobile-carrier/bycountry/values.do?countryCode=US&country=US");
request.Headers.Add("X-Api-Key", "YOUR_API_KEY");
var response = await client.SendAsync(request);
Console.WriteLine(await response.Content.ReadAsStringAsync());