I have been trying to use the change event service to fetch the changes for 
some of the entities, but when it comes to the CAMPAIGN_CRITERION 
& AD_GROUP_CRITERION, their types are always returned with 0 (UNSPECIFIED), 
even though when I try to fetch that exact criterion from their respective 
tables (campaign_criterion/ ad_group_criterion) the type is returned 
normally (USER_INTEREST, CUSTOM_AFFINITY, DEVICE, ... etc)

Query used to fetch the event changes:
$query = "
                SELECT  change_event.resource_name, 
change_event.change_date_time, change_event.change_resource_name, 
change_event.user_email, change_event.client_type, 
change_event.change_resource_type, 
                        change_event.old_resource, 
change_event.new_resource, change_event.resource_change_operation, 
change_event.changed_fields 
                FROM change_event 
                WHERE change_event.change_date_time BETWEEN " . "'$start'" 
." AND " . "'$end'"
                . " ORDER BY change_event.change_date_time DESC 
                LIMIT 10000 ";

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/9d369b5d-f0a1-47b4-b7d0-de02e58e6bbfn%40googlegroups.com.

Reply via email to