Hi Joel, 

I'm afraid you cannot retrieve the raw image data of a Media using 
MediaService. If you would like to reuse existing Images to create new 
ResponsiveDisplayAds, you can populate the Image.mediaId 
<https://developers.google.com/adwords/api/docs/reference/v201705/AdGroupAdService.Image#mediaid>
 field 
with the MediaId as shown here 
<https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201705/AdvancedOperations/AddResponsiveDisplayAd.php#L68>.
 
You can use MediaService to retrieve the uploaded images as shown here 
<https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201705/Misc/GetAllImagesAndVideos.php>
.

Regards,
Peter
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/e6bf8ae5-cdc4-4fff-9c1a-4ea697674ec9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • call... Joel Shapiro
    • ... 'Peter Oliquino' via AdWords API Forum
      • ... Joel Shapiro
        • ... 'Peter Oliquino' via AdWords API Forum
          • ... Joel Shapiro
            • ... 'Thanet Knack Praneenararat (AdWords API Team)' via AdWords API Forum

Reply via email to