AdService throws UNEXPECTED_INTERNAL_API_ERROR when filtering by AdType

50 views
Skip to first unread message

Dorian Kind

unread,
Oct 22, 2018, 5:54:39 AM10/22/18
to AdWords API and Google Ads API Forum
Hi,

As the title says, AdService reproducibly errors out with InternalApiError.UNEXPECTED_INTERNAL_API_ERROR when using a selector with a predicate that filters by AdType. For example, use the following AdService selector:

{
    'predicates': [{
        'field': 'AdType',
        'operator': 'NOT_EQUALS',
        'values': ['IMAGE_AD']
    }],
    'fields': [
        'Id'
    ],
    'paging': {
        'numberResults': 10
    }
}

The result has been always UNEXPECTED_INTERNAL_API_ERROR for the ~10 accounts that I tested. The operator in the predicate does not seem to matter, as soon as you filter on AdType, the error occurs. Happy to provide SOAP conversations.

Best regards,
Dorian


Peter Oliquino (AdWords API Team)

unread,
Oct 22, 2018, 6:42:48 AM10/22/18
to AdWords API and Google Ads API Forum
Hi Dorian,

Could you send your SOAP logs as well? Our team will investigate this and will get back to you as soon as we identify the root cause. You may send them privately using the reply privately to author option.

Thanks and regards,
Peter
AdWords API Team

Dorian Kind

unread,
Oct 22, 2018, 7:19:30 AM10/22/18
to AdWords API and Google Ads API Forum
Hi Peter,

thanks for your response. I've sent the SOAP logs in a private message.

Best regards,
Dorian

Josh Radcliff (AdWords API Team)

unread,
Oct 22, 2018, 12:20:26 PM10/22/18
to AdWords API and Google Ads API Forum
Hi Dorian,

Thanks for sending over the logs. I'm following up on the internal error and will provide an update as soon as I hear back.

Cheers,
Josh, AdWords API Team

Josh Radcliff (AdWords API Team)

unread,
Nov 7, 2018, 9:56:03 AM11/7/18
to AdWords API and Google Ads API Forum
Hi Dorian,

Thanks again for raising this issue. The fix for this is live, so you can now filter by AdType in your AdService get requests. Please give it another try and post back here if you encounter any issues.

Cheers,
Josh, AdWords API Team

Dorian Kind

unread,
Nov 7, 2018, 11:13:03 AM11/7/18
to AdWords API and Google Ads API Forum
Hi Josh,

works great now! Thanks for the quick fix.

Best regards,
Dorian
Reply all
Reply to author
Forward
0 new messages