When you say that your ads has digits in the title, are you referring to the
headlinePart1 or
headlinePart2 of an
ExpandedTextAd? As for this ad type, your headline with digits will be retrieved in the API as the same value with the UI.
If, for example, your ad's headline in the UI looks like "Headline 123-456-000", then it will be retrieved in the API as that value via
AdGroupAdService.get(). You can check this Java
example (available to other languages that we support) on how to get an expanded text ad.
Let me know if you have further clarifications.