Hi, I am trying to get the *TargetingSetting* of *Campaign* or *AdGroup*, I referred the documentation where Its mentioned that if I pass `*Setting*` in fields I'll get the `*TargetingSetting*` but Null is returned specifically for those AdGroups where I added custom settings. Those with Automatic Criterion returns `ExplorerAutoOptimizerSettings`. I can get Id, Name, Status, etc all the other attributes but can't find out a way to retrieve the TargetingSettings. By the way I also tried `Settings` and `ContentBidCriterionTypeGroup` inside my field but same result
*Other Details:* I am using PHP Library and specifically code from `GetCampaigns` also my code to get AdGroups is Similar. As my full requirement is concerned I want to get all the information via API which is shown in this screenshot either at Campaign Level or AdGroup Level. i.e Topic, Interests & Marketing, Demographic etc. I've idea that I may can use `AdGroupCriterionService` or `CampaignCriterionService` but as mentioned in docs I should be able to get those at Campaign/AdGroup level also (if I am not wrong) Reference I am looking: https://developers.google.com/adwords/api/docs/reference/v201702/CampaignService.Campaign https://developers.google.com/adwords/api/docs/reference/v201702/AdGroupService.AdGroup Note that I saw the existing forums and there are only two threads which are very old so posting this question for `v201702` and the question in below almost match with what I am looking for/facing https://groups.google.com/forum/#!searchin/adwords-api/TargetingSetting%7Csort:relevance/adwords-api/O-VzLJJR4Ow/TJiIuP4YGIQJ Regards, -Ahsan -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords 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 Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/7fa5c5bd-2c80-48d4-ae54-f675174491e1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.