feat: add NewsBreak link conversion
This commit is contained in:
@@ -175,5 +175,48 @@ window.LINK_TEMPLATES = [
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'NewsBreak',
|
||||
platformCode: 'M_API_Newsbreak',
|
||||
status: 'Click 已确认',
|
||||
sample: 'https://trident.bigpinggo.com/l/click?advid=30&campid=91565959&platform=M_API_Newsbreak&pkg=selectmypolicy.com&clickid={click_id}&offer_name={offer_name}&creative_id={creative_id}&creative_name={creative_name}&affiliate_id={affiliate_id}&idfa={idfa}&gaid={gaid}&imei={imei}&android_id={android_id}&mac={mac}&oaid={oaid}&uagent={ua}&os_platform={os_platform}&os_version={os_version}&device_model={device_model}&ip={ip}&country_code={country_code}&ext={ext}&rta_token={rta_token}&san_campid=91565959&adset_id=-1&c_cto=0',
|
||||
macros: [
|
||||
['__CALLBACK_PARAM__', 'Unique callback parameter / Click ID'],
|
||||
['__CAMPAIGN_ID__', 'Campaign ID'],
|
||||
['__CAMPAIGN_NAME__', 'Campaign name'],
|
||||
['__FLIGHT_ID__', 'Ad set / Flight ID'],
|
||||
['__FLIGHT_NAME__', 'Ad set / Flight name'],
|
||||
['__CREATIVE_ID__', 'Creative ID'],
|
||||
['__CREATIVE_NAME__', 'Creative name'],
|
||||
['__ADID__', 'Google advertising ID'],
|
||||
['__IDFA__', 'iOS advertising ID'],
|
||||
['__OS__', 'Operating system']
|
||||
],
|
||||
links: {
|
||||
click: {
|
||||
mappings: {
|
||||
clickid: '__CALLBACK_PARAM__',
|
||||
offer_name: '__CAMPAIGN_NAME__',
|
||||
creative_id: '__CREATIVE_ID__',
|
||||
creative_name: '__CREATIVE_NAME__',
|
||||
affiliate_id: '__FLIGHT_ID_____FLIGHT_NAME__',
|
||||
idfa: '__IDFA__',
|
||||
gaid: '__ADID__',
|
||||
imei: '',
|
||||
android_id: '',
|
||||
mac: '',
|
||||
oaid: '',
|
||||
uagent: '',
|
||||
os_platform: '__OS__',
|
||||
os_version: '',
|
||||
device_model: '',
|
||||
ip: '',
|
||||
country_code: 'US',
|
||||
ext: '',
|
||||
rta_token: '{rta_token}'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user