Hi,
Thanks for reaching out to the Google Ads API Support.
Upon checking the error message you’ve provided with us, it seems that the issue occurred due to an incorrect parameter object in new YoutubeVideoAsset(). Could you please try to refer code here to create the YoutubeVideoAsset in php?
Note the string value used in the YouTube video URL is 11 characters. If the issue still persists, you may provide us with the following information so we could investigate further:
If you haven't yet, logging can be enabled by navigating to the Client libraries > Your client library (ex. PHP) > Logging documentation, which you can access from this link. You may then send the all the requested information via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead.
Regards,
|
||||||