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 <[email protected]> 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">
>                         
> <requestId>0d6736d258d2aba8e6b9ca2612473d58</requestId>
>                         <operations>1</operations>
>                         <responseTime>366</responseTime>
>                         <units>400</units>
>                 </ResponseHeader>
>         </soap:Header>
>         <soap:Body>
>                 <mutateResponse 
> xmlns="https://adwords.google.com/api/adwords/cm/
> v201008">
>                         <rval>
>                                 <id>8669192</id>
>                                 <selector>
>                                         <fields>Date</fields>
>                                         <fields>KeywordText</fields>
>                                         <fields>Id</fields>
>                                         <fields>Status</fields>
>                                         <fields>AdGroupName</fields>
>                                         <fields>AdGroupId</fields>
>                                         <fields>AdGroupStatus</fields>
>                                         <fields>CampaignName</fields>
>                                         <fields>CampaignId</fields>
>                                         <fields>CampaignStatus</fields>
>                                         <fields>MaxCpc</fields>
>                                         <fields>MaxCpm</fields>
>                                         <fields>Clicks</fields>
>                                         <fields>ClickType</fields>
>                                         <fields>Impressions</fields>
>                                         <fields>AveragePosition</fields>
>                                         <fields>Cost</fields>
>                                         <fields>FirstPageCpc</fields>
>                                         <fields>DestinationUrl</fields>
>                                         <fields>KeywordMatchType</fields>
>                                         <fields>QualityScore</fields>
>                                         <fields>AdNetworkType1</fields>
>                                         <fields>AverageCpc</fields>
>                                         <fields>AverageCpm</fields>
>                                         <fields>Conversions</fields>
>                                         
> <fields>ConversionsManyPerClick</fields>
>                                         <fields>TotalConvValue</fields>
>                                         <fields>Ctr</fields>
>                                         <fields>LeadCount</fields>
>                                         <fields>LeadValue</fields>
>                                         <fields>OtherConversionCount</fields>
>                                         <fields>OtherConversionValue</fields>
>                                         <fields>PageViewCount</fields>
>                                         <fields>PageViewValue</fields>
>                                         <fields>SalesCount</fields>
>                                         <fields>SalesValue</fields>
>                                         <fields>SignupCount</fields>
>                                         <fields>SignupValue</fields>
>                                         <predicates>
>                                                 <field>Impressions</field>
>                                                 
> <operator>GREATER_THAN</operator>
>                                                 <values>0</values>
>                                         </predicates>
>                                         <predicates>
>                                                 <field>AdNetworkType1</field>
>                                                 <operator>EQUALS</operator>
>                                                 <values>SEARCH</values>
>                                         </predicates>
>                                         <predicates>
>                                                 <field>CampaignId</field>
>                                                 <operator>EQUALS</operator>
>                                                 <values>10131692</values>
>                                                 <values>18843632</values>
>                                         </predicates>
>                                         <dateRange>
>                                                 <min>20101120</min>
>                                                 <max>20101210</max>
>                                         </dateRange>
>                                 </selector>
>                                 <reportName>Daily Keyword Performance Report 
> - 2010-11-20
>                                         thru 2010-12-10</reportName>
>                                 
> <reportType>KEYWORDS_PERFORMANCE_REPORT</reportType>
>                                 <hasAttachment>false</hasAttachment>
>                                 <dateRangeType>CUSTOM_DATE</dateRangeType>
>                                 <downloadFormat>GZIPPED_CSV</downloadFormat>
>                                 <creationTime>20101210 164630 
> America/Los_Angeles</creationTime>
>                         </rval>
>                 </mutateResponse>
>         </soap:Body>
> </soap:Envelope>
>
> On Dec 10, 5:31 pm, AdWords API Advisor <[email protected]>
> wrote:
>
>
>
>
>
>
>
> > 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...
>
> > Best,
> > - Eric Koleda, AdWords API Team
>
> > On Dec 9, 2:10 pm, mm <[email protected]> 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 <[email protected]> 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 Impressions>0, 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 [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

Reply via email to