Hello,
I want to use the CustomerSyncService to recover deleted AdGroupAd's. I am basically using a similar implementation as
this one.
In a few lines, the program does the following:
- gets the AdwordsSession for a specific target account
- gets all campaign ids through CampaignService
- gets CustomerChangeData through CustomerSyncService
- gets CampaignChangeData
- gets AdGroupChangeData
- calls AdGroupChangeData#getChangedAds()
However, the AdGroupChangeData is not showing anything. I am using a DateTimeRange with my local timezone, and the dates are within the last couple of weeks.
I need to do this for several accounts and campaigns, because I had an accident and thousands of AdGroupAds were wrongly removed.
I also want to clarify that I tried downloading the change history of each account from the UI but it was all to no avail. Every time I tried to download the change history report, the downloaded CSV was truncated. This is why I opted out of that possibility and decided to use CustomerSyncService.
Is there any way I can download reports which let me recover the wrongly removed AdGroupAds?
Thanks,
seb.