KEYWORDS_PERFORMANCE_REPORT bounce rate issue

69 views
Skip to first unread message

khal...@dprodigy.com

unread,
Jan 2, 2015, 8:18:16 AM1/2/15
to adwor...@googlegroups.com
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!!!!!

Josh Radcliff (AdWords API Team)

unread,
Jan 2, 2015, 10:10:25 AM1/2/15
to adwor...@googlegroups.com
Hi,

The BounceRate field returns a percentage, so valid values are between 0 and 1. Have you tried changing the values to "0.8" for 80% instead?

Thanks,
Josh, AdWords API Team

khal...@dprodigy.com

unread,
Jan 3, 2015, 12:55:41 AM1/3/15
to adwor...@googlegroups.com
Thanks a lot. This solution solved my problem :D
Reply all
Reply to author
Forward
0 new messages