Hi folks, while trying to fetch all campaign criteria for a certain campaign we've encountered an internal server error.
<SOAP-ENV:Envelope >> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" > > >> xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201402"> > > <SOAP-ENV:Header> > > <ns1:RequestHeader> > > <ns1:clientCustomerId>XXX</ns1:clientCustomerId> > > <ns1:developerToken>XXX</ns1:developerToken> > > <ns1:userAgent>XXX-2013-php-4.6.1 (AwApi-PHP/5.2.3, >> Common-PHP/5.2.3, PHP/5.4.9-4ubuntu2.4) > > </ns1:userAgent> > > </ns1:RequestHeader> > > </SOAP-ENV:Header> > > <SOAP-ENV:Body> > > <ns1:get> > > <ns1:serviceSelector> > > <ns1:fields>Address</ns1:fields> > > <ns1:fields>AgeRangeType</ns1:fields> > > <ns1:fields>Argument</ns1:fields> > > <ns1:fields>BidModifier</ns1:fields> > > <ns1:fields>CampaignId</ns1:fields> > > <ns1:fields>CarrierCountryCode</ns1:fields> > > <ns1:fields>CarrierName</ns1:fields> > > <ns1:fields>ContentLabelType</ns1:fields> > > <ns1:fields>CriteriaType</ns1:fields> > > <ns1:fields>DayOfWeek</ns1:fields> > > <ns1:fields>DeviceName</ns1:fields> > > <ns1:fields>DeviceType</ns1:fields> > > <ns1:fields>Dimensions</ns1:fields> > > <ns1:fields>DisplayName</ns1:fields> > > <ns1:fields>DisplayType</ns1:fields> > > <ns1:fields>EndHour</ns1:fields> > > <ns1:fields>EndMinute</ns1:fields> > > <ns1:fields>GenderType</ns1:fields> > > <ns1:fields>GeoPoint</ns1:fields> > > <ns1:fields>Id</ns1:fields> > > <ns1:fields>IsNegative</ns1:fields> > > <ns1:fields>KeywordMatchType</ns1:fields> > > <ns1:fields>KeywordText</ns1:fields> > > <ns1:fields>LanguageCode</ns1:fields> > > <ns1:fields>LanguageName</ns1:fields> > > <ns1:fields>LocationName</ns1:fields> > > <ns1:fields>ManufacturerName</ns1:fields> > > <ns1:fields>MatchingFunction</ns1:fields> > > <ns1:fields>MobileAppCategoryId</ns1:fields> > > <ns1:fields>Operand</ns1:fields> > > <ns1:fields>OperatingSystemName</ns1:fields> > > <ns1:fields>OperatorType</ns1:fields> > > <ns1:fields>OsMajorVersion</ns1:fields> > > <ns1:fields>OsMinorVersion</ns1:fields> > > <ns1:fields>ParentLocations</ns1:fields> > > <ns1:fields>Path</ns1:fields> > > <ns1:fields>PlacementUrl</ns1:fields> > > <ns1:fields>PlatformName</ns1:fields> > > <ns1:fields>RadiusDistanceUnits</ns1:fields> > > <ns1:fields>RadiusInUnits</ns1:fields> > > <ns1:fields>StartHour</ns1:fields> > > <ns1:fields>StartMinute</ns1:fields> > > <ns1:fields>TargetingStatus</ns1:fields> > > <ns1:fields>Text</ns1:fields> > > <ns1:fields>UserInterestId</ns1:fields> > > <ns1:fields>UserInterestName</ns1:fields> > > <ns1:fields>UserListId</ns1:fields> > > <ns1:fields>UserListMembershipStatus</ns1:fields> > > <ns1:fields>UserListName</ns1:fields> > > <ns1:fields>VerticalId</ns1:fields> > > <ns1:fields>VerticalParentId</ns1:fields> > > <ns1:predicates> > > <ns1:field>CampaignId</ns1:field> > > <ns1:operator>EQUALS</ns1:operator> > > <ns1:values>XXX</ns1:values> > > </ns1:predicates> > > <ns1:paging> > > <ns1:startIndex>1000</ns1:startIndex> > > <ns1:numberResults>1000</ns1:numberResults> > > </ns1:paging> > > </ns1:serviceSelector> > > </ns1:get> > > </SOAP-ENV:Body> > > </SOAP-ENV:Envelope> > > > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <ResponseHeader > xmlns="https://adwords.google.com/api/adwords/cm/v201402"> <requestId>0004fc095ff343f00aec56aaa40016dc</requestId> <serviceName>CampaignCriterionService</serviceName> <methodName>get</methodName> <operations>0</operations> <responseTime>504</responseTime> </ResponseHeader> </soap:Header> <soap:Body> <soap:Fault> <faultcode>soap:Server</faultcode> <faultstring>Cannot construct an instance of > com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v201402.jaxbgen.FunctionArgumentOperand because it is abstract. You are probably missing an @Uses > annotation while invoking public abstract > com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v201402.jaxbgen.CampaignCriterionPage > com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v201402.jaxbgen.CampaignCriterionServiceInterface.get(com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v201402.jaxbgen.Selector) throws > com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v201402.jaxbgen.ApiException_Exception with params > [com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v201402.jaxbgen.Selector@68406729]. </faultstring> </soap:Fault> </soap:Body> </soap:Envelope> POST /api/adwords/cm/v201402/CampaignCriterionService?access_token=XXX > HTTP/1.1 Host: adwords.google.com Connection: Keep-Alive User-Agent: PHP-SOAP/5.4.9-4ubuntu2.4, gzip Accept-Encoding: gzip, deflate Content-Encoding: gzip Content-Type: text/xml; charset=utf-8 SOAPAction: "" Content-Length: 870 > > HTTP/1.1 500 Internal Server Error Content-Type: text/xml; charset=UTF-8 Content-Encoding: gzip Date: Tue, 17 Jun 2014 14:58:22 GMT Expires: Tue, 17 Jun 2014 14:58:22 GMT Cache-Control: private, max-age=0 X-Content-Type-Options: nosniff X-Frame-Options: SAMEORIGIN X-XSS-Protection: 1; mode=block Content-Length: 506 Server: GSE If you need more information, we can provide the used ids. Thank you in advance, Andy -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
