The ad object holds information about your ads. You can create, retrieve, and update an ad, as well as list all ad objects.
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 program (or campaign) that the ad is associated with.
CampaignName string
CampaignName stringDisplay name of the the program (or campaign) that the ad is associated with.
AdType enum
AdType enumWhat kind of ad is provided.
| View possible enum values | |
|---|---|
| BANNER | The object represents a banner ad. |
| TEXT_LINK | The object represents a hyperlinked text ad. |
| COUPON | The object represents a coupon. |
LandingPage string
LandingPage stringLanding page's URL for the ad this attribute is contained in.
MobileFallbacks object
MobileFallbacks objectThe SystemAppId values of the mobile app(s) set as mobile fallback(s) for this ad.
View child attributes
Android integer
Android integerThe SystemAppId of the Android mobile app set as a mobile fallback.
IOS integer
IOS integerThe SystemAppId of your iOS mobile app set as a mobile fallback.
DateCreated datetime
DateCreated datetimeThe date the ad was created in impact.com. See ISO 8601.
DateLastUpdated datetime
DateLastUpdated datetimeThe date of the ad's most recent update. See ISO 8601.
CustomAdServingUrl string
CustomAdServingUrl stringIf bypassing impact.com ad hosting, this is the URL location of the ad's creative.
IabAdUnit enum
IabAdUnit enumIAB's official unit type for the ad.
ThirdPartyServableAdCreativeHeight integer
ThirdPartyServableAdCreativeHeight integerThe ad's creative height (in pixels).
ThirdPartyServableAdCreativeWidth integer
ThirdPartyServableAdCreativeWidth integerThe ad's creative width (in pixels).
BannerAlternativeTag string
BannerAlternativeTag stringAlternative text that will be shown if the ad's creative cannot be displayed.
LinkText string
LinkText stringIf the ad is a text link, this is the text that makes up the ad.
GetHtmlCodeType enum
GetHtmlCodeType enumHow the ad is served.
| View possible enum values | |
|---|---|
HTML_AND_IFRAME | Partners can serve this ad via HTML and IFrame. |
IFRAME_ONLY | Partners can only serve this ad via IFrame. |
Labels string
Labels stringKey terms to help partners find a particular ad in impact.com.
AllowDeepLinking boolean
AllowDeepLinking booleanWhether partners can override the ad's landing page.
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 |
LimitedTimeStartDate datetime
LimitedTimeStartDate datetimeWhen an ad will become available for use. See ISO 8601.
LimitedTimeEndDate datetime
LimitedTimeEndDate datetimeWhen an end is no longer available for use. See ISO 8601.
RestrictedMediaPartners array
RestrictedMediaPartners arrayIf the ad is restricted to certain partners, this will display the Partner Ids of the partners that can use the ad.
RestrictedMediaPartnerGroups array
RestrictedMediaPartnerGroups arrayIf the ad is restricted to certain partner groups, this will display the names of the partner groups that can use the ad.
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 stringThe URI that points directly to a specific ad.
More attributes
Click to view...
AdCodeTemplate string
AdCodeTemplate stringTemplate to serve the ad code from a third-party server.
CouponLinkName string
CouponLinkName stringHyperlinked text of the ad. Is empty unless AdType: COUPON.
CouponAllowCustomPromoCode boolean
CouponAllowCustomPromoCode booleanWhether partners can request custom a custom promo code for the coupon. Is empty unless AdType: COUPON.
CustomisationCharge decimal
CustomisationCharge decimalHow much partners need to pay to customize the ad.
MobileReady boolean
MobileReady booleanWhether the ad is optimized for mobile devices.
PhoneTracking boolean
PhoneTracking booleanWhether phone tracking is enabled on the ad.
PromoCodeTracking boolean
PromoCodeTracking booleanWhether promo code tracking is enabled on the ad.
TopSeller boolean
TopSeller booleanWhether the ad is for a top-selling item.
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.
SynchAdsPromoCodes boolean
SynchAdsPromoCodes booleanHas the value true if the deal aligns the state and date range of all ads and promo codes to the deal's. Has the value false if the deal does not have this.
DealRestrictedMediaPartners array
DealRestrictedMediaPartners arrayArray of partner names that have access to the deal.
DealRestrictedMediaPartnerGroups array
DealRestrictedMediaPartnerGroups arrayArray of partner groups that have access to the deal.
{
"Id": "892081",
"Name": "Summer Sale 2020 250x250",
"Description": "Our best deals this summer creative.",
"CampaignId": "1000",
"CampaignName": "Acme Campaign",
"AdType": "BANNER",
"LandingPage": "http://www.test.com/6234652",
"MobileFallbacks": {
"ANDROID": "12345",
"IOS": "67890"
},
"DateCreated": "2024-02-29T22:03:35-08:00",
"DateLastUpdated": "2024-02-29T22:03:35-08:00",
"CustomAdServingUrl": "",
"AdCodeTemplate": "",
"IabAdUnit": "CUSTOM",
"ThirdPartyServableAdCreativeHeight": "250",
"ThirdPartyServableAdCreativeWidth": "250",
"BannerAlternativeTag": "summersale",
"LinkText": "",
"CouponLinkName": "",
"CouponAllowCustomPromoCode": "",
"GetHtmlCodeType": "HTML_AND_IFRAME",
"CustomisationCharge": "0.00",
"Labels": "sale,US",
"AllowDeepLinking": "true",
"MobileReady": "true",
"PhoneTracking": "false",
"PromoCodeTracking": "false",
"Language": "ENGLISH",
"LimitedTimeStartDate": "2020-09-16T17:01:28-07:00",
"LimitedTimeEndDate": "",
"RestrictedMediaPartners": [],
"RestrictedMediaPartnerGroups": ["Content"],
"Season": "SUMMER",
"TopSeller": "true",
"DealId": "85433",
"DealName": "Summer Sale 2020",
"DealDescription": "The end of summer sale with great discounts and the best items",
"DealState": "PENDING",
"DealType": "GENERAL_SALE",
"DealScope": "CATEGORY",
"DealProducts": [],
"DealCategories": "Legos,Dolls",
"DiscountType": "PERCENT",
"DiscountAmount": "",
"DiscountCurrency": "",
"DiscountPercent": "10",
"DiscountMaximumPercent": "",
"DiscountPercentRangeStart": "",
"DiscountPercentRangeEnd": "",
"Gift": "",
"RebateAmount": "",
"RebateCurrency": "",
"DealDefaultPromoCode": "SUMMERSALE20",
"MinimumPurchaseAmount": "10.00",
"MinimumPurchaseAmountCurrency": "USD",
"MaximumSavingsAmount": "100.00",
"MaximumSavingsCurrency": "USD",
"BogoBuyQuantity": "0",
"BogoBuyScope": "",
"BogoBuyName": "",
"BogoBuyImageUrl": "",
"BogoGetQuantity": "0",
"BogoGetScope": "",
"BogoGetDiscountType": "",
"BogoGetName": "",
"BogoGetImageUrl": "",
"BogoGetDiscountAmount": "",
"BogoGetDiscountCurrency": "",
"BogoGetDiscountPercent": "",
"PurchaseLimitQuantity": "0",
"DealStartDate": "2020-09-17T00:00:00-07:00",
"DealEndDate": "2020-09-30T00:00:00-07:00",
"SynchAdsPromoCodes": "false",
"DealRestrictedMediaPartners": [],
"DealRestrictedMediaPartnerGroups": ["Content"],
"Uri": "/Advertisers/<AccountSID>/Ads/892081"
}