Re: google ads api v1 syntax error.

2019-03-07 Thread Inspired UM
Updated Python library to V1.0.1 and accepted new terms and conditions and 
everything is working for me.

Thank you.

On Wednesday, 6 March 2019 18:38:06 UTC+2, googleadsapi-forumadvisor wrote:
>
> Hello Everyone,
>
> Our team is aware of this issue and working on resolving this. You could 
> also followup on the Python Github issue tracker here 
> . 
>
> Regards,
> Sai Teja, Google Ads API Team
>
> Was your question answered? Please rate your experience with us by taking 
> a short survey.
> If not -- reply to this email and tell us what else we can do to help.
>
> Take Survey 
> 
>
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e0974149-1b19-4e2f-bf89-d24d48919ca8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: google ads api v1 syntax error.

2019-03-06 Thread Inspired UM
Hi Nikolay,

I have same issue after updating google-ads-python library.
Did you figured out what was the problem?

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/12e1979a-fe46-4def-b0a5-245f48ddbec7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: USER_PERMISSION_DENIED,User doesn't have permission to access customer,"errorCode": { "authorizationError": "USER_PERMISSION_DENIED"

2019-03-04 Thread Inspired UM
Hi Sai,

I still have same issue. 
I am using google-ads-python library. I followed instructions in README 
section of library, used provided template, and specified 'login_customer_id' 
in google-ads.yaml file, but still have "PermissionDenied: 403 The caller 
does not have permission" error. The account I want to access has a 
hierarchy like this:
Main Account/Sub-Account/Sub-sub-Account/Account I want to access. Which ID 
should go to "google-ads.yaml" file and which to "customer_id" in quety 
"google_ads_service.search(customer_id, query=query,page_size=1000) "

Thank you


On Saturday, 2 March 2019 00:44:58 UTC+2, googleadsapi-forumadvisor wrote:
>
> Hello Everyone,
>
> Looks like some of you have solved the USER_PERMISSION_DENIED error by 
> adding the login-customer-id in the properties file. If you are still 
> facing the issue, could you please go through this blog post 
> 
>  
> and follow the instructions mentioned there to add login-customer-id in the 
> properties file? If you are still facing the issue, could you please go 
> through this blog post and follow the instructions mentioned there to add 
> login-customer-id in the properties file? 
>
> Regards,
> Sai Teja, Google Ads API Team
>
> Was your question answered? Please rate your experience with us by taking 
> a short survey.
> If not -- reply to this email and tell us what else we can do to help.
>
> Take Survey 
> 
>
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/15d48362-942c-481e-8fc3-2da0ce7493d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: USER_PERMISSION_DENIED,User doesn't have permission to access customer,"errorCode": { "authorizationError": "USER_PERMISSION_DENIED"

2019-02-13 Thread Inspired UM
I have same issue just with Python lib.  Making request to GoogleAdsService

On Wednesday, 13 February 2019 13:47:25 UTC+2, Ananth Sakthivel wrote:
>
> since yesterday my code was working fine and it's fetching the AdsAccount 
> Details through the Service of "GetCustomer()". but today onwards its stop 
> working and throwing the Below error,
>
> *Google.Ads.GoogleAds.Lib.GoogleAdsException*
> *  HResult=0x80131500*
> *  Message=Status(StatusCode=PermissionDenied, Detail="The caller does not 
> have permission")*
> *  Source=Google.Api.Gax.Grpc*
>
> I have already added the "LoginCustomerId" in my config file. but still, 
> it's not sorted out.
>
> My TestManager CustomerID: 2349150893
> Developer token:__R0sxIaTEA-cd2bmu1kmA
> *please have a look on my code below, also I attached the screenshot of my 
> errors.*
>
>  try
> {
> Client = new GoogleAdsClient();
> CustomerService = 
> Client.GetService(Services.V0.CustomerService);   
> GoogleAdsServiceClient googleAdsService = 
> Client.GetService(Services.V0.GoogleAdsService);
> SearchGoogleAdsRequest request = new 
> SearchGoogleAdsRequest()
> {
> Query = @"SELECT customer_client.client_customer 
> FROM customer_client",
> CustomerId = Client.Config.LoginCustomerId
> };
> PagedEnumerable 
> searchPagedResponse = googleAdsService.Search(request);
> object sync = new Object();
>
> Parallel.ForEach(searchPagedResponse, response =>
> {
>  lock (sync)
>  {
>  var ClientDetails = 
> CustomerService.GetCustomer(response.CustomerClient.ClientCustomer);//Error 
> at this line
>  if (!ClientDetails.Manager.Value)
>  {
> 
>  }
>  }
>
> });
> }
>
> [image: 2019-02-13_17-12-10.png]
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/8ac68ac4-2dfe-4317-812c-4feaf62d9498%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Google Ads API. Query does not return DATE

2019-02-04 Thread Inspired UM
Hi,

I noticed that all segment fields (like DEVICE, DATE) do not return any 
values after v0.7 update.
My query looks like this:

query = ('SELECT campaign.name, campaign.id,  campaign.status, 
campaign.start_date, campaign.end_date, metrics.impressions, 
metrics.clicks, '
'metrics.ctr, metrics.average_cpc,  
metrics.all_conversions, metrics.cost_micros, segments.date, 
campaign.status,campaign.advertising_channel_type, segments.date '
'FROM campaign '
'WHERE segments.date DURING YESTERDAY')


Can you please advice how can I retrieve DATE field?

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/d50c0da9-87dd-43fd-8b78-93a337465e2d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Permission Denied error

2019-01-31 Thread Inspired UM
Not sure if its related, but I cannot acces any of my accounts data through 
Google Ads API Beta as well.
*I get error "403 The caller does not have permission"*

On Thursday, 31 January 2019 10:46:19 UTC+2, nikolay...@ostrovok.ru wrote:
>
> when I make a request via google-ads==0.6.0 I get an error PERMISSION 
> DENIED. But when i try to make a request with googleads library all goes 
> well.
>
> Ubuntu 18.04LTS
> Python 2.7.15
> google-ads 0.6.0
> googleads 15.0.2
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f7523233-7f94-4a00-8551-880b814f140d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Error: google.api_core.exceptions.PermissionDenied: 403 The caller does not have permission

2019-01-31 Thread Inspired UM
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 = 'X.apps.googleusercontent.com'*
*Secret = 'XX-x'*
*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.