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

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/87910f26-f9db-4fe1-a5ac-93ec8f8972fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to