אורן נייברג
unread,Aug 18, 2017, 3:02:52 AM8/18/17Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AdWords API Forum
Google Analytics data source worked perfectly HOWEVER the Google Adwords data source failed to retrieve data (date, medium and source dimensions returned values while the other dimensions and all the metrics returned empty). Attached are the dimensions and metrics being pulled from each data source.
how come only the Google Analytics data source worked and what should be done to fix that?
QUERY FOR ADWORDS:
var METRICS = [
'ga:impressions',
'ga:adClicks',
'ga:adCost',
'ga:CPM',
'ga:CPC',
'ga:CTR',
'ga:costPerTransaction',
'ga:costPerGoalConversion',
'ga:costPerConversion',
'ga:RPC',
];
QUERY FOR ANALYTICS:
var DIMENSIONS = [
'ga:date',
'ga:medium',
'ga:source',
'ga:adGroup',
'ga:adwordsCampaignID'
];
var METRICS = [
'ga:users',
'ga:newUsers',
'ga:sessions',
'ga:bounces',
'ga:avgSessionDuration',
'ga:organicSearches',
'ga:pageviews',
'ga:uniquePageviews',
'ga:timeOnPage',
'ga:avgTimeOnPage'
];
var DIMENSIONS = [
'ga:dateHour',
'ga:country',
'ga:browser',
'ga:deviceCategory',
'ga:medium',
'ga:source'
];