Hello John,

The resource media_file
<https://developers.google.com/google-ads/api/docs/fields/media_file> does
not have the field media_file.image that the reson for INVALID_ARGUMENT
error, instead you could use the media_file.resource_name
<https://developers.google.com/google-ads/api/docs/fields/media_file#media_fileresource_name> field.
You can use the UI of Google Ads API to upload the media files. To upload
media files via Google Ads API you could use MutateMediaFiles operation as
shown here
<https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v0.services#mediafileservice>
.

Regards,
Sai Teja, Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/00d12id9ro0000010e8t840001dg9ow6cmjcdho6co30c1g68qj2e9k%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
  • Does th... john
    • RE... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
      • ... john
        • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
          • ... john
            • ... john
              • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
                • ... john
                • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum

Reply via email to