Reposting the last inquiry 
(https://groups.google.com/g/adwords-api/c/45lm5q-T9F8) from the forum as 
it wasn't routed to our support queue.

Cheers,
Peter Laurence Oliquino
Google Ads API Team

On Monday, June 14, 2021 at 12:45:41 PM UTC+8 [email protected] wrote:

> Any info on the below query. 
>
> Thanks 
> Marketo team
>
> On Fri, Jun 11, 2021 at 1:39 PM [email protected] <[email protected]> 
> wrote:
>
>> Hi team , 
>>
>> We are having customer match feature where before creating a new audience 
>> , we fetch   the list of adaccount, (customer has access to) using below 
>> code.
>>
>> $adWordsServices = new AdWordsServices();
>> $customerService = $adWordsServices->get($this->session, 
>> ManagedCustomerService::class);
>> $selector = new Selector();
>> $selector->setFields(array('Name', 'CustomerId', 'CanManageClients'));
>>
>> This is basically calling get customer of 
>> https://adwords.google.com/api/adwords/mcm/v201809
>>
>> below is the soap call 
>>
>> *<?xml version=*"1.0"* encoding=*"UTF-8"*?>*
>>
>> *<SOAP-ENV:*Envelope xmlns*:*SOAP-ENV*=*"
>> http://schemas.xmlsoap.org/soap/envelope/"; xmlns*:*ns1*=*"
>> https://adwords.google.com/api/adwords/cm/v201809"; xmlns*:*ns2*=*"
>> https://adwords.google.com/api/adwords/mcm/v201809"*>*
>>
>>     *<SOAP-ENV:*Header*>*
>>
>>         *<ns2:*RequestHeader*>*
>>
>>             *<ns1:*clientCustomerId*>*6686213225*</ns1:clientCustomerId>*
>>
>>             *<ns1:*developerToken*>*REDACTED*</ns1:developerToken>*
>>
>>             *<ns1:*userAgent*>*Marketo (AwApi-PHP, 
>> googleads-php-lib/38.0.0, PHP/5.6.40)*</ns1:userAgent>*
>>
>>             *<ns1:*validateOnly*>*false*</ns1:validateOnly>*
>>
>>             *<ns1:*partialFailure*>*true*</ns1:partialFailure>*
>>
>>         *</ns2:RequestHeader>*
>>
>>     *</SOAP-ENV:Header>*
>>
>>     *<SOAP-ENV:*Body*>*
>>
>>         *<ns2:*get*>*
>>
>>             *<ns2:*serviceSelector*>*
>>
>>                 *<ns1:*fields*>*Name*</ns1:fields>*
>>
>>                 *<ns1:*fields*>*CustomerId*</ns1:fields>*
>>
>>                 *<ns1:*fields*>*CanManageClients*</ns1:fields>*
>>
>>             *</ns2:serviceSelector>*
>>
>>         *</ns2:get>*
>>
>>     *</SOAP-ENV:Body>*
>>
>> *</SOAP-ENV:Envelope>*
>> However , One of our customer complains that they are not seeing one of 
>> the account (G Adventures API) which they have proper permission.
>>
>> Client customer id is 6686213225. 
>> Response of this API does n't have ad account name ""G Adventures API"
>> Customer claims that they have proper permission on  this account . 
>>
>> As this is open forum , I am not posting any token related stuff. 
>>
>> Let me know if you need more info.
>>
>>
>>
>>
>>
>> -- 
>> -- 
>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>> 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].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/adwords-api/9c76da3e-66ae-4580-8472-0d417668c7b3n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/adwords-api/9c76da3e-66ae-4580-8472-0d417668c7b3n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f993a7fc-da4f-4205-90c8-9757c480e6e6n%40googlegroups.com.

Reply via email to