I just started to use OAuth2 for authenticating my users. And I do not know is my error related to new *login-customer-id* header requirement or it something else? My SOAP request looks like this: <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="https://adwords.google.com/api/adwords/cm/v201809" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"> <soap:Header> <ns1:RequestHeader xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201809" xmlns="https://adwords.google.com/api/adwords/cm/v201809"> <ns1:developerToken>******</ns1:developerToken> <ns1:userAgent>******</ns1:userAgent> <ns1:validateOnly>false</ns1:validateOnly> <ns1:clientCustomerId>***-***-****</ns1:clientCustomerId> </ns1:RequestHeader> </soap:Header> <soap:Body> <mutate xmlns="https://adwords.google.com/api/adwords/cm/v201809"> <operations> <operator>ADD</operator> <operand xsi:type="NegativeCampaignCriterion"> <campaignId>********</campaignId> <criterion xsi:type="IpBlock"> <type>IP_BLOCK</type> <ipAddress>77.77.77.77</ipAddress> </criterion> </operand> </operations> </mutate> </soap:Body> </soap:Envelope>
The OAuth authentication going good. I get refresh_token and access_token. But when doing mutate i get an error: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/v201809"> <requestId>000580d199108c1b0ac7c46abe0473e3</requestId> <serviceName>CampaignCriterionService</serviceName> <methodName>mutate</methodName> <operations>1</operations> <responseTime>92</responseTime> </ResponseHeader> </soap:Header> <soap:Body> <soap:Fault> <faultcode>soap:Client</faultcode> <faultstring>[AuthorizationError.USER_PERMISSION_DENIED @ ; trigger:\'<null>\']</faultstring> <detail> <ApiExceptionFault xmlns="https://adwords.google.com/api/adwords/cm/v201809"> <message>[AuthorizationError.USER_PERMISSION_DENIED @ ; trigger:\'<null>\']</message> <ApplicationException.Type>ApiException</ApplicationException.Type> <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="AuthorizationError"> <fieldPath></fieldPath> <trigger><null></trigger> <errorString>AuthorizationError.USER_PERMISSION_DENIED</errorString> <ApiError.Type>AuthorizationError</ApiError.Type> <reason>USER_PERMISSION_DENIED</reason> </errors> </ApiExceptionFault> </detail> </soap:Fault> </soap:Body> </soap:Envelope> Help me please. What am I doing wrong? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [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 and Google Ads 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/fa19874f-0c9b-48cd-84fa-edda796b5a37%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
