change_event python script problems

101 views
Skip to first unread message

Pavel Hegler

unread,
Mar 17, 2021, 8:55:38 AM3/17/21
to AdWords API and Google Ads API Forum
Hello friends,

so i ran this python script.
It didnt return anything.
as I pprinted(vars())ed the object i got this:

{'_items_field': 'results',
 '_method': functools.partial(<google.api_core.gapic_v1.method._GapicCallable object at 0x000002BE11598730>, retry=<object object at 0x000002BE0ECDC670>, timeout=<object object at 0x000002BE0ECDC670>, metadata=[('x-goog-request-params', 'customer_id=XXXXXXXXXX')]),
 '_request': customer_id: "XXXXXXXXXX"
query: "\n        SELECT\n          change_event.resource_name,\n          change_event.change_date_time,\n          change_event.change_resource_name,\n          change_event.user_email,\n          change_event.client_type,\n          change_event.change_resource_type,\n          change_event.old_resource,\n      
    change_event.new_resource,\n          change_event.resource_change_operation,\n          change_event.changed_fields\n        FROM change_event\n        WHERE change_event.change_date_time <= \'2021-03-18\'\n        AND change_event.change_date_time >= \'2021-03-03\'\n        ORDER BY change_event.change_date_time DESC\n        LIMIT 5"
page_size: 1000
,
 '_request_token_field': 'page_token',
 '_response_token_field': 'next_page_token',
 '_started': False,
 'client': None,
 'item_to_value': <function _item_to_value_identity at 0x000002BE0EE69DC0>,
 'max_results': None,
 'next_page_token': None,
 'num_results': 0,
 'page_number': 0}

so I guess it didnt recognise any changes but I know there are definitively some changes in the account.

What am I missing?

Pavel Hegler

unread,
Mar 17, 2021, 11:54:10 AM3/17/21
to AdWords API and Google Ads API Forum
using change_status shows me that there were changes made but it doesnt give me enough information for my logging:(

Google Ads API Forum Advisor Prod

unread,
Mar 17, 2021, 7:46:56 PM3/17/21
to p.he...@die-besserwisser.de, adwor...@googlegroups.com
Hello,

Can you please reply privately with your client customer Id?

Thanks,
Anthony

Google Logo
Anthony
Google Ads API Team
 


ref:_00D1U1174p._5004Q2DwIZs:ref

Pavel Hegler

unread,
Mar 18, 2021, 9:44:14 AM3/18/21
to AdWords API and Google Ads API Forum
I havent set mail-to client for this:)

Google Ads API Forum Advisor Prod

unread,
Mar 18, 2021, 7:44:31 PM3/18/21
to p.he...@die-besserwisser.de, adwor...@googlegroups.com
Hello,

If you have any details to send over, you can email us at googleadsa...@google.com.

Regards,
Reply all
Reply to author
Forward
0 new messages