Skip to main content
The operations on Advertiser are similar to Network, in that the interface is fully idempotent, and the create and update commands both expect the full set of advertiser sites and users each time. You are not allowed to delete an advertiser if it has one or more campaigns.

Custom Data

Advertisers may have Custom Data Fields applied to them, which will be applied to calls originating through the advertiser. To apply Custom Data Values to an advertiser, the top level parameter custom_data should be assigned a hash with each pair’s key corresponding to a partner name. The value of the pair should be the value to be applied. For the following example, we would apply the value “Offline newspaper” to the Custom Data Field “channel”.
Endpoint: https://invoca.net/api/2022-08-01/<network_id>/advertisers/<advertiser_id_from_network>.json

Examples

Read all advertisers for this networkEndpoint:https://invoca.net/api/2022-08-01/<network_id>/advertisers.jsonFormat: application/jsonResponse Code: 200Response Body:

Examples

Read a single advertiserEndpoint:https://invoca.net/api/2022-08-01/<network_id>/advertisers/cFUyYnFHy.jsonFormat: application/jsonResponse Code: 200Response Body:

Examples

Delete a single advertiserEndpoint:https://invoca.net/api/2022-08-01/<network_id>/advertisers/cFUyYnFHy.jsonFormat: application/jsonResponse Code: 200Response Body:

Examples

Create an advertiser with usersEndpoint:https://invoca.net/api/2022-08-01/<network_id>/advertisers.jsonFormat: application/jsonRequest Body:
Response Body:Same as a GET response, includes all the advertiser properties.

Examples

Update a user from advertiserEndpoint:https://invoca.net/api/2022-08-01/<network_id>/advertisers/cFUyYnFHy.jsonFormat: application/jsonRequest Body:
Response Body:Same as a GET response, includes all the advertiser properties.
Last modified on September 22, 2026