132 lines
5.5 KiB
JavaScript
132 lines
5.5 KiB
JavaScript
window.LINK_TEMPLATES = [
|
|
{
|
|
name: 'Mintegral',
|
|
platformCode: 'M_API_Self_Mintegral',
|
|
status: 'Click 已确认',
|
|
sample: 'https://trident.bigpinggo.com/l/click?advid=30&campid=91566789&platform=M_API_Self_Mintegral&pkg=com.salaryse.android&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=91566789&adset_id=-1&c_cto=0',
|
|
macros: [
|
|
['{ad_id}', 'Creative ID'],
|
|
['{ad_name}', 'Creative name'],
|
|
['{ad_type}', 'Ad type'],
|
|
['{adv_campaign_id}', 'Campaign unique number ID'],
|
|
['{adv_offer_id}', 'Offer unique number ID'],
|
|
['{affiliate_id}', 'Sub channel ID on MTG platform'],
|
|
['{amazon_id}', 'Amazon device ID'],
|
|
['{android_id_md5_low}', 'Android ID MD5 lowercase'],
|
|
['{android_id_md5}', 'Android ID MD5 (32-bit lowercase)'],
|
|
['{android_id}', 'Android ID for attribution'],
|
|
['{billing_type}', 'Billing type'],
|
|
['{click_id}', 'Click ID defined by MTG'],
|
|
['{cn_event_callback}', 'CN-region event callback URL'],
|
|
['{cn_install_callback}', 'CN-region install callback URL'],
|
|
['{country_code}', 'ISO 3166-1 alpha-2 country code'],
|
|
['{creative_group}', 'Creative group'],
|
|
['{creative_id}', 'Creative ID'],
|
|
['{creative_name}', 'Creative name'],
|
|
['{ctgv_usd}', 'Target goal value USD'],
|
|
['{currency}', 'Currency type'],
|
|
['{device_brand}', 'Device brand'],
|
|
['{device_id}', 'IDFA for iOS or GAID for Android'],
|
|
['{device_model}', 'Device model'],
|
|
['{device_os}', 'Device OS: iOS or Android'],
|
|
['{encode}', 'AppsFlyer encryption parameter'],
|
|
['{event_callback}', 'Event callback URL'],
|
|
['{event_callback_url}', 'Event callback URL for web'],
|
|
['{gaid_md5}', 'GAID MD5 (32-bit lowercase)'],
|
|
['{gaid}', 'Google advertising ID'],
|
|
['{idfa_md5}', 'IDFA MD5 (32-bit lowercase)'],
|
|
['{idfa}', 'iOS identifier for advertising'],
|
|
['{idfv}', 'IDFV'],
|
|
['{imei_md5}', 'IMEI MD5 (32-bit lowercase)'],
|
|
['{imei}', 'IMEI for Android attribution'],
|
|
['{impression_id}', 'Impression ID defined by MTG'],
|
|
['{install_callback}', 'Install callback URL'],
|
|
['{install_callback_url}', 'Install callback URL for web'],
|
|
['{ip}', 'IP address for fingerprint attribution'],
|
|
['{mac_md5}', 'MAC MD5 (32-bit lowercase)'],
|
|
['{mac}', 'Media access control address'],
|
|
['{microtime}', 'Microtime'],
|
|
['{oaid_md5}', 'OAID MD5'],
|
|
['{oaid}', 'OAID'],
|
|
['{offer_name}', 'Offer name'],
|
|
['{os_platform}', 'OS platform'],
|
|
['{os_version}', 'OS version'],
|
|
['{package_name}', 'Package name'],
|
|
['{price}', 'Price'],
|
|
['{timestamp}', 'Timestamp'],
|
|
['{ua}', 'User agent'],
|
|
['{uuid}', 'Promotion ID defined by MTG']
|
|
],
|
|
links: {
|
|
click: {
|
|
mappings: {
|
|
clickid: '{click_id}',
|
|
offer_name: '{offer_name}',
|
|
creative_id: '{ad_id}',
|
|
creative_name: '{ad_name}',
|
|
affiliate_id: '{affiliate_id}',
|
|
idfa: '{idfa}',
|
|
gaid: '{gaid}',
|
|
imei: '{imei}',
|
|
android_id: '{android_id}',
|
|
mac: '{mac}',
|
|
oaid: '{oaid}',
|
|
uagent: '{ua}',
|
|
os_platform: '{device_os}',
|
|
os_version: '{os_version}',
|
|
device_model: '{device_model}',
|
|
ip: '{ip}',
|
|
country_code: '{country_code}',
|
|
ext: '{uuid}',
|
|
rta_token: '{rta_token}'
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
name: 'TaurusX',
|
|
platformCode: 'M_API_Self_TaurusxDSP',
|
|
status: 'Click 已确认',
|
|
sample: 'https://trident.bigpinggo.com/click?advid=30&campid=13455742&platform=M_API_Self_TaurusxDSP&pkg=com.binance.dev&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=91583061&adset_id=31892&c_cto=0',
|
|
macros: [
|
|
['__CLICKID__', 'Click ID'],
|
|
['__AID_NAME__', 'Offer name'],
|
|
['__CID__', 'Creative ID'],
|
|
['__CID_NAME__', 'Creative name'],
|
|
['__APP_ID__', 'App / affiliate ID'],
|
|
['__IDFA__', 'iOS advertising ID'],
|
|
['__GAID__', 'Google advertising ID'],
|
|
['__UA__', 'User agent'],
|
|
['__OS__', 'Operating system'],
|
|
['__DEVICE_MODEL__', 'Device model'],
|
|
['__IP__', 'IP address'],
|
|
['__LOCALCOUNTRY__', 'Local country code']
|
|
],
|
|
links: {
|
|
click: {
|
|
mappings: {
|
|
clickid: '__CLICKID__',
|
|
offer_name: '__AID_NAME__',
|
|
creative_id: '__CID__',
|
|
creative_name: '__CID_NAME__',
|
|
affiliate_id: '__APP_ID__',
|
|
idfa: '__IDFA__',
|
|
gaid: '__GAID__',
|
|
imei: '',
|
|
android_id: '',
|
|
mac: '',
|
|
oaid: '',
|
|
uagent: '__UA__',
|
|
os_platform: '__OS__',
|
|
os_version: '',
|
|
device_model: '__DEVICE_MODEL__',
|
|
ip: '__IP__',
|
|
country_code: '__LOCALCOUNTRY__',
|
|
ext: '',
|
|
rta_token: '{rta_token}'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
];
|