Hello John,

We are looking into the issue and we will get back to you shortly.

Regards,
Sai Teja, AdWords 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/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 02/05/19 15:39:58 j...@greenfieldlabs.ca wrote:

Ah crap! It looks like I was making the mistake of not sending the actual
file. I think this might be the issue.

On Tuesday, February 5, 2019 at 3:24:48 PM UTC-5, jo...@greenfieldlabs.ca
wrote:

Hi Sai,

I tried doing what you said below but unfortunately it's still giving an
INVALID_ARGUMENT error.

Can you check if there is something incomplete or the error is on Google's
end? If you're sure that the issue is not on my end, can you provide a full
Java snippet that you have tested that I could run myself?

FYI - I have been able to create Campaigns & Ad Groups without any issues.

Thank you again for your help,
John

On Tuesday, February 5, 2019 at 3:02:28 PM UTC-5, googleadsapi-forumadvisor
wrote:

Hello John,

Looks like the INVALIDARGUMENT is due to the .setName() method which is
expecting StringValue.of("myimage") as an argument instead. You could refer
to the below snippet to build MediaFile object in Java (Since we do not
have client libraries in Scala, providing the snippet in the Java).

Snippet:
MediaFile mediaFile = MediaFile.newBuilder()
                     .setName(StringValue.of("myimage"))
                     .setType(MediaType.IMAGE)
                     .build();

Please let me know if you have any further questions.

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/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a
short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey
<https://support.google.com/google-ads/contact/survey_transactional?caseid=3-6683000025194&hl=en&ctx=1>

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/3f7a6e50-4e2d-4f79-8ec2-f0cea1846b60%40googlegroups.com
<https://groups.google.com/d/msgid/adwords-api/3f7a6e50-4e2d-4f79-8ec2-f0cea1846b60%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/00d12gdp5o0000010ih55o006c6eh2w6cmjcdho6co30c1g68qj2e9k%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