Hi, Sorry, I actually managed to sort this.
I was also using scripts but it should be the same idea. I first created the video asset using adMedia() i.e. not adAssets() which didn't work. Then I created the media by running the script. Finally I got the asset via an iterator and created the advert successfully. I imagine it's the same deal with the API. Thanks On Tuesday, 9 May 2023 at 11:13:21 UTC-5 charlesb...@gmail.com wrote: > Hi, > > Was there any update on this? > > I have the exact same error. > > I'm definitely passing in a video asset but receive the error "Expected an > Asset which is a YouTube video". > > Is it just not supported? > > Thanks > > On Wednesday, 8 June 2022 at 14:44:52 UTC-5 Google Ads API Forum Advisor > wrote: > >> Hello Carlos, >> >> Thanks for reaching out to the Google Ads API forum. >> For us to investigate, could you please provide us with the complete >> request >> <https://developers.google.com/google-ads/api/docs/concepts/field-service#request> >> >> and response >> <https://developers.google.com/google-ads/api/docs/concepts/field-service#response> >> >> logs with request-id >> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id> >> >> and request-header >> <https://developers.google.com/google-ads/api/docs/concepts/call-structure?hl=en#cid> >> >> generated on your end, so that our team may take a closer look at the issue >> you’re experiencing. >> >> For the client library, logging can be enabled by navigating to the >> Client libraries > Your client library (ex. Java) > Logging documentation, >> which you can access from this link >> <https://developers.google.com/google-ads/api/docs/client-libs>. >> >> Please send the requested details via the Reply privately to the author >> option. If this option is not available, you may send the details directly >> to our <https://groups.google.com/>googleadsa...@google.com alias by >> referring to this thread. >> >> Best Regards, >> > [image: Google Logo] >> Jakeia >> Google Ads API Team >> >> ref:_00D1U1174p._5004Q2bdan7:ref >> > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 "Google Ads API and AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/f12698e9-0bca-43d4-81a4-812a0e1a9f5bn%40googlegroups.com.