Hello Dannison,

I have my own parsing function.

But the document over 
https://ads-developers.googleblog.com/2019/01/new-required-header-for-google-ads-api.html
 on 
this blog post is confusing.

It said login-customer-id is required incase it is MCC account.

My question
1) which login-customer-id is important, Is it the customerId that MCC has 
authorised?
2) If yes, what about SUB MCC accounts?
3) If I have authorised for the First time I can get all the accessible 
accounts, how I can identify which customerId need to assign 
as login-customer-id?
4) For Directly Accesible accounts which are not there as a MCC, what could 
be login-customer-id?



Thanks,




On Monday, 15 April 2019 11:15:42 UTC+5:30, googleadsapi-forumadvisor wrote:
>
> 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/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> Was your question answered? Please rate your experience with us by taking 
> a short survey.
> If not -- reply to this email and tell us what else we can do to help.
>
> Take Survey 
> <https://support.google.com/google-ads/contact/survey_transactional?caseid=5-7345000025767&hl=en&ctx=1>
>
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
> On 04/12/19 20:06:13 [email protected] <javascript:> 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/082d5996-88d4-4af3-b7df-9e2fdff46a27%40googlegroups.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