Hi Brihaspati, When setting the request to ACTIVE you need to use the credentials of the *invited* (non-MCC) AdWords account, not the MCC account. The reason for this is that you are attempting to accept the invitation, and only a user with access to the invited account can do that. A user with access to the MCC account does not yet have access to the invited account so it can't act on behalf of the invited account.
To generate credentials for the invited account you can run the GetRefreshToken.php<https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/Auth/GetRefreshToken.php> example, but this time when it gives you a URL to paste into your browser make sure that you are logged in as the invited user when you go to that link and accept. You can then use the refresh token produced when setting the invitation to ACTIVE. Cheers, Josh, AdWords API Team On Thursday, March 13, 2014 4:08:08 AM UTC-4, brst...@gmail.com wrote: > > Hello Josh, > > Well many thanks for you support. Now For Item #1, I have been able to > send the request for ADD PENDING and the result was a success, and to > confirm i sent the same request and got this error: > An error has occurred: > [ManagedCustomerServiceError.ALREADY_INVITED_BY_THIS_MANAGER @ > operations[0]] > So this confirmed that my ADD PENDING request was a success. Now working > with the same credentials as used while sending the PENDING request i sent > another request SET ACTIVE and got error : > An error has occurred: [ManagedCustomerServiceError.NOT_AUTHORIZED @ > operations[0]] . > Now i am not able to figure it out that same credentials worked with the > ADD PENDING and the same does not work with this request. > Now please have a look and guide me to get this on track. > > Regards, > Brihaspati Dev > > > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.