I'm having exactly the same problem as discussed in this previous
thread:
http://groups.google.com/group/adwords-api/msg/620c1aeb8c5c498c?hl=en&
I am doing what Jeff said in his last message in that thread, but I am
not getting any data back from the ReportService API. However, I can
run the same report in the Client Report web app and get all the
data. I am setting the startDayand endDay of the job to today's
date. Could that be the cause of the problem? I noticed that the
Client Report web app uses "Today" as the Date Range, but I don't see
a way to do that in the API.
This is how I am setting up the job:
job.name = "Keyword Stats:" + date.Date.ToShortDateString();
job.crossClient = true; // include all accounts in the report
job.startDay = date; // report is for one day
job.endDay = date;
job.selectedReportType = "Keyword";
job.aggregationTypes = new string[] { "Summary" };
job.selectedColumns = new string[] {
"Keyword",
"KeywordDestUrlDisplay",
"FirstPageCpc",
"QualityScore",
"MaximumCPC",
"MaxContentCPC",
"AdGroupMaxCpa",
"PreferredCPC",
"TopPosition",
"BottomPosition",
"Impressions",
"Clicks",
"Cost",
"AveragePosition"
};
And here's what I am getting back:
<?xml version="1.0" standalone="yes"?><report><table><columns><column
name="keyword"></column><column name="firstPageCpc"></column><column
name="qualityScore"></column><column name="maxCpc"></column><column
name="maxContentCpc"></column><column name="preferredCpc"></
column><column name="agMaxCpa"></column><column name="topPosition"></
column><column name="bottomPosition"></column><column
name="kwDestUrl"></column><column name="imps"></column><column
name="clicks"></column><column name="cost"></column><column
name="pos"></column></columns><rows></rows></table><totals><grandtotal
imps="0" clicks="0" cost="0" pos="0.0"></grandtotal></totals></report>
I'd like to do a SOAP trace, but I'm not sure how to do that. Any
pointers would be appreciated.
-Ken
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---