Groups
Groups
Sign in
Groups
Groups
(Deprecated) Google Ads API and AdWords API Forum
Conversations
Labels
About
Send feedback
Help
MediaService in google ads api
58 views
Skip to first unread message
cv
unread,
Mar 23, 2021, 9:30:04 AM
3/23/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AdWords API and Google Ads API Forum
hi,
I am trying to get fields similar to Adwords API MediaService
Fields that I try to get in Google Ads API are
'MediaId', 'Width', 'Height', 'MimeType', 'Name'
Which view I need to use to get width and height for the Media Mime type?
Thanks,
Google Ads API Forum Advisor Prod
unread,
Mar 23, 2021, 10:34:28 PM
3/23/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to chirag....@gmail.com, adwor...@googlegroups.com
Hi,
Thank you for reaching out.
On the Google Ads API perspective, you can use the
media_file
report and you can include the following fields to get the details that you've mentioned:
media_file.id
media_file.mime_type
media_file.name
As for the dimension (Width and Height) of the image, you can use include the
media_file.image.full_size_image_url
and
media_file.image.preview_size_image_url
instead.
Hope this will help. Let me know if you have further questions.
Regards,
Ernie John Blanca Tacata
Google Ads API Team
ref:_00D1U1174p._5004Q2Dy35u:ref
Reply all
Reply to author
Forward
0 new messages