Image from ImageAd has no mediaId

23 views
Skip to first unread message

Mario Rial

unread,
Jan 15, 2020, 12:41:41 PM1/15/20
to AdWords API and Google Ads API Forum
Hello!

When using the AdGroupAdService to get display ads the Image object that I retrieve from an ImageAd has null MediaIds.
It does have most of the times ReferenceIds though.

To get the MediaId of those images what I did was use the MediaService to get images by ReferenceId.
However this does not always work and sometimes it doesn't return any entry.

Could anybody advice on a solution for this?

Thank you so much in advance!

Google Ads API Forum Advisor Prod

unread,
Jan 16, 2020, 3:11:40 PM1/16/20
to mr...@newengen.com, adwor...@googlegroups.com

Hello Mario,

Thank you for reaching out. The AdGroupAdService will return the ImageAd via API if it exists in your Google Ads account which will contain the mediaId of the image. Could you please share the complete request and response logs along with the client customer id for me to investigate this further on my end and assist you better?

P.S. Please use Reply privately to author option while sharing the details.

Regards,
Nikisha Patel, Google Ads API Team



ref:_00D1U1174p._5001USwYwO:ref
Reply all
Reply to author
Forward
0 new messages