Hi, Thanks for the response.
I would like to clarify what I want to achieve is to *create* campaign and setup targeting_setting simultaneously. The official docs <https://developers.google.com/google-ads/api/reference/rpc/v15/Campaign> state that target_setting should be a valid column of campaign. In that case, there should be no existing targeting settings, does it means that I could not setup targeting_setting upon creation? Since the reference docs <https://developers.google.com/google-ads/api/docs/targeting/targeting-settings#python_1:~:text=Send%20feedback-,Targeting%20Settings,-bookmark_border> you provided I believe is more likely for *updating* existing target settings, could you provide code example for *creation* as a reference. Thanks in advance. On Wednesday, January 24, 2024 at 7:49:41 PM UTC+8 Google Ads API Forum Advisor wrote: > Hi, > > Thank you for reaching out to the Google Ads API support team. > > By reviewing your concern, I understand that you have a query on how to > set campaign targeting_setting with python google-ads library. > > I would like to inform you that when you update the targeting settings, > you must specify an exhaustive list of all targeting settings you want; > there is no way to just specify a single new targeting setting. To do this, > you must first fetch the existing list of targeting settings before you > attempt your update, and make sure you include all the existing ones along > with the new one you want to add. Kindly refer to the sample example > TargetingSettings > <https://developers.google.com/google-ads/api/docs/targeting/targeting-settings#python_1:~:text=Send%20feedback-,Targeting%20Settings,-bookmark_border> > > to get more information. > > This message is in relation to case "ref:!00D1U01174p.!5004Q02rYNrx:ref" > > Thanks, > > [image: Google Logo] Google Ads API Team > > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 "Google Ads API and AdWords 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/878786e3-5803-45a1-90cb-8c06e922ec8bn%40googlegroups.com.