Hi Murali, These aren't functions, but rather classes based off of the AdWords API schema. The documentation on CityTarget is available here:
http://code.google.com/apis/adwords/docs/reference/latest/CampaignTargetService.CityTarget.html Best, - Eric Koleda, AdWords API Team On Dec 2, 8:17 am, Murali M <murali4...@gmail.com> wrote: > Hi, > > In sandbox example there is CountryTarget('US') function. I need to > target city and other location. i changed to CityTarget('US-AL'). but > its not working. and i tried with "Metrocode" also but it showing error > like: > > [RequiredError.REQUIRED @ > selector.campaignEstimateRequests[0].targets[0].countryCode, > TargetError.INVALID_CITY_CODE @ > selector.campaignEstimateRequests[0].targets.targets[0]; > trigger:'US-AL'] > > Thanks in advance > Murali -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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