Hi, 

Tried to run get_ad_groups,py from the examples in googleads python library 
and got the error message below.

Can you please help me know of a way to correct it.

thanks,
Prasad

$ python3.6 get_ad_groups.py --customer_id 

*Traceback (most recent call last):*

*  File "get_ad_groups.py", line 88, in <module>*

*    campaign_id=args.campaign_id,*

*  File "get_ad_groups.py", line 28, in main*

*    ga_service = client.get_service("GoogleAdsService")*

*  File 
"/usr/local/lib/python3.6/site-packages/google/ads/googleads/client.py", 
line 378, in get_service*

*    options=_GRPC_CHANNEL_OPTIONS,*

*  File 
"/usr/local/lib/python3.6/site-packages/google/ads/googleads/v7/services/services/google_ads_service/transports/grpc.py",
 
line 202, in create_channel*

*    **kwargs,*

*  File 
"/usr/local/lib/python3.6/site-packages/google/api_core/grpc_helpers.py", 
line 311, in create_channel*

*    default_host=default_host,*

*  File 
"/usr/local/lib/python3.6/site-packages/google/api_core/grpc_helpers.py", 
line 238, in _create_composite_credentials*

*    default_scopes=default_scopes*

*TypeError: with_scopes_if_required() got an unexpected keyword argument 
'default_scopes'*



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ecfd1617-3dfe-4383-8e78-1c85ff07aaccn%40googlegroups.com.
  • Google Ads AP... 'Prasad Biruduraju' via AdWords API and Google Ads API Forum
    • RE: Goog... Google Ads API Forum Advisor Prod
      • Re: ... jahang...@gmail.com
        • ... Google Ads API Forum Advisor

Reply via email to