To pull all the profile ids for all the accounts from google analytics, we need to install the following .msi file in our local system or server where we are going to execute the process.
The setup name is: Google_Data_API_Setup_2.1.0.0.msi
The link to install the setup file: https://code.google.com/p/google-gdata/downloads/detail?name=Google_Data_API_Setup_2.1.0.0.msi&can=1&q=
Once we install the setup file, go to the following path - C:\Program Files (x86)\Google\Google Data API SDK\Redist and copy the all .dll file and paste/move in to the assembly folder (Type as Run in search option - type as Assembly)