Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It's only working on non-monetized channels? Do you have updated one for publishing on Monetized channels? #31

Open
shizzledizzleeee opened this issue Apr 25, 2023 · 3 comments

Comments

@shizzledizzleeee
Copy link

It's only working on non-monetized channels? Do you have updated one for publishing on Monetized channels?

Images:
1: https://prnt.sc/Qpd0Eroq-z9y
2: https://prnt.sc/EMMB8RLcMKly

Monetized channels have extra steps, So are you able to check on that?

In non-monetized channels, there are four steps, while in monetized channels, there are 6 steps. So the code hangs/freezes while uploading video to the monetized channels because the code doesn't favor some steps.

As you can see in the screenshots above, extra steps are:

  1. Monetization: This is a window where you enable monetization.
  2. Ad suitability: Here you select a checkbox and then click the "Submit ratings" button.
@shizzledizzleeee
Copy link
Author

In non-monetized channels, there are four steps, while in monetized channels, there are 6 steps. So the code hangs/freezes while uploading video to the monetized channels because the code doesn't favor some steps.

As you can see in the screenshots above, extra steps are:

Monetization: This is a window where you enable monetization.
Ad suitability: Here you select a checkbox and then click the "Submit ratings" button.

@shizzledizzleeee
Copy link
Author

Name: TypeError
Message: Cannot read properties of null (reading 'dispatchEvent')
File name: undefined
Stacktrace: TypeError: Cannot read properties of null (reading 'dispatchEvent')
    at click (<anonymous>:78:17)
    at DraftModal.selectMadeForKids (<anonymous>:177:13)
    at async Object.publishDrafts [as publish_drafts] (<anonymous>:238:13) TypeError: Cannot read properties of null (reading 'dispatchEvent')
    at click (<anonymous>:78:17)
    at DraftModal.selectMadeForKids (<anonymous>:177:13)
    at async Object.publishDrafts [as publish_drafts] (<anonymous>:238:13)
m=core:1235 Name: TypeError
Message: Cannot read properties of null (reading 'dispatchEvent')
Error args: [{"source":"unhandledrejection"}]
File name: undefined
Stacktrace: TypeError: Cannot read properties of null (reading 'dispatchEvent')
    at click (<anonymous>:78:17)
    at DraftModal.selectMadeForKids (<anonymous>:177:13)
    at async Object.publishDrafts [as publish_drafts] (<anonymous>:238:13) TypeError: Cannot read properties of null (reading 'dispatchEvent')
    at click (<anonymous>:78:17)
    at DraftModal.selectMadeForKids (<anonymous>:177:13)
    at async Object.publishDrafts [as publish_drafts] (<anonymous>:238:13)

MONETIZED Ad Suitbility

It doesn't click the checkbox and and submit ratings button which is required by Monetized Channels.

@shizzledizzleeee
Copy link
Author

I think we need "AdSuitabilityModal" Class that represents Ad Suitability Modal, and it should only click a checkbox and wait for "Submit ratings" Button to be active, and then click it, Is this doable?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant