Keyword_type ignored on negative keywords

53 views
Skip to first unread message

H.J.M. van Vlissingen

unread,
May 24, 2021, 7:06:45 AM5/24/21
to AdWords API and Google Ads API Forum

google-ads-php-v9.0.0
Google Ads API: V7
php: 8.0.6
REST api

code:

$adGroupCriterion = new AdGroupCriterion([
        'ad_group' => 'resource-url',
        'status' => AdGroupCriterionStatus::ENABLED,
        'negative' => true,
        'keyword' => new KeywordInfo([
            'text' => 'keyword',
            'match_type' => KeywordMatchType::EXACT
        ])
    ]);

results in broad negative keyword.

  • match_type has no effect
  • using "+keyword" or "[keyword]" has no effect, they are being ignored

How to use match types on negative keywords? Anyone knows?

Google Ads API Forum Advisor Prod

unread,
May 24, 2021, 10:02:09 PM5/24/21
to werkzo...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for posting your concern.

To take a closer look at the issue, could you provide the complete request and response logs with request ID generated on your end for creating negative keywords with specific match type? Please provide it via Reply privately to author option.

Regards,
Google Logo
Ernie John Blanca Tacata
Google Ads API Team
 


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