How to get/set Broad Match Keyword options in the campaign

98 views
Skip to first unread message

san...@knorex.com

unread,
Sep 16, 2024, 9:15:47 AM9/16/24
to Google Ads API and AdWords API Forum
Hi,

How to get/set Broad Match Keyword options in the campaign via Google Ads API? In particular, the value ON/OFF of that setting.

I attached the screenshot.

Thanks,
Martin
broad_match_keyword.png

san...@knorex.com

unread,
Sep 22, 2024, 11:52:18 PM9/22/24
to Google Ads API and AdWords API Forum
Hi,

Can we have an update info?

Martin

D. H.

unread,
Sep 23, 2024, 1:44:30 AM9/23/24
to Google Ads API and AdWords API Forum
As of V17 of the API you can set the field keyword_match_type to "BROAD" when creating or updating a campaign:
Hope this helps,

D.H.

Google Ads API Forum Advisor

unread,
Sep 23, 2024, 2:53:45 AM9/23/24
to san...@knorex.com, adwor...@googlegroups.com

Hi,

By reviewing your query, I understand that your concern is regarding Broad match keywords. I recommend you to check this documentation about KeywordMatchType which shows possible keyword match types. You can check the sample code that demonstrates how to create a shared list of negative broad match keywords and note that the keywords will be attached to the specified campaign. 

To enable the broad match keywords for the entire campaign at the campaign level, I would suggest using the campaign.keyword_match_type from the campaign resource. As it specifies when set to BROAD to set broad matching for all keywords in a campaign. 

Let us know if you still have any further queries.

 
This message is in relation to case "ref:!00D1U01174p.!5004Q02vGEUW:ref" (ADR-00268322)

Thanks,
 
Google Logo Google Ads API Team

 

Google Ads API Forum Advisor

unread,
Sep 23, 2024, 7:54:07 AM9/23/24
to heiberge...@gmail.com, adwor...@googlegroups.com
Hi Martin,

Thank you for reaching out to the Google Ads API support team.

@D.H. - Thank you for your input. You may follow the suggestion provided by D.H. Let us know if you face any issues. 
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02vGUoN:ref" (ADR-00269107)


Thanks,
 
Google Logo Google Ads API Team


Balram Kumar

unread,
Sep 26, 2024, 3:39:01 AM9/26/24
to Google Ads API and AdWords API Forum
Hi
May i know how to update this setting to make it OFF using API ?

Thanks
Balram

D. H.

unread,
Sep 30, 2024, 10:06:22 AM9/30/24
to Google Ads API and AdWords API Forum
I tried multiple ways but could not find a method via API to turn campaign keyword_match_type setting back off/disabled/unspecified/etc.

If there is a way I hope the Google Ads team can provide the details.

D.H.

Google Ads API Forum Advisor

unread,
Sep 30, 2024, 3:29:19 PM9/30/24
to heiberge...@gmail.com, adwor...@googlegroups.com
Hi,

To understand and investigate your issue further, please provide us with the complete API logs (request and response with request-id and request header) generated at your end while setting the campaign_keyword_match_type to 'UNSPECIFIED' in .txt format.

If you are using a client library and haven't enabled the logging yet, I would request you to enable logging for the specific client library that you are using. You can refer to the guides Java.NetPHPPythonRuby or Perl to enable logging at your end. For REST interface requests, you can enable logging via the curl command by using the -i flag.

You can send the details via Reply privately to the author option, or direct private reply to this email.
Reply all
Reply to author
Forward
0 new messages