Updates an existing ad.
Parameters
Name
optional
Name
optionalName of the routing rule.
Description
optional
Description
optionalAdditional information about the ad available to partners.
Labels
optional
Labels
optionalKey terms to help partners kind a particular ad in impact.com.
AllowDeepLinking
optional
AllowDeepLinking
optionalWhether partners can override the ad's landing page.
LandingPage
optional
LandingPage
optionalLanding page's URL for the ad this attribute is contained in.
MobileFallbacks
optional
MobileFallbacks
optionalSet up which Mobile App Event Type the system directs users to when it detects your app is not installed on the user's device. In the event the system detects the mobile device hitting the ad doesn’t have the particular app installed, it will fall back to the app’s download URL instead.
Language
optional
Language
optionalWhat 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
optional
LimitedTimeStartDate
optionalWhen an ad will become available for use. See ISO 8601.
LimitedTimeEndDate
optional
LimitedTimeEndDate
optionalWhen an ad is no longer available for use. See ISO 8601.
BannerAlternativeTag
optional
BannerAlternativeTag
optionalAlternative text that will be shown if the ad's creative cannot be displayed. Can only use when AdType: BANNER
.
CustomAdServingUrl
optional
CustomAdServingUrl
optionalIf bypassing impact.com ad hosting, this is the URL location of the ad's creative. Can only use when AdType: BANNER
.
IabAdUnit
optional
IabAdUnit
optionalIAB's official unit type for the ad.
ThirdPartyServableAdCreativeHeight
optional
ThirdPartyServableAdCreativeHeight
optionalThe ad's creative height (in pixels).
ThirdPartyServableAdCreativeWidth
optional
ThirdPartyServableAdCreativeWidth
optionalThe ad's creative width (in pixels).
More Parameters
Click to view...
MobileReady
optional
MobileReady
optionalWhether the ad is optimized for mobile devices.
AdCodeTemplate
optional
AdCodeTemplate
optionalTemplate to serve the ad code from a third-party server.
DealId
optional
DealId
optionalUnique identifier for for deal associated with the ad.
DealName
string
DealName
stringName of the deal associated with the ad.
Returns
Returns the status of the call and the URI to the ad object.
Example Request
curl 'https://api.impact.com/Advertisers/<AccountSid>/Ads/892081' \
-X PUT \
-u '<AccountSid>:<AuthToken>' \
-H 'Accept: application/json' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-d 'Description=My new description.' \
-d 'LimitedTimeStartDate=2020-10-30T00:00:00Z' \
-d 'LimitedTimeEndDate=2020-11-05T00:00:00Z'
Example Response
{
"Status": "OK",
"Uri": "/Advertisers/<AccountSid>/Ads/892081"
}