Hi Anash,
Here is the full response:

<soap:Envelope 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";><soap:Header><ResponseHeader
 
xmlns="https://adwords.google.com/api/adwords/cm/v201409";><requestId>0005067d03ec49e80aecc881b00042ac</requestId><serviceName>ReportDefinitionService</serviceName><methodName>getReportFields</methodName><operations>0</operations><responseTime>47</responseTime></ResponseHeader></soap:Header><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>[AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED
 
@ ; trigger:'&lt;null&gt;']</faultstring><detail><ApiExceptionFault 
xmlns="https://adwords.google.com/api/adwords/cm/v201409";><message>[AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED
 
@ ; 
trigger:'&lt;null&gt;']</message><ApplicationException.Type>ApiException</ApplicationException.Type><errors
 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="AuthenticationError"><fieldPath></fieldPath><trigger>&lt;null&gt;</trigger><errorString>AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED</errorString><ApiError.Type>AuthenticationError</ApiError.Type><reason>CLIENT_CUSTOMER_ID_IS_REQUIRED</reason></errors></ApiExceptionFault></detail></soap:Fault></soap:Body></soap:Envelope>

On Tuesday, October 28, 2014 8:39:37 AM UTC-4, Anash P. Oommen (AdWords API 
Team) wrote:
>
> Hi Chris,
>
> Could you post a request id for a failed request, so I can investigate 
> this further? It is part of the SOAP response header.
>
> Cheers,
> Anash P. Oommen,
> AdWords API Advisor.
>
> On Monday, October 27, 2014 8:22:09 PM UTC-4, chris h wrote:
>>
>> Hi Anash,
>> Yes, I did add it to the request header. Can you think of anything else 
>> which could be causing it not to work?
>>
>> On Monday, October 27, 2014 2:55:40 PM UTC-4, Anash P. Oommen (AdWords 
>> API Team) wrote:
>>>
>>> Hi Chris,
>>>
>>> ReportDefinitionService is a SOAP service, so clientCustomerId goes in 
>>> the SOAP RequestHeader header.
>>>
>>> Cheers,
>>> Anash
>>>
>>> On Monday, October 27, 2014 1:33:57 PM UTC-4, chris h wrote:
>>>>
>>>> Hi Anash,
>>>> I did add the clientCustomerId to the header (was mentioned in my 
>>>> original post) but I still get this error.  Does it matter which 
>>>> clientCustomerId is used?
>>>>
>>>> On Monday, October 27, 2014 1:26:46 PM UTC-4, Anash P. Oommen (AdWords 
>>>> API Team) wrote:
>>>>>
>>>>> Hi Chris,
>>>>>
>>>>> in v201409, we made client customer id a required field in all the 
>>>>> services. We have asked the team to relax this requirement for 
>>>>> ReportDefinitionService. Meanwhile, you can work around the issue by 
>>>>> setting the clientCustomerId header in the API calls to 
>>>>> ReportDefinitionService. Using your MCC CID should work fine.
>>>>>
>>>>> Cheers,
>>>>> Anash P. Oommen,
>>>>> AdWords API Advisor.
>>>>>
>>>>> On Monday, October 27, 2014 1:22:58 PM UTC-4, chris h wrote:
>>>>>>
>>>>>> Thanks, but I'm not using Python. I need to know what has changed 
>>>>>> with the protocol handshake that is causing my existing application to 
>>>>>> stop 
>>>>>> working.
>>>>>>
>>>>>> On Monday, October 27, 2014 6:52:11 AM UTC-4, Сергей Козловский wrote:
>>>>>>>
>>>>>>> Look here how get all fields by report name 
>>>>>>> https://github.com/googleads/googleads-python-lib/blob/master/examples/adwords/v201409/reporting/get_report_fields.py
>>>>>>>
>>>>>>> and here how correctly authorizing 
>>>>>>> https://github.com/googleads/googleads-python-lib/blob/master/examples/adwords/authentication/create_adwords_client_without_yaml.py
>>>>>>>
>>>>>>> понедельник, 27 октября 2014 г., 5:11:18 UTC+2 пользователь chris h 
>>>>>>> написал:
>>>>>>>>
>>>>>>>> Am migrating to v201409
>>>>>>>>
>>>>>>>> Getting error:
>>>>>>>>
>>>>>>>> AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED
>>>>>>>> when calling getReportFields
>>>>>>>>
>>>>>>>> Reading this:
>>>>>>>>
>>>>>>>> https://developers.google.com/adwords/api/docs/reference/v201409/ReportDefinitionService
>>>>>>>>
>>>>>>>> I find in errors section:
>>>>>>>>
>>>>>>>> CLIENT_CUSTOMER_ID_IS_REQUIRED Client Customer Id is required if 
>>>>>>>> CustomerIdMode is set to CLIENT_EXTERNAL_CUSTOMER_ID. Starting version 
>>>>>>>> V201409 ClientCustomerId will be required for all requests except for 
>>>>>>>> CustomerService.get 
>>>>>>>> <https://developers.google.com/adwords/api/docs/reference/v201409/CustomerService.html#get>
>>>>>>>> I can't find anything in the docs about setting CustomerIdMode. And 
>>>>>>>> anyway, I added the clientCustomerId header to the HTTP POST just like 
>>>>>>>> with 
>>>>>>>> other calls, but I still get the error. And finally, why does this 
>>>>>>>> methods 
>>>>>>>> require a Client Customer Id? Might the fields returned be different 
>>>>>>>> for 
>>>>>>>> different customers?
>>>>>>>>
>>>>>>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/fd937267-1ef8-4d67-9eb5-a33353ebb9eb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to