Hi, Unfortunately it is not currently possible to get the API unit used by a client account that is not linked to an MCC. I can see how this would be useful and I will pass this feedback on to the core engineering team.
Best, - Eric On Apr 26, 6:05 pm, SEM <[email protected]> wrote: > Thanks Eric. > So how do I get the unit count (and assuming I have that, I should be > able to convert to cost based on 1000 units = 0.25c) for individual > clients (that aren't grouped in an MCC) tied to a single dev token at > the end of a month? > This is needed in our org wherein we group multiple logins (some used > for internal testing, others for our clients) by a single dev token > but not by MCC. > i.e. so we can account for changes in monthly billing. > > On Apr 26, 8:30 am, AdWords API Advisor <[email protected]> > wrote: > > > > > > > Hi, > > > To address your questions: > > > a) The UNIT_COUNT_FOR_CLIENTS ApiUsageType requires that the clients > > are organized under an MCC account. > > > b) This error is due to the invalid date format. > > > c) The date format is YYYYMMDD. > > > d) TheInfoServiceonly returns unit counts. Any conversion to > > dollars must be done on your end. > > > Best, > > - Eric Koleda, AdWords API Team > > > On Apr 23, 10:10 am, SEM <[email protected]> wrote: > > > > Here's the SOAP REQUEST... > > > > <?xml version="1.0" encoding="UTF-8"?> > > > <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/ > > > envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > > > <soapenv:Header> > > > <ns1:RequestHeader xmlns:ns1="https://adwords.google.com/api/ > > > adwords/cm/v200909" soapenv:actor="http://schemas.xmlsoap.org/soap/ > > > actor/next" soapenv:mustUnderstand="0"> > > > <ns1:applicationToken>APP-TOKEN-REMOVED</ns1:applicationToken> > > > <ns1:authToken>AUTH-TOKEN-REMOVED</ns1:authToken> > > > <ns1:clientEmail>[email protected]</ns1:clientEmail> > > > <ns1:developerToken>DEV-TOKEN-REMOVED</ns1:developerToken> > > > <ns1:userAgent>BILLING</ns1:userAgent> > > > <ns1:validateOnly>true</ns1:validateOnly> > > > </ns1:RequestHeader> > > > </soapenv:Header> > > > <soapenv:Body> > > > <get xmlns="https://adwords.google.com/api/adwords/info/v200909"> > > > <selector> > > > <dateRange> > > > <ns2:min xmlns:ns2="https://adwords.google.com/api/adwords/ > > > cm/v200909">02/01/2010</ns2:min> > > > <ns3:max xmlns:ns3="https://adwords.google.com/api/adwords/ > > > cm/v200909">02/28/2010</ns3:max> > > > </dateRange> > > > <clientEmails>[email protected]</clientEmails> > > > <apiUsageType>UNIT_COUNT_FOR_CLIENTS</apiUsageType> > > > </selector> > > > </get> > > > </soapenv:Body> > > > </soapenv:Envelope> > > > > ... and the SOAP response ... > > > > <?xml version="1.0"?> > > > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> > > > <soap:Body> > > > <soap:Fault> > > > <faultcode>soap:Server</faultcode> > > > <faultstring>Fault occurred while processing.</faultstring> > > > </soap:Fault> > > > </soap:Body> > > > </soap:Envelope> > > > > -- > > > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > > > Have you migrated to v200909 yet? > > > The v13 sunset is on April 22, 2010. > > > > Also find us on our blog and discussion > > > group:http://adwordsapi.blogspot.comhttp://groups.google.com/group/adwords-api > > > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > > > > You received this message because you are subscribed to the Google > > > Groups "AdWords 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 > > > athttp://groups.google.com/group/adwords-api?hl=en > > > -- > > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > > Have you migrated to v200909 yet? > > The v13 sunset is on April 22, 2010. > > > Also find us on our blog and discussion > > group:http://adwordsapi.blogspot.comhttp://groups.google.com/group/adwords-api > > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > > > You received this message because you are subscribed to the Google > > Groups "AdWords 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 > > athttp://groups.google.com/group/adwords-api?hl=en-Hide quoted text - > > > - Show quoted text - > > -- > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > Have you migrated to v200909 yet? > The v13 sunset is on April 22, 2010. > > Also find us on our blog and discussion > group:http://adwordsapi.blogspot.comhttp://groups.google.com/group/adwords-api > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > > You received this message because you are subscribed to the Google > Groups "AdWords 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 > athttp://groups.google.com/group/adwords-api?hl=en -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Have you migrated to v200909 yet? The v13 sunset is on April 22, 2010. Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords 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
