Hi,
I am developing some dashboards based on campaignperformancereport. I have an MCC account and I have around 20 client accounts there. There could be more in future. I want to get the list of all client customer id so that I can send these clientcustomerid to campaignperformancereport one by one. However, I am not able to find any method to achieve this. Can someone please tell me how can I get the list of all clients from MCC client using adwords api
I need a specific Soap xml request that will return the list of clients. I have tried the below soap request but I am not sure how to get the auth token and secondly the soap requests is giving errors. I am looking for something similar but which is a valid request. I already have an MCC account, and have also created clientid and secret id
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:xsd="
http://www.w3.org/2001/XMLSchema" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xmlns:wsdl="
https://adwords.google.com/api/adwords/mcm/v201209" xmlns:env="
http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns0="
https://adwords.google.com/api/adwords/cm/v201209">
<env:Header>
<wsdl:RequestHeader xmlns="
https://adwords.google.com/api/adwords/cm/v201209">
<userAgent>user-agent</userAgent>
<developerToken>developer-token</developerToken>
<authToken>auth-token</authToken>
</wsdl:RequestHeader>
</env:Header>
<env:Body>
<get xmlns="
https://adwords.google.com/api/adwords/mcm/v201209">
<serviceSelector>
<ns0:fields>Login</ns0:fields>
<ns0:fields>CustomerId</ns0:fields>
<ns0:fields>Name</ns0:fields>
</serviceSelector>
</get>
</env:Body>
</env:Envelope>
Regards
Arif