I want to set name to Images when I upload them with MediaService#upload. But name field in response is empty. How to set name to Images?
request <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Header> <ns1:RequestHeader soapenv:mustUnderstand="0" xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201710"> <ns1:clientCustomerId>xxx-xxx-xxxx</ns1:clientCustomerId> <ns1:developerToken>xxxxxxx</ns1:developerToken> <ns1:userAgent>xxxx</ns1:userAgent> <ns1:validateOnly>false</ns1:validateOnly> <ns1:partialFailure>true</ns1:partialFailure> </ns1:RequestHeader> </soapenv:Header> <soapenv:Body> <upload xmlns="https://adwords.google.com/api/adwords/cm/v201710"> <media xsi:type="ns2:Image" xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201710"> <ns2:type>IMAGE</ns2:type> <ns2:name>myimage</ns2:name> <ns2:data>/9j/4AA...</ns2:data> </media> </upload> </soapenv:Body> </soapenv:Envelope> response <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/v201710"> <requestId>xxxxxx</requestId> <serviceName>MediaService</serviceName> <methodName>upload</methodName> <operations>1</operations> <responseTime>225</responseTime> </ResponseHeader> </soap:Header> <soap:Body> <uploadResponse xmlns="https://adwords.google.com/api/adwords/cm/v201710"> <rval xsi:type="Image" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <mediaId>xxxxxx</mediaId> <type>IMAGE</type> <referenceId>-xxxxxx</referenceId> <dimensions> <key>FULL</key> <value> <width>640</width> <height>100</height> </value> </dimensions> <urls> <key>FULL</key> <value>https://tpc.googlesyndication.com/simgad/xxxxxx</value> </urls> <mimeType>IMAGE_JPEG</mimeType> <sourceUrl/> <name/> <fileSize>9442</fileSize> <Media.Type>Image</Media.Type> </rval> </uploadResponse> </soap:Body> </soap:Envelope> -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/32231212-99bc-48c6-bfcb-bcc3af540821%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.