The finalUrls value is going in the *url *element as you can see it in the post.
The problem is with the [templateElements[0].fields[7].fieldMedia.assetPath] field name is *Custom_layout* and field type is *IMAGE *which contain the zip file we uploaded for the *gmail_custom_ad *that contain the HTML,teaser images etc.I think that i need to set the contents of this element but I am unable to get this using MediaService because the MediaService return no record for the Media Id shown here. Following is the element xml that I am using in the post. <fields><name>Custom_layout</name><type>IMAGE</type><fieldMedia xsi:type="Image"><mediaId>1489628318</mediaId><referenceId>-8627339302394658816</referenceId><dimensions><key>FULL</key><value><width>0</width><height>0</height></value></dimensions><urls><key>FULL</key><value>https://tpc.googlesyndication.com/sadbundle/9819404771314892800/index.html</value></urls><sourceUrl>media://da/image?source=user_file&id_from_source= *GSP_Creative.zip* &operation=original</sourceUrl><name>GSP_Creative.zip</name><Media.Type>Image</Media.Type></fieldMedia></fields> *Please clarify what I am missing.* Is there any way I can download the *GSP_Creative.zip* using API? Thanks On Friday, August 7, 2015 at 7:56:48 PM UTC+5, Anthony Madrigal wrote: > > Hi Hazar, > > After looking at your ad, I saw that its final URL is null, so when you > set *templateAdNew.finalUrls = templateAd.finalUrls *there is no value > going in there. Once you set that you should no longer be getting the > *EMPTY_FIELD > *error. > > Cheers, > Anthony > AdWords API Team > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/a3dbbc02-8c58-406e-b06e-d25ccfe7f1e8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.