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?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/7cd7a0f6-b02a-4656-b0f1-e53fc46546e3n%40googlegroups.com.

Reply via email to