Firms which flouted data regulations by phoning more than 100,000 people and sending more than four million texts have been fined by an information rights body.
The Information Commissioner's Office (ICO) took the action against Xternal Property Renovations and PRS Media in separate investigations.
Glasgow-based Xternal Property Renovations was fined £80,000 for making nuisance phone calls.
The ICO found the firm broke the law by making more than 109,000 calls to people registered with the telephone preference service (TPS) who have opted out of receiving marketing calls.
It said the company - which provides property and maintenance repairs services - should have screened the list of people it planned to call against the details of TPS subscribers and ensured its telesales staff knew how to comply with the law.
Members of the public said they received calls from early morning until late at night and were concerned about how the firm got their details.
The company has also been issued with a legal notice compelling it to stop instigating the unlawful calls.
PRS Media, trading as Purus Digital, was fined £140,000 for sending about 4.4 million spam texts.
The ICO found the company - based in Haverfordwest, Pembrokeshire - did not have the consent of the people it sent marketing texts to.
The information it used to send text messages had been obtained from its own competition website, where people were required to agree to marketing as a condition of entering competitions on the firm's website.
The ICO, however, said this did not amount to consent as the law states people must have a genuine choice over whether or not to consent to marketing.
Ken Macdonald, head of ICO regions, said: "Nuisance marketing, whether it's by calls to people's landline or mobile, or through spam texts, causes disruption, annoyance and, in the worst cases, serious upset.
"We issue fines like these to firms behind nuisance marketing to send a clear message that such action will not be tolerated.
"The ICO is looking forward to the commencement of our new powers, announced by the government last year, which will allow us to fine the directors of nuisance marketing firms as well as the companies themselves."
Investigations into the firms' marketing breaches were prompted by complaints from members of the public.
Alex Neill, Which? managing director of home services, said: "Companies that pester people with unlawful nuisance calls and spam texts are rightly being held to account by the regulator.
"The Government has promised further powers to fine directors who allow this to happen. These proposals should come into force as soon as possible to crack down on this modern menace."
Why are you making commenting on The Herald only available to subscribers?
It should have been a safe space for informed debate, somewhere for readers to discuss issues around the biggest stories of the day, but all too often the below the line comments on most websites have become bogged down by off-topic discussions and abuse.
heraldscotland.com is tackling this problem by allowing only subscribers to comment.
We are doing this to improve the experience for our loyal readers and we believe it will reduce the ability of trolls and troublemakers, who occasionally find their way onto our site, to abuse our journalists and readers. We also hope it will help the comments section fulfil its promise as a part of Scotland's conversation with itself.
We are lucky at The Herald. We are read by an informed, educated readership who can add their knowledge and insights to our stories.
That is invaluable.
We are making the subscriber-only change to support our valued readers, who tell us they don't want the site cluttered up with irrelevant comments, untruths and abuse.
In the past, the journalist’s job was to collect and distribute information to the audience. Technology means that readers can shape a discussion. We look forward to hearing from you on heraldscotland.com
Comments & Moderation
Readers’ comments: You are personally liable for the content of any comments you upload to this website, so please act responsibly. We do not pre-moderate or monitor readers’ comments appearing on our websites, but we do post-moderate in response to complaints we receive or otherwise when a potential problem comes to our attention. You can make a complaint by using the ‘report this post’ link . We may then apply our discretion under the user terms to amend or delete comments.
Post moderation is undertaken full-time 9am-6pm on weekdays, and on a part-time basis outwith those hours.
Read the rules here