Yep. Thanks! I love consistency. ;)

On Aug 30, 10:22 pm, AdWords API Advisor
<[email protected]> wrote:
> Hi,
>
> The AdWords team updated me that you are providing "ACTIVE" as the
> filter value for AdGroupAd status. The valid values are ENABLED,
> PAUSED and DISABLED. Can you confirm if this is the case?
>
> Cheers,
> Anash P. Oommen,
> AdWords API Advisor.
>
> On Aug 30, 3:13 pm, AdWords API Advisor <[email protected]>
> wrote:
>
>
>
> > Hi,
>
> > I'll check with the AdWords team today and update you once I hear from
> > them.
>
> > Cheers,
> > Anash P. Oommen,
> > AdWords API Advisor.
>
> > On Aug 28, 3:21 am, jhgd <[email protected]> wrote:
>
> > > I have a report definition for Ad Performance that I'm unable to
> > > download. I'm unsure of what predicate to use, but I've tried both
> > > AdGroupId and CampaignId with an IN operator, to no avail, but I'm not
> > > sure that's even the issue.
>
> > > I'm using the C# client lib and v201003.
>
> > >                         var selector = new Selector
> > >                         {
> > >                                 fields = new[] {
> > >                                         "Id",
> > >                                         "Status",
> > >                                         "AdGroupId",
> > >                                         "Url",
> > >                                         "Headline",
> > >                                         "Description1",
> > >                                         "Description2",
> > >                                         "DisplayUrl",
> > >                                         "Cost",
> > >                                         "AverageCpc",
> > >                                         "Clicks",
> > >                                         "Impressions",
> > >                                         "Ctr"
> > >                                 },
> > >                                 predicates = new[] { predicate, 
> > > activePredicate },
> > >                                 dateRange = new DateRange
> > >                                 {
> > >                                         max = 
> > > GetFormattedDate(DateTime.Today),
> > >                                         min = 
> > > GetFormattedDate(DateTime.Today.AddDays(-1))
> > >                                 }
> > >                         };
>
> > >                         var report = new ReportDefinition
> > >                         {
> > >                                 reportName = "Ad performance report #" + 
> > > GetTimeStamp(),
> > >                                 downloadFormat = DownloadFormat.XML,
> > >                                 downloadFormatSpecified = true,
> > >                                 reportType = 
> > > ReportDefinitionReportType.AD_PERFORMANCE_REPORT,
> > >                                 reportTypeSpecified = true,
> > >                                 dateRangeType = 
> > > ReportDefinitionDateRangeType.YESTERDAY,
> > >                                 dateRangeTypeSpecified = true,
> > >                                 selector = selector
> > >                         };
>
> > > I use the ReportUtilities' DownloadReportDefinition to get the latest
> > > report. I've also tried different formats, XML and GZIPPED_CSV. Nada.
>
> > > Here is the log:
>
> > > Request
> > > -------
>
> > > POST /api/adwords/cm/v201003/ReportDefinitionService
> > > User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client
> > > Protocol 4.0.30319.1)
> > > VsDebuggerCausalityData: uIDPo3Zq+4BWUjJNl9Om/2Dy2tkAAAAA5i1JbJ60/
> > > kyEiklSR6hAqmIoWWg00ktNjM+nwaDa+DcACQAA
> > > Content-Type: text/xml; charset=utf-8
> > > SOAPAction: ""
> > > Host: adwords.google.com
> > > Content-Length: 807
> > > Accept-Encoding: gzip
>
> > > <?xml version="1.0" encoding="utf-8"?><soap:Envelope
> > > xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";
> > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> > > xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
> > >   <soap:Header>
> > >     <RequestHeader xmlns="https://adwords.google.com/api/adwords/cm/
> > > v201003">
> > >       <authToken>********</authToken>
> > >       <clientEmail>[email protected]</clientEmail>
> > >       <developerToken>********7hlg</developerToken>
> > >     </RequestHeader>
> > >   </soap:Header>
> > >   <soap:Body>
> > >     <get xmlns="https://adwords.google.com/api/adwords/cm/v201003";>
> > >       <selector />
> > >     </get>
> > >   </soap:Body>
> > > </soap:Envelope>
>
> > > Response
> > > --------
>
> > > SOAPAction: ""
> > > Content-Encoding:
> > > Transfer-Encoding: chunked
> > > X-Content-Type-Options: nosniff
> > > X-Frame-Options: SAMEORIGIN
> > > X-XSS-Protection: 1; mode=block
> > > Cache-Control: private, max-age=0
> > > Content-Type: text/xml; charset=UTF-8
> > > Date: Fri, 27 Aug 2010 21:26:55 GMT
> > > Expires: Fri, 27 Aug 2010 21:26:55 GMT
> > > Server: GSE
>
> > > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
> > >   <soap:Header>
> > >     <ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/
> > > v201003">
> > >       <requestId>de0a22ef00d5efb90f8b111849baca22</requestId>
> > >       <operations>1</operations>
> > >       <responseTime>649</responseTime>
> > >       <units>1</units>
> > >     </ResponseHeader>
> > >   </soap:Header>
> > >   <soap:Body>
> > >     <getResponse xmlns="https://adwords.google.com/api/adwords/cm/
> > > v201003">
> > >       <rval>
> > >         <entries>
> > >           <id>1209103</id>
> > >           <selector>
> > >             <fields>Id</fields>
> > >             <fields>Status</fields>
> > >             <fields>AdGroupId</fields>
> > >             <fields>Url</fields>
> > >             <fields>Headline</fields>
> > >             <fields>Description1</fields>
> > >             <fields>Description2</fields>
> > >             <fields>DisplayUrl</fields>
> > >             <fields>Cost</fields>
> > >             <fields>AverageCpc</fields>
> > >             <fields>Clicks</fields>
> > >             <fields>Impressions</fields>
> > >             <fields>Ctr</fields>
> > >             <predicates>
> > >               <field>CampaignId</field>
> > >               <operator>IN</operator>
> > >               <values>59387023</values>
> > >               <values>59541343</values>
> > >               <values>59689663</values>
> > >               <values>60034183</values>
> > >               <values>60105583</values>
> > >               <values>60116383</values>
> > >             </predicates>
> > >             <predicates>
> > >               <field>Status</field>
> > >               <operator>EQUALS</operator>
> > >               <values>ACTIVE</values>
> > >             </predicates>
> > >             <dateRange>
> > >               <min>20100826</min>
> > >               <max>20100827</max>
> > >             </dateRange>
> > >           </selector>
> > >           <reportName>Ad performance report #129274179935704142</
> > > reportName>
> > >           <reportType>AD_PERFORMANCE_REPORT</reportType>
> > >           <hasAttachment>false</hasAttachment>
> > >           <dateRangeType>YESTERDAY</dateRangeType>
> > >           <downloadFormat>XML</downloadFormat>
> > >           <creationTime>20100827 142633 America/Los_Angeles</
> > > creationTime>
> > >         </entries>
> > >         <totalNumEntries>1</totalNumEntries>
> > >       </rval>
> > >     </getResponse>
> > >   </soap:Body>
> > > </soap:Envelope>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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