Re: invalid_request with .NET API for Report Request - Size Issue?

2014-05-02 Thread Ray Tsang (AdWords API Team)
Please share the top level MCC CID.

When you say 3 top accounts, do you mean they are top 3 that also belong 
to a single MCC CID?  Or are you logging in to each of the 3 MCC accounts 
individually?

Secondly, I recall that there was a similar question about .Net and service 
accounts previously - did that work?  Does the same mechanism work for *any* 
account? 
 Is it failing for *all *accounts?

Thanks,

On Thursday, May 1, 2014 10:43:56 PM UTC-4, apiapi wrote:

 It is happening for certain accounts under 3 top accounts. I cannot tell 
 if the problem is with the account or the AdGroups. I do not see any 
 differentiating properties on the account objects for those that work vs 
 those that break.

 Each of the 3 accounts has many sub-accounts. If you would like me to 
 share the account IDs, I can do so privately.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords 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 Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: invalid_request with .NET API for Report Request - Size Issue?

2014-05-02 Thread apiapi
Hi Ray. Our Service Account generally works. The Service Account is tied to 
our master MCC. Under this MCC are multiple accounts, some of which are 
MCCs themselves - but my question does not include those child MCC 
accounts. I can provide the Account IDs out-of-band of the forum so you can 
view those account types.

When obtaining AdGroup information for some accounts under one of these 
top accounts, I get the invalid_request message. I do not believe that 
the request itself is invalid, because my code loops over all accounts and 
all AdGroups and it fails for the same accounts/AdGroups repeatedly. Maybe 
the problem is in the error messaging?


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords 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 Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: invalid_request with .NET API for Report Request - Size Issue?

2014-05-02 Thread Ray Tsang (AdWords API Team)
If the 3 top level accounts are *not* under the master MCC, then you 
can't use the master MCC's access token to access those accounts.  Please 
provide those 3 account CIDs by using the reply to author feature.

Because the error came from OAuth 2.0 authorization, it's not an invalid 
report request, but rather, it's an invalid OAuth request.  I.e., there may 
be incorrect information passed to exchange service credentials for the 
access token.

Thanks,

Ray

On Friday, May 2, 2014 11:23:03 AM UTC-4, apiapi wrote:

 Hi Ray. Our Service Account generally works. The Service Account is tied 
 to our master MCC. Under this MCC are multiple accounts, some of which 
 are MCCs themselves - but my question does not include those child MCC 
 accounts. I can provide the Account IDs out-of-band of the forum so you can 
 view those account types.

 When obtaining AdGroup information for some accounts under one of these 
 top accounts, I get the invalid_request message. I do not believe that 
 the request itself is invalid, because my code loops over all accounts and 
 all AdGroups and it fails for the same accounts/AdGroups repeatedly. Maybe 
 the problem is in the error messaging?




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords 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 Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


invalid_request with .NET API for Report Request - Size Issue?

2014-05-01 Thread apiapi
Using v17 of the .NET library. Using a real Service Account for downloading 
data.

I am attempting to download a PAID_ORGANIC_QUERY_REPORT for a particular 
client. There are 545 AdGroups in the selector/predicate (using the in 
clause). If I specify the date range as 3 days, I get xml.gz files with 
zero rows of data. If I specify a range of 12 days, I get this error - 

Google.Api.Ads.Common.Lib.AdsOAuthException:
Failed to get access token for service account.
{
  error : invalid_request
}

I am trying to understand the circumstances around getting this error. I am 
open to setup a shared-desktop session to make this work, I have sunk a lot 
of time into trying to understand the circumstances around the 
account/request problem.


Thanks.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords 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 Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: invalid_request with .NET API for Report Request - Size Issue?

2014-05-01 Thread apiapi
The Service account basically works when making other API calls (enumerate 
accounts, campaigns, etc). I do get failures that appear to be random, but 
I have a retry structure in place which eventually gets the data. The 
problem appears to be consistent with the making the report calls, however.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords 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 Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: invalid_request with .NET API for Report Request - Size Issue?

2014-05-01 Thread Ray Tsang (AdWords API Team)
Hi,

Quick question - is it working for many other accounts and only a few has 
this issue?  Or is it failing for all accounts?

Thanks,

Ray

On Thursday, May 1, 2014 3:50:19 PM UTC-4, apiapi wrote:

 Using v17 of the .NET library. Using a real Service Account for 
 downloading data.

 I am attempting to download a PAID_ORGANIC_QUERY_REPORT for a particular 
 client. There are 545 AdGroups in the selector/predicate (using the in 
 clause). If I specify the date range as 3 days, I get xml.gz files with 
 zero rows of data. If I specify a range of 12 days, I get this error - 

 Google.Api.Ads.Common.Lib.AdsOAuthException:
 Failed to get access token for service account.
 {
   error : invalid_request
 }

 I am trying to understand the circumstances around getting this error. I 
 am open to setup a shared-desktop session to make this work, I have sunk a 
 lot of time into trying to understand the circumstances around the 
 account/request problem.


 Thanks.




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords 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 Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: invalid_request with .NET API for Report Request - Size Issue?

2014-05-01 Thread apiapi
It is happening for certain accounts under a top account. I cannot tell 
if the problem is with the account or the AdGroups. I do not see any 
differentiating properties on the account objects for those that work vs 
those that break.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords 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 Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: invalid_request with .NET API for Report Request - Size Issue?

2014-05-01 Thread apiapi
It is happening for certain accounts under 3 top accounts. I cannot tell 
if the problem is with the account or the AdGroups. I do not see any 
differentiating properties on the account objects for those that work vs 
those that break.

Each of the 3 accounts has many sub-accounts. If you would like me to share 
the account IDs, I can do so privately.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords 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 Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.