AddKeywords issue

22 views
Skip to first unread message

Oleg Disrupt

unread,
Nov 9, 2021, 6:58:32 PM11/9/21
to AdWords API and Google Ads API Forum
Hello
I want to add keyword "+a +b+c" using google api.
It doesn't work well with above keyword because of "+" sign.
It works well for general words.

$keywordText="+a+b+c";
$keywordInfo = new KeywordInfo([
            'text' => $keywordText,
            'match_type' => KeywordMatchType::BROAD
        ]);
How can i fix that?
How can I do for keywords with special characters?
Thanks

Google Ads API Forum Advisor

unread,
Nov 9, 2021, 11:35:34 PM11/9/21
to ol...@disrupt.social, adwor...@googlegroups.com
Hi Oleg,

Thank you for reaching out to us.

With regard to your concern, are you getting an error upon submitting your keywords request with special characters? If so, could you provide the full error message, which is usually included in the complete logs (request and response with request-id)? This will greatly help us identifying the error so we could provide guidance accordingly. Logging can be enabled by navigating to the Client libraries > Your client library (ex. Java) > Logging documentation, which you can access from this link.

Kindly send the requested information via Reply privately to author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.

Regards,

Reminder: Share your feedback about the Google Ads (AdWords) API! Take the 2021 Google Ads API and AdWords API Annual Survey
 
Google Logo
Teejay Wennie Pimentel
Google Ads API Team
 


ref:_00D1U1174p._5004Q2R7l4Q:ref
Reply all
Reply to author
Forward
Message has been deleted
0 new messages