On Friday, June 16, 2023 at 12:07:37 PM UTC-4 Google Ads API Forum Advisor wrote:
Hi, Thank you for reaching out to Google Ads API Forum. *But I can not see any documentation for the part of uploading video to youtube to use it as an Asset (YOUTUBE_VIDEO). So my first question is how to achieve that.* >> As per this guide ( *https://developers.google.com/google-ads/api/docs/performance-max/assets#ensure_minimum_asset_requirements_are_met* <https://developers.google.com/google-ads/api/docs/performance-max/assets#ensure_minimum_asset_requirements_are_met>) about asset requirements in Performance Max campaigns, *YOUTUBE_VIDEO* is a supported asset type that can be added in Performance Max campaigns. You may try following the code example shown in the guide, but replace the *setTextAsset* in the code example to *setYoutubeVideoAsset *and let us know how it goes. I'm facing the same problem. The original question was how to upload a video to YouTube to use it as an Asset of type YOUTUBE_VIDEO when creating the campaign. I'm assming in order to use the setYouTubeVideoAsset function, you'd need an asset of type https://developers.google.com/google-ads/api/reference/rpc/v14/YoutubeVideoAsset. How do we create one of those programatically? *How to allow my customers to fetch the videos from their accounts that were previously used in other campaigns or just exist on their accounts?* >> Can you confirm if this feature is available in Google Ads UI? If yes, can you share to us the *Google Ads UI screenshot (without cropping) *of the data you are trying to retrieve via Google Ads API? This is so we can check better and provide more appropriate answers accordingly. You can provide it via the Reply privately to author option. If this option is not available, then send it instead on this email address googleadsa...@google.com <https://groups.google.com/>. This message is in relation to case "ref:_00D1U1174p._5004Q2mCHKq:ref" Thanks, [image: Google Logo] Google Ads API Team -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/cec6a463-c12a-4bb6-ad78-9e97fa34ccden%40googlegroups.com.