Hi Haoyue, The short answer is that criteria are global objects, and their IDs never change and are the same across all ad groups, campaigns, etc. When you do change one of these fields (like matchType) you are actually swapping in a different global criterion. The confusion comes from the fact that extra properties can be assigned to a criterion that are specific to the ad group they are in and do not affect the criterion ID. In the v13 API it was unclear which fields were part of the criterion and which were extra properties. In the v2009 API this has been made explicit with the distinction between an AdGroupCriterion and a Criterion.
For example, the BiddableAdGroupCriterion object contains all the configuration properties of how to use the criterion within the ad group ( see http://code.google.com/apis/adwords/v2009/docs/reference/AdGroupCriterionService.BiddableAdGroupCriterion.html ). The Keyword object contains the fields that are actually part of the criterion ( see http://code.google.com/apis/adwords/v2009/docs/reference/AdGroupCriterionService.Keyword.html ). The BiddableAdGroupCriterion is like a wrapper for the Keyword that adds extra information, but the ID of the Keyword only depends on the properties in that object. I hope this helps, let me know if you have any questions. Best, - Eric Koleda, AdWords API Team On Nov 11, 9:12 pm, 小月 <heyi...@gmail.com> wrote: > Hi, > I knew that Keyword ID will change if u change match type of the > keyword. But something is still unclearly: > > firstly, if i did not change keyword name and keyword match type, will > the keyword ID still change? > > secondly, if the answer of the first question is "yes", then I would > love to ask that will the keyword ID always keeps the same if I keep > every attribute of this keyword stable in adwords? > > Thirdly, if the answer of the first question is "no", then I would > love to know that how many attributes will and what attributes will > influence the keyword ID? > > Moreover, what about placement ID, which attribute will effect the > placement ID? will the placement ID change? Since placement does not > have match type. If the placement ID is also unstable, how many > attributes will and what attributes will influence the placement ID? > > Finally, if the keyword ID and placement ID are always unstable in > api, how can I make sure that I can use ID to track the same keyword? > > Best regards, > Haoyue. -- 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-...@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=.