AdWords API Another InternalApiError

2009-08-28 Thread Mauro

Hi there,

I'm encountering problems since the database cleanup. Didn't change my
code. Could you pleas check it out?

Cheers,

Mauro

Request:

http://schemas.xmlsoap.org/soap/
envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:SOAP-
ENC="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:ns4108="http://
tempuri.org">

https://adwords.google.com/api/adwords/cm/
v200906">
AUTH_TOKEN
Me
j...@doe.com++usd
client_1+j...@doe.com



https://adwords.google.com/api/adwords/cm/v200906";>

ADD

1_12_Campana 10
    ACTIVE
20090828
20090928



2

STANDARD

DAILY



48
WEEK
CREATIVE








Response:

http://schemas.xmlsoap.org/soap/envelope/";>


soap:Server

InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 

https://adwords.google.com/api/adwords/
cm/v200906">

InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 

ApiException
http://www.w3.org/2001/XMLSchema-instance";
xsi:type="InternalApiError">



InternalApiError

UNEXPECTED_INTERNAL_API_ERROR







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



AdWords API Error when running AddCampaignDemo for v2009 against the sandbox

2009-08-28 Thread Zachary Shaw

I get an error when trying to go against the sandbox using the
AddCampaignDemo http://code.google.com/p/google-api-adwords-java/
v5.1.0

I'm not sure if it's a properties related issue. I have validated that
my login credentials are correct by posting an incorrect password I
get the "Could not get ClientLogin token for user." message.

Any suggestions would be much appreciated.

below are my properties:

# clientId and useSandbox are optional and may be commented out.
email=[what my email would be]
password=[what my password should be]
#clientId=INSERT_CLIENT_LOGIN_EMAIL_OR_ID_HERE
useragent=FOO BAR
developerToken=[what my email would be]++USD
#applicationToken=INSERT_APPLICATION_TOKEN_HERE
useSandbox=true


Here is the error I get:

AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
 faultSubcode:
 faultString: InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @
 faultActor:
 faultNode:
 faultDetail:
{https://adwords.google.com/api/adwords/cm/v200906}
ApiExceptionFault:InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
@ ApiExceptionhttp://www.w3.org/2001/
XMLSchema-instance" xsi:type="InternalApiError">InternalApiErrorUNEXPECTED_INTERNAL_API_ERROR

InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance
(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance
(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at org.apache.axis.encoding.ser.BeanDeserializer.
(BeanDeserializer.java:104)
at org.apache.axis.encoding.ser.BeanDeserializer.
(BeanDeserializer.java:90)
at com.google.api.adwords.v200906.ApiException.getDeserializer
(ApiException.java:142)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized
(BaseDeserializerFactory.java:154)
at
org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs
(BaseDeserializerFactory.java:84)
at org.apache.axis.encoding.DeserializationContext.getDeserializer
(DeserializationContext.java:464)
at
org.apache.axis.encoding.DeserializationContext.getDeserializerForType
(DeserializationContext.java:547)
at org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild
(SOAPFaultDetailsBuilder.java:157)
at org.apache.axis.encoding.DeserializationContext.startElement
(DeserializationContext.java:1035)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement
(AbstractSAXParser.java:501)
at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement
(XMLNSDocumentScannerImpl.java:400)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl
$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2747)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next
(XMLDocumentScannerImpl.java:648)
at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next
(XMLNSDocumentScannerImpl.java:140)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument
(XMLDocumentFragmentScannerImpl.java:510)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
(XML11Configuration.java:807)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
(XML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse
(XMLParser.java:107)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse
(AbstractSAXParser.java:1205)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl
$JAXPSAXParser.parse(SAXParserImpl.java:522)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
at org.apache.axis.encoding.DeserializationContext.parse
(DeserializationContext.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke
(MustUnderstandChecker.java:62)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2

AdWords API Re: campaign geo targetting

2009-08-28 Thread AdWords API Advisor

Hi Sreenu,

The MetroTarget in v2009 corresponds to the MetroTarget in v13:
http://code.google.com/apis/adwords/docs/developer/MetroTargets.html
The ProvinceTarget in v2009 corresponds to the RegionTarget in v13:
http://code.google.com/apis/adwords/docs/developer/RegionTargets.html

Best,
- Eric Koleda, AdWords API Team


On Aug 28, 4:59 am, "Sreenu Daram"  wrote:
> Hi,
>
> I am using java v200906 api.
>
> In this api  , we can set country, city, Metro , province, Polygon,
> Proximity level targeting  for campaign.
>
> I have countries, states/region, and cities level targets for my
> campaigns.  I can map countries to country, City to City.
>
> What is Metro targeting ? Is this  meant Region targeting ?
>
> What is province targeting ..?
>
> Could any please explain ..?
>
> Thanks & Regards,
>
> Sreenu Daram ,  Sr. Software Engineer
>
> Cybage Software Pvt. Ltd. (An SEI-CMMI Level 5 assessed & ISO 27001
> Company ),
>
> Hyderabad, India
>
> Phone(O) : 91-40-66294100 Ext:4047
>
> Mobile:91-9949918983
>
> "Legal Disclaimer: This electronic message and all contents contain 
> information from Cybage Software Private Limited which may be privileged, 
> confidential, or otherwise protected from disclosure. The information is 
> intended to be for the addressee(s) only. If you are not an addressee, any 
> disclosure, copy, distribution, or use of the contents of this message is 
> strictly prohibited. If you have received this electronic message in error 
> please notify the sender by reply e-mail to and destroy the original message 
> and all copies. Cybage has taken every reasonable precaution to minimize the 
> risk of malicious content in the mail, but is not liable for any damage you 
> may sustain as a result of any malicious content in this e-mail. You should 
> carry out your own malicious content checks before opening the e-mail or 
> attachment."www.cybage.com
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



AdWords API Re: Error when running AddCampaignDemo for v2009 against the sandbox

2009-08-28 Thread AdWords API Advisor

Hi Zachary,

I agree, the error message in v2009 wasn't very helpful in this case.
I'll raise this issue with the core development team to see if they
can make the exception more specific.

Best,
- Eric

On Aug 28, 5:51 pm, Zachary Shaw  wrote:
> I think what gave me the worst problems was I am new to the the
> Adwords API and the v2009 error messages didn't help.  It wasn't until
> I tried to do the same thing in v13 that I saw the error messages
> about a missing client.
>
> On Aug 28, 5:21 pm, AdWords API Advisor 
> wrote:
>
>
>
> > Hi Zachary,
>
> > I'm glad you were able to find the solution to your problem.  For the
> > benefit of anyone else that may be running into similar issues,
> > information on how to access the Sandbox environment can be found
> > here:http://code.google.com/apis/adwords/docs/developer/adwords_api_sandbo
>
> > Best,
> > - Eric Koleda, AdWords API Team
>
> > On Aug 28, 5:13 pm, Zachary Shaw  wrote:
>
> > > After much head banging I figured out I needed a clientId and then
> > > after much more head banging I figured out the clientId for the
> > > sandbox was one of
> > > client_x+emailaddress  where x = 1 through 5
>
> > > On Aug 28, 12:00 pm, Zachary Shaw  wrote:
>
> > > > I get an error when trying to go against the sandbox using the
> > > > AddCampaignDemohttp://code.google.com/p/google-api-adwords-java/
> > > > v5.1.0
>
> > > > I'm not sure if it's a properties related issue. I have validated that
> > > > my login credentials are correct by posting an incorrect password I
> > > > get the "Could not get ClientLogin token for user." message.
>
> > > > Any suggestions would be much appreciated.
>
> > > > below are my properties:
>
> > > > # clientId and useSandbox are optional and may be commented out.
> > > > email=[what my email would be]
> > > > password=[what my password should be]
> > > > #clientId=INSERT_CLIENT_LOGIN_EMAIL_OR_ID_HERE
> > > > useragent=FOO BAR
> > > > developerToken=[what my email would be]++USD
> > > > #applicationToken=INSERT_APPLICATION_TOKEN_HERE
> > > > useSandbox=true
>
> > > > Here is the error I get:
>
> > > > AxisFault
> > > >  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
> > > >  faultSubcode:
> > > >  faultString: InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @
> > > >  faultActor:
> > > >  faultNode:
> > > >  faultDetail:
> > > >         {https://adwords.google.com/api/adwords/cm/v200906}
> > > > ApiExceptionFault:InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
> > > > @ ApiException > > > ApplicationException.Type>http://www.w3.org/2001/
> > > > XMLSchema-instance" 
> > > > xsi:type="InternalApiError">InternalAp
> > > >  iError
> > > > ApiError.Type>UNEXPECTED_INTERNAL_API_ERROR
>
> > > > InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @
> > > >         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> > > > Method)
> > > >         at sun.reflect.NativeConstructorAccessorImpl.newInstance
> > > > (NativeConstructorAccessorImpl.java:39)
> > > >         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance
> > > > (DelegatingConstructorAccessorImpl.java:27)
> > > >         at 
> > > > java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> > > >         at java.lang.Class.newInstance0(Class.java:355)
> > > >         at java.lang.Class.newInstance(Class.java:308)
> > > >         at org.apache.axis.encoding.ser.BeanDeserializer.
> > > > (BeanDeserializer.java:104)
> > > >         at org.apache.axis.encoding.ser.BeanDeserializer.
> > > > (BeanDeserializer.java:90)
> > > >         at com.google.api.adwords.v200906.ApiException.getDeserializer
> > > > (ApiException.java:142)
> > > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > >         at sun.reflect.NativeMethodAccessorImpl.invoke
> > > > (NativeMethodAccessorImpl.java:39)
> > > >         at sun.reflect.DelegatingMethodAccessorImpl.invoke
> > > > (DelegatingMethodAccessorImpl.java:25)
> > > >         at java.lang.reflect.Method.invoke(Method.java:597)
> > > >         at 
> > > > org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized
> > > > (BaseDeserializerFactory.java:154)
> > > >         at
> > > > org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs
> > > > (BaseDeserializerFactory.java:84)
> > > >         at 
> > > > org.apache.axis.encoding.DeserializationContext.getDeserializer
> > > > (DeserializationContext.java:464)
> > > >         at
> > > > org.apache.axis.encoding.DeserializationContext.getDeserializerForType
> > > > (DeserializationContext.java:547)
> > > >         at org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild
> > > > (SOAPFaultDetailsBuilder.java:157)
> > > >         at org.apache.axis.encoding.DeserializationContext.startElement
> > > > (DeserializationContext.java:1035)
> > > >         at
> > > > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement
> > > > (AbstractSAXParser.java:501)
> > > >         at
> > > > com.sun.org.apac

AdWords API Re: Error when running AddCampaignDemo for v2009 against the sandbox

2009-08-28 Thread Zachary Shaw

I think what gave me the worst problems was I am new to the the
Adwords API and the v2009 error messages didn't help.  It wasn't until
I tried to do the same thing in v13 that I saw the error messages
about a missing client.

On Aug 28, 5:21 pm, AdWords API Advisor 
wrote:
> Hi Zachary,
>
> I'm glad you were able to find the solution to your problem.  For the
> benefit of anyone else that may be running into similar issues,
> information on how to access the Sandbox environment can be found
> here:http://code.google.com/apis/adwords/docs/developer/adwords_api_sandbo
>
> Best,
> - Eric Koleda, AdWords API Team
>
> On Aug 28, 5:13 pm, Zachary Shaw  wrote:
>
> > After much head banging I figured out I needed a clientId and then
> > after much more head banging I figured out the clientId for the
> > sandbox was one of
> > client_x+emailaddress  where x = 1 through 5
>
> > On Aug 28, 12:00 pm, Zachary Shaw  wrote:
>
> > > I get an error when trying to go against the sandbox using the
> > > AddCampaignDemohttp://code.google.com/p/google-api-adwords-java/
> > > v5.1.0
>
> > > I'm not sure if it's a properties related issue. I have validated that
> > > my login credentials are correct by posting an incorrect password I
> > > get the "Could not get ClientLogin token for user." message.
>
> > > Any suggestions would be much appreciated.
>
> > > below are my properties:
>
> > > # clientId and useSandbox are optional and may be commented out.
> > > email=[what my email would be]
> > > password=[what my password should be]
> > > #clientId=INSERT_CLIENT_LOGIN_EMAIL_OR_ID_HERE
> > > useragent=FOO BAR
> > > developerToken=[what my email would be]++USD
> > > #applicationToken=INSERT_APPLICATION_TOKEN_HERE
> > > useSandbox=true
>
> > > Here is the error I get:
>
> > > AxisFault
> > >  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
> > >  faultSubcode:
> > >  faultString: InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @
> > >  faultActor:
> > >  faultNode:
> > >  faultDetail:
> > >         {https://adwords.google.com/api/adwords/cm/v200906}
> > > ApiExceptionFault:InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
> > > @ ApiException > > ApplicationException.Type>http://www.w3.org/2001/
> > > XMLSchema-instance" 
> > > xsi:type="InternalApiError">InternalAp
> > >  iError
> > > ApiError.Type>UNEXPECTED_INTERNAL_API_ERROR
>
> > > InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @
> > >         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> > > Method)
> > >         at sun.reflect.NativeConstructorAccessorImpl.newInstance
> > > (NativeConstructorAccessorImpl.java:39)
> > >         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance
> > > (DelegatingConstructorAccessorImpl.java:27)
> > >         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> > >         at java.lang.Class.newInstance0(Class.java:355)
> > >         at java.lang.Class.newInstance(Class.java:308)
> > >         at org.apache.axis.encoding.ser.BeanDeserializer.
> > > (BeanDeserializer.java:104)
> > >         at org.apache.axis.encoding.ser.BeanDeserializer.
> > > (BeanDeserializer.java:90)
> > >         at com.google.api.adwords.v200906.ApiException.getDeserializer
> > > (ApiException.java:142)
> > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >         at sun.reflect.NativeMethodAccessorImpl.invoke
> > > (NativeMethodAccessorImpl.java:39)
> > >         at sun.reflect.DelegatingMethodAccessorImpl.invoke
> > > (DelegatingMethodAccessorImpl.java:25)
> > >         at java.lang.reflect.Method.invoke(Method.java:597)
> > >         at 
> > > org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized
> > > (BaseDeserializerFactory.java:154)
> > >         at
> > > org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs
> > > (BaseDeserializerFactory.java:84)
> > >         at org.apache.axis.encoding.DeserializationContext.getDeserializer
> > > (DeserializationContext.java:464)
> > >         at
> > > org.apache.axis.encoding.DeserializationContext.getDeserializerForType
> > > (DeserializationContext.java:547)
> > >         at org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild
> > > (SOAPFaultDetailsBuilder.java:157)
> > >         at org.apache.axis.encoding.DeserializationContext.startElement
> > > (DeserializationContext.java:1035)
> > >         at
> > > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement
> > > (AbstractSAXParser.java:501)
> > >         at
> > > com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartE
> > >  lement
> > > (XMLNSDocumentScannerImpl.java:400)
> > >         at
> > > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl
> > > $FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2747)
> > >         at 
> > > com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next
> > > (XMLDocumentScannerImpl.java:648)
> > >         at
> > > com.sun.org.apa

AdWords API Re: CaptchaRequired Error

2009-08-28 Thread AdWords API Advisor

Hi Mauro,

The most likely cause of this error is that you are making too many
calls to the ClientLogin API ( 
http://code.google.com/apis/accounts/docs/AuthForInstalledApps.html
).  Are you using one of the AdWords API client libraries?  If so,
ensure you are only creating an AdWordsUser object once in the program
or script, as this will reduce the number of calls to the ClientLogin
API.

Best,
- Eric Koleda, AdWords API Team


On Aug 28, 10:31 am, Mauro  wrote:
> Hi there,
>
> Often when I excecute loop scripts (such as getting all the adgroups
> in every campaign), but sometimes on other cases, I get the
> CaptchaRequired authentication error and I have to manually unlock it.
> What are the reasons that cause this? Will this 'reasons' change on
> productive environment?
>
> Cheers,
>
> Mauro.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



AdWords API Re: Error when running AddCampaignDemo for v2009 against the sandbox

2009-08-28 Thread AdWords API Advisor

Hi Zachary,

I'm glad you were able to find the solution to your problem.  For the
benefit of anyone else that may be running into similar issues,
information on how to access the Sandbox environment can be found
here: 
http://code.google.com/apis/adwords/docs/developer/adwords_api_sandbox.html.

Best,
- Eric Koleda, AdWords API Team

On Aug 28, 5:13 pm, Zachary Shaw  wrote:
> After much head banging I figured out I needed a clientId and then
> after much more head banging I figured out the clientId for the
> sandbox was one of
> client_x+emailaddress  where x = 1 through 5
>
> On Aug 28, 12:00 pm, Zachary Shaw  wrote:
>
>
>
> > I get an error when trying to go against the sandbox using the
> > AddCampaignDemohttp://code.google.com/p/google-api-adwords-java/
> > v5.1.0
>
> > I'm not sure if it's a properties related issue. I have validated that
> > my login credentials are correct by posting an incorrect password I
> > get the "Could not get ClientLogin token for user." message.
>
> > Any suggestions would be much appreciated.
>
> > below are my properties:
>
> > # clientId and useSandbox are optional and may be commented out.
> > email=[what my email would be]
> > password=[what my password should be]
> > #clientId=INSERT_CLIENT_LOGIN_EMAIL_OR_ID_HERE
> > useragent=FOO BAR
> > developerToken=[what my email would be]++USD
> > #applicationToken=INSERT_APPLICATION_TOKEN_HERE
> > useSandbox=true
>
> > Here is the error I get:
>
> > AxisFault
> >  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
> >  faultSubcode:
> >  faultString: InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @
> >  faultActor:
> >  faultNode:
> >  faultDetail:
> >         {https://adwords.google.com/api/adwords/cm/v200906}
> > ApiExceptionFault:InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
> > @ ApiException > ApplicationException.Type>http://www.w3.org/2001/
> > XMLSchema-instance" 
> > xsi:type="InternalApiError">InternalAp 
> > iError
> > ApiError.Type>UNEXPECTED_INTERNAL_API_ERROR
>
> > InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @
> >         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> > Method)
> >         at sun.reflect.NativeConstructorAccessorImpl.newInstance
> > (NativeConstructorAccessorImpl.java:39)
> >         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance
> > (DelegatingConstructorAccessorImpl.java:27)
> >         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> >         at java.lang.Class.newInstance0(Class.java:355)
> >         at java.lang.Class.newInstance(Class.java:308)
> >         at org.apache.axis.encoding.ser.BeanDeserializer.
> > (BeanDeserializer.java:104)
> >         at org.apache.axis.encoding.ser.BeanDeserializer.
> > (BeanDeserializer.java:90)
> >         at com.google.api.adwords.v200906.ApiException.getDeserializer
> > (ApiException.java:142)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke
> > (NativeMethodAccessorImpl.java:39)
> >         at sun.reflect.DelegatingMethodAccessorImpl.invoke
> > (DelegatingMethodAccessorImpl.java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:597)
> >         at 
> > org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized
> > (BaseDeserializerFactory.java:154)
> >         at
> > org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs
> > (BaseDeserializerFactory.java:84)
> >         at org.apache.axis.encoding.DeserializationContext.getDeserializer
> > (DeserializationContext.java:464)
> >         at
> > org.apache.axis.encoding.DeserializationContext.getDeserializerForType
> > (DeserializationContext.java:547)
> >         at org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild
> > (SOAPFaultDetailsBuilder.java:157)
> >         at org.apache.axis.encoding.DeserializationContext.startElement
> > (DeserializationContext.java:1035)
> >         at
> > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement
> > (AbstractSAXParser.java:501)
> >         at
> > com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartE 
> > lement
> > (XMLNSDocumentScannerImpl.java:400)
> >         at
> > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl
> > $FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2747)
> >         at 
> > com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next
> > (XMLDocumentScannerImpl.java:648)
> >         at
> > com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next
> > (XMLNSDocumentScannerImpl.java:140)
> >         at
> > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scan 
> > Document
> > (XMLDocumentFragmentScannerImpl.java:510)
> >         at 
> > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
> > (XML11Configuration.java:807)
> >         at 
> > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
> > 

AdWords API Re: Error when running AddCampaignDemo for v2009 against the sandbox

2009-08-28 Thread Zachary Shaw

After much head banging I figured out I needed a clientId and then
after much more head banging I figured out the clientId for the
sandbox was one of
client_x+emailaddress  where x = 1 through 5


On Aug 28, 12:00 pm, Zachary Shaw  wrote:
> I get an error when trying to go against the sandbox using the
> AddCampaignDemohttp://code.google.com/p/google-api-adwords-java/
> v5.1.0
>
> I'm not sure if it's a properties related issue. I have validated that
> my login credentials are correct by posting an incorrect password I
> get the "Could not get ClientLogin token for user." message.
>
> Any suggestions would be much appreciated.
>
> below are my properties:
>
> # clientId and useSandbox are optional and may be commented out.
> email=[what my email would be]
> password=[what my password should be]
> #clientId=INSERT_CLIENT_LOGIN_EMAIL_OR_ID_HERE
> useragent=FOO BAR
> developerToken=[what my email would be]++USD
> #applicationToken=INSERT_APPLICATION_TOKEN_HERE
> useSandbox=true
>
> Here is the error I get:
>
> AxisFault
>  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
>  faultSubcode:
>  faultString: InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @
>  faultActor:
>  faultNode:
>  faultDetail:
>         {https://adwords.google.com/api/adwords/cm/v200906}
> ApiExceptionFault:InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
> @ ApiException ApplicationException.Type>http://www.w3.org/2001/
> XMLSchema-instance" 
> xsi:type="InternalApiError">InternalApiError
> ApiError.Type>UNEXPECTED_INTERNAL_API_ERROR
>
> InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance
> (NativeConstructorAccessorImpl.java:39)
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance
> (DelegatingConstructorAccessorImpl.java:27)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>         at java.lang.Class.newInstance0(Class.java:355)
>         at java.lang.Class.newInstance(Class.java:308)
>         at org.apache.axis.encoding.ser.BeanDeserializer.
> (BeanDeserializer.java:104)
>         at org.apache.axis.encoding.ser.BeanDeserializer.
> (BeanDeserializer.java:90)
>         at com.google.api.adwords.v200906.ApiException.getDeserializer
> (ApiException.java:142)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized
> (BaseDeserializerFactory.java:154)
>         at
> org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs
> (BaseDeserializerFactory.java:84)
>         at org.apache.axis.encoding.DeserializationContext.getDeserializer
> (DeserializationContext.java:464)
>         at
> org.apache.axis.encoding.DeserializationContext.getDeserializerForType
> (DeserializationContext.java:547)
>         at org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild
> (SOAPFaultDetailsBuilder.java:157)
>         at org.apache.axis.encoding.DeserializationContext.startElement
> (DeserializationContext.java:1035)
>         at
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement
> (AbstractSAXParser.java:501)
>         at
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement
> (XMLNSDocumentScannerImpl.java:400)
>         at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl
> $FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2747)
>         at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next
> (XMLDocumentScannerImpl.java:648)
>         at
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next
> (XMLNSDocumentScannerImpl.java:140)
>         at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument
> (XMLDocumentFragmentScannerImpl.java:510)
>         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
> (XML11Configuration.java:807)
>         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
> (XML11Configuration.java:737)
>         at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse
> (XMLParser.java:107)
>         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse
> (AbstractSAXParser.java:1205)
>         at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl
> $JAXPSAXParser.parse(SAXParserImpl.java:522)
>         at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
>         at org.apache.axis.encoding.DeserializationContext.parse
> (DeserializationContext.java:227)
>         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
>         at

AdWords API Re: Reporting: Placement by Creative?

2009-08-28 Thread AdWords API Advisor

Hi Dan,

Unfortunately it isn't possible to aggregate on creative for this type
report, and I don't believe any of the other reports will get you the
data you want.  I will make a note of this feature request and submit
it through the proper channels.

Best,
- Eric Koleda, AdWords API Team

On Aug 27, 7:59 pm, dkasak  wrote:
> Hi all.
>
> I'm looking at expanding our reporting capability of content traffic.
> The closest to what we want seems to 
> be:http://code.google.com/apis/adwords/docs/developer/adwords_api_report...
> - but this doesn't support aggregating by creative. Is there any way
> to get a report aggregating by creative, showing the placement
> domain / URL, for content impressions / clicks?
>
> Thanks :)
>
> Dan
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



AdWords API Re: Adding criteria to adgroup

2009-08-28 Thread AdWords API Advisor

Hi Harut,

Yes, keywords and placements can be added to the same ad group.  The
only requirement is that the campaign must target the content network
in order to add placements.

Best,
- Eric Koleda, AdWords API Team

On Aug 28, 1:26 am, Harutyun Terteryan  wrote:
> Hi all
>
> I wander can I add keyword and website criteria to the same adgorup, or
> there are some cases regarding campaign network targeting?
>
> Best
>
> Harut.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



AdWords API CaptchaRequired Error

2009-08-28 Thread Mauro

Hi there,

Often when I excecute loop scripts (such as getting all the adgroups
in every campaign), but sometimes on other cases, I get the
CaptchaRequired authentication error and I have to manually unlock it.
What are the reasons that cause this? Will this 'reasons' change on
productive environment?

Cheers,

Mauro.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



AdWords API campaign geo targetting

2009-08-28 Thread Sreenu Daram
Hi,

I am using java v200906 api.

In this api  , we can set country, city, Metro , province, Polygon,
Proximity level targeting  for campaign. 

 

I have countries, states/region, and cities level targets for my
campaigns.  I can map countries to country, City to City.

 

What is Metro targeting ? Is this  meant Region targeting ?

What is province targeting ..?

Could any please explain ..?

 

 

Thanks & Regards,

Sreenu Daram ,  Sr. Software Engineer

Cybage Software Pvt. Ltd. (An SEI-CMMI Level 5 assessed & ISO 27001
Company ),

Hyderabad, India

Phone(O) : 91-40-66294100 Ext:4047

Mobile:91-9949918983

 


"Legal Disclaimer: This electronic message and all contents contain information 
from Cybage Software Private Limited which may be privileged, confidential, or 
otherwise protected from disclosure. The information is intended to be for the 
addressee(s) only. If you are not an addressee, any disclosure, copy, 
distribution, or use of the contents of this message is strictly prohibited. If 
you have received this electronic message in error please notify the sender by 
reply e-mail to and destroy the original message and all copies. Cybage has 
taken every reasonable precaution to minimize the risk of malicious content in 
the mail, but is not liable for any damage you may sustain as a result of any 
malicious content in this e-mail. You should carry out your own malicious 
content checks before opening the e-mail or attachment."
www.cybage.com 



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