Hi, To be clear, you can't edit (SET) an LocationExtension after it's been created, you can only ADD or REMOVE them. As for the INVALID_ENCODED_LOCATION error, please make sure you are using the address returned by the GeoLocationService, not the input address you used. The GeoLocationService normalizes the address and generated the encodedLocation from that.
Best, - Eric Koleda, AdWords API Team On Oct 14, 10:42 am, veseo <hernicet...@gmail.com> wrote: > Hello, > > I'm struggling to edit (which includes delete and then add the new > location) a LocationExtension. We are calling the GeoLocationService to > get encoded location of the extension and then send it, without any > edits, to the CampaignAdExtensionsService. An interesting fact is that > when we are deleting the extension, there's no problem - the generated > encoded location by GeoLocationService is accepted by the > CampaignAdExtensionsService and the extension is deleted. However, when > we are trying to add the new extension, we get the > INVALID_ENCODED_LOCATION error. Here are the request ID-s (I think you > can see the generated XMLs based on them?): > <requestId>f97e927aa8e796d53784d3f1e3dd1822</requestId> - SUCCESSFULL > REMOVE request > > <requestId>2cd9d30c709e59fee56f75aeba21be4d</requestId> - UNSUCCESSFULL > ADD Request > > These requests are made against the sandbox (the request ids are from > sandbox), but the problem shows up at production server too. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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