MutateAdGroupCriteria can only create one keyword, even if multiple options are added to MutateAdGroupCriteriaRequest!

18 views
Skip to first unread message

knepp harr

unread,
Apr 2, 2024, 6:11:13 PM4/2/24
to Google Ads API and AdWords API Forum
Although using MutateAdGroupCriteria can correctly create keywords for a search ad group, it cannot achieve batch creation of multiple keywords.
The API request results show that multiple keywords have been created, but only one is added when viewed in the ad interface

results:{resource_name:"customers/6754122252/adGroupCriteria/159528834439~1680820311977"  ad_group_criterion:{resource_name:"customers/6754122252/adGroupCriteria/159528834439~1680820311977"  criterion_id:1680820311977  status:ENABLED  ad_group:"customers/6754122252/adGroups/159528834439"  negative:false  keyword:{text:"baidu antivirus 2022"  match_type:BROAD}}}  results:{resource_name:"customers/6754122252/adGroupCriteria/159528834439~1680820311977"  ad_group_criterion:{resource_name:"customers/6754122252/adGroupCriteria/159528834439~1680820311977"  criterion_id:1680820311977  status:ENABLED  ad_group:"customers/6754122252/adGroups/159528834439"  negative:false  keyword:{text:"baidu antivirus 2022"  match_type:BROAD}}}  results:{resource_name:"customers/6754122252/adGroupCriteria/159528834439~1680820311977"  ad_group_criterion:{resource_name:"customers/6754122252/adGroupCriteria/159528834439~1680820311977"  criterion_id:1680820311977  status:ENABLED  ad_group:"customers/6754122252/adGroups/159528834439"  negative:false  keyword:{text:"baidu antivirus 2022"  match_type:BROAD}}}  results:{resource_name:"customers/6754122252/adGroupCriteria/159528834439~1680820311977"  ad_group_criterion:{resource_name:"customers/6754122252/adGroupCriteria/159528834439~1680820311977"  criterion_id:1680820311977  status:ENABLED  ad_group:"customers/6754122252/adGroups/159528834439"  negative:false  keyword:{text:"baidu antivirus 2022"  match_type:BROAD}}}  results:{resource_name:"customers/6754122252/adGroupCriteria/159528834439~1680820311977"  ad_group_criterion:{resource_name:"customers/6754122252/adGroupCriteria/159528834439~1680820311977"  criterion_id:1680820311977  status:ENABLED  ad_group:"customers/6754122252/adGroups/159528834439"  negative:false  keyword:{text:"baidu antivirus 2022"  match_type:BROAD}}}  results:{resource_name:"customers/6754122252/adGroupCriteria/159528834439~1680820311977"  ad_group_criterion:{resource_name:"customers/6754122252/adGroupCriteria/159528834439~1680820311977"  criterion_id:1680820311977  status:ENABLED  ad_group:"customers/6754122252/adGroups/159528834439"  negative:false  keyword:{text:"baidu antivirus 2022"  match_type:BROAD}}}  results:{resource_name:"customers/6754122252/adGroupCriteria/159528834439~1680820311977"  ad_group_criterion:{resource_name:"customers/6754122252/adGroupCriteria/159528834439~1680820311977"  criterion_id:1680820311977  status:ENABLED  ad_group:"customers/6754122252/adGroups/159528834439"  negative:false  keyword:{text:"baidu antivirus 2022"  match_type:BROAD}}}  results:{resource_name:"customers/6754122252/adGroupCriteria/159528834439~1680820311977"  ad_group_criterion:{resource_name:"customers/6754122252/adGroupCriteria/159528834439~1680820311977"  criterion_id:1680820311977  status:ENABLED  ad_group:"customers/6754122252/adGroups/159528834439"  negative:false  keyword:{text:"baidu antivirus 2022"  match_type:BROAD}}}  results:{resource_name:"customers/6754122252/adGroupCriteria/159528834439~1680820311977"  ad_group_criterion:{resource_name:"customers/6754122252/adGroupCriteria/159528834439~1680820311977"  criterion_id:1680820311977  status:ENABLED  ad_group:"customers/6754122252/adGroups/159528834439"  negative:false  keyword:{text:"baidu antivirus 2022"  match_type:BROAD}}}  results:{resource_name:"customers/6754122252/adGroupCriteria/159528834439~1680820311977"  ad_group_criterion:{resource_name:"customers/6754122252/adGroupCriteria/159528834439~1680820311977"  criterion_id:1680820311977  status:ENABLED  ad_group:"customers/6754122252/adGroups/159528834439"  negative:false  keyword:{text:"baidu antivirus 2022"  match_type:BROAD}}}


ads ui:
1712045002820.jpg

Google Ads API Forum Advisor

unread,
Apr 3, 2024, 10:10:42 AM4/3/24
to anderse...@gmail.com, adwor...@googlegroups.com
Hi,

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

In order to assist you further, kindly provide us with the complete API logs (request and response with request-id and request header) generated at your end while performing the mutate operation.

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.

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

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages