Hello, we encounter the same error, when trying to get details of the "LocationGroups" by passing the field "MatchingFunction" in the selector.
<soap:Header> <RequestHeader xmlns = "https://adwords.google.com/api/adwords/cm/v201402"> <developerToken xmlns = "https://adwords.google.com/api/adwords/cm/v201402">******</developerToken> <clientCustomerId xmlns = "https://adwords.google.com/api/adwords/cm/v201402">xxxxx</clientCustomerId> <userAgent xmlns = "https://adwords.google.com/api/adwords/cm/v201402">xxxxxx (AwApi-DotNet/16.7.0, Common-Dotnet/2.2.0, .NET CLR/2.0.50727.5477, gzip)</userAgent> </RequestHeader> </soap:Header> <soap:Body> <get xmlns = "https://adwords.google.com/api/adwords/cm/v201402"> <serviceSelector> <fields>Id</fields> <fields>CriteriaType</fields> <fields>MatchingFunction</fields> <predicates> <field>CampaignId</field> <operator>EQUALS</operator> <values>xxxxx</values> </predicates> <predicates> <field>CriteriaType</field> <operator>EQUALS</operator> <values>LOCATION_GROUPS</values> </predicates> <paging> <startIndex>0</startIndex> <numberResults>1000</numberResults> </paging> </serviceSelector> </get> </soap:Body> <soap:Header> <ResponseHeader xmlns = "https://adwords.google.com/api/adwords/cm/v201402"> <requestId>0004fc448422f9d80a809b056000a84a</requestId> <serviceName>CampaignCriterionService</serviceName> <methodName>get</methodName> <operations>0</operations> <responseTime>111</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@6c3f8760].</faultstring> </soap:Fault> </soap:Body> Thanks, Marc On Wednesday, June 18, 2014 7:42:39 PM UTC+2, Ray Tsang (AdWords API Team) wrote: > > Andreas, > > Thanks for confirming that there is no error when setting the start index > to 0. When selecting, please make sure the start index is within range. > The error needs to be updated on our side. Thanks for letting us know. > > Cheers, > > Ray > > On Wednesday, June 18, 2014 11:07:16 AM UTC-4, Ray Tsang (AdWords API > Team) wrote: >> >> Andreas, >> >> I also noticed that the start index is 1000. Could I trouble you to >> reduce the start index to 0 and potentially also reduce the page size to >> see if it would still result in the same error. >> >> Thanks, >> >> Ray >> >> On Tuesday, June 17, 2014 3:15:18 PM UTC-4, Ray Tsang (AdWords API Team) >> wrote: >>> >>> I'll also need the campaign Id as well. >>> >>> Thanks! >>> >>> On Tuesday, June 17, 2014 2:05:09 PM UTC-4, Ray Tsang (AdWords API Team) >>> wrote: >>>> >>>> Andreas, >>>> >>>> I'll take a look - could I trouble you to send me the CID and your MCC >>>> CID as well? >>>> >>>> Thanks, >>>> >>>> Ray >>>> >>>> On Tuesday, June 17, 2014 11:10:04 AM UTC-4, Andreas Weber wrote: >>>>> >>>>> 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 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 --- 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 adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.