Hi,
While generating MANAGED_PLACEMENTS_PERFORMANCE_REPORT using the
following
fields, the data in the PlacementUrl (xml attribute "placement" ) are
blank ("--").
Snippet:
report.reportType =
ReportDefinitionReportType.MANAGED_PLACEMENTS_PERFORMANCE_REPORT;
report.reportTypeSpecified = true;
report.dateRangeType =
ReportDefinitionDateRangeType.TODAY;
report.dateRangeTypeSpecified = true;
report.downloadFormat = DownloadFormat.GZIPPED_XML;
report.downloadFormatSpecified = true;
var selector = new Selector();
selector.fields = new string[]
{
"CampaignId", "Id",
"AdGroupId", "CriteriaDestinationUrl","PlacementUrl",
"IsNegative", "Status",
"MaxCpc", "MaxCpm",
"KeywordMatchType" // might be
used for docvertical
};
selector.predicates = new Predicate[2];
selector.predicates[0] = new Predicate();
selector.predicates[0].field = "Status";
selector.predicates[0].@operator =
PredicateOperator.NOT_EQUALS;
selector.predicates[0].operatorSpecified = true;
selector.predicates[0].values = new string[]
{ "DELETED" };
selector.predicates[1] = new Predicate();
selector.predicates[1].field = "IsNegative";
selector.predicates[1].@operator =
PredicateOperator.EQUALS;
selector.predicates[1].operatorSpecified = true;
selector.predicates[1].values = new string[] { "FALSE" };
Thx
Eric
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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