Hi Peter,

Apologies for the delay, Please find details below:

1. MCC customer id : 782-391-5178
2. [email protected]'

Below is description of 2 different errors I am getting:

*1. Before changing refresh token*
a. refresh token was: 1/vyvzgnyqiuNWUoBLq8D2A0bslFIwqMX9B1HrpQxoYxM
b. request url 
https://ads.google.com/apis/ads/publisher/v201702/InventoryService
c. soap request: 
<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
    <soapenv:Header>
        <ns1:RequestHeader 
xmlns:ns1="https://www.google.com/apis/ads/publisher/v201702"; 
soapenv:mustUnderstand="0">
            <ns1:networkCode>27857707</ns1:networkCode>
            <ns1:applicationName>pset (DfpApi-Java, Dfp-Axis/3.1.1, 
Common-Java/3.1.1, Axis/1.4, Java/1.7.0_40, maven)</ns1:applicationName>
        </ns1:RequestHeader>
    </soapenv:Header>
    <soapenv:Body>
        <getAdUnitsByStatement 
xmlns="https://www.google.com/apis/ads/publisher/v201702";>
            <filterStatement>
                <query>WHERE name = :name LIMIT 500</query>
                <values>
                    <key>name</key>
                    <value 
xmlns:ns2="https://www.google.com/apis/ads/publisher/v201702"; 
xsi:type="ns2:TextValue">
                        <ns2:value>test.nature.com</ns2:value>
                    </value>
                </values>
            </filterStatement>
        </getAdUnitsByStatement>
    </soapenv:Body>
</soapenv:Envelope>

d. response
<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
    <soapenv:Body>
        <soapenv:Fault>
            <faultcode 
xmlns:ns1="http://xml.apache.org/axis/";>ns1:HTTP</faultcode>
            <faultstring>(401)Unauthorized</faultstring>
            <detail>
                <string>return code:  401
&lt;HTML&gt;
&lt;HEAD&gt;
&lt;TITLE&gt;Unauthorized&lt;/TITLE&gt;
&lt;/HEAD&gt;
&lt;BODY BGCOLOR="#FFFFFF" TEXT="#000000"&gt;
&lt;H1&gt;Unauthorized&lt;/H1&gt;
&lt;H2&gt;Error 401&lt;/H2&gt;
&lt;/BODY&gt;
&lt;/HTML&gt;
</string>
                <ns2:HttpErrorCode 
xmlns:ns2="http://xml.apache.org/axis/";>401</ns2:HttpErrorCode>
            </detail>
        </soapenv:Fault>
    </soapenv:Body>
</soapenv:Envelope>


*2. After I changed the refresh token*a. new refresh token is: 
1/VaTefwS6oRlYe6UOoaBTRJ4ACSP2vHleujBvyUAZyu9YIXIYLLN1Xi2WVeC92Bwn 
b. I am getting below error: 
2017-03-21 06:55:17,203 ERROR [1268465323@qtp-311857449-6] 
[AdUnitNameValidationStrategy.java:64]: Failed to doValidation
java.lang.RuntimeException: Exception is occurred in getDfpSession: 
Credential could not be refreshed.
c. I generated refresh token using GetRefreshToken.java

Please let me know if any more information required from my end.
Many Thanks

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [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 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/e5a6d43d-a428-49e7-b8e6-25fe2384e3bc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to