* @TODO GolloX: Which charset? *
* @TODO homeADS: Which charset? *
* @TODO paid4ad: Which URLs for click and banner? *
- * @TODO VIPads: Which charset? *
+ * @TODO VIPads: HTML text is send encoded with BASE64 *
* @TODO Der Werbepartner.cc: Banner click/view is JavaScript! *
* @TODO Der Werbepartner.cc: Forced textlink not correct *
* @TODO Der Werbepartner.cc: Layer not correct *
('yoomedia', 'Yoo!Media Solutions', 'http://www.yoomedia.de?ref=1715', '|', '|', 'GET', 'WINDOWS-1252'),
('cityads', 'City-Ads', 'http://www.city-ads.de?ref=221', '|', '|', 'GET', 'WINDOWS-1252'),
('goldsponsor', 'Gold-Sponsor', 'http://www.gold-sponsor.de?ref=42', '|', '|', 'GET', 'WINDOWS-1252'),
-('doubleads', 'doubleads.de', 'http://www.doubleads.de?ref=1063', '|', '|', 'GET', 'ISO-8859-1')");
+('doubleads', 'doubleads.de', 'http://www.doubleads.de?ref=1063', '|', '|', 'GET', 'ISO-8859-1'),
+('vipads', 'VIPads.de', 'http://vipads.de/index.php?seite=anmeldung&ref=Quix0r', '|', '|', 'GET', 'ISO-8859-1')");
// Network type handlers - A3H
addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`,`network_type_handle`,`network_type_api_url`,`network_type_click_url`,`network_type_banner_url`) VALUES
(133, 21, 'textmail', 'http://www.ultrapromo.eu/interface/', 'http://www.ultrapromo.eu/codes/paidmail.php?id=%UID%&bid=%CID%&aid=%SID%', NULL),
(134, 21, 'traffic', 'http://www.ultrapromo.eu/interface/', 'http://www.ultrapromo.eu/codes/traffic.php?id=%UID%&bid=%CID%&aid=%SID%', NULL)");
+ // Network type handlers - VIPads.de
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handle`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`) VALUES
+(247, 27, 'banner_click', 'http://vipads.de/int/get.php', 'http://vipads.de/kamp/ziel.php?uid=%UID%&bid=%BID%&sid=%SID%', 'http://vipads.de/kamp/b_view.php?uid=%UID%&bid=%BID%&sid=%SID%'),
+(248, 27, 'banner_view', 'http://vipads.de/int/get.php', 'http://vipads.de/kamp/ziel.php?uid=%UID%&bid=%BID%&sid=%SID%', 'http://vipads.de/kamp/b_view.php?uid=%UID%&bid=%BID%&sid=%SID%'),
+(249, 27, 'button_click', 'http://vipads.de/int/get.php', 'http://vipads.de/kamp/ziel.php?uid=%UID%&bid=%BID%&sid=%SID%', 'http://vipads.de/kamp/b_view.php?uid=%UID%&bid=%BID%&sid=%SID%'),
+(250, 27, 'button_view', 'http://vipads.de/int/get.php', 'http://vipads.de/kamp/ziel.php?uid=%UID%&bid=%BID%&sid=%SID%', 'http://vipads.de/kamp/b_view.php?uid=%UID%&bid=%BID%&sid=%SID%'),
+(251, 27, 'forcedbanner', 'http://vipads.de/int/get.php', 'http://vipads.de/kamp/ziel.php?uid=%UID%&bid=%BID%&sid=%SID%', 'http://vipads.de/kamp/b_view.php?uid=%UID%&bid=%BID%&sid=%SID%'),
+(252, 27, 'htmlmail', 'http://vipads.de/int/get.php', 'http://vipads.de/kamp/ziel.php?uid=%UID%&bid=%BID%&sid=%SID%', NULL),
+(253, 27, 'layer', 'http://vipads.de/int/get.php', 'http://vipads.de/kamp/sc_layer.php?uid=%UID%&bid=%BID%&sid=%SID%', NULL),
+(255, 27, 'popup', 'http://vipads.de/int/get.php', 'http://vipads.de/kamp/sc_popup.php?uid=%UID%&bid=%BID%&sid=%SID%', NULL),
+(256, 27, 'skybanner_click', 'http://vipads.de/int/get.php', 'http://vipads.de/kamp/ziel.php?uid=%UID%&bid=%BID%&sid=%SID%', 'http://vipads.de/kamp/b_view.php?uid=%UID%&bid=%BID%&sid=%SID%'),
+(257, 27, 'skybanner_view', 'http://vipads.de/int/get.php', 'http://vipads.de/kamp/ziel.php?uid=%UID%&bid=%BID%&sid=%SID%', 'http://vipads.de/kamp/b_view.php?uid=%UID%&bid=%BID%&sid=%SID%'),
+(258, 27, 'textlink_click', 'http://vipads.de/int/get.php', 'http://vipads.de/kamp/ziel.php?uid=%UID%&bid=%BID%&sid=%SID%', NULL),
+(254, 27, 'textmail', 'http://vipads.de/int/get.php', 'http://vipads.de/kamp/ziel.php?uid=%UID%&bid=%BID%&sid=%SID%', NULL),
+(259, 27, 'traffic', 'http://vipads.de/int/get.php', 'http://vipads.de/kamp/ziel.php?uid=%UID%&bid=%BID%&sid=%SID%', NULL)");
+
// Network type handlers - Der Werbepartner.cc
addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_types` (`network_type_id`, `network_id`, `network_type_handle`, `network_type_api_url`, `network_type_click_url`, `network_type_banner_url`) VALUES
(145, 22, 'textlink_click', 'http://www.werbepartner.cc/sponsor/data/get.php', 'http://www.werbepartner.cc/sponsor/data/werbung.php', NULL),
(21, 134, 'remain', 'uebrig', NULL),
(21, 134, 'reward', 'verguetung', NULL)");
+ // Request parameters per type handler - VIPads.de
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`, `network_type_id`, `request_param_key`, `request_param_value`, `request_param_default`) VALUES
+(27, 247, 'extra', 'art', 'bannerklick'),
+(27, 247, 'id', 'uid', NULL),
+(27, 247, 'password', 'pw', NULL),
+(27, 247, 'reload', 'reload', NULL),
+(27, 247, 'remain', 'uebrig', NULL),
+(27, 247, 'reward', 'verguetung', NULL),
+(27, 247, 'sid', 'sid', NULL),
+(27, 248, 'extra', 'art', 'bannerview'),
+(27, 248, 'id', 'uid', NULL),
+(27, 248, 'password', 'pw', NULL),
+(27, 248, 'reload', 'reload', NULL),
+(27, 248, 'remain', 'uebrig', NULL),
+(27, 248, 'reward', 'verguetung', NULL),
+(27, 248, 'sid', 'sid', NULL),
+(27, 249, 'extra', 'art', 'buttonklick'),
+(27, 249, 'id', 'uid', NULL),
+(27, 249, 'password', 'pw', NULL),
+(27, 249, 'reload', 'reload', NULL),
+(27, 249, 'remain', 'uebrig', NULL),
+(27, 249, 'reward', 'verguetung', NULL),
+(27, 249, 'sid', 'sid', NULL),
+(27, 250, 'extra', 'art', 'buttonview'),
+(27, 250, 'id', 'uid', NULL),
+(27, 250, 'password', 'pw', NULL),
+(27, 250, 'reload', 'reload', NULL),
+(27, 250, 'remain', 'uebrig', NULL),
+(27, 250, 'reward', 'verguetung', NULL),
+(27, 250, 'sid', 'sid', NULL),
+(27, 251, 'extra', 'art', 'forcedbanner'),
+(27, 251, 'id', 'uid', NULL),
+(27, 251, 'minimum_stay', 'ma', NULL),
+(27, 251, 'password', 'pw', NULL),
+(27, 251, 'reload', 'reload', NULL),
+(27, 251, 'remain', 'uebrig', NULL),
+(27, 251, 'reward', 'verguetung', NULL),
+(27, 251, 'sid', 'sid', NULL),
+(27, 252, 'extra', 'art', 'htmlmail'),
+(27, 252, 'id', 'id', NULL),
+(27, 252, 'minimum_stay', 'ma', NULL),
+(27, 252, 'password', 'pw', NULL),
+(27, 252, 'reload', 'reload', NULL),
+(27, 252, 'remain', 'uebrig', NULL),
+(27, 252, 'reward', 'verguetung', NULL),
+(27, 252, 'sid', 'sid', NULL),
+(27, 253, 'extra', 'art', 'layer'),
+(27, 253, 'id', 'uid', NULL),
+(27, 253, 'password', 'pw', NULL),
+(27, 253, 'reload', 'reload', NULL),
+(27, 253, 'remain', 'uebrig', NULL),
+(27, 253, 'reward', 'verguetung', NULL),
+(27, 253, 'sid', 'sid', NULL),
+(27, 254, 'extra', 'art', 'paidmail'),
+(27, 254, 'id', 'uid', NULL),
+(27, 254, 'minimum_stay', 'ma', NULL),
+(27, 254, 'password', 'pw', NULL),
+(27, 254, 'reload', 'reload', NULL),
+(27, 254, 'remain', 'uebrig', NULL),
+(27, 254, 'reward', 'verguetung', NULL),
+(27, 254, 'sid', 'sid', NULL),
+(27, 255, 'extra', 'art', 'popup'),
+(27, 255, 'id', 'uid', NULL),
+(27, 255, 'minimum_stay', 'ma', NULL),
+(27, 255, 'password', 'pw', NULL),
+(27, 255, 'reload', 'reload', NULL),
+(27, 255, 'remain', 'uebrig', NULL),
+(27, 255, 'reward', 'verguetung', NULL),
+(27, 255, 'sid', 'sid', NULL),
+(27, 256, 'extra', 'art', 'skybannerklick'),
+(27, 256, 'id', 'uid', NULL),
+(27, 256, 'password', 'pw', NULL),
+(27, 256, 'reload', 'reload', NULL),
+(27, 256, 'remain', 'uebrig', NULL),
+(27, 256, 'reward', 'verguetung', NULL),
+(27, 256, 'sid', 'sid', NULL),
+(27, 257, 'extra', 'art', 'skybannerview'),
+(27, 257, 'id', 'uid', NULL),
+(27, 257, 'password', 'pw', NULL),
+(27, 257, 'reload', 'reload', NULL),
+(27, 257, 'remain', 'uebrig', NULL),
+(27, 257, 'reward', 'verguetung', NULL),
+(27, 257, 'sid', 'sid', NULL),
+(27, 258, 'extra', 'art', 'textlinkklick'),
+(27, 258, 'id', 'uid', NULL),
+(27, 258, 'password', 'pw', NULL),
+(27, 258, 'reload', 'reload', NULL),
+(27, 258, 'remain', 'uebrig', NULL),
+(27, 258, 'reward', 'verguetung', NULL),
+(27, 258, 'sid', 'sid', NULL),
+(27, 259, 'extra', 'art', 'traffic'),
+(27, 259, 'id', 'uid', NULL),
+(27, 259, 'minimum_stay', 'ma', NULL),
+(27, 259, 'password', 'pw', NULL),
+(27, 259, 'reload', 'reload', NULL),
+(27, 259, 'remain', 'uebrig', NULL),
+(27, 259, 'reward', 'verguetung', NULL),
+(27, 259, 'sid', 'sid', NULL)");
+
// Request parameters per type handler - Der Werbepartner.cc
addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_request_params` (`network_id`, `network_type_id`, `request_param_key`, `request_param_value`, `request_param_default`) VALUES
(22, 145, 'extra', 'art', 'Textlinkklick'),
(21, 134, 5, 4),
(21, 134, 6, 5)");
+ // API array elements - VIPads
+ addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_id`, `network_type_id`, `network_api_index`, `sort`) VALUES
+(27, 247, 7, 1),
+(27, 247, 2, 2),
+(27, 247, 5, 3),
+(27, 247, 4, 4),
+(27, 247, 6, 5),
+(27, 248, 7, 1),
+(27, 248, 2, 2),
+(27, 248, 5, 3),
+(27, 248, 4, 4),
+(27, 248, 6, 5),
+(27, 249, 7, 1),
+(27, 249, 2, 2),
+(27, 249, 5, 3),
+(27, 249, 4, 4),
+(27, 249, 6, 5),
+(27, 250, 7, 1),
+(27, 250, 2, 2),
+(27, 250, 5, 3),
+(27, 250, 4, 4),
+(27, 250, 6, 5),
+(27, 251, 7, 1),
+(27, 251, 2, 2),
+(27, 251, 5, 3),
+(27, 251, 4, 4),
+(27, 251, 6, 5),
+(27, 251, 10, 6),
+(27, 252, 13, 1),
+(27, 252, 2, 2),
+(27, 252, 5, 3),
+(27, 252, 4, 4),
+(27, 252, 6, 5),
+(27, 252, 10, 6),
+(27, 252, 37, 7),
+(27, 252, 9, 8),
+(27, 253, 14, 1),
+(27, 253, 2, 2),
+(27, 253, 5, 3),
+(27, 253, 4, 4),
+(27, 253, 6, 5),
+(27, 254, 13, 1),
+(27, 254, 2, 2),
+(27, 254, 5, 3),
+(27, 254, 4, 4),
+(27, 254, 6, 5),
+(27, 254, 10, 6),
+(27, 254, 37, 7),
+(27, 254, 9, 8),
+(27, 255, 15, 1),
+(27, 255, 2, 2),
+(27, 255, 5, 3),
+(27, 255, 4, 4),
+(27, 255, 6, 5),
+(27, 255, 10, 6),
+(27, 256, 7, 1),
+(27, 256, 2, 2),
+(27, 256, 5, 3),
+(27, 256, 4, 4),
+(27, 256, 6, 5),
+(27, 257, 7, 1),
+(27, 257, 2, 2),
+(27, 257, 5, 3),
+(27, 257, 4, 4),
+(27, 257, 6, 5),
+(27, 258, 11, 1),
+(27, 258, 2, 2),
+(27, 258, 5, 3),
+(27, 258, 4, 4),
+(27, 258, 6, 5),
+(27, 258, 9, 6),
+(27, 259, 26, 1),
+(27, 259, 2, 2),
+(27, 259, 5, 3),
+(27, 259, 4, 4),
+(27, 259, 6, 5),
+(27, 259, 10, 6)");
+
// API array elements - Der Werbepartner.cc
addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_id`, `network_type_id`, `network_api_index`, `sort`) VALUES
(22, 145, 1, 1),