Hi I am getting this error while doing a simple call to get the shared sets for certain campaigns:
shared_criterion_service = client.GetService('SharedCriterionService',
version='v201607')
campaign_shared_set_service = client.GetService('CampaignSharedSetService',
version='v201607')
shared_set_ids = []
criterion_ids = []
# First, retrieve all shared sets associated with the campaign.
# Create selector for shared sets to:
# - filter by campaign ID,
# - filter by shared set type.
selector = {
'fields': ['SharedSetId', 'CampaignId', 'SharedSetName', 'SharedSetType',
'Status'],
'predicates': [
{
'field': 'CampaignId',
'operator': 'EQUALS',
'values': [campaigns]
},
{
'field': 'SharedSetType',
'operator': 'IN',
'values': ['NEGATIVE_KEYWORDS']
}
],
'paging': {
'startIndex': 0,
'numberResults': PAGE_SIZE
}
}
# Set initial values:
offset = 0
page = {'totalNumEntries': 1}
while page['totalNumEntries'] > offset:
page = campaign_shared_set_service.get(selector) ====> error is raised after calling this line
**This is taken from the example in the googleads github python library
Error:
Server raised fault: '[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ com.google.ads.api.services.common.error.InternalApiError.<init>(InternalApiErro]'