Hi Adam,

Please correct me if my understanding is incorrect. From what I have 
understood, you want to replace the value of setData() to a URL value. If 
so, then our example 
<https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201710/advancedoperations/AddResponsiveDisplayAd.java>
 (in 
Java) is already showing this specifically on this line 
<https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201710/advancedoperations/AddResponsiveDisplayAd.java#L187>
.

Also, you can create an image first using MediaService.upload() 
<https://developers.google.com/adwords/api/docs/reference/v201710/MediaService#upload>
 (see 
this example 
<https://developers.google.com/adwords/api/docs/samples/java/miscellaneous#upload-an-image>)
 
and later on use the MediaService.get() 
<https://developers.google.com/adwords/api/docs/reference/v201710/MediaService#get>
 to 
get the mediaId on which you will use in creating your ad via 
AdGroupAdService.mutate() 
<https://developers.google.com/adwords/api/docs/reference/v201710/AdGroupAdService#mutate>
.

Thanks,
Vincent
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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/21374d24-14f4-4876-af7b-19ac2ade5e44%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Can I create an ... Adam McKee
    • Re: Can I c... 'Vincent Racaza (AdWords API Team)' via AdWords API Forum

Reply via email to