getting forbidden error when trying to use content shopping api

2014-05-27 Thread srikanthg . netelixir
 Hi Team,

Iam trying to get products which are available in merchant center using 
content api.

Iam just using the sample example of structuredcontent_public which is 
already available.

i cannot retrieve the products and getting exception 

com.google.api.client.http.HttpResponseException: 403 Forbidden

can someone help on this

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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Google logout API not working

2014-05-27 Thread MERAL MARADIA
Hello,

I am using the google V3 API. I am working with javascript library code. 
All my code is based on javascript API.  I have used the example  
integrated the code for authentication  list out videos. But I am 
wondering for logout functionality code.

My authentication functionality is working well. But after login I am using 
gapi.auth.signOut() API to make the user log out from google. But it seems 
not working, I followed the instruction of this page 
- https://developers.google.com/+/web/signin/sign-out. 
As per instruction I put the following code for logging out the user.

gapi.auth.signIn({cookiepolicy:'none', class:'g-signin', clientid:clientId, 
callback:function(authResult){ gapi.auth.signOut(); }});

But it is not helping out to make the user sing out.

Can anybody let me know what mistake I am making ?

Thanks,


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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Can I register an adwords account's billing information by API?

2014-05-27 Thread appCcloud Cayto
I have a mcc account and I'm trying to register the billing information of 
a child adwords account by API.

But I'm not good at English so I couldn't find out that kind of API on the 
adwords API document.

Can I register a child adwords account's billing information via API?

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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


excluding a Placement by using NegativeCampaignCriterion (in a mobile campaign)

2014-05-27 Thread Inaal Haolam
I want to exclude a placement from a campaign 
The campaign is for Mobile, if that's relevant; 
I know the value for these variables:

   - Campaign ID (let's call it CID) 
   - Placement ID (PID), 
   - and the Placement URL (PURL)
   
I'm trying to follow examples and docs but I can't get it to work.  Here's 
the campaign 

There's an example code called add_campaign_targeting_criteria.py -- 
*negative_campaign_criterion_operand = {*
*'xsi_type': 'NegativeCampaignCriterion',*
*'campaignId': campaign_id,*
*'criterion': {*
*'xsi_type': 'Keyword',*
*'matchType': 'BROAD',*
*'text': 'jupiter cruise'*
*}*
*}*


Here's my code

*negative_campaign_criterion_operand = {*
*'operator': 'ADD',*
*'operand': {*
*'xsi_type': 'NegativeCampaignCriterion',*
*'campaignId': campaign_id,*
*'criterion': {*
*'xsi_type': 'Placement',*
*'url': placement_url,# is it necessary?*
*},*
*}*
* }*


the end of the error is:

 File 
/usr/local/lib/python2.7/dist-packages/suds_jurko-0.6-py2.7.egg/suds/mx/literal.py,
 
line 86, in start
   raise TypeNotFound(content.tag)
   suds.TypeNotFound: Type not found: 'type'

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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


is there a tool or feature that show my web console actions as a JSON operation code?

2014-05-27 Thread Inaal Haolam
Some programs and websites provide developers with ability to record 
their actions,
and display code snippet that can be used for the API.

Is there such a feature in adwords?

My guess is, that internally, adwords.google.com communicates with AdWords 
engine via the same JSON operations as used in the API.
If so, maybe there's a way for us, developers, to view actions' code?

It's sure save lots of time.

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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


excluding a placement in mobile app and NegativeCampaignCriterion'

2014-05-27 Thread Inaal Haolam
i'm trying to exclude a placement by appId and negative 
NegativeCampaignCriterion.

Here's the operand:

'operand': {
'type': 'NegativeCampaignCriterion',
'campaignId': campaign_id,
'criterion': {
'xsi_type': 'MobileApplication',  
'appId': placement_url,
},
}


i receive an error: 
  ...
  File 
/usr/local/lib/python2.7/dist-packages/suds_jurko-0.6-py2.7.egg/suds/mx/literal.py,
 
line 86, in start
raise TypeNotFound(content.tag)
suds.TypeNotFound: Type not found: 'type'


(i posted another question about it, but i can't find it in the system)
in any case - this is an update to the question)
(there's another question about it in the forum from 2013, but then it was 
in Beta, and received no answer)

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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Problem with AuthenticationError.NOT_ADS_USER

2014-05-27 Thread Yasin
Hello Support-Team-Members,

we use the php-version v201402 to connect to the AdWords-API. It was 
running perfectly, but since 2014-05-21 we get the following failure in the 
logs: 'AuthenticationError.NOT_ADS_USER'

We have two accounts to manage 2 separate companies. The Scripts are all 
the same (the token etc. are different in the auth.ini file, of cource) but 
with one of the accounts we can't fetch information from the API any more.

Maybe our account is messed up somehow? What can we do?

Please help!

Regards,
Yasin

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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


AuthenticationError.NOT_ADS_USER

2014-05-27 Thread yasin . az24
Hello,

we are using the php-library to fetch our reports automatically. Since 
21.05.2014 we have problems with the authentification of our scripts.
In the logs is following hint:
An error has occurred: Report download failed. Underlying errors are Type = 
'AuthenticationError.NOT_ADS_USER', Trigger = '', FieldPath = ''.

We checked the clientCustomerId and the developerToken against the account, 
but all seems to be ok. With the same scripts we can login to another 
account we manage too. Only then Information in the auth.ini-File is 
different, of course.
We use the library version v201402.
Maybe there are inconsistent information in our account, which must be 
fixed first.

Please, is there anyone, who had the same problem and can help us?


Thanks
Yasin

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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


AdWords API Developer Token

2014-05-27 Thread Vishal Savsani

I have to download report from multiple Adwords accounts they are not 
linked under the same MCC hierarchy. I have registered with one of them and 
have developer token for that account. Now I want to use this developer 
token with all other account if it is possible to download report.
Can I use developer token for multiple Adwords account? These accounts are 
independent and they are not linked under the same MCC hierarchy?   

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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Adwords-API java Campaign's Bid strategy

2014-05-27 Thread Manh Huynh Xuan
Hello,

I would like to create a campaign via Adwords-API by java code. My question 
is how to create a campaign with default Automatic CPC (select option: 
AdWords will set my bids to help maximize clicks within my target budget) 
at Campaign's Bid strategy?


Thanks
Manh

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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AdWords API Developer Token

2014-05-27 Thread Anash P. Oommen (AdWords API Team)
Hi Vishal,

Yes, AdWords API developer tokens can be reused for making calls against 
accounts that aren't linked with each other. The only thing that will 
change when you switch between accounts is the OAuth2 access token and 
clientCustomerId headers.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Saturday, May 24, 2014 1:32:20 PM UTC-4, Vishal Savsani wrote:


 I have to download report from multiple Adwords accounts they are not 
 linked under the same MCC hierarchy. I have registered with one of them and 
 have developer token for that account. Now I want to use this developer 
 token with all other account if it is possible to download report.
 Can I use developer token for multiple Adwords account? These accounts are 
 independent and they are not linked under the same MCC hierarchy?   


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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.NOT_ADS_USER

2014-05-27 Thread Anash P. Oommen (AdWords API Team)
Hi Yasin,

AuthenticationError.NOT_ADS_USER usually means that the login email for 
which you generated OAuth2 access token isn't an AdWords user. I'm 
guessing, either the information in the auth.ini is incorrect, or that the 
login email was once valid for the AdWords account, but not any longer?

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Monday, May 26, 2014 6:26:24 AM UTC-4, Yasin wrote:

 Hello,

 we are using the php-library to fetch our reports automatically. Since 
 21.05.2014 we have problems with the authentification of our scripts.
 In the logs is following hint:
 An error has occurred: Report download failed. Underlying errors are Type 
 = 'AuthenticationError.NOT_ADS_USER', Trigger = '', FieldPath = ''.

 We checked the clientCustomerId and the developerToken against the 
 account, but all seems to be ok. With the same scripts we can login to 
 another account we manage too. Only then Information in the auth.ini-File 
 is different, of course.
 We use the library version v201402.
 Maybe there are inconsistent information in our account, which must be 
 fixed first.

 Please, is there anyone, who had the same problem and can help us?


 Thanks
 Yasin


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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Adwords-API java Campaign's Bid strategy

2014-05-27 Thread Anash P. Oommen (AdWords API Team)
Hi Manh,

You can refer to this code example for 
details. 
https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201402/AdvancedOperations/UseSharedBiddingStrategy.php

Essentially, you create a bidding strategy using 
BiddingStrategyServicehttps://developers.google.com/adwords/api/docs/reference/v201402/BiddingStrategyService,
 
then create a budget using 
BudgetServicehttps://developers.google.com/adwords/api/docs/reference/v201402/BudgetService,
 
then create a campaign using 
CampaignServicehttps://developers.google.com/adwords/api/docs/reference/v201402/CampaignServicethat
 uses the budget and bidding strategy you created earlier.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Monday, May 26, 2014 12:53:10 AM UTC-4, Manh Huynh Xuan wrote:

 Hello,

 I would like to create a campaign via Adwords-API by java code. My 
 question is how to create a campaign with default Automatic CPC (select 
 option: AdWords will set my bids to help maximize clicks within my target 
 budget) at Campaign's Bid strategy?


 Thanks
 Manh


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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: PHP Client Library: Set a tracking URL?

2014-05-27 Thread Anash P. Oommen (AdWords API Team)
Hi,

Yes, this is supported using AdWords API. You need use 
TrackingSettinghttps://developers.google.com/adwords/api/docs/reference/v201402/CampaignService.TrackingSetting
 to 
set this setting, and add that to the campaign's 
settingshttps://developers.google.com/adwords/api/docs/reference/v201402/CampaignService.Campaign#settings
.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Monday, May 26, 2014 6:46:33 AM UTC-4, c...@clickbits.de wrote:

 Hi all,

 I am using the adwords api to generate campaigns, adgroups, keywords and 
 ads and it works fine.
 But I don't find a possibility to set the Dynamic Tracking-URL for the 
 campaigns.

 When I log in into my Browser in the campaign settings there is a 
 textfield named Dynamic Tracking-URL where I can type an url like 
 http://www.mysite.de/test{lpurl} .
 Can I set this URL via the API? In the example of my Library (v201402) I 
 don't find a solution for my question.


 Greetings from germany


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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Google logout API not working

2014-05-27 Thread Anash P. Oommen (AdWords API Team)
Hi Meral,

Google+ API is supported through Stackoverflow, so could you ask your 
question on Stackoverflow and 
taghttp://stackoverflow.com/questions/tagged/google-plusit appropriately?

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Monday, May 26, 2014 9:49:46 AM UTC-4, MERAL MARADIA wrote:

 Hello,

 I am using the google V3 API. I am working with javascript library code. 
 All my code is based on javascript API.  I have used the example  
 integrated the code for authentication  list out videos. But I am 
 wondering for logout functionality code.

 My authentication functionality is working well. But after login I am 
 using gapi.auth.signOut() API to make the user log out from google. But it 
 seems not working, I followed the instruction of this page - 
 https://developers.google.com/+/web/signin/sign-out. 
 As per instruction I put the following code for logging out the user.

 gapi.auth.signIn({cookiepolicy:'none', class:'g-signin', 
 clientid:clientId, callback:function(authResult){ gapi.auth.signOut(); }});

 But it is not helping out to make the user sing out.

 Can anybody let me know what mistake I am making ?

 Thanks,




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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CampaignError.INCOMPATIBLE_FREQUENCY_CAP

2014-05-27 Thread Anash P. Oommen (AdWords API Team)
Hi Win,

I've asked the API team to investigate this further. You shouldn't probably 
be getting this error message, since the error code isn't published 
externally. I'll keep you updated.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Monday, May 26, 2014 9:50:19 PM UTC-4, Win Ko Aye wrote:

 I am getting INCOMPATIBLE_FREQUENCY_CAP when I make mutate call on 
 campaign service. I am not able to find any information regarding this. 
 Belows are some of the SOAP parameters in that call. 

 frequencyCap
 impressions10/impressions
 timeUnitDAY/timeUnit
 levelCAMPAIGN/level
 /frequencyCap
 biddingStrategyConfiguration
 biddingStrategyTypeMANUAL_CPM/biddingStrategyType
 /biddingStrategyConfiguration

 Any help or pointer would be much appreciated. Thanks.


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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Can I register an adwords account's billing information by API?

2014-05-27 Thread Josh Radcliff (AdWords API Team)
Hi,

The API does not support entering billing information for an account. You 
can only enter this information through the AdWords UI.

Cheers,
Josh, AdWords API Team

On Monday, May 26, 2014 11:46:10 PM UTC-4, appCcloud Cayto wrote:

 I have a mcc account and I'm trying to register the billing information of 
 a child adwords account by API.

 But I'm not good at English so I couldn't find out that kind of API on the 
 adwords API document.

 Can I register a child adwords account's billing information via API?


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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: excluding a placement in mobile app and NegativeCampaignCriterion'

2014-05-27 Thread Anash P. Oommen (AdWords API Team)
Hi Inaal,

Could you kindly open an issue 
at https://github.com/googleads/googleads-php-lib/issues? This looks like 
an issue with the PHP library.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Tuesday, May 27, 2014 6:40:52 AM UTC-4, Inaal Haolam wrote:

 i'm trying to exclude a placement by appId and negative 
 NegativeCampaignCriterion.

 Here's the operand:

 'operand': {
 'type': 'NegativeCampaignCriterion',
 'campaignId': campaign_id,
 'criterion': {
 'xsi_type': 'MobileApplication',  
 'appId': placement_url,
 },
 }


 i receive an error: 
   ...
   File 
 /usr/local/lib/python2.7/dist-packages/suds_jurko-0.6-py2.7.egg/suds/mx/literal.py,
  
 line 86, in start
 raise TypeNotFound(content.tag)
 suds.TypeNotFound: Type not found: 'type'


 (i posted another question about it, but i can't find it in the system)
 in any case - this is an update to the question)
 (there's another question about it in the forum from 2013, but then it was 
 in Beta, and received no answer)



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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Problem with AuthenticationError.NOT_ADS_USER

2014-05-27 Thread Anash P. Oommen (AdWords API Team)
Hi Yasin,

I responded on the other thread you posted.

Cheers,
Anash

On Tuesday, May 27, 2014 6:34:46 AM UTC-4, Yasin wrote:

 Hello Support-Team-Members,

 we use the php-version v201402 to connect to the AdWords-API. It was 
 running perfectly, but since 2014-05-21 we get the following failure in the 
 logs: 'AuthenticationError.NOT_ADS_USER'

 We have two accounts to manage 2 separate companies. The Scripts are all 
 the same (the token etc. are different in the auth.ini file, of cource) but 
 with one of the accounts we can't fetch information from the API any more.

 Maybe our account is messed up somehow? What can we do?

 Please help!

 Regards,
 Yasin


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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: getting forbidden error when trying to use content shopping api

2014-05-27 Thread Josh Radcliff (AdWords API Team)
Hi,

This group covers questions with the AdWords 
APIhttps://developers.google.com/adwords/api/. 
For help  discussions on the Content API, please post to the Content API 
forumhttps://groups.google.com/forum/#!forum/google-content-api-for-shopping
.

Thanks,
Josh, AdWords API Team

On Tuesday, May 27, 2014 9:45:29 AM UTC-4, srikanthg...@gmail.com wrote:

  Hi Team,

 Iam trying to get products which are available in merchant center using 
 content api.

 Iam just using the sample example of structuredcontent_public which is 
 already available.

 i cannot retrieve the products and getting exception 

 com.google.api.client.http.HttpResponseException: 403 Forbidden

 can someone help on this


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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


CONCURRENT_MODIFICATION

2014-05-27 Thread Seth
I'm working on a single threaded application using the ruby client and keep 
running into this intermittent error. 

I'm trying to create campaigns, ad groups, ads, and keywords in that order. 
I'm batching the operations for each by groups of 5,000. Each batch only 
contains a single service, for example a batch of campaigns or ad groups.

While the error is happening by many of the services, it usually happens 
when I'm using the CampaignCriterionService.

(I've also tried groups of as little as 1,000 and adding a sleep between 
requests with no success.)

Any idea why this might be happening?

Thanks
Seth

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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: is there a tool or feature that show my web console actions as a JSON operation code?

2014-05-27 Thread Michael Cloonan (AdWords API Team)
Hello,

As far as I am aware, there is no tool to see the analogous API call for a 
given action from the AdWords user interface. Not everything that is 
supported via the user interface is supported via the API, and vice verse. 
If you are having trouble using an API-specific feature, please do post on 
the forum for help.

Regards,
Mike, AdWords API Team

On Tuesday, May 27, 2014 5:44:57 AM UTC-4, Inaal Haolam wrote:

 Some programs and websites provide developers with ability to record 
 their actions,
 and display code snippet that can be used for the API.

 Is there such a feature in adwords?

 My guess is, that internally, adwords.google.com communicates with 
 AdWords engine via the same JSON operations as used in the API.
 If so, maybe there's a way for us, developers, to view actions' code?

 It's sure save lots of time.



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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CONCURRENT_MODIFICATION

2014-05-27 Thread Michael Cloonan (AdWords API Team)
Hi Seth,

Are you sure that the previous execution is finished before starting the 
next execution? Using a sleep timer might not be sufficient for this, 
depending on how long the sleep timer is going.

Also, are you user that there are no other users trying to make 
modifications to the same account at the same time that you are testing 
your own code?

These are the most likely culprits, but if you can rule these out I can 
take another look.

Regards,
Mike, AdWords API Team

On Tuesday, May 27, 2014 1:41:06 PM UTC-4, Seth wrote:

 I'm working on a single threaded application using the ruby client and 
 keep running into this intermittent error. 

 I'm trying to create campaigns, ad groups, ads, and keywords in that 
 order. I'm batching the operations for each by groups of 5,000. Each batch 
 only contains a single service, for example a batch of campaigns or ad 
 groups.

 While the error is happening by many of the services, it usually happens 
 when I'm using the CampaignCriterionService.

 (I've also tried groups of as little as 1,000 and adding a sleep between 
 requests with no success.)

 Any idea why this might be happening?

 Thanks
 Seth


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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Linking account by PHP api

2014-05-27 Thread Michael Cloonan (AdWords API Team)
Hello,

This sounds like it may be a bug with our PHP library, or with a 
configuration on your server that conflicts with our PHP library.

Could you open a bug for this issue at our library page on 
GitHubhttps://github.com/googleads/googleads-php-lib? 
They will be able to better assist you there with the client-library 
specific concern.

Regards,
Mike, AdWords API Team

On Monday, May 26, 2014 11:05:11 AM UTC-4, sup...@grafxsoftware.com wrote:

 Hi! 

 Thanks for the answer!
 I tried to link an account with php AdWords api (v201309):
 Now the clientCustomerId is the id of the client, and the 
 managerCustomerId = $this-user-GetClientCustomerId();
 $this-user is the user of my MCC account. ( Like in the examples $user )

 The code is:
 // $data is prevalidated data from post.
 private function linkingUser(  $data )
 {
 // Get the service, which loads the required classes.
 $managedCustomerService =
 $this-user-GetService('ManagedCustomerService', 
 ADWORDS_VERSION);

 $link = new ManagedCustomerLink();
 $link-clientCustomerId = $data[clientId]; //CLIENT_CID;
 $link-pendingDescriptiveName = PENDING:  . $data[clientId];
 $link-linkStatus = 'PENDING';
 $link-managerCustomerId = $this-user-GetClientCustomerId(); 
 //MANAGER_CID;
 
 // Create operation.
 $operation = new LinkOperation();
 
 $operation-operand = $link;
 $operation-operator = 'ADD';

 $operations = array(  $operation );

 try
 {
 // Make the mutate request.
 $result = $managedCustomerService-mutate( $operations );
 }
 catch (Exception $e) {
 $message = $e-getMessage();
 $this-errors[] = $message;
 return FALSE;
 }
 
 if( empty( $result-value[0] ) )
 {
 $error = Linking failed (garfx). ;
 $this-errors[] = $error;
 return FALSE;
 }
 
 return $result-value[0];
 }
 Probleme 1.)
 The result from catch section is: {error : unauthorized_client}

 Probleme 2.)
 curl probleme in API: 
 Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an 
 open_basedir is set in /var/www/vhosts/
 grafxsoftware.com/httpdocs/gapi/src/Google/Api/Ads/Common/Util/CurlUtils.phpon
  line 107

 Thanks for helping.

 Grafx.




 -
 On Friday, May 23, 2014 4:15:49 PM UTC+3, sup...@grafxsoftware.com wrote:

 Hi!

 I tried to link an account with this code in php AdWords api:

 private function linkingUser(  $data )
 {
 
 // Get the service, which loads the required classes.
 $managedCustomerService =
 $this-user-GetService('ManagedCustomerService', 
 ADWORDS_VERSION);


 $link = new ManagedCustomerLink();
 $link-clientCustomerId = $data[googleClientId];//CLIENT_CID;
 $link-pendingDescriptiveName = ;
 $link-linkStatus = 'PENDING';
 $link-managerCustomerId = $data[googleClientId];//MANAGER_CID;
 
 // Create operation.
 $operation2 = new LinkOperation();
 
 $operation2-operand = $link;
 $operation2-operator = 'ADD';

 $operations = array( $operation2);
 
 
 
 try
 {
 // Make the mutate request.
 $result = $managedCustomerService-mutate( $operations );
 }
 catch (Exception $e) {
 $this-errors[] = $this-parseAdWordsError( $e-getMessage() 
 );
 return FALSE;
 }
 
 
 if( empty( $result-value[0] ) )
 {
 $error = AdWordsUser not created (garfx). ;
 $this-errors[] = $error;
 return FALSE;
 }
 
 return $result-value[0];
 }
 
 The response was: 

 [RequiredError.REQUIRED @ operations[0].operand.customerCurrencyCode, 
 RequiredError.REQUIRED @ operations[0].operand.clientName, 
 RequiredError.REQUIRED @ operations[0].operand.dateTimeZone]

 Please help me. What is wrong with my code?

 Thx.



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 

Re: Multi attribution with upload conversions

2014-05-27 Thread Josh Radcliff (AdWords API Team)
Hi Jon,

I can only speak to the functionality of the AdWords API, but in that 
regard if a user comes to your site twice -- once via Ad 1 and five days 
later via Ad 2, then the Click Performance 
Reporthttps://developers.google.com/adwords/api/docs/appendix/reports#click 
will 
report two distinct *GCLID*s. In terms of conversion uploads, you could 
upload a conversion for each of those clicks, but if you upload multiple 
conversions for the *same* GCLID/conversion name/conversion time 
combination, AdWords will only record the first uploaded conversion and 
ignore the 
resthttps://developers.google.com/adwords/api/docs/reference/v201402/OfflineConversionFeedService.OfflineConversionFeed#conversionTime
.

I'm not sure if that answers your question, though. If you are asking about 
the behavior of the API, feel free to post a follow up here. If instead you 
are asking about the behavior of the *Model Comparison Tool*, then please 
post your question to the Analytics 
forumhttps://productforums.google.com/forum/#!forum/analytics
.

Thanks,
Josh, AdWords API Team

On Friday, May 23, 2014 9:07:35 AM UTC-4, Jon Perry wrote:

 I am wondering how the Model Comparison Tool works with upload 
 conversions...

 If I am to upload a conversion via the API, or otherwise, with the last 
 GCLID that was attributed to the visitor that has converted with us; will I 
 still be able to see the attribution change for that conversion if, for 
 example, the visitor entered the site via a different ad previously?

 For example if they come to the site via Ad 1, then 5 days later come via 
 Ad 2 and convert offline and I upload the conversion with the GCLID 
 relating to the Ad 2 click; will AdWords preserve the Ad 1 click so if I 
 compare first click attribution with last click attribution I can see the 
 attribution change from Ad 1 to Ad 2?

 Thanks,
 Jon


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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CONCURRENT_MODIFICATION

2014-05-27 Thread Seth
Yes, I'm slicing an array of operations by 5,000 and pushing the api 
results to a results array before the sleep and new request. And this is my 
dev code and I'm the only user.

On Tuesday, May 27, 2014 2:59:07 PM UTC-4, Michael Cloonan (AdWords API 
Team) wrote:

 Hi Seth,

 Are you sure that the previous execution is finished before starting the 
 next execution? Using a sleep timer might not be sufficient for this, 
 depending on how long the sleep timer is going.

 Also, are you user that there are no other users trying to make 
 modifications to the same account at the same time that you are testing 
 your own code?

 These are the most likely culprits, but if you can rule these out I can 
 take another look.

 Regards,
 Mike, AdWords API Team

 On Tuesday, May 27, 2014 1:41:06 PM UTC-4, Seth wrote:

 I'm working on a single threaded application using the ruby client and 
 keep running into this intermittent error. 

 I'm trying to create campaigns, ad groups, ads, and keywords in that 
 order. I'm batching the operations for each by groups of 5,000. Each batch 
 only contains a single service, for example a batch of campaigns or ad 
 groups.

 While the error is happening by many of the services, it usually happens 
 when I'm using the CampaignCriterionService.

 (I've also tried groups of as little as 1,000 and adding a sleep between 
 requests with no success.)

 Any idea why this might be happening?

 Thanks
 Seth



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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CONCURRENT_MODIFICATION

2014-05-27 Thread Michael Cloonan (AdWords API Team)
Hi Seth,

Please see our common errors page on this issue: 
https://developers.google.com/adwords/api/docs/common-errors#DatabaseError

Sometimes, if you get unlucky, you will be trying to update keywords at the 
same time as our internal system is approving or disapproving your previous 
ones. This is likely what is causing your issues, since you are trying to 
upload so many in quick succession.

The best thing to do is to build in an automatic retry with a 30 second or 
more delay until it works.

Regards,
Mike, AdWords API Team

On Tuesday, May 27, 2014 3:50:47 PM UTC-4, Seth wrote:

 Yes, I'm slicing an array of operations by 5,000 and pushing the api 
 results to a results array before the sleep and new request. And this is my 
 dev code and I'm the only user.

 On Tuesday, May 27, 2014 2:59:07 PM UTC-4, Michael Cloonan (AdWords API 
 Team) wrote:

 Hi Seth,

 Are you sure that the previous execution is finished before starting the 
 next execution? Using a sleep timer might not be sufficient for this, 
 depending on how long the sleep timer is going.

 Also, are you user that there are no other users trying to make 
 modifications to the same account at the same time that you are testing 
 your own code?

 These are the most likely culprits, but if you can rule these out I can 
 take another look.

 Regards,
 Mike, AdWords API Team

 On Tuesday, May 27, 2014 1:41:06 PM UTC-4, Seth wrote:

 I'm working on a single threaded application using the ruby client and 
 keep running into this intermittent error. 

 I'm trying to create campaigns, ad groups, ads, and keywords in that 
 order. I'm batching the operations for each by groups of 5,000. Each batch 
 only contains a single service, for example a batch of campaigns or ad 
 groups.

 While the error is happening by many of the services, it usually happens 
 when I'm using the CampaignCriterionService.

 (I've also tried groups of as little as 1,000 and adding a sleep between 
 requests with no success.)

 Any idea why this might be happening?

 Thanks
 Seth



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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.