Hi,
Is it possible to schedule a structure report with more than 1
aggregation type? The documentation seems to say that we can do it:
Choose an aggregationTypes value--*a set of one or more aggregation
types*--to see the corresponding list of required and optional
columns.
This is the report I want to schedule:
DefinedReportJob job = new DefinedReportJob();
job.setName("Account_Structure_Report");
job.setStartDay(new ReportDate(2010, 1 - 1, 18).toDate()); // not
sure why this field is required
job.setEndDay(new ReportDate(2036, 12 - 1, 31).toDate()); // not
sure why this field is required
job.setSelectedReportType("Structure");
job.setAggregationTypes(new String[] { "Campaign", "AdGroup",
"Creative", "Keyword" });
job.setSelectedColumns(new String[] { "CampaignId",
"CampaignStatus",
"Campaign",
"AdGroupId",
"AdGroupStatus",
"AdGroup",
"CreativeId",
"CreativeType",
"AdStatus",
"DescriptionLine1",
"DescriptionLine2",
"DescriptionLine3",
"VisibleUrl",
"CreativeDestUrl",
"KeywordId",
"KeywordIsNegative",
"KeywordTypeDisplay",
"KeywordStatus",
"Keyword" });
However, when I try to validate this job with a production account
using Java client library, it throws an exception:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}
Server.generalException
faultSubcode:
faultString: An internal error has occurred. Please retry your
request.
faultActor:
faultNode:
faultDetail:
{https://adwords.google.com/api/adwords/v13}fault:
<ns1:code>0</ns1:code>
<ns1:message>An internal error has occurred. Please retry your
request.</ns1:message>
Please help,
Kevin
--
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.