Re: Error retrieving KeywordPerformanceReport with predicate
Hi, The logs show that the error is due to having two values in your CampaignId predicate. The EQUALS operator only accepts one value, for multiple values use the IN operator instead. Best, - Eric On Dec 10, 7:54 pm, mm margaret.a.mar...@gmail.com wrote: Thanks Eric - I see the same result with SEARCH... as long as I include that predicate, I get an UnexpectedAPIError when I try to download the report. The report is created successfully, but no dice when I try to download it. Not sure it's helpful, but I'm attaching the soap response from the Add for the report... Thanks - mm ?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/ v201008 requestId0d6736d258d2aba8e6b9ca2612473d58/requestId operations1/operations responseTime366/responseTime units400/units /ResponseHeader /soap:Header soap:Body mutateResponse xmlns=https://adwords.google.com/api/adwords/cm/ v201008 rval id8669192/id selector fieldsDate/fields fieldsKeywordText/fields fieldsId/fields fieldsStatus/fields fieldsAdGroupName/fields fieldsAdGroupId/fields fieldsAdGroupStatus/fields fieldsCampaignName/fields fieldsCampaignId/fields fieldsCampaignStatus/fields fieldsMaxCpc/fields fieldsMaxCpm/fields fieldsClicks/fields fieldsClickType/fields fieldsImpressions/fields fieldsAveragePosition/fields fieldsCost/fields fieldsFirstPageCpc/fields fieldsDestinationUrl/fields fieldsKeywordMatchType/fields fieldsQualityScore/fields fieldsAdNetworkType1/fields fieldsAverageCpc/fields fieldsAverageCpm/fields fieldsConversions/fields fieldsConversionsManyPerClick/fields fieldsTotalConvValue/fields fieldsCtr/fields fieldsLeadCount/fields fieldsLeadValue/fields fieldsOtherConversionCount/fields fieldsOtherConversionValue/fields fieldsPageViewCount/fields fieldsPageViewValue/fields fieldsSalesCount/fields fieldsSalesValue/fields fieldsSignupCount/fields fieldsSignupValue/fields predicates fieldImpressions/field operatorGREATER_THAN/operator values0/values /predicates predicates fieldAdNetworkType1/field operatorEQUALS/operator valuesSEARCH/values /predicates predicates fieldCampaignId/field operatorEQUALS/operator values10131692/values values18843632/values /predicates dateRange min20101120/min
Re: Error retrieving KeywordPerformanceReport with predicate
Hi, The values of AdNetworkType1 as reported by getReportFields() are SEARCH and CONTENT. Although these values appear differently in the downloaded report, you must use these values in the predicate. See this blog post for more information about working with predicates: http://adwordsapi.blogspot.com/2010/12/harness-power-of-predicates-in-your.html Best, - Eric Koleda, AdWords API Team On Dec 9, 2:10 pm, mm margaret.a.mar...@gmail.com wrote: A small update - I've also requested it with the predicate AdNetworkType1=Search with the same result On Dec 9, 11:52 am, mm margaret.a.mar...@gmail.com wrote: Hey guys - I defined a V201008 KeywordPerformanceReport and all appeared good. Then I decided I would like to slim it down a bit and so I created a new definition (same set of fields) with a predicate limiting the network (AdNetworkType1=Search Network). After adding the Predicate, I get an InternalApiError.UNEXPECTED_INTERNAL_API_ERROR. Without the network predicate, but with another for Impressions0, the report runs successfully. Are all fields fair game to be used as part of a predicate, or only some? If only some, where can I find the list of valid fields to use? Thanks - Margaret -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
Re: Error retrieving KeywordPerformanceReport with predicate
Thanks Eric - I see the same result with SEARCH... as long as I include that predicate, I get an UnexpectedAPIError when I try to download the report. The report is created successfully, but no dice when I try to download it. Not sure it's helpful, but I'm attaching the soap response from the Add for the report... Thanks - mm ?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/ v201008 requestId0d6736d258d2aba8e6b9ca2612473d58/requestId operations1/operations responseTime366/responseTime units400/units /ResponseHeader /soap:Header soap:Body mutateResponse xmlns=https://adwords.google.com/api/adwords/cm/ v201008 rval id8669192/id selector fieldsDate/fields fieldsKeywordText/fields fieldsId/fields fieldsStatus/fields fieldsAdGroupName/fields fieldsAdGroupId/fields fieldsAdGroupStatus/fields fieldsCampaignName/fields fieldsCampaignId/fields fieldsCampaignStatus/fields fieldsMaxCpc/fields fieldsMaxCpm/fields fieldsClicks/fields fieldsClickType/fields fieldsImpressions/fields fieldsAveragePosition/fields fieldsCost/fields fieldsFirstPageCpc/fields fieldsDestinationUrl/fields fieldsKeywordMatchType/fields fieldsQualityScore/fields fieldsAdNetworkType1/fields fieldsAverageCpc/fields fieldsAverageCpm/fields fieldsConversions/fields fieldsConversionsManyPerClick/fields fieldsTotalConvValue/fields fieldsCtr/fields fieldsLeadCount/fields fieldsLeadValue/fields fieldsOtherConversionCount/fields fieldsOtherConversionValue/fields fieldsPageViewCount/fields fieldsPageViewValue/fields fieldsSalesCount/fields fieldsSalesValue/fields fieldsSignupCount/fields fieldsSignupValue/fields predicates fieldImpressions/field operatorGREATER_THAN/operator values0/values /predicates predicates fieldAdNetworkType1/field operatorEQUALS/operator valuesSEARCH/values /predicates predicates fieldCampaignId/field operatorEQUALS/operator values10131692/values values18843632/values /predicates dateRange min20101120/min max20101210/max /dateRange /selector reportNameDaily Keyword Performance Report - 2010-11-20 thru 2010-12-10/reportName
Error retrieving KeywordPerformanceReport with predicate
Hey guys - I defined a V201008 KeywordPerformanceReport and all appeared good. Then I decided I would like to slim it down a bit and so I created a new definition (same set of fields) with a predicate limiting the network (AdNetworkType1=Search Network). After adding the Predicate, I get an InternalApiError.UNEXPECTED_INTERNAL_API_ERROR. Without the network predicate, but with another for Impressions0, the report runs successfully. Are all fields fair game to be used as part of a predicate, or only some? If only some, where can I find the list of valid fields to use? Thanks - Margaret -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
Re: Error retrieving KeywordPerformanceReport with predicate
A small update - I've also requested it with the predicate AdNetworkType1=Search with the same result On Dec 9, 11:52 am, mm margaret.a.mar...@gmail.com wrote: Hey guys - I defined a V201008 KeywordPerformanceReport and all appeared good. Then I decided I would like to slim it down a bit and so I created a new definition (same set of fields) with a predicate limiting the network (AdNetworkType1=Search Network). After adding the Predicate, I get an InternalApiError.UNEXPECTED_INTERNAL_API_ERROR. Without the network predicate, but with another for Impressions0, the report runs successfully. Are all fields fair game to be used as part of a predicate, or only some? If only some, where can I find the list of valid fields to use? Thanks - Margaret -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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