Keyword Search Term - is this a Missing Attribute?

31 views
Skip to first unread message

A Masood

unread,
Sep 3, 2020, 12:44:58 PM9/3/20
to AdWords API and Google Ads API Forum
Hi,

I do not see any attribute to get the search term in the Keywords Performance Report.

I am trying to set the fields in the selector for my report so that I can see the search term along with ids. It looks to me that I need to query separately to fetch the search terms passing kw-ids - or am I doing something wrong?.

php code:
            // Create Selector.
            $selector = new Selector();
            $selector->setFields(
                [
                    'CampaignId',
                    'AdGroupId',
                    'Id',
                    'Impressions',
                    'Clicks',
                    'Cost',
                ]
            );

            $selector->setPredicates(
                [
                    new Predicate('AdGroupId', PredicateOperator::IN, $adGroupIds),
                    new Predicate('Clicks', PredicateOperator::GREATER_THAN_EQUALS, [1]),
                ]
            );

Thanks,
-A Masood

Google Ads API Forum Advisor Prod

unread,
Sep 3, 2020, 2:04:34 PM9/3/20
to asim...@gmail.com, adwor...@googlegroups.com
Hello,

In order to get search term data, you need to run the Search Query Performance Report.

Cheers,
Anthony
Google Ads API Team

Google Logo
Anthony
Google Ads API Team
 


ref:_00D1U1174p._5004Q23x0zN:ref
Reply all
Reply to author
Forward
0 new messages