Re: java.lang.VerifyError

2016-01-08 Thread Anthony Madrigal
Hi,

You can click the dropdown next to the reply button on the right then click 
*Reply 
privately to author.*

Cheers,
Anthony
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/dae8946f-96b6-44fa-96d6-99ec41605455%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Update an individual budget for a specific campaign

2016-01-08 Thread roberto . malcotti
Dear All,

I am quite new with the AdWords API. I have the need to update the budget 
for a list of campaigns. I have to assign a new individual budget, removing 
the previous shared budget.

Up to now I tried to follow the instructions present 
here, https://developers.google.com/adwords/api/docs/guides/budgets, but 
without results.

In the row 70 of my code, i correctly see the new budget, but on the 
AdWords platform I cannot see the result.

I have to change the budget for more than 2000 campaigns, can someone tell 
me where and why my code does not work?

Many many thanks.

Roberto

PS: In the code i iterate trough all the campaigns, because at the moment I 
am not able to select a campaign by name...


package My_Test;

import java.rmi.RemoteException;

import com.google.api.ads.adwords.axis.factory.AdWordsServices;
import com.google.api.ads.adwords.axis.utils.v201509.SelectorBuilder;
import com.google.api.ads.adwords.axis.v201509.cm.ApiException;
import com.google.api.ads.adwords.axis.v201509.cm.Budget;
import 
com.google.api.ads.adwords.axis.v201509.cm.BudgetBudgetDeliveryMethod;
import com.google.api.ads.adwords.axis.v201509.cm.BudgetBudgetPeriod;
import com.google.api.ads.adwords.axis.v201509.cm.BudgetOperation;
import com.google.api.ads.adwords.axis.v201509.cm.BudgetServiceInterface;
import com.google.api.ads.adwords.axis.v201509.cm.Campaign;
import com.google.api.ads.adwords.axis.v201509.cm.CampaignOperation;
import com.google.api.ads.adwords.axis.v201509.cm.CampaignPage;
import com.google.api.ads.adwords.axis.v201509.cm.CampaignReturnValue;
import com.google.api.ads.adwords.axis.v201509.cm.CampaignServiceInterface;
import com.google.api.ads.adwords.axis.v201509.cm.Money;
import com.google.api.ads.adwords.axis.v201509.cm.Operator;
import com.google.api.ads.adwords.axis.v201509.cm.Selector;
import com.google.api.ads.adwords.lib.client.AdWordsSession;
import 
com.google.api.ads.adwords.lib.selectorfields.v201509.cm.CampaignField;
import com.google.api.ads.common.lib.auth.OfflineCredentials;
import com.google.api.ads.common.lib.auth.OfflineCredentials.Api;
import com.google.api.ads.common.lib.conf.ConfigurationLoadException;
import com.google.api.ads.common.lib.exception.OAuthException;
import com.google.api.ads.common.lib.exception.ValidationException;
import com.google.api.client.auth.oauth2.Credential;

public class Budget_Assignetor{
public static void main(String[] args) throws OAuthException, 
ValidationException, ConfigurationLoadException, ApiException, 
RemoteException { 
Credential oAuth2Credential = new 
OfflineCredentials.Builder().forApi(Api.ADWORDS).fromFile().build().generateCredential();//
 
Generate a refreshable OAuth2 credential.
   AdWordsServices adWordsServices = new AdWordsServices();
AdWordsSession session = new 
AdWordsSession.Builder().fromFile().withOAuth2Credential(oAuth2Credential).build();//
 
Construct an AdWordsSession.
BudgetServiceInterface budgetService =  adWordsServices.get(session, 
BudgetServiceInterface.class);
Budget individualBudget = new Budget();
individualBudget.setName("New Budget 1000 euro per day");
Money budgetAmount = new Money();
budgetAmount.setMicroAmount(10L);
individualBudget.setAmount(budgetAmount);
individualBudget.setIsExplicitlyShared(false);
individualBudget.setDeliveryMethod(BudgetBudgetDeliveryMethod.STANDARD);
individualBudget.setPeriod(BudgetBudgetPeriod.DAILY);
BudgetOperation budgetOperation = new BudgetOperation();
budgetOperation.setOperand(individualBudget);
budgetOperation.setOperator(Operator.ADD); 
Long budgetId =  budgetService.mutate(new BudgetOperation[] 
{budgetOperation}).getValue(0).getBudgetId();
individualBudget.setBudgetId(budgetId);
int PAGE_SIZE = 100;
   CampaignServiceInterface campaignService = adWordsServices.get(session, 
CampaignServiceInterface.class);
   int offset = 0;
   // Create selector.
   SelectorBuilder builder = new SelectorBuilder();
   Selector selector = builder.fields(CampaignField.Id, 
CampaignField.Name).orderAscBy(CampaignField.Name).offset(offset).limit(PAGE_SIZE).build();
   CampaignPage page = null;
   
   do {
 page = campaignService.get(selector);
 if (page.getEntries() != null) {
   for (Campaign campaign : page.getEntries()) {
   if(campaign.getName().equals("Naturdiet | Headterm | BMM")) {
campaign.setBudget(individualBudget);
System.out.println(campaign.getName() + "   " + 
campaign.getBudget().getName());
   CampaignOperation operation = new CampaignOperation();
   operation.setOperand(campaign);
   operation.setOperator(Operator.SET);
   CampaignOperation[] operations = new CampaignOperation[] 
{operation};
   CampaignReturnValue result = 
campaignService.mutate(operations);
   }
   }
 }
 offset += 

Re: How to get campaign creator email?

2016-01-08 Thread Anthony Madrigal
Hi,

Unfortunately, there is currently no way to get the user email via API. 
There is also no API equivalent to the Change History in the API.

Regards,
Anthony
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a5b2975f-c58e-4396-a2c3-77d9579d40d6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: ADD ExpressionRuleUserList OPERATION_NOT_SUPPORTED

2016-01-08 Thread Ralph Samuel
Oh Cool!  I noticed the cm/rm dichotomy before but didn't remember to think
about it for this problem.  Thanks! I'll give that a try

On Fri, Jan 8, 2016 at 7:50 AM, Nadine Sundquist (AdWords API Team) <
adwordsapiadvisor+nad...@google.com> wrote:

> Hi Ralph,
>
> Mike asked me to take a look at this as well to see if I saw anything. I
> noticed something that *may* be causing the issue. I believe that you
> want to change:
>
> https://adwords.google.com/api/adwords/rm/v201509;>
>
> to
>
> https://adwords.google.com/api/adwords/cm/v201509
> ">
>
> I'm hoping it's as simple as changing one character.
>
> You mentioned wanting to see what one of the client libraries will output.
> Here's what Perl outputs; this is only the first part because it's a bit
> wordy. You can see why I'm thinking a one letter change may make a
> difference.
>
>  https://adwords.google.com/api/adwords/rm/v201509;> 
>   xmlns="https://adwords.google.com/api/adwords/cm/v201509;>ADD 
>  Expression based user list 
> created at 20160108_103956 Users who checked out in six 
> month window OR visited the checkout page with more than one item in their 
> cart 
>
> Cheers,
>
> Nadine, AdWords API Team
>
> On Thursday, January 7, 2016 at 4:28:39 PM UTC-5, ra...@woopra.com wrote:
>>
>> Hi Michael--
>>
>> So I have continued to try this with the admin account on our production
>> adwords account, and I'm always getting these same two errors:
>> [OperatorError.OPERATOR_NOT_SUPPORTED @ operations[0],
>> RequiredError.REQUIRED @ operations[0].operator].  To clarify, I did not
>> get it to work on the test account, I mis-spoke when I said it worked
>> there.  I get these errors when using a test manager account, a production
>> manager account, and a production client account.  I get the user
>> permission denied on a different unused production client account for some
>> reason (possibly because there is no credit card on file for it yet?)  I do
>> not actually have a test client account under my test manager account.
>>
>> I think all this about my accounts is accurate, but all the different
>> kinds of accounts and their functionality is pretty complex so I can't be
>> sure ha ha.
>>
>> I don't think it is a permissions issue as I only have admins on the
>> accounts, and my xml requests look almost exactly like the examples I've
>> found in the docs and from you in this thread.  I am sort of at a loss as
>> to what is going on.  I am considering using one of your client libraries
>> to manually make the call and compare the raw xml to mine as a next step.
>>
>> If you have any other ideas for what I could try, I'm open to suggestions.
>>
>> --Ralph
>>
> --
> --
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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 a topic in the
> Google Groups "AdWords API Forum" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/adwords-api/osBZcV05iqo/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> adwords-api+unsubscr...@googlegroups.com.
> Visit this group at https://groups.google.com/group/adwords-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/adwords-api/ed1bf410-d16e-428a-b80d-473824337840%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the 

Re: ADD ExpressionRuleUserList OPERATION_NOT_SUPPORTED

2016-01-08 Thread ralph
Holly Shit it worked!  Thank you! Good catch by the way.  How did you find 
that and how do i avoid this sort of thing in the future?  

What exactly are these namespaces and what's the cm/rm difference?  Are 
these namespaces built in to soap protocol as just strings to separate 
services that go over the same http interface? (the url doesn't seem to 
lead anywhere) Or are the urls actually providing some resource to the soap 
server to configure it for the request?

I am very new to soap.

Thanks for all the help guys!
--Ralph

On Friday, January 8, 2016 at 7:50:55 AM UTC-8, Nadine Sundquist (AdWords 
API Team) wrote:
>
> Hi Ralph,
>
> Mike asked me to take a look at this as well to see if I saw anything. I 
> noticed something that *may* be causing the issue. I believe that you 
> want to change:
>
> https://adwords.google.com/api/adwords/rm/v201509;>
>
> to
>
> https://adwords.google.com/api/adwords/cm/v201509 
> ">
>
> I'm hoping it's as simple as changing one character.
>
> You mentioned wanting to see what one of the client libraries will output. 
> Here's what Perl outputs; this is only the first part because it's a bit 
> wordy. You can see why I'm thinking a one letter change may make a 
> difference.
>
>  https://adwords.google.com/api/adwords/rm/v201509;> 
>   xmlns="https://adwords.google.com/api/adwords/cm/v201509;>ADD 
>  Expression based user list 
> created at 20160108_103956 Users who checked out in six 
> month window OR visited the checkout page with more than one item in their 
> cart 
>
> Cheers,
>
> Nadine, AdWords API Team
>
> On Thursday, January 7, 2016 at 4:28:39 PM UTC-5, ra...@woopra.com 
>  wrote:
>>
>> Hi Michael--
>>
>> So I have continued to try this with the admin account on our production 
>> adwords account, and I'm always getting these same two errors: 
>> [OperatorError.OPERATOR_NOT_SUPPORTED @ operations[0], 
>> RequiredError.REQUIRED @ operations[0].operator].  To clarify, I did not 
>> get it to work on the test account, I mis-spoke when I said it worked 
>> there.  I get these errors when using a test manager account, a production 
>> manager account, and a production client account.  I get the user 
>> permission denied on a different unused production client account for some 
>> reason (possibly because there is no credit card on file for it yet?)  I do 
>> not actually have a test client account under my test manager account.  
>>
>> I think all this about my accounts is accurate, but all the different 
>> kinds of accounts and their functionality is pretty complex so I can't be 
>> sure ha ha.
>>
>> I don't think it is a permissions issue as I only have admins on the 
>> accounts, and my xml requests look almost exactly like the examples I've 
>> found in the docs and from you in this thread.  I am sort of at a loss as 
>> to what is going on.  I am considering using one of your client libraries 
>> to manually make the call and compare the raw xml to mine as a next step.
>>
>> If you have any other ideas for what I could try, I'm open to suggestions.
>>
>> --Ralph
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4ba95a3b-bdbf-48ea-bde8-0137a11dec18%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Account Status

2016-01-08 Thread AdWords API User
Hi Umesh,

Thanks for looking into this for me.  I'll explore your suggestion when I 
get back to the issue next week.

John

On Tuesday, 5 January 2016 21:08:16 UTC, Umesh Dengale wrote:

> Hi John,
>
> You could use the BUDGET_PERFORMANCE_REPORT which gives statistics 
> aggregated by default at the budget level, one row per budget. This report 
> has fields Amount 
> 
> , AssociatedCampaignId 
> 
> , AssociatedCampaignName 
> 
> , Cost 
> 
> , AssociatedCampaignStatus 
> 
>  etc. 
> There is no field which gives the remaining budget. The workaround could be 
> to calculate the difference between allocated budget and the TotalCost from 
> CampaignPerformance report. Please check out BUDGET_PERFORMANCE_REPORT 
> 
>  and CAMPAIGN_PERFORMANCE_REPORT 
> 
>  for 
> more details.
>
> Thanks,
> Umesh, AdWords API Team.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/03a6643e-a884-4caf-a4d3-027deb79eff6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Account Status

2016-01-08 Thread AdWords API User
Zweitze,

Thanks for your suggestion.  I will look at this next week when I get back 
to the issue.

John

On Wednesday, 6 January 2016 13:05:24 UTC, Zweitze wrote:

> I recall suspended accounts give certain errors on operations, eg. you 
> cannot create new campaigns. Unfortunately I cannot recall which error that 
> was.
> Anyway, if you know a suspended account right now try creating a new 
> campaign in it with validateOnly set. Check whether you get errors and 
> which error.
>
>
> On Thursday, December 31, 2015 at 11:55:28 AM UTC+1, AdWords API User 
> wrote:
>>
>> Hi,
>>
>> Can you confirm whether there is a mechanism to query the status of a 
>> client account through the API?  We are specifically interested in whether 
>> an account has been suspended.
>>
>> We are aware that it is possible to use the Campaign Performance report 
>> to return the status of individual campaigns, but there does not appear to 
>> be an equivalent status field on the Account Performance report.  We manage 
>> a large number of clients, and it would be helpful to use the API to 
>> identify fundamental problems with these accounts.
>>
>> Thanks,
>>
>> John
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e5748f15-3ecf-4a6d-95dd-a411ef05c38b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Can Anyone tell me how to integrate google adwords in asp.net C#?

2016-01-08 Thread Dhananjay Kumar
Please send google adwords  integration code in asp.net C#.

On Friday, 10 July 2015 18:58:33 UTC+5:30, Dhananjay Kumar wrote:
>
> Can Anyone tell me how  to integrate google adwords in asp.net C#?  
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/727ec23e-2ca4-4c84-bb7f-4d8e98df30ee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: FILE_FORMAT_ERROR using BatchJobService.

2016-01-08 Thread lzhuo
Here is testing result we have:
1) If the total number of operations is less than or equal to 100k(which 
means there will be less than or equal to10 threads, because one thread 
handle 10k operations), everything works fine, all objects are successfully 
be pushed to Adwords.
2) If the total number of operations is larger than 100k(for example, 150k 
or 1m), there will always be some errors from Adwords.

For your last question:
Yes, we do use different instance of BatchJobHelper for each thread, not 
just for each thread, we create a new BatchJobHelper even for each 
incremental upload inside a thread. Because we notice that it is a utility 
class & we have to make sure our session will not be expired.

Apart from FILE_FORMAT_ERROR, we also have another issue, but we are not 
sure what's going on. Sometimes, in our application, when we upload 10011 
objects in one thread, only 9012 objects will be pushed to Adwords, the 
other 999 objects are missing from the mutate result. This issue only 
happens when we have operations more than 100k.

Thanks

On Saturday, January 9, 2016 at 12:04:42 AM UTC+8, Nadine Sundquist 
(AdWords API Team) wrote:
>
> Greetings!
>
> Thanks for the explanation and the update. It does sound complex enough 
> that it wouldn't be easy to decouple that code from existing code. So, when 
> you run just one thread everything works fine? Based on what you said, it 
> sounds like it's sometimes happening, but not always. If so, it sounds like 
> there may be a threading issue somewhere in the process. I'm asking 
> questions to narrow down the scope of the issue. Are you using a different 
> instance of *BatchJobHelper* for each thread?
>
> Regards,
> Nadine, AdWords API Team
>
> On Friday, January 8, 2016 at 10:21:32 AM UTC-5, lz...@marinsoftware.com 
>  wrote:
>>
>> Things are even getting worser when I have more than 10 such threads, 
>> most of batch jobs created by a thread will fail to upload operations due 
>> to the same error: FILE_FORMAT_ERROR.
>>
>> On Friday, January 8, 2016 at 8:39:24 AM UTC+8, lz...@marinsoftware.com 
>> wrote:
>>>
>>> The code involves a lot of context to make it understandable, so I am 
>>> not going to send to you now. However, I could explain to you what the code 
>>> really does:
>>> 1) There are some threads, let's say 10
>>> 2) For each threads, it will create one batch job using BatchJobService
>>> 3) For each threads, with the batch job upload url created above, we 
>>> upload operations(1campaign which contains 10 groups, and each group 
>>> contains 1000keywords, so that will be 10011 objects) incrementally, 1000 
>>> operations per incremental upload, and the parent operations goes before 
>>> child operations.
>>> 4) All the thread will be run simultaneously.
>>> 5) When one thread finishes uploading its operations, it will send its 
>>> batch job id to another dedicated thread(let's say BatchJobStatusQuery 
>>> thread).
>>> 6) The BatchJobStatusQuery thread will periodically poll the status of 
>>> the batch job.
>>>
>>> If you are sill confusing what I am really doing, I will try to send a 
>>> revised code to you.
>>>
>>> Thanks
>>>
>>> On Friday, January 8, 2016 at 2:25:32 AM UTC+8, Nadine Sundquist 
>>> (AdWords API Team) wrote:

 Hi,

 That is odd. In order to triage it, I would need to take a look at your 
 code. Could you please click *Reply privately to author* in the forum, 
 and send me what your code looks like? That way I can reproduce what 
 you're 
 trying to send.

 Thanks,
 Nadine, AdWords API Team

 On Thursday, January 7, 2016 at 11:33:48 AM UTC-5, 
 lz...@marinsoftware.com wrote:
>
> Hi Yin,
>
> I am using BatchJobHelper(a utility exists in Google ads Java library) 
> to upload operations, so there will be no chance for me to encounter a 
> error related to file, but unfortunately there was. 
>
> The Java client I am using:
> 
> com.google.api-ads
> adwords-axis
> 2.8.0
> 
>
> Thanks a lot!
>
> On Thursday, January 7, 2016 at 11:50:07 PM UTC+8, Yin Niu wrote:
>>
>> Hello, 
>>
>> The FILE_FORMAT_ERROR 
>> 
>>  indicates 
>> there's a format error in the input file. To upload file 
>> ,
>>  
>> the input xml file should have a format as specified in BatchJobOps.xsd. 
>> For incremental upload 
>> s,
>>  
>> the first request will have the start of  element and the last 
>> request will have the end of  element. 
>>
>> Thanks,
>> Yin, AdWords API Team. 
>>
>

-- 
-- 

API internal errors

2016-01-08 Thread dearaujoj
Hi Guys,

Since yesterday we are experiencing errors when calling API, such as 

   - [InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 
   com.google.ads.api.services.common.error.InternalApiError.
   (InternalApiErro)
   - Could not connect to host
   - SOAP-ERROR: Parsing WSDL
   
Is there any maintenance going on ?

Regards

José

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/0d334dfa-d584-43cc-a0f1-9ddd19f3b860%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to get campaign creator email?

2016-01-08 Thread kowal
Hi

I'm currently using API in V201509.

Is there a way to get via API any information about user (like email) who 
*created* or *updated* given campaign (or AdGroup). Only place I found it 
so far is in web UI in Change History.

My mail goal is to detect "invalid" campaigns names via API and send 
notifications to given user who changed given campaign recently.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/99585d34-e96d-41b8-b89f-7efa2af48c12%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Adword Setup and working(Online and offline).

2016-01-08 Thread rahul . jain
Hi,

Can anyone please explain the complete flow of google ad-words. I want to 
implement it on my site.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4a808f73-fefe-45e8-8d8e-99c9374b3995%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Getting StackOverflowException while creating instance of BatchJobUtilities

2016-01-08 Thread sarita khaire

I'm having troubles creating a BatchJobUtilities instance. I followed the 
code on .NET examples (
https://github.com/googleads/googleads-dotnet-lib/blob/master/examples/AdWords/CSharp/v201509/CampaignManagement/AddCompleteCampaignsUsingBatchJob.cs
 
),
 
but when i call 
BatchJobUtilities batchJobUploadHelper = new BatchJobUtilities(user)
I get a StackOverflowException

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/5c48840a-b770-45ce-b1a0-8ac39ead689b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How do I synchronize deleted keywords?

2016-01-08 Thread Yin Niu
Hello, 

It is only possible to retrieve a deleted criterion data if it had any 
impressions before it's deleted. If it had zero impressions, once deleted 
it is completely removed from the system.

Thanks,
Yin, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/bc6ebc9f-2c17-409a-9fc8-cdb2e401295e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Can Anyone tell me how to integrate google adwords in asp.net C#?

2016-01-08 Thread John Bliss
https://github.com/googleads/googleads-dotnet-lib 

On Friday, January 8, 2016 at 5:53:35 AM UTC-5, Dhananjay Kumar wrote:
>
> Please send google adwords  integration code in asp.net C#.
>
> On Friday, 10 July 2015 18:58:33 UTC+5:30, Dhananjay Kumar wrote:
>>
>> Can Anyone tell me how  to integrate google adwords in asp.net C#?  
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a2cd24cc-d4f5-4d4f-9abb-b3d9b245a308%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Predicate not working correctly

2016-01-08 Thread Josh Radcliff (AdWords API Team)
Hi,

Glad to hear that the work around worked for you. I've raised this issue 
with the PHP client library owners and they are looking into it.

Cheers,
Josh, AdWords API Team

On Friday, January 8, 2016 at 1:17:19 AM UTC-5, Chirag wrote:
>
> Hi Josh,
>
> Yes, I have use *GREATER_THAN_EQUALS *predicate after not getting 
> successful response.
> But this needs to be correct asap.
>
> Thanks,
>
> On Tuesday, 5 January 2016 20:12:34 UTC+5:30, Josh Radcliff (AdWords API 
> Team) wrote:
>>
>> Hi,
>>
>> It looks like there may be an issue with the PHP library when the 
>> *values* portion of the predicate is *array('0')*. Could you try the 
>> following equivalent predicate instead?
>>
>> $selector->predicates[] = new Predicate('ConvertedClicks', '
>> *GREATER_THAN_EQUALS*', array('*1*'));
>>
>> Thanks,
>> Josh, AdWords API Team
>>
>> On Tuesday, January 5, 2016 at 12:18:40 AM UTC-5, Chirag wrote:
>>>
>>> Hi Team,
>>>
>>> I am also Not able to use predicate GREATER_THAN with convertedclicks 
>>> under ADGROUP_PERFORMANCE_REPORT.
>>>
>>> $selector->predicates[] = new Predicate('ConvertedClicks', 
>>> 'GREATER_THAN', array('0'));
>>> OR
>>> $selector->predicates[] = new Predicate('ConvertedClicks', 
>>> 'GREATER_THAN', '0');
>>>
>>> Getting error : "An error has occurred: Report download failed. 
>>> Underlying errors are Type = 
>>> 'ReportDownloadError.INVALID_REPORT_DEFINITION_XML', Trigger = 'Invalid 
>>> ReportDefinition Xml: cvc-complex-type.2.4.b: The content of element 
>>> 'predicates' is not complete. One of '{"
>>> https://adwords.google.com/api/adwords/cm/v201509":values}' is 
>>> expected.', FieldPath = ''.
>>>
>>> Can anyone suggest me solution?
>>>
>>> Thanks,
>>>
>>> On Tuesday, 9 June 2015 20:51:20 UTC+5:30, Josh Radcliff (AdWords API 
>>> Team) wrote:

 Hi,

 That field is actually a percentage, so if you want rows where the 
 percentage is > 47%, you should filter on *SearchImpressionShare 
 GREATER_THAN 0.47*. Please give that a try.

 If that doesn't resolve the problem, could you provide the list of 
 *CampaignId* values for which you are seeing incorrect behavior?

 Thanks,
 Josh, AdWords API Team

 On Monday, June 8, 2015 at 5:46:06 PM UTC-4, Bon S wrote:
>
>
> Hi , 
>
> I am trying to download CAMPAIGN_PERFORMANCE_REPORT with Predicate set 
> as follows:
>
> __rdxml:  standalone="yes"?>https://adwords.google.com/api/adwords/cm/v201502;>CampaignNameClicksImpressionsCtrAverageCpcSearchImpressionShareGREATER_THAN472015030920150607CAMPAIGN_PERFORMANCE_REPORT
>  
> #1433786 
> CAMPAIGN_PERFORMANCE_REPORTCUSTOM_DATECSVtrue
>
> However, the predicate is not being applied it seems (The report 
> contains rows that do not even meet the criteria). The same Predicate 
> works 
> fine when I use "Clicks" or "Impressions" instead of 
> "SearchImpressionShare". 
>
> My observation is that it does not work when the field is of type 
> Double (for example , SearchImpressionShare , AveragePosition, Ctr etc.) 
> but works for field(s) of type Long. Am I missing something here ? The 
> link 
> here 
> https://developers.google.com/adwords/api/docs/appendix/reports/campaign-performance-report
>  
> says the fields I have tried with are all filterable. 
>


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/2be48d08-cb98-4664-9bc1-ac29cbf4c333%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: FILE_FORMAT_ERROR using BatchJobService.

2016-01-08 Thread lzhuo
Things are even getting worser when I have more than 10 such threads, most 
of batch jobs created by a thread will fail to upload operations due to the 
same error: FILE_FORMAT_ERROR.

On Friday, January 8, 2016 at 8:39:24 AM UTC+8, lz...@marinsoftware.com 
wrote:
>
> The code involves a lot of context to make it understandable, so I am not 
> going to send to you now. However, I could explain to you what the code 
> really does:
> 1) There are some threads, let's say 10
> 2) For each threads, it will create one batch job using BatchJobService
> 3) For each threads, with the batch job upload url created above, we 
> upload operations(1campaign which contains 10 groups, and each group 
> contains 1000keywords, so that will be 10011 objects) incrementally, 1000 
> operations per incremental upload, and the parent operations goes before 
> child operations.
> 4) All the thread will be run simultaneously.
> 5) When one thread finishes uploading its operations, it will send its 
> batch job id to another dedicated thread(let's say BatchJobStatusQuery 
> thread).
> 6) The BatchJobStatusQuery thread will periodically poll the status of the 
> batch job.
>
> If you are sill confusing what I am really doing, I will try to send a 
> revised code to you.
>
> Thanks
>
> On Friday, January 8, 2016 at 2:25:32 AM UTC+8, Nadine Sundquist (AdWords 
> API Team) wrote:
>>
>> Hi,
>>
>> That is odd. In order to triage it, I would need to take a look at your 
>> code. Could you please click *Reply privately to author* in the forum, 
>> and send me what your code looks like? That way I can reproduce what you're 
>> trying to send.
>>
>> Thanks,
>> Nadine, AdWords API Team
>>
>> On Thursday, January 7, 2016 at 11:33:48 AM UTC-5, 
>> lz...@marinsoftware.com wrote:
>>>
>>> Hi Yin,
>>>
>>> I am using BatchJobHelper(a utility exists in Google ads Java library) 
>>> to upload operations, so there will be no chance for me to encounter a 
>>> error related to file, but unfortunately there was. 
>>>
>>> The Java client I am using:
>>> 
>>> com.google.api-ads
>>> adwords-axis
>>> 2.8.0
>>> 
>>>
>>> Thanks a lot!
>>>
>>> On Thursday, January 7, 2016 at 11:50:07 PM UTC+8, Yin Niu wrote:

 Hello, 

 The FILE_FORMAT_ERROR 
 
  indicates 
 there's a format error in the input file. To upload file 
 ,
  
 the input xml file should have a format as specified in BatchJobOps.xsd. 
 For incremental upload 
 s,
  
 the first request will have the start of  element and the last 
 request will have the end of  element. 

 Thanks,
 Yin, AdWords API Team. 

>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/181beb90-7481-4f89-b229-625cc3db01b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: ADD ExpressionRuleUserList OPERATION_NOT_SUPPORTED

2016-01-08 Thread Nadine Sundquist (AdWords API Team)
Hi Ralph,

Mike asked me to take a look at this as well to see if I saw anything. I 
noticed something that *may* be causing the issue. I believe that you want 
to change:

https://adwords.google.com/api/adwords/rm/v201509;>

to

https://adwords.google.com/api/adwords/cm/v201509 
">

I'm hoping it's as simple as changing one character.

You mentioned wanting to see what one of the client libraries will output. 
Here's what Perl outputs; this is only the first part because it's a bit 
wordy. You can see why I'm thinking a one letter change may make a 
difference.

 https://adwords.google.com/api/adwords/rm/v201509;> 
 https://adwords.google.com/api/adwords/cm/v201509;>ADD 
 Expression based user list 
created at 20160108_103956 Users who checked out in six 
month window OR visited the checkout page with more than one item in their 
cart 

Cheers,

Nadine, AdWords API Team

On Thursday, January 7, 2016 at 4:28:39 PM UTC-5, ra...@woopra.com wrote:
>
> Hi Michael--
>
> So I have continued to try this with the admin account on our production 
> adwords account, and I'm always getting these same two errors: 
> [OperatorError.OPERATOR_NOT_SUPPORTED @ operations[0], 
> RequiredError.REQUIRED @ operations[0].operator].  To clarify, I did not 
> get it to work on the test account, I mis-spoke when I said it worked 
> there.  I get these errors when using a test manager account, a production 
> manager account, and a production client account.  I get the user 
> permission denied on a different unused production client account for some 
> reason (possibly because there is no credit card on file for it yet?)  I do 
> not actually have a test client account under my test manager account.  
>
> I think all this about my accounts is accurate, but all the different 
> kinds of accounts and their functionality is pretty complex so I can't be 
> sure ha ha.
>
> I don't think it is a permissions issue as I only have admins on the 
> accounts, and my xml requests look almost exactly like the examples I've 
> found in the docs and from you in this thread.  I am sort of at a loss as 
> to what is going on.  I am considering using one of your client libraries 
> to manually make the call and compare the raw xml to mine as a next step.
>
> If you have any other ideas for what I could try, I'm open to suggestions.
>
> --Ralph
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ed1bf410-d16e-428a-b80d-473824337840%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: API internal errors

2016-01-08 Thread Yin Niu
Hi José,

There's no maintenance that I am aware of. It might be connectivity issue 
on client side. Could you try to see if you can access the wsdl file? 

Thanks,
Yin, AdWords API Team. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4c877b23-eda1-44f1-acb8-6e704e208981%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: FILE_FORMAT_ERROR using BatchJobService.

2016-01-08 Thread Nadine Sundquist (AdWords API Team)
Greetings!

Thanks for the explanation and the update. It does sound complex enough 
that it wouldn't be easy to decouple that code from existing code. So, when 
you run just one thread everything works fine? Based on what you said, it 
sounds like it's sometimes happening, but not always. If so, it sounds like 
there may be a threading issue somewhere in the process. I'm asking 
questions to narrow down the scope of the issue. Are you using a different 
instance of *BatchJobHelper* for each thread?

Regards,
Nadine, AdWords API Team

On Friday, January 8, 2016 at 10:21:32 AM UTC-5, lz...@marinsoftware.com 
wrote:
>
> Things are even getting worser when I have more than 10 such threads, most 
> of batch jobs created by a thread will fail to upload operations due to the 
> same error: FILE_FORMAT_ERROR.
>
> On Friday, January 8, 2016 at 8:39:24 AM UTC+8, lz...@marinsoftware.com 
> wrote:
>>
>> The code involves a lot of context to make it understandable, so I am not 
>> going to send to you now. However, I could explain to you what the code 
>> really does:
>> 1) There are some threads, let's say 10
>> 2) For each threads, it will create one batch job using BatchJobService
>> 3) For each threads, with the batch job upload url created above, we 
>> upload operations(1campaign which contains 10 groups, and each group 
>> contains 1000keywords, so that will be 10011 objects) incrementally, 1000 
>> operations per incremental upload, and the parent operations goes before 
>> child operations.
>> 4) All the thread will be run simultaneously.
>> 5) When one thread finishes uploading its operations, it will send its 
>> batch job id to another dedicated thread(let's say BatchJobStatusQuery 
>> thread).
>> 6) The BatchJobStatusQuery thread will periodically poll the status of 
>> the batch job.
>>
>> If you are sill confusing what I am really doing, I will try to send a 
>> revised code to you.
>>
>> Thanks
>>
>> On Friday, January 8, 2016 at 2:25:32 AM UTC+8, Nadine Sundquist (AdWords 
>> API Team) wrote:
>>>
>>> Hi,
>>>
>>> That is odd. In order to triage it, I would need to take a look at your 
>>> code. Could you please click *Reply privately to author* in the forum, 
>>> and send me what your code looks like? That way I can reproduce what you're 
>>> trying to send.
>>>
>>> Thanks,
>>> Nadine, AdWords API Team
>>>
>>> On Thursday, January 7, 2016 at 11:33:48 AM UTC-5, 
>>> lz...@marinsoftware.com wrote:

 Hi Yin,

 I am using BatchJobHelper(a utility exists in Google ads Java library) 
 to upload operations, so there will be no chance for me to encounter a 
 error related to file, but unfortunately there was. 

 The Java client I am using:
 
 com.google.api-ads
 adwords-axis
 2.8.0
 

 Thanks a lot!

 On Thursday, January 7, 2016 at 11:50:07 PM UTC+8, Yin Niu wrote:
>
> Hello, 
>
> The FILE_FORMAT_ERROR 
> 
>  indicates 
> there's a format error in the input file. To upload file 
> ,
>  
> the input xml file should have a format as specified in BatchJobOps.xsd. 
> For incremental upload 
> s,
>  
> the first request will have the start of  element and the last 
> request will have the end of  element. 
>
> Thanks,
> Yin, AdWords API Team. 
>


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1a4f4a18-c5dc-4961-90d6-33af5232c4e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Getting StackOverflowException while creating instance of BatchJobUtilities

2016-01-08 Thread Yin Niu
Hello, 

This should have been fixed in the latest version. Could you please try it?

Thanks,
Yin, AdWords API Team. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/144d9178-4eef-488d-ad0c-880086e6e572%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: API internal errors

2016-01-08 Thread dearaujoj
Hi Yin,

I tried to get the wsdl from our server and it's working correctly. Now, 
maybe something was going on with our hosting provider, I'll check with 
them.

Nevertheless thank you for the quick reply.

Regards

josé

Le vendredi 8 janvier 2016 17:20:53 UTC+1, Yin Niu a écrit :
>
> Hi José,
>
> There's no maintenance that I am aware of. It might be connectivity issue 
> on client side. Could you try to see if you can access the wsdl file? 
>
> Thanks,
> Yin, AdWords API Team. 
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ee22f7fd-0382-4043-95a2-ff848db20d75%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.