Hi Patrick, Unfortunately the name field isn't support for Image media, and I'll work with the documentation to make that clearer. The sourceUrl field is read-only in the API and can't be set.
Best, - Eric Koleda, AdWords API Team On Oct 29, 5:17 am, Patrick Berglund <patrick.bergl...@rebtel.com> wrote: > Hi, > > How do I upload images so I can identify them later when creating > TemplateAds? > > The documentation for Image field 'name' says: "The name can be used by > clients to help identify previously uploaded media." > However, when I run the sample v201008.UploadImage the response is > empty for the 'name' and 'sourceUrl' fields. When I run the sample > v201008.GetAllImages these fields are still empty for the image. > > I found that if I upload an image from the web interface (Display Ad > Builder) the image's sourceUrl is set, and returned by the API. But not > the name. > > Thanks! > Patrick -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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