The ad object holds information about ads that have assigned to your account. You can retrieve ads, retrieve an ad's tracking code and/or link, as well as list all ads.
Attributes
Id string
Id stringUnique identifier for the object referred to as the impact.com Ad Id.
Name string
Name stringName of the ad.
Description string
Description stringAdditional information about the ad available to partners.
CampaignId integer
CampaignId integerUnique identifier for the brand's program (or campaign) that the ad is associated with.
CampaignName string
CampaignName stringDisplay name of the brand's program (or campaign) that the ad is associated with.
Type enum
Type enumWhat kind of ad is provided.
| View possible enum values | |
|---|---|
BANNER | The object represents an image ad. |
COUPON | The object represents an ad that customers can redeem for a deal. |
TEXT_LINK | The object represents a hyperlinked text ad. |
TrackingLink string
TrackingLink stringThe ad's impact.com tracking link.
LandingPageUrl string
LandingPageUrl stringThe ad's landing page URL, which is where the user sent the tracking link redirect.
AdvertiserId integer
AdvertiserId integerUnique identifier assigned by impact.com to the brand's advertiser account.
AdvertiserName string
AdvertiserName stringDisplay name of the brand in impact.com.
Code string
Code stringThe ad's HTML code.
IFrameCode string
IFrameCode stringThe ad's iframe code.
Width integer
Width integerFor image ads, the width of the ad image measured in pixels.
Height integer
Height integerFor image ads, the height of the ad image measured in pixels.
CreativeUrl string
CreativeUrl stringDirect URL to the ad's creative (image, etc.).
Labels string
Labels stringLabels assigned to the ad from the brand.
AllowDeepLinking boolean
AllowDeepLinking booleanWhether or not the ad allows deep linking. If true, the ad can be customized to use a different landing page (such as directly to a product listing versus a storefront), if false the ad's landing page cannot be changed.
MobileReady boolean
MobileReady booleanWhether the ad is optimized for mobile devices.
Language enum
Language enumWhat language the ad is hosted in.
| View possible enum values | |
|---|---|
AFRIKAANS | Afrikaans |
ARABIC | العربية |
BULGARIAN | български |
CHINESE | 中文(简体) |
CHINESE_TRADITIONAL | 中文(繁體) |
CZECH | čeština |
DANISH | Dansk |
DUTCH | Nederlands |
ENGLISH | English (United States) |
ENGLISH_GB | English (United Kingdom) |
ANGLISH_AU | English (Australia) |
ENGLISH_CA | English (Canada) |
ENGLISH_NZ | English (New Zealand) |
ENGLISH_ZA | English (South Africa) |
ESTONIAN | eesti |
FILIPINO | Filipino |
FINISH | suomi |
FRENCH | Français |
FRENCH_CA | Français (Canada) |
GERMAN | Deutsch |
HEBREW | עברית |
HINDI | हिन्दी |
INDONESIAN | Bahasa Indonesia |
ITALIAN | Italiano |
JAPANESE | 日本語 |
KOREAN | 한국어 |
LATVIAN | latviešu |
LITHUANIAN | lietuvių kalba |
MALAY | Malay |
MALTESE | Malti |
NORWEGIAN | Norsk |
PORTUGUESE | Português |
PORTUGUESE_BR | Português (Brasil) |
POLISH | Polski |
RUSSIAN | Русский |
SLOVENIAN | slovenščina |
SPANISH | Español |
SPANISH_MX | Español (Mexico) |
SWEDISH | Svensk |
THAI | ไทย |
TURKISH | Türkçe |
VIETNAMESE | Tiếng Việt |
StartDate datetime
StartDate datetimeFor limited-time ads, this is the date and time in ISO 8601 format for when the ad starts. If the ad doesn't have an end date, this will be the date it was added to impact.com.
EndDate datetime
EndDate datetimeFor limited-time ads, this is the date and time in ISO 8601 format for when the ad ends.
Season enum
Season enumIf the ad has a seasonal promotional theme, this will show what season the ad is meant for.
| Possible enum values |
|---|
ANZAC_DAY |
AUGUST_CIVIC_HOLIDAY |
AUSTRALIA_DAY |
BACK_TO_SCHOOL |
BLACK_FRIDAY |
BOXING_DAY |
CANADA_DAY |
CYBER_MONDAY |
END_OF_FINANCIAL_YEAR |
FAMILY_DAY |
FATHERS_DAY |
GOOD_FRIDAY |
HALLOWEEN |
HANUKKAH |
INDEPENDANCE_DAY |
LABOR_DAY |
MEMORIAL_DAY |
MOTHERS_DAY |
NEW_YEAR |
PRESIDENTS_DAY |
QUEENS_BIRTHDAY |
REMEMBRANCE_DAY |
SPRING |
ST_PATRICKS_DAY |
SUMMER |
THANKSGIVING |
VALENTINES_DAY |
VICTORIA_DAY |
WAITANGI_DAY |
WINTER |
OTHER |
Uri string
Uri stringUnique uniform resource identifier for the ad object.
More attributes
View more attributes
TopSeller boolean
TopSeller booleanWhether the ad is for a top-selling item.
SubjectLines string
SubjectLines stringFor email ads, the subject line of the email.
FromAddresses string
FromAddresses stringFor email ads, the "from addresses" of the email.
UnsubscribeLink string
UnsubscribeLink stringFor email ads, the unsubscribe link of the email.
DealId integer
DealId integerUnique identifier for for deal associated with the ad.
DealName string
DealName stringName of the deal associated with the ad.
DealDescription string
DealDescription stringAdditional information about the deal associated with the ad.
DealState enum
DealState enumWhat state of use the ad's associated deal is in.
| View possible enum values | |
|---|---|
ACTIVE | Deal is currently active. |
EXPIRED | Deal is not currently active. |
PENDING | Deal is currently waiting for approval. |
DealType enum
DealType enumHow the deal is applied to the items in the ad.
| View possible enum values | |
|---|---|
GENERAL_SALE | Deal applies a general discount to the products identified in DealScope. |
FREE_SHIPPING | Deal applies free shipping to the order. |
GIFT_WITH_PURCHASE | A gift will come with the order. |
REBATE | A rebate will be available to the customer upon purchase. |
BOGO | Deal will apply a buy-one-get-one deal to the order. |
DealScope enum
DealScope enumTo what extent the ad's associated deal applies to the store.
| View possible enum values | |
|---|---|
CATEGORY | Deal applies to a category of products. |
ENTIRE_STORE | Deal applies to the entire store. |
PRODUCT | Deal only applies to a specific product or a specific group of products. |
DealProducts array
DealProducts arrayIf DealScope: PRODUCT, then an array of product info objects appears; the child attributes below will fill each object in the array.
View child attributes
ProductName string
ProductName stringName of the product that the deal applies to.
ProductImageURL string
ProductImageURL stringURL that leads to the product's image.
ProductBeforePriceAmount integer
ProductBeforePriceAmount integerProduct's price prior to the deal applying.
ProductBeforePriceCurrency string
ProductBeforePriceCurrency stringProduct's currency code prior to the deal applying. See ISO 4217.
ProductAfterPriceAmount integer
ProductAfterPriceAmount integerProduct's price after the deal applies.
ProductAfterPriceCurrency string
ProductAfterPriceCurrency stringProduct's price's currency code after the deal applies. See ISO 4217.
DealCategories string
DealCategories stringIf DealScope: CATEGORY, a comma-separated list of product categories the deal applies to will appear.
DiscountType enum
DiscountType enumWhat type of discount will be applied when the deal is activated.
DiscountAmount decimal
DiscountAmount decimalIf DiscountType: "FIXED", then the discount amount appears.
DiscountCurrency string
DiscountCurrency stringIf DiscountType: "FIXED", then the currency code for DiscountAmount appears. See ISO 4217.
DiscountPercent percentage
DiscountPercent percentageIf DiscountType: "PERCENT", then the discount percent appears.
DiscountMaximumPercent percentage
DiscountMaximumPercent percentageIf DiscountType: "PERCENT_MAXIMUM", then the maximum discount percentage that a customer can get appears.
DiscountPercentRangeStart percentage
DiscountPercentRangeStart percentageIf DiscountType: "PERCENT_RANGE", then the lowest discount percentage a customer can get appears.
DiscountPercentRangeEnd percentage
DiscountPercentRangeEnd percentageIf DiscountType: "PERCENT_RANGE", then the highest discount percentage a customer can get appears.
Gift string
Gift stringIf DealType: "GIFT_WITH_PURCHASE", then the name of the product to be gifted appears.
RebateAmount decimal
RebateAmount decimalIf DealType: "REBATE", then the rebate's amount appears.
RebateCurrency string
RebateCurrency stringIf DealType: "REBATE", then the currency code for RebateAmount appears. See ISO 4217.
DealDefaultPromoCode string
DealDefaultPromoCode stringThe original promo code for the associated deal.
MinimumPurchaseAmount decimal
MinimumPurchaseAmount decimalMinimum amount a customer needs to spend before the associated deal is applied.
MinimumPurchaseAmountCurrency string
MinimumPurchaseAmountCurrency stringCurrency code for the deal's MinimumPurchaseAmount. See ISO 4217.
MaximumSavingsAmount decimal
MaximumSavingsAmount decimalMaximum amount a customer can save when the associated deal is applied.
MaximumSavingsCurrency string
MaximumSavingsCurrency stringCurrency code for the deal's MaximumSavingsAmount. See ISO 4217.
BogoBuyQuantity integer
BogoBuyQuantity integerIf DealType: "BOGO", the amount of "buy" items needed for the deal to activate appears.
BogoBuyScope enum
BogoBuyScope enumIf 'DealType: "BOGO"`, the scope of "buy" items appears.
| View possible enum values | |
|---|---|
PRODUCT | Deal only applies to a specific product or a specific group of products. |
CATEGORY | Deal applies to a category of products. |
BogoBuyName string
BogoBuyName stringIf DealType: "BOGO", the name of the "buy" item(s) appears.
BogoBuyImageUrl string
BogoBuyImageUrl stringIf DealType: "BOGO", the URL leading to the "buy" product's image will appear.
BogoGetQuantity integer
BogoGetQuantity integerIf DealType: "BOGO", the amount of "get" items that the customer can get a discount on will appear.
BogoGetScope enum
BogoGetScope enumIf 'DealType: "BOGO"`, the scope of "get" items appears.
| View possible enum values | |
|---|---|
PRODUCT | Deal only applies to a specific product or a specific group of products. |
CATEGORY | Deal applies to a category of products. |
BogoGetName string
BogoGetName stringIf DealType: "BOGO", the name of the "get" item(s) appears.
BogoGetImageUrl string
BogoGetImageUrl stringIf DealType: "BOGO", the URL leading to the "get" product's image will appear.
`BogoGetDiscountType enum
BogoGetDiscountType enumIf DealType="BOGO", the type of discount applied to "get" items appears.
| View possible enum values | |
|---|---|
FREE | Customer will receive the get item for free. |
AMOUNT | Customer will receive a specific amount of money off of the get item's cost. |
PERCENT | Customer will receive a percent off of the get item's cost. |
BogoGetDiscountAmount decimal
BogoGetDiscountAmount decimalIf BogoGetDiscountType: "AMOUNT", the fixed discount amount taken off of the "get" item's price appears.
BogoGetDiscountCurrency string
BogoGetDiscountCurrency stringIf BogoGetDiscountType: "AMOUNT", the currency code for BogoGetDiscountAmount appears.
BogoGetDiscountPercent percentage
BogoGetDiscountPercent percentageIf BogoGetDiscountType: "PERCENT", the discount percentage taken off of the "get" item's price appears.
PurchaseLimitQuantity integer
PurchaseLimitQuantity integerIf DealType: "BOGO", the amount of "buy" product that a customer can purchase at once appears. If 0, no purchase limit exists.
DealStartDate datetime
DealStartDate datetimeDate and time that the deal begins. See ISO 8601.
DealEndDate datetime
DealEndDate datetimeDate and time that the deal ends. See ISO 8601.
{
"Id": "123456",
"Name": "Acme Inc. Ad",
"Description": "",
"CampaignId": "1234",
"CampaignName": "Acme Partner Program",
"Type": "BANNER",
"TrackingLink": "https://example.com/c/1299679/515236/8800",
"LandingPageUrl": "http://www.example.com",
"AdvertiserId": "9876543",
"AdvertiserName": "Acme Inc.",
"Code": "<a href=\"https://example.com/c/1299679/515236/8800\" target=\"_top\" id=\"515236\"><img src=\"//a.impactradius-go.com/display-ad/8800-515236\" border=\"0\" alt=\"\" width=\"442\" height=\"114\"/></a><img height=\"0\" width=\"0\" src=\"https://example.com/i/1299679/515236/8800\" style=\"position:absolute;visibility:hidden;\" border=\"0\" />",
"IFrameCode": "<iframe id=\"$iradid\" src=\"//a.impactradius-go.com/gen-ad-code/1299679/515236/8800/\" width=\"442\" height=\"114\" scrolling=\"no\" frameborder=\"0\" marginheight=\"0\" marginwidth=\"0\"></iframe>",
"Width": "442",
"Height": "114",
"CreativeUrl": "//a.impactradius-go.com/display-ad/8800-515236",
"Labels": "",
"AllowDeepLinking": "false",
"MobileReady": "false",
"Language": "ENGLISH",
"StartDate": "2018-09-12T08:30:49-04:00",
"EndDate": "",
"Season": "",
"TopSeller": "false",
"SubjectLines": "",
"FromAddresses": "",
"UnsubscribeLink": "",
"DealId": "",
"DealName": "",
"DealDescription": "",
"DealState": "",
"DealType": "",
"DealScope": "",
"DealProducts": [],
"DealCategories": "",
"DiscountType": "",
"DiscountAmount": "",
"DiscountCurrency": "",
"DiscountPercent": "",
"DiscountMaximumPercent": "",
"DiscountPercentRangeStart": "",
"DiscountPercentRangeEnd": "",
"Gift": "",
"RebateAmount": "",
"RebateCurrency": "",
"DealDefaultPromoCode": "",
"MinimumPurchaseAmount": "",
"MinimumPurchaseAmountCurrency": "",
"MaximumSavingsAmount": "",
"MaximumSavingsCurrency": "",
"BogoBuyQuantity": "",
"BogoBuyScope": "",
"BogoBuyName": "",
"BogoBuyImageUrl": "",
"BogoGetQuantity": "",
"BogoGetScope": "",
"BogoGetDiscountType": "",
"BogoGetName": "",
"BogoGetImageUrl": "",
"BogoGetDiscountAmount": "",
"BogoGetDiscountCurrency": "",
"BogoGetDiscountPercent": "",
"PurchaseLimitQuantity": "",
"DealStartDate": "",
"DealEndDate": "",
"Uri": "/Mediapartners/<AccountSID>/Ads/123456"
}