Get Ad Tracking Pixel and ClickURL

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.



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.



If an ad is deactivated (IsActive is set to false), 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.