In this study, a series of benzotriazole (BTZ) and perylene diimide (PDI) based copolymers; CoP1 and CoP2 were synthesized via Stille coupling. The effect of perylene diimide (PDI) unit on electrochemical properties of BTZ bearing polymers was investigated. In addition, two different pi-bridges: thiophene and dithienopyrrole (DTP) were incorporated into polymer backbone to explore their effects on electrochemical and spectroelectrochemical properties of corresponding polymers; CoP1 and CoP2. Electrochemical and spectral results showed that while CoP1 has only n-type doping property CoP2 has an ambipolar character although p-type doping property is rare for PDI based polymers. Owing to the DTP group, CoP2 showed the lowest band gap reported up to now between perylene diimide derivatives. The effect of different pi-bridges and perylene diimide (PDI) unit on the HOMO and LUMO energy levels, optical band gaps, switching time, and optical contrast were presented.