I recently tried to get my Google Adsense working on my blog as you never know, I might make my fortune using it, but when I tried, I got the “The publisher must be associated with the developer account before the developer can invoke operations on the publisher’s account” error.
After spending some time searching the internet, I finally found the fix for it.
So to fix it, sign in to your Google AdSense account then go to My Account then Account Access.
Then under the section “Access and Authorisation” you should see “view third-party access” with a blogger.com entry like below:
Click this link to take you to the third-party access page.
On this page, you need to ensure that the status is set to Enabled like the image below:
If yours is not set to Enabled, just click the Enable link under Action.
Once you have done this your Google Adsense should work again.