Change keyword bids bases on position in v201409

2014-11-27 Thread Filip Holmberg
Is it possible to update keywords bids individually in v201409? I got it to 
work on AdGroup level but some post and docs mention that it is not 
possible on a keyword level. 

We would like to adjust bids based on their position. What's the best api 
approach to handle this. This is handled manually from the UI and 
Automate menu at the moment.

Thanks in advance,
Filip

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f76cdbd4-d4aa-42e8-b00b-e3a67d9f1af2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED using upload_offline_conversions

2014-11-27 Thread do
Hi

I am using a script very similar to upload_offline_conversions.pl with 
v201409
a difference is that i am setting the oauth handler in the script:

my $client = Google::Ads::AdWords::Client-new({version = 
v201409});
$client-set_developer_token($clientSettings-{developer_token});

$client-get_oauth_2_handler()-set_client_id($clientSettings-{client_id});

$client-get_oauth_2_handler()-set_client_secret($clientSettings-{client_secret});

$client-get_oauth_2_handler()-set_access_token($agent-{access_token});

$client-get_oauth_2_handler()-set_refresh_token($agent-{refresh_token});

it works fine in v201406 but in v201409 i am getting this error: 
AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/87f0ef2d-6050-47db-898a-64508de8ccd8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Traffic Estimator Service: RateExceededError

2014-11-27 Thread Danial Klimkin
Hello All,


There was an issue with an internal system that resulted in lower rate 
limits for TES service. We've already increased the limit and hope to 
completely resolve this issue early next week.


-Danial, AdWords API Team.


On Wednesday, November 26, 2014 10:44:08 PM UTC+3, Lan wrote:

 We are getting the same exact error as well. We even tried rotating 
 through a list of accounts and still getting the error.

 On Wednesday, November 26, 2014 4:37:22 AM UTC-5, Parander wrote:

 Sorry for the me too post but I'm experiencing exactly the same problem 
 as Christian. I first encountered the problem on 24/11 and now I'm getting 
 it all the time for TrafficEstimatorService, I even manage to get it on 
 the first request of the day (hours after the previous request was made). 

 The account has been in use for a very long time and we never saw this 
 error before 24/11, we haven't increased our QPS and shouldn't be near the 
 rate limits. 

 Other functions such as TargetingIdeaService doesn't seem to be affected.

 Please advice.










-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/585ac80e-4a59-413a-9254-4a71d619f31c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


TokenResponseException while connectiong to Google adwords API using service account

2014-11-27 Thread edduenasnordstrom


We tried to create a code to obtain Google Adwords API connection using 
service account but we are getting the following errors.

 

 

Caused by: *com.google.api.client.auth.oauth2.TokenResponseException*: 400 
Bad Request

{

  error : invalid_grant

}

   at com.google.api.client.auth.oauth2.TokenResponseException.from(
*TokenResponseException.java:105*)

   at com.google.api.client.auth.oauth2.TokenRequest.executeUnparsed(
*TokenRequest.java:287*)

   at com.google.api.client.auth.oauth2.TokenRequest.execute(
*TokenRequest.java:307*)

   at 
com.google.api.client.googleapis.auth.oauth2.GoogleCredential.executeRefreshToken(
*GoogleCredential.java:384*)

   at com.google.api.client.auth.oauth2.Credential.refreshToken(
*Credential.java:489*)

   at com.google.api.ads.common.lib.auth.OAuth2Helper.callRefreshToken(
*OAuth2Helper.java:70*)

   at com.google.api.ads.common.lib.auth.OAuth2Helper.refreshCredential(
*OAuth2Helper.java:56*)

   at 
com.google.api.ads.common.lib.auth.AuthorizationHeaderProvider.getOAuth2Header(
*AuthorizationHeaderProvider.java:102*)

 

 

 

*The code for google adwords API connection using service account is :*

 

 

 

GoogleCredential serviceAccountCredential = *new* GoogleCredential.Builder()

.setTransport(*new* NetHttpTransport.Builder().setProxy(proxy).build())

.setJsonFactory(*new* JacksonFactory())

.setServiceAccountId(.apps.googleusercontent.com)

.setServiceAccountScopes(Collections.*singleton*(
https://adwords.google.com/api/adwords;))

.setServiceAccountPrivateKeyFromP12File(keyFile)

.setServiceAccountUser(@gmail.com)

.build();
 
*return* serviceAccountCredential;

 
 
AdWordsSession adSession = *new* AdWordsSession.Builder()

.fromFile()

.withOAuth2Credential(credential)
 
.build();

 

 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f70ed6d9-0a9b-434f-9aec-b54acf27f275%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: java.lang.NullPointerException after trying to get traffic estimations

2014-11-27 Thread Jorge Brasil
Hi Anash,

I can't find that file and I think I know why.

Those xml are going to be created with the lo4j login right?

And I'm receiving this message 

log4j:WARN No appenders could be found for logger 
(org.apache.commons.configuration.PropertiesConfiguration).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for 
more info.
Exception in thread main java.lang.NullPointerException
at 
adwords.axis.v201409.optimization.EstimateKeywordTraffic.runExample(EstimateKeywordTraffic.java:144)
at 
adwords.axis.v201409.optimization.EstimateKeywordTraffic.main(EstimateKeywordTraffic.java:70)


this is my full error message.

Maybe the reason that I am receiving Null response from the API is due to 
the log4j malfunction on my machine, no?

Best 

On Wednesday, 26 November 2014 11:56:18 UTC, Anash P. Oommen (AdWords API 
Team) wrote:

 Hi Jorge,

 If you can capture a SOAP request and response XML and post it after 
 removing the credentials and developerToken from the request XML, it would 
 be most useful. See 
 https://github.com/googleads/googleads-java-lib#how-do-i-enable-logging 
 for details on how to capture SOAP logs using Java library.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Tuesday, November 25, 2014 10:48:05 AM UTC-5, Jorge Brasil wrote:

 Hi, 

 After following all the instructions and spending a lot of time reading 
 this forum I'm still getting that message when trying to get traffic 
 estimations.

 I had an application running on V201404 which has been discontinued so I 
 start my migration process. After running into to several issues I've 
 decide to use adwords examples to figure out what was going on.

 I've followed every step that is on your git hub rep, download Jar import 
 the project and then start to use it.

 what is strange is that some of the examples run without issues but the 
 traffic estimations don't, not for v201406 or for v201409 so I think that I 
 can assume that my credentials file is ok.

 I didn't make any changes, I'm using everything as it is is the website 
 but that error message keeps poping everytime that I try and get traffic 
 estimations.

 I really need some help and I've tried everything, even making the 
 requests using python(the outcome was the same null).

 Thanks in advance

 Jorge Brasil



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/584ef834-3375-4932-9b0a-6333e5f0da0b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Updation of destination url using Adwords API

2014-11-27 Thread leadmaster2014
I am using Google Adwords API now i want to get the broken links for my ads 
and keywords and need to update those using API. Can anybody help please? 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/fe153c34-4958-4a43-82fe-7bc476e7f7b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Youtube ADs data - No API and now a change to emails?

2014-11-27 Thread Francesco Boano
we've not yet implemented google login procedure.. which is not really 
easy, but I suppose we'll do that in the coming days. Hope that would fix

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/2feaa716-205e-4ba3-b68a-a98ca8c8707f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED using upload_offline_conversions

2014-11-27 Thread Danial Klimkin
Hello,


This error means you are not providing the clientCustomerId in the request, 
which is required as of v201409.

This is the CID of your account (string like 123-456-7890)


-Danial, AdWords API Team.

On Thursday, November 27, 2014 3:31:51 PM UTC+3, d...@adservice.com wrote:

 Hi

 I am using a script very similar to upload_offline_conversions.pl with 
 v201409
 a difference is that i am setting the oauth handler in the script:

 my $client = Google::Ads::AdWords::Client-new({version = 
 v201409});
 $client-set_developer_token($clientSettings-{developer_token});
 
 $client-get_oauth_2_handler()-set_client_id($clientSettings-{client_id});
 
 $client-get_oauth_2_handler()-set_client_secret($clientSettings-{client_secret});
 
 $client-get_oauth_2_handler()-set_access_token($agent-{access_token});
 
 $client-get_oauth_2_handler()-set_refresh_token($agent-{refresh_token});

 it works fine in v201406 but in v201409 i am getting this error: 
 AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/8fd64a34-32d1-485d-a63b-7b2defc993d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Handle Authentication error when user logged in with non adwords account using Adwords API

2014-11-27 Thread Danial Klimkin
Hello Raman,


1. You can request BudgetId column. Further budget parameters can be 
obtained by this ID.

2. You'll need campaign performance and display reports: See the reporting 
reference:

   https://developers.google.com/adwords/api/docs/appendix/reports

3. Campaign Sub-Type is a UI-only field. It is only used to define which 
options are visible in the UI. It has no effect on delivery and not 
reflected in the API.


-Danial, AdWords API Team.



On Wednesday, November 26, 2014 5:12:53 PM UTC+3, Raman Dadhwal wrote:

 Hello Danial,

 Thanks for your valuable response.

 The Adwords API version that i am using while fetching Adwords data is 
 *v201409.*
 Will you please guide me in displaying campaign performance data. 
 I have successfully display the campaign performance report but data 
 displayed on my website is not similar with data displayed in Google 
 adwords account like..
 1) How can i fetch the Budget field from *CAMPAIGN_PERFORMANCE_REPORT* ? 
 The predicate that i have used to display the campaign data  
 *new Predicate('Status', 'NOT_IN', array('REMOVED')*
 which results in inaccurate *budget* in Campaign table, rest all data 
 is accurate.
 But when i use the below predicate i.e.,
 *new Predicate('Status', 'NOT_IN', 
 array('REMOVED','PAUSED')*
 then the budget displayed in Campaign table is accurate,  rest all 
 data is inaccurate.
 2) How can i fetch the following data:
 



 *a) Total- Display Networkb) Total- Search Networkc) Total- All 
 but removed campaignsd) Total- All campaigns*Problem mentioned in 
 First point persist in first two options i.e., *c) and d)* 
 For last two option *a) and b)*, Google Adwords provide me any api 
 that will help me in displaying data or it has been done manually ?
 3) How can i fetch *Campaign Sub type* as *field* with *Campaign Sub-Type* 
 does not exists in *CAMPAIGN_PERFORMANCE_REPORT* ?

 Along with this, please provide me the references so that i can easily 
 fetch the accurate result which is similar with the Campaign data displayed 
 in Google Adwords. 
   
 With Regards,
 Raman

 On Wednesday, November 26, 2014 4:56:22 PM UTC+5:30, Danial Klimkin wrote:

 Hello Raman,


 I don't understand the question. If user logged in under a login w/o 
 AdWords account, you'll get a NOT_ADS_USER error.

 You can send the user to the login page then to re-auth.


 -Danial, AdWords API Team.


 On Tuesday, November 25, 2014 8:58:53 AM UTC+3, raman kumar wrote:

 Hello,

 Is there any way to handle Authentication error in PHP when user logged 
 in with non adwords account using Adwords API?

 Any help regarding this is highly apperciable.

 Waiting for the response.

 With Regards,
 Raman



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/9f27852a-ab08-4a0c-85c0-950df6c12711%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How Long to Approve API Account

2014-11-27 Thread Danial Klimkin
Please see:

  https://groups.google.com/d/msg/adwords-api/rp0HFwu-E0M/gZK9lwebWWQJ


-Danial.


On Thursday, November 27, 2014 12:19:11 PM UTC+3, DD wrote:

 Hi all,

 Last week I applied for an AdWords API account, but it is still showing as 
 'pending approval'.

 Does anyone know how long this usually takes?  I was under the impression 
 it would be around 48 hours.

 I used to have an API account set up, so thought it would be quick and 
 easy to approve.

 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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/de4071dc-80d2-4761-ab13-b5bbd556de21%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED using upload_offline_conversions

2014-11-27 Thread do
How do i provide that to the request using the perl lib ?

On Thursday, November 27, 2014 1:31:51 PM UTC+1, d...@adservice.com wrote:

 Hi

 I am using a script very similar to upload_offline_conversions.pl with 
 v201409
 a difference is that i am setting the oauth handler in the script:

 my $client = Google::Ads::AdWords::Client-new({version = 
 v201409});
 $client-set_developer_token($clientSettings-{developer_token});
 
 $client-get_oauth_2_handler()-set_client_id($clientSettings-{client_id});
 
 $client-get_oauth_2_handler()-set_client_secret($clientSettings-{client_secret});
 
 $client-get_oauth_2_handler()-set_access_token($agent-{access_token});
 
 $client-get_oauth_2_handler()-set_refresh_token($agent-{refresh_token});

 it works fine in v201406 but in v201409 i am getting this error: 
 AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/63caa7cc-2975-4da4-a3bc-8fcf5b094d3b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error Uncaught SoapFault exception: [soap:Server] [SelectorError.INVALID_PREDICATE_ENUM_VALUE @ serviceSelector; trigger:'DELETED']

2014-11-27 Thread Danial Klimkin
Hello,


'DELETED' is now known as 'REMOVED'. Please see the migration guide:

  https://developers.google.com/adwords/api/docs/guides/migration/v201406


-Danial, AdWords API Team.


On Thursday, November 27, 2014 12:31:28 PM UTC+3, mcc.cit...@gmail.com 
wrote:

 2014/11/26 15:49:42 [error] 9220#0: *734808 FastCGI sent in stderr: PHP 
 message: PHP Fatal error: Uncaught SoapFault exception: [soap:Server] 
 [SelectorError.INVALID_PREDICATE_ENUM_VALUE @ serviceSelector; 
 trigger:'DELETED'] in /Google/Api/Ads/Common/Lib/AdsSoapClient.php:232

 Stack trace:
 #0 /Google/Api/Ads/Common/Lib/AdsSoapClient.php(232): 
 SoapClient-__soapCall('get', Array, NULL, Array, Array)
 #1 Google/Api/Ads/AdWords/v201409/CampaignService.php(7849): 
 AdsSoapClient-__soapCall('get', Array)
 #2 /library/addwords/index.php(114): CampaignService-get(Object(Selector))
 #3 library/addwords/index.php(89): GetCampaigns(Object(AdWordsUser), 
 'v201409')
 #4 {main}
   thrown in /library/addwords/Google/Api/Ads/Common/Lib/AdsSoapClient.php 
 on line 232 while reading response header from upstream, client: 
 92.60.176.169, server: citrus_dzyubenko.r.citrus.ua, request: GET 
 /library/addwords/ HTTP/1.0, upstream: 
 fastcgi://unix:/var/run/php-fpm/php-fpm.sock:, host: 
 citrus_dzyubenko.r.citrus.ua


 *I had such a mistake. What could it be?*


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/8e425949-5b04-45e7-9fbb-2422c46fe02b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED using upload_offline_conversions

2014-11-27 Thread Danial Klimkin
This should be:

  $client-set_client_id(123-456-7890)


-Danial.

On Thursday, November 27, 2014 4:09:31 PM UTC+3, d...@adservice.com wrote:

 How do i provide that to the request using the perl lib ?

 On Thursday, November 27, 2014 1:31:51 PM UTC+1, d...@adservice.com wrote:

 Hi

 I am using a script very similar to upload_offline_conversions.pl with 
 v201409
 a difference is that i am setting the oauth handler in the script:

 my $client = Google::Ads::AdWords::Client-new({version = 
 v201409});
 $client-set_developer_token($clientSettings-{developer_token});
 
 $client-get_oauth_2_handler()-set_client_id($clientSettings-{client_id});
 
 $client-get_oauth_2_handler()-set_client_secret($clientSettings-{client_secret});
 
 $client-get_oauth_2_handler()-set_access_token($agent-{access_token});
 
 $client-get_oauth_2_handler()-set_refresh_token($agent-{refresh_token});

 it works fine in v201406 but in v201409 i am getting this error: 
 AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/41c8f3dd-2367-4105-9364-af7ee65b8ae3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: New enums

2014-11-27 Thread Danial Klimkin
Hello Rasmus,


Goog spot! This should not be a visible change though as UNKNOWN will not 
be returned under normal conditions.


-Danial, AdWords API Team.


On Thursday, November 27, 2014 12:19:11 PM UTC+3, Rasmus Ladekjær Pedersen 
wrote:

 You have changed some enums, e.g.


 https://developers.google.com/adwords/api/docs/reference/v201406/CampaignService.CampaignStatus

 to 


 https://developers.google.com/adwords/api/docs/reference/v201409/CampaignService.CampaignStatus

 Please put this in the migration guide. Also, please add new enums to the 
 end of the list.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/5cd750fb-850f-403a-b6be-a255df15cc29%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: False Positive Offline Conversion Post

2014-11-27 Thread Danial Klimkin
Hello,


Yes, just remove erroneous items and re-send the rest. It is also ok to 
resend already accepted conversion.

As per guide:

  https://developers.google.com/adwords/api/docs/guides/importing-conversions

It takes up to 3 hours for imported conversions statistics to show up in 
your AdWords account.

API and UI should reflect the same data.


-Danial, AdWords API Team.


On Wednesday, November 26, 2014 8:41:56 PM UTC+3, chi...@wpromote.com wrote:

 Thanks Danial, 

 So, would there be any issue if I removed the offending results from the 
 array and resubmitted those that were successful? Or would it make sense to 
 submit individual posts for each offline conversion?

 There is a considerable delay in the AdWords interface Tools  
 Conversions view. And We've noticed discrepancy between that Conversion 
 View and the Traffic Funnel View. The numbers do not match. 
 1.) What is the generally accepted delay from post for the conversion to 
 appear in the AdWords interface?
 2.) What is the generally accepted delay from post for the conversion to 
 appear when we Call KEYWORDS_PERFORMANCE_REPORT or 
 CAMPAIGN_PERFORMANCE_REPORT Requests?
 3.) Would you suggest using the API to view results or the AdWords Web 
 Interface?

 Chimdi-
 On Tuesday, November 25, 2014 4:47:29 AM UTC-8, Danial Klimkin wrote:

 Hello,


 Please note conversion uploads are atomic. So if you submit 3 conversions 
 and one results in the error, none of them are uploaded, though you don't 
 get errors for two of them.


 -Danial, AdWords API Team.


 On Tuesday, November 25, 2014 2:43:54 AM UTC+3, chi...@wpromote.com 
 wrote:

 Anyone having an issue with false positives when submitting an offline 
 conversion? I noticed that not all of my conversions are showing up in 
 Adwords but I get a successful response (no errors). I check the soap log 
 and there's no evidence of failure. 



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/fa883578-d13a-43b1-baf7-56bfb5133131%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Offline Conversions stopped showing up

2014-11-27 Thread Danial Klimkin
Hello Nicola,


Please consider two points here:

1. Conversions are attributed to the time of the click, not the time you 
specify during upload. Did you successfully upload any conversion for 
clicks happened after Nov 8th?

2. Conversion upload requests are atomic. If at least one conversion failed 
due to the reasons you mentioned, no conversions will be accounted from the 
same request. You need to remove / fix faulty conversions and re-send the 
request.


-Danial, AdWords API Team.


On Wednesday, November 26, 2014 4:40:40 PM UTC+3, nicola baisero wrote:

 Hi there, we're having some issues sending conversions through the adwords 
 API (those used in [1]).

 We managed to get all the authentication/authorization tokens for making 
 the adwords session work (we based our code on the examples in attached 
 java client in [1], and we generated the refresh token with the 
 adwords.axis.auth.GetRefreshToken utility from [2]). We also sent a bunch 
 of conversions until the 8th of november, and we saw them tracked in the 
 google's Adwords account page correctly. Then, we pushed some more 
 conversions until 14th of november, then on sunday 16 november (conversions 
 sent were about the entire day of saturday 15 november and part of sunday): 
 so we went even further, automating the offline conversions sending every 
 day.

 The problem is that in our Adwords account page we don't see any 
 conversion after the 8th of november. Even stranger, on 14th of november we 
 were seeing conversions until that day, but some day later those 
 conversions disappeared, and only the conversions until the 8th of november 
 remained.

 The conversions sending in API lead near-always to the same feedback, i.e. 
 some EXPIRED_CLICK or CONVERSION_PRECEDES_CLICK, related to few conversions 
 of those sent, before and after the 14th of november. The source code 
 pushing conversions is the same (java, v201409). In those days we switched 
 from a basic access api token to a standard access api token (it could be 
 helpful for troubleshooting).

 Here follows the inspection of the 
 com.google.api.ads.adwords.axis.v201409.cm.OfflineConversionFeedOperation 
 object that carries a single conversion:

 itemOfflineConversionFeed  (id=107)
 __equalsCalcnull
 __hashCodeCalcfalse
 conversionCurrencyCodeUSD (id=111)
 conversionNameimported (id=114)
 conversionTime20141116 112149 Europe/Rome (id=115)
 conversionValueDouble  (id=116)
 value0.11
 googleClickIdexamplevalue (id=119)

 We create a list of feed operations given a list of these instances:

 OfflineConversionFeedOperation offlineConversionOperation = new 
 OfflineConversionFeedOperation();
 offlineConversionOperation.setOperator(Operator.ADD);
 offlineConversionOperation.setOperand(enrichedConversion.conversionFeed);

 and then we send them with the feed service

 OfflineConversionFeedServiceInterface offlineConversionFeedService = 
 adWordsServices.get(session, 
 OfflineConversionFeedServiceInterface.class);
 OfflineConversionFeedReturnValue offlineConversionReturnValue = 
 offlineConversionFeedService
 .mutate(conversionOperations.toArray(
 new OfflineConversionFeedOperation[conversionOperations.
 size()]));

 We don't understand why we don't see conversions in our account page 
 considering that the API response is successfull. Is there someone that 
 could help us in the troubleshooting process? Thank you

 [1]: 
 https://developers.google.com/adwords/api/docs/guides/importing-conversions
 [2]: 
 https://github.com/googleads/googleads-java-lib/tree/master/examples/adwords_axis


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/6d3a79a5-02ef-48cb-804b-7208d4696daf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Change keyword bids bases on position in v201409

2014-11-27 Thread Filip Holmberg
Okey, so I got keyword bids changed individually(executed as a grouped 
mutate of course) by setting a individual biddingStrategyConfiguration. 
Might this be the best way or am I missing something here? 

$keywordTest = [
['keywordID' = '11372600', 'adgroupID' = '8941319456'],
['keywordID' = '11938331', 'adgroupID' = '8941319456'],
];

$TestApi = new Api(true);
$TestApi-getUser()-SetClientCustomerId('542-765-9912');
$CriteriaService = $TestApi-getUser()-GetService('AdGroupCriterionService');

$operations = array();
foreach($keywordTest as $keyword)
{
$adGroupCriterion= new \BiddableAdGroupCriterion();
$adGroupCriterion-adGroupId = $keyword['adgroupID'];
$adGroupCriterion-criterion = new \Criterion($keyword['keywordID']);

$bid  = new \CpcBid();
$bid-bid = new \Money(2.34 * \AdWordsConstants::MICROS_PER_DOLLAR);

$biddingStrategyConfiguration = new \BiddingStrategyConfiguration();
$biddingStrategyConfiguration-bids[] = $bid;

$adGroupCriterion-biddingStrategyConfiguration = 
$biddingStrategyConfiguration;

$operation   = new \AdGroupCriterionOperation();
$operation-operand  = $adGroupCriterion;
$operation-operator = 'SET';

array_push($operations, $operation);
}
$CriteriaService-mutate($operations);



On Thursday, 27 November 2014 12:50:32 UTC+2, Filip Holmberg wrote:

 Is it possible to update keywords bids individually in v201409? I got it 
 to work on AdGroup level but some post and docs mention that it is not 
 possible on a keyword level. 

 We would like to adjust bids based on their position. What's the best api 
 approach to handle this. This is handled manually from the UI and 
 Automate menu at the moment.

 Thanks in advance,
 Filip


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/6b7da8ec-d411-498b-bc03-a67e1d513972%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Change keyword bids bases on position in v201409

2014-11-27 Thread Danial Klimkin
Hello Filip,


This is exactly the approach.


-Danial, AdWords API Team.


On Thursday, November 27, 2014 4:28:19 PM UTC+3, Filip Holmberg wrote:

 Okey, so I got keyword bids changed individually(executed as a grouped 
 mutate of course) by setting a individual biddingStrategyConfiguration. 
 Might this be the best way or am I missing something here? 

 $keywordTest = [
 ['keywordID' = '11372600', 'adgroupID' = '8941319456'],
 ['keywordID' = '11938331', 'adgroupID' = '8941319456'],
 ];

 $TestApi = new Api(true);
 $TestApi-getUser()-SetClientCustomerId('542-765-9912');
 $CriteriaService = $TestApi-getUser()-GetService('AdGroupCriterionService');

 $operations = array();
 foreach($keywordTest as $keyword)
 {
 $adGroupCriterion= new \BiddableAdGroupCriterion();
 $adGroupCriterion-adGroupId = $keyword['adgroupID'];
 $adGroupCriterion-criterion = new \Criterion($keyword['keywordID']);

 $bid  = new \CpcBid();
 $bid-bid = new \Money(2.34 * \AdWordsConstants::MICROS_PER_DOLLAR);

 $biddingStrategyConfiguration = new 
 \BiddingStrategyConfiguration();
 $biddingStrategyConfiguration-bids[] = $bid;

 $adGroupCriterion-biddingStrategyConfiguration = 
 $biddingStrategyConfiguration;

 $operation   = new \AdGroupCriterionOperation();
 $operation-operand  = $adGroupCriterion;
 $operation-operator = 'SET';

 array_push($operations, $operation);
 }
 $CriteriaService-mutate($operations);



 On Thursday, 27 November 2014 12:50:32 UTC+2, Filip Holmberg wrote:

 Is it possible to update keywords bids individually in v201409? I got it 
 to work on AdGroup level but some post and docs mention that it is not 
 possible on a keyword level. 

 We would like to adjust bids based on their position. What's the best api 
 approach to handle this. This is handled manually from the UI and 
 Automate menu at the moment.

 Thanks in advance,
 Filip



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f36bf6f1-8d22-4d26-ac15-7d28c43e7da8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Change keyword bids bases on position in v201409

2014-11-27 Thread Filip Holmberg
Okey, so I got keyword bids changed individually(executed as a grouped 
mutate of course) by setting a individual biddingStrategyConfiguration. 
Might this be the best way or am I missing something here? 


$keywordTest = [
['keywordID' = '', 'adgroupID' = 'XX'],
['keywordID' = '', 'adgroupID' = 'XX'],
];

$TestApi = new Api(true);
$TestApi-getUser()-SetClientCustomerId('XXX-XXX-');
$CriteriaService = $TestApi-getUser()-GetService('AdGroupCriterionService');

$operations = array();
foreach($keywordTest as $keyword)
{
$adGroupCriterion= new \BiddableAdGroupCriterion();
$adGroupCriterion-adGroupId = $keyword['adgroupID'];
$adGroupCriterion-criterion = new \Criterion($keyword['keywordID']);

$bid  = new \CpcBid();
$bid-bid = new \Money(2.34 * \AdWordsConstants::MICROS_PER_DOLLAR);

$biddingStrategyConfiguration = new \BiddingStrategyConfiguration();
$biddingStrategyConfiguration-bids[] = $bid;

$adGroupCriterion-biddingStrategyConfiguration = 
$biddingStrategyConfiguration;

$operation   = new \AdGroupCriterionOperation();
$operation-operand  = $adGroupCriterion;
$operation-operator = 'SET';

array_push($operations, $operation);
}
$CriteriaService-mutate($operations);


On Thursday, 27 November 2014 12:50:32 UTC+2, Filip Holmberg wrote:

 Is it possible to update keywords bids individually in v201409? I got it 
 to work on AdGroup level but some post and docs mention that it is not 
 possible on a keyword level. 

 We would like to adjust bids based on their position. What's the best api 
 approach to handle this. This is handled manually from the UI and 
 Automate menu at the moment.

 Thanks in advance,
 Filip


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a9618337-96b2-44e3-bd4c-8f5cacef90fb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Change keyword bids bases on position in v201409

2014-11-27 Thread Filip Holmberg
Ok, thanks for the confirmation. 

On Thursday, 27 November 2014 15:30:04 UTC+2, Danial Klimkin wrote:

 Hello Filip,


 This is exactly the approach.


 -Danial, AdWords API Team.


 On Thursday, November 27, 2014 4:28:19 PM UTC+3, Filip Holmberg wrote:

 Okey, so I got keyword bids changed individually(executed as a grouped 
 mutate of course) by setting a individual biddingStrategyConfiguration. 
 Might this be the best way or am I missing something here? 




 On Thursday, 27 November 2014 12:50:32 UTC+2, Filip Holmberg wrote:

 Is it possible to update keywords bids individually in v201409? I got it 
 to work on AdGroup level but some post and docs mention that it is not 
 possible on a keyword level. 

 We would like to adjust bids based on their position. What's the best 
 api approach to handle this. This is handled manually from the UI and 
 Automate menu at the moment.

 Thanks in advance,
 Filip



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/fc74eb73-1804-4cc0-82e1-e78878ff8f8b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: TrafficEstimatorService - RateExceededError

2014-11-27 Thread Danial Klimkin
Hello Lan,


Please see:

  https://groups.google.com/d/msg/adwords-api/SrsJf990r2s/SsWB_tSzKSsJ


-Danial, AdWords API Team.

On Wednesday, November 26, 2014 11:18:01 PM UTC+3, Lan wrote:

 We are getting the following error message when calling the 
 TrafficEstimatorService. It was working fine, buy just recently (for the 
 past few days) we started getting this error.
 [RateExceededError lt;rateName=RATE_LIMIT, rateKey=null, 
 rateScope=ACCOUNT, retryAfterSeconds=30gt;]

 Tech support suggested that we try spreading the calls over multiple 
 accounts. We tried that as well, but it still did not work. We tried with 
 rotating through 100 accounts without repeating and we got about 30% fail 
 rate.

  This is the partial request. See the attached for full message.

 ?xml version=1.0 encoding=UTF-8?soapenv:Envelope xmlns:soapenv=
 http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsd=
 http://www.w3.org/2001/XMLSchema; xmlns:xsi=
 http://www.w3.org/2001/XMLSchema-instance;soapenv:Headerns1:RequestHeader 
 soapenv:mustUnderstand=0 xmlns:ns1=
 https://adwords.google.com/api/adwords/o/v201406;ns2:clientCustomerId 
 xmlns:ns2=https://adwords.google.com/api/adwords/cm/v201406
 5713170534/ns2:clientCustomerId
 ns3:developerToken xmlns:ns3=
 https://adwords.google.com/api/adwords/cm/v201406
 [REMOVED]/ns3:developerToken
 ns4:userAgent xmlns:ns4=
 https://adwords.google.com/api/adwords/cm/v201406; (AwApi-Java, 
 AdWords-Axis/1.31.0, Common-Java/1.31.0, Axis/1.4, Java/1.6.0_11, 
 jars)/ns4:userAgent
 ns5:validateOnly xmlns:ns5=
 https://adwords.google.com/api/adwords/cm/v201406
 false/ns5:validateOnly
 ns6:partialFailure xmlns:ns6=
 https://adwords.google.com/api/adwords/cm/v201406
 false/ns6:partialFailure/ns1:RequestHeader/soapenv:Header
 soapenv:Bodyget xmlns=https://adwords.google.com/api/adwords/o/v201406
 selectorcampaignEstimateRequestsadGroupEstimateRequestskeywordEstimateRequestskeyword
 ..



 soap:Envelope 
 xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;soap:HeaderResponseHeader
  
 xmlns:ns2=https://adwords.google.com/api/adwords/cm/v201406; xmlns=
 https://adwords.google.com/api/adwords/o/v201406
 ns2:requestId000508c7c813b4900ac4db449d006411/ns2:requestIdns2:serviceNameTrafficEstimatorService/ns2:serviceNamens2:methodNameget/ns2:methodNamens2:operations0/ns2:operationsns2:responseTime105/ns2:responseTime/ResponseHeader/soap:Header
 soap:Bodysoap:Faultfaultcodesoap:Server/faultcode
 faultstring[RateExceededError lt;rateName=RATE_LIMIT, rateKey=null, 
 rateScope=ACCOUNT, retryAfterSeconds=30gt;]/faultstring
 detail
 ApiExceptionFault xmlns=https://adwords.google.com/api/adwords/o/v201406; 
 xmlns:ns2=https://adwords.google.com/api/adwords/cm/v201406;
 ns2:message[RateExceededError lt;rateName=RATE_LIMIT, rateKey=null, 
 rateScope=ACCOUNT, retryAfterSeconds=30gt;]/ns2:message
 ns2:ApplicationException.TypeApiException/ns2:ApplicationException.Type
 ns2:errors xsi:type=ns2:RateExceededError xmlns:xsi=
 http://www.w3.org/2001/XMLSchema-instance;ns2:fieldPath/ns2:trigger/
 ns2:errorStringRateExceededError.RATE_EXCEEDED/ns2:errorString

 ns2:ApiError.TypeRateExceededError/ns2:ApiError.Typens2:reasonRATE_EXCEEDED/ns2:reason

 ns2:rateNameRATE_LIMIT/ns2:rateNamens2:rateScopeACCOUNT/ns2:rateScope

 ns2:retryAfterSeconds30/ns2:retryAfterSeconds/ns2:errors/ApiExceptionFault
 /detail/soap:Fault/soap:Body/soap:Envelope




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/629f5bcd-3858-4d97-b0e9-761b4859a092%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Updation of destination url using Adwords API

2014-11-27 Thread Danial Klimkin
Hello,


The API definitely allows this. Please see our doc site for start:

  https://developers.google.com/adwords/api/


-Danial, AdWords API Team.


On Thursday, November 27, 2014 12:51:03 PM UTC+3, leadmas...@gmail.com 
wrote:

 I am using Google Adwords API now i want to get the broken links for my 
 ads and keywords and need to update those using API. Can anybody help 
 please? 



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/de04fa27-feca-4527-ab98-2473000cef57%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(502)Bad Gateway

2014-11-27 Thread jai
Hi 

   From last two days iam  getting  (502)Bad Gateway error   while creating 
adds .please find the below exception stack-trace . could you please help 
me to resolve this error.
  (502)Bad Gateway
at 
org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:744)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
at 
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at 
com.google.api.ads.adwords.axis.v201406.cm.AdGroupAdServiceSoapBindingStub.mutate(AdGroupAdServiceSoapBindingStub.java:1301)
at sun.reflect.GeneratedMethodAccessor251.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:622)
at 
com.google.api.ads.common.lib.soap.SoapClientHandler.invoke(SoapClientHandler.java:109)
at 
com.google.api.ads.common.lib.soap.axis.AxisHandler.invokeSoapCall(AxisHandler.java:213)
at 
com.google.api.ads.common.lib.soap.SoapServiceClient.callSoapClient(SoapServiceClient.java:64)
at 
com.google.api.ads.common.lib.soap.SoapServiceClient.invoke(SoapServiceClient.java:93)
at com.sun.proxy.$Proxy18.mutate(Unknown Source)
at com.adwords.service.UserService.createadds(UserService.java:1947)
at com.adwords.service.UserService.createAdgroup(UserService.java:2273)
at com.adwords.service.UserService.createCampaign(UserService.java:1019)
at 
com.adwords.actions.CreateCampaignAction.createCampaign(CreateCampaignAction.java:28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:622)
at 
org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:274)
at 
org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:194)
at 
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
at 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:701)



Thanks,
Jai

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

What can cause this error CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN

2014-11-27 Thread Dominic Hofilena
Hi,

Im getting this error when creating a new campaign

CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN @ 
operations[0].operand.biddingStrategyConfiguration.biddingStrategyType; 
trigger:'BUDGET_OPTIMIZER'

What could cause this error? My other bidding schemes work. like 
CONVERSION_OPTIMIZER and MANUAL_CPC. I'm confused with this one

Im attaching the code I'm using.

Thanks in Advance

Dominic

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/8ef56c08-4a52-4f2e-b9bc-11985bc3b9e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
attachment: addCampaign.php