Campaigns response

Appnext API response

{
"pixelImp": "https://ca.appnext.com/pView.aspx?b=652469&z=259723&c=485825&tid=API&did=4db5573f-1b57-4db5-8f67-12d5814e6bd2&g=1&fi=&ecpm=0.006&pml=&sid=9e6001cfdd02430cb35ea8ab72178008&q=",
"title": "ZEE5 -Movies, News, Shows",
"desc": "Watch full movies, Tv shows - Download the app !",
"urlImg": "https://cdn.appnext.com/banner/cgzUpWEFK0yULRl_square.png",
"urlImgWide": "https://appnext.hs.llnwd.net/banner/lQiF8liqDXp2HGe_rectangular.webp",
"urlApp": "http://admin.appnext.com/appLink.aspx?b=652469&e=259723&d=4db5573f-1b57-4db5-8f67-12d5814e6bd2&tid=API&q=&pack=com.graymatrix.did&fi=nd&pml=&s2s=1&clickId=VDHP039R9I82ATWG&sid=9e6001cfdd02430cb35ea8ab72178008&ip=202.62.73.225",
"androidPackage": "com.graymatrix.did",
"revenueType": "cpi",
"revenueRate": "0.079",
"campaignGoal": "new",
"buttonText": "Watch",
"categories": "Entertainment",
"idx": "36",
"targetedDevices": "ALL",
"targetedOSver": "ALL",
"urlVideo": "",
"urlVideoHigh": "",
"urlVideo30Sec": "https://cdn.appnext.com/banner/video/video-652469-30.mp4?rnd=1589264508",
"urlVideo30SecHigh": "https://cdn.appnext.com/banner/video/video-652469-30_o.mp4?rnd=1589264508",
"bannerId": "652469",
"campaignId": "485825",
"country": "IN",
"campaignType": "network",
"supportedVersion": "4.0",
"storeRating": "4.1",
"storeDownloads": "50000000+",
"appSize": "28311552",
"min_ecpm": "0",
"market_url": "market://details?id=com.graymatrix.did&referrer=Appnext_VDHP039R9I82ATWG",
"sid": "9e6001cfdd02430cb35ea8ab72178008",
"lurl": "https://global.appnext.com/content.aspx?zone_id=259723&banner=652469&lrc=${AUCTION_LOSS}",
"domain": "www.zee5.com"
},

๐Ÿ“˜

Important Fields

pixelImp - The impression URL that needs to be fired when loading an ad
urlImg & urlImgWide - links to the creatives of the campaign
urlApp - The click URL that needs to be fired when a user is clicking an ad
campaignGoal - The campaign goal โ€“ user acquisition or re-engagement
market_url - The URL of the store that needs to be opened (only for s2s integration)

๐Ÿšง

No ads response

In some cases like Capping /Geo-Targeting/end of banner inventory โ€“ the
Appnextโ€™s ad server can return No Ads response.
Sample JSON:

{
    โ€œrndโ€: [
             {
               โ€œcbโ€: โ€œโ€ฆโ€
             }
           ]
}

๐Ÿ“˜

Data returned in Appnext API response

Appnext API returns raw-data (JSON format) of Android or iOS apps,
promoted through campaigns by advertisers in the Appnext platform,
which specifically target your app placement. Data includes the advertiserโ€™s app
creative content, current bid, tracking link, ad-serving weight, etc.

๐Ÿ“˜

Requesting app data

A โ€œPlacement IDโ€, which is a unique key generated by the Appnext platform,
must be added to the API call in order to receive apps data.
Requesting the API with an Android Placement ID will return Android
targeted campaigns and requesting it with an iOS Placement ID will return
iOS targeted campaigns. Only one OS can be called in a single API call.

๐Ÿ“˜

Campaign inventory

Each API request will return up to 200 app records for a targeted GEO. The
targeted GEO will be determined as the client-side GEO. For example: when
calling the API form a device located in the US, the API will return campaigns
that are targeting US users.
Every campaign running has a daily cap (budget). Once a campaign has
depleted its daily cap it will be paused until the following day. A campaign
that was paused, might not redirect to the store, and will not be eligible for
payment.