Hi,

If you only want to get all the customer IDs under a manager account, I
would recommend to use the Account Performance Report
<https://developers.google.com/adwords/api/docs/appendix/reports/account-performance-report> and
include the ExternalCustomerId
<https://developers.google.com/adwords/api/docs/appendix/reports/account-performance-report#externalcustomerid>
field to your report.

Please let me know if you have further questions/clarifications.

Regards,
Ejay
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 17:42:06 [email protected] 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/c05b8dde-f032-4320-a6c6-0b3539e10639%40googlegroups.com
<https://groups.google.com/d/msgid/adwords-api/c05b8dde-f032-4320-a6c6-0b3539e10639%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/ujqug1s6l0000000omqln4001bn59cx6kmjecpk6ko30c1g68qjedhn%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
  • Need on... cv
    • RE... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
    • Re... cv
      • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
        • ... cv
        • ... cv
          • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
    • RE... Google Ads API Forum Advisor Prod

Reply via email to