Hello,
I can see below errors when I try to add keyword like this: "+aa+bb+cc"
-code

$keywordText="+a+b+c";
$keywordInfo = new KeywordInfo([
            'text' => $keywordText,
            'match_type' => KeywordMatchType::BROAD
        ]);

-error

E:\...\Test\google-ads-php>php examples/BasicOperations/AddKeywords.php 
--customerId 9xxxxxxx --adGroupId 1xxxxxxxxxxxxxxx

ApiException was thrown with message '{
    "message": "Request contains an invalid argument.",
    "code": 3,
    "status": "INVALID_ARGUMENT",
    "details": [
        {
            "@type": 0,
            "data": 
"type.googleapis.com\/google.ads.googleads.v8.errors.GoogleAdsFailure"
        },
        {
            "@type": 0,
            "data": [
                {
                    "errorCode": {
                        "criterionError": 
"BROAD_MATCH_MODIFIER_KEYWORD_NOT_ALLOWED"
                    },
                    "message": "Broad match modifier (BMM) keywords can no 
longer be created. Please see 
https:\/\/ads-developers.googleblog.com\/2021\/06\/broad-match-modifier-upcoming-changes.html.",
                    "location": {
                        "fieldPathElements": [
                            {
                                "fieldName": "operations",
                                "index": 0
                            },
                            {
                                "fieldName": "create"
                            },
                            {
                                "fieldName": "keyword"
                            }
                        ]
                    }
                }
            ]
        },
        {
            "@type": 0,
            "data": "EQp1rV10lmsgffm9l_jPXQ"
        }
    ]
}'.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c7a4f63d-e4ad-4084-95a0-c64abd798209n%40googlegroups.com.
  • go... Oleg Disrupt
    • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
    • ... Oleg Disrupt
      • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum

Reply via email to