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?