Hi,

There is another thread on this topic from March that is worth reading
over: 
http://groups.google.com/group/adwords-api/browse_thread/thread/701960571e704b7f.
Basically all reports should be returning kwSite now, but it looks
like that might not be the case.  I will reach out to the reports team
again and let them know that this issue is still outstanding.  In
general most developers have been catching all three variants of the
names just in case, but I understand how this is inconvienient.

Best,
- Eric Koleda, AdWords API Team



On Sep 14, 1:02 pm, searchengineapi
<[email protected]> wrote:
> When I submit the same Creative Report request for two different
> accounts I get two different sets of columns for keyword, kwType, and
> kwStatus.  What the heck?   Without changing the requested report
> fields, for some accounts I get this in the xml:
>
>      keyword="Diwali" kwType="Broad" kwStatus="Active"
>
> and for other accounts I get this:
>
>      kwSite="Pepper Spray" kwSiteType="Broad" siteKwStatus="Active"
>
> I can create code on my side to handle this, but I shouldn't have to.
> Am I doing something wrong?  Is there some account configuration that
> I'm not aware of that could be causing this?  Here is my code
> (abridged - removed exception handling, etc):
>
> String[] reportFields = new String[]{"Campaign", "CampaignId",
> "CampaignStatus", "AdGroup", "AdGroupId", "AdGroupStatus",
> "CreativeId", "AdStatus", "CreativeType","CreativeDestUrl",
> "DescriptionLine1", "DescriptionLine2", "DescriptionLine3",
> "VisibleUrl","FirstPageCpc","MaximumCPC",
> "QualityScore","DailyBudget", "Impressions", "AveragePosition",
> "Clicks", "CTR", "Cost", "CPM", "CPC", "Keyword", "KeywordId",
> "KeywordTypeDisplay", "KeywordStatus"};
>
>         DefinedReportJob job = new DefinedReportJob();
>
>         job.setSelectedReportType("Creative");
>         job.setAggregationTypes(new String[]{"Daily"});
>         job.setStartDay(start);
>         job.setEndDay(end);
>         job.setName(reportName);
>         job.setSelectedColumns(reportFields);
>         job.setIncludeZeroImpression(Boolean.TRUE);
>         job.setClientEmails(new String[]{accountID});
>         job.setAdWordsType(AdWordsType.SearchOnly);
>         Long jobId = null;
>         ReportInterface reportService = getReportService(jobId, u);
>         reportService.validateReportJob(job);
>         jobId = reportService.scheduleReportJob(job);
--~--~---------~--~----~------------~-------~--~----~
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