Hi Eshwar,

Technically, you can filter only the removed campaigns in the get call to 
CampaignService and pass the list of removed campaignIds to your 
CustomerSyncSelector 
<https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201702/accountmanagement/GetAccountChanges.java#L98>
.

SelectorBuilder builder = new SelectorBuilder();
Selector selector = builder
        .fields(CampaignField.Id, CampaignField.Name)
        .equals(CampaignField.Status, "REMOVED".toString())
        .build();
CampaignPage campaigns = campaignService.get(selector);

If there were any recent changes made to the campaign, those changes will 
be available even after removing the campaign. For example, I added a 
criterion to a campaign and then deleted the campaign but I was still able 
to fetch the changes after the campaign was removed (campaign IDs were 
changed to random numbers). 

*Before Removing:*
Campaign with ID 123456789 was changed:
Campaign changed status: 'FIELDS_CHANGED'
Added campaign criteria: {1003,264467738550}
Removed campaign criteria: {}

*After Removing:*
Campaign with ID 123456789 was changed:
Campaign changed status: 'FIELDS_CHANGED'
Added campaign criteria: {1003,264467738550}
Removed campaign criteria: {}

Hope this helps. Please revert if you have additional questions.

Regards,
Vishal, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/49fd44c5-8cbb-4349-b71e-22113576fc07%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to