Re: AuthenticationError.CLIENT_CUSTOMER_ID_IS_REGUIRED

2018-04-10 Thread Ian Ker-Seymer
We are getting the same issue even though the clientCustomerId is in the 
SOAP body.

On Tuesday, April 10, 2018 at 6:35:10 AM UTC-4, Igor Shamin wrote:
>
> Hi. We have a problem. We send a *request to ChampaignService*, we 
> receive a response
> *AuthenticationError.CLIENT_CUSTOMER_ID_IS_REGUIRED*
> I ask to help you figure it out. Thank you.
>
> Our request: 
>
>  http://www.w3.org/2003/05/soap-envelope; xmlns:ns1="
> https://adwords.google.com/api/adwords/cm/v201802; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance;>  <
> ns1:RequestHeader xsi:type="SoapHeader">  >__CUSTOMER_ID__ __DEVELOPER_TOKEN__ developerToken> __AGENT__ false validateOnly> false  
> Name
>  Status BudgetId ns1:fields> BiddingStrategyId 
> BiddingStrategyType BiddingStrategyName ns1:fields> Amount 
> AdvertisingChannelType AdvertisingChannelSubType
>  TargetGoogleSearch 
> TargetSearchNetwork TargetContentNetwork ns1:fields> TargetPartnerSearchNetwork <
> ns1:fields>BidCeiling BidType <
> ns1:fields>EnhancedCpcEnabled PricingMode ns1:fields> Settings  
> Name ASCENDING  
>  0 500 ns1:numberResults> env:Body>  
>
>
> Response: 
>
>  http://schemas.xmlsoap.org/soap/envelope/;>   xmlns="https://adwords.google.com/api/adwords/cm/v201802;> 
> 0005697bb2b6b6f00a37a7c1af0e8a4c CampaignService
>  get 1 <
> responseTime>51>  soap:Client 
> > [AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED 
> @ ; trigger:'null']   xmlns="https://adwords.google.com/api/adwords/cm/v201802;> 
> [AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED 
> @ ; trigger:'null'] 
> ApiException http://www.w3.org/2001/XMLSchema-instance; xsi:type="AuthenticationError"> 
>  null 
> AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED <
> ApiError.Type>AuthenticationError 
> CLIENT_CUSTOMER_ID_IS_REQUIREDdetail>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/4c51f7dc-7fcf-431a-9e71-e48765868d10%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Specifying a namespace for the Soap:Body

2016-01-12 Thread Ian Ker-Seymer
Here is an example request I am making:

http://www.w3.org/TR/REC-xml/>" encoding="UTF-8"?>
http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema; 
xmlns:wsdl="https://adwords.google.com/api/adwords/mcm/v201509; 
xmlns:cm="https://adwords.google.com/api/adwords/cm/v201509;>


__ADWORDS_DEVELOPER_TOKEN__
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, 
like Gecko) Chrome/47.0.2526.106 Safari/537.36
.



https://adwords.google.com/api/adwords/mcm/v201509;>

CustomerId
Name







My issue is that I would like the response to not include a namespace in 
the Soap:Body. Currently, it specifies ns2 and the namespace for all fields 
in the response body. Is there a way to remove this?

http://www.w3.org/TR/REC-xml/>"?>
http://schemas.xmlsoap.org/soap/envelope/;>

https://adwords.google.com/api/adwords/mcm/v201509; 
xmlns="https://adwords.google.com/api/adwords/cm/v201509;>
000529265311ae480ac50be9070c5507
ManagedCustomerService
get
1
201



https://adwords.google.com/api/adwords/cm/v201509; 
xmlns:ns2="https://adwords.google.com/api/adwords/mcm/v201509;>

2
ManagedCustomerPage

adhawk-testing1



adhawk-test



.

false









-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c10266ed-7a48-4da7-ae06-d5af2a78464f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.