It seems that doesn't matter if you add your clientCustomerId(MCC)  in the 
soap headers or not . 

>From our side , we always get only the ClientCustomerId of the MCC account. 
As other people said  in this thread , when you omit ClientCustomerId of 
your MCC on SOAP Headers, it should return a list of all customers managed 
by that MCC.

I attached some logs with both scenarios (with stripped sensitive info) : 
   - Including MCC CustomerId in SOAP Headers, 
   - Without Including MCC CustomerId in SOAP Headers,

Adwords API team , Could you please check in your side , and confirm if  is 
there a bug? 


If you need any other info to investigate the issue, please let me know, 
and i'm glad to provide it;

Thanks for your support,



El martes, 9 de agosto de 2016, 0:31:13 (UTC+2), Karan Vohra escribió:
>
> For the MCC account, if i call CustomerService.getCustomers method without 
> setting the customer id header, would i get the list of all customers that 
> the admin account has access to?
> For the normal advertiser account, if i call CustomerService.getCustomers 
> method without setting the customer id header, would i get only the 
> advertiser's account detail?
>
> Some clarity would be appreciated as the documentation is confusing me.
>
> Thanks!
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/308c2849-b448-4251-9460-011b51925042%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
GET /oauth2callback?code=******************** 302 249.143 ms - 72
Added Headers for ClientCustomerId [*******]

{ '0': 'request',
  '1': '<?xml version="1.0" encoding="utf-8"?><soap:Envelope 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";  
xmlns:tns="https://adwords.google.com/api/adwords/mcm/v201605"; 
xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"; 
xmlns:cm="https://adwords.google.com/api/adwords/cm/v201605";><soap:Header><ns1:RequestHeader
 xmlns:ns1="https://adwords.google.com/api/adwords/mcm/v201605"; 
xmlns="https://adwords.google.com/api/adwords/mcm/v201605";><ns1:developerToken>***************</ns1:developerToken><ns1:userAgent>OrbitalAds</ns1:userAgent><ns1:validateOnly>false</ns1:validateOnly><ns1:clientCustomerId>********</ns1:clientCustomerId></ns1:RequestHeader></soap:Header><soap:Body><getCustomers
 
xmlns="https://adwords.google.com/api/adwords/mcm/v201605";></getCustomers></soap:Body></soap:Envelope>’
 }



{ '0': 'response',
  '1': '<soap:Envelope 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";><soap:Header><ResponseHeader
 xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201605"; 
xmlns="https://adwords.google.com/api/adwords/mcm/v201605";><ns2:requestId>00053d1a4c24b3980ac20f26aa038201</ns2:requestId><ns2:serviceName>CustomerService</ns2:serviceName><ns2:methodName>getCustomers</ns2:methodName><ns2:operations>0</ns2:operations><ns2:responseTime>116</ns2:responseTime></ResponseHeader></soap:Header><soap:Body><getCustomersResponse
 xmlns="https://adwords.google.com/api/adwords/mcm/v201605"; 
xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201605";><rval><customerId>**********</customerId><currencyCode>EUR</currencyCode><dateTimeZone>Europe/Madrid</dateTimeZone><descriptiveName>OrbitalAds</descriptiveName><companyName></companyName><canManageClients>true</canManageClients><testAccount>false</testAccount><autoTaggingEnabled>false</autoTaggingEnabled><conversionTrackingSettings><conversionOptimizerMode>MANY_PER_CLICK</conversionOptimizerMode><effectiveConversionTrackingId>0</effectiveConversionTrackingId><usesCrossAccountConversionTracking>false</usesCrossAccountConversionTracking><optimizeOnEstimatedConversions>false</optimizeOnEstimatedConversions></conversionTrackingSettings><remarketingSettings><snippet>*******</snippet></remarketingSettings></rval></getCustomersResponse></soap:Body></soap:Envelope>'
 }
GET /showCustomers 304 561.023 ms - -


GET /oauth2callback?code=************************* 302 334.331 ms - 72
Skipping ClientCustomerId Addition on SOAP HEADERS

{ '0': 'request',
  '1': '<?xml version="1.0" encoding="utf-8"?><soap:Envelope 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";  
xmlns:tns="https://adwords.google.com/api/adwords/mcm/v201605"; 
xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"; 
xmlns:cm="https://adwords.google.com/api/adwords/cm/v201605";><soap:Header><ns1:RequestHeader
 xmlns:ns1="https://adwords.google.com/api/adwords/mcm/v201605"; 
xmlns="https://adwords.google.com/api/adwords/mcm/v201605";><ns1:developerToken>************</ns1:developerToken><ns1:userAgent>OrbitalAds</ns1:userAgent><ns1:validateOnly>false</ns1:validateOnly></ns1:RequestHeader></soap:Header><soap:Body><getCustomers
 
xmlns="https://adwords.google.com/api/adwords/mcm/v201605";></getCustomers></soap:Body></soap:Envelope>'
 }


{ '0': 'response',
  '1': '<soap:Envelope 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";><soap:Header><ResponseHeader
 xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201605"; 
xmlns="https://adwords.google.com/api/adwords/mcm/v201605";><ns2:requestId>00053d1a60e8fc590ac21485d60f23ce</ns2:requestId><ns2:serviceName>CustomerService</ns2:serviceName><ns2:methodName>getCustomers</ns2:methodName><ns2:operations>0</ns2:operations><ns2:responseTime>125</ns2:responseTime></ResponseHeader></soap:Header><soap:Body><getCustomersResponse
 xmlns="https://adwords.google.com/api/adwords/mcm/v201605"; 
xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201605";><rval><customerId>**********</customerId><currencyCode>EUR</currencyCode><dateTimeZone>Europe/Madrid</dateTimeZone><descriptiveName>OrbitalAds</descriptiveName><companyName></companyName><canManageClients>true</canManageClients><testAccount>false</testAccount><autoTaggingEnabled>false</autoTaggingEnabled><conversionTrackingSettings><conversionOptimizerMode>MANY_PER_CLICK</conversionOptimizerMode><effectiveConversionTrackingId>0</effectiveConversionTrackingId><usesCrossAccountConversionTracking>false</usesCrossAccountConversionTracking><optimizeOnEstimatedConversions>false</optimizeOnEstimatedConversions></conversionTrackingSettings><remarketingSettings><snippet>***********</snippet></remarketingSettings></rval></getCustomersResponse></soap:Body></soap:Envelope>'
 }
GET /showCustomers 304 570.412 ms - -

Reply via email to