Hi Ernie,

Thank you for your reply!

I use the follow script to gen go source files from protobuf source files:

        for file in googleapis/google/ads/googleads/*v10*/**/*.proto; do \
                echo "gen go code from proto $(basename $file)"; \
                protoc -I=googleapis/ 
--go_out=plugins=grpc,paths=source_relative:./ $file; \
        done

and NO error raise in this step.

The error raise when I use *go build* command to build the generated go 
source files.

If I change *v10* to *v9 or v8*, then it works well.

---------

Unfortunately, our system is build by golang, so we can't use any of the client 
libraries <https://developers.google.com/google-ads/api/docs/client-libs>.

On Monday, February 14, 2022 at 2:58:33 PM UTC+8 adsapi wrote:

> Hi Zhenjin,
>
> Thank you for raising your concern.
>
> You may try to compile your Go library to see if the error can be 
> addressed by running protoc directly on these source files and you can 
> follow the instructions at https://github.com/protocolbuffers/protobuf 
> for Go to build these files. 
>
> If the error persists, I would suggest to use one of the supported client 
> libraries <https://developers.google.com/google-ads/api/docs/client-libs> 
> as it is more stable and our team can provide support to it as any other 
> client libraries like Go library are outside of our scope.
>
> Regards,
> [image: Google Logo] 
> Ernie John 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2W6Nyg:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/4da4e5bd-40ac-41d8-a9fa-07a499fc4ce7n%40googlegroups.com.
  • Bu... Zhenjin Hu
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Zhenjin Hu
        • ... Zhenjin Hu

Reply via email to