I‘ve reply privately to you. Now I meet another problem that I create a SmartcampaignCriteria with keyword_theme_constant and use query to get the keywordthemeconstant's displayName,it's different from UI.API’s *Domain Names*, UI is *Web hosting company*.I've checked the campaignCriteria is the same.Thanks!
Request1: curl --location --request POST ' https://googleads.googleapis.com/v9/customers/XXXXXX/campaignCriteria:mutate' \ --header 'Content-Type: application/json' \ --data-raw '{ "operations": { "create": { "status": "ENABLED", "type": "KEYWORD_THEME", "campaign": "customers/XXXXX/campaigns/XXXXX", "negative": false, "keyword_theme": { "keyword_theme_constant":"keywordThemeConstants/41173~20943" } } }, "partialFailure": false, "validateOnly": false, "responseContentType": "MUTABLE_RESOURCE" }' Request2: {"query":"SELECT keyword_theme_constant.resource_name, keyword_theme_constant.country_code, keyword_theme_constant.language_code, keyword_theme_constant.display_name FROM keyword_theme_constant "} Response: [{ "results": [ { "keywordThemeConstant": { "resourceName": "keywordThemeConstants/41173~20943", "countryCode": "US", "languageCode": "en", "displayName": "*Domain Names*" } ], "fieldMask": "keywordThemeConstant.resourceName,keywordThemeConstant.countryCode,keywordThemeConstant.languageCode,keywordThemeConstant.displayName", "requestId": } ] UI: [image: gg.png] 在2021年12月28日星期二 UTC+8 11:40:42<adsapi> 写道: > Hi Chen, > > Thank you for the reply. > > I would like to inform you first that I am going to delete your reply as > it contains personal information. > > Moving forward to your concern, I can see that aside from keyword theme, > you also set the *final_url*, *language_code* and *business_context*. > With this, you need to set these values as well in the Google Ads UI and > compare it in the API result again. If the issue persists, please > provide the updated screenshot of the UI and the updated request > <https://developers.google.com/google-ads/api/docs/concepts/field-service#request> > and response > <https://developers.google.com/google-ads/api/docs/concepts/field-service#response> > logs > with request ID > <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id> > and request header > <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request_headers> > generated > on your end. > > You can provide it via *Reply privately to author* option. If this option > is not available, then send it instead on this email address > googleadsa...@google.com. > > Regards, > [image: Google Logo] > Ernie John Blanca Tacata > Google Ads API Team > > > ref:_00D1U1174p._5004Q2TkfyX:ref > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/8ed21971-73a3-4c96-a9a6-a3202cc6a987n%40googlegroups.com.