Failed to Refresh Access Token - on server

2020-02-16 Thread Jordan Liberman
I have a background/scheduled process to extract data from the AdWords API, 
and I've started receiving a message on the server that it failed to 
refresh access token.  The only info I can find on here seems to center 
around the refresh token having expired, but I use the same refresh token 
on another server with similar scheduled processes, and it is still working 
on that server.  I only have ssh access to the server, so I need the token 
access to be offline since I cannot open a web browser for OAuth 
confirmation.  This was all working correctly until I had to restart the 
server earlier today.  Please advise!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/628d0d7b-5343-402f-aa73-d7b87ab6fc46%40googlegroups.com.


Re: Not working? CONNECTED_TV in Device Enum / Google Ads API

2019-06-13 Thread Jordan Liberman
Is there any further information on this?  Is it being investigated?

On Monday, June 10, 2019 at 10:18:04 AM UTC-7, Jordan Liberman wrote:
>
> I have provided this in the private response, but it seems those aren't 
> coming through:
>
> var req = new SearchGoogleAdsRequest()
> {
> PageSize = 1000,
> Query = @"SELECT
>  customer.descriptive_name,
>  campaign.id,
>  campaign.name,
>  customer.id,
>  segments.date,
>  segments.device,
>  metrics.average_cost,
>  metrics.impressions,
>  metrics.interactions,
>  metrics.clicks,
>  metrics.video_quartile_25_rate,
>  metrics.video_quartile_50_rate,
>  metrics.video_quartile_75_rate,
>  metrics.video_quartile_100_rate,
>  metrics.video_views,
>  metrics.cost_micros
> FROM
> campaign
> WHERE
> segments.date BETWEEN '" + 
> startDate.ToString("-MM-dd") +
> "' AND '" + endDate.ToString("-MM-dd") + 
> @"' 
> LIMIT
> 1000",
> CustomerId = customerId.ToString()
> };
>
> Results:
> Impressions Clicks Date Video Views Device Customer Id Total Cost
> 448 0 2019-06-09 226 Desktop 6949070300 5833090
> 1434 4 2019-06-09 779 Mobile 6949070300 18612845
> 461 1 2019-06-09 271 Tablet 6949070300 5587193
> In the API, I see matching numbers for Mobile and Tablet, but Desktop in 
> this data is the sum of Desktop + TV in the UI.
>
> On Monday, June 10, 2019 at 9:40:11 AM UTC-7, adsapiforumadvisor wrote:
>>
>> Hello Jordan,
>>
>> Could you please include information that Dannison and I asked last time 
>> (e.g., request ID, GAQL that you used, etc)?
>>
>> Best,
>> Thanet, Google Ads API Team
>>
>> ref:_00D1U1174p._5001UAqzJE: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/7189fcf0-ea03-4417-bf87-9d2a4b8661e4%40googlegroups.com.


Re: Not working? CONNECTED_TV in Device Enum / Google Ads API

2019-06-10 Thread Jordan Liberman
I have provided this in the private response, but it seems those aren't 
coming through:

var req = new SearchGoogleAdsRequest()
{
PageSize = 1000,
Query = @"SELECT
 customer.descriptive_name,
 campaign.id,
 campaign.name,
 customer.id,
 segments.date,
 segments.device,
 metrics.average_cost,
 metrics.impressions,
 metrics.interactions,
 metrics.clicks,
 metrics.video_quartile_25_rate,
 metrics.video_quartile_50_rate,
 metrics.video_quartile_75_rate,
 metrics.video_quartile_100_rate,
 metrics.video_views,
 metrics.cost_micros
FROM
campaign
WHERE
segments.date BETWEEN '" + 
startDate.ToString("-MM-dd") +
"' AND '" + endDate.ToString("-MM-dd") + 
@"' 
LIMIT
1000",
CustomerId = customerId.ToString()
};

Results:
Impressions Clicks Date Video Views Device Customer Id Total Cost
448 0 2019-06-09 226 Desktop 6949070300 5833090
1434 4 2019-06-09 779 Mobile 6949070300 18612845
461 1 2019-06-09 271 Tablet 6949070300 5587193
In the API, I see matching numbers for Mobile and Tablet, but Desktop in 
this data is the sum of Desktop + TV in the UI.

On Monday, June 10, 2019 at 9:40:11 AM UTC-7, adsapiforumadvisor wrote:
>
> Hello Jordan,
>
> Could you please include information that Dannison and I asked last time 
> (e.g., request ID, GAQL that you used, etc)?
>
> Best,
> Thanet, Google Ads API Team
>
> ref:_00D1U1174p._5001UAqzJE: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/a192622c-42d4-40dd-be0c-2fcc40d8e68e%40googlegroups.com.


Re: Not working? CONNECTED_TV in Device Enum / Google Ads API

2019-06-10 Thread Jordan Liberman
I am still apparently not receiving responses when replying privately to 
author.  I'm not sure how else to resolve this if I can't receive any 
responses.  Please advise.

On Wednesday, June 5, 2019 at 8:46:05 PM UTC-7, adsapiforumadvisor wrote:
>
> Hi Jordan,
>
> I have responded to your previous message privately. See my response below.
>
> I can confirm that you have metrics generated for TV screens. However, can 
> you also provide the complete GAQL you used to download the report and the 
> downloaded result for further investigation? Kindly use the *reply 
> privately to author* option.
>
> Regards,
> Dannison
> Google Ads API Team
>  
>
> ref:_00D1U1174p._5001UAqzJE: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/e8bb7d83-4ecf-4557-8be0-3bc8c1a98b27%40googlegroups.com.


Re: Not working? CONNECTED_TV in Device Enum / Google Ads API

2019-06-05 Thread Jordan Liberman
Hi,

Any update on this?  I have replied privately to the author twice but have 
received no response.

I also posted this issue on the GitHub for the dotnet client in case the 
issue was there, but they sent me back here and said the issue was not in 
the client, but at the API layer.

Please advise, this is a major blocker for us.

On Wednesday, May 29, 2019 at 8:54:57 PM UTC-7, adsapiforumadvisor wrote:
>
> Hi Jordan,
>
> Thanks for reaching out.
>
> To better investigate the issue, could you provide the clientCustomerId 
> you are using? You may use the *reply privately to author* option.
>
> Regards,
> Dannison
> Google Ads API Team
>
> ref:_00D1U1174p._5001UAqzJE: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/7019067f-cd7c-43c1-a415-52a8a4db4514%40googlegroups.com.


Not working? CONNECTED_TV in Device Enum / Google Ads API

2019-05-29 Thread Jordan Liberman
I see in the release notes for v1.3 of Google Ads API that CONNECTED_TV has 
been added to the device enum, which should theoretically make it available 
in query results.  I updated my client version and verified that the enum 
value is now included.

However, when I run queries, I am not receiving connected tv data back from 
the API.  From what I can see, the numbers returning under "Desktops" are 
the sum of what the UI shows for Desktops AND Connected TV, which appears 
to be a bug in the API.  Or, maybe the dotnet client is still pointing to 
the old version of the API somehow?  I'm not sure which layer has the 
issue, but this is preventing us from moving forward with migration to the 
new API.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ffcaa108-5bc9-4e9d-af32-20b279d5c26a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Device enum inconsistency in new ads api vs UI.

2019-05-23 Thread Jordan Liberman
I'm glad to see this issue has been fixed, as this was also blocking my 
team's development.  However I now find myself confused by version numbers.

The developer's blog lists this fix as being part of release 1.3.0.  
However, the latest version number of the nuget package with the client 
libraries is 2.0.0, and that was released on 5/2/19.  Browsing through the 
source code, I see a commit 2 hours ago that includes this new enum 
reference, with a comment that it's intended for release 2.1.0.  
https://github.com/googleads/google-ads-dotnet/commit/f29efa761e396cac8d6648dd9750bbc164fa4810#diff-0aa52c87dfb30c96607e543fe639b6f1

Are the client release versions separate of the API releases?  Is there any 
indication of (a) which versions align between API and client, and (b) when 
the updated nuget client will be available?

Thank you,
/Jordan

On Thursday, May 16, 2019 at 7:13:20 AM UTC-7, googleadsapi-forumadvisor 
wrote:
>
> Hello Darshan, 
>
> This issue has been fixed and it will be available in the upcoming 
> releases. Please keep an eye on our release notes 
>  for 
> more updates.
>
> Thanks,
> Bharani, Google Ads API Team
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> 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/aa6ae97f-81ad-4675-ad8f-9d55372dac40%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Google Ads .Net Client in .Net Core API context

2019-05-20 Thread Jordan Liberman
I have a successful C# console app (.NET Core 2.2) that connects to the API 
using the client provided, and returns data.  I am trying to add a .NET 
Core Web API project to access the same code, but it times out on any query 
I try to run ("TRANSIENT_FAILURE").  Is there something different that is 
needed in the config when running in a Web API context vs. console app?  I 
copied the same config that worked in the console app.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/4981c880-a0bf-4ee0-8c15-834b9cfa20a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.