--
-- Version: 0.3 by na8ur
-- (newer Versions available!)
--
-- 
-- Produced with the help of Paul Maunders
-- Version 0.2: http://www.pyrosoft.co.uk/mysql-apility/google-aplility-mysql-0-2.sql
-- URL: http://www.pyrosoft.co.uk
--
--
-- Host: localhost
-- Erstellungszeit: 22. Oktober 2005 um 20:51
-- Server Version: 4.1.11
-- PHP-Version: 4.3.10-16
-- 
-- Datenbank: `AdOptimize-Customer-DB`
-- 

-- --------------------------------------------------------

-- 
-- Tabellenstruktur für Tabelle `AdGroup`
-- 

CREATE TABLE `AdGroup` (
  `name` varchar(255) collate latin1_german2_ci NOT NULL default '',
  `id` bigint(20) unsigned NOT NULL default '0',
  `belongsToCampaignId` bigint(20) unsigned NOT NULL default '0',
  `maxCpc` float NOT NULL default '0',
  `status` varchar(255) collate latin1_german2_ci NOT NULL default '',
  PRIMARY KEY  (`id`),
  KEY `belongsToCampaignId` (`belongsToCampaignId`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_german2_ci;

-- --------------------------------------------------------

-- 
-- Tabellenstruktur für Tabelle `Campaign`
-- 

CREATE TABLE `Campaign` (
  `name` varchar(255) collate latin1_german2_ci NOT NULL default '',
  `id` bigint(20) unsigned NOT NULL default '0',
  `status` varchar(255) collate latin1_german2_ci NOT NULL default '',
  `startDate` varchar(255) collate latin1_german2_ci NOT NULL default '',
  `endDate` varchar(255) collate latin1_german2_ci NOT NULL default '',
  `dailyBudget` float NOT NULL default '0',
  `isActiveInSearch` tinyint(1) NOT NULL default '0',
  `isActiveInContent` tinyint(1) NOT NULL default '0',
  `languages` text collate latin1_german2_ci NOT NULL,
  `countries` text collate latin1_german2_ci NOT NULL,
  `campaignNegativeKeywords` text collate latin1_german2_ci NOT NULL,
  `isOptimizeAdServing` tinyint(1) NOT NULL default '0',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_german2_ci;

-- --------------------------------------------------------

-- 
-- Tabellenstruktur für Tabelle `Campaign_Country`
-- 

CREATE TABLE `Campaign_Country` (
  `campaign_id` int(20) NOT NULL default '0',
  `iso` char(2) collate latin1_german2_ci NOT NULL default '0',
  PRIMARY KEY  (`campaign_id`,`iso`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_german2_ci;

-- --------------------------------------------------------

-- 
-- Tabellenstruktur für Tabelle `Campaign_Language`
-- 

CREATE TABLE `Campaign_Language` (
  `campaign_id` int(20) NOT NULL default '0',
  `language_id` varchar(255) collate latin1_german2_ci NOT NULL default '0',
  PRIMARY KEY  (`campaign_id`,`language_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_german2_ci;

-- --------------------------------------------------------

-- 
-- Tabellenstruktur für Tabelle `Campaign_campaignNegativeKeywords`
-- 

CREATE TABLE `Campaign_campaignNegativeKeywords` (
  `campaign_id` int(20) NOT NULL default '0',
  `keyword` varchar(255) collate latin1_german2_ci NOT NULL default ''
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_german2_ci;

-- --------------------------------------------------------

-- 
-- Tabellenstruktur für Tabelle `Country`
-- 

CREATE TABLE `Country` (
  `iso` char(2) collate latin1_german2_ci NOT NULL default '',
  `name` varchar(80) collate latin1_german2_ci NOT NULL default '',
  `printable_name` varchar(80) collate latin1_german2_ci NOT NULL default '',
  `iso3` char(3) collate latin1_german2_ci default NULL,
  `numcode` smallint(6) default NULL,
  PRIMARY KEY  (`iso`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_german2_ci;

-- 
-- Dumping data for table `Country`
-- 

INSERT INTO `Country` VALUES ('AF', 'AFGHANISTAN', 'Afghanistan', 'AFG', 4);
INSERT INTO `Country` VALUES ('AL', 'ALBANIA', 'Albania', 'ALB', 8);
INSERT INTO `Country` VALUES ('DZ', 'ALGERIA', 'Algeria', 'DZA', 12);
INSERT INTO `Country` VALUES ('AS', 'AMERICAN SAMOA', 'American Samoa', 'ASM', 16);
INSERT INTO `Country` VALUES ('AD', 'ANDORRA', 'Andorra', 'AND', 20);
INSERT INTO `Country` VALUES ('AO', 'ANGOLA', 'Angola', 'AGO', 24);
INSERT INTO `Country` VALUES ('AI', 'ANGUILLA', 'Anguilla', 'AIA', 660);
INSERT INTO `Country` VALUES ('AQ', 'ANTARCTICA', 'Antarctica', NULL, NULL);
INSERT INTO `Country` VALUES ('AG', 'ANTIGUA AND BARBUDA', 'Antigua and Barbuda', 'ATG', 28);
INSERT INTO `Country` VALUES ('AR', 'ARGENTINA', 'Argentina', 'ARG', 32);
INSERT INTO `Country` VALUES ('AM', 'ARMENIA', 'Armenia', 'ARM', 51);
INSERT INTO `Country` VALUES ('AW', 'ARUBA', 'Aruba', 'ABW', 533);
INSERT INTO `Country` VALUES ('AU', 'AUSTRALIA', 'Australia', 'AUS', 36);
INSERT INTO `Country` VALUES ('AT', 'AUSTRIA', 'Austria', 'AUT', 40);
INSERT INTO `Country` VALUES ('AZ', 'AZERBAIJAN', 'Azerbaijan', 'AZE', 31);
INSERT INTO `Country` VALUES ('BS', 'BAHAMAS', 'Bahamas', 'BHS', 44);
INSERT INTO `Country` VALUES ('BH', 'BAHRAIN', 'Bahrain', 'BHR', 48);
INSERT INTO `Country` VALUES ('BD', 'BANGLADESH', 'Bangladesh', 'BGD', 50);
INSERT INTO `Country` VALUES ('BB', 'BARBADOS', 'Barbados', 'BRB', 52);
INSERT INTO `Country` VALUES ('BY', 'BELARUS', 'Belarus', 'BLR', 112);
INSERT INTO `Country` VALUES ('BE', 'BELGIUM', 'Belgium', 'BEL', 56);
INSERT INTO `Country` VALUES ('BZ', 'BELIZE', 'Belize', 'BLZ', 84);
INSERT INTO `Country` VALUES ('BJ', 'BENIN', 'Benin', 'BEN', 204);
INSERT INTO `Country` VALUES ('BM', 'BERMUDA', 'Bermuda', 'BMU', 60);
INSERT INTO `Country` VALUES ('BT', 'BHUTAN', 'Bhutan', 'BTN', 64);
INSERT INTO `Country` VALUES ('BO', 'BOLIVIA', 'Bolivia', 'BOL', 68);
INSERT INTO `Country` VALUES ('BA', 'BOSNIA AND HERZEGOVINA', 'Bosnia and Herzegovina', 'BIH', 70);
INSERT INTO `Country` VALUES ('BW', 'BOTSWANA', 'Botswana', 'BWA', 72);
INSERT INTO `Country` VALUES ('BV', 'BOUVET ISLAND', 'Bouvet Island', NULL, NULL);
INSERT INTO `Country` VALUES ('BR', 'BRAZIL', 'Brazil', 'BRA', 76);
INSERT INTO `Country` VALUES ('IO', 'BRITISH INDIAN OCEAN TERRITORY', 'British Indian Ocean Territory', NULL, NULL);
INSERT INTO `Country` VALUES ('BN', 'BRUNEI DARUSSALAM', 'Brunei Darussalam', 'BRN', 96);
INSERT INTO `Country` VALUES ('BG', 'BULGARIA', 'Bulgaria', 'BGR', 100);
INSERT INTO `Country` VALUES ('BF', 'BURKINA FASO', 'Burkina Faso', 'BFA', 854);
INSERT INTO `Country` VALUES ('BI', 'BURUNDI', 'Burundi', 'BDI', 108);
INSERT INTO `Country` VALUES ('KH', 'CAMBODIA', 'Cambodia', 'KHM', 116);
INSERT INTO `Country` VALUES ('CM', 'CAMEROON', 'Cameroon', 'CMR', 120);
INSERT INTO `Country` VALUES ('CA', 'CANADA', 'Canada', 'CAN', 124);
INSERT INTO `Country` VALUES ('CV', 'CAPE VERDE', 'Cape Verde', 'CPV', 132);
INSERT INTO `Country` VALUES ('KY', 'CAYMAN ISLANDS', 'Cayman Islands', 'CYM', 136);
INSERT INTO `Country` VALUES ('CF', 'CENTRAL AFRICAN REPUBLIC', 'Central African Republic', 'CAF', 140);
INSERT INTO `Country` VALUES ('TD', 'CHAD', 'Chad', 'TCD', 148);
INSERT INTO `Country` VALUES ('CL', 'CHILE', 'Chile', 'CHL', 152);
INSERT INTO `Country` VALUES ('CN', 'CHINA', 'China', 'CHN', 156);
INSERT INTO `Country` VALUES ('CX', 'CHRISTMAS ISLAND', 'Christmas Island', NULL, NULL);
INSERT INTO `Country` VALUES ('CC', 'COCOS (KEELING) ISLANDS', 'Cocos (Keeling) Islands', NULL, NULL);
INSERT INTO `Country` VALUES ('CO', 'COLOMBIA', 'Colombia', 'COL', 170);
INSERT INTO `Country` VALUES ('KM', 'COMOROS', 'Comoros', 'COM', 174);
INSERT INTO `Country` VALUES ('CG', 'CONGO', 'Congo', 'COG', 178);
INSERT INTO `Country` VALUES ('CD', 'CONGO, THE DEMOCRATIC REPUBLIC OF THE', 'Congo, the Democratic Republic of the', 'COD', 180);
INSERT INTO `Country` VALUES ('CK', 'COOK ISLANDS', 'Cook Islands', 'COK', 184);
INSERT INTO `Country` VALUES ('CR', 'COSTA RICA', 'Costa Rica', 'CRI', 188);
INSERT INTO `Country` VALUES ('CI', 'COTE D''IVOIRE', 'Cote D''Ivoire', 'CIV', 384);
INSERT INTO `Country` VALUES ('HR', 'CROATIA', 'Croatia', 'HRV', 191);
INSERT INTO `Country` VALUES ('CU', 'CUBA', 'Cuba', 'CUB', 192);
INSERT INTO `Country` VALUES ('CY', 'CYPRUS', 'Cyprus', 'CYP', 196);
INSERT INTO `Country` VALUES ('CZ', 'CZECH REPUBLIC', 'Czech Republic', 'CZE', 203);
INSERT INTO `Country` VALUES ('DK', 'DENMARK', 'Denmark', 'DNK', 208);
INSERT INTO `Country` VALUES ('DJ', 'DJIBOUTI', 'Djibouti', 'DJI', 262);
INSERT INTO `Country` VALUES ('DM', 'DOMINICA', 'Dominica', 'DMA', 212);
INSERT INTO `Country` VALUES ('DO', 'DOMINICAN REPUBLIC', 'Dominican Republic', 'DOM', 214);
INSERT INTO `Country` VALUES ('EC', 'ECUADOR', 'Ecuador', 'ECU', 218);
INSERT INTO `Country` VALUES ('EG', 'EGYPT', 'Egypt', 'EGY', 818);
INSERT INTO `Country` VALUES ('SV', 'EL SALVADOR', 'El Salvador', 'SLV', 222);
INSERT INTO `Country` VALUES ('GQ', 'EQUATORIAL GUINEA', 'Equatorial Guinea', 'GNQ', 226);
INSERT INTO `Country` VALUES ('ER', 'ERITREA', 'Eritrea', 'ERI', 232);
INSERT INTO `Country` VALUES ('EE', 'ESTONIA', 'Estonia', 'EST', 233);
INSERT INTO `Country` VALUES ('ET', 'ETHIOPIA', 'Ethiopia', 'ETH', 231);
INSERT INTO `Country` VALUES ('FK', 'FALKLAND ISLANDS (MALVINAS)', 'Falkland Islands (Malvinas)', 'FLK', 238);
INSERT INTO `Country` VALUES ('FO', 'FAROE ISLANDS', 'Faroe Islands', 'FRO', 234);
INSERT INTO `Country` VALUES ('FJ', 'FIJI', 'Fiji', 'FJI', 242);
INSERT INTO `Country` VALUES ('FI', 'FINLAND', 'Finland', 'FIN', 246);
INSERT INTO `Country` VALUES ('FR', 'FRANCE', 'France', 'FRA', 250);
INSERT INTO `Country` VALUES ('GF', 'FRENCH GUIANA', 'French Guiana', 'GUF', 254);
INSERT INTO `Country` VALUES ('PF', 'FRENCH POLYNESIA', 'French Polynesia', 'PYF', 258);
INSERT INTO `Country` VALUES ('TF', 'FRENCH SOUTHERN TERRITORIES', 'French Southern Territories', NULL, NULL);
INSERT INTO `Country` VALUES ('GA', 'GABON', 'Gabon', 'GAB', 266);
INSERT INTO `Country` VALUES ('GM', 'GAMBIA', 'Gambia', 'GMB', 270);
INSERT INTO `Country` VALUES ('GE', 'GEORGIA', 'Georgia', 'GEO', 268);
INSERT INTO `Country` VALUES ('DE', 'GERMANY', 'Germany', 'DEU', 276);
INSERT INTO `Country` VALUES ('GH', 'GHANA', 'Ghana', 'GHA', 288);
INSERT INTO `Country` VALUES ('GI', 'GIBRALTAR', 'Gibraltar', 'GIB', 292);
INSERT INTO `Country` VALUES ('GR', 'GREECE', 'Greece', 'GRC', 300);
INSERT INTO `Country` VALUES ('GL', 'GREENLAND', 'Greenland', 'GRL', 304);
INSERT INTO `Country` VALUES ('GD', 'GRENADA', 'Grenada', 'GRD', 308);
INSERT INTO `Country` VALUES ('GP', 'GUADELOUPE', 'Guadeloupe', 'GLP', 312);
INSERT INTO `Country` VALUES ('GU', 'GUAM', 'Guam', 'GUM', 316);
INSERT INTO `Country` VALUES ('GT', 'GUATEMALA', 'Guatemala', 'GTM', 320);
INSERT INTO `Country` VALUES ('GN', 'GUINEA', 'Guinea', 'GIN', 324);
INSERT INTO `Country` VALUES ('GW', 'GUINEA-BISSAU', 'Guinea-Bissau', 'GNB', 624);
INSERT INTO `Country` VALUES ('GY', 'GUYANA', 'Guyana', 'GUY', 328);
INSERT INTO `Country` VALUES ('HT', 'HAITI', 'Haiti', 'HTI', 332);
INSERT INTO `Country` VALUES ('HM', 'HEARD ISLAND AND MCDONALD ISLANDS', 'Heard Island and Mcdonald Islands', NULL, NULL);
INSERT INTO `Country` VALUES ('VA', 'HOLY SEE (VATICAN CITY STATE)', 'Holy See (Vatican City State)', 'VAT', 336);
INSERT INTO `Country` VALUES ('HN', 'HONDURAS', 'Honduras', 'HND', 340);
INSERT INTO `Country` VALUES ('HK', 'HONG KONG', 'Hong Kong', 'HKG', 344);
INSERT INTO `Country` VALUES ('HU', 'HUNGARY', 'Hungary', 'HUN', 348);
INSERT INTO `Country` VALUES ('IS', 'ICELAND', 'Iceland', 'ISL', 352);
INSERT INTO `Country` VALUES ('IN', 'INDIA', 'India', 'IND', 356);
INSERT INTO `Country` VALUES ('ID', 'INDONESIA', 'Indonesia', 'IDN', 360);
INSERT INTO `Country` VALUES ('IR', 'IRAN, ISLAMIC REPUBLIC OF', 'Iran, Islamic Republic of', 'IRN', 364);
INSERT INTO `Country` VALUES ('IQ', 'IRAQ', 'Iraq', 'IRQ', 368);
INSERT INTO `Country` VALUES ('IE', 'IRELAND', 'Ireland', 'IRL', 372);
INSERT INTO `Country` VALUES ('IL', 'ISRAEL', 'Israel', 'ISR', 376);
INSERT INTO `Country` VALUES ('IT', 'ITALY', 'Italy', 'ITA', 380);
INSERT INTO `Country` VALUES ('JM', 'JAMAICA', 'Jamaica', 'JAM', 388);
INSERT INTO `Country` VALUES ('JP', 'JAPAN', 'Japan', 'JPN', 392);
INSERT INTO `Country` VALUES ('JO', 'JORDAN', 'Jordan', 'JOR', 400);
INSERT INTO `Country` VALUES ('KZ', 'KAZAKHSTAN', 'Kazakhstan', 'KAZ', 398);
INSERT INTO `Country` VALUES ('KE', 'KENYA', 'Kenya', 'KEN', 404);
INSERT INTO `Country` VALUES ('KI', 'KIRIBATI', 'Kiribati', 'KIR', 296);
INSERT INTO `Country` VALUES ('KP', 'KOREA, DEMOCRATIC PEOPLE''S REPUBLIC OF', 'Korea, Democratic People''s Republic of', 'PRK', 408);
INSERT INTO `Country` VALUES ('KR', 'KOREA, REPUBLIC OF', 'Korea, Republic of', 'KOR', 410);
INSERT INTO `Country` VALUES ('KW', 'KUWAIT', 'Kuwait', 'KWT', 414);
INSERT INTO `Country` VALUES ('KG', 'KYRGYZSTAN', 'Kyrgyzstan', 'KGZ', 417);
INSERT INTO `Country` VALUES ('LA', 'LAO PEOPLE''S DEMOCRATIC REPUBLIC', 'Lao People''s Democratic Republic', 'LAO', 418);
INSERT INTO `Country` VALUES ('LV', 'LATVIA', 'Latvia', 'LVA', 428);
INSERT INTO `Country` VALUES ('LB', 'LEBANON', 'Lebanon', 'LBN', 422);
INSERT INTO `Country` VALUES ('LS', 'LESOTHO', 'Lesotho', 'LSO', 426);
INSERT INTO `Country` VALUES ('LR', 'LIBERIA', 'Liberia', 'LBR', 430);
INSERT INTO `Country` VALUES ('LY', 'LIBYAN ARAB JAMAHIRIYA', 'Libyan Arab Jamahiriya', 'LBY', 434);
INSERT INTO `Country` VALUES ('LI', 'LIECHTENSTEIN', 'Liechtenstein', 'LIE', 438);
INSERT INTO `Country` VALUES ('LT', 'LITHUANIA', 'Lithuania', 'LTU', 440);
INSERT INTO `Country` VALUES ('LU', 'LUXEMBOURG', 'Luxembourg', 'LUX', 442);
INSERT INTO `Country` VALUES ('MO', 'MACAO', 'Macao', 'MAC', 446);
INSERT INTO `Country` VALUES ('MK', 'MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF', 'Macedonia, the Former Yugoslav Republic of', 'MKD', 807);
INSERT INTO `Country` VALUES ('MG', 'MADAGASCAR', 'Madagascar', 'MDG', 450);
INSERT INTO `Country` VALUES ('MW', 'MALAWI', 'Malawi', 'MWI', 454);
INSERT INTO `Country` VALUES ('MY', 'MALAYSIA', 'Malaysia', 'MYS', 458);
INSERT INTO `Country` VALUES ('MV', 'MALDIVES', 'Maldives', 'MDV', 462);
INSERT INTO `Country` VALUES ('ML', 'MALI', 'Mali', 'MLI', 466);
INSERT INTO `Country` VALUES ('MT', 'MALTA', 'Malta', 'MLT', 470);
INSERT INTO `Country` VALUES ('MH', 'MARSHALL ISLANDS', 'Marshall Islands', 'MHL', 584);
INSERT INTO `Country` VALUES ('MQ', 'MARTINIQUE', 'Martinique', 'MTQ', 474);
INSERT INTO `Country` VALUES ('MR', 'MAURITANIA', 'Mauritania', 'MRT', 478);
INSERT INTO `Country` VALUES ('MU', 'MAURITIUS', 'Mauritius', 'MUS', 480);
INSERT INTO `Country` VALUES ('YT', 'MAYOTTE', 'Mayotte', NULL, NULL);
INSERT INTO `Country` VALUES ('MX', 'MEXICO', 'Mexico', 'MEX', 484);
INSERT INTO `Country` VALUES ('FM', 'MICRONESIA, FEDERATED STATES OF', 'Micronesia, Federated States of', 'FSM', 583);
INSERT INTO `Country` VALUES ('MD', 'MOLDOVA, REPUBLIC OF', 'Moldova, Republic of', 'MDA', 498);
INSERT INTO `Country` VALUES ('MC', 'MONACO', 'Monaco', 'MCO', 492);
INSERT INTO `Country` VALUES ('MN', 'MONGOLIA', 'Mongolia', 'MNG', 496);
INSERT INTO `Country` VALUES ('MS', 'MONTSERRAT', 'Montserrat', 'MSR', 500);
INSERT INTO `Country` VALUES ('MA', 'MOROCCO', 'Morocco', 'MAR', 504);
INSERT INTO `Country` VALUES ('MZ', 'MOZAMBIQUE', 'Mozambique', 'MOZ', 508);
INSERT INTO `Country` VALUES ('MM', 'MYANMAR', 'Myanmar', 'MMR', 104);
INSERT INTO `Country` VALUES ('NA', 'NAMIBIA', 'Namibia', 'NAM', 516);
INSERT INTO `Country` VALUES ('NR', 'NAURU', 'Nauru', 'NRU', 520);
INSERT INTO `Country` VALUES ('NP', 'NEPAL', 'Nepal', 'NPL', 524);
INSERT INTO `Country` VALUES ('NL', 'NETHERLANDS', 'Netherlands', 'NLD', 528);
INSERT INTO `Country` VALUES ('AN', 'NETHERLANDS ANTILLES', 'Netherlands Antilles', 'ANT', 530);
INSERT INTO `Country` VALUES ('NC', 'NEW CALEDONIA', 'New Caledonia', 'NCL', 540);
INSERT INTO `Country` VALUES ('NZ', 'NEW ZEALAND', 'New Zealand', 'NZL', 554);
INSERT INTO `Country` VALUES ('NI', 'NICARAGUA', 'Nicaragua', 'NIC', 558);
INSERT INTO `Country` VALUES ('NE', 'NIGER', 'Niger', 'NER', 562);
INSERT INTO `Country` VALUES ('NG', 'NIGERIA', 'Nigeria', 'NGA', 566);
INSERT INTO `Country` VALUES ('NU', 'NIUE', 'Niue', 'NIU', 570);
INSERT INTO `Country` VALUES ('NF', 'NORFOLK ISLAND', 'Norfolk Island', 'NFK', 574);
INSERT INTO `Country` VALUES ('MP', 'NORTHERN MARIANA ISLANDS', 'Northern Mariana Islands', 'MNP', 580);
INSERT INTO `Country` VALUES ('NO', 'NORWAY', 'Norway', 'NOR', 578);
INSERT INTO `Country` VALUES ('OM', 'OMAN', 'Oman', 'OMN', 512);
INSERT INTO `Country` VALUES ('PK', 'PAKISTAN', 'Pakistan', 'PAK', 586);
INSERT INTO `Country` VALUES ('PW', 'PALAU', 'Palau', 'PLW', 585);
INSERT INTO `Country` VALUES ('PS', 'PALESTINIAN TERRITORY, OCCUPIED', 'Palestinian Territory, Occupied', NULL, NULL);
INSERT INTO `Country` VALUES ('PA', 'PANAMA', 'Panama', 'PAN', 591);
INSERT INTO `Country` VALUES ('PG', 'PAPUA NEW GUINEA', 'Papua New Guinea', 'PNG', 598);
INSERT INTO `Country` VALUES ('PY', 'PARAGUAY', 'Paraguay', 'PRY', 600);
INSERT INTO `Country` VALUES ('PE', 'PERU', 'Peru', 'PER', 604);
INSERT INTO `Country` VALUES ('PH', 'PHILIPPINES', 'Philippines', 'PHL', 608);
INSERT INTO `Country` VALUES ('PN', 'PITCAIRN', 'Pitcairn', 'PCN', 612);
INSERT INTO `Country` VALUES ('PL', 'POLAND', 'Poland', 'POL', 616);
INSERT INTO `Country` VALUES ('PT', 'PORTUGAL', 'Portugal', 'PRT', 620);
INSERT INTO `Country` VALUES ('PR', 'PUERTO RICO', 'Puerto Rico', 'PRI', 630);
INSERT INTO `Country` VALUES ('QA', 'QATAR', 'Qatar', 'QAT', 634);
INSERT INTO `Country` VALUES ('RE', 'REUNION', 'Reunion', 'REU', 638);
INSERT INTO `Country` VALUES ('RO', 'ROMANIA', 'Romania', 'ROM', 642);
INSERT INTO `Country` VALUES ('RU', 'RUSSIAN FEDERATION', 'Russian Federation', 'RUS', 643);
INSERT INTO `Country` VALUES ('RW', 'RWANDA', 'Rwanda', 'RWA', 646);
INSERT INTO `Country` VALUES ('SH', 'SAINT HELENA', 'Saint Helena', 'SHN', 654);
INSERT INTO `Country` VALUES ('KN', 'SAINT KITTS AND NEVIS', 'Saint Kitts and Nevis', 'KNA', 659);
INSERT INTO `Country` VALUES ('LC', 'SAINT LUCIA', 'Saint Lucia', 'LCA', 662);
INSERT INTO `Country` VALUES ('PM', 'SAINT PIERRE AND MIQUELON', 'Saint Pierre and Miquelon', 'SPM', 666);
INSERT INTO `Country` VALUES ('VC', 'SAINT VINCENT AND THE GRENADINES', 'Saint Vincent and the Grenadines', 'VCT', 670);
INSERT INTO `Country` VALUES ('WS', 'SAMOA', 'Samoa', 'WSM', 882);
INSERT INTO `Country` VALUES ('SM', 'SAN MARINO', 'San Marino', 'SMR', 674);
INSERT INTO `Country` VALUES ('ST', 'SAO TOME AND PRINCIPE', 'Sao Tome and Principe', 'STP', 678);
INSERT INTO `Country` VALUES ('SA', 'SAUDI ARABIA', 'Saudi Arabia', 'SAU', 682);
INSERT INTO `Country` VALUES ('SN', 'SENEGAL', 'Senegal', 'SEN', 686);
INSERT INTO `Country` VALUES ('CS', 'SERBIA AND MONTENEGRO', 'Serbia and Montenegro', NULL, NULL);
INSERT INTO `Country` VALUES ('SC', 'SEYCHELLES', 'Seychelles', 'SYC', 690);
INSERT INTO `Country` VALUES ('SL', 'SIERRA LEONE', 'Sierra Leone', 'SLE', 694);
INSERT INTO `Country` VALUES ('SG', 'SINGAPORE', 'Singapore', 'SGP', 702);
INSERT INTO `Country` VALUES ('SK', 'SLOVAKIA', 'Slovakia', 'SVK', 703);
INSERT INTO `Country` VALUES ('SI', 'SLOVENIA', 'Slovenia', 'SVN', 705);
INSERT INTO `Country` VALUES ('SB', 'SOLOMON ISLANDS', 'Solomon Islands', 'SLB', 90);
INSERT INTO `Country` VALUES ('SO', 'SOMALIA', 'Somalia', 'SOM', 706);
INSERT INTO `Country` VALUES ('ZA', 'SOUTH AFRICA', 'South Africa', 'ZAF', 710);
INSERT INTO `Country` VALUES ('GS', 'SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS', 'South Georgia and the South Sandwich Islands', NULL, NULL);
INSERT INTO `Country` VALUES ('ES', 'SPAIN', 'Spain', 'ESP', 724);
INSERT INTO `Country` VALUES ('LK', 'SRI LANKA', 'Sri Lanka', 'LKA', 144);
INSERT INTO `Country` VALUES ('SD', 'SUDAN', 'Sudan', 'SDN', 736);
INSERT INTO `Country` VALUES ('SR', 'SURINAME', 'Suriname', 'SUR', 740);
INSERT INTO `Country` VALUES ('SJ', 'SVALBARD AND JAN MAYEN', 'Svalbard and Jan Mayen', 'SJM', 744);
INSERT INTO `Country` VALUES ('SZ', 'SWAZILAND', 'Swaziland', 'SWZ', 748);
INSERT INTO `Country` VALUES ('SE', 'SWEDEN', 'Sweden', 'SWE', 752);
INSERT INTO `Country` VALUES ('CH', 'SWITZERLAND', 'Switzerland', 'CHE', 756);
INSERT INTO `Country` VALUES ('SY', 'SYRIAN ARAB REPUBLIC', 'Syrian Arab Republic', 'SYR', 760);
INSERT INTO `Country` VALUES ('TW', 'TAIWAN, PROVINCE OF CHINA', 'Taiwan, Province of China', 'TWN', 158);
INSERT INTO `Country` VALUES ('TJ', 'TAJIKISTAN', 'Tajikistan', 'TJK', 762);
INSERT INTO `Country` VALUES ('TZ', 'TANZANIA, UNITED REPUBLIC OF', 'Tanzania, United Republic of', 'TZA', 834);
INSERT INTO `Country` VALUES ('TH', 'THAILAND', 'Thailand', 'THA', 764);
INSERT INTO `Country` VALUES ('TL', 'TIMOR-LESTE', 'Timor-Leste', NULL, NULL);
INSERT INTO `Country` VALUES ('TG', 'TOGO', 'Togo', 'TGO', 768);
INSERT INTO `Country` VALUES ('TK', 'TOKELAU', 'Tokelau', 'TKL', 772);
INSERT INTO `Country` VALUES ('TO', 'TONGA', 'Tonga', 'TON', 776);
INSERT INTO `Country` VALUES ('TT', 'TRINIDAD AND TOBAGO', 'Trinidad and Tobago', 'TTO', 780);
INSERT INTO `Country` VALUES ('TN', 'TUNISIA', 'Tunisia', 'TUN', 788);
INSERT INTO `Country` VALUES ('TR', 'TURKEY', 'Turkey', 'TUR', 792);
INSERT INTO `Country` VALUES ('TM', 'TURKMENISTAN', 'Turkmenistan', 'TKM', 795);
INSERT INTO `Country` VALUES ('TC', 'TURKS AND CAICOS ISLANDS', 'Turks and Caicos Islands', 'TCA', 796);
INSERT INTO `Country` VALUES ('TV', 'TUVALU', 'Tuvalu', 'TUV', 798);
INSERT INTO `Country` VALUES ('UG', 'UGANDA', 'Uganda', 'UGA', 800);
INSERT INTO `Country` VALUES ('UA', 'UKRAINE', 'Ukraine', 'UKR', 804);
INSERT INTO `Country` VALUES ('AE', 'UNITED ARAB EMIRATES', 'United Arab Emirates', 'ARE', 784);
INSERT INTO `Country` VALUES ('GB', 'UNITED KINGDOM', 'United Kingdom', 'GBR', 826);
INSERT INTO `Country` VALUES ('US', 'UNITED STATES', 'United States', 'USA', 840);
INSERT INTO `Country` VALUES ('UM', 'UNITED STATES MINOR OUTLYING ISLANDS', 'United States Minor Outlying Islands', NULL, NULL);
INSERT INTO `Country` VALUES ('UY', 'URUGUAY', 'Uruguay', 'URY', 858);
INSERT INTO `Country` VALUES ('UZ', 'UZBEKISTAN', 'Uzbekistan', 'UZB', 860);
INSERT INTO `Country` VALUES ('VU', 'VANUATU', 'Vanuatu', 'VUT', 548);
INSERT INTO `Country` VALUES ('VE', 'VENEZUELA', 'Venezuela', 'VEN', 862);
INSERT INTO `Country` VALUES ('VN', 'VIET NAM', 'Viet Nam', 'VNM', 704);
INSERT INTO `Country` VALUES ('VG', 'VIRGIN ISLANDS, BRITISH', 'Virgin Islands, British', 'VGB', 92);
INSERT INTO `Country` VALUES ('VI', 'VIRGIN ISLANDS, U.S.', 'Virgin Islands, U.s.', 'VIR', 850);
INSERT INTO `Country` VALUES ('WF', 'WALLIS AND FUTUNA', 'Wallis and Futuna', 'WLF', 876);
INSERT INTO `Country` VALUES ('EH', 'WESTERN SAHARA', 'Western Sahara', 'ESH', 732);
INSERT INTO `Country` VALUES ('YE', 'YEMEN', 'Yemen', 'YEM', 887);
INSERT INTO `Country` VALUES ('ZM', 'ZAMBIA', 'Zambia', 'ZMB', 894);
INSERT INTO `Country` VALUES ('ZW', 'ZIMBABWE', 'Zimbabwe', 'ZWE', 716);

-- --------------------------------------------------------

-- 
-- Tabellenstruktur für Tabelle `ImageCreative`
-- 

CREATE TABLE `ImageCreative` (
  `id` bigint(20) unsigned NOT NULL default '0',
  `belongsToAdGroupId` bigint(20) unsigned NOT NULL default '0',
  `displayUrl` varchar(255) collate latin1_german2_ci NOT NULL default '',
  `destinationUrl` varchar(255) collate latin1_german2_ci NOT NULL default '',
  `isDeleted` tinyint(1) NOT NULL default '0',
  `isDisapproved` tinyint(1) NOT NULL default '0',
  `name` varchar(255) collate latin1_german2_ci NOT NULL default '',
  `width` smallint(6) NOT NULL default '0',
  `height` smallint(6) NOT NULL default '0',
  `imageUrl` varchar(255) collate latin1_german2_ci NOT NULL default '',
  `thumbnailUrl` varchar(255) collate latin1_german2_ci NOT NULL default '',
  `mimeType` varchar(255) collate latin1_german2_ci NOT NULL default '',
  `type` varchar(255) collate latin1_german2_ci NOT NULL default '',
  PRIMARY KEY  (`id`),
  KEY `belongsToAdGroupId` (`belongsToAdGroupId`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_german2_ci;

-- --------------------------------------------------------

-- 
-- Tabellenstruktur für Tabelle `Keyword`
-- 

CREATE TABLE `Keyword` (
  `text` varchar(255) collate latin1_german2_ci NOT NULL default '',
  `id` bigint(20) unsigned NOT NULL default '0',
  `belongsToAdGroupId` bigint(20) unsigned NOT NULL default '0',
  `type` varchar(255) collate latin1_german2_ci NOT NULL default '',
  `isNegative` tinyint(1) NOT NULL default '0',
  `maxCpc` float NOT NULL default '0',
  `minCpc` float NOT NULL default '0',
  `status` varchar(255) collate latin1_german2_ci NOT NULL default '',
  `language` varchar(255) collate latin1_german2_ci NOT NULL default '',
  `destinationUrl` varchar(255) collate latin1_german2_ci NOT NULL default '',
  PRIMARY KEY  (`id`),
  KEY `belongsToAdGroupId` (`belongsToAdGroupId`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_german2_ci;

-- --------------------------------------------------------
-- 
-- Dumping data for table `Language`
-- 

INSERT INTO `Language` VALUES ('ar', 'Arabic');
INSERT INTO `Language` VALUES ('bg', 'Bulgarian');
INSERT INTO `Language` VALUES ('ca', 'Catalan');
INSERT INTO `Language` VALUES ('zh-CN', 'Chinese (simplified)');
INSERT INTO `Language` VALUES ('zh-TW', 'Chinese (traditional)');
INSERT INTO `Language` VALUES ('hr', 'Croatian');
INSERT INTO `Language` VALUES ('cs', 'Czech');
INSERT INTO `Language` VALUES ('da', 'Danish');
INSERT INTO `Language` VALUES ('nl', 'Dutch');
INSERT INTO `Language` VALUES ('en', 'English');
INSERT INTO `Language` VALUES ('et', 'Estonian');
INSERT INTO `Language` VALUES ('fi', 'Finnish');
INSERT INTO `Language` VALUES ('fr', 'French');
INSERT INTO `Language` VALUES ('de', 'German');
INSERT INTO `Language` VALUES ('el', 'Greek');
INSERT INTO `Language` VALUES ('iw', 'Hebrew');
INSERT INTO `Language` VALUES ('hi', 'Hindi');
INSERT INTO `Language` VALUES ('hu', 'Hungarian');
INSERT INTO `Language` VALUES ('is', 'Icelandic');
INSERT INTO `Language` VALUES ('id', 'Indonesian');
INSERT INTO `Language` VALUES ('it', 'Italian');
INSERT INTO `Language` VALUES ('ja', 'Japanese');
INSERT INTO `Language` VALUES ('ko', 'Korean');
INSERT INTO `Language` VALUES ('lv', 'Latvian');
INSERT INTO `Language` VALUES ('lt', 'Lithuanian');
INSERT INTO `Language` VALUES ('no', 'Norwegian');
INSERT INTO `Language` VALUES ('pl', 'Polish');
INSERT INTO `Language` VALUES ('pt', 'Portuguese');
INSERT INTO `Language` VALUES ('ro', 'Romanian');
INSERT INTO `Language` VALUES ('ru', 'Russian');
INSERT INTO `Language` VALUES ('sr', 'Serbian');
INSERT INTO `Language` VALUES ('sk', 'Slovak');
INSERT INTO `Language` VALUES ('sl', 'Slovenian');
INSERT INTO `Language` VALUES ('es', 'Spanish');
INSERT INTO `Language` VALUES ('sv', 'Swedish');
INSERT INTO `Language` VALUES ('tl', 'Tagalog');
INSERT INTO `Language` VALUES ('tr', 'Turkish');
INSERT INTO `Language` VALUES ('uk', 'Ukrainian');
INSERT INTO `Language` VALUES ('ur', 'Urdu');
INSERT INTO `Language` VALUES ('vi', 'Vietnamese');

-- --------------------------------------------------------

-- 
-- Tabellenstruktur für Tabelle `TextCreative`
-- 

CREATE TABLE `TextCreative` (
  `id` bigint(20) unsigned NOT NULL default '0',
  `belongsToAdGroupId` bigint(20) unsigned NOT NULL default '0',
  `displayUrl` varchar(255) collate latin1_german2_ci NOT NULL default '',
  `destinationUrl` varchar(255) collate latin1_german2_ci NOT NULL default '',
  `isDeleted` tinyint(1) NOT NULL default '0',
  `isDisapproved` tinyint(1) NOT NULL default '0',
  `headline` varchar(255) collate latin1_german2_ci NOT NULL default '',
  `description1` varchar(255) collate latin1_german2_ci NOT NULL default '',
  `description2` varchar(255) collate latin1_german2_ci NOT NULL default '',
  PRIMARY KEY  (`id`),
  KEY `belongsToAdGroupId` (`belongsToAdGroupId`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_german2_ci;
        
by AdOptimize