title: How to locate the table id in Google Analytics?
body: <p>I am doing the example (Java) at this link</p>
  
  <blockquote>
    <p><a href="https://developers.google.com/analytics/resources/articles/gdataAnalyticsCsv" rel="nofollow">https://developers.google.com/analytics/resources/articles/gdataAnalyticsCsv</a></p>
  </blockquote>
  
  <p>Please tell me how I can get the TABLE_ID in Google Analytics. The code in the link below uses the table id (line 37):</p>
  
  <blockquote>
    <p><a href="https://code.google.com/p/ga-api-java-samples/source/browse/trunk/src/v2/csvprinter/AnalyticsCsvDemo.java" rel="nofollow">https://code.google.com/p/ga-api-java-samples/source/browse/trunk/src/v2/csvprinter/AnalyticsCsvDemo.java</a></p>
  </blockquote>
  
  <p>The table id needs to be used for other code. So, that "other code" is not going to work unless I can get the table id. Apparently, table id is of the form </p>
  
  <blockquote>
    <p>ga:[your_profile_id]</p>
  </blockquote>
  
  <p>But this always results in the application getting terminated with the error:</p>
  
  <blockquote>
    <p>Invalid value for ids parameter: [my profile id here]</p>
  </blockquote>
  
  <p>Please help me to solve this problem. Thanks!</p>