Api Model:OfferUrl

From HasOffers

Contents

Required Parameters

  • id
    • Values: (int)
  • offer_id - Id of offer
    • Values: (int)
  • name - Name of URL
    • Values: (int)
  • preview_url - URL that often skips any geo-targeting or other re-targeting implemented on the offer_url. Allows users to view sample landing page for the offer_url.
    • Values: (string)
  • offer_url - Url to redirect all tracking links for the offer URL.
    • Values: (string)

Other Optional Parameters

  • status - Default 'active'.
    • Values: active, deleted

Additional Return Parameters

Read only parameters return with each object.

  • created - Date / time object was created.
    • Values: (timestamp)
  • modified - Date / time object was last modified.
    • Values: (timestamp)
  • shared - Flag to determined whether the offer URL is from an offer the Offer Exchange.
    • Values: 0, 1

Dynamic Offer URL Variables

Optional variables that can be included in the offer_url and replaced before redirection.

  • Affiliate ID - Include {affiliate_id} and it will be replaced by the ID of the Affiliate promoting the offer.
  • Affiliate Sub ID - Include {aff_sub} and it will be replaced by the value of Affiliate Sub ID passed in via an affiliate tracking link.
  • Affiliate Source - Include {source} and it will be replaced by the value of Affiliate Source passed in via an affiliate tracking link.
  • Offer ID - Include {offer_id} and it will be replaced by the ID of the Offer.
  • Offer URL ID - Include {offer_url_id} and it will be replaced by the ID of the Offer URL used.
  • Advertiser ID - Include {advertiser_id} and it will be replaced by the ID of the Advertiser of the offer.
  • Country Code - Include {country_code} and it will be replaced by the user\'s country code (ISO 2-letter code, i.e. US).
  • Custom Variables - Include {params} if the Custom Variables option above is enabled. {params} will be replaced by the extra variables passed by the Affiliate into the affiliate tracking link.
  • Transaction ID - Include {transaction_id} to send a unique transaction number to the Advertiser. Use this when trying to verify individual leads or when server response tracking is required.
  • Offer Reference ID - Include {offer_ref} and it will be replaced by the Reference ID of the offer.
  • Affiliate Reference ID - Include {affiliate_ref} and it will be replaced by the Reference ID of the Affiliate promoting the offer.
  • Advertiser Reference ID - Include {advertiser_ref} and it will be replaced by the Reference ID of the Advertiser of the offer.

 
Email this page to a friend or co-worker