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
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/38b4061c-49ea-4941-a23b-adee6ba735b8%40googlegroups.com.