Hi Shanmukha, In the example, you will see this comment "This example assumes that the same credentials will work for both customers, but that may not be the case. If you need to use different credentials for each customer, then you may either update the client configuration or instantiate two clients, one for each set of credentials. Always make sure you use a GoogleAdsClient with the proper credentials to fetch any services you need to use."
This means that if the credentials you are using to access the manager account don't have access to the client account, this example must be broken into two separate calls. The first call should be using the manager account credentials to send the invitation and the second call is using the client account credentials to accept the invitation. If your email is added as a user to the client accounts, you can do this in one call (just remove the login-customer-id from your properties file). Please let me know if this explanation makes sense. Regards, Mitchell Google Ads API Team ref:_00D1U1174p._5001UUzylE:ref -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/ZN5t_000000000000000000000000000000000000000000000Q6MJFH00XM9elVM2TSqZm_2ZyKwLgg%40sfdc.net.
