Hi,
Your concern was handed over to me as I am more capable of assisting you
with Google Ads API related concerns. Unfortunately, in Google Ads API
perspective, there is no direct way of returning the customerId value
itself. You have to implement your own parsing function for the resource
name value.
Let me know if you have further clarifications.
Regards,
Dannison
Google Ads API Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
On 04/12/19 20:06:13 [email protected] wrote:
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 [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].
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
<https://groups.google.com/d/msgid/adwords-api/507a2585-5664-40a9-8cb7-a8af72a92dab%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
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/00d12httj00000018idjs0001ip21ez6kmjecpk6ko30c1g68qjedhn%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.