* @TODO Fusion-Ads: Has click/banner URL in API response *
* @TODO GeldSponsor.de Requires ID card copy/business reg. *
* @TODO GolloX: Please add full support *
+ * @TODO MasterAd: Please add full support *
* @TODO paid4ad: Which URLs for click and banner? *
* @TODO SuperPromo24: HighForced banner, leader board, mini/page layer *
* @TODO SuperPromo24: Textlink view is a JavaScript *
`network_api_referral_link` VARCHAR(255) NULL DEFAULT NULL,
`network_api_referral_button` VARCHAR(255) NULL DEFAULT NULL,
`network_api_remaining_requests` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
+`network_api_visual_pay_check` VARCHAR(255) NULL DEFAULT NULL,
PRIMARY KEY (`network_api_id`),
UNIQUE INDEX (`network_id`),
UNIQUE INDEX `network_affiliate` (`network_id`, `network_api_affiliate_id`),
('admin_lose', 'Adminlose.de', 'http://www.adminlose.de/index.php?ref=2148', '|', '|', 'GET', 'WINDOWS-1252', 'N', 200, 'Y'),
('ad_mono', 'Admono.de', 'http://www.admono.de/?ref=92', '|', '|', 'GET', 'ISO-8859-1', 'N', 150, 'Y'),
('ad-promotion-net', 'Ad-Promotion.net', 'http://ad-promotion.net?ref=10194', '|', '|', 'GET', 'WINDOWS-1252', 'N', 150, 'Y'),
-('ad_provi', 'Adprovi.de', 'http://www.adprovi.de?ref=439', '|', '|', 'GET', 'ISO-8859-1', 'N', 200, 'Y'),
+('ad_provi', 'AdProvi.de', 'http://www.adprovi.de?ref=439', '|', '|', 'GET', 'ISO-8859-1', 'N', 200, 'Y'),
('ads2earn', 'Ads2Earn', 'http://www.ads2earn.de?ref=1294', '|', '|', 'GET', 'ISO-8859-1', 'N', 150, 'Y'),
('ads2webbi', 'Ads2Webbi', 'http://www.ads2webbi.de?ref=79', '|', '|', 'GET', 'WINDOWS-1252', 'N', 200, 'Y'),
('super_promo24', 'SuperPromo24', 'http://www.superpromo24.de/index.php?seite=anmeldung&ref=Quix0r', '|', '|', 'GET', 'ISO-8859-1', 'N', 300, 'Y'),
('xiji', 'Xiji.de', 'http://www.xiji.de/index.php?ref=7715', '|', '|', 'GET', 'ISO-8859-1', 'N', 100, 'Y'),
('crystall', 'Crystall Werbenetzwerk', 'http://www.crystall.de?ref=1575', '|', '|', 'GET', 'ISO-8859-1', 'N', 200, 'Y'),
('gollox', 'GolloX', 'http://www.gollox.de/?id=720', '|', '|', 'GET', 'ISO-8859-1', 'N', 0, 'Y'),
-('giga_ad', 'Giga-Ad', 'http://giga-ad.de/index.php?seite=anmeldung&ref=Quix0r', '|', '|', 'GET', 'ISO-8859-1', 'Y', 250, 'Y')");
+('giga_ad', 'Giga-Ad', 'http://giga-ad.de/index.php?seite=anmeldung&ref=Quix0r', '|', '|', 'GET', 'ISO-8859-1', 'Y', 250, 'Y'),
+('master_ad', 'MasterAd', 'http://www.masterad.de/?ref=1661&refsubid=script', '|', '|', 'GET', 'ISO-8859-1', 'N', 300, 'Y'),
+('pro_advert', 'ProAdvert', 'http://www.pro-advert.de?ref=450', '|', '|', 'GET', 'ISO-8859-16', 'N', 250, 'Y')");
// Network type handlers - A3H
addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handler`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`, `network_type_reload_time_unit`, `network_text_encoding`) VALUES
// Network type handlers - Make-Euros
addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handler`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`, `network_type_reload_time_unit`, `network_text_encoding`) VALUES
-(63, 16, 'banner_click', 'http://www.make-euros.de/interface/output.php', 'http://www.make-euros.de/bannerklf.php?id=%CID%', 'http://www.make-euros.de/banner.php?id=%CID%', 'h', 'NONE'),
-(64, 16, 'banner_view', 'http://www.make-euros.de/interface/output.php', 'http://www.make-euros.de/bannerklf.php?id=%CID%', 'http://www.make-euros.de/banner.php?id=%CID%', 'h', 'NONE'),
+(63, 16, 'banner_click', 'http://www.make-euros.de/interface/output.php', NULL, NULL, 'h', 'NONE'),
+(64, 16, 'banner_view', 'http://www.make-euros.de/interface/output.php', NULL, NULL, 'h', 'NONE'),
(65, 16, 'textlink_click', 'http://www.make-euros.de/interface/output.php', 'http://www.make-euros.de/textlinkklick.php?id=%CID%', NULL, 'h', 'NONE'),
(66, 16, 'textlink_view', 'http://www.make-euros.de/interface/output.php', 'http://www.make-euros.de/textlinkklick.php?id=%CID%', NULL, 'h', 'NONE'),
-(67, 16, 'surfbar_click', 'http://www.make-euros.de/interface/output.php', 'http://www.make-euros.de/bannerklf.php?id=%CID%', 'http://www.make-euros.de/banner.php?id=%CID%', 'h', 'NONE'),
-(68, 16, 'forced_banner', 'http://www.make-euros.de/interface/output.php', 'http://www.make-euros.de/bannerklf.php?id=%CID%', 'http://www.make-euros.de/banner.php?id=%CID%', 'h', 'NONE'),
-(69, 16, 'surfbar_view', 'http://www.make-euros.de/interface/output.php', 'http://www.make-euros.de/bannerklf.php?id=%CID%', 'http://www.make-euros.de/banner.php?id=%CID%', 'h', 'NONE'),
+(67, 16, 'surfbar_click', 'http://www.make-euros.de/interface/output.php', NULL, NULL, 'h', 'NONE'),
+(68, 16, 'forced_banner', 'http://www.make-euros.de/interface/output.php', NULL, NULL, 'h', 'NONE'),
+(69, 16, 'surfbar_view', 'http://www.make-euros.de/interface/output.php', NULL, NULL, 'h', 'NONE'),
(70, 16, 'textmail', 'http://www.make-euros.de/interface/output.php', 'http://www.make-euros.de/emailf.php?id=%CID%', NULL, 'h', 'NONE'),
(71, 16, 'htmlmail', 'http://www.make-euros.de/interface/output.php', 'http://www.make-euros.de/emailf.php?id=%CID%', NULL, 'h', 'NONE'),
(72, 16, 'layer_click', 'http://www.make-euros.de/interface/output.php', 'http://www.make-euros.de/layer.php?id=%CID%', NULL, 'h', 'NONE'),
(81, 18, 'textlink_view', 'http://www.power-promo.de/interface/out_textlink.php', 'http://www.power-promo.de/textlinkklick.php?id=%CID%', NULL, 'h', 'NONE'),
(85, 18, 'textmail', 'http://www.power-promo.de/interface/out_paidmail.php', 'http://www.power-promo.de/emailf.php?id=%CID%', NULL, 'h', 'NONE')");
+ // Network type handlers - ProAdvert
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handler`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`, `network_type_reload_time_unit`, `network_text_encoding`) VALUES
+(565, 48, 'forced_banner', 'http://www.pro-advert.de/interface/api_2.php', 'http://www.pro-advert.de/codes/forcedbannerklick.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%&vc=%VPC%', 'http://www.pro-advert.de/codes/forcedbannerview.php?id=%UID%&bid=%CID%&aid=%SID%', 'h','NONE'),
+(566, 48, 'forced_textlink', 'http://www.pro-advert.de/interface/api_2.php', 'http://www.pro-advert.de/codes/forcedtextlinkklick.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%&vc=%VPC%', NULL, 'h','NONE'),
+(567, 48, 'banner_view', 'http://www.pro-advert.de/interface/api_2.php', 'http://www.pro-advert.de/codes/bannerklick.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%&vc=%VPC%', 'http://www.pro-advert.de/codes/bannerview.php?id=%UID%&bid=%CID%&aid=%SID%', 'h','NONE'),
+(569, 48, 'banner_click', 'http://www.pro-advert.de/interface/api_2.php', 'http://www.pro-advert.de/codes/klickbanner.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%&vc=%VPC%', 'http://www.pro-advert.de/codes/viewbanner.php?id=%UID%&bid=%CID%&aid=%SID%', 'h','NONE'),
+(570, 48, 'skyscraper_view', 'http://www.pro-advert.de/interface/api_2.php', 'http://www.pro-advert.de/codes/skybannerklick.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%&vc=%VPC%', 'http://www.pro-advert.de/codes/skybannerview.php?id=%UID%&bid=%CID%&aid=%SID%', 'h','NONE'),
+(571, 48, 'button_view', 'http://www.pro-advert.de/interface/api_2.php', 'http://www.pro-advert.de/codes/buttonklick.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%&vc=%VPC%', 'http://www.pro-advert.de/codes/buttonview.php?id=%UID%&bid=%CID%&aid=%SID%', 'h','NONE'),
+(572, 48, 'textlink_view', 'http://www.pro-advert.de/interface/api_2.php', 'http://www.pro-advert.de/codes/textlinkview.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%&vc=%VPC%', NULL, 'h','NONE'),
+(573, 48, 'traffic', 'http://www.pro-advert.de/interface/api_2.php', 'http://www.pro-advert.de/codes/traffic.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%&vc=%VPC%', NULL, 'h','NONE'),
+(574, 48, 'popup', 'http://www.pro-advert.de/interface/api_2.php', 'http://www.pro-advert.de/codes/popup.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%&vc=%VPC%', NULL, 'h','NONE'),
+(575, 48, 'textmail', 'http://www.pro-advert.de/interface/api_2.php', 'http://www.pro-advert.de/codes/paidmail.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%&vc=%VPC%', NULL, 'h','NONE')");
+
// Network type handlers - SeCash
addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handler`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`, `network_type_reload_time_unit`, `network_text_encoding`) VALUES
(93, 19, 'forced_banner', 'http://www.secash.de/interface/api_2.php', 'http://www.secash.de/codes/forcedbannerklick.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%&vc=%VPC%', 'http://www.secash.de/codes/forced_bannerview.php?id=%UID%&bid=%CID%&aid=%SID%', 'h', 'NONE'),
(18, 92, 'reward', 'verguetung', NULL),
(18, 92, 'site_id', 'sid', NULL)");
+ // Request parameters per type handler - ProAdvert
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`, `network_type_id`, `network_request_param_key`, `network_request_param_value`, `network_request_param_default`) VALUES
+(48, 565, 'extra', 'typ', 'forcedbanner'),
+(48, 565, 'affiliate_id', 'id', NULL),
+(48, 565, 'password', 'pw', NULL),
+(48, 565, 'remain_clicks', 'uebrig', NULL),
+(48, 565, 'reload', 'reload', NULL),
+(48, 565, 'reward', 'verguetung', NULL),
+(48, 565, 'site_id', 'siteid', NULL),
+(48, 566, 'extra', 'typ', 'forcedtextlink'),
+(48, 566, 'affiliate_id', 'id', NULL),
+(48, 566, 'password', 'pw', NULL),
+(48, 566, 'remain_clicks', 'uebrig', NULL),
+(48, 566, 'reload', 'reload', NULL),
+(48, 566, 'reward', 'verguetung', NULL),
+(48, 566, 'site_id', 'siteid', NULL),
+(48, 567, 'extra', 'typ', 'bannerview'),
+(48, 567, 'affiliate_id', 'id', NULL),
+(48, 567, 'password', 'pw', NULL),
+(48, 567, 'remain_clicks', 'uebrig', NULL),
+(48, 567, 'reload', 'reload', NULL),
+(48, 567, 'reward', 'verguetung', NULL),
+(48, 567, 'site_id', 'siteid', NULL),
+(48, 569, 'extra', 'typ', 'skybannerview'),
+(48, 569, 'affiliate_id', 'id', NULL),
+(48, 569, 'password', 'pw', NULL),
+(48, 569, 'remain_clicks', 'uebrig', NULL),
+(48, 569, 'reload', 'reload', NULL),
+(48, 569, 'reward', 'verguetung', NULL),
+(48, 569, 'site_id', 'siteid', NULL),
+(48, 570, 'extra', 'typ', 'buttonview'),
+(48, 570, 'affiliate_id', 'id', NULL),
+(48, 570, 'password', 'pw', NULL),
+(48, 570, 'remain_clicks', 'uebrig', NULL),
+(48, 570, 'reload', 'reload', NULL),
+(48, 570, 'reward', 'verguetung', NULL),
+(48, 570, 'site_id', 'siteid', NULL),
+(48, 571, 'extra', 'typ', 'bannerklick'),
+(48, 571, 'affiliate_id', 'id', NULL),
+(48, 571, 'password', 'pw', NULL),
+(48, 571, 'remain_clicks', 'uebrig', NULL),
+(48, 571, 'reload', 'reload', NULL),
+(48, 571, 'reward', 'verguetung', NULL),
+(48, 571, 'site_id', 'siteid', NULL),
+(48, 572, 'extra', 'typ', 'textview'),
+(48, 572, 'affiliate_id', 'id', NULL),
+(48, 572, 'password', 'pw', NULL),
+(48, 572, 'remain_clicks', 'uebrig', NULL),
+(48, 572, 'reload', 'reload', NULL),
+(48, 572, 'reward', 'verguetung', NULL),
+(48, 572, 'site_id', 'siteid', NULL),
+(48, 573, 'extra', 'typ', 'popup'),
+(48, 573, 'affiliate_id', 'id', NULL),
+(48, 573, 'password', 'pw', NULL),
+(48, 573, 'remain_clicks', 'uebrig', NULL),
+(48, 573, 'reload', 'reload', NULL),
+(48, 573, 'reward', 'verguetung', NULL),
+(48, 573, 'site_id', 'siteid', NULL),
+(48, 574, 'extra', 'typ', 'traffic'),
+(48, 574, 'affiliate_id', 'id', NULL),
+(48, 574, 'password', 'pw', NULL),
+(48, 574, 'remain_clicks', 'uebrig', NULL),
+(48, 574, 'reload', 'reload', NULL),
+(48, 574, 'reward', 'verguetung', NULL),
+(48, 574, 'site_id', 'siteid', NULL),
+(48, 575, 'extra', 'typ', 'paidmail'),
+(48, 575, 'affiliate_id', 'id', NULL),
+(48, 575, 'password', 'pw', NULL),
+(48, 575, 'remain_clicks', 'uebrig', NULL),
+(48, 575, 'reload', 'reload', NULL),
+(48, 575, 'reward', 'verguetung', NULL),
+(48, 575, 'site_id', 'siteid', NULL)");
+
// Request parameters per type handler - SeCash
addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`, `network_type_id`, `network_request_param_key`, `network_request_param_value`, `network_request_param_default`) VALUES
(19, 93, 'extra', 'typ', 'forced_banner'),
(18, 92, 9, 9),
(18, 92, 25, 10)");
+ // API array elements - ProAdvert
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`, `network_type_id`, `network_array_index`, `network_array_sort`) VALUES
+(48, 565, 1, 1),
+(48, 565, 2, 2),
+(48, 565, 4, 3),
+(48, 565, 5, 4),
+(48, 565, 6, 5),
+(48, 565, 10, 6),
+(48, 565, 9, 7),
+(48, 565, 41, 8),
+(48, 566, 1, 1),
+(48, 566, 2, 2),
+(48, 566, 4, 3),
+(48, 566, 5, 4),
+(48, 566, 6, 5),
+(48, 566, 10, 6),
+(48, 566, 9, 7),
+(48, 566, 41, 8),
+(48, 567, 1, 1),
+(48, 567, 2, 2),
+(48, 567, 4, 3),
+(48, 567, 5, 4),
+(48, 567, 6, 5),
+(48, 567, 10, 6),
+(48, 567, 9, 7),
+(48, 567, 41, 8),
+(48, 569, 1, 1),
+(48, 569, 2, 2),
+(48, 569, 4, 3),
+(48, 569, 5, 4),
+(48, 569, 6, 5),
+(48, 569, 10, 6),
+(48, 569, 9, 7),
+(48, 569, 41, 8),
+(48, 570, 1, 1),
+(48, 570, 2, 2),
+(48, 570, 4, 3),
+(48, 570, 5, 4),
+(48, 570, 6, 5),
+(48, 570, 10, 6),
+(48, 570, 9, 7),
+(48, 570, 41, 8),
+(48, 571, 1, 1),
+(48, 571, 2, 2),
+(48, 571, 4, 3),
+(48, 571, 5, 4),
+(48, 571, 6, 5),
+(48, 571, 10, 6),
+(48, 571, 9, 7),
+(48, 571, 41, 8),
+(48, 572, 1, 1),
+(48, 572, 2, 2),
+(48, 572, 4, 3),
+(48, 572, 5, 4),
+(48, 572, 6, 5),
+(48, 572, 10, 6),
+(48, 572, 9, 7),
+(48, 572, 41, 8),
+(48, 573, 1, 1),
+(48, 573, 2, 2),
+(48, 573, 4, 3),
+(48, 573, 5, 4),
+(48, 573, 6, 5),
+(48, 573, 10, 6),
+(48, 573, 9, 7),
+(48, 573, 41, 8),
+(48, 574, 1, 1),
+(48, 574, 2, 2),
+(48, 574, 4, 3),
+(48, 574, 5, 4),
+(48, 574, 6, 5),
+(48, 574, 10, 6),
+(48, 574, 9, 7),
+(48, 574, 41, 8),
+(48, 575, 1, 1),
+(48, 575, 2, 2),
+(48, 575, 4, 3),
+(48, 575, 5, 4),
+(48, 575, 6, 5),
+(48, 575, 10, 6),
+(48, 575, 9, 7),
+(48, 575, 41, 8)");
+
// API array elements - SeCash
addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_array_translation` (`network_id`, `network_type_id`, `network_array_index`, `network_array_sort`) VALUES
(19, 93, 1, 1),