The American tech giant is buying Local Measure in a transaction that marks the completion of its return from near collapse during the COVID-19 pandemic.