Hi,

I was using Google Ads Api Beta successfully for a while, created few 
automated reports with Python 3, but noticed that my reports are not 
running anymore.
It turns out I have no permissions, although as far as I know nothing 
changed with accounts and permissions.

Example code below:
*SCOPE = u'https://www.googleapis.com/auth/adwords'*
*Client_id = 'XXXXXXXXXXXXXXXXXXXXXXXXX.apps.googleusercontent.com'*
*Secret = 'XXXXXXXXXXXXXX-xxxxxxxxx'*
*client = 
google.ads.google_ads.client.GoogleAdsClient.load_from_storage("C:\Google 
API\google-ads.yaml")*
*ga_service = client.get_service('GoogleAdsService')*

*customer_id='7932398349'*
*query = ('SELECT campaign.id, campaign.name, ad_group.id, ad_group.name, '*
*             'ad_group_criterion.criterion_id, '*
*             'ad_group_criterion.keyword.text, '*
*             'ad_group_criterion.keyword.match_type, '*
*             'metrics.impressions, metrics.clicks, metrics.cost_micros, 
metrics.video_views, date '*
*             'FROM keyword_view '*
*             'WHERE date DURING YESTERDAY '*
*             'ORDER BY metrics.impressions DESC '*
*             )*


google-ads.yaml contains :
1. developer_token
2. client_id
3.  client_secret
4. refresh_token


Any suggestions are welcome.

Thank you.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/45cb489c-ea6d-4bce-a487-064030466c4a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to