Hi Eric!!Look what I found!!!!
[29 Out 2009 18:05:25,101 - DEBUG]
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/
envelope/"><soap:Header>
<ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/
v200909">
<requestId>0895006c6f0c52ea1d74b6647dadc9d3</requestId>
<operations>1</operations>
<responseTime>299</responseTime>
<units>1</units>
</ResponseHeader></soap:Header>
<soap:Body><soap:Fault><faultcode>soap:Server</
faultcode><faultstring>InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
@ </faultstring><detail><ApiExceptionFault xmlns="https://
adwords.google.com/api/adwords/cm/
v200909"><message>InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ </
message><ApplicationException.Type>ApiException</
ApplicationException.Type><errors xsi:type="InternalApiError"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><fieldPath/
><trigger/><ApiError.Type>InternalApiError</
ApiError.Type><reason>UNEXPECTED_INTERNAL_API_ERROR</reason></errors></
ApiExceptionFault></detail></soap:Fault></soap:Body></soap:Envelope>

Is that good for u???
Luck me!!!Please, help me with that...TKS!


On 29 out, 17:36, Inah from Brazil <inahmart...@gmail.com> wrote:
> Unfortunately I don t have de ID..everything I have I showed here....I
> got this error on my Console(StackTrace)...there's any way to see my
> envelop SOAP in xml anywhere?
> But my team used my Main Class in other computer and they r connecting
> with no problems at all....strange isn't?
> I tried something with our support but they dont have any clues
> too....
> Any ideas Eric?
> TKS for your att!
> On 29 out, 17:09, AdWords API Advisor <adwordsapiadvi...@google.com>
> wrote:
>
> > Hi,
>
> > This appears to be an internal error in the AdWords system.  Do you
> > have the request ID for this request?
>
> > Best,
> > - Eric
>
> > On Oct 29, 2:49 pm, Inah from Brazil <inahmart...@gmail.com> wrote:
>
> > > Hi Eric! Thanks for your answer!
> > > I understood now how it works!TKS!
> > > But now I tryin to add campaigns and I gettin another error...
>
> > > 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/v200909}
> > > ApiExceptionFault:<message>InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
> > > @ </message><ApplicationException.Type>ApiException</
> > > ApplicationException.Type><errors xmlns:xsi="http://www.w3.org/2001/
> > > XMLSchema-instance" 
> > > xsi:type="InternalApiError"><fieldPath/><trigger/><ApiError.Type>InternalApiError</
>
> > > ApiError.Type><reason>UNEXPECTED_INTERNAL_API_ERROR</reason></errors>
>
> > > InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @
> > >         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> > > Method)
> > >         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
> > > Source)
> > >         at 
> > > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
> > > Source)
> > >         at java.lang.reflect.Constructor.newInstance(Unknown Source)
> > >         at java.lang.Class.newInstance0(Unknown Source)
> > >         at java.lang.Class.newInstance(Unknown Source)
> > >         at org.apache.axis.encoding.ser.BeanDeserializer.<init>
> > > (BeanDeserializer.java:104)
> > >         at org.apache.axis.encoding.ser.BeanDeserializer.<init>
> > > (BeanDeserializer.java:90)
> > >         at com.google.api.adwords.v200909.cm.ApiException.getDeserializer
> > > (ApiException.java:142)
> > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> > >         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> > >         at java.lang.reflect.Method.invoke(Unknown Source)
> > >         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
> > > (Unknown Source)
> > >         at
> > > com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartE
> > >  lement
> > > (Unknown Source)
> > >         at
> > > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl
> > > $FragmentContentDriver.next(Unknown Source)
> > >         at 
> > > com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next
> > > (Unknown Source)
> > >         at
> > > com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next
> > > (Unknown Source)
> > >         at
> > > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scan
> > >  Document
> > > (Unknown Source)
> > >         at 
> > > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
> > > (Unknown Source)
> > >         at 
> > > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
> > > (Unknown Source)
> > >         at 
> > > com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown
> > > Source)
> > >         at 
> > > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse
> > > (Unknown Source)
> > >         at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl
> > > $JAXPSAXParser.parse(Unknown Source)
> > >         at javax.xml.parsers.SAXParser.parse(Unknown Source)
> > >         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:2366)
> > >         at org.apache.axis.client.Call.invoke(Call.java:1812)
> > >         at
> > > com.google.api.adwords.v200909.cm.CampaignServiceSoapBindingStub.mutate
> > > (CampaignServiceSoapBindingStub.java:964)
> > >         at 
> > > br.com.webtraffic.bid.sponsor2009.sponsor.google.CampaignMain.main
> > > (CampaignMain.java:65)
>
> > > Could u help me with this too?
> > > TKS!
>
> > > On 29 out, 12:26, AdWords API Advisor <adwordsapiadvi...@google.com>
> > > wrote:
>
> > > > Hi,
>
> > > > The CampaignTargetService is what you would use to set these targets
> > > > in v200909.  There is an example of how to use this service in .NET
> > > > here:http://code.google.com/p/google-api-adwords-dotnet/source/browse/trun....
>
> > > > Best,
> > > > - Eric Koleda, AdWords API Team
>
> > > > On Oct 28, 2:54 pm, Inah from Brazil <inahmart...@gmail.com> wrote:
>
> > > > > Hi!
> > > > > Im migratting from v13 to v2009 and I tryin'to addCampaign.
> > > > > Until now my method looks like:
>
> > > > > public SponsorResponse addCampaign(Campaign campaign, Boolean save) {
> > > > >                 SponsorResponse response = null;
> > > > >                 com.google.api.adwords.v200909.cm.Campaign 
> > > > > campaign2009 = new
> > > > > com.google.api.adwords.v200909.cm.Campaign();
> > > > >                 CampaignServiceInterface campaignService = null;
>
> > > > >                 try {
> > > > >                         campaignService = user.getService
> > > > > (AdWordsService.V200909.CAMPAIGN_SERVICE);
> > > > >                 } catch (ServiceException e) {
> > > > >                         response = new SponsorResponse(false, 
> > > > > e.getMessage(), campaign);
> > > > >                 }
> > > > >                 CampaignOperation operation = new CampaignOperation();
> > > > >               operation.setOperand(campaign2009);
> > > > >               operation.setOperator(Operator.ADD);
> > > > >             try {
> > > > >                 campaign2009.setName(campaign.getName());
> > > > >                 
> > > > > campaign2009.setStartDate(campaign.getStartDate().toString());
> > > > >                 
> > > > > campaign2009.setEndDate(campaign.getEndDate().toString());
> > > > >                 
> > > > > campaign2009.setStatus(utils.convertGoogleCampaignStatus
> > > > > (campaign.getStatus()));
> > > > >                 if(campaign.getOptimized().equals("T")){
> > > > >                         campaign2009.setAdServingOptimizationStatus
> > > > > (AdServingOptimizationStatus.OPTIMIZE);
> > > > >                 }else{
> > > > >                         campaign2009.setAdServingOptimizationStatus
> > > > > (AdServingOptimizationStatus.ROTATE);
> > > > >                 }
> > > > >                 campaignService.mutate((new 
> > > > > CampaignOperation[]{operation}));
> > > > >                 
> > > > > campaign.setCampaignCode((String.valueOf(campaign2009.getId
> > > > > ())));
>
> > > > >                 } catch (ApiException e) {
> > > > >                         response = new SponsorResponse(false, 
> > > > > auxiliar.dumpErrors(e),
> > > > > campaign);
> > > > >             return response;
> > > > >                 } catch (Exception e) {
> > > > >                         response = new SponsorResponse(false, 
> > > > > e.getMessage(), campaign);
> > > > >                         return response;
> > > > >                 }
>
> > > > >                 return response;
> > > > >         }
>
> > > > > I tryin to set the NetworkTarget, GeoTarget,  RegionTargets,
> > > > > CountryTargets and Language. In v13 my code looks like:
>
> > > > >  List<Net> nets = wizardCampaignDTO.getNet();
> > > > >         if (nets != null && nets.size() > 0) {
> > > > >             NetworkType[] nt = new NetworkType[nets.size()];
> > > > >             for (int i = 0; i < nets.size(); i++) {
> > > > >                 try {
> > > > >                     nt[i] = 
> > > > > NetworkType.fromString(nets.get(i).getValue
> > > > > ());
> > > > >                 } catch (Exception e) {
> > > > >                     e.printStackTrace();
> > > > >                 }
> > > > >             }
> > > > >             c.setNetworkTargeting(nt);
>
> ...
>
> mais »
--~--~---------~--~----~------------~-------~--~----~
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