Tuesday, September 23, 2014

Digest for adsense-api@googlegroups.com - 1 update in 1 topic

"Jose Alcérreca (AdSense API Team)" <adsenseapiadvisor+jose@google.com>: Sep 22 03:04AM -0700

Hi Robert,
 
The stack trace doesn't tell us what's going on. Are you trying to use the
client library from a Windows Phone? Maybe the folks that support the
client library can help you with
that: https://code.google.com/p/google-api-dotnet-client
 
Cheers,
Jose
 
 
 
On Thursday, 18 September 2014 15:17:12 UTC+1, Robert Gabriel Verdes wrote:
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to adsense-api+unsubscribe@googlegroups.com.

Saturday, September 20, 2014

Digest for adsense-api@googlegroups.com - 1 update in 1 topic

Robert Gabriel Verdes <verdesg.robert@gmail.com>: Sep 18 07:17AM -0700

When trying to call
 
var credential = await GoogleWebAuthorizationBroker.AuthorizeAsync(
new ClientSecrets
{
.......
},
new string[] { AdSenseService.Scope.AdsenseReadonly },
"user",
CancellationToken.None);
 
after it finishes it crashes with following exception:
 
Exception of type 'Microsoft.Phone.Controls.WebBrowserNavigationException'
was thrown.
with StackTrace:
 
at
Microsoft.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at Microsoft.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task
task)
at Microsoft.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at
Microsoft.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
at
Google.Apis.Auth.OAuth2.AuthorizationCodeInstalledApp.<AuthorizeAsync>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task
task)
at
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
at
System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
at
Google.Apis.Auth.OAuth2.GoogleWebAuthorizationBroker.<AuthorizeAsyncCore>d__a.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task
task)
at
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
at
System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
at
Google.Apis.Auth.OAuth2.GoogleWebAuthorizationBroker.<AuthorizeAsync>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task
task)
at
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at AdSense.Sample.AdSenseSample.<Main>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task
task)
at
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at MyNotifications.MainPage.<LoadWPDev>d__14.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task
task)
at
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at MyNotifications.MainPage.<OnNavigatedTo>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at
System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__3(Object
state)
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to adsense-api+unsubscribe@googlegroups.com.

Saturday, September 6, 2014

Digest for adsense-api@googlegroups.com - 2 updates in 1 topic

lawrence kalinowski <lwkalinowski@gmail.com>: Sep 03 01:56PM -0700

I manage two adsense accounts (two different logins & ad client id's). Each
account has an adsense management api application configured.
 
One adsense account returns data via the API; the other does not unless I
go back to 2012. Both contain current data.
 
I don't understand why no data is being returned from the second unless I
use two year old startdate/enddate parameters.
 
 
How I tested:
 
I tested the API by logging into adsense, creating a report, & then using
the "Open in Google APIs Explorer" dropdown select to pre-populate the API
Explorer w/relevant dimensions & metrics, etc..
 
When using the pre-filled values & executing the API call via the explorer
-> no rows are returned. But of course in the performance reports page of
adsense, data is visible and reported.
 
Any idea what is disconnected here?
 
As I mentioned above, two adsense accounts & one is perfectly fine. Both
were setup in identical form. One is domestic US, the other is
international channels.
 
The one that is not responding with current data is the international form.
 
thanks -- Larry
"Jose Alcérreca (AdSense API Team)" <adsenseapiadvisor+jose@google.com>: Sep 05 08:30AM -0700

Hi Larry,
 
Can't find anything you might be doing wrong :) Can you reply to me
privately with both account IDs so I can have a look?
 
Cheers,
Jose
 
On Wednesday, 3 September 2014 21:56:50 UTC+1, lawrence kalinowski wrote:
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to adsense-api+unsubscribe@googlegroups.com.