Sorry, I forgot to mention, this error is for New Ads API. I am getting those data using Adwords API. I was doing migration process from Adwords API to Google Ads API.
On Friday, 12 April 2019 15:12:06 UTC+5:30, cv wrote: > > Hello Team, > > Is that possible to get only customerId without resourcenames? > > Like From this resource name customers/8*******74, I only need to have > 8*******74. > > I know I can get using getCustomer(), but It is require lot of time as I > have 500+ accounts under my MCC and I need to list them all. > > $customer = $customerServiceClient->getCustomer($resourceName); > $customerId = ($customer->getId()!='') ? > $customer->getId()->getValue() : ''; > > Is directly possible to have customer info without needing any extra api > calls? > > > Thanks, > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/507a2585-5664-40a9-8cb7-a8af72a92dab%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.