Hi all,
I am downloading KEYWORDS_PERFORMANCE_REPORT using .net client libraries of google adwords by using following predicate and selectors.
var selector = new Selector { fields = new[] { "Id", "KeywordText", "AdGroupId", "AdGroupName", "CampaignId", "CampaignName", "Clicks", "Conversions", "KeywordMatchType", "BounceRate" } };
var predicate = new Predicate
{
field = "BounceRate",
@operator = PredicateOperator.GREATER_THAN_EQUALS,
values = new [] { "80" }
};
var predicate1 = new Predicate
{
field = "Status",
@operator = PredicateOperator.NOT_EQUALS,
values = new[] { "REMOVED" }
};
var predicate2 = new Predicate
{
field = "IsNegative",
@operator = PredicateOperator.EQUALS,
values = new[] { "FALSE" }
};
Whenever I try to download report using above predicates it gives SelectorError.INVALID_PREDICATE_OPERATOR error. But when i change BounceRate predicate to following then it downloads data successfully
var predicate = new Predicate
{
field = "BounceRate",
@operator = PredicateOperator.LESS_THAN_EQUALS,
values = new [] { "80" }
};
Whats wrong with my predicate??? I am wondering why google api throws exception. Even when I try to download report using PredicateOperator.GREATER_THAN then it does not throw exception but no data available in the report.
Even all these operator works correctly if i use "Clicks" field in predicate then what is the issue with BounceRate field.
I want to download keyword performance report for only those keywords whose bounce rate is greater than 80%.
Can anyone help me on this!!!!!