Updates landing URLs for multiple banners in a single request.
Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/banners/urls.do
Updates landing URLs for multiple banners in a single request. The request body must contain a JSON array of {id, url} objects mapping banner IDs to their new landing URLs. Each URL is validated before saving (a scheme and a host are required). The response lists the banners saved in 'updated' and every refused one in 'failures' as {id, error} (error: 'invalid_url', 'no_url_property_found', 'permission_denied', 'not_found', 'deleted', 'banner_file_missing', 'not_saved'), with an overall success flag. The older per-banner keys are still sent. An entry without an id is refused with 400 and nothing changes.
Body
A JSON body. An example, built from the field definitions:
using var client = new HttpClient();
var request = new HttpRequestMessage(new HttpMethod("POST"), "https://YOUR-NETWORK-DOMAIN/rest-api/banners/urls.do");
request.Headers.Add("X-Api-Key", "YOUR_API_KEY");
request.Content = new StringContent("[{\"url\":\"https://advertiser.example.com/landing-page\",\"id\":\"5001\"}]", Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
Console.WriteLine(await response.Content.ReadAsStringAsync());