Hi,
I've tried to execute the following query in the Python API:
selector = {
'fields': ['Id', 'AdGroupId', 'Status', 'HeadlinePart1',
'HeadlinePart2', 'Description'],
'predicates': [
{
'field': 'AdGroupId',
'operator': 'EQUALS',
'values': [ad_group_id]
},
{
'field': 'AdType',
'operator': 'EQUALS',
'values': ['EXPANDED_TEXT_AD']
},
{
'field': 'Status',
'operator': 'IN',
'values': ['ENABLED']
}
]
}
page = ad_service.get(selector)
But sometimes, the page that it is returned is None. I thought that it was supposed to return a page with 'totalNumEntries' equal 0, but it gave me None.
We make requests to the AdWords API a lot of hours per day, but this error is not a constant, so I don't have a clue for what it might be.
Can you give me some idea?
Best,
João