]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-network.php
Added even more array element translations
[mailer.git] / inc / extensions / ext-network.php
index 12888f85442d606688ad4d221143aab0d15f41ef..2b4b58e81bcf6143710c308b0f189f71c2d81966 100644 (file)
@@ -21,8 +21,9 @@
  * @TODO Ad-Magnet: Layer(klick?). Layerviews.Skybannerklick/-view,     *
  * @TODO Ad-Magnet: Banner-View, Textlink-Klick/-View. Page-Peel        *
  * @TODO ADCocktail: All request parameters, BIDausKAS, WIDausKAS???    *
+ * @TODO ADCocktail: Zero array element is return code!                 *
  * @TODO Affiliblatt: All except banner, do they really have UTF-8?     *
- * @TODO AllAds4You: Traffic from abroad                                *
+ * @TODO AllAds4You: Traffic from abroad, High-Forced banner            *
  * @TODO doubleads: Which charset?                                      *
  * @TODO Fusion-Ads: Has click/banner URL in API response, really UTF-8 *
  * @TODO GolloX: Which charset?                                         *
@@ -240,27 +241,32 @@ PRIMARY KEY (`network_reload_id`)
 (22, 'textlink1'),
 (23, 'textlink2'),
 (24, 'textlink3'),
-(25, 'description')");
+(25, 'description'),
+(26, 'traffic_id'),
+(27, 'country_code'),
+(28, 'banner_url4'),
+(29, 'banner_url5'),
+(30, 'banner_url6'),
+(31, 'banner_url7'),
+(32, 'banner_url8'),
+(33, 'banner_url9'),
+(34, 'banner_url10'),
+(35, 'textlink4'),
+(36, 'textlink5'),
+(37, 'subject')");
 
                // Insert error code types
                // - Affiliate id or interface password wrong
-               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_error_types` (`network_code`) VALUES ('AFF_ID_PASS_WRONG')");
-               // - Webmaster's site id is not assigned (invalid, different affiliate id)
-               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_error_types` (`network_code`) VALUES ('SITE_ID_NOT_ASSIGNED')");
-               // - Webmaster's site id is locked
-               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_error_types` (`network_code`) VALUES ('SITE_ID_LOCKED')");
-               // - General error in interface data
-               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_error_types` (`network_code`) VALUES ('INTERFACE_DATA_ERROR')");
-               // - Request amount depleted
-               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_error_types` (`network_code`) VALUES ('REQUESTS_DEPLETED')");
-               // - No campaigns found for given criteria (but maybe there are with more widen criteria)
-               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_error_types` (`network_code`) VALUES ('NO_CAMPAIGNS_FOUND')");
-               // - No campaigns found with allowed interface output (but there are maybe non-interface campaigns)
-               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_error_types` (`network_code`) VALUES ('NO_CAMPAIGNS_FOUND_INTERFACE')");
-               // - Webmaster's site id is not unlocked for choosen type
-               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_error_types` (`network_code`) VALUES ('SITE_ID_NOT_ALLOWED_TYPE')");
-               // - Request parameters incomplete
-               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_error_types` (`network_code`) VALUES ('REQUEST_PARAMETER_INCOMPLETE')");
+               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_error_types` (`network_code_id`, `network_code`) VALUES
+(1, 'AFF_ID_PASS_WRONG'),
+(2, 'SITE_ID_NOT_ASSIGNED'),
+(3, 'SITE_ID_LOCKED'),
+(4, 'INTERFACE_DATA_ERROR'),
+(5, 'REQUESTS_DEPLETED'),
+(6, 'NO_CAMPAIGNS_FOUND'),
+(7, 'NO_CAMPAIGNS_FOUND_INTERFACE'),
+(8, 'SITE_ID_NOT_ALLOWED_TYPE'),
+(9, 'REQUEST_PARAMETER_INCOMPLETE')");
 
                // Sponsor networks
                addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_data` (`network_short_name`, `network_title`, `network_reflink`, `network_data_seperator`, `network_row_seperator`, `network_request_type`, `network_charset`) VALUES
@@ -278,7 +284,7 @@ PRIMARY KEY (`network_reload_id`)
 ('bonus', 'BonusSponsor', 'http://www.bonussponsor.de?ref=1286', '|', '|', 'GET', 'WINDOWS-1252'),
 ('fusion', 'Fusion-Ads', 'http://www.fusion-ads.de/?ref=84', '|', '|', 'GET', 'UTF-8'),
 ('gigapromo', 'GigaPromo', 'http://www.gigapromo.de/index.php?ref=953', '|', '|', 'GET', 'WINDOWS-1252'),
-('hpsonsor', 'HPSponsor', 'http://hpsponsor.de?ref=29', '|', '|', 'GET', 'WINDOWS-1252'),
+('hpsonsor', 'HPSponsor', 'http://hpsponsor.at?ref=29', '|', '|', 'GET', 'WINDOWS-1252'),
 ('make-euros', 'Make-Euros.de', 'http://www.make-euros.de?ref=1184', '|', '|', 'GET', 'ISO-8859-1'),
 ('megad', 'Mega-Ad', 'http://www.mega-ad.de/?ref=303', '|', '|', 'GET', 'WINDOWS-1252'),
 ('power-promo', 'Power-Promo', 'http://www.power-promo.de?ref=1231', '|', '|', 'GET', 'WINDOWS-1252'),
@@ -349,16 +355,16 @@ PRIMARY KEY (`network_reload_id`)
 
                // Network type handlers - Ads4Webbis
                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
-(20, 7, 'banner_click', 'http://www.ads4webbis.de/interface/', 'http://www.ads4webbis.de/codes/klickbanner.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.ads4webbis.de/codes/viewbanner.php?id=%UID%&bid=%CID%&aid=%SID%'),
-(19, 7, 'banner_view', 'http://www.ads4webbis.de/interface/', 'http://www.ads4webbis.de/codes/bannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.ads4webbis.de/codes/bannerview.php?id=%UID%&bid=%CID%&aid=%SID%'),
-(22, 7, 'button_view', 'http://www.ads4webbis.de/interface/', 'http://www.ads4webbis.de/codes/buttonklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.ads4webbis.de/codes/buttonview.php?id=%UID%&bid=%CID%&aid=%SID%'),
-(17, 7, 'forcedbanner', 'http://www.ads4webbis.de/interface/', 'http://www.ads4webbis.de/codes/forcedbannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.ads4webbis.de/codes/forcedbannerview.php?id=%UID%&bid=%CID%&aid=%SID%'),
-(18, 7, 'forcedtextlink', 'http://www.ads4webbis.de/interface/', 'http://www.ads4webbis.de/codes/forcedtextlinkklick.php?id=%UID%&bid=%CID%&aid=%SID%', NULL),
-(24, 7, 'popup', 'http://www.ads4webbis.de/interface/', 'http://www.ads4webbis.de/codes/popup.php?id=%UID%&bid=%CID%&aid=%SID%', NULL),
-(21, 7, 'skybanner_view', 'http://www.ads4webbis.de/interface/', 'http://www.ads4webbis.de/codes/skybannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.ads4webbis.de/codes/skybannerview.php?id=%UID%&bid=%CID%&aid=%SID%'),
-(23, 7, 'textlink_view', 'http://www.ads4webbis.de/interface/', 'http://www.ads4webbis.de/codes/textlinkview.php?id=%UID%&bid=%CID%&aid=%SID%', NULL),
-(25, 7, 'textmail', 'http://www.ads4webbis.de/interface/', 'http://www.ads4webbis.de/codes/paidmail.php?id=%UID%&bid=%CID%&aid=%SID%', NULL),
-(120, 7, 'traffic', 'http://www.ads4webbis.de/interface/', 'http://www.ads4webbis.de/codes/traffic.php?id=%UID%&bid=%CID%&aid=%SID%', NULL)");
+(20, 7, 'banner_click', 'http://www.ads4webbis.de/interface/api_2.php', 'http://www.ads4webbis.de/codes/klickbanner.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%tid%', 'http://www.ads4webbis.de/codes/viewbanner.php?id=%UID%&bid=%CID%&aid=%SID%'),
+(19, 7, 'banner_view', 'http://www.ads4webbis.de/interface/api_2.php', 'http://www.ads4webbis.de/codes/bannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://www.ads4webbis.de/codes/bannerview.php?id=%UID%&bid=%CID%&aid=%SID%'),
+(22, 7, 'button_view', 'http://www.ads4webbis.de/interface/api_2.php', 'http://www.ads4webbis.de/codes/buttonklick.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%tid%', 'http://www.ads4webbis.de/codes/buttonview.php?id=%UID%&bid=%CID%&aid=%SID%'),
+(17, 7, 'forcedbanner', 'http://www.ads4webbis.de/interface/api_2.php', 'http://www.ads4webbis.de/codes/forcedbannerklick.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%tid%', 'http://www.ads4webbis.de/codes/forcedbannerview.php?id=%UID%&bid=%CID%&aid=%SID%'),
+(18, 7, 'forcedtextlink', 'http://www.ads4webbis.de/interface/api_2.php', 'http://www.ads4webbis.de/codes/forcedtextlinkklick.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%tid%', NULL),
+(24, 7, 'popup', 'http://www.ads4webbis.de/interface/api_2.php', 'http://www.ads4webbis.de/codes/popup.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%tid%', NULL),
+(21, 7, 'skybanner_view', 'http://www.ads4webbis.de/interface/api_2.php', 'http://www.ads4webbis.de/codes/skybannerklick.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%tid%', 'http://www.ads4webbis.de/codes/skybannerview.php?id=%UID%&bid=%CID%&aid=%SID%'),
+(23, 7, 'textlink_view', 'http://www.ads4webbis.de/interface/api_2.php', 'http://www.ads4webbis.de/codes/textlinkview.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%tid%', NULL),
+(25, 7, 'textmail', 'http://www.ads4webbis.de/interface/api_2.php', 'http://www.ads4webbis.de/codes/paidmail.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%tid%', NULL),
+(120, 7, 'traffic', 'http://www.ads4webbis.de/interface/api_2.php', 'http://www.ads4webbis.de/codes/traffic.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%tid%', NULL)");
 
                // Network type handlers - Ads4World
                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
@@ -437,16 +443,16 @@ PRIMARY KEY (`network_reload_id`)
 
                // Network type handlers - HPSponsor
                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
-(135, 15, 'banner_click', 'http://hpsponsor.de/interface/', 'http://hpsponsor.de/codes/klickbanner.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://hpsponsor.de/codes/viewbanner.php?id=%UID%&bid=%CID%&aid=%SID%'),
-(136, 15, 'banner_view', 'http://hpsponsor.de/interface/', 'http://hpsponsor.de/codes/bannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://hpsponsor.de/codes/bannerview.php?id=%UID%&bid=%CID%&aid=%SID%'),
-(137, 15, 'button_view', 'http://hpsponsor.de/interface/', 'http://hpsponsor.de/codes/buttonklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://hpsponsor.de/codes/buttonview.php?id=%UID%&bid=%CID%&aid=%SID%'),
-(138, 15, 'forcedbanner', 'http://hpsponsor.de/interface/', 'http://hpsponsor.de/codes/forcedbannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://hpsponsor.de/codes/forcedbannerview.php?id=%UID%&bid=%CID%&aid=%SID%'),
-(139, 15, 'forcedtextlink', 'http://hpsponsor.de/interface/', 'http://hpsponsor.de/codes/forcedtextlinkklick.php?id=%UID%&bid=%CID%&aid=%SID%', NULL),
-(140, 15, 'popup', 'http://hpsponsor.de/interface/', 'http://hpsponsor.de/codes/popup.php?id=%UID%&bid=%CID%&aid=%SID%', NULL),
-(141, 15, 'skybanner_view', 'http://hpsponsor.de/interface/', 'http://hpsponsor.de/codes/skybannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://hpsponsor.de/codes/skybannerview.php?id=%UID%&bid=%CID%&aid=%SID%'),
-(142, 15, 'textlink_view', 'http://hpsponsor.de/interface/', 'http://hpsponsor.de/codes/textlinkview.php?id=%UID%&bid=%CID%&aid=%SID%', NULL),
-(143, 15, 'textmail', 'http://hpsponsor.de/interface/', 'http://hpsponsor.de/codes/paidmail.php?id=%UID%&bid=%CID%&aid=%SID%', NULL),
-(144, 15, 'traffic', 'http://hpsponsor.de/interface/', 'http://hpsponsor.de/codes/traffic.php?id=%UID%&bid=%CID%&aid=%CID%', NULL)");
+(135, 15, 'banner_click', 'http://hpsponsor.at/interface/api_2.php', 'http://hpsponsor.at/codes/klickbanner.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%', 'http://hpsponsor.at/codes/viewbanner.php?id=%UID%&bid=%CID%&aid=%SID%'),
+(136, 15, 'banner_view', 'http://hpsponsor.at/interface/api_2.php', 'http://hpsponsor.at/codes/bannerklick.php?id=%UID%&bid=%CID%&aid=%SID%', 'http://hpsponsor.at/codes/bannerview.php?id=%UID%&bid=%CID%&aid=%SID%'),
+(137, 15, 'button_view', 'http://hpsponsor.at/interface/api_2.php', 'http://hpsponsor.at/codes/buttonklick.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%', 'http://hpsponsor.at/codes/buttonview.php?id=%UID%&bid=%CID%&aid=%SID%'),
+(138, 15, 'forcedbanner', 'http://hpsponsor.at/interface/api_2.php', 'http://hpsponsor.at/codes/forcedbannerklick.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%', 'http://hpsponsor.at/codes/forcedbannerview.php?id=%UID%&bid=%CID%&aid=%SID%'),
+(139, 15, 'forcedtextlink', 'http://hpsponsor.at/interface/api_2.php', 'http://hpsponsor.at/codes/forcedtextlinkklick.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%', NULL),
+(140, 15, 'popup', 'http://hpsponsor.at/interface/api_2.php', 'http://hpsponsor.at/codes/popup.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%', NULL),
+(141, 15, 'skybanner_view', 'http://hpsponsor.at/interface/api_2.php', 'http://hpsponsor.at/codes/skybannerklick.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%', 'http://hpsponsor.at/codes/skybannerview.php?id=%UID%&bid=%CID%&aid=%SID%'),
+(142, 15, 'textlink_view', 'http://hpsponsor.at/interface/api_2.php', 'http://hpsponsor.at/codes/textlinkview.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%', NULL),
+(143, 15, 'textmail', 'http://hpsponsor.at/interface/api_2.php', 'http://hpsponsor.at/codes/paidmail.php?id=%UID%&bid=%CID%&aid=%SID%&trackid=%TID%', NULL),
+(144, 15, 'traffic', 'http://hpsponsor.at/interface/api_2.php', 'http://hpsponsor.at/codes/traffic.php?id=%UID%&bid=%CID%&aid=%CID%&trackid=%TID%', NULL)");
 
                // Network type handlers - Make-Euros
                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
@@ -2130,38 +2136,968 @@ PRIMARY KEY (`network_reload_id`)
 (74, 1, 10, 25, 10)");
 
                // API array elements - AbisZED-Netz
+               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_api_id`, `network_id`, `network_type_id`, `network_api_index`, `sort`) VALUES
+(75, 2, 187, 7, 1),
+(76, 2, 187, 2, 2),
+(77, 2, 187, 3, 3),
+(78, 2, 187, 4, 4),
+(79, 2, 187, 5, 5),
+(80, 2, 187, 6, 6),
+(81, 2, 187, 8, 7),
+(82, 2, 187, 10, 8),
+(83, 2, 188, 7, 1),
+(84, 2, 188, 2, 2),
+(85, 2, 188, 3, 3),
+(86, 2, 188, 4, 4),
+(87, 2, 188, 5, 5),
+(88, 2, 188, 6, 6),
+(89, 2, 188, 8, 7),
+(90, 2, 188, 10, 8),
+(91, 2, 189, 11, 1),
+(92, 2, 189, 2, 2),
+(93, 2, 189, 9, 3),
+(94, 2, 189, 4, 4),
+(95, 2, 189, 5, 5),
+(96, 2, 189, 6, 6),
+(97, 2, 190, 11, 1),
+(98, 2, 190, 2, 2),
+(99, 2, 190, 9, 3),
+(100, 2, 190, 4, 4),
+(101, 2, 190, 5, 5),
+(102, 2, 190, 6, 6),
+(103, 2, 191, 12, 1),
+(104, 2, 191, 2, 2),
+(105, 2, 191, 3, 3),
+(106, 2, 191, 4, 4),
+(107, 2, 191, 5, 5),
+(108, 2, 191, 6, 6),
+(109, 2, 191, 8, 7),
+(110, 2, 192, 12, 1),
+(111, 2, 192, 10, 2),
+(112, 2, 192, 3, 3),
+(113, 2, 192, 4, 4),
+(114, 2, 192, 5, 5),
+(115, 2, 192, 6, 6),
+(116, 2, 192, 8, 7),
+(117, 2, 193, 7, 1),
+(118, 2, 193, 2, 2),
+(119, 2, 193, 3, 3),
+(120, 2, 193, 4, 4),
+(121, 2, 193, 5, 5),
+(122, 2, 193, 6, 6),
+(123, 2, 193, 10, 7),
+(124, 2, 193, 8, 8),
+(125, 2, 194, 13, 1),
+(126, 2, 194, 2, 2),
+(127, 2, 194, 4, 3),
+(128, 2, 194, 5, 4),
+(129, 2, 194, 6, 5),
+(130, 2, 194, 10, 6),
+(131, 2, 194, 9, 7),
+(132, 2, 195, 13, 1),
+(133, 2, 195, 2, 2),
+(134, 2, 195, 4, 3),
+(135, 2, 195, 5, 4),
+(136, 2, 195, 6, 5),
+(137, 2, 195, 10, 6),
+(138, 2, 195, 9, 7),
+(139, 2, 196, 14, 1),
+(140, 2, 196, 2, 2),
+(141, 2, 196, 4, 3),
+(142, 2, 196, 5, 4),
+(143, 2, 196, 6, 5),
+(144, 2, 197, 14, 1),
+(145, 2, 197, 2, 2),
+(146, 2, 197, 4, 3),
+(147, 2, 197, 5, 4),
+(148, 2, 197, 6, 5),
+(149, 2, 198, 15, 1),
+(150, 2, 198, 2, 2),
+(151, 2, 198, 4, 3),
+(152, 2, 198, 5, 4),
+(153, 2, 198, 6, 5),
+(154, 2, 198, 10, 6),
+(155, 2, 199, 16, 1),
+(156, 2, 199, 2, 2),
+(157, 2, 199, 4, 3),
+(158, 2, 199, 5, 4),
+(159, 2, 199, 6, 5),
+(160, 2, 199, 10, 6),
+(161, 2, 200, 17, 1),
+(162, 2, 200, 2, 2),
+(163, 2, 200, 6, 3),
+(164, 2, 200, 19, 4),
+(165, 2, 200, 20, 5),
+(166, 2, 200, 21, 6),
+(167, 2, 200, 22, 7),
+(168, 2, 200, 23, 8),
+(169, 2, 200, 9, 9),
+(170, 2, 200, 25, 10),
+(171, 2, 200, 5, 11),
+(172, 2, 201, 18, 1),
+(173, 2, 201, 2, 2),
+(174, 2, 201, 6, 3),
+(175, 2, 201, 19, 4),
+(176, 2, 201, 20, 5),
+(177, 2, 201, 21, 6),
+(178, 2, 201, 22, 7),
+(179, 2, 201, 23, 8),
+(180, 2, 201, 9, 9),
+(181, 2, 201, 25, 10)");
 
                // API array elements - AD-Magnet
 
                // API array elements - ADCocktail
 
                // API array elements - AdPaid
+               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_api_id`, `network_id`, `network_type_id`, `network_api_index`, `sort`) VALUES
+(182, 5, 177, 7, 1),
+(183, 5, 177, 2, 2),
+(184, 5, 177, 3, 3),
+(185, 5, 177, 4, 4),
+(186, 5, 177, 5, 5),
+(187, 5, 177, 6, 6),
+(188, 5, 177, 8, 7),
+(189, 5, 177, 10, 8),
+(190, 5, 178, 11, 1),
+(191, 5, 178, 2, 2),
+(192, 5, 178, 9, 3),
+(193, 5, 178, 4, 4),
+(194, 5, 178, 5, 5),
+(195, 5, 178, 6, 6),
+(196, 5, 179, 12, 1),
+(197, 5, 179, 2, 2),
+(198, 5, 179, 3, 3),
+(199, 5, 179, 4, 4),
+(200, 5, 179, 5, 5),
+(201, 5, 179, 6, 6),
+(202, 5, 179, 8, 7),
+(203, 5, 180, 7, 1),
+(204, 5, 180, 2, 2),
+(205, 5, 180, 3, 3),
+(206, 5, 180, 4, 4),
+(207, 5, 180, 5, 5),
+(208, 5, 180, 6, 6),
+(209, 5, 180, 10, 7),
+(210, 5, 180, 8, 8),
+(211, 5, 181, 13, 1),
+(212, 5, 181, 2, 2),
+(213, 5, 181, 4, 3),
+(214, 5, 181, 5, 4),
+(215, 5, 181, 6, 5),
+(216, 5, 181, 10, 6),
+(217, 5, 181, 9, 7),
+(218, 5, 182, 14, 1),
+(219, 5, 182, 2, 2),
+(220, 5, 182, 4, 3),
+(221, 5, 182, 5, 4),
+(222, 5, 182, 6, 5),
+(223, 5, 183, 15, 1),
+(224, 5, 183, 2, 2),
+(225, 5, 183, 4, 3),
+(226, 5, 183, 5, 4),
+(227, 5, 183, 6, 5),
+(228, 5, 183, 10, 6),
+(229, 5, 185, 17, 1),
+(230, 5, 185, 2, 2),
+(231, 5, 185, 6, 3),
+(232, 5, 185, 19, 4),
+(233, 5, 185, 20, 5),
+(234, 5, 185, 21, 6),
+(235, 5, 185, 22, 7),
+(236, 5, 185, 23, 8),
+(237, 5, 185, 9, 9)");
 
                // API array elements - Ads4.de
+               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_api_id`, `network_id`, `network_type_id`, `network_api_index`, `sort`) VALUES
+(239, 6, 14, 7, 1),
+(240, 6, 14, 2, 2),
+(241, 6, 14, 6, 3),
+(242, 6, 14, 4, 4),
+(243, 6, 14, 5, 5),
+(244, 6, 14, 10, 6),
+(245, 6, 15, 13, 1),
+(246, 6, 15, 2, 2),
+(247, 6, 15, 6, 3),
+(248, 6, 15, 4, 4),
+(249, 6, 15, 5, 5),
+(250, 6, 15, 10, 6),
+(251, 6, 16, 13, 1),
+(252, 6, 16, 2, 2),
+(253, 6, 16, 6, 3),
+(254, 6, 16, 4, 4),
+(255, 6, 16, 5, 5),
+(256, 6, 16, 10, 6),
+(257, 6, 119, 26, 1),
+(258, 6, 119, 2, 2),
+(259, 6, 119, 6, 3),
+(260, 6, 119, 4, 4),
+(261, 6, 119, 5, 5),
+(262, 6, 119, 10, 6)");
 
                // API array elements - Ads4Webbis
+               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_api_id`, `network_id`, `network_type_id`, `network_api_index`, `sort`) VALUES
+(263, 7, 20, 1, 1),
+(264, 7, 20, 2, 2),
+(265, 7, 20, 4, 3),
+(266, 7, 20, 5, 4),
+(267, 7, 20, 6, 5),
+(268, 7, 20, 10, 6),
+(269, 7, 20, 9, 7),
+(270, 7, 20, 27, 8),
+(271, 7, 19, 1, 1),
+(272, 7, 19, 2, 2),
+(273, 7, 19, 4, 3),
+(274, 7, 19, 5, 4),
+(275, 7, 19, 6, 5),
+(276, 7, 19, 10, 6),
+(277, 7, 19, 9, 7),
+(278, 7, 19, 27, 8),
+(279, 7, 22, 1, 1),
+(280, 7, 22, 2, 2),
+(281, 7, 22, 4, 3),
+(282, 7, 22, 5, 4),
+(283, 7, 22, 6, 5),
+(284, 7, 22, 10, 6),
+(285, 7, 22, 9, 7),
+(286, 7, 22, 27, 8),
+(287, 7, 17, 1, 1),
+(288, 7, 17, 2, 2),
+(289, 7, 17, 4, 3),
+(290, 7, 17, 5, 4),
+(291, 7, 17, 6, 5),
+(292, 7, 17, 10, 6),
+(293, 7, 17, 9, 7),
+(294, 7, 17, 27, 8),
+(295, 7, 18, 1, 1),
+(296, 7, 18, 2, 2),
+(297, 7, 18, 4, 3),
+(298, 7, 18, 5, 4),
+(299, 7, 18, 6, 5),
+(300, 7, 18, 10, 6),
+(301, 7, 18, 9, 7),
+(302, 7, 18, 27, 8),
+(303, 7, 24, 1, 1),
+(304, 7, 24, 2, 2),
+(305, 7, 24, 4, 3),
+(306, 7, 24, 5, 4),
+(307, 7, 24, 6, 5),
+(308, 7, 24, 10, 6),
+(309, 7, 24, 9, 7),
+(310, 7, 24, 27, 8),
+(311, 7, 21, 1, 1),
+(312, 7, 21, 2, 2),
+(313, 7, 21, 4, 3),
+(314, 7, 21, 5, 4),
+(315, 7, 21, 6, 5),
+(316, 7, 21, 10, 6),
+(317, 7, 21, 9, 7),
+(318, 7, 21, 27, 8),
+(319, 7, 23, 1, 1),
+(320, 7, 23, 2, 2),
+(321, 7, 23, 4, 3),
+(322, 7, 23, 5, 4),
+(323, 7, 23, 6, 5),
+(324, 7, 23, 10, 6),
+(325, 7, 23, 9, 7),
+(326, 7, 23, 27, 8),
+(327, 7, 25, 1, 1),
+(328, 7, 25, 2, 2),
+(329, 7, 25, 4, 3),
+(330, 7, 25, 5, 4),
+(331, 7, 25, 6, 5),
+(332, 7, 25, 10, 6),
+(333, 7, 25, 9, 7),
+(334, 7, 25, 27, 8),
+(365, 7, 120, 1, 1),
+(336, 7, 120, 2, 2),
+(337, 7, 120, 4, 3),
+(338, 7, 120, 5, 4),
+(339, 7, 120, 6, 5),
+(340, 7, 120, 10, 6),
+(341, 7, 120, 9, 7),
+(342, 7, 120, 27, 8)");
 
                // API array elements - Ads4World
+               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_api_id`, `network_id`, `network_type_id`, `network_api_index`, `sort`) VALUES
+(366, 8, 26, 1, 1),
+(367, 8, 26, 2, 2),
+(368, 8, 26, 4, 3),
+(369, 8, 26, 5, 4),
+(370, 8, 26, 6, 5),
+(371, 8, 27, 1, 1),
+(372, 8, 27, 2, 2),
+(373, 8, 27, 4, 3),
+(374, 8, 27, 5, 4),
+(375, 8, 27, 6, 5),
+(376, 8, 28, 1, 1),
+(377, 8, 28, 2, 2),
+(378, 8, 28, 4, 3),
+(379, 8, 28, 5, 4),
+(380, 8, 28, 6, 5),
+(381, 8, 29, 1, 1),
+(382, 8, 29, 2, 2),
+(383, 8, 29, 4, 3),
+(384, 8, 29, 5, 4),
+(385, 8, 29, 6, 5),
+(386, 8, 30, 1, 1),
+(387, 8, 30, 2, 2),
+(388, 8, 30, 4, 3),
+(389, 8, 30, 5, 4),
+(390, 8, 30, 6, 5),
+(391, 8, 31, 1, 1),
+(392, 8, 31, 2, 2),
+(393, 8, 31, 4, 3),
+(394, 8, 31, 5, 4),
+(395, 8, 31, 6, 5),
+(396, 8, 32, 1, 1),
+(397, 8, 32, 2, 2),
+(398, 8, 32, 4, 3),
+(399, 8, 32, 5, 4),
+(400, 8, 32, 6, 5),
+(406, 8, 33, 1, 1),
+(407, 8, 33, 2, 2),
+(408, 8, 33, 4, 3),
+(409, 8, 33, 5, 4),
+(410, 8, 33, 6, 5),
+(411, 8, 33, 10, 6),
+(412, 8, 34, 1, 1),
+(413, 8, 34, 2, 2),
+(414, 8, 34, 4, 3),
+(415, 8, 34, 5, 4),
+(416, 8, 34, 6, 5),
+(417, 8, 34, 10, 6),
+(418, 8, 34, 9, 7),
+(401, 8, 121, 1, 1),
+(402, 8, 121, 2, 2),
+(403, 8, 121, 4, 3),
+(404, 8, 121, 5, 4),
+(405, 8, 121, 6, 5)");
 
                // API array elements - Affiliblatt
 
                // API array elements - AllAds4You
+               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_api_id`, `network_id`, `network_type_id`, `network_api_index`, `sort`) VALUES
+(419, 10, 167, 1, 1),
+(420, 10, 167, 2, 2),
+(421, 10, 167, 4, 3),
+(422, 10, 167, 5, 4),
+(423, 10, 167, 6, 5),
+(424, 10, 168, 1, 1),
+(425, 10, 168, 2, 2),
+(426, 10, 168, 4, 3),
+(427, 10, 168, 5, 4),
+(428, 10, 168, 6, 5),
+(429, 10, 169, 1, 1),
+(430, 10, 169, 2, 2),
+(431, 10, 169, 4, 3),
+(432, 10, 169, 5, 4),
+(433, 10, 169, 6, 5),
+(434, 10, 170, 1, 1),
+(435, 10, 170, 2, 2),
+(436, 10, 170, 4, 3),
+(437, 10, 170, 5, 4),
+(438, 10, 170, 6, 5),
+(439, 10, 171, 1, 1),
+(440, 10, 171, 2, 2),
+(441, 10, 171, 4, 3),
+(442, 10, 171, 5, 4),
+(443, 10, 171, 6, 5),
+(444, 10, 172, 1, 1),
+(445, 10, 172, 2, 2),
+(446, 10, 172, 4, 3),
+(447, 10, 172, 5, 4),
+(448, 10, 172, 6, 5),
+(449, 10, 173, 1, 1),
+(450, 10, 173, 2, 2),
+(451, 10, 173, 4, 3),
+(452, 10, 173, 5, 4),
+(453, 10, 173, 6, 5),
+(454, 10, 174, 1, 1),
+(455, 10, 174, 2, 2),
+(456, 10, 174, 4, 3),
+(457, 10, 174, 5, 4),
+(458, 10, 174, 6, 5),
+(459, 10, 175, 1, 1),
+(460, 10, 175, 2, 2),
+(461, 10, 175, 4, 3),
+(462, 10, 175, 5, 4),
+(463, 10, 175, 6, 5),
+(464, 10, 175, 10, 6),
+(465, 10, 176, 1, 1),
+(466, 10, 176, 2, 2),
+(467, 10, 176, 4, 3),
+(468, 10, 176, 5, 4),
+(469, 10, 176, 6, 5),
+(470, 10, 176, 10, 6),
+(471, 10, 176, 9, 7)");
 
                // API array elements - Alster-Marketing
+               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_api_id`, `network_id`, `network_type_id`, `network_api_index`, `sort`) VALUES
+(472, 11, 35, 7, 1),
+(473, 11, 35, 2, 2),
+(474, 11, 35, 3, 3),
+(475, 11, 35, 4, 4),
+(476, 11, 35, 5, 5),
+(477, 11, 35, 6, 6),
+(478, 11, 35, 8, 7),
+(479, 11, 35, 10, 8),
+(488, 11, 36, 11, 1),
+(489, 11, 36, 2, 2),
+(490, 11, 36, 9, 3),
+(491, 11, 36, 4, 4),
+(492, 11, 36, 5, 5),
+(493, 11, 36, 6, 6),
+(500, 11, 37, 12, 1),
+(501, 11, 37, 2, 2),
+(502, 11, 37, 3, 3),
+(503, 11, 37, 4, 4),
+(504, 11, 37, 5, 5),
+(505, 11, 37, 6, 6),
+(506, 11, 37, 8, 7),
+(514, 11, 38, 7, 1),
+(515, 11, 38, 2, 2),
+(516, 11, 38, 3, 3),
+(517, 11, 38, 4, 4),
+(518, 11, 38, 5, 5),
+(519, 11, 38, 6, 6),
+(520, 11, 38, 10, 7),
+(521, 11, 38, 8, 8),
+(522, 11, 39, 13, 1),
+(523, 11, 39, 2, 2),
+(524, 11, 39, 4, 3),
+(525, 11, 39, 5, 4),
+(526, 11, 39, 6, 5),
+(527, 11, 39, 10, 6),
+(528, 11, 39, 9, 7),
+(536, 11, 40, 14, 1),
+(537, 11, 40, 2, 2),
+(538, 11, 40, 4, 3),
+(539, 11, 40, 5, 4),
+(540, 11, 40, 6, 5),
+(546, 11, 41, 15, 1),
+(547, 11, 41, 2, 2),
+(548, 11, 41, 4, 3),
+(549, 11, 41, 5, 4),
+(550, 11, 41, 6, 5),
+(551, 11, 41, 10, 6),
+(552, 11, 42, 16, 1),
+(553, 11, 42, 2, 2),
+(554, 11, 42, 4, 3),
+(555, 11, 42, 5, 4),
+(556, 11, 42, 6, 5),
+(557, 11, 42, 10, 6),
+(558, 11, 43, 17, 1),
+(559, 11, 43, 2, 2),
+(560, 11, 43, 6, 3),
+(561, 11, 43, 19, 4),
+(562, 11, 43, 20, 5),
+(563, 11, 43, 21, 6),
+(564, 11, 43, 22, 7),
+(565, 11, 43, 23, 8),
+(566, 11, 43, 9, 9),
+(567, 11, 43, 25, 10),
+(568, 11, 43, 5, 11),
+(569, 11, 44, 18, 1),
+(570, 11, 44, 2, 2),
+(571, 11, 44, 6, 3),
+(572, 11, 44, 19, 4),
+(573, 11, 44, 20, 5),
+(574, 11, 44, 21, 6),
+(575, 11, 44, 22, 7),
+(576, 11, 44, 23, 8),
+(577, 11, 44, 9, 9),
+(578, 11, 44, 25, 10),
+(480, 11, 45, 7, 1),
+(481, 11, 45, 2, 2),
+(482, 11, 45, 3, 3),
+(483, 11, 45, 4, 4),
+(484, 11, 45, 5, 5),
+(485, 11, 45, 6, 6),
+(486, 11, 45, 8, 7),
+(487, 11, 45, 10, 8),
+(494, 11, 46, 11, 1),
+(495, 11, 46, 2, 2),
+(496, 11, 46, 9, 3),
+(497, 11, 46, 4, 4),
+(498, 11, 46, 5, 5),
+(499, 11, 46, 6, 6),
+(507, 11, 47, 12, 1),
+(508, 11, 47, 2, 2),
+(509, 11, 47, 3, 3),
+(510, 11, 47, 4, 4),
+(511, 11, 47, 5, 5),
+(512, 11, 47, 6, 6),
+(513, 11, 47, 8, 7),
+(529, 11, 48, 13, 1),
+(530, 11, 48, 2, 2),
+(531, 11, 48, 4, 3),
+(532, 11, 48, 5, 4),
+(533, 11, 48, 6, 5),
+(534, 11, 48, 10, 6),
+(535, 11, 48, 9, 7),
+(541, 11, 49, 14, 1),
+(542, 11, 49, 2, 2),
+(543, 11, 49, 4, 3),
+(544, 11, 49, 5, 4),
+(545, 11, 49, 6, 5)");
 
                // API array elements - BonusSponsor
+               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_api_id`, `network_id`, `network_type_id`, `network_api_index`, `sort`) VALUES
+(579, 12, 50, 7, 1),
+(580, 12, 50, 2, 2),
+(581, 12, 50, 3, 3),
+(582, 12, 50, 4, 4),
+(583, 12, 50, 5, 5),
+(584, 12, 50, 6, 6),
+(585, 12, 50, 8, 7),
+(586, 12, 50, 10, 8),
+(587, 12, 52, 11, 1),
+(588, 12, 52, 2, 2),
+(589, 12, 52, 9, 3),
+(590, 12, 52, 4, 4),
+(591, 12, 52, 5, 5),
+(592, 12, 52, 6, 6),
+(593, 12, 54, 7, 1),
+(594, 12, 54, 2, 2),
+(595, 12, 54, 3, 3),
+(596, 12, 54, 4, 4),
+(597, 12, 54, 5, 5),
+(598, 12, 54, 6, 6),
+(599, 12, 54, 10, 7),
+(600, 12, 54, 8, 8),
+(601, 12, 55, 13, 1),
+(602, 12, 55, 2, 2),
+(603, 12, 55, 4, 3),
+(604, 12, 55, 5, 4),
+(605, 12, 55, 6, 5),
+(606, 12, 55, 10, 6),
+(607, 12, 55, 9, 7),
+(608, 12, 56, 13, 1),
+(609, 12, 56, 2, 2),
+(610, 12, 56, 4, 3),
+(611, 12, 56, 5, 4),
+(612, 12, 56, 6, 5),
+(613, 12, 56, 10, 6),
+(614, 12, 56, 9, 7),
+(615, 12, 62, 18, 1),
+(616, 12, 62, 2, 2),
+(617, 12, 62, 6, 3),
+(618, 12, 62, 19, 4),
+(619, 12, 62, 20, 5),
+(620, 12, 62, 21, 6),
+(621, 12, 62, 28, 7),
+(622, 12, 62, 29, 8),
+(623, 12, 62, 30, 9),
+(624, 12, 62, 31, 10),
+(625, 12, 62, 32, 11),
+(626, 12, 62, 33, 12),
+(627, 12, 62, 34, 13),
+(628, 12, 62, 22, 14),
+(629, 12, 62, 23, 15),
+(630, 12, 62, 24, 16),
+(631, 12, 62, 35, 17),
+(632, 12, 62, 36, 18),
+(633, 12, 62, 9, 19)");
 
                // API array elements - Fusion-Ads
 
                // API array elements - GigaPromo
+               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_api_id`, `network_id`, `network_type_id`, `network_api_index`, `sort`) VALUES
+(634, 14, 102, 7, 1),
+(635, 14, 102, 2, 2),
+(636, 14, 102, 4, 3),
+(637, 14, 102, 5, 4),
+(638, 14, 102, 6, 5),
+(639, 14, 103, 14, 1),
+(640, 14, 103, 2, 2),
+(641, 14, 103, 4, 3),
+(642, 14, 103, 5, 4),
+(643, 14, 103, 6, 5),
+(644, 14, 104, 7, 1),
+(645, 14, 104, 2, 2),
+(646, 14, 104, 4, 3),
+(647, 14, 104, 5, 4),
+(648, 14, 104, 6, 5),
+(649, 14, 104, 10, 6),
+(650, 14, 105, 11, 1),
+(651, 14, 105, 2, 2),
+(652, 14, 105, 4, 3),
+(653, 14, 105, 5, 4),
+(654, 14, 105, 6, 5),
+(655, 14, 105, 10, 6),
+(656, 14, 105, 9, 7),
+(657, 14, 106, 13, 1),
+(658, 14, 106, 2, 2),
+(659, 14, 106, 5, 3),
+(660, 14, 106, 6, 4),
+(661, 14, 106, 10, 5),
+(662, 14, 106, 37, 6),
+(663, 14, 106, 9, 7),
+(669, 14, 107, 15, 1),
+(670, 14, 107, 2, 2),
+(671, 14, 107, 4, 3),
+(672, 14, 107, 5, 4),
+(673, 14, 107, 6, 5),
+(674, 14, 107, 10, 6),
+(675, 14, 108, 16, 1),
+(676, 14, 108, 2, 2),
+(677, 14, 108, 4, 3),
+(678, 14, 108, 5, 4),
+(679, 14, 108, 6, 5),
+(680, 14, 108, 10, 6),
+(664, 14, 122, 26, 1),
+(665, 14, 122, 2, 2),
+(666, 14, 122, 4, 3),
+(667, 14, 122, 5, 4),
+(668, 14, 122, 6, 5)");
 
                // API array elements - HPSponsor
+               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_api_id`, `network_id`, `network_type_id`, `network_api_index`, `sort`) VALUES
+(681, 15, 135, 1, 1),
+(682, 15, 135, 2, 2),
+(683, 15, 135, 4, 3),
+(684, 15, 135, 5, 4),
+(685, 15, 135, 6, 5),
+(686, 15, 135, 10, 6),
+(687, 15, 135, 9, 7),
+(688, 15, 135, 27, 8),
+(689, 15, 136, 1, 1),
+(690, 15, 136, 2, 2),
+(691, 15, 136, 4, 3),
+(692, 15, 136, 5, 4),
+(693, 15, 136, 6, 5),
+(694, 15, 136, 10, 6),
+(695, 15, 136, 9, 7),
+(696, 15, 136, 27, 8),
+(697, 15, 137, 1, 1),
+(698, 15, 137, 2, 2),
+(699, 15, 137, 4, 3),
+(700, 15, 137, 5, 4),
+(701, 15, 137, 6, 5),
+(702, 15, 137, 10, 6),
+(703, 15, 137, 9, 7),
+(704, 15, 137, 27, 8),
+(705, 15, 138, 1, 1),
+(706, 15, 138, 2, 2),
+(707, 15, 138, 4, 3),
+(708, 15, 138, 5, 4),
+(709, 15, 138, 6, 5),
+(710, 15, 138, 10, 6),
+(711, 15, 138, 9, 7),
+(712, 15, 138, 27, 8),
+(713, 15, 139, 1, 1),
+(714, 15, 139, 2, 2),
+(715, 15, 139, 4, 3),
+(716, 15, 139, 5, 4),
+(717, 15, 139, 6, 5),
+(718, 15, 139, 10, 6),
+(719, 15, 139, 9, 7),
+(720, 15, 139, 27, 8),
+(721, 15, 140, 1, 1),
+(722, 15, 140, 2, 2),
+(723, 15, 140, 4, 3),
+(724, 15, 140, 5, 4),
+(725, 15, 140, 6, 5),
+(726, 15, 140, 10, 6),
+(727, 15, 140, 9, 7),
+(728, 15, 140, 27, 8),
+(729, 15, 141, 1, 1),
+(730, 15, 141, 2, 2),
+(731, 15, 141, 4, 3),
+(732, 15, 141, 5, 4),
+(733, 15, 141, 6, 5),
+(734, 15, 141, 10, 6),
+(735, 15, 141, 9, 7),
+(736, 15, 141, 27, 8),
+(737, 15, 142, 1, 1),
+(738, 15, 142, 2, 2),
+(739, 15, 142, 4, 3),
+(740, 15, 142, 5, 4),
+(741, 15, 142, 6, 5),
+(742, 15, 142, 10, 6),
+(743, 15, 142, 9, 7),
+(744, 15, 142, 27, 8),
+(745, 15, 143, 1, 1),
+(746, 15, 143, 2, 2),
+(747, 15, 143, 4, 3),
+(748, 15, 143, 5, 4),
+(749, 15, 143, 6, 5),
+(750, 15, 143, 10, 6),
+(751, 15, 143, 9, 7),
+(752, 15, 143, 27, 8),
+(753, 15, 144, 1, 1),
+(754, 15, 144, 2, 2),
+(755, 15, 144, 4, 3),
+(756, 15, 144, 5, 4),
+(757, 15, 144, 6, 5),
+(758, 15, 144, 10, 6),
+(759, 15, 144, 9, 7),
+(760, 15, 144, 27, 8)");
 
                // API array elements - Make-Euros.de
+               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_api_id`, `network_id`, `network_type_id`, `network_api_index`, `sort`) VALUES
+(761, 16, 63, 7, 1),
+(762, 16, 63, 2, 2),
+(763, 16, 63, 3, 3),
+(764, 16, 63, 4, 4),
+(765, 16, 63, 5, 5),
+(766, 16, 63, 6, 6),
+(767, 16, 63, 8, 7),
+(768, 16, 63, 10, 8),
+(769, 16, 64, 7, 1),
+(770, 16, 64, 2, 2),
+(771, 16, 64, 3, 3),
+(772, 16, 64, 4, 4),
+(773, 16, 64, 5, 5),
+(774, 16, 64, 6, 6),
+(775, 16, 64, 8, 7),
+(776, 16, 64, 10, 8),
+(777, 16, 65, 11, 1),
+(778, 16, 65, 2, 2),
+(779, 16, 65, 9, 3),
+(780, 16, 65, 4, 4),
+(781, 16, 65, 5, 5),
+(782, 16, 65, 6, 6),
+(783, 16, 66, 11, 1),
+(784, 16, 66, 2, 2),
+(785, 16, 66, 9, 3),
+(786, 16, 66, 4, 4),
+(787, 16, 66, 5, 5),
+(788, 16, 66, 6, 6),
+(789, 16, 67, 12, 1),
+(790, 16, 67, 2, 2),
+(791, 16, 67, 3, 3),
+(792, 16, 67, 4, 4),
+(793, 16, 67, 5, 5),
+(794, 16, 67, 6, 6),
+(795, 16, 67, 8, 7),
+(803, 16, 68, 7, 1),
+(804, 16, 68, 2, 2),
+(805, 16, 68, 3, 3),
+(806, 16, 68, 4, 4),
+(807, 16, 68, 5, 5),
+(808, 16, 68, 6, 6),
+(809, 16, 68, 10, 7),
+(810, 16, 68, 8, 8),
+(796, 16, 69, 12, 1),
+(797, 16, 69, 2, 2),
+(798, 16, 69, 3, 3),
+(799, 16, 69, 4, 4),
+(800, 16, 69, 5, 5),
+(801, 16, 69, 6, 6),
+(802, 16, 69, 8, 7),
+(811, 16, 70, 13, 1),
+(812, 16, 70, 2, 2),
+(813, 16, 70, 4, 3),
+(814, 16, 70, 5, 4),
+(815, 16, 70, 6, 5),
+(816, 16, 70, 10, 6),
+(817, 16, 70, 9, 7),
+(818, 16, 71, 13, 1),
+(819, 16, 71, 2, 2),
+(820, 16, 71, 4, 3),
+(821, 16, 71, 5, 4),
+(822, 16, 71, 6, 5),
+(823, 16, 71, 10, 6),
+(824, 16, 71, 9, 7),
+(825, 16, 72, 14, 1),
+(826, 16, 72, 2, 2),
+(827, 16, 72, 4, 3),
+(828, 16, 72, 5, 4),
+(829, 16, 72, 6, 5),
+(830, 16, 73, 14, 1),
+(831, 16, 73, 2, 2),
+(832, 16, 73, 4, 3),
+(833, 16, 73, 5, 4),
+(834, 16, 73, 6, 5),
+(835, 16, 74, 15, 1),
+(836, 16, 74, 2, 2),
+(837, 16, 74, 4, 3),
+(838, 16, 74, 5, 4),
+(839, 16, 74, 6, 5),
+(840, 16, 74, 10, 6),
+(841, 16, 75, 16, 1),
+(842, 16, 75, 2, 2),
+(843, 16, 75, 4, 3),
+(844, 16, 75, 5, 4),
+(845, 16, 75, 6, 5),
+(846, 16, 75, 10, 6),
+(847, 16, 76, 17, 1),
+(848, 16, 76, 2, 2),
+(849, 16, 76, 6, 3),
+(850, 16, 76, 19, 4),
+(851, 16, 76, 20, 5),
+(852, 16, 76, 21, 6),
+(853, 16, 76, 22, 7),
+(854, 16, 76, 23, 8),
+(855, 16, 76, 9, 9)");
 
                // API array elements - Mega-Ad
+               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_api_id`, `network_id`, `network_type_id`, `network_api_index`, `sort`) VALUES
+(868, 17, 109, 1, 1),
+(869, 17, 109, 2, 2),
+(870, 17, 109, 4, 3),
+(871, 17, 109, 5, 4),
+(872, 17, 109, 6, 5),
+(873, 17, 110, 1, 1),
+(874, 17, 110, 2, 2),
+(875, 17, 110, 4, 3),
+(876, 17, 110, 5, 4),
+(877, 17, 110, 6, 5),
+(878, 17, 111, 1, 1),
+(879, 17, 111, 2, 2),
+(880, 17, 111, 4, 3),
+(881, 17, 111, 5, 4),
+(882, 17, 111, 6, 5),
+(883, 17, 112, 1, 1),
+(884, 17, 112, 2, 2),
+(885, 17, 112, 4, 3),
+(886, 17, 112, 5, 4),
+(887, 17, 112, 6, 5),
+(888, 17, 113, 1, 1),
+(889, 17, 113, 2, 2),
+(890, 17, 113, 4, 3),
+(891, 17, 113, 5, 4),
+(892, 17, 113, 6, 5),
+(893, 17, 114, 1, 1),
+(894, 17, 114, 2, 2),
+(895, 17, 114, 4, 3),
+(896, 17, 114, 5, 4),
+(897, 17, 114, 6, 5),
+(898, 17, 115, 1, 1),
+(899, 17, 115, 2, 2),
+(900, 17, 115, 4, 3),
+(901, 17, 115, 5, 4),
+(902, 17, 115, 6, 5),
+(915, 17, 116, 1, 1),
+(916, 17, 116, 2, 2),
+(917, 17, 116, 4, 3),
+(918, 17, 116, 5, 4),
+(919, 17, 116, 6, 5),
+(920, 17, 116, 10, 6),
+(908, 17, 117, 1, 1),
+(909, 17, 117, 2, 2),
+(910, 17, 117, 4, 3),
+(911, 17, 117, 5, 4),
+(912, 17, 117, 6, 5),
+(913, 17, 117, 10, 6),
+(914, 17, 117, 9, 7),
+(903, 17, 123, 1, 1),
+(904, 17, 123, 2, 2),
+(905, 17, 123, 4, 3),
+(906, 17, 123, 5, 4),
+(907, 17, 123, 6, 5)");
 
                // API array elements - Power-Promo
+               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_network_api_translation` (`network_api_id`, `network_id`, `network_type_id`, `network_api_index`, `sort`) VALUES
+(921, 18, 78, 7, 1),
+(922, 18, 78, 2, 2),
+(923, 18, 78, 3, 3),
+(924, 18, 78, 4, 4),
+(925, 18, 78, 5, 5),
+(926, 18, 78, 6, 6),
+(927, 18, 78, 8, 7),
+(928, 18, 78, 10, 8),
+(929, 18, 79, 7, 1),
+(930, 18, 79, 2, 2),
+(931, 18, 79, 3, 3),
+(932, 18, 79, 4, 4),
+(933, 18, 79, 5, 5),
+(934, 18, 79, 6, 6),
+(935, 18, 79, 8, 7),
+(936, 18, 79, 10, 8),
+(937, 18, 80, 11, 1),
+(938, 18, 80, 2, 2),
+(939, 18, 80, 9, 3),
+(940, 18, 80, 4, 4),
+(941, 18, 80, 5, 5),
+(942, 18, 80, 6, 6),
+(943, 18, 81, 11, 1),
+(944, 18, 81, 2, 2),
+(945, 18, 81, 9, 3),
+(946, 18, 81, 4, 4),
+(947, 18, 81, 5, 5),
+(948, 18, 81, 6, 6),
+(949, 18, 82, 12, 1),
+(950, 18, 82, 2, 2),
+(951, 18, 82, 3, 3),
+(952, 18, 82, 4, 4),
+(953, 18, 82, 5, 5),
+(954, 18, 82, 6, 6),
+(955, 18, 82, 8, 7),
+(956, 18, 83, 12, 1),
+(957, 18, 83, 2, 2),
+(958, 18, 83, 3, 3),
+(959, 18, 83, 4, 4),
+(960, 18, 83, 5, 5),
+(961, 18, 83, 6, 6),
+(962, 18, 83, 8, 7),
+(963, 18, 84, 7, 1),
+(964, 18, 84, 2, 2),
+(965, 18, 84, 3, 3),
+(966, 18, 84, 4, 4),
+(967, 18, 84, 5, 5),
+(968, 18, 84, 6, 6),
+(969, 18, 84, 10, 7),
+(970, 18, 84, 8, 8),
+(971, 18, 85, 13, 1),
+(972, 18, 85, 2, 2),
+(973, 18, 85, 4, 3),
+(974, 18, 85, 5, 4),
+(975, 18, 85, 6, 5),
+(976, 18, 85, 10, 6),
+(977, 18, 85, 9, 7),
+(978, 18, 86, 13, 1),
+(979, 18, 86, 2, 2),
+(980, 18, 86, 4, 3),
+(981, 18, 86, 5, 4),
+(982, 18, 86, 6, 5),
+(983, 18, 86, 10, 6),
+(984, 18, 86, 9, 7),
+(985, 18, 87, 14, 1),
+(986, 18, 87, 2, 2),
+(987, 18, 87, 4, 3),
+(988, 18, 87, 5, 4),
+(989, 18, 87, 6, 5),
+(990, 18, 88, 14, 1),
+(991, 18, 88, 2, 2),
+(992, 18, 88, 4, 3),
+(993, 18, 88, 5, 4),
+(994, 18, 88, 6, 5),
+(995, 18, 89, 15, 1),
+(996, 18, 89, 2, 2),
+(997, 18, 89, 4, 3),
+(998, 18, 89, 5, 4),
+(999, 18, 89, 6, 5),
+(1000, 18, 89, 10, 6),
+(1001, 18, 90, 16, 1),
+(1002, 18, 90, 2, 2),
+(1003, 18, 90, 4, 3),
+(1004, 18, 90, 5, 4),
+(1005, 18, 90, 6, 5),
+(1006, 18, 90, 10, 6),
+(1007, 18, 91, 17, 1),
+(1008, 18, 91, 2, 2),
+(1009, 18, 91, 6, 3),
+(1010, 18, 91, 19, 4),
+(1011, 18, 91, 20, 5),
+(1012, 18, 91, 21, 6),
+(1013, 18, 91, 22, 7),
+(1014, 18, 91, 23, 8),
+(1015, 18, 91, 9, 9),
+(1016, 18, 91, 25, 10),
+(1017, 18, 91, 5, 11),
+(1018, 18, 92, 18, 1),
+(1019, 18, 92, 2, 2),
+(1020, 18, 92, 6, 3),
+(1021, 18, 92, 19, 4),
+(1022, 18, 92, 20, 5),
+(1023, 18, 92, 21, 6),
+(1024, 18, 92, 22, 7),
+(1025, 18, 92, 23, 8),
+(1026, 18, 92, 9, 9),
+(1027, 18, 92, 25, 10)");
 
                // API array elements - SeCash
 
@@ -2173,10 +3109,6 @@ PRIMARY KEY (`network_reload_id`)
 
                // API array elements - Yoo!Media
 
-               // Fix empty defaults to NULL
-               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_network_types` SET `network_type_banner_url`=NULL WHERE `network_type_banner_url`=''");
-               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_network_request_params` SET `request_param_default`=NULL WHERE `request_param_default`=''");
-
                // Admin menu entries
                addAdminMenuSql('network',NULL,'Werbenetzwerke','Verwalten Sie hier Werbenetzwerke (API-Anbindung), versenden Sie deren Mails, oder &uuml;bernehmen Sie deren Textlinks und vieles mehr. <strong>VORSICHT:</strong> Das Einrichten von weiteren Werbenetzwerken ist nicht leicht, daf&uuml;r aber sehr flexibel! Sollte ein Netzwerk fehlen, so melden Sie dies bitte <a href="http://forum.mxchange.org/topic-462.html" target="_blank" title="Direktlink zum Forum">im Forum</a>!',4);
                addAdminMenuSql('network','config_networks','API-Daten','Stellen Sie Ihre Affiliate- Webseiten-Id und API-Passwort ein. Diese erhalten Sie zu &uuml;ber 99% aus dem jeweiligen Zugangsbereich des Anbieters. Sollten Sie bei einem Netzwerk noch nicht angemeldet sein, verwenden Sie bitte meinen Referal-Link.',1);