get https://api.kevel.co/v1/ad//tracking-urls
This returns the StaticClickUrl
for tracking clicks with the ad, as well as a ImpressionPixelUrl
for tracking impressions. This is most useful for static text link ads (adTypeId 20) that cannot be served by JavaScript ad code or the Decision API.
Note
Static text links no longer expire and will continue to be live.
The response returns an object containing the ad ID, the static click url, and the impression pixel url.
Important
If an ad is deactivated (
IsActive
is set tofalse
), no impression or click URLs can be generated. You will receive the error{"message":"This ad is not active."}
if you attempt to generate URLs for an inactive ad.