RE: Child account authenticate in ads API
Hi Krishnadas, Thank you for reaching out. If “login to my child account” in your question refers to authentication with your child account, then you need to use your child account to create a new set of OAuth2 credentials and update them in the properties file. If you just mean to query against your child account then you could set the child account as the client customer account. Thanks and regards, Xiaoming, Google Ads API Team Xiaoming Google Ads API Team ref:_00D1U1174p._5004Q2GGvXA: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 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 and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/sE9P50QS0XNR00mwMRtwrGR6OU32ToVzBVVw%40sfdc.net.
Child account authenticate in ads API
Hi for authenticate in google ads api i am using this code $this->oAuth2Credential = (new OAuth2TokenBuilder())->fromFile()->build(); $session = (new GoogleAdsClientBuilder())->fromFile() ->withOAuth2Credential($this->oAuth2Credential) ->build(); $this->googleAdsClient = $session ; $this->googleAdsServiceClient = $this->googleAdsClient->getGoogleAdsServiceClient(); but here i ma authenticating as manager account , now i want to log in as child account how i'll login to my child account with google ads API ? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 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 and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/bfd5c1cb-a21f-4755-904c-2d7f7978ace0n%40googlegroups.com.