Missing campaigns and ad groups when hitting the AdWords API?

71 views
Skip to first unread message

Amir

unread,
Jan 21, 2016, 9:02:35 AM1/21/16
to AdWords API Forum
I'm downloading performance reports via the API (using CAMPAIGN_PERFORMANCE_REPORT and ADGROUP_PERFORMANCE_REPORT report types), but not all of the campaigns/ad groups are showing up. Is there some reason this would be the case? Data for these missing campaigns are displayed in the AdWords UI and data for other campaigns shows up in the API reports without any problems.

I'm accessing this data via an MCC account. What can I do to ensure that data for every campaign and ad group is returned by the API?

Thanks,
Amir

Péter Gerő

unread,
Jan 21, 2016, 9:34:03 AM1/21/16
to AdWords API Forum
Hi,

I had the same issue couple weeks ago, have you set the includeZeroImpressions to true?

Peter

Anthony Madrigal

unread,
Jan 21, 2016, 10:32:49 AM1/21/16
to AdWords API Forum
Hi Amir,

There are a few reasons why some campaigns and ad groups do not show up in your reports. Like Peter said, you should make sure includeZeroImpressions is set to FALSE. Another reason they may not show up is because the campaigns or ad groups were removed. If you would like to include them as well, you could add a predicate that looks for ENABLED, PAUSED, and REMOVED.

Cheers,
Anthony
AdWords API Team

Amir

unread,
Jan 26, 2016, 5:11:07 PM1/26/16
to AdWords API Forum
Hi Anthony,

We looked into this some more, and the issue turns out to be that the Google account is viewing data for multiple Customer IDs in the UI, but when we try to access this data via the API, data for one of the Customer IDs isn't returned. When we try to access the data for this Customer ID, we get the following error:

HTTP code: 400

AuthorizationError.USER_PERMISSION_DENIED


Is there something we need to do to grant this Google account API access to an additional Customer ID?


Thanks,

Amir


Anthony Madrigal

unread,
Jan 27, 2016, 9:11:39 AM1/27/16
to AdWords API Forum
Hi Amir,

Could you provide me with your customer Id via Reply privately to author? If you have any relevant SOAP requests and responses, please send me those too.

Thanks,
Anthony
AdWords API Team
Reply all
Reply to author
Forward
0 new messages