Re: Why does the budget field get returned in CampaignService.get({'fields': ['Id', 'Name']})?

2018-03-13 Thread 'Milind Sankeshware (AdWords API Team)' via AdWords API Forum
Hi Yang, The value is null, since the budget is not specified in selector. But some nodes might appear even when that is not specified in the selector. You could have a code logic to just look for the desired attributes from the response to avoid reading additional information. In the

Re: Why does the budget field get returned in CampaignService.get({'fields': ['Id', 'Name']})?

2018-03-07 Thread 'Milind Sankeshware (AdWords API Team)' via AdWords API Forum
Hi Yang, If you have included all the fields in your selector, you may get the data corresponding to budget as well. Could you please share your SOAP request and response log for CampaignService.get( ) , so

Re: Why does the budget field get returned in CampaignService.get({'fields': ['Id', 'Name']})?

2018-03-06 Thread Yang Gao
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

Re: Why does the budget field get returned in CampaignService.get({'fields': ['Id', 'Name']})?

2018-03-05 Thread 'Milind Sankeshware (AdWords API Team)' via AdWords API Forum
Hi Yang, To pull the campaign Id and name , you need to add these fields in selector

Why does the budget field get returned in CampaignService.get({'fields': ['Id', 'Name']})?

2018-03-05 Thread Yang Gao
Hi, I'm using the python lib and from some reason the CampaignService's get( ) returns all fields in the selector, as expected but also an extra field for Budget? Why is this an how can I just pull the campaign ID and Name? Thanks! -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also