An Offer.
Name | Type | Description |
---|---|---|
allow_direct_links | Boolean | If enabled, Affiliates are allowed to link directly to the Offer website without using a tracking link. Instead the Affiliate ID is included in the direct link and Javascript code will track the click when user lands on the page. For more information, see: https://support.hasoffers.com/entries/21691503-Direct-Links |
allow_website_links | Boolean | If enabled, Affiliates are allowed to pull links from the Offer website and redirect their tracking links to specific pages. For more information, see: https://support.hasoffers.com/hc/en-us/articles/202266853-Affiliate-Tracking-Links#website-links |
conversion_cap | Integer | Maximum number of conversions allowed per day for this Offer. If value is set to "0" then there is no cap; note: Some Networks may choose to use this feature but this field is not present by default. |
currency | Nullable String | The 3-character currency symbol for this Offer. Some Networks allow for individual Offers to use different currencies. If NULL, this Offer uses the default Network currency. |
default_goal_name | Nullable String | If the Offer has Goals enabled (indicated by the "has_goals_enabled" field), this is the name of the default Goal; note: This field will only be present if the Network has Offer Goals enabled |
default_payout | Decimal | The flat rate/amount paid for this Offer. Applicable only for Offers whose "payout_type" includes a flat rate component, i.e. "cpa_flat", "cpa_both", "cpc", and "cpm". |
description | Nullable String | A description of the Offer |
dne_download_url | Nullable String | If a DNE (Do Not Email) List is associated with this Offer, this will contain the URL to download the list |
dne_list_id | Nullable Integer | The ID of the DNE (Do Not Email) List associated with this Offer, if one exists. Present when the Offer has DNE Lists enabled, indicated by the "show_mail_list" field |
dne_unsubscribe_url | Nullable String | If a DNE (Do Not Email) List is associated with this Offer, this field will contain a URL where email addresses can be added to the DNE List |
email_instructions | Boolean | Indicates whether or not there are specific criteria required for the email subject and "from" lines Affiliates must use in communications promoting the Offer |
email_instructions_from | Nullable String | Applicable when the "email_instructions" field is set to "1". Indicates one or more acceptable "from" lines that can be used when promoting the Offer. Valid lines are separated by line breaks. |
email_instructions_subject | Nullable String | Applicable when the "email_instructions" field is set to "1". Indicates one or more acceptable subject lines that can be used when promoting the Offer. Valid lines are separated by line breaks. |
expiration_date | Datetime | Expiration date for the Offer |
featured | Nullable Datetime | The date from which the Network has decided to make feature this Offer. If NULL or set to "0000-00-00 00:00:00" this Offer is not currently featured. Any other valid date is the begin date of the featured status. |
has_goals_enabled | Boolean | Indicates whether or not this Offer has Goals enabled; note: This field will only be present if the Network has Offer Goals enabled |
id | Integer | ID of unique object for this Offer This parameter is non-writable |
is_expired | Boolean | Whether or not this Offer is expired (i.e. it has a past "expiration_date"). |
is_pay_per_call | Boolean | Not present for all API calls. Indicates whether or not this Offer supports pay-per-call conversions. |
modified | Datetime | Timestamp of most recent change to object This parameter is non-writable |
monthly_conversion_cap | Integer | Maximum number of conversions allowed per month for this Offer. If value is set to "0" then there is no cap; note: Some Networks may choose to use this feature but this field is not present by default. |
monthly_payout_cap | Decimal | Maximum payout allowed per month for this Offer. If value is set to "0.00" then there is no cap; note: Some Networks may choose to use this feature but this field is not present by default. |
name | String | The Offer's name |
payout_cap | Decimal | Maximum payout allowed per day for this Offer. If value is set to "0.00" then there is no cap; note: Some Networks may choose to use this feature but this field not present by default. |
payout_type | String | Specifies the method of calculating payout for this Offer. "cpa_flat", "cpm", and "cpc" indicate a flat amount will be paid, specified in the "default_payout" field. "cpa_percentage" indicates that a percentage of the sale will be paid, specified in the "percent_payout" field. "cpa_both" indicates that both a flat rate and a percentage of the sale will be paid.Show Supported Values |
percent_payout | Decimal | The percent of sale paid for this Offer. For example, a value of "25.00" would indicate a 25% payout. Applicable only for Offers whose "payout_type" includes a percent component, i.e. "cpa_percentage" and "cpa_both". |
preview_url | Nullable String | URL that often skips any geo-targeting or other re-targeting implemented by the Offer URL. Allows Affiliates to view sample landing page. |
protocol | String | Conversion tracking method to use for the offer.Show Supported Values |
require_approval | Boolean | Whether or not Affiliates must apply to run the Offer |
require_terms_and_conditions | String | Whether or not this Offer requires acceptance of offer terms and conditions before an Affiliate can run it. The text of the terms and conditions is in the "terms_and_conditions" field. Important: Use "enabled" and "disabled" for all inputs, including for filter options. However, values the API returns are "0" for disabled and "1" for enabled.Show Supported Values |
show_custom_variables | Boolean | Whether or not custom variables can be used in tracking links. For more information, see: https://support.hasoffers.com/entries/20718333-Adding-custom-variables-to-tracking-links. |
show_mail_list | Boolean | Indicates that a DNE List is attached to this Offer. See the "dne_list_id" field for the ID of the list, and the "dne_download_url" and the related "dne_unsubscribe_url" fields. |
status | String | The status of the Offer. Affiliates can only view active Offers.Show Supported Values |
terms_and_conditions | Nullable String | The terms and conditions Affiliates must agree to in order to run this Offer. Should be present if "require_terms_and_conditions" is set to "enabled". |
use_target_rules | Boolean | Whether or not this Offer has Advanced Targeting enabled. For more information, see: https://support.hasoffers.com/hc/en-us/articles/202305356-Advanced-Targeting. |