Hey, I was referencing this file (github <https://github.com/googleads/googleads-java-lib/blob/main/examples/admanager_axis/src/main/java/admanager/axis/auth/CreateAdManagerSessionWithoutPropertiesFile.java>) for establishing the connection to ad manager API, but getting this error
[21 Feb 2023 18:02:30] WARN - "Request made: Service: NetworkService Method: getCurrentNetwork networkCode: XXXXXXX URL: https://ads.google.com/apis/ads/publisher/v201808/NetworkService Request ID: null ResponseTime(ms): null OperationsCount: null IsFault: true FaultMessage: (404)Not Found" - (RemoteCallLoggerDelegate.java:148) [21 Feb 2023 18:02:30] INFO - "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/v201808" soapenv:mustUnderstand="0"> <ns1:networkCode>XXXXXXX</ns1:networkCode> <ns1:applicationName>XXXXXXX (DfpApi-Java, Dfp-Axis/4.1.0, Common-Java/4.1.0, Axis/1.4, Java/1.8.0_352, maven)</ns1:applicationName> </ns1:RequestHeader> </soapenv:Header> <soapenv:Body> <getCurrentNetwork xmlns="https://www.google.com/apis/ads/publisher/v201808"/> </soapenv:Body> </soapenv:Envelope> " - (RemoteCallLoggerDelegate.java:114) [21 Feb 2023 18:02:30] INFO - "SOAP 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>(404)Not Found</faultstring> <detail> <string>return code: 404 <html><body>No service was found.</body></html></string> <ns2:HttpErrorCode xmlns:ns2="http://xml.apache.org/axis/">404</ns2:HttpErrorCode> </detail> </soapenv:Fault> </soapenv:Body> </soapenv:Envelope> " - (RemoteCallLoggerDelegate.java:115) Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/6.1/userguide/command_line_interface.html#sec:command_line_warnings 3 actionable tasks: 2 executed, 1 up-to-date Exception in thread "main" AxisFault faultCode: {http://xml.apache.org/axis/}HTTP faultSubcode: faultString: (404)Not Found faultActor: faultNode: faultDetail: {}:return code: 404 <html><body>No service was found.</body></html> {http://xml.apache.org/axis/}HttpErrorCode:404 (404)Not Found at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:744) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at com.google.api.ads.admanager.axis.v201808.NetworkServiceSoapBindingStub.getCurrentNetwork(NetworkServiceSoapBindingStub.java:671) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.google.api.ads.common.lib.soap.SoapClientHandler.invoke(SoapClientHandler.java:100) at com.google.api.ads.common.lib.soap.axis.AxisHandler.invokeSoapCall(AxisHandler.java:234) at com.google.api.ads.common.lib.soap.SoapServiceClient.callSoapClient(SoapServiceClient.java:63) at com.google.api.ads.common.lib.soap.SoapServiceClient.invoke(SoapServiceClient.java:93) at com.sun.proxy.$Proxy17.getCurrentNetwork(Unknown Source) FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':AdManagerService.main()'. > Process 'command '/Users/devansh.k/Library/Java/JavaVirtualMachines/corretto-1.8.0_352/Contents/Home/bin/java'' finished with non-zero exit value 1 * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 7s 6:11:30 pm: Execution finished ':AdManagerService.main()'. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 "Google Ads API and AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/49b7877f-71b3-4118-9759-fa9202d396aen%40googlegroups.com.
