title: Error getting advertiser id
body: <p>I noticed that my google analytics ecommerce data are not properly delivered by my android app, while all the other analytics data (screen views, exceptions) are correctly published.</p>
  
  <p>I already opened <a href="https://stackoverflow.com/questions/38725065/missing-data-on-android-enhanced-e-commerce-analytics-page">a bounty about this topic</a> but digging further I discovered some errors in the logcat:</p>
  
  <blockquote>
    <p>Error getting advertiser id: java.io.IOException:
    java.util.concurrent.TimeoutException: Timed out waiting for the
    service connection</p>
    
    <p>Successfully bound to service but never got onServiceConnected
    callback</p>
  </blockquote>
  
  <p>I suspect these errors are due to something not working at play-services level, that's why I'm opening a new thread.</p>
  
  <p>Since the above errors appear in logs before hits are delivered my theory is that my ecommerce data are not correctly posted because of them. Did anybody here ever see anything like that? What could I try in order to fix it?</p>
  
  <p>Please notice I'm using (taken from build.gradle)</p>
  
  <pre><code>compile 'com.google.android.gms:play-services-analytics:9.4.0'
  compile 'com.google.android.gms:play-services-ads:9.4.0'
  
  apply plugin: 'com.google.gms.google-services'
  </code></pre>
  
  <p>and the gradle plugin</p>
  
  <pre><code>classpath 'com.android.tools.build:gradle:2.2.0-beta1'
  </code></pre>