diff --git a/libs/community/google/ads/garf/community/google/ads/report_fetcher.py b/libs/community/google/ads/garf/community/google/ads/report_fetcher.py index 2eb28b4..da068c6 100644 --- a/libs/community/google/ads/garf/community/google/ads/report_fetcher.py +++ b/libs/community/google/ads/garf/community/google/ads/report_fetcher.py @@ -198,10 +198,10 @@ def expand_mcc( raise GoogleAdsApiReportFetcherError( f'No accounts found satisfying the follow query: {customer_ids_query}' ) - child_customer_ids = [ + child_customer_ids = { row[0] if isinstance(row, garf.core.report.GarfRow) else row for row in child_customer_ids - ] + } span.set_attribute( 'accounts.child_accounts_conditioned', len(child_customer_ids) )