Adwords API does not do as expected

20 views
Skip to first unread message

אורן נייברג

unread,
Aug 18, 2017, 3:02:52 AM8/18/17
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'
];

Peter Oliquino

unread,
Aug 18, 2017, 3:55:39 AM8/18/17
to AdWords API Forum
Hi,

Your concern appears to be related more on the Analytics API rather than the AdWords API. This being said, could you confirm which API you are using to generate your reports? If you are having issues pulling AdWords related information using the Analytics API then you should contact the Analytics API team via this link as they may be able to better assist you.

Best regards,
Peter
AdWords API Team
Reply all
Reply to author
Forward
0 new messages