rejectionReason property

String? rejectionReason
getter/setter pair

This value explains why YouTube rejected an uploaded video.

This property is only present if the uploadStatus property indicates that the upload was rejected. Possible string values are:

  • "copyright" : Copyright infringement.
  • "inappropriate" : Inappropriate video content.
  • "duplicate" : Duplicate upload in the same channel.
  • "termsOfUse" : Terms of use violation.
  • "uploaderAccountSuspended" : Uploader account was suspended.
  • "length" : Video duration was too long.
  • "claim" : Blocked by content owner.
  • "uploaderAccountClosed" : Uploader closed his/her account.
  • "trademark" : Trademark infringement.
  • "legal" : An unspecified legal reason.

Implementation

core.String? rejectionReason;