What version of BIG-IP are you using and what client library are you using? I believe the documentation is a little out of date for that API and am planning on getting everything sync'd up for 12.1 in the next 30 days or so. PROFILE_TYPE_ANALYTICS is an profile type in 12.0. First thing I would recommend is updating to the latest client library that is at least the version of the BIG-IP you are connecting to. 12.0's iControl .Net and Java libraries should be available on the downloads section. For PowerShell, you'll need a 12.1.0 build that I can send you and early link to if that's what you are using.
-Joe