Learn business growth with Google Analytics 4 Forums Google Analytics 4 Retrieving a List of Accounts in Google Analytics 4 Admin Reply To: Retrieving a List of Accounts in Google Analytics 4 Admin

  • Isaiah

    Member
    23 June 2023 at 12:59 pm

    It’s possible that the code is working correctly, and only showing accounts that are associated with your GA4 Admin. It might be that only one of your GA4 accounts is registered with the GA4 Admin and the others are not. Another possibility is that your query only has clearance to see a certain number of accounts and not others. Alternatively, it could be a bug with the PHP library itself. The best way to determine what’s going wrong would be to cross-check the accounts that the code is able to see with the accounts associated with your GA4 Admin, to confirm if all of the accounts are being accounted for. If they’re not, it might be a problem with the PHP library, and if they are, it might be an issue with how the accounts are registered with GA4 Admin.