Thank you for the detailed explanation Josh! I will give your 
recommendations a try and report back how it worked.

On Thursday, May 15, 2014 11:03:57 AM UTC-4, Josh Radcliff (AdWords API 
Team) wrote:
>
> Hi Ben,
>
> The typical use case for the *CustomerSyncService *is an application that 
> stores a local copy of a subset of information from the account, and the 
> application uses the service to determine which objects have changed since 
> it last checked. Depending on the type of changed/deleted object, the 
> application will then either use another service (e.g., 
> AdGroupCriterionService<https://developers.google.com/adwords/api/docs/reference/v201402/AdGroupCriterionService>)
>  
> or structure 
> reports<https://developers.google.com/adwords/api/docs/guides/structure-reports>
>  to 
> retrieve the relevant objects and compare them to its local copy of each 
> object. The service just returns IDs because the alternative of including 
> all of the details behind each changed object would mean that the 
> CampaignChangeData<https://developers.google.com/adwords/api/docs/reference/v201402/CustomerSyncService.CampaignChangeData>
>  would 
> have to essentially replicate the entire campaign object graph of AdWords 
> (twice if it contained before and after values for every possible object 
> and attribute).
>
> In the case of keywords, the 
> changedCriteria<https://developers.google.com/adwords/api/docs/reference/v201402/CustomerSyncService.AdGroupChangeData#changedCriteria>
>  and 
> deletedCriteria<https://developers.google.com/adwords/api/docs/reference/v201402/CustomerSyncService.AdGroupChangeData#deletedCriteria>
>  fields 
> on AdGroupChangeData will give you the IDs of any keywords (or other 
> criteria) that changed. Each ID will correspond to the modified 
> AdGroupCriterionService.Criterion.id<https://developers.google.com/adwords/api/docs/reference/v201402/AdGroupCriterionService.Criterion#id>,
>  
> and you can use that in conjunction with the 
> AdGroupChangeData.adGroupId<https://developers.google.com/adwords/api/docs/reference/v201402/CustomerSyncService.AdGroupChangeData#adGroupId>
>  to 
> issue an additional reporting or 
> AdGroupCriterionService<https://developers.google.com/adwords/api/docs/reference/v201402/AdGroupCriterionService>
>  request 
> to retrieve further information.
>
> Best regards,
> Josh, AdWords API Team
>
> On Thursday, May 15, 2014 9:03:20 AM UTC-4, Ben Pate wrote:
>>
>> Hi, I am trying to use the CustomerSyncService to find the number of 
>> keywords or ads that have been added to an account. For the newly added 
>> keywords I also want to know the match type.
>>
>> It doesn't seem like this is possible with the CustomerSyncService 
>> because I can only see that as Ad Group field has changed but I can not 
>> determine exactly what such as:
>>
>> 5 Keywords added, 4 of exact match and 1 of broad match
>> 2 Ads created
>>
>> At this point, we are leaning towards forcing the user to download XML 
>> change history report and then parse that information in order to get at 
>> the information we seek. We are trying to get some aggregate stats of 
>> changes made to the account like the example I gave.
>>
>> It would be greatly appreciated if someone could point me in the right 
>> direction if this is possible.
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to