if (AdText.AdLength > 350)
Question: I’m not sure how to increase the font size in one of the reports. I have gone into the edit option and increased the font there but it doesn’t seem to work.
Answer: Many report templates contain script to automatically resize the font based on the advert length. To change the font size, edit the script.
Select the report and click Copy to Custom.
Right click on an empty area of the report template, and open Scripts.
Adjust the If arguments to suit your advert length. For example:
This script means if the advert text is over 350 characters long, then make the font size 10. Otherwise make the font size 11. There are typically multiple if arguments to incrementally adjust the font size depending on the advert length.
Tip: In Listing Entry > Advert tab, check the character length of your advert text.