Thank you for the response, but is there a way that I could have known 
this? The documentation includes getData() but it sounds like you're saying 
that there's no way to use it. Can you explain how one would successfully 
use getData() on an image?

On Wednesday, June 14, 2017 at 11:07:54 PM UTC-7, Peter Oliquino wrote:
>
> 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/53ec0c8e-6c27-4f06-a1cf-682831e637eb%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