AdWords API token time

2012-08-13 Thread nick_ddm
Hello!

I know there's a lot of these posts about how long Google is taking to 
approve AdWords API but, despite being in communication with Google, we've 
been in limbo (neither fully approved nor declined) for over 7 months now;

We've had some communication, and we've provided all the details needed as 
outlined on the Application guidelines, plus answered any questions from 
the AdWords team, but the turnaround time is ridiculous.

Is there anything else we can provide the tokens team that will help them 
with reviewing our application, or some way of escalating it considering 
how long it's been in the queue?

Kind Regards,

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: Keywords_Performance_Report - how to download data for deleted keywords?

2012-08-13 Thread Dorian Kind
Hi Crosby,

my guess would be that the "IsNegative" field is preventing zero-impression 
rows (and thus deleted keywords) from being returned. Try your report query 
with that field removed from the selector to see if that's really the case.

Cheers,
Dorian

On Monday, August 13, 2012 10:40:23 PM UTC+2, Crosby 
(StoneTempleConsulting) wrote:
>
> I'm trying to get a full snapshot of all structure data, including deleted 
> keywords.
> The following report spec appears to fail to return data for deleted 
> keywords in some cases.
> Any help modifying my report spec, or explaining the proper use of AdHoc 
> reports for my purpose would be great.
>
> adwords lib: v201109
> .NET lib: awapi_dotnet_lib_v13.3.0
>
> FYI: In another report, I do get performance data, including rows for 
> keywords which are currently deleted, but which got traffic during my 
> report range.  That's good.  However, in this report I'm not interested in 
> performance data per se.  I'd like to be able to pull a report the status 
> of everything as of today.
>
> FYI - date range set to "today" elsewhere in the code.
> FYI - setting definition.includeZeroImpressions = true;
>
>
> possible cause: Is this a data freshness issue?
>
> <>
>
>   ReportDefinition definition = new ReportDefinition();
>  
>   definition.reportName = "PPCTools_Adwords_AdGroupCriterion";
>   definition.reportType = 
> ReportDefinitionReportType.KEYWORDS_PERFORMANCE_REPORT;
>   definition.downloadFormat = DownloadFormat.TSV;
>   definition.dateRangeType = ReportDefinitionDateRangeType.CUSTOM_DATE;
>  
>   // http://code.google.com/apis/adwords/docs/appendix/reports.html
>   Selector selector = new Selector();
>   selector.fields = new string[] {
> "ExternalCustomerId"
> ,"CampaignId"
> ,"AdGroupId"
> ,"Id"
> ,"AccountDescriptiveName"
> ,"CampaignName"
> ,"AdGroupName"
> ,"KeywordText"
> ,"KeywordMatchType"
> ,"IsNegative"
> ,"MaxCpc"
> ,"CampaignStatus"
> ,"AdGroupStatus"
> ,"Status"
> ,"QualityScore"
>   };
>  
>   // Fails to download deleted keywords
>   Predicate statusPredicate = new Predicate();
>   statusPredicate.field = "Status";
>   statusPredicate.@operator = PredicateOperator.IN;
>   statusPredicate.values = new string[] { "ACTIVE", "PAUSED", "DELETED" };
>  
>   // NOPE: Seems to limit us to non-deleted keywords.  We want everything.
>   //Predicate ImpressionsPredicate = new Predicate();
>   //ImpressionsPredicate.field = "Impressions";
>   //ImpressionsPredicate.@operator = 
> PredicateOperator.GREATER_THAN_EQUALS;
>   //ImpressionsPredicate.values = new string[] { "0" };
>  
>   // NOPE: Seems to limit to items with traffic on the search network.  
> We want everything.
>   //Predicate AdNetworkType1Predicate = new Predicate();
>   //AdNetworkType1Predicate.field = "AdNetworkType1";
>   //AdNetworkType1Predicate.@operator = PredicateOperator.IN;
>   //AdNetworkType1Predicate.values = new string[] { "SEARCH" };
>  
>   //selector.predicates = new Predicate[] { statusPredicate, 
> ImpressionsPredicate, AdNetworkType1Predicate };
>   //selector.predicates = new Predicate[] { statusPredicate, 
> ImpressionsPredicate };
>   selector.predicates = new Predicate[] { statusPredicate };
>  
>   selector.dateRange = dates;
>  
>   definition.selector = selector;
>   definition.includeZeroImpressions = true;
>   bool inMicros = false;
>
>
>
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: OperatingSystemVersion

2012-08-13 Thread David Torres
Hi Vishal,

OperatingSystemVersion
 criteria 
can be added to campaign via the 
CampaignCriterionService
.

We don't have an specific example about adding this type of criteria but 
you can refer to this 
example
 which 
adds campaign criteria in general and can be easily modified for the 
OperatingSystemVersion criteria.

Best,

-David Torres - AdWords API Team

On Wednesday, August 8, 2012 8:12:59 AM UTC-4, Thakur Vishal wrote:
>
> Hi Team,
>
> Can we add Operating System Version,major version and minor version using 
> v201109 .
>
> Where can we find the sample code to add operating System version.
>
>
> Thanks in advance
> Vishal
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: v201206 authentification error (latest perl v201206 client library)

2012-08-13 Thread David Torres
Hi Maxim,

What kind of authorization method are you trying to use? which keys are you 
setting in your adwords.properties file?

Best,

-David Torres - Author of the Perl client library

On Wednesday, August 8, 2012 7:17:45 AM UTC-4, Maxim Kurapatkin wrote:
>
> Hello,
> I'm trying switch on the newest perl library and 201206 API version.
> I can't proceed thru the authentification for some reason, i guess the 
> problem is because  Here is request and responses:
>
> Request:
>
> http://www.w3.org/2001/XMLSchema-instance"; 
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"; 
> >https://adwords.google.com/api/adwords/cm/v201206";> xmlns="https://adwords.google.com/api/adwords/cm/v201206";>XXX-581-2728  
> xmlns="https://adwords.google.com/api/adwords/cm/v201206";>REDACTED  
> xmlns="https://adwords.google.com/api/adwords/cm/v201206";>INSERT_USER_AGENT_HERE
>  
> (AwApi-Perl/2.7.0, Common-Perl/2.0.0, SOAP-WSDL/2.00.10, libwww-perl/2.033, 
> perl/5.008008)https://adwords.google.com/api/adwords/cm/v201206";>false  
> xmlns="https://adwords.google.com/api/adwords/cm/v201206";>false  
> xmlns="https://adwords.google.com/api/adwords/cm/v201206
> ">IdNameStatusEndDateStartDateServingStatus
>
>
> Response:
>
>  xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>  
> xmlns="https://adwords.google.com/api/adwords/cm/v201206";>0004c6bf06f8f9e00a42dde446c7CampaignServiceget01270soap:Server[AuthorizationError.USER_PERMISSION_DENIED
>  
> @ ; trigger:'']https://adwords.google.com/api/adwords/cm/v201206";>[AuthorizationError.USER_PERMISSION_DENIED
>  
> @ ; 
> trigger:'']ApiException  
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
> xsi:type="AuthorizationError">AuthorizationError.USER_PERMISSION_DENIEDAuthorizationErrorUSER_PERMISSION_DENIED
>
> Thanks in advance!
>
> -Maxim
>
>
>
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: Keywords_Performance_Report - how to download data for deleted keywords?

2012-08-13 Thread Crosby (StoneTempleConsulting)
Possibly Resolved: Include the entire date range in order to get all 
inactive objects.

Is this really the only way to get everything?
Is there a better way to get status, Bid, and QualityScore for ALL 
Keywords, as of today?

thanks kindly,
~Crosby

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Keywords_Performance_Report - how to download data for deleted keywords?

2012-08-13 Thread Crosby (StoneTempleConsulting)
I'm trying to get a full snapshot of all structure data, including deleted 
keywords.
The following report spec appears to fail to return data for deleted 
keywords in some cases.
Any help modifying my report spec, or explaining the proper use of AdHoc 
reports for my purpose would be great.

adwords lib: v201109
.NET lib: awapi_dotnet_lib_v13.3.0

FYI: In another report, I do get performance data, including rows for 
keywords which are currently deleted, but which got traffic during my 
report range.  That's good.  However, in this report I'm not interested in 
performance data per se.  I'd like to be able to pull a report the status 
of everything as of today.

FYI - date range set to "today" elsewhere in the code.
FYI - setting definition.includeZeroImpressions = true;


possible cause: Is this a data freshness issue?

<>

  ReportDefinition definition = new ReportDefinition();
 
  definition.reportName = "PPCTools_Adwords_AdGroupCriterion";
  definition.reportType = 
ReportDefinitionReportType.KEYWORDS_PERFORMANCE_REPORT;
  definition.downloadFormat = DownloadFormat.TSV;
  definition.dateRangeType = ReportDefinitionDateRangeType.CUSTOM_DATE;
 
  // http://code.google.com/apis/adwords/docs/appendix/reports.html
  Selector selector = new Selector();
  selector.fields = new string[] {
"ExternalCustomerId"
,"CampaignId"
,"AdGroupId"
,"Id"
,"AccountDescriptiveName"
,"CampaignName"
,"AdGroupName"
,"KeywordText"
,"KeywordMatchType"
,"IsNegative"
,"MaxCpc"
,"CampaignStatus"
,"AdGroupStatus"
,"Status"
,"QualityScore"
  };
 
  // Fails to download deleted keywords
  Predicate statusPredicate = new Predicate();
  statusPredicate.field = "Status";
  statusPredicate.@operator = PredicateOperator.IN;
  statusPredicate.values = new string[] { "ACTIVE", "PAUSED", "DELETED" };
 
  // NOPE: Seems to limit us to non-deleted keywords.  We want everything.
  //Predicate ImpressionsPredicate = new Predicate();
  //ImpressionsPredicate.field = "Impressions";
  //ImpressionsPredicate.@operator = PredicateOperator.GREATER_THAN_EQUALS;
  //ImpressionsPredicate.values = new string[] { "0" };
 
  // NOPE: Seems to limit to items with traffic on the search network.  We 
want everything.
  //Predicate AdNetworkType1Predicate = new Predicate();
  //AdNetworkType1Predicate.field = "AdNetworkType1";
  //AdNetworkType1Predicate.@operator = PredicateOperator.IN;
  //AdNetworkType1Predicate.values = new string[] { "SEARCH" };
 
  //selector.predicates = new Predicate[] { statusPredicate, 
ImpressionsPredicate, AdNetworkType1Predicate };
  //selector.predicates = new Predicate[] { statusPredicate, 
ImpressionsPredicate };
  selector.predicates = new Predicate[] { statusPredicate };
 
  selector.dateRange = dates;
 
  definition.selector = selector;
  definition.includeZeroImpressions = true;
  bool inMicros = false;



-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Report "account timezone" has incorrect offset

2012-08-13 Thread Brandon Parise
I pull a report @ 3:30PM EST and this is an example row:

98697020,2012-08-13,15,(GMT-05:00) Eastern Time

The problem here is that currently Eastern Time is GMT-04:00 due to 
daylight savings.

This is causing some confusion on our end because 3PM @ -05:00 offset is 
actually in the "future"

Brandon

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: Sandbox Problem: [OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ operations[0]]

2012-08-13 Thread Kevin Winter
Hi,
  Could you please check the SOAP XML log (see the README) after running 
the GetAccountHierarchy example?  Due to some sandbox quirks, not all the 
libraries properly handle the sandbox SOAP response.  If you are getting 
back client accounts that have non-0 IDs, you should be able to set one as 
your clientCustomerId in your adwords.properties file which should make the 
AddCampaigns example run.  If the SOAP contains 0's for IDs, you'll have to 
wait until we fix an outstanding 
bug
.

- Kevin Winter
AdWords API Team

On Monday, August 13, 2012 1:02:52 PM UTC-4, Allan Lopez wrote:
>
> Also when I try to run the AddCampaigns.
> I get this error also: [OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED 
> @ operations[0]]
>
> I'm using v201109
>
> On Tuesday, August 14, 2012 12:30:27 AM UTC+8, Allan Lopez wrote:
>>
>> I'm also experiencing this as of now. I've just created a new google mail 
>> account a while ago. I am using  the php client library. 
>>
>> a. Call GetAllCampaigns example to initialize the sandbox if not done 
>> already.  - returned "No campaigns were found."
>> b. Call GetAccountHierarchy example to get the list of sandbox accounts. 
>> - returned "(Customer Id, Account Name/Login, Link Status) 0, 
>> frogfor...@gmail.com , N/A"
>>
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: Can't compile AdWords API Example File?

2012-08-13 Thread Kevin Winter
Hi James,
  Based on these screenshots, it doesn't look like it's getting far enough 
to execute our library.  Besides your Window's machine firewall, are you 
perhaps behind a corporate firewall?  I'd recommend trying to compile 
another project with maven to make sure maven can reach any repositories.

- Kevin Winter
AdWords API Team

On Monday, August 13, 2012 12:58:14 PM UTC-4, Whistler Media wrote:
>
>
> Hey, 
> I have some snapshots before and after the firewall here.  I tried using 
> the "hello world" example found on this link  
> http://www.sonatype.com/books/mvnex-book/reference/simple-project-sect-create-simple.html
> .
> Best Regards,
> James R.
> On Monday, August 13, 2012 8:48:03 AM UTC-5, Kevin Winter wrote:
>>
>> Hi,
>>   I'd like to echo jstedman's comments.  The commandline output 
>> definitely makes it sound like a firewall or network issue.  The values in 
>> ads.properties are only used when the example is run, and the stacktrace 
>> would look much different if it got that far.  I suspect that your Mint 
>> machine has a different network environment from the windows machine, 
>> allowing maven to pull the dependecies, etc, that it needs.
>>
>> - Kevin Winter
>> AdWords API Team
>>
>> On Friday, August 10, 2012 1:01:10 PM UTC-4, jstedman wrote:
>>>
>>> I would also try to create and compile a simple maven project using a 
>>> basic archetype and see if it works on your windows machine. I don't think 
>>> newlines should matter much in a pom.xml or java source file and I wouldn't 
>>> think a properties file would cause build headaches like this.
>>>
>>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: Reports not being returned in requested format

2012-08-13 Thread tozor
We are caching the AdwordsUser instance in our code (which contains the 
token).  However we were doing this in the reporting part of our 
application based on the account email, which is not the same as the email 
we use for authentication which is for our MCC.  So we would only 
authenticate once per account, but actually multiple times for the same MCC 
user.  We changed our code to directly cache the auth token for our MCC 
user.

Let me just give one more shout out to the good folks at Google that pay 
attention to this forum.  Our application has to work on both Google and 
The Search Engine Who Shall Not Be Named.  I can tell you that posting to 
that other forum is really just a typing exercise for the developer.  It is 
really a pleasure to know that if you take the time to formulate an 
intelligent query, that you will get one or more intelligent replies.

Tim

On Monday, August 13, 2012 11:45:09 AM UTC-5, Oliver wrote:
>
> Hi Tim, do you mind sharing which object is the one that actually needs 
> caching instead?
>
> Oliver
>
> On Monday, August 13, 2012 5:00:02 PM UTC+1, tozor wrote:
>>
>> After looking at the source of the Adwords java client library, we see 
>> where our code needs to be changed.  We were caching the tokens but not 
>> optimally for this report download code path.  Thanks again for the quick 
>> reply.  As a developer responsible for a very large application with a very 
>> large number of users, this quick reply is very much appreciated!
>>
>> Tim
>>
>> On Monday, August 13, 2012 9:24:01 AM UTC-5, tozor wrote:
>>>
>>> Thanks for the quick reply.  We are using the Adwords java client 
>>> library, the call that is failing is:
>>>
>>> Caused by: com.google.api.adwords.lib.AuthTokenException: Auth token 
>>> could not be retrieved because of error: CaptchaRequired
>>> at 
>>> com.google.api.adwords.lib.AuthToken.getAuthToken(AuthToken.java:133)
>>> at 
>>> com.google.api.adwords.lib.utils.v201109.ReportUtils.reloadAuthToken(ReportUtils.java:278)
>>> at 
>>> com.google.api.adwords.lib.utils.v201109.ReportUtils.downloadReport(ReportUtils.java:189)
>>>
>>> The downloadReport() method takes an AdwordsUser instance.  We are 
>>> caching this in our code so that we only authenticate once.  However from 
>>> looking at the stack trace, it looks like the Adwords client library is 
>>> actually reloading the auth token.  Since I don't have the source to the 
>>> Adwords client library, I am confused if your advice will actually help me.
>>>
>>> Tim
>>>
>>>
>>> On Monday, August 13, 2012 8:54:24 AM UTC-5, AdWords API Advisor wrote:

 Hello Tim, 


 You are being limited by the authorization mechanism, not AdWords API. 
 The 
 ClientLogin protocol refuses to authorize too often with the email and 
 password for security reason. We recommend either switching to OAuth2.0 
 or 
 storing and re-using AuthTokens. See this article for more details: 

   

 http://adwordsapi.blogspot.com/2010/07/discover-v2009-working-with-authtokens.html
  


 -Danial, AdWords API Team. 


 Original Message Follows: 
  
 From: tozor  
 Subject: Re: Reports not being returned in requested format 
 Date: Mon, 13 Aug 2012 06:24:36 -0700 (PDT) 

 > After some more research, the problem is that we are frequently 
 getting 
 the 
 > following error returned: 
 > 
 >  com.google.api.adwords.lib.utils.v201109.ReportException: Could not 
 obtain 
 > AuthToken 
 > 
 > which in turn is being caused by 
 > 
 >  Caused by: com.google.api.adwords.lib.AuthTokenException: Auth token 
 could 
 > not be retrieved because of error: CaptchaRequired 
 > 
 > We have added retries and delays and this helps some, but I am 
 wondering 

 > why we are getting this at all.  This started happening mid day last 
 > Thursday (8/9).  We have a very large application that manages 
 several 
 > hundred Adwords accounts.  So we pull reports of all types for all of 
 these 
 > accounts frequently (very frequently in the morning).  Is there a 
 rate 
 of 
 > report download requests that we must stay under?  This is causing 
 serious 
 > pain for our application so please let us know if this is an issue on 
 your 
 > end or if this is intended behavior, how we are supposed to code our 
 > application so that we are guaranteed to get the report we request. 
 > 
 > Thanks. 
 > 
 > Tim 
 > 
 > On Monday, August 13, 2012 3:56:01 AM UTC-5, Danial Klimkin wrote: 
 > > 
 > > Hi mm, 
 > > 
 > > 
 > > Do you use any of our client libraries? Are there any network 
 issues 
 you 
 > > see this morning as well? 
 > > 
 > > 
 > > -Danial, AdWords API Team. 
 > > 
 > > 
 > > On Friday, August 10, 2012 6

Re: Sandbox Problem: [OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ operations[0]]

2012-08-13 Thread Allan Lopez
Also when I try to run the AddCampaigns.
I get this error also: [OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ 
operations[0]]

I'm using v201109

On Tuesday, August 14, 2012 12:30:27 AM UTC+8, Allan Lopez wrote:
>
> I'm also experiencing this as of now. I've just created a new google mail 
> account a while ago. I am using  the php client library. 
>
> a. Call GetAllCampaigns example to initialize the sandbox if not done 
> already.  - returned "No campaigns were found."
> b. Call GetAccountHierarchy example to get the list of sandbox accounts. - 
> returned "(Customer Id, Account Name/Login, Link Status) 0, 
> frogforce.ag...@gmail.com, N/A"
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: Reports not being returned in requested format

2012-08-13 Thread Oliver
Hi Tim, do you mind sharing which object is the one that actually needs 
caching instead?

Oliver

On Monday, August 13, 2012 5:00:02 PM UTC+1, tozor wrote:
>
> After looking at the source of the Adwords java client library, we see 
> where our code needs to be changed.  We were caching the tokens but not 
> optimally for this report download code path.  Thanks again for the quick 
> reply.  As a developer responsible for a very large application with a very 
> large number of users, this quick reply is very much appreciated!
>
> Tim
>
> On Monday, August 13, 2012 9:24:01 AM UTC-5, tozor wrote:
>>
>> Thanks for the quick reply.  We are using the Adwords java client 
>> library, the call that is failing is:
>>
>> Caused by: com.google.api.adwords.lib.AuthTokenException: Auth token 
>> could not be retrieved because of error: CaptchaRequired
>> at 
>> com.google.api.adwords.lib.AuthToken.getAuthToken(AuthToken.java:133)
>> at 
>> com.google.api.adwords.lib.utils.v201109.ReportUtils.reloadAuthToken(ReportUtils.java:278)
>> at 
>> com.google.api.adwords.lib.utils.v201109.ReportUtils.downloadReport(ReportUtils.java:189)
>>
>> The downloadReport() method takes an AdwordsUser instance.  We are 
>> caching this in our code so that we only authenticate once.  However from 
>> looking at the stack trace, it looks like the Adwords client library is 
>> actually reloading the auth token.  Since I don't have the source to the 
>> Adwords client library, I am confused if your advice will actually help me.
>>
>> Tim
>>
>>
>> On Monday, August 13, 2012 8:54:24 AM UTC-5, AdWords API Advisor wrote:
>>>
>>> Hello Tim, 
>>>
>>>
>>> You are being limited by the authorization mechanism, not AdWords API. 
>>> The 
>>> ClientLogin protocol refuses to authorize too often with the email and 
>>> password for security reason. We recommend either switching to OAuth2.0 
>>> or 
>>> storing and re-using AuthTokens. See this article for more details: 
>>>
>>>   
>>>
>>> http://adwordsapi.blogspot.com/2010/07/discover-v2009-working-with-authtokens.html
>>>  
>>>
>>>
>>> -Danial, AdWords API Team. 
>>>
>>>
>>> Original Message Follows: 
>>>  
>>> From: tozor  
>>> Subject: Re: Reports not being returned in requested format 
>>> Date: Mon, 13 Aug 2012 06:24:36 -0700 (PDT) 
>>>
>>> > After some more research, the problem is that we are frequently 
>>> getting 
>>> the 
>>> > following error returned: 
>>> > 
>>> >  com.google.api.adwords.lib.utils.v201109.ReportException: Could not 
>>> obtain 
>>> > AuthToken 
>>> > 
>>> > which in turn is being caused by 
>>> > 
>>> >  Caused by: com.google.api.adwords.lib.AuthTokenException: Auth token 
>>> could 
>>> > not be retrieved because of error: CaptchaRequired 
>>> > 
>>> > We have added retries and delays and this helps some, but I am 
>>> wondering 
>>>
>>> > why we are getting this at all.  This started happening mid day last 
>>> > Thursday (8/9).  We have a very large application that manages several 
>>> > hundred Adwords accounts.  So we pull reports of all types for all of 
>>> these 
>>> > accounts frequently (very frequently in the morning).  Is there a rate 
>>> of 
>>> > report download requests that we must stay under?  This is causing 
>>> serious 
>>> > pain for our application so please let us know if this is an issue on 
>>> your 
>>> > end or if this is intended behavior, how we are supposed to code our 
>>> > application so that we are guaranteed to get the report we request. 
>>> > 
>>> > Thanks. 
>>> > 
>>> > Tim 
>>> > 
>>> > On Monday, August 13, 2012 3:56:01 AM UTC-5, Danial Klimkin wrote: 
>>> > > 
>>> > > Hi mm, 
>>> > > 
>>> > > 
>>> > > Do you use any of our client libraries? Are there any network issues 
>>> you 
>>> > > see this morning as well? 
>>> > > 
>>> > > 
>>> > > -Danial, AdWords API Team. 
>>> > > 
>>> > > 
>>> > > On Friday, August 10, 2012 6:27:18 PM UTC+4, mm wrote: 
>>> > >> 
>>> > >> Hey guys - 
>>> > >> I am seeing this problem with multiple (but not all) accounts this 
>>> > >> morning. I am requesting reports in gzipped csv format, but am 
>>> getting just 
>>> > >> csv. This is happening for KeywordPerformance and 
>>> CriteriaPerformance 
>>>
>>> > >> reports. Known issue? Fix forthcoming? 
>>> > >> 
>>> > >> Thanks - 
>>> > >> mm 
>>> > >> 
>>> > > 
>>> > 
>>> > -- 
>>> > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 
>>> > Also find us on our blog and discussion group: 
>>> > http://adwordsapi.blogspot.com 
>>> > http://groups.google.com/group/adwords-api 
>>> > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 
>>> > 
>>> > You received this message because you are subscribed to the Google 
>>> > Groups "AdWords API Forum" group. 
>>> > To post to this group, send email to adwor...@googlegroups.com 
>>> > To unsubscribe from this group, send email to 
>>> > adwords-api...@googlegroups.com 
>>> > For more options, visit this group at 
>>> > http://groups.google.com/group/adwords-api?hl=en 
>>>

Re: Sandbox Problem: [OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ operations[0]]

2012-08-13 Thread Allan Lopez
I'm also experiencing this as of now. I've just created a new google mail 
account a while ago. I am using  the php client library. 

a. Call GetAllCampaigns example to initialize the sandbox if not done 
already.  - returned "No campaigns were found."
b. Call GetAccountHierarchy example to get the list of sandbox accounts. - 
returned "(Customer Id, Account Name/Login, Link Status) 0, 
frogforce.ag...@gmail.com, N/A"

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: Reports not being returned in requested format

2012-08-13 Thread tozor
After looking at the source of the Adwords java client library, we see 
where our code needs to be changed.  We were caching the tokens but not 
optimally for this report download code path.  Thanks again for the quick 
reply.  As a developer responsible for a very large application with a very 
large number of users, this quick reply is very much appreciated!

Tim

On Monday, August 13, 2012 9:24:01 AM UTC-5, tozor wrote:
>
> Thanks for the quick reply.  We are using the Adwords java client library, 
> the call that is failing is:
>
> Caused by: com.google.api.adwords.lib.AuthTokenException: Auth token could 
> not be retrieved because of error: CaptchaRequired
> at 
> com.google.api.adwords.lib.AuthToken.getAuthToken(AuthToken.java:133)
> at 
> com.google.api.adwords.lib.utils.v201109.ReportUtils.reloadAuthToken(ReportUtils.java:278)
> at 
> com.google.api.adwords.lib.utils.v201109.ReportUtils.downloadReport(ReportUtils.java:189)
>
> The downloadReport() method takes an AdwordsUser instance.  We are caching 
> this in our code so that we only authenticate once.  However from looking 
> at the stack trace, it looks like the Adwords client library is actually 
> reloading the auth token.  Since I don't have the source to the Adwords 
> client library, I am confused if your advice will actually help me.
>
> Tim
>
>
> On Monday, August 13, 2012 8:54:24 AM UTC-5, AdWords API Advisor wrote:
>>
>> Hello Tim, 
>>
>>
>> You are being limited by the authorization mechanism, not AdWords API. 
>> The 
>> ClientLogin protocol refuses to authorize too often with the email and 
>> password for security reason. We recommend either switching to OAuth2.0 
>> or 
>> storing and re-using AuthTokens. See this article for more details: 
>>
>>   
>>
>> http://adwordsapi.blogspot.com/2010/07/discover-v2009-working-with-authtokens.html
>>  
>>
>>
>> -Danial, AdWords API Team. 
>>
>>
>> Original Message Follows: 
>>  
>> From: tozor  
>> Subject: Re: Reports not being returned in requested format 
>> Date: Mon, 13 Aug 2012 06:24:36 -0700 (PDT) 
>>
>> > After some more research, the problem is that we are frequently getting 
>> the 
>> > following error returned: 
>> > 
>> >  com.google.api.adwords.lib.utils.v201109.ReportException: Could not 
>> obtain 
>> > AuthToken 
>> > 
>> > which in turn is being caused by 
>> > 
>> >  Caused by: com.google.api.adwords.lib.AuthTokenException: Auth token 
>> could 
>> > not be retrieved because of error: CaptchaRequired 
>> > 
>> > We have added retries and delays and this helps some, but I am 
>> wondering 
>>
>> > why we are getting this at all.  This started happening mid day last 
>> > Thursday (8/9).  We have a very large application that manages several 
>> > hundred Adwords accounts.  So we pull reports of all types for all of 
>> these 
>> > accounts frequently (very frequently in the morning).  Is there a rate 
>> of 
>> > report download requests that we must stay under?  This is causing 
>> serious 
>> > pain for our application so please let us know if this is an issue on 
>> your 
>> > end or if this is intended behavior, how we are supposed to code our 
>> > application so that we are guaranteed to get the report we request. 
>> > 
>> > Thanks. 
>> > 
>> > Tim 
>> > 
>> > On Monday, August 13, 2012 3:56:01 AM UTC-5, Danial Klimkin wrote: 
>> > > 
>> > > Hi mm, 
>> > > 
>> > > 
>> > > Do you use any of our client libraries? Are there any network issues 
>> you 
>> > > see this morning as well? 
>> > > 
>> > > 
>> > > -Danial, AdWords API Team. 
>> > > 
>> > > 
>> > > On Friday, August 10, 2012 6:27:18 PM UTC+4, mm wrote: 
>> > >> 
>> > >> Hey guys - 
>> > >> I am seeing this problem with multiple (but not all) accounts this 
>> > >> morning. I am requesting reports in gzipped csv format, but am 
>> getting just 
>> > >> csv. This is happening for KeywordPerformance and 
>> CriteriaPerformance 
>>
>> > >> reports. Known issue? Fix forthcoming? 
>> > >> 
>> > >> Thanks - 
>> > >> mm 
>> > >> 
>> > > 
>> > 
>> > -- 
>> > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 
>> > Also find us on our blog and discussion group: 
>> > http://adwordsapi.blogspot.com 
>> > http://groups.google.com/group/adwords-api 
>> > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 
>> > 
>> > You received this message because you are subscribed to the Google 
>> > Groups "AdWords API Forum" group. 
>> > To post to this group, send email to adwor...@googlegroups.com 
>> > To unsubscribe from this group, send email to 
>> > adwords-api...@googlegroups.com 
>> > For more options, visit this group at 
>> > http://groups.google.com/group/adwords-api?hl=en 
>>
>>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWo

Re: API developer token taking crazy long

2012-08-13 Thread Kevin Winter
Hi all,
  We've added a sticky post to address questions like 
these: https://groups.google.com/d/topic/adwords-api/iAnYkJX1OD8/discussion

- Kevin Winter
AdWords API Team

On Monday, August 13, 2012 11:27:37 AM UTC-4, Mindcom wrote:
>
> Hi Kevin,
>
> I'm sorry if I'm writing in the wrong place here! 
>
> We applied some 5 months ago to get our Adwords API switched on and still 
> haven't had anything happen.. Although the contact team are good and check 
> for us, all they can say is that there is a back log.  However, I know 
> other people are being asked for more info and getting approved ahead of 
> us.  If you can give us any insight into what is going on I'd be super 
> grateful.
>
> Our MCC is 407-936-8186
>
> The developer token just states Pending approval and is:  
> 8x64uHsqtq43jbxq2HHEfw
>
> Kind regards.
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: Sandbox MCC GetCampaigns Not Generating Test ClientCustomerId Values

2012-08-13 Thread Kevin Winter
Hi all,
  I posted an update in another thread:

We're working on implementing and testing a fix that we hope to roll out in 
the coming week or two.

I apologize for the inconvenience.

- Kevin Winter
AdWords API Team

On Monday, August 13, 2012 11:06:44 AM UTC-4, Alex wrote:
>
> Account initialization on the sandbox has now broken for 3 weeks, can we 
> please have an estimated time to fix at least?
>
> Of course I'd prefer it to be working again now! ;)
>
>
> On Wednesday, 8 August 2012 12:23:32 UTC+1, techie ace wrote:
>>
>> I have been following this post to keep a tab on this issue, as I am also 
>> waiting for this to be resolved. Just wanted to know if there is any update?
>>
>> On Monday, August 6, 2012 4:46:49 PM UTC+1, Kevin Winter wrote:
>>
>>> Hi Sander, 
>>>   Unfortunately, I don't have an update at this time.  I'm pushing the 
>>> core engineers on this.
>>>
>>> - Kevin Winter
>>> AdWords API Team
>>>
>>> On Thursday, August 2, 2012 3:05:13 AM UTC-4, Sander wrote: 

 Hello Kevin, 

 I do not mean to push, but it has been a week since my first mentioning 
 of the problem.

 Can you give us some sort of an ETA on a fix so I can re-work our 
 planning ?

 Br,

 Sander



 Op woensdag 1 augustus 2012 22:59:36 UTC+2 schreef Kevin Winter het 
 volgende: 
>
> Hi Chris, 
>   If you have an approved developer token, you can access any AdWords 
> account in production that you already have.  Here's more information 
> about 
> signing up to use the AdWords API: 
> https://developers.google.com/adwords/api/docs/signingup
>
> - Kevin Winter
> AdWords API Team
>
> On Wednesday, August 1, 2012 1:51:15 PM UTC-4, chris wrote: 
>>
>> Hi Kevin,
>>
>> While the sandbox is down, is there a place to apply for a live 
>> account?  I can't seem to find any link.
>>
>> Thanks,
>> Chris
>>
>> On Tuesday, July 31, 2012 10:19:20 AM UTC-4, Kevin Winter wrote: 
>>>
>>> Yes, this is currently the case.  We apologize for the 
>>> inconvenience. 
>>>
>>> - Kevin Winter
>>> AdWords API Team
>>>
>>> On Monday, July 30, 2012 10:33:41 PM UTC-4, Sage Lewis wrote: 

 So just to confirm, setting up sandbox accounts is not possible at 
 the moment? 

 Knowing that will help me from going insane  :)

>>>
> On Wednesday, 8 August 2012 12:23:32 UTC+1, techie ace wrote:
>>
>> I have been following this post to keep a tab on this issue, as I am also 
>> waiting for this to be resolved. Just wanted to know if there is any update?
>>
>> On Monday, August 6, 2012 4:46:49 PM UTC+1, Kevin Winter wrote:
>>
>>> Hi Sander, 
>>>   Unfortunately, I don't have an update at this time.  I'm pushing the 
>>> core engineers on this.
>>>
>>> - Kevin Winter
>>> AdWords API Team
>>>
>>> On Thursday, August 2, 2012 3:05:13 AM UTC-4, Sander wrote: 

 Hello Kevin, 

 I do not mean to push, but it has been a week since my first mentioning 
 of the problem.

 Can you give us some sort of an ETA on a fix so I can re-work our 
 planning ?

 Br,

 Sander



 Op woensdag 1 augustus 2012 22:59:36 UTC+2 schreef Kevin Winter het 
 volgende: 
>
> Hi Chris, 
>   If you have an approved developer token, you can access any AdWords 
> account in production that you already have.  Here's more information 
> about 
> signing up to use the AdWords API: 
> https://developers.google.com/adwords/api/docs/signingup
>
> - Kevin Winter
> AdWords API Team
>
> On Wednesday, August 1, 2012 1:51:15 PM UTC-4, chris wrote: 
>>
>> Hi Kevin,
>>
>> While the sandbox is down, is there a place to apply for a live 
>> account?  I can't seem to find any link.
>>
>> Thanks,
>> Chris
>>
>> On Tuesday, July 31, 2012 10:19:20 AM UTC-4, Kevin Winter wrote: 
>>>
>>> Yes, this is currently the case.  We apologize for the 
>>> inconvenience. 
>>>
>>> - Kevin Winter
>>> AdWords API Team
>>>
>>> On Monday, July 30, 2012 10:33:41 PM UTC-4, Sage Lewis wrote: 

 So just to confirm, setting up sandbox accounts is not possible at 
 the moment? 

 Knowing that will help me from going insane  :)

>>>
> On Wednesday, 8 August 2012 12:23:32 UTC+1, techie ace wrote:
>>
>> I have been following this post to keep a tab on this issue, as I am also 
>> waiting for this to be resolved. Just wanted to know if there is any update?
>>
>> On Monday, August 6, 2012 4:46:49 PM UTC+1, Kevin Winter wrote:
>>
>>> Hi Sander, 
>>>   Unfortunately, I don't have an update at this time.  I'm pushing the 
>>> core engineers on this.
>>>
>>> - Kevin Winter
>>> AdWords API Team
>>>
>>> On Thursday, August 2, 2012 3:05:13 AM UTC-4, Sander wrote: 

 Hello

Re: OAuth - didn't see it mentioned so I thought I'd ask

2012-08-13 Thread Kevin Winter
Hi VijayRaj,
  I'm glad its working for you.  If you are using reports, you'll want to 
make sure you're using 1.7.1 - 1.7.0 had a bug with report downloads that 
1.7.1 fixes.

Regarding account info, you can use the CustomerService to obtain the 
information for the targeted account - in your scenario, it should return a 
single record for MCC.

- Kevin Winter
AdWords API Team

On Monday, August 13, 2012 7:44:52 AM UTC-4, VijayRaj Chauhan wrote:
>
> Hi Kevin,
>
> OAuth2 authentication is now working fine for javaWIth that token how 
> do I get the current users account information ??. I referred to the 
> GetAccountHierarchy.java example but it returns all the client emails as 
> well as mcc account emails. For e.g, if MCC_1 account is linked to MCC 
> account, running GetAccountHierarchy.java on MCC account will give the 
> result for MCC as well as MCC_1 account...How do I know which is the 
> current account details  (in this case MCC) ??
>
> TIA,
> VijayRaj
>
> On Monday, 30 July 2012 21:40:53 UTC+5:30, Kevin Winter wrote:
>>
>> Hi VijayRaj,
>>   I think that at this point this is a client-library-specific issue - 
>> could you please file an issue on the project issue tracker with your 
>> stacktrace and a quick description of your environemnt?  We're still 
>> looking into this, but having it on the issue tracker will keep the 
>> library-specific information where it belongs.
>>
>> - Kevin Winter
>> AdWords API Team
>>
>> On Thursday, July 26, 2012 1:53:07 AM UTC-4, VijayRaj Chauhan wrote:
>>>
>>> Hi Kevin,
>>>
>>> Kindly update this thread once you get any clue about this issue.
>>>
>>> TIA,
>>> VijayRaj
>>>
>>> On Wednesday, 25 July 2012 20:31:48 UTC+5:30, Kevin Winter wrote:

 Hi VijayRaj,
   We suspect that the reflections library we're using may have issues 
 with certain classpath setups 
 (JBossin 
 particular).  We're looking into this.

 - Kevin Winter
 AdWords API Team

 On Wednesday, July 25, 2012 3:59:49 AM UTC-4, VijayRaj Chauhan wrote:
>
> Hi Kevin,
>
> It works fine when I used in IDE...I get this error when I bundled 
> these jars in our web application inside the lib folder...Other than 
> these 
> jars we have only tomcat jars...
>
> TIA,
> VijayRaj
>
> On Friday, 20 July 2012 19:40:23 UTC+5:30, Kevin Winter wrote:
>>
>> Hi VijayRaj,
>>   I just set up a new eclipse project that only had the jars from 
>> adwords-axis-examples-1.5.0-dependencies and added the source of the 
>> examples.  I then ran GetCampaigns (which used my homedir ads.properties 
>> file) successfully.  What's different about your environment?  Are you 
>> using an IDE?  What else is on the classpath besides these jars?
>>
>> - Kevin Winter
>> AdWords API Team
>>
>> On Tuesday, July 17, 2012 3:43:20 AM UTC-4, VijayRaj Chauhan wrote:
>>>
>>> Hi Kevin,
>>>
>>> I have included all the dependency jars from 
>>> *adwords-axis-examples-1.5.0-dependencies.tar 
>>> *in my projectWhile trying to get Campaigns I get the following 
>>> error
>>>
>>> java.net.URISyntaxException: Illegal character in opaque part at 
 index 7
 at java.net.URI$Parser.fail(URI.java:2809)
 at java.net.URI$Parser.checkChars(URI.java:2982)
 at java.net.URI$Parser.parse(URI.java:3019)
 at java.net.URI.(URI.java:578)
 at java.net.URL.toURI(URL.java:918)
 at org.reflections.vfs.Vfs.normalizePath(Vfs.java:175)
 at org.reflections.vfs.Vfs$DefaultUrlTypes$3.matches(Vfs.java:160)
 at org.reflections.vfs.Vfs.fromURL(Vfs.java:94)
 at org.reflections.vfs.Vfs.fromURL(Vfs.java:88)
 at org.reflections.Reflections.scan(Reflections.java:199)
 at org.reflections.Reflections.(Reflections.java:91)
 at com.google.api.ads.common.lib.AdsModule.(AdsModule.java:60)
 at 
 com.google.api.ads.adwords.lib.AdWordsModule.(AdWordsModule.java:43)
 at 
 com.google.api.ads.adwords.lib.factory.AdWordsServiceClientFactory.(AdWordsServiceClientFactory.java:41)
 at 
 com.google.api.ads.adwords.lib.factory.AdWordsServices.(AdWordsServices.java:68)
 at 
 com.google.api.ads.adwords.lib.factory.AdWordsServices.(AdWordsServices.java:50)
>>>
>>>
>>> Do you have any idea about this error. Any help will be grateful.
>>>
>>> TIA,
>>> VijayRaj
>>>
>>> On Thursday, 31 May 2012 19:45:11 UTC+5:30, VijayRaj Chauhan wrote:

 Hi Kevin,

 I have filed an issue in the issue trackerKindly have a look at 
 it and let us know about the status..

 TIA,
 VijayRaj

 On Wednesday, 30 May 2012 00:24:34 UTC+5:30, Kevin Winter wrote:
>
> Hi VijayRaj,
>   I think this i

Re: @kevin >> sandbox account initialization logic didn't properly initialize accounts (and assigned them zeros).

2012-08-13 Thread Kevin Winter
Hi all,
  We apologize for this inconvenience.  We're working on implementing and 
testing a fix that we hope to roll out in the coming week or two.

- Kevin Winter
AdWords API Team

On Saturday, August 11, 2012 6:09:26 AM UTC-4, James Scott wrote:
>
>
>
> On Wednesday, July 25, 2012 10:56:51 PM UTC+2, Sander wrote:
>>
>> Hello Kevin,
>>
>> I took my problem out of the running topic on 
>> https://groups.google.com/forum/?fromgroups#!topic/adwords-api/RuzzccFvpE8 
>> to 
>> avoid confusion and because that discussion is flagged as answered.
>>
>>
>> I just made a brand new account, but have the same result with zeros :
>>
>> My code:
>>
>> $user = new AdWordsUser(null, $username, $password, $developerToken);
>> $user->SetDefaultServer("https://adwords-sandbox.google.com/";); 
>> $user->SetClientId(null);
>>
>> $campaignService = $user->GetService('CampaignService', 'v201109_1');
>>  // Create selector.
>> $selector = new Selector();
>> $selector->fields = array('Id', 'Name');
>> $selector->ordering[] = new OrderBy('Name', 'ASCENDING');
>>  // Create paging controls.
>> $selector->paging = new Paging(0, 
>> AdWordsConstants::RECOMMENDED_PAGE_SIZE);
>>  do {
>> // Make the get request.
>> $page = $campaignService->get($selector);
>>  // Display results.
>> if (isset($page->entries)) {
>> foreach ($page->entries as $campaign) {
>> printf("Campaign with name '%s' and id '%s' was found.\n",
>> $campaign->name, $campaign->id);
>> }
>> } else {
>> print "No campaigns were found.\n";
>> }
>>  // Advance the paging index.
>> $selector->paging->startIndex += AdWordsConstants::RECOMMENDED_PAGE_SIZE;
>> } while ($page->totalNumEntries > $selector->paging->startIndex);
>>
>>
>>  $campaignService = $user->GetService('CampaignService', 'v201109');
>>$customerSyncService = $user->GetService('CustomerSyncService', 
>> 'v201109');
>>   
>>$accountService = $user->GetService("ServicedAccountService", 
>> 'v201109');
>> $selector = new ServicedAccountSelector();
>> $page = $accountService->get($selector);
>>   
>> echo "";
>> print_r($page);
>>  foreach ($page->accounts as $account) {
>> print "Customer ID: {$account->customerId}\n";
>> }
>>
>> Resulting in:
>>
>> No campaigns were found.
>>
>> ServicedAccountGraph Object
>> (
>> [accounts] => Array
>> (
>> [0] => Account Object
>> (
>> [customerId] => 0
>> [login] => client_1+te...@gmail.com
>> [companyName] => 
>> [canManageClients] => 
>> [currencyCode] => 
>> [dateTimeZone] => 
>> )
>>
>> [1] => Account Object
>> (
>> [customerId] => 0
>> [login] => client_2+te...@gmail.com
>>
>> [companyName] => 
>> [canManageClients] => 
>> [currencyCode] => 
>> [dateTimeZone] => 
>> )
>>
>>
>> Am I in the wrong ?
>>
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: Retrieving keyword match type in v201206 Java lib

2012-08-13 Thread Kevin Winter
Hi,
  My apologies.  I spoke with some of the engineers who made the change and 
they indicated that due to backend changes, this information is no longer 
available in v201206 and probably future versions of the API.

- Kevin Winter, AdWords API Team

On Friday, August 10, 2012 2:58:29 AM UTC-4, Sephora wrote:
>
> I attached a screenshot of how the keywordtool looks like when i use it. 
> At the left you see the MatchTypes i am talking about. The search volumes 
> for a certain keyword are then given depending on these types.
>
> Am Donnerstag, 9. August 2012 17:07:33 UTC+2 schrieb Kevin Winter:
>>
>> Hi,
>>   I went into both the public UI you posted as well as the Keyword Tool 
>> within my production test account and in neither location could find 
>> anything to indicate a MatchType either in the suggested keywords or the 
>> seed phrase.  Could you clarify how you're doing this in the UI?
>>
>> - Kevin Winter
>> AdWords API Team
>>
>> On Wednesday, August 8, 2012 4:49:53 AM UTC-4, Sephora wrote:
>>>
>>> Hi Kevin,
>>>
>>> thanks for your answer. What is the UI you mention? The Keywordtool at  
>>> https://adwords.google.com/o/*KeywordTool* still has the option to get 
>>> the SearchVolume based on the match type for keywords. E.g. i get for the 
>>> keyword "test" and all three match types different search volumes for each 
>>> match type.
>>>
>>> Thanks in advance for your help!
>>>
>>>
>>> Am Mittwoch, 1. August 2012 16:30:46 UTC+2 schrieb Kevin Winter:

 Hi,
   This feature was actually removed from the UI and the API removed it 
 with v201206 to follow suit.  You can use the 
 RelatedToQuerySearchParameter 
 with a given search query to receive a list of proposed exact match 
 keywords.

 - Kevin Winter
 AdWords API Team

 On Monday, July 30, 2012 6:55:24 AM UTC-4, Sephora wrote:
>
> I am currently trying to migrate my Java Application to the AdWords 
> API v201206 (from v201109) and encounter problems when trying to get the 
> search volume of a keyword with a specific match type (broad, phrase, 
> exact). There doesn't seem to be an option/searchParameter to set the 
> match 
> type when performing a TargetingIdeaService-Query. Was this feature 
> dropped 
> with the new API version?
>
> The search parameter i used in v201109 was 
> KeywordMatchTypeSearchParameter, which now isn't available any more. 
> Is there an alternative?
>
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: API developer token taking crazy long

2012-08-13 Thread Mindcom
Hi Kevin,

I'm sorry if I'm writing in the wrong place here! 

We applied some 5 months ago to get our Adwords API switched on and still 
haven't had anything happen.. Although the contact team are good and check 
for us, all they can say is that there is a back log.  However, I know 
other people are being asked for more info and getting approved ahead of 
us.  If you can give us any insight into what is going on I'd be super 
grateful.

Our MCC is 407-936-8186

The developer token just states Pending approval and is:  
8x64uHsqtq43jbxq2HHEfw

Kind regards.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: Sandbox MCC GetCampaigns Not Generating Test ClientCustomerId Values

2012-08-13 Thread Alex
Account initialization on the sandbox has now broken for 3 weeks, can we 
please have an estimated time to fix at least?

Of course I'd prefer it to be working again now! ;)


On Wednesday, 8 August 2012 12:23:32 UTC+1, techie ace wrote:
>
> I have been following this post to keep a tab on this issue, as I am also 
> waiting for this to be resolved. Just wanted to know if there is any update?
>
> On Monday, August 6, 2012 4:46:49 PM UTC+1, Kevin Winter wrote:
>
>> Hi Sander, 
>>   Unfortunately, I don't have an update at this time.  I'm pushing the 
>> core engineers on this.
>>
>> - Kevin Winter
>> AdWords API Team
>>
>> On Thursday, August 2, 2012 3:05:13 AM UTC-4, Sander wrote: 
>>>
>>> Hello Kevin, 
>>>
>>> I do not mean to push, but it has been a week since my first mentioning 
>>> of the problem.
>>>
>>> Can you give us some sort of an ETA on a fix so I can re-work our 
>>> planning ?
>>>
>>> Br,
>>>
>>> Sander
>>>
>>>
>>>
>>> Op woensdag 1 augustus 2012 22:59:36 UTC+2 schreef Kevin Winter het 
>>> volgende: 

 Hi Chris, 
   If you have an approved developer token, you can access any AdWords 
 account in production that you already have.  Here's more information 
 about 
 signing up to use the AdWords API: 
 https://developers.google.com/adwords/api/docs/signingup

 - Kevin Winter
 AdWords API Team

 On Wednesday, August 1, 2012 1:51:15 PM UTC-4, chris wrote: 
>
> Hi Kevin,
>
> While the sandbox is down, is there a place to apply for a live 
> account?  I can't seem to find any link.
>
> Thanks,
> Chris
>
> On Tuesday, July 31, 2012 10:19:20 AM UTC-4, Kevin Winter wrote: 
>>
>> Yes, this is currently the case.  We apologize for the inconvenience. 
>>
>> - Kevin Winter
>> AdWords API Team
>>
>> On Monday, July 30, 2012 10:33:41 PM UTC-4, Sage Lewis wrote: 
>>>
>>> So just to confirm, setting up sandbox accounts is not possible at 
>>> the moment? 
>>>
>>> Knowing that will help me from going insane  :)
>>>
>>
On Wednesday, 8 August 2012 12:23:32 UTC+1, techie ace wrote:
>
> I have been following this post to keep a tab on this issue, as I am also 
> waiting for this to be resolved. Just wanted to know if there is any update?
>
> On Monday, August 6, 2012 4:46:49 PM UTC+1, Kevin Winter wrote:
>
>> Hi Sander, 
>>   Unfortunately, I don't have an update at this time.  I'm pushing the 
>> core engineers on this.
>>
>> - Kevin Winter
>> AdWords API Team
>>
>> On Thursday, August 2, 2012 3:05:13 AM UTC-4, Sander wrote: 
>>>
>>> Hello Kevin, 
>>>
>>> I do not mean to push, but it has been a week since my first mentioning 
>>> of the problem.
>>>
>>> Can you give us some sort of an ETA on a fix so I can re-work our 
>>> planning ?
>>>
>>> Br,
>>>
>>> Sander
>>>
>>>
>>>
>>> Op woensdag 1 augustus 2012 22:59:36 UTC+2 schreef Kevin Winter het 
>>> volgende: 

 Hi Chris, 
   If you have an approved developer token, you can access any AdWords 
 account in production that you already have.  Here's more information 
 about 
 signing up to use the AdWords API: 
 https://developers.google.com/adwords/api/docs/signingup

 - Kevin Winter
 AdWords API Team

 On Wednesday, August 1, 2012 1:51:15 PM UTC-4, chris wrote: 
>
> Hi Kevin,
>
> While the sandbox is down, is there a place to apply for a live 
> account?  I can't seem to find any link.
>
> Thanks,
> Chris
>
> On Tuesday, July 31, 2012 10:19:20 AM UTC-4, Kevin Winter wrote: 
>>
>> Yes, this is currently the case.  We apologize for the inconvenience. 
>>
>> - Kevin Winter
>> AdWords API Team
>>
>> On Monday, July 30, 2012 10:33:41 PM UTC-4, Sage Lewis wrote: 
>>>
>>> So just to confirm, setting up sandbox accounts is not possible at 
>>> the moment? 
>>>
>>> Knowing that will help me from going insane  :)
>>>
>>
On Wednesday, 8 August 2012 12:23:32 UTC+1, techie ace wrote:
>
> I have been following this post to keep a tab on this issue, as I am also 
> waiting for this to be resolved. Just wanted to know if there is any update?
>
> On Monday, August 6, 2012 4:46:49 PM UTC+1, Kevin Winter wrote:
>
>> Hi Sander, 
>>   Unfortunately, I don't have an update at this time.  I'm pushing the 
>> core engineers on this.
>>
>> - Kevin Winter
>> AdWords API Team
>>
>> On Thursday, August 2, 2012 3:05:13 AM UTC-4, Sander wrote: 
>>>
>>> Hello Kevin, 
>>>
>>> I do not mean to push, but it has been a week since my first mentioning 
>>> of the problem.
>>>
>>> Can you give us some sort of an ETA on a fix so I can re-work our 
>>> planning ?
>>>
>>> Br,
>>>
>>> Sander
>>>
>>>
>>>
>>> Op woensdag 1 augustus 2012 22:59:36 UTC+2 schreef Kevin Winter het 
>>> volgende: 

 Hi Chris, 
   If you have an approved developer token, you can access any AdWords 
 account in production that you alr

v2012106 .net client library?

2012-08-13 Thread Reed
I'm trying to determine the status of the .NET client library for v201206 - 
it sounded like there were some issues with it when it was first released.  
Are people still having problems, or is it now good to go, especially for 
the reporting service (ad hoc reports)?  Or should I wait for a drop of a 
new revision of the library?
 
thanks
reed
 

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: Reports not being returned in requested format

2012-08-13 Thread tozor
Thanks for the quick reply.  We are using the Adwords java client library, 
the call that is failing is:

Caused by: com.google.api.adwords.lib.AuthTokenException: Auth token could 
not be retrieved because of error: CaptchaRequired
at com.google.api.adwords.lib.AuthToken.getAuthToken(AuthToken.java:133)
at 
com.google.api.adwords.lib.utils.v201109.ReportUtils.reloadAuthToken(ReportUtils.java:278)
at 
com.google.api.adwords.lib.utils.v201109.ReportUtils.downloadReport(ReportUtils.java:189)

The downloadReport() method takes an AdwordsUser instance.  We are caching 
this in our code so that we only authenticate once.  However from looking 
at the stack trace, it looks like the Adwords client library is actually 
reloading the auth token.  Since I don't have the source to the Adwords 
client library, I am confused if your advice will actually help me.

Tim


On Monday, August 13, 2012 8:54:24 AM UTC-5, AdWords API Advisor wrote:
>
> Hello Tim, 
>
>
> You are being limited by the authorization mechanism, not AdWords API. The 
> ClientLogin protocol refuses to authorize too often with the email and 
> password for security reason. We recommend either switching to OAuth2.0 or 
> storing and re-using AuthTokens. See this article for more details: 
>
>   
>
> http://adwordsapi.blogspot.com/2010/07/discover-v2009-working-with-authtokens.html
>  
>
>
> -Danial, AdWords API Team. 
>
>
> Original Message Follows: 
>  
> From: tozor > 
> Subject: Re: Reports not being returned in requested format 
> Date: Mon, 13 Aug 2012 06:24:36 -0700 (PDT) 
>
> > After some more research, the problem is that we are frequently getting 
> the 
> > following error returned: 
> > 
> >  com.google.api.adwords.lib.utils.v201109.ReportException: Could not 
> obtain 
> > AuthToken 
> > 
> > which in turn is being caused by 
> > 
> >  Caused by: com.google.api.adwords.lib.AuthTokenException: Auth token 
> could 
> > not be retrieved because of error: CaptchaRequired 
> > 
> > We have added retries and delays and this helps some, but I am wondering 
>
> > why we are getting this at all.  This started happening mid day last 
> > Thursday (8/9).  We have a very large application that manages several 
> > hundred Adwords accounts.  So we pull reports of all types for all of 
> these 
> > accounts frequently (very frequently in the morning).  Is there a rate 
> of 
> > report download requests that we must stay under?  This is causing 
> serious 
> > pain for our application so please let us know if this is an issue on 
> your 
> > end or if this is intended behavior, how we are supposed to code our 
> > application so that we are guaranteed to get the report we request. 
> > 
> > Thanks. 
> > 
> > Tim 
> > 
> > On Monday, August 13, 2012 3:56:01 AM UTC-5, Danial Klimkin wrote: 
> > > 
> > > Hi mm, 
> > > 
> > > 
> > > Do you use any of our client libraries? Are there any network issues 
> you 
> > > see this morning as well? 
> > > 
> > > 
> > > -Danial, AdWords API Team. 
> > > 
> > > 
> > > On Friday, August 10, 2012 6:27:18 PM UTC+4, mm wrote: 
> > >> 
> > >> Hey guys - 
> > >> I am seeing this problem with multiple (but not all) accounts this 
> > >> morning. I am requesting reports in gzipped csv format, but am 
> getting just 
> > >> csv. This is happening for KeywordPerformance and CriteriaPerformance 
>
> > >> reports. Known issue? Fix forthcoming? 
> > >> 
> > >> Thanks - 
> > >> mm 
> > >> 
> > > 
> > 
> > -- 
> > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 
> > Also find us on our blog and discussion group: 
> > http://adwordsapi.blogspot.com 
> > http://groups.google.com/group/adwords-api 
> > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 
> > 
> > You received this message because you are subscribed to the Google 
> > Groups "AdWords API Forum" group. 
> > To post to this group, send email to adwor...@googlegroups.com 
> > To unsubscribe from this group, send email to 
> > adwords-api...@googlegroups.com  
> > For more options, visit this group at 
> > http://groups.google.com/group/adwords-api?hl=en 
>
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: Reports not being returned in requested format

2012-08-13 Thread AdWordsAPIAdvisor
Hello Tim,


You are being limited by the authorization mechanism, not AdWords API. The
ClientLogin protocol refuses to authorize too often with the email and
password for security reason. We recommend either switching to OAuth2.0 or
storing and re-using AuthTokens. See this article for more details:

 
http://adwordsapi.blogspot.com/2010/07/discover-v2009-working-with-authtokens.html


-Danial, AdWords API Team.


Original Message Follows:

From: tozor 
Subject: Re: Reports not being returned in requested format
Date: Mon, 13 Aug 2012 06:24:36 -0700 (PDT)

> After some more research, the problem is that we are frequently getting
the 
> following error returned:
> 
>  com.google.api.adwords.lib.utils.v201109.ReportException: Could not
obtain 
> AuthToken
> 
> which in turn is being caused by
> 
>  Caused by: com.google.api.adwords.lib.AuthTokenException: Auth token
could 
> not be retrieved because of error: CaptchaRequired
> 
> We have added retries and delays and this helps some, but I am wondering

> why we are getting this at all.  This started happening mid day last 
> Thursday (8/9).  We have a very large application that manages several 
> hundred Adwords accounts.  So we pull reports of all types for all of
these 
> accounts frequently (very frequently in the morning).  Is there a rate
of 
> report download requests that we must stay under?  This is causing
serious 
> pain for our application so please let us know if this is an issue on
your 
> end or if this is intended behavior, how we are supposed to code our 
> application so that we are guaranteed to get the report we request.
> 
> Thanks.
> 
> Tim
> 
> On Monday, August 13, 2012 3:56:01 AM UTC-5, Danial Klimkin wrote:
> >
> > Hi mm,
> >
> >
> > Do you use any of our client libraries? Are there any network issues
you 
> > see this morning as well?
> >
> >
> > -Danial, AdWords API Team.
> >
> >
> > On Friday, August 10, 2012 6:27:18 PM UTC+4, mm wrote:
> >>
> >> Hey guys -
> >> I am seeing this problem with multiple (but not all) accounts this 
> >> morning. I am requesting reports in gzipped csv format, but am
getting just 
> >> csv. This is happening for KeywordPerformance and CriteriaPerformance

> >> reports. Known issue? Fix forthcoming? 
> >>
> >> Thanks -
> >> mm
> >>
> >
> 
> -- 
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> http://adwordsapi.blogspot.com
> http://groups.google.com/group/adwords-api
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 
> 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

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: Can't compile AdWords API Example File?

2012-08-13 Thread Kevin Winter
Hi,
  I'd like to echo jstedman's comments.  The commandline output definitely 
makes it sound like a firewall or network issue.  The values in 
ads.properties are only used when the example is run, and the stacktrace 
would look much different if it got that far.  I suspect that your Mint 
machine has a different network environment from the windows machine, 
allowing maven to pull the dependecies, etc, that it needs.

- Kevin Winter
AdWords API Team

On Friday, August 10, 2012 1:01:10 PM UTC-4, jstedman wrote:
>
> I would also try to create and compile a simple maven project using a 
> basic archetype and see if it works on your windows machine. I don't think 
> newlines should matter much in a pom.xml or java source file and I wouldn't 
> think a properties file would cause build headaches like this.
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Adwords won't link to Google Analytics

2012-08-13 Thread jkinguk
Dear Google, 

I've been using a Google MCC account and I've tried linking Google 
Analytics to an Adwords account by going to Tools and Analytics > Google 
Analytics. 

It doesn't matter which browser I use, I encounter a 404 page not found 
error. 

I've called Google Support and I'm still awaiting a reponse. Has anyone 
else has this issue? 

Please help

Thanks 


-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: Reports not being returned in requested format

2012-08-13 Thread tozor
After some more research, the problem is that we are frequently getting the 
following error returned:

 com.google.api.adwords.lib.utils.v201109.ReportException: Could not obtain 
AuthToken

which in turn is being caused by

 Caused by: com.google.api.adwords.lib.AuthTokenException: Auth token could 
not be retrieved because of error: CaptchaRequired

We have added retries and delays and this helps some, but I am wondering 
why we are getting this at all.  This started happening mid day last 
Thursday (8/9).  We have a very large application that manages several 
hundred Adwords accounts.  So we pull reports of all types for all of these 
accounts frequently (very frequently in the morning).  Is there a rate of 
report download requests that we must stay under?  This is causing serious 
pain for our application so please let us know if this is an issue on your 
end or if this is intended behavior, how we are supposed to code our 
application so that we are guaranteed to get the report we request.

Thanks.

Tim

On Monday, August 13, 2012 3:56:01 AM UTC-5, Danial Klimkin wrote:
>
> Hi mm,
>
>
> Do you use any of our client libraries? Are there any network issues you 
> see this morning as well?
>
>
> -Danial, AdWords API Team.
>
>
> On Friday, August 10, 2012 6:27:18 PM UTC+4, mm wrote:
>>
>> Hey guys -
>> I am seeing this problem with multiple (but not all) accounts this 
>> morning. I am requesting reports in gzipped csv format, but am getting just 
>> csv. This is happening for KeywordPerformance and CriteriaPerformance 
>> reports. Known issue? Fix forthcoming? 
>>
>> Thanks -
>> mm
>>
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: OAuth - didn't see it mentioned so I thought I'd ask

2012-08-13 Thread VijayRaj Chauhan
Hi Kevin,

OAuth2 authentication is now working fine for javaWIth that token how 
do I get the current users account information ??. I referred to the 
GetAccountHierarchy.java example but it returns all the client emails as 
well as mcc account emails. For e.g, if MCC_1 account is linked to MCC 
account, running GetAccountHierarchy.java on MCC account will give the 
result for MCC as well as MCC_1 account...How do I know which is the 
current account details  (in this case MCC) ??

TIA,
VijayRaj

On Monday, 30 July 2012 21:40:53 UTC+5:30, Kevin Winter wrote:
>
> Hi VijayRaj,
>   I think that at this point this is a client-library-specific issue - 
> could you please file an issue on the project issue tracker with your 
> stacktrace and a quick description of your environemnt?  We're still 
> looking into this, but having it on the issue tracker will keep the 
> library-specific information where it belongs.
>
> - Kevin Winter
> AdWords API Team
>
> On Thursday, July 26, 2012 1:53:07 AM UTC-4, VijayRaj Chauhan wrote:
>>
>> Hi Kevin,
>>
>> Kindly update this thread once you get any clue about this issue.
>>
>> TIA,
>> VijayRaj
>>
>> On Wednesday, 25 July 2012 20:31:48 UTC+5:30, Kevin Winter wrote:
>>>
>>> Hi VijayRaj,
>>>   We suspect that the reflections library we're using may have issues 
>>> with certain classpath setups 
>>> (JBossin 
>>> particular).  We're looking into this.
>>>
>>> - Kevin Winter
>>> AdWords API Team
>>>
>>> On Wednesday, July 25, 2012 3:59:49 AM UTC-4, VijayRaj Chauhan wrote:

 Hi Kevin,

 It works fine when I used in IDE...I get this error when I bundled 
 these jars in our web application inside the lib folder...Other than these 
 jars we have only tomcat jars...

 TIA,
 VijayRaj

 On Friday, 20 July 2012 19:40:23 UTC+5:30, Kevin Winter wrote:
>
> Hi VijayRaj,
>   I just set up a new eclipse project that only had the jars from 
> adwords-axis-examples-1.5.0-dependencies and added the source of the 
> examples.  I then ran GetCampaigns (which used my homedir ads.properties 
> file) successfully.  What's different about your environment?  Are you 
> using an IDE?  What else is on the classpath besides these jars?
>
> - Kevin Winter
> AdWords API Team
>
> On Tuesday, July 17, 2012 3:43:20 AM UTC-4, VijayRaj Chauhan wrote:
>>
>> Hi Kevin,
>>
>> I have included all the dependency jars from 
>> *adwords-axis-examples-1.5.0-dependencies.tar 
>> *in my projectWhile trying to get Campaigns I get the following 
>> error
>>
>> java.net.URISyntaxException: Illegal character in opaque part at 
>>> index 7
>>> at java.net.URI$Parser.fail(URI.java:2809)
>>> at java.net.URI$Parser.checkChars(URI.java:2982)
>>> at java.net.URI$Parser.parse(URI.java:3019)
>>> at java.net.URI.(URI.java:578)
>>> at java.net.URL.toURI(URL.java:918)
>>> at org.reflections.vfs.Vfs.normalizePath(Vfs.java:175)
>>> at org.reflections.vfs.Vfs$DefaultUrlTypes$3.matches(Vfs.java:160)
>>> at org.reflections.vfs.Vfs.fromURL(Vfs.java:94)
>>> at org.reflections.vfs.Vfs.fromURL(Vfs.java:88)
>>> at org.reflections.Reflections.scan(Reflections.java:199)
>>> at org.reflections.Reflections.(Reflections.java:91)
>>> at com.google.api.ads.common.lib.AdsModule.(AdsModule.java:60)
>>> at 
>>> com.google.api.ads.adwords.lib.AdWordsModule.(AdWordsModule.java:43)
>>> at 
>>> com.google.api.ads.adwords.lib.factory.AdWordsServiceClientFactory.(AdWordsServiceClientFactory.java:41)
>>> at 
>>> com.google.api.ads.adwords.lib.factory.AdWordsServices.(AdWordsServices.java:68)
>>> at 
>>> com.google.api.ads.adwords.lib.factory.AdWordsServices.(AdWordsServices.java:50)
>>
>>
>> Do you have any idea about this error. Any help will be grateful.
>>
>> TIA,
>> VijayRaj
>>
>> On Thursday, 31 May 2012 19:45:11 UTC+5:30, VijayRaj Chauhan wrote:
>>>
>>> Hi Kevin,
>>>
>>> I have filed an issue in the issue trackerKindly have a look at 
>>> it and let us know about the status..
>>>
>>> TIA,
>>> VijayRaj
>>>
>>> On Wednesday, 30 May 2012 00:24:34 UTC+5:30, Kevin Winter wrote:

 Hi VijayRaj,
   I think this is a bug in our maven pom.xml - it's pulling in an 
 old version of the google oauth libs that doesn't have this field and 
 it 
 goes first on the classpath overriding the more recent entry.  Could 
 you 
 please file an issue on our issue tracker while we figure out how best 
 to 
 fix this? http://code.google.com/p/google-api-ads-java/issues/list

 - Kevin Winter
 AdWords API Team

 On Monday, May 28, 2012 10:50:39 AM UTC-4, VijayRaj Chauhan wrote:
>
> Hi Kevin,
>

Re: How can I tell if an AdGroupCriterion is a Display Keyword

2012-08-13 Thread Danial Klimkin
Hello bgraves,


I believe you are looking for these flags:

  
https://developers.google.com/adwords/api/docs/reference/latest/CampaignService.NetworkSetting

They are specific for the campaign, not criterion.


-Danial, AdWords API Team.


On Wednesday, August 8, 2012 3:08:11 AM UTC+4, bgraves wrote:
>
> Currently, the API only tells me if the keyword is biddable or negative 
> but not whether it is a Display Keyword or not.  How can I find this out?  
> Are there campaign or adgroup settings that will tell me this?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: Strange TargetError.TARGET_ERROR exception for a single campaign

2012-08-13 Thread Danial Klimkin
Hello kewbank,


This error means the network settings provided are not acceptable. 
Particularly, I believe you can not set targetContentContextual to any 
value if targetContentNetwork is false. Generally, targetContentContextual 
can't be modified as it defaults to true for all new campaigns and only 
older campaigns can have it set to false. See this article for more details:

  http://support.google.com/adwords/bin/answer.py?answer=2575708

For the API I suggest removing this part from the builder.


-Danial, AdWords API Team.


On Wednesday, August 8, 2012 10:06:33 PM UTC+4, kewbank wrote:
>
> We are getting a strange TargetError.TARGET_ERROR exception when 
> attempting to update a campaign. The campaign looks fine in adWords UI and 
> the account's other campaigns update fine. This has only started happening 
> in the last few days. Any ideas:
>
> Aug 08 13:33:54 SOAP request: http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="
> http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance";> soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next"; 
> soapenv:mustUnderstand="0" xmlns:ns1="
> https://adwords.google.com/api/adwords/cm/v201109";>*removed
> *
> 2851094027
> *removed*null (AwApi-Reseller 
> Java/8.6.1R1, Axis/1.4, 
> Java/1.5.0_11)falsefalse  
> xmlns="https://adwords.google.com/api/adwords/cm/v201109";>SET58973383Boca
>  
> Ta-2ACTIVE20200810DAILY13902OPTIMIZEtruetruefalsefalse
>
> Aug 08 13:33:54 SOAP response: http://schemas.xmlsoap.org/soap/envelope/";> xmlns="https://adwords.google.com/api/adwords/cm/v201109";>0004c6c483d4d6000a96490857efCampaignServicemutate1691soap:Server[TargetError.TARGET_ERROR
>  
> @ 
> operations[0].operand.networkSetting] xmlns="https://adwords.google.com/api/adwords/cm/v201109";>[TargetError.TARGET_ERROR
>  
> @ 
> operations[0].operand.networkSetting]ApiException  
> xsi:type="TargetError" xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance
> ">operations[0].operand.networkSettingTargetError.TARGET_ERRORTargetErrorTARGET_ERROR
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: The coordinates or dimensions of the range are invalid

2012-08-13 Thread Danial Klimkin
Hi dnnrg26,


This forum is for questions regarding AdWords API only. Your question does 
not look specific to the AdWords API. Please contact relevant mailing list.


-Danial, AdWords API Team.


On Thursday, August 9, 2012 3:08:07 PM UTC+4, dnrg26 wrote:
>
> hi some one please advise me;;
>
> var filter = 
> SpreadsheetApp.openById("0AhioeCK_-aU4dENCVjViWVhhdkZrdF92MElOTWhpWFE").getSheetByName("Sales").getRange("D2").getValue();
>  
> //Only Filter that row which is matching wiht D2
>   Logger.log("getDataRange().getValues() data is " + data);
>   for (var i = 1; i < data.length; i++ )
> {
>  if (filter.test(data[i][3]) == filter )
>   
> dest.push([data[i][0],data[i][1],data[i][2],data[i][3],data[i][4],data[i][5],data[i][6],data[i][7],data[i][74]]);
> }
>   //Logger.log(dest);
>   if( dest.length > 0 ) {
> archive.insertRowsBefore(5,dest.length);
> archive.getRange(5,1,dest.length,dest[0].length).setValues(dest);
>   }
> }
> //Irror : The coordinates or dimensions of the range are invalid. (line 
> 6)Dismiss//
>
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: Reports not being returned in requested format

2012-08-13 Thread Danial Klimkin
Hi mm,


Do you use any of our client libraries? Are there any network issues you 
see this morning as well?


-Danial, AdWords API Team.


On Friday, August 10, 2012 6:27:18 PM UTC+4, mm wrote:
>
> Hey guys -
> I am seeing this problem with multiple (but not all) accounts this 
> morning. I am requesting reports in gzipped csv format, but am getting just 
> csv. This is happening for KeywordPerformance and CriteriaPerformance 
> reports. Known issue? Fix forthcoming? 
>
> Thanks -
> mm
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: Worried about requirements for adwords api key

2012-08-13 Thread Danial Klimkin
Hello Marc,


Our team can answer on technical questions only, for policy questions 
please check with the tokens review team directly:

  adwordsapi-tok...@google.com

it sounds like you will need to implement the RMF in full.


-Danial, AdWords API Team.


On Friday, August 10, 2012 7:43:04 PM UTC+4, Sjakie wrote:
>
> I've been busy now for a couple of months developing a client for the 
> adwords api.
>
> My client will allow:
>
> 1. Customers to sign up for my website, when they create their first ads. 
> I want to use the adwords api to create an account for the customer.
> 2. Let customers manage their accounts through my online client.
>
> I've read the requirements on using the adwords api and I think there is 
> no problem making something like this.
>
> However the following statement made me a little bit worried:
>
> http://www.google.com/adwords/api/preferredpricing/requirements.html 
> You use the AdWords API to manage your customers’ AdWords campaigns (e.g. 
> you are an agency or develop search engine marketing tools). 
>
>  I hope this does not mean I can't let my clients manage their own 
> accounts through my webbased client.
>
> Is there any issue with what I am trying to accomplish?
>
> Hope to hear from you.
>
> Best wishes,
>
> Marc
>
>
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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