In the OP I've shown that I did select both Id and name in the selector, which I was able to get back. However, I was surprised to also get Budget even though I did NOT specific that in my selector. Are you saying that budget is just part of the campaign and it will always get returned whenever I call get on CampaignService, regardless of if I include it in the selector or not? If so, can you let me know how/where I can find this in the documentation? I.e. what are the implicit fields that come with every service?
Thx On Tuesday, March 6, 2018 at 4:53:11 AM UTC+8, Milind Sankeshware (AdWords API Team) wrote: > > Hi Yang, > > To pull the campaign Id > <https://developers.google.com/adwords/api/docs/reference/v201802/CampaignService.Campaign#id> > and name > <https://developers.google.com/adwords/api/docs/reference/v201802/CampaignService.Campaign#name>, > > you need to add these fields in selector > <https://developers.google.com/adwords/api/docs/reference/v201802/CampaignService.Selector>. > > To achieve this please refer the python sample code here > <https://github.com/googleads/googleads-python-lib/blob/master/examples/adwords/v201802/basic_operations/get_campaigns.py#L46>. > > When you select all fields in selector you will get budget stats as well. > As Budget > <https://developers.google.com/adwords/api/docs/reference/v201710/CampaignService.Campaign#budget> > is > part of campaign object. If you are facing an issue please share the > complete SOAP request and response log. > > Thanks, > Milind, AdWords API Team. > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. 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/bf7a302d-e378-4a28-b075-a45cab284054%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
