Hi Divya,

It appears that you are using the CampaignService instead of the 
CustomerSyncService which is used in the GetAccountChanges example 
<https://developers.google.com/adwords/api/docs/samples/python/account-management#get-all-account-changes-during-the-past-24-hours>
 in 
Python. I would recommend that you refer to the said example and this 
documentation 
<https://developers.google.com/adwords/api/docs/reference/v201809/CustomerSyncService.CustomerChangeData>
 on 
the appropriate fields/objects to select when using the CustomerSyncService.

Thanks and regards,
Peter
AdWords API Team

On Wednesday, December 19, 2018 at 4:23:14 AM UTC+8, 
divya.agar...@sokrati.com wrote:
>
> Hi,
>
> While running get_account_changes and supplying the account id, name and 
> status in the selector, I am facing this error:
>
> Error summary: {'faultMessage': "[SelectorError.INVALID_FIELD_NAME @ 
> serviceSelector; trigger:'779-497-8869', SelectorError.INVALID_FIELD_NAME @ 
> serviceSelector; trigger:'Titan', SelectorError.INVALID_FIELD_NAME @ 
> serviceSelector; trigger:'Active']", 'requestId': 
> '00057d4806038ab10a6218427f009436', 'serviceName': 'CampaignService', 
> 'methodName': 'get', 'operations': '1', 'responseTime': '180'}
> Traceback (most recent call last):
>   File "C:\Program Files 
> (x86)\Python36-32\lib\site-packages\googleads\common.py", line 1382, in 
> MakeSoapRequest
>     *packed_args, _soapheaders=soap_headers)['body']['rval']
>   File "C:\Program Files 
> (x86)\Python36-32\lib\site-packages\zeep\proxy.py", line 42, in __call__
>     self._op_name, args, kwargs)
>   File "C:\Program Files 
> (x86)\Python36-32\lib\site-packages\zeep\wsdl\bindings\soap.py", line 132, 
> in send
>     return self.process_reply(client, operation_obj, response)
>   File "C:\Program Files 
> (x86)\Python36-32\lib\site-packages\zeep\wsdl\bindings\soap.py", line 194, 
> in process_reply
>     return self.process_error(doc, operation)
>   File "C:\Program Files 
> (x86)\Python36-32\lib\site-packages\zeep\wsdl\bindings\soap.py", line 299, 
> in process_error
>     detail=fault_node.find('detail'))
> zeep.exceptions.Fault: [SelectorError.INVALID_FIELD_NAME @ 
> serviceSelector; trigger:'779-497-8869', SelectorError.INVALID_FIELD_NAME @ 
> serviceSelector; trigger:'Titan', SelectorError.INVALID_FIELD_NAME @ 
> serviceSelector; trigger:'Active']
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
>   File "get_account_changes.py", line 101, in <module>
>     main(adwords_client)
>   File "get_account_changes.py", line 42, in main
>     campaigns = campaign_service.get(selector)
>   File "C:\Program Files 
> (x86)\Python36-32\lib\site-packages\googleads\common.py", line 1394, in 
> MakeSoapRequest
>     e.detail, errors=error_list, message=e.message)
> googleads.errors.GoogleAdsServerFault: [SelectorError.INVALID_FIELD_NAME @ 
> serviceSelector; trigger:'779-497-8869', SelectorError.INVALID_FIELD_NAME @ 
> serviceSelector; trigger:'Titan', SelectorError.INVALID_FIELD_NAME @ 
> serviceSelector; trigger:'Active']
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/f3ba7c80-424e-4ed4-91be-f4af908449d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... divya . agarwal
    • ... 'Peter Oliquino (AdWords API Team)' via AdWords API and Google Ads API Forum

Reply via email to