Different amount of spendings in the account and in the API - why?

10 views
Skip to first unread message

Nikolay Nikolov

unread,
Nov 9, 2019, 1:08:05 PM11/9/19
to AdWords API and Google Ads API Forum

Hi, I am using the Adwords API, to get every day the statistics from yesterday. When I sum the stats for the whole month, then there is a difference between the google account monthly stats and the stats coming from the API. Today I have pulled the whole month again, maybe there are changes, and there is still this difference. I saw the same on another account also. How it is possible, that the API delivers other stats like the real account?

Here the code for the request for the daily stats:
$q = (new ReportQueryBuilder())
    ->select(
        [
            'Id',
            'Date',
            'HeadlinePart1',
            'HeadlinePart2',
            'Description',
            'CreativeFinalUrls',
            'CampaignId',
            'CampaignName',
            'AdGroupId',
            'AdGroupName',
            'Impressions',
            'Clicks',
            'Cost',
            'AverageCpc',
            'Headline'
        ]
    )
    ->from(ReportDefinitionReportType::AD_PERFORMANCE_REPORT)
    ->where('Status')->in(['ENABLED', 'PAUSED'])
    ->where('AdNetworkType1')->notIn(['YOUTUBE_SEARCH', 'YOUTUBE_WATCH']);

Thanks
Nik

Google Ads API Forum Advisor Prod

unread,
Nov 11, 2019, 10:57:35 AM11/11/19
to adwor...@googlegroups.com
Hey Nik,

Can you please reply privately to author your report definition, report results and screenshots of your UI so I can see if there are any discrepancies?

Thanks,
Anthony
Google Ads API Team

ref:_00D1U1174p._5001UJaBV8:ref
Reply all
Reply to author
Forward
0 new messages