INVALID_PREDICATE_FIELD_NAME

20 views
Skip to first unread message

Ns sh

unread,
Nov 16, 2018, 5:38:45 AM11/16/18
to AdWords API and Google Ads API Forum
Hi,
I got an error "INVALID_PREDICATE_FIELD_NAME" when I was trying to download gezipped XML Adwords data for uploading to the our server.
Dim query1 As ReportQuery = New ReportQueryBuilder() _
.Select("AccountDescriptiveName",
"AdGroupId",
"AdGroupName",
"AdGroupStatus",
"BiddingStrategyType",
"CampaignId",
"CampaignName",
"CampaignStatus") _
  .From(ReportDefinitionReportType.PRODUCT_PARTITION_REPORT) _
  .Where("Status").In("ENABLED", "PAUSED") _
  .During(ReportDefinitionDateRangeType.LAST_7_DAYS) _
  .Build()

When I delete "BiddingStrategyType" the error will go?.

Peter Oliquino (AdWords API Team)

unread,
Nov 16, 2018, 5:53:10 AM11/16/18
to AdWords API and Google Ads API Forum
Hi,

The issue is not with the BiddingStrategyType field, but rather, the Status field in your WHERE clause :

Where("Status").In("ENABLED", "PAUSED") 

The Product Partition Report currently does not support a Status field.

Thanks and regards,
Peter
AdWords API Team
Reply all
Reply to author
Forward
0 new messages