Why is my Google Analytics API Adwords data returning zero (0)?

google-analytics-adwords-no-data-segment

 

Are you wondering what’s wrong with your KPI? Why isn’t it showing the Adwords Cost or CPC as it should be? Especially since you see data in Google Analytics?

Did you created the KPI using the Google Analytics Paid Search Segment? That’s why. The problem occurs with every metric: Cost, Clicks, Impressions, CPC, CPM, ROI, Margin, etc.

Unfortunately, there are no obvious reasons for this. For some reason, it just doesn’t work. You can’t get Adwords data using the Paid Search advanced segment, and there are also some metric- dimension-advanced segment combinations you can’t use. Read this for the full list.

 

The good news is that there’s an easy work around: Remove the segment!

You will get the same Adwords data whether you use a Paid Search filter (i.e. ga:medium==cpc) or not. So why bothering using a segment? Just drop it and it will work.

If you need to segment, then use a filter like this for example:

ga:medium==cpc;ga:source==bing

That’s it. No more problem reporting on Adwords data from your Google Analytics account.