Hi Manuel,

Yes, UNIT_COUNT refers to the API units used.  It's not possible to
predict future unit usage, so the date range can only go as far as
today.

Best,
- Eric

On Nov 6, 12:28 am, manuel <manuel_pa...@sapo.pt> wrote:
> Thanks Eric, working now.
>
> The UNIT_COUNT are the Used API units right?
>
> Also, how come I can't set the max dateRange to a future date? (end of
> the month for instance) <- ERROR
>
> Thanks,
> Manuel
>
> On Nov 5, 9:18 pm, AdWords API Advisor <adwordsapiadvi...@google.com>
> wrote:
>
>
>
>
>
>
>
> > Hi Manuel,
>
> > I think the problem is with the namespaces you are using.  The
> > RequestHeader element should be in the info namespace, while it's
> > children (applicationToken, etc) should be in the cm namespace.
>
> > Best,
> > - Eric Koleda, AdWords API Team
>
> > On Nov 4, 1:17 pm, manuel <manuel_pa...@sapo.pt> wrote:
>
> > > Using this to get API usage, but getting "ServerFault occurred while
> > > processing" error.
> > > Do I need to set the DateRange? Can you help me correct the xml below?
> > > Thanks.
>
> > > <?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/info/
> > > v201008" xmlns:ns2="https://adwords.google.com/api/adwords/o/v201008";
> > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
> > >       <SOAP-ENV:Header>
> > >             <ns2:RequestHeader xsi:type="ns2:RequestHeader">
> > >             <ns2:applicationToken>xxxxxxx</ns2:applicationToken>
> > >             <ns2:authToken>xxxxxxx</ns2:authToken>
> > >             <ns2:developerToken>xxxxxxxxx</
> > > ns2:developerToken>
> > >             <ns2:userAgent>xxxxxxxxxx</ns2:userAgent>
> > >             <ns2:clientEmail>xxxxxxxxxx</ns2:clientEmail>
> > >             </ns2:RequestHeader>
> > >       </SOAP-ENV:Header>
> > >       <SOAP-ENV:Body>
> > >             <ns1:get xsi:type="get">
> > >                   <ns1:selector xsi:type="ns1:InfoSelector">
> > >                   <ns1:apiUsageType>TOTAL_USAGE_API_UNITS_PER_MONTH</
> > > ns1:apiUsageType>
> > >                   </ns1:selector>
> > >             </ns1:get>
> > >       </SOAP-ENV:Body>
> > > </SOAP-ENV:Envelope>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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

Reply via email to