How to get the ad asset installs data via Ads API

2019-12-31 Thread wei liu
Hi, Adwords API support team! 
I want to fetch the ad asset installs performance data,the table column in 
web UI:

[image: APP install.png]


But in the interactive query builder, nothing about like this.

[image: 20191231174310.png]

Thanks so much in advance!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0e8b7101-2daf-474d-ba1f-39e1093c2fe2%40googlegroups.com.


Re: ad_group_ad_asset_view return nothing

2019-07-25 Thread wei liu
Hi,Bharani

How assets are associated with ads? There are no ads setting when create 
app campaign in UI.

[image: 20190726105521.png]


在 2019年7月26日星期五 UTC+8上午1:18:13,adsapiforumadvisor写道:
>
> Hello Wei, 
>
> The ad_group_ad_asset_view returns the details if the assets are 
> associated with the ads. Since the assets are not associated with the ads 
> in the UI, this will not return any results. You will be able to use the 
> asset  
> resource to pull the specific asset details. Could you please give this a 
> try and let us know if you have any issues?
>
> Thanks,
> Bharani, Google Ads API Team
>
> ref:_00D1U1174p._5001UEG6M4: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 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/22c586e0-01ef-4540-adb6-6c2b0d2ef58a%40googlegroups.com.


ad_group_ad_asset_view return nothing

2019-07-23 Thread wei liu
Hi, Googleads api team.

I searched and found that there is a ad_group_ad_asset_view seems could 
fetch adasset metrics report. 

I also tried with GAQL. but  result is : no error and no data.

The GAQL like this: "SELECT asset.name,campaign.name,metrics.impressions 
FROM ad_group_ad_asset_view LIMIT 10". And there is no data. Then I change 
the customer_id, and this time had  normal data.

I noticed that the two cutomer app campaigns have a different place. The 
first customer app campaign had no ad group, but the second had ad group.

So, can you tell me why? And how to get the assets metrics report if the 
app campaign has no ad group.

Thanks!
Wei.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/95710097-3c02-430b-8f4d-57d3027ff533%40googlegroups.com.


Re: how to get client_customer status under a mcc customer

2019-05-24 Thread wei liu
Hi,Peter.

The google ads UI display:
http://sd.domob.cn/ugc/e/_v2_23864d84fe58a0f9e8388b44.png ,and I try to 
requests the client_customer(492-651-8637) which return: "The customer 
can't be used because it isn't enabled.".But Ican create campaign through 
UI operation under this client(492-651-8637).
http://sd.domob.cn/ugc/e/_v2_23864d84fe58a0d4ade7d731.png

在 2019年5月24日星期五 UTC+8下午1:22:56,adsapiforumadvisor写道:
>
> Hi Wei,
>
> Could you confirm what you meant by removed? As per checking your client 
> account (492-651-8637) in the Google Ads UI, I can see that it still has 
> the MCC account (585-184-8752) as one of its managers. That being said, the 
> ACTIVE status that you are getting is correct as it means that the link 
> between the client account and the MCC account still exists.
>
> The red icon that you are seeing next to the client account's ID means 
> that no ads are currently serving and means that the account itself is 
> INACTIVE (campaigns and ad groups have been paused). However, this type of 
> status is currently not returned via the Google Ads API. To learn more 
> about inactive accounts, you may refer to this blog post 
> .
>  
> Let me know if this helps.
>
> Thanks and regards,
> Peter
> Google Ads API Team
>
>
> ref:_00D1U1174p._5001UAqPiF: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 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/a98f504f-d6c3-4564-9d4f-6a8abebf0872%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: how to get client_customer status under a mcc customer

2019-05-23 Thread wei liu
thanks,ads.

Through the CustomerClientLinkService 
,and
 
get the CustomerClientLink 

 status 
field,but there has some problem. the CustomerClientLink 

 status 
is ACTIVE,but actually the client customer has been removed. such as:

the requests return :
{
  "customerClientLink": {
"resourceName": 
"customers/5851848752/customerClientLinks/4926518637~98069709",
"clientCustomer": "customers/4926518637",
"status": "ACTIVE"
  }
}
 and the google ads UI: 
http://sd.domob.cn/ugc/e/_v2_23864d84fe58a095ac3ca637.png

在 2019年5月23日星期四 UTC+8下午6:43:58,adsapiforumadvisor写道:
>
> Hi Wei,
>
> Currently, both the Customer 
> 
>  
> and CustomerClient 
> 
>  
> resources do not support a status field. What is currently available is the 
> ManagerLinkStatus 
> 
>  
> that you can retrieve via the *status* field of the CustomerClientLink 
> 
>  
> through the CustomerClientLinkService 
> 
> .
>
> Thanks and regards,
> Peter
> Google Ads API Team
>
> ref:_00D1U1174p._5001UAqPiF: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 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/ae5f7205-7627-45a5-b44f-3fcfda1a9876%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: how to get client_customer status under a mcc customer

2019-05-23 Thread wei liu
thanks,ads.

Through the CustomerClientLinkService 
,and
 
get the CustomerClientLink 

 status 
field,but there has some problem. the CustomerClientLink 

 status 
is ACTIVE,but actually the client customer has been removed. such as:

the requests return :
{
  "customerClientLink": {
"resourceName": 
"customers/5851848752/customerClientLinks/4926518637~98069709",
"clientCustomer": "customers/4926518637",
"status": "ACTIVE"
  }
}
 and the google ads UI:

[image: 20190523194142.png]


在 2019年5月23日星期四 UTC+8下午6:43:58,adsapiforumadvisor写道:
>
> Hi Wei,
>
> Currently, both the Customer 
> 
>  
> and CustomerClient 
> 
>  
> resources do not support a status field. What is currently available is the 
> ManagerLinkStatus 
> 
>  
> that you can retrieve via the *status* field of the CustomerClientLink 
> 
>  
> through the CustomerClientLinkService 
> 
> .
>
> Thanks and regards,
> Peter
> Google Ads API Team
>
> ref:_00D1U1174p._5001UAqPiF: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 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/60f977b9-14fe-4ac0-98e9-c7cd23990bb3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: how to get client_customer status under a mcc customer

2019-05-23 Thread wei liu


[image: TIM截图20190523193630.png]


在 2019年5月23日星期四 UTC+8下午7:37:52,wei liu写道:
>
> thanks,ads.
>
> Through the CustomerClientLinkService 
> <https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v1.services#google.ads.googleads.v1.services.CustomerClientLinkService>,and
>  
> get the CustomerClientLink 
> <https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v1.resources#google.ads.googleads.v1.resources.CustomerClientLink>
>  status 
> field,but there has some problem. the CustomerClientLink 
> <https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v1.resources#google.ads.googleads.v1.resources.CustomerClientLink>
>  status 
> is ACTIVE,but actually the client customer has been removed. such as:
>
> the requests return :
> {
>   "customerClientLink": {
> "resourceName": 
> "customers/5851848752/customerClientLinks/4926518637~98069709",
> "clientCustomer": "customers/4926518637",
> "status": "ACTIVE"
>   }
> }
>  and the google ads UI:
>
> [image: TIM截图20190523193630.png]
> What's wrong with that?
>
> 在 2019年5月23日星期四 UTC+8下午6:43:58,adsapiforumadvisor写道:
>>
>> Hi Wei,
>>
>> Currently, both the Customer 
>> <https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v1.resources#customer>
>>  
>> and CustomerClient 
>> <https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v1.resources#customerclient>
>>  
>> resources do not support a status field. What is currently available is the 
>> ManagerLinkStatus 
>> <https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v1.enums#google.ads.googleads.v1.enums.ManagerLinkStatusEnum.ManagerLinkStatus>
>>  
>> that you can retrieve via the *status* field of the CustomerClientLink 
>> <https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v1.resources#google.ads.googleads.v1.resources.CustomerClientLink>
>>  
>> through the CustomerClientLinkService 
>> <https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v1.services#google.ads.googleads.v1.services.CustomerClientLinkService>
>> .
>>
>> Thanks and regards,
>> Peter
>> Google Ads API Team
>>
>> ref:_00D1U1174p._5001UAqPiF: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 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/3d4301f9-d9e4-4f77-918d-27a0a5f91652%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: how to get client_customer status under a mcc customer

2019-05-23 Thread wei liu
thanks,ads.

Through the CustomerClientLinkService 
,and
 
get the CustomerClientLink 

 status 
field,but there has some problem. the CustomerClientLink 

 status 
is ACTIVE,but actually the client customer has been removed. such as:

the requests return :
{
  "customerClientLink": {
"resourceName": 
"customers/5851848752/customerClientLinks/4926518637~98069709",
"clientCustomer": "customers/4926518637",
"status": "ACTIVE"
  }
}
 and the google ads UI:

[image: TIM截图20190523193630.png]
What's wrong with that?

在 2019年5月23日星期四 UTC+8下午6:43:58,adsapiforumadvisor写道:
>
> Hi Wei,
>
> Currently, both the Customer 
> 
>  
> and CustomerClient 
> 
>  
> resources do not support a status field. What is currently available is the 
> ManagerLinkStatus 
> 
>  
> that you can retrieve via the *status* field of the CustomerClientLink 
> 
>  
> through the CustomerClientLinkService 
> 
> .
>
> Thanks and regards,
> Peter
> Google Ads API Team
>
> ref:_00D1U1174p._5001UAqPiF: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 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/87e41507-025f-4e0a-8860-dc0c27d11c6c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


how to get client_customer status under a mcc customer

2019-05-23 Thread wei liu
I want to know the status(wthether is removed) of client_customer under a 
customer? and I call the query like this "SELECT 
customer_client.resource_name,customer_client.status FROM customer_client", 
but the CustomerClient resource has no status field, can anybody tell me 
how to get the client_customer status? thanks.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a38e1f83-651c-4d49-8374-1cba48492ee6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Use Ads api and Adwords api to get campaigns return different response

2019-04-03 Thread wei liu
I get campaigns via Adwords api,the response is right,and then,I use Ads 
api to get campaigns which the same refresh token and customer id,but 
return the response error:USER_PERMISSION_DENIED, why the response is 
different?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/33716f1b-376c-40b5-8e0e-4a725dee5666%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Run the first example error(python client library)

2019-03-21 Thread wei liu
Hi,google. I run the the first example(get_campaigns.py) through python 
client library,but get something error,I retried the request many times,but 
it did not work.here is the log:

[2019-03-21 09:56:36 - INFO] Request
---
Method: /google.ads.googleads.v1.services.GoogleAdsService/Search
Host: googleads.googleapis.com:443
Headers: {
"developer-token": "REDACTED",
"x-goog-api-client": "gl-python/3.6.5 grpc/1.18.0 gax/1.7.0 gapic/1.1.1"
}
Request: {
"customerId": "7107558364",
"query": "SELECT campaign.id, campaign.name FROM campaign ORDER BY 
campaign.id",
"pageSize": 10
}

Response
---
Headers: {}
Fault: {
"created": "@1553133396.31100",
"description": "Failed to create subchannel",
"file": "src/core/ext/filters/client_channel/client_channel.cc",
"file_line": 2261,
"referenced_errors": [
{
"created": "@1553133396.31100",
"description": "Pick Cancelled",
"file": 
"src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc",
"file_line": 224,
"referenced_errors": [
{
"created": "@1553133396.31100",
"description": "Deadline Exceeded",
"file": "src/core/ext/filters/deadline/deadline_filter.cc",
"file_line": 69,
"grpc_status": 4
}
]
}
]
}

[2019-03-21 09:56:36 - WARNING] Request made: ClientCustomerId: 7107558364, 
Host: googleads.googleapis.com:443, Method: /google.
ads.googleads.v1.services.GoogleAdsService/Search, RequestId: None, 
IsFault: True, FaultMessage: Deadline Exceeded
Traceback (most recent call last):
File "C:\Anaconda3\lib\site-packages\google\api_core\grpc_helpers.py", line 
57, in error_remapped_callable
return callable_(*args, **kwargs)
File "C:\Anaconda3\lib\site-packages\grpc\_interceptor.py", line 215, in 
__call__
wait_for_ready=wait_for_ready)
File "C:\Anaconda3\lib\site-packages\grpc\_interceptor.py", line 245, in 
_with_call
return call.result(), call
File "C:\Anaconda3\lib\site-packages\grpc\_channel.py", line 295, in result
raise self
File "C:\Anaconda3\lib\site-packages\grpc\_interceptor.py", line 236, in 
continuation
wait_for_ready=new_wait_for_ready)
File "C:\Anaconda3\lib\site-packages\grpc\_interceptor.py", line 258, in 
with_call
wait_for_ready=wait_for_ready)
File "C:\Anaconda3\lib\site-packages\grpc\_interceptor.py", line 245, in 
_with_call
return call.result(), call
File "C:\Anaconda3\lib\site-packages\grpc\_channel.py", line 295, in result
raise self
File "C:\Anaconda3\lib\site-packages\grpc\_interceptor.py", line 236, in 
continuation
wait_for_ready=new_wait_for_ready)
File "C:\Anaconda3\lib\site-packages\grpc\_interceptor.py", line 258, in 
with_call
wait_for_ready=wait_for_ready)
File "C:\Anaconda3\lib\site-packages\grpc\_interceptor.py", line 244, in 
_with_call
continuation, client_call_details, request)
File "C:\Anaconda3\lib\site-packages\google\ads\google_ads\client.py", line 
349, in intercept_unary_unary
self._handle_grpc_failure(response)
File "C:\Anaconda3\lib\site-packages\google\ads\google_ads\client.py", line 
324, in _handle_grpc_failure
raise exception
File "C:\Anaconda3\lib\site-packages\grpc\_interceptor.py", line 236, in 
continuation
wait_for_ready=new_wait_for_ready)
File "C:\Anaconda3\lib\site-packages\grpc\_channel.py", line 560, in 
with_call
return _end_unary_response_blocking(state, call, True, None)
File "C:\Anaconda3\lib\site-packages\grpc\_channel.py", line 467, in 
_end_unary_response_blocking
raise _Rendezvous(state, None, None, deadline)
grpc._channel._Rendezvous: <_Rendezvous of RPC that terminated with:
  status = StatusCode.DEADLINE_EXCEEDED
  details = "Deadline Exceeded"
  debug_error_string = 
"{"created":"@1553133396.31100","description":"Failed 
to create subchannel","file":"
src/core/ext/filters/client_channel/client_channel.cc","file_line":2261,"
referenced_errors":[{"created":"@1553133396.31100","description":"Pick 
Cancelled","file":"
src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc","
file_line":224,"referenced_errors":[{"created":"@1553133396.31100","
description":"Deadline Exceeded","file":"
src/core/ext/filters/deadline/deadline_filter.cc","file_line":69,"
grpc_status":4}]}]}"
>

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File 
"c:/PythonProjects/google_ads_api_test/google-ads-python-master/google-ads-python-master/examples/basic_operations/get_campaigns.py",
 
line 68, in 
main(google_ads_client, "7107558364", _DEFAULT_PAGE_SIZE)
File 
"c:/PythonProjects/google_ads_api_test/google-ads-python-master/google-ads-python-master/examples/basic_operations/get_campaigns.py",
 
line 40, in main
for row in results:
File "C:\Anaconda3\lib\site-packages\google\api_core\page_iterator.py", 
line 204, in _items_iter
for page in self._page_iter(increment=False):
File "C:\Anaconda3\lib\site-packages\google\api_core\page_iterator.py", 
line 235, in _page_iter
page = self._next_page()
File "C:\Anaconda3\lib\site-packages\google\api_core\page_iterator.py", 
line 526, in _next_page
response = 

Re: Google.Ads.GoogleAds.Examples return Deadline Exceeded

2019-03-21 Thread wei liu
I have the same problem with you. Can you resolve it?

在 2019年3月21日星期四 UTC+8上午3:29:00,Haik写道:
>
> I am trying to run one of the 
> Google.Ads.GoogleAds.Example: GetAccountInformation   
>
> I get an error that does not describe how to solve the 
> problem: DeadlineExceeded 
>
> We have an MCC account so we manage our clients AdWords accounts.
>
> In the web config I set all the keys that were required and that 
> correspond exactly to our old AdWords API from production.
>
>
>   
>
>   
>   
>   
>   
>
>   
>
>
>
>
> 
> public void Run(GoogleAdsClient client, long customerId)
> {
> CustomerServiceClient customerService = client.GetService(
> Services.V1.CustomerService);
>
>
> try
> {
> string customerResourceName = ResourceNames.Customer(  
> -   *here goes the customer id of **our** client*   );   
>
>
> Customer customer = customerService.GetCustomer(
> customerResourceName);
>
>
> // Print account information.
> Console.WriteLine("Customer with ID {0}, descriptive name 
> '{1}', currency " +
> "code '{2}', timezone '{3}', tracking URL template 
> '{4}' and auto tagging " +
> "enabled '{5}' was retrieved.", customer.Id, customer.
> DescriptiveName,
> customer.CurrencyCode, customer.TimeZone, customer.
> TrackingUrlTemplate,
> customer.AutoTaggingEnabled);
> }
> catch (GoogleAdsException e)
> {
> }
> }
>
>
>
>
> Am I doing something wrong?
>
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e9494f93-29a0-43da-96f5-97ce867f5fd1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Ads api (python sdk) example error

2019-03-19 Thread wei liu
Hi,I follow the help doc, and run the first example(get_campaigns.py), but 
get error: google.api_core.exceptions.DeadlineExceeded: 504 Deadline 
Exceeded. Is something wrong of my network?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0aa5631f-1405-41fc-a66b-20678cd98827%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.