Tracking Links

Generate a Tracking Link

Creates a new tracking link for a specified media partner within a given program.

post/Advertisers/{AccountSID}/Programs/{ProgramId}/TrackingLinks

Request

Path parameters

AccountSIDstring required

Your unique Account SID.

ProgramIdinteger required

The unique identifier for the program (campaign).

Query parameters

MediaPartnerIdinteger required

The unique identifier for the media partner who will be assigned the tracking link.

Request body application/x-www-form-urlencoded

Type'Regular' | 'Vanity'

The type of tracking link to generate.

CustomPathstring

A custom path for the link, used when Type is 'Vanity'.

AdIdinteger

The unique identifier for the ad to associate with this link.

DeepLinkstring uri

A specific URL to redirect the user to, overriding defaults.

MediaPartnerPropertyIdinteger

The ID of the partner's specific media property where the link will be used.

Response

The tracking link was generated successfully.

TrackingURLstring uri

The generated tracking link.

Changes

No recorded changes to this operation across all 1 revision of this API.