في الثلاثاء، 28 ديسمبر، 2021 1:14 م Chen Xiaowei <vivianachen0...@gmail.com> كتب:
> 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. > 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] > > Thanks,vivi > > -- > -- > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > 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/7bf46c3d-cfc3-4620-9bca-66532ba0856fn%40googlegroups.com > <https://groups.google.com/d/msgid/adwords-api/7bf46c3d-cfc3-4620-9bca-66532ba0856fn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/CAOmUA%2BSG1aFXAEccCKTu%3DtH0v073MPoTHu7zS3M%3D%2Bt%3DsHENyUA%40mail.gmail.com.