hello,i ues the code like following
$asset = new Asset([
'type' => AssetType::YOUTUBE_VIDEO,
'youtube_video_asset' => new YoutubeVideoAsset(['youtube_video_id' => 
$video_id,'youtebe_video_title=>'double date—DE—39s—this-is-four.mp4'])
]);

but it get error for me
Failure: 
{"errors":[{"errorCode":{"stringLengthError":"TOO_LONG"},"message":"Too 
long.","trigger":{"stringValue":"double date—DE—39s—this-is-four.mp4"},

after that,i change my code to :
YoutubeVideoAsset(['youtube_video_id' => 
$video_id,'youtebe_video_title=>'6626162661'])
]); it get error for me again
Failure: 
{"errors":[{"errorCode":{"stringLengthError":"TOO_SHORT"},"message":"Too 
short.","trigger":{"stringValue":"6626162661"},

however,my video is success upload.in this,i want bind video to asset.
so,please tell me the title support max length ,tkanks!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/5438145c-7914-4f8f-ba6d-7f9838a015dbn%40googlegroups.com.

Reply via email to