Re: Error CANNOT_ATTACH_BIDDING_STRATEGY_TO_ADGROUP /_CAMPAIGN

2014-12-02 Thread Georg Döhring
Hi Josh,

thank you for your reply. This does clarify some thinks, thanks. Seems as 
if we missed about that deprecation. Maybe you should update the API 
doc 
https://developers.google.com/adwords/api/docs/reference/v201409/BiddingStrategyService.ManualCpcBiddingScheme
 
as there is the enhancedCpc Option still mentioned.

For the problem with BudgetOtimizer what's the solution here? Seems as if 
my fellow Dominic Hofilena has the same problem 
here: https://groups.google.com/forum/#!topic/adwords-api/Ai0Mkq03Egw 
According to the Bidding guide, a budget optimizer is non-shared so the 
request above should work?

Thank you,
Georg

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/73d84c06-60e0-4756-975a-8eb3cc06c6ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Retreiving structural data for sitelinks

2014-12-02 Thread Visar
Anash,

Thanks for your response. If I modify the GetCampaignFeeds method to return 
all the FeedIDs (i.e not filtering on FeedID) is there anyway to know which 
FeedIDs correspond to sitelinks?

Visar

On Wednesday, November 26, 2014 11:23:50 AM UTC, Visar wrote:

 Hi,

 I'm having a little trouble using the API to retrieve structural data on 
 sitelinks within an account. What I'm looking to do is to construct a list 
 of which sitelinks belong to which campaigns (this is unavailable in the 
 reports due to the lack of Zero Impressions support).

 Ideally data which could be placed into a table of the form:

 CampaignID   SitelinkID
 01   1123412
 01   1232349
 02   2342342
 etc..

 Given that I have an exhaustive list of all the campaign IDs and sitelink 
 IDs (as placeholder feed item IDs), could someone please illustrate how 
 this could be done, i.e which services to use and how to actually use them. 
 Please be as detailed as possible. I'm currently using PHP but can work 
 with any language.

 Cheers


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3b67bd86-2874-4f18-966c-8e9a0b95683a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


AdGroupAd SET operation has no effect

2014-12-02 Thread Florian Eckerstorfer
I use the PHP SDK to create and update ads for our campaigns and yesterday 
I started to run into a problem where ad creation works fine, but updating 
an existing ads does not work.

I create an AdGroupAdOperation with the correct data, send it to the API 
but the response contains the old ad texts and they are also not changed 
online. There is no exception or error, the response looks like the 
operation was successful, but the ad text have not been updated.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/cfffb4bc-ec34-4852-83d9-5d70ea06e505%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: (502)Bad Gateway

2014-12-02 Thread Jai pur
Hi Danial,

Just now migrated to api to V201409, but getting same issues frequently ,
please check full stake-trace. could you guys hep me to avoid these type of
issues

faultCode: {http://xml.apache.org/axis/}HTTP
 faultSubcode:
 faultString: (502)Bad Gateway
 faultActor:
 faultNode:
 faultDetail:
{}:return code:  502
lt;!DOCTYPE htmlgt;
lt;html lang=engt;
  lt;meta charset=utf-8gt;
  lt;meta name=viewport content=quot;initial-scale=1, minimum-scale=1,
width=device-widthquot;gt;
  lt;titlegt;Error 502 (Server Error)!!1lt;/titlegt;
  lt;stylegt;
*{margin:0;padding:0}html,code{font:15px/22px
arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7%
auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* gt;
body{background:url(//www.google.com/images/errors/robot.png) 100% 5px
no-repeat;padding-right:205px}p{margin:11px 0
22px;overflow:hidden}ins{color:#777;text-decoration:none}a
img{border:0}@media screen and
(max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//
www.google.com/images/errors/logo_sm_2.png) no-repeat}@media only screen
and (min-resolution:192dpi){#logo{background:url(//
www.google.com/images/errors/logo_sm_2_hr.png) no-repeat 0% 0%/100%
100%;-moz-border-image:url(//www.google.com/images/errors/logo_sm_2_hr.png)
0}}@media only screen and
(-webkit-min-device-pixel-ratio:2){#logo{background:url(//
www.google.com/images/errors/logo_sm_2_hr.png)
no-repeat;-webkit-background-size:100%
100%}}#logo{display:inline-block;height:55px;width:150px}
  lt;/stylegt;
  lt;a href=//www.google.com/gt;lt;span id=logo
aria-label=Googlegt;lt;/spangt;lt;/agt;
  lt;pgt;lt;bgt;502.lt;/bgt; lt;insgt;That’s an error.lt;/insgt;
  lt;pgt;The server encountered a temporary error and could not complete
your request.lt;pgt;Please try again in 30 seconds.  lt;insgt;That’s
all we know.lt;/insgt;

{http://xml.apache.org/axis/}HttpErrorCode:502

(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.v201409.cm.AdGroupCriterionServiceSoapBindingStub.mutate(AdGroupCriterionServiceSoapBindingStub.java:1679)

at sun.reflect.GeneratedMethodAccessor113.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.$Proxy20.mutate(Unknown Source)
at
com.adwords.service.UserService.adgroupKeyWordCreation(UserService.java:1331)

at com.adwords.service.UserService.createAdgroup(UserService.java:2294)
at com.adwords.service.UserService.createCampaign(UserService.java:988)
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:646)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)

at

Re: why I got a null report ?

2014-12-02 Thread Zhuo Chen
It's because that account only contains a video campaign.

On Monday, December 1, 2014 10:26:33 AM UTC+8, 张君峰 wrote:

 api.adwords.clientCustomerId=522-517-5857

  selector.getFields().addAll(Lists.newArrayList(
 Cost,
 Date));

 DateRange dateRange = new DateRange();
 dateRange.setMin(20140905);
 dateRange.setMax(20140925);
 selector.setDateRange(dateRange);

 ReportDefinition reportDefinition = new ReportDefinition();
 reportDefinition.setReportName(Account performance report # + 
 System.currentTimeMillis());

  reportDefinition.setDateRangeType(ReportDefinitionDateRangeType.CUSTOM_DATE);
 

  
 reportDefinition.setReportType(ReportDefinitionReportType.ACCOUNT_PERFORMANCE_REPORT);
 reportDefinition.setDownloadFormat(DownloadFormat.CSV);
 
 reportDefinition.setIncludeZeroImpressions(false);
 reportDefinition.setSelector(selector);

 在 2014年11月28日星期五UTC+8下午8时07分40秒,Danial Klimkin写道:

 What is the report definition you are using? Which account do you ran 
 report against?


 -Danial, AdWords API Team.

 On Thursday, November 27, 2014 1:02:18 PM UTC+3, 张君峰 wrote:


 https://lh3.googleusercontent.com/-qstaSfUvMes/VHb1_iQS2nI/AAM/7R2q1L3EP6k/s1600/Z0DPQY%25O_CK%40%5BYX%60%7E%29GP3%7BJ.png


 https://lh6.googleusercontent.com/-2OfEEQUmNq0/VHb2C2lsjXI/AAU/2PGvAkXt1t8/s1600/SN9K8XG%25%25P%28%7EJ76MO8381WY.jpg
 The reason in the pictures.

 Can anyone help me?



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e8790e3f-f63a-430a-9edf-fd8a408e1f52%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Adwords API Work on Video Campaigns?

2014-12-02 Thread innored developer
Can we load the Video Campaigns by using Adwords API?

If it's still in beta, when can we possibly use the final version?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5f82ca92-f78f-4315-aefe-7975cfada2f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Test MCC account fails account setup

2014-12-02 Thread Joshua Bartley
I created a test MCC account, when I first log into the account I get 
constant pop ups that a save didn't occur and to log out and log back in. I 
cleared all my cookies and used a different browser, same error but I can't 
get past the create the campaign step. This was after a few attempts where 
I figured out that test mcc accounts are not compatible with google apps 
accounts. 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/cc98bcd7-9d53-4eb0-b5ca-7bd7ea40aaac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: 502 Bad gateway error

2014-12-02 Thread ThomasT
API Team,
What is the meaning of this error? Even though I saw replies from API Team 
on other threads that the issue has been resolved, we continue to get this 
error intermittently.   Is there any way the issue can be fixed permanently?

On Friday, September 20, 2013 7:58:22 PM UTC-7, David Torres (AdWords API 
Team) wrote:

 Hi Henry,

 We are still investigating, do you mind sending me logs of your cases? 
 particularly I would like to know the originating IP and time of the 
 request(s). Please send them directly to me using the Reply to Author 
 option.

 Best,

 - David Torres - AdWords API Team

 On Thursday, September 19, 2013 11:23:20 PM UTC-4, Henry Bart-Plange wrote:

 same issue here since 17/9/2013

  did any on find out what the issue is?

 On Wednesday, September 18, 2013 12:20:59 AM UTC+10, David Torres 
 (AdWords API Team) wrote:

 Hi All,

 If you can send me the times and IPs from which your are seeing the 502 
 errors, I'd be glad to further investigate. Please send this information 
 privately using Reply to author

 Thanks,

 - David Torres - AdWords API Team

 On Tuesday, September 3, 2013 4:32:00 AM UTC-4, shobha.p...@gmail.com 
 wrote:


 Hi Anash,

 Even we are facing bad gateway issue for quite some time(till yesterday 
 Sep 02 2013). We are trying to update the bids at keywords level using the 
 Bulk Mutate job service.

 Can you please let us know if this has been fixed?


 On Wednesday, August 21, 2013 4:48:39 PM UTC+5:30, Andreea Bogdan wrote:

 Hello,

 During the last 4 days our adwords import failed twice (19th and 21st 
 august) with the error:

 *(502) Bad gateway. The server encountered a temporary error and 
 could not complete your request. Please try again in 30 seconds.*

 We are using v201302 of the api on a Java platform.

 Has anyone else encountered the same issue? Was there a downtime that 
 might have caused such a behavior?


 Thanx, 
 Andreea



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f50588d7-4af1-400b-be9d-3decb03986ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Getting Null response for some keywords requests

2014-12-02 Thread Jorge Brasil
Hi,

I am developing an application that uses the traffic estimation service to 
get some predictions for the keywords traffic for my company adds.

The issue is that for some keywords that are in one of our campaigns I get 
a null response from the API, also if I make multiple calls for the same 
keyword ate some point the response is going to be null.


here is my code


// Copyright 2014 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the License);
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an AS IS BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package adwords.axis.v201409.optimization;

import com.google.api.ads.adwords.axis.factory.AdWordsServices;
import com.google.api.ads.adwords.axis.v201409.cm.Criterion;
import com.google.api.ads.adwords.axis.v201409.cm.Keyword;
import com.google.api.ads.adwords.axis.v201409.cm.KeywordMatchType;
import com.google.api.ads.adwords.axis.v201409.cm.Language;
import com.google.api.ads.adwords.axis.v201409.cm.Location;
import com.google.api.ads.adwords.axis.v201409.cm.Money;
import com.google.api.ads.adwords.axis.v201409.o.AdGroupEstimateRequest;
import com.google.api.ads.adwords.axis.v201409.o.CampaignEstimateRequest;
import com.google.api.ads.adwords.axis.v201409.o.KeywordEstimate;
import com.google.api.ads.adwords.axis.v201409.o.KeywordEstimateRequest;
import com.google.api.ads.adwords.axis.v201409.o.TrafficEstimatorResult;
import com.google.api.ads.adwords.axis.v201409.o.TrafficEstimatorSelector;
import 
com.google.api.ads.adwords.axis.v201409.o.TrafficEstimatorServiceInterface;
import com.google.api.ads.adwords.lib.client.AdWordsSession;
import com.google.api.ads.common.lib.auth.OfflineCredentials;
import com.google.api.ads.common.lib.auth.OfflineCredentials.Api;
import com.google.api.client.auth.oauth2.Credential;

import java.util.ArrayList;
import java.util.List;

/**
 * This example gets keyword traffic estimates.
 *
 * Credentials and properties in {@code fromFile()} are pulled from the
 * ads.properties file. See README for more info.
 *
 * Tags: TrafficEstimatorService.get
 *
 * Category: adx-exclude
 *
 * @author Kevin Winter
 */
public class EstimateKeywordTraffic {
public static ArrayList parameters = new ArrayList();
public static ArrayList words_param = new ArrayList();
public static ArrayList bid_values = new ArrayList();
public static ArrayList copy_bid = new ArrayList();
private static  ListMoney bids = new ArrayListMoney();
  
/*
public static void main(String[] args) throws Exception {
// Generate a refreshable OAuth2 credential similar to a ClientLogin 
token
// and can be used in place of a service account.
Credential oAuth2Credential = new OfflineCredentials.Builder()
.forApi(Api.ADWORDS)
.fromFile()
.build()
.generateCredential();

// Construct an AdWordsSession.
AdWordsSession session = new AdWordsSession.Builder()
.fromFile()
.withOAuth2Credential(oAuth2Credential)
.build();

AdWordsServices adWordsServices = new AdWordsServices();

runExample(adWordsServices, session);
  }
*/
  public static void runExample(
   
AdWordsServices adWordsServices, AdWordsSession session) throws Exception {
// Get the TrafficEstimatorService.
 
  
  TrafficEstimatorServiceInterface trafficEstimatorService =
adWordsServices.get(session, 
TrafficEstimatorServiceInterface.class);

// Create keywords. Refer to the TrafficEstimatorService documentation 
for the maximum
// number of keywords that can be passed in a single request.
//   
https://developers.google.com/adwords/api/docs/reference/latest/TrafficEstimatorService
ListKeyword keywords = new ArrayListKeyword();
  
keywords.add(new Keyword(null, null, null, public liability 
insurance, KeywordMatchType.PHRASE));
   //keywords.add(new Keyword(null, null, null, Insurance public, 
KeywordMatchType.EXACT));
   //keywords.add(new Keyword(null, null, null, insurance liability, 
KeywordMatchType.EXACT));
   keywords.add(new Keyword(null, null, null, liability insurance, 
KeywordMatchType.BROAD));

int number_of_keywords = keywords.size();

bids.clear();
bid_values.clear();
words_param.clear();
parameters.clear();
bid_values =  utilities.Bids(number_of_keywords);
   
for(int i = 0 ; i bid_values.size(); i++ )
{
 
 Double aux = (Double)bid_values.get(i)*10;
 bids.add(new Money(null, aux.longValue()));
}


// Create a keyword estimate request for each keyword.
ListKeywordEstimateRequest keywordEstimateRequests = new 

Re: Keywords performance report hanging

2014-12-02 Thread Josh Radcliff (AdWords API Team)
Hi Ro,

I'm replying here so that others encountering this problem can see the 
solution. This was due to issue #36 in the .NET library 
https://github.com/googleads/googleads-dotnet-lib/issues/36. We will fix 
this issue (including updating the example) in an upcoming release of the 
library.

Best regards,
Josh, AdWords API Team

On Friday, November 7, 2014 12:27:44 PM UTC-5, Josh Radcliff (AdWords API 
Team) wrote:

 Hi Ro,

 I'm not aware of any changes in v201409 that would cause this. Are you 
 excluding zero impressions 
 https://developers.google.com/adwords/api/docs/guides/zero-impression-reports?
  
 If you have a large # of keywords with zero impressions then the report 
 could take significantly longer, although that behavior is not 
 version-specific.

 On a similar note, did the structure of your campaigns change around the 
 same time of the upgrade? For example, did you remove a large # of keywords?

 Also, have you tried running the same reports that are timing out in 
 v201409 against the v201406 endpoint?

 Thanks,
 Josh, AdWords API Team

 On Friday, November 7, 2014 11:18:26 AM UTC-5, Ro wrote:

 Hi,

 We upgraded our code base to the latest version of the adwords api 
 (V201409) a couple of weeks ago, and since then we noticed that only the 
 keywords performance report seem to hang and some of the report requests 
 ends due to the operation time is too long (even if the campaigns on the 
 account are fairly small and has barely any clicks/impressions).

 We are using several others reports and they all work well. Any idea what 
 could have happened with that report?

 Best,

 Ro




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/8aba8a8d-44eb-438c-a0e2-1d824bd1b62b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AdWords Api Option no showing

2014-12-02 Thread Josh Radcliff (AdWords API Team)
Hi,

When you say the account has read only permissions, do you mean that the 
user you are logged in as only has read-only permissions to the prod MCC? I 
think you'll only see the developer token if you are logged in as a user 
with admin access to the MCC.

If that doesn't explain it, please send the MCC account ID (xxx-xxx-) 
and the user you are logging in as *only to me* by clicking *Reply to 
Author*.

Thanks,
Josh, AdWords API Team

On Monday, December 1, 2014 4:44:09 PM UTC-5, imp-re...@vantagemedia.com 
wrote:

 I have linked my Developer account to the main AdWords account but when 
 I access with these account at the settings menu the Adwords Api option 
 (where the developer token is requested) appears in blank with no options, 
 This developer account has read only permissions, could this be the issue?


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f3f91565-494c-41fe-b50c-6b4fa59d343e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AdGroupAd SET operation has no effect

2014-12-02 Thread Josh Radcliff (AdWords API Team)
Hi,

TextAd objects 
https://developers.google.com/adwords/api/docs/reference/v201409/AdGroupAdService.TextAd
 in 
AdWords are immutable - please see this related post 
https://groups.google.com/d/msg/adwords-api/xU24fVh5XWQ/w-5JYGZyF0QJ.

Cheers,
Josh, AdWords API Team

On Tuesday, December 2, 2014 5:51:40 AM UTC-5, Florian Eckerstorfer wrote:

 I use the PHP SDK to create and update ads for our campaigns and yesterday 
 I started to run into a problem where ad creation works fine, but updating 
 an existing ads does not work.

 I create an AdGroupAdOperation with the correct data, send it to the API 
 but the response contains the old ad texts and they are also not changed 
 online. There is no exception or error, the response looks like the 
 operation was successful, but the ad text have not been updated.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/70994081-0583-4501-b009-fa0636dcb01d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Test MCC account fails account setup

2014-12-02 Thread Josh Radcliff (AdWords API Team)
Hi,

For problems with the AdWords UI, please use the *Contact Us* link in the 
AdWords 
Help Center https://support.google.com/adwords/?hl=en#topic=3119071.

Thanks,
Josh, AdWords API Team

On Monday, December 1, 2014 10:51:56 PM UTC-5, Joshua Bartley wrote:

 I created a test MCC account, when I first log into the account I get 
 constant pop ups that a save didn't occur and to log out and log back in. I 
 cleared all my cookies and used a different browser, same error but I can't 
 get past the create the campaign step. This was after a few attempts where 
 I figured out that test mcc accounts are not compatible with google apps 
 accounts. 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/e3402577-860d-44d7-8903-d5aa12cad3a6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Adwords API Work on Video Campaigns?

2014-12-02 Thread Josh Radcliff (AdWords API Team)
Hi,

The AdWords API does not currently support AdWords for Video campaigns. 
Unfortunately I don't have an ETA at this point for when or if support will 
be added.

Thanks,
Josh, AdWords API Team

On Monday, December 1, 2014 9:01:03 PM UTC-5, innored developer wrote:

 Can we load the Video Campaigns by using Adwords API?

 If it's still in beta, when can we possibly use the final version?


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a9b3d9b5-52fe-4c6f-b5ea-9ee7718f4e69%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Getting Null response for some keywords requests

2014-12-02 Thread Josh Radcliff (AdWords API Team)
Hi Jorge,

From your other post 
https://groups.google.com/d/msg/adwords-api/XMjKcLk_Ck4/4KkbLXHb2QsJ I 
thought you had resolved this issue. Also, when you say you get a null 
response, do you mean you get a SOAP fault back?

Thanks,
Josh, AdWords API Team

On Tuesday, December 2, 2014 10:53:11 AM UTC-5, Jorge Brasil wrote:

 Hi,

 I am developing an application that uses the traffic estimation service to 
 get some predictions for the keywords traffic for my company adds.

 The issue is that for some keywords that are in one of our campaigns I get 
 a null response from the API, also if I make multiple calls for the same 
 keyword ate some point the response is going to be null.


 here is my code


 // Copyright 2014 Google Inc. All Rights Reserved.
 //
 // Licensed under the Apache License, Version 2.0 (the License);
 // you may not use this file except in compliance with the License.
 // You may obtain a copy of the License at
 //
 // http://www.apache.org/licenses/LICENSE-2.0
 //
 // Unless required by applicable law or agreed to in writing, software
 // distributed under the License is distributed on an AS IS BASIS,
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.

 package adwords.axis.v201409.optimization;

 import com.google.api.ads.adwords.axis.factory.AdWordsServices;
 import com.google.api.ads.adwords.axis.v201409.cm.Criterion;
 import com.google.api.ads.adwords.axis.v201409.cm.Keyword;
 import com.google.api.ads.adwords.axis.v201409.cm.KeywordMatchType;
 import com.google.api.ads.adwords.axis.v201409.cm.Language;
 import com.google.api.ads.adwords.axis.v201409.cm.Location;
 import com.google.api.ads.adwords.axis.v201409.cm.Money;
 import com.google.api.ads.adwords.axis.v201409.o.AdGroupEstimateRequest;
 import com.google.api.ads.adwords.axis.v201409.o.CampaignEstimateRequest;
 import com.google.api.ads.adwords.axis.v201409.o.KeywordEstimate;
 import com.google.api.ads.adwords.axis.v201409.o.KeywordEstimateRequest;
 import com.google.api.ads.adwords.axis.v201409.o.TrafficEstimatorResult;
 import com.google.api.ads.adwords.axis.v201409.o.TrafficEstimatorSelector;
 import 
 com.google.api.ads.adwords.axis.v201409.o.TrafficEstimatorServiceInterface;
 import com.google.api.ads.adwords.lib.client.AdWordsSession;
 import com.google.api.ads.common.lib.auth.OfflineCredentials;
 import com.google.api.ads.common.lib.auth.OfflineCredentials.Api;
 import com.google.api.client.auth.oauth2.Credential;

 import java.util.ArrayList;
 import java.util.List;

 /**
  * This example gets keyword traffic estimates.
  *
  * Credentials and properties in {@code fromFile()} are pulled from the
  * ads.properties file. See README for more info.
  *
  * Tags: TrafficEstimatorService.get
  *
  * Category: adx-exclude
  *
  * @author Kevin Winter
  */
 public class EstimateKeywordTraffic {
 public static ArrayList parameters = new ArrayList();
 public static ArrayList words_param = new ArrayList();
 public static ArrayList bid_values = new ArrayList();
 public static ArrayList copy_bid = new ArrayList();
 private static  ListMoney bids = new ArrayListMoney();
   
 /*
 public static void main(String[] args) throws Exception {
 // Generate a refreshable OAuth2 credential similar to a ClientLogin 
 token
 // and can be used in place of a service account.
 Credential oAuth2Credential = new OfflineCredentials.Builder()
 .forApi(Api.ADWORDS)
 .fromFile()
 .build()
 .generateCredential();

 // Construct an AdWordsSession.
 AdWordsSession session = new AdWordsSession.Builder()
 .fromFile()
 .withOAuth2Credential(oAuth2Credential)
 .build();

 AdWordsServices adWordsServices = new AdWordsServices();

 runExample(adWordsServices, session);
   }
 */
   public static void runExample(

 AdWordsServices adWordsServices, AdWordsSession session) throws Exception {
 // Get the TrafficEstimatorService.
  
   
   TrafficEstimatorServiceInterface trafficEstimatorService =
 adWordsServices.get(session, 
 TrafficEstimatorServiceInterface.class);

 // Create keywords. Refer to the TrafficEstimatorService documentation 
 for the maximum
 // number of keywords that can be passed in a single request.
 //   
 https://developers.google.com/adwords/api/docs/reference/latest/TrafficEstimatorService
 ListKeyword keywords = new ArrayListKeyword();
   
 keywords.add(new Keyword(null, null, null, public liability 
 insurance, KeywordMatchType.PHRASE));
//keywords.add(new Keyword(null, null, null, Insurance public, 
 KeywordMatchType.EXACT));
//keywords.add(new Keyword(null, null, null, insurance liability, 
 KeywordMatchType.EXACT));
keywords.add(new Keyword(null, null, null, liability insurance, 
 KeywordMatchType.BROAD));

 int number_of_keywords = keywords.size();
 
 

Re: Updating the ReportDefinitionService data to reflect changes in v201409

2014-12-02 Thread Josh Radcliff (AdWords API Team)
Hi Ian,

This is expected behavior, as the display field name and XML attribute name 
tend to follow the same conventions as the UI.

Cheers,
Josh, AdWords API Team

On Monday, December 1, 2014 2:37:46 PM UTC-5, Ian Knox wrote:

 In 201409 several field names were changed (see: 
 https://developers.google.com/adwords/api/docs/guides/migration/v201409) 
 however it appears that the displayFieldName and xmlAttributeName data 
 found in the ReportDefinitionService isn't changing:
 [54] = Google\Api\Ads\AdWords\v201409\ReportDefinitionField Object
 (
 [fieldName] = CpcBid
 [displayFieldName] = Max. CPC
 [xmlAttributeName] = maxCPC
 [fieldType] = Money
 [enumValues] = 
 [canSelect] = 1
 [canFilter] = 1
 [isEnumType] = 
 [isBeta] = 
 [enumValuePairs] = 
 [fieldBehavior] = ATTRIBUTE
 [isZeroRowCompatible] = 1
 )


 Was this an oversight or expected behavior?

 Thanks,
 Ian



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b8298e5a-b1ca-4dbc-b8f8-6babaa630f02%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error CANNOT_ATTACH_BIDDING_STRATEGY_TO_ADGROUP /_CAMPAIGN

2014-12-02 Thread Josh Radcliff (AdWords API Team)
Hi Georg,

The BudgetOptimizer bidding strategy was deprecated in v201402 
https://developers.google.com/adwords/api/docs/reference/#v201402. Sorry 
I didn't mention this before -- I forgot about this change.

In place of the BudgetOptimizer strategy, use the shared TargetSpend 
strategy.

Good point on the API docs -- I'll look into having those updated to 
reflect these changes.

Cheers,
Josh, AdWords API Team

On Tuesday, December 2, 2014 3:12:15 AM UTC-5, Georg Döhring wrote:

 Hi Josh,

 thank you for your reply. This does clarify some thinks, thanks. Seems as 
 if we missed about that deprecation. Maybe you should update the API doc 
 https://developers.google.com/adwords/api/docs/reference/v201409/BiddingStrategyService.ManualCpcBiddingScheme
  
 as there is the enhancedCpc Option still mentioned.

 For the problem with BudgetOtimizer what's the solution here? Seems as if 
 my fellow Dominic Hofilena has the same problem here: 
 https://groups.google.com/forum/#!topic/adwords-api/Ai0Mkq03Egw 
 According to the Bidding guide, a budget optimizer is non-shared so the 
 request above should work?

 Thank you,
 Georg


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c07d31ff-ebf6-407a-9064-2dae8f08aadd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


googleads.yaml Location Problem

2014-12-02 Thread Sam
Probably a stupid question, but I'm just starting to play around using 
Python and testing using the examples in the library, but am getting an 
error where the googleads.yaml file (which is up to date) is being search 
for in a location other than the one in which it sits (its original one 
when unzipped - C:\Python27\TestApp\googleads-python-lib-master). The error 
is:

PS 
C:\Python27\TestApp\googleads-python-lib-master\examples\adwords\v201409\reporting
 
python get_report_fields.py
Traceback (most recent call last):
  File get_report_fields.py, line 54, in module
adwords_client = adwords.AdWordsClient.LoadFromStorage()
  File build\bdist.win32\egg\googleads\adwords.py, line 218, in 
LoadFromStorage
  File build\bdist.win32\egg\googleads\common.py, line 81, in 
LoadFromStorage
googleads.errors.GoogleAdsValueError: Given yaml file, 
C:\Users\Sam\googleads.yaml, could not be opened.

Do I need to move the file to this location? Why is 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.
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/ab8e4f1c-d2b5-492f-81c2-ec16bea06a1c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


updating keyword cpc : Fault occurred while processing

2014-12-02 Thread Adrien VIELLIARD
after several hours can't get this to work
and the error is not the most helpful.

simply trying to update the bid for a keyword : 
using the php client library and api version 201409


$adGroupCriterionService = $user-GetService('AdGroupCriterionService', 
ADWORDS_VERSION);
  $operations = array();
// Create keyword criterion.
$criterion = new Criterion();
$criterion-id = $keywordId;

// Create ad group criterion.
$adGroupCriterion = new BiddableAdGroupCriterion();
$adGroupCriterion-adGroupId = $adgroupId;
$adGroupCriterion-criterion = $criterion;

$bid = new CpcBid(new Money(floatval($newcpc) * 
AdWordsConstants::MICROS_PER_DOLLAR));
$biddingStrategyConfiguration = new BiddingStrategyConfiguration();
$biddingStrategyConfiguration-bids = $bid;
$adGroupCriterion-biddingStrategyConfiguration = 
$biddingStrategyConfiguration;

// Create operation.
$operation = new AdGroupCriterionOperation();
$operation-operand = $adGroupCriterion;
$operation-operator = 'SET';

$operations[] = array($operation);
 $result = $adGroupCriterionService-mutate($operations);


anything I'm doing wrong here
I get a : Fault occurred while processing.

thanks for your help
cheers
A.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d56420e3-8707-4c1b-9c4a-7052f8cd6fae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: 502 Bad gateway error

2014-12-02 Thread Josh Radcliff (AdWords API Team)
Hi,

There's always the chance of intermittent errors, so our general 
recommendation is to handle 502s and other transient errors by retrying 
your request 
https://developers.google.com/adwords/api/docs/guides/bestpractices#error_handling.
 
If you see a very high number of these errors, however, please send the 
corresponding request (XML, HTTP headers) *only to me* by clicking *Reply 
to Author* on this message.

Thanks,
Josh, AdWords API Team

On Monday, December 1, 2014 8:05:18 PM UTC-5, ThomasT wrote:

 API Team,
 What is the meaning of this error? Even though I saw replies from API Team 
 on other threads that the issue has been resolved, we continue to get this 
 error intermittently.   Is there any way the issue can be fixed permanently?

 On Friday, September 20, 2013 7:58:22 PM UTC-7, David Torres (AdWords API 
 Team) wrote:

 Hi Henry,

 We are still investigating, do you mind sending me logs of your cases? 
 particularly I would like to know the originating IP and time of the 
 request(s). Please send them directly to me using the Reply to Author 
 option.

 Best,

 - David Torres - AdWords API Team

 On Thursday, September 19, 2013 11:23:20 PM UTC-4, Henry Bart-Plange 
 wrote:

 same issue here since 17/9/2013

  did any on find out what the issue is?

 On Wednesday, September 18, 2013 12:20:59 AM UTC+10, David Torres 
 (AdWords API Team) wrote:

 Hi All,

 If you can send me the times and IPs from which your are seeing the 502 
 errors, I'd be glad to further investigate. Please send this information 
 privately using Reply to author

 Thanks,

 - David Torres - AdWords API Team

 On Tuesday, September 3, 2013 4:32:00 AM UTC-4, shobha.p...@gmail.com 
 wrote:


 Hi Anash,

 Even we are facing bad gateway issue for quite some time(till 
 yesterday Sep 02 2013). We are trying to update the bids at keywords 
 level 
 using the Bulk Mutate job service.

 Can you please let us know if this has been fixed?


 On Wednesday, August 21, 2013 4:48:39 PM UTC+5:30, Andreea Bogdan 
 wrote:

 Hello,

 During the last 4 days our adwords import failed twice (19th and 21st 
 august) with the error:

 *(502) Bad gateway. The server encountered a temporary error and 
 could not complete your request. Please try again in 30 seconds.*

 We are using v201302 of the api on a Java platform.

 Has anyone else encountered the same issue? Was there a downtime that 
 might have caused such a behavior?


 Thanx, 
 Andreea



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ab323f1d-32e5-4d79-914d-bac6b7a7a30b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Headline and Promotional Message in Ad Performance Report

2014-12-02 Thread Josh Radcliff (AdWords API Team)
Hi,

Could you send the ad group ID and ad ID for your AdGroupAd? I'd like to 
see which type of Ad 
https://developers.google.com/adwords/api/docs/reference/v201409/AdGroupAdService.Ad
 (TextAd, 
TemplateAd, ProductAd, etc.) it is. For example, if it's a TemplateAd 
https://developers.google.com/adwords/api/docs/reference/v201409/AdGroupAdService.TemplateAd,
 
then there's not much that AdWords can return for *Headline* and 
*PromotionLine* since those are not attributes of that ad type -- they are 
attributes of TextAd 
https://developers.google.com/adwords/api/docs/reference/v201409/AdGroupAdService.TextAd#headlines
 
and ProductAd 
https://developers.google.com/adwords/api/docs/reference/v201409/AdGroupAdService.ProductAd#promotionLines,
 
respectively.

If you need the button text of a *TemplateAd* then currently the only 
option is to retrieve the ad via AdGroupAdService 
https://developers.google.com/adwords/api/docs/reference/v201409/AdGroupAdService
 
and pull that information from the *TemplateAd*'s templateElements 
https://developers.google.com/adwords/api/docs/reference/v201409/AdGroupAdService.TemplateAd#templateElements
.

Thanks,
Josh, AdWords API Team

On Tuesday, December 2, 2014 2:12:35 AM UTC-5, techpoi...@gmail.com wrote:

 Hi,

 Using Ad Performance Report, it seems *Headline* returns *Ad Name* 
 instead of actual Headline for Display Ads. Also *Headline* and 
 *PromotionLine* both has *Display Name* 'Ad' in this report. Also is it 
 possible to get *Button *text for Display Ads using this report.

 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/c494dc72-d1b4-4c5a-b1ba-2ffaccdb7ced%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: googleads.yaml Location Problem

2014-12-02 Thread Josh Radcliff (AdWords API Team)
Hi,

By default, the library is going to look for your configuration file in 
your home directory. However, if you want it to load the file from an 
alternate location you can pass the path when creating your AdWords client 
https://github.com/googleads/googleads-python-lib#user-content-caching-authentication-information,
 
e.g.,

adwords_client = AdWordsClient.LoadFromStorage(*full_path_to_your_config*)

Cheers,
Josh, AdWords API Team

On Tuesday, December 2, 2014 5:20:34 PM UTC-5, Sam wrote:

 Probably a stupid question, but I'm just starting to play around using 
 Python and testing using the examples in the library, but am getting an 
 error where the googleads.yaml file (which is up to date) is being search 
 for in a location other than the one in which it sits (its original one 
 when unzipped - C:\Python27\TestApp\googleads-python-lib-master). The error 
 is:

 PS 
 C:\Python27\TestApp\googleads-python-lib-master\examples\adwords\v201409\reporting
  
 python get_report_fields.py
 Traceback (most recent call last):
   File get_report_fields.py, line 54, in module
 adwords_client = adwords.AdWordsClient.LoadFromStorage()
   File build\bdist.win32\egg\googleads\adwords.py, line 218, in 
 LoadFromStorage
   File build\bdist.win32\egg\googleads\common.py, line 81, in 
 LoadFromStorage
 googleads.errors.GoogleAdsValueError: Given yaml file, 
 C:\Users\Sam\googleads.yaml, could not be opened.

 Do I need to move the file to this location? Why is 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.
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/6d312f2d-e9a2-415d-ae75-f1f7feaef63a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: updating keyword cpc : Fault occurred while processing

2014-12-02 Thread Josh Radcliff (AdWords API Team)
Hi,

I'm not a PHP expert so I may be off base here, but it looks to me like you 
are setting the *bids* attribute to a single bid, but that attribute should 
be an array. Could you try modifying:

$biddingStrategyConfiguration-bids = $bid;

to:

$biddingStrategyConfiguration-*bids[]* = $bid;

and let me know if that resolves the issue? Also, you may want to check out 
the AddKeywords.php example 
https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201409/BasicOperations/AddKeywords.php#L69,
 
as that shows how to create a new keyword and set its bid. It's a slightly 
different operation, but many of the same concepts will apply to your use 
case.

Thanks,
Josh, AdWords API Team

On Tuesday, December 2, 2014 11:27:34 AM UTC-5, Adrien VIELLIARD wrote:

 after several hours can't get this to work
 and the error is not the most helpful.

 simply trying to update the bid for a keyword : 
 using the php client library and api version 201409


 $adGroupCriterionService = $user-GetService('AdGroupCriterionService', 
 ADWORDS_VERSION);
   $operations = array();
 // Create keyword criterion.
 $criterion = new Criterion();
 $criterion-id = $keywordId;

 // Create ad group criterion.
 $adGroupCriterion = new BiddableAdGroupCriterion();
 $adGroupCriterion-adGroupId = $adgroupId;
 $adGroupCriterion-criterion = $criterion;
 
 $bid = new CpcBid(new Money(floatval($newcpc) * 
 AdWordsConstants::MICROS_PER_DOLLAR));
 $biddingStrategyConfiguration = new BiddingStrategyConfiguration();
 $biddingStrategyConfiguration-bids = $bid;
 $adGroupCriterion-biddingStrategyConfiguration = 
 $biddingStrategyConfiguration;
 
 // Create operation.
 $operation = new AdGroupCriterionOperation();
 $operation-operand = $adGroupCriterion;
 $operation-operator = 'SET';

 $operations[] = array($operation);
  $result = $adGroupCriterionService-mutate($operations);


 anything I'm doing wrong here
 I get a : Fault occurred while processing.

 thanks for your help
 cheers
 A.



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/15de21f0-4c42-47f2-b12e-d6e7b3a6e4d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: updating keyword cpc : Fault occurred while processing

2014-12-02 Thread Adrien VIELLIARD
thanks for your answer

tried this already,
I've got many things working, like adding keywords, negatives etc.
I just don't get what I'm doing wrong in this particular case.



On Tuesday, December 2, 2014 11:55:09 PM UTC+1, Josh Radcliff (AdWords API 
Team) wrote:

 Hi,

 I'm not a PHP expert so I may be off base here, but it looks to me like 
 you are setting the *bids* attribute to a single bid, but that attribute 
 should be an array. Could you try modifying:

 $biddingStrategyConfiguration-bids = $bid;

 to:

 $biddingStrategyConfiguration-*bids[]* = $bid;

 and let me know if that resolves the issue? Also, you may want to check 
 out the AddKeywords.php example 
 https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201409/BasicOperations/AddKeywords.php#L69,
  
 as that shows how to create a new keyword and set its bid. It's a slightly 
 different operation, but many of the same concepts will apply to your use 
 case.

 Thanks,
 Josh, AdWords API Team

 On Tuesday, December 2, 2014 11:27:34 AM UTC-5, Adrien VIELLIARD wrote:

 after several hours can't get this to work
 and the error is not the most helpful.

 simply trying to update the bid for a keyword : 
 using the php client library and api version 201409


 $adGroupCriterionService = $user-GetService('AdGroupCriterionService', 
 ADWORDS_VERSION);
   $operations = array();
 // Create keyword criterion.
 $criterion = new Criterion();
 $criterion-id = $keywordId;

 // Create ad group criterion.
 $adGroupCriterion = new BiddableAdGroupCriterion();
 $adGroupCriterion-adGroupId = $adgroupId;
 $adGroupCriterion-criterion = $criterion;
 
 $bid = new CpcBid(new Money(floatval($newcpc) * 
 AdWordsConstants::MICROS_PER_DOLLAR));
 $biddingStrategyConfiguration = new BiddingStrategyConfiguration();
 $biddingStrategyConfiguration-bids = $bid;
 $adGroupCriterion-biddingStrategyConfiguration = 
 $biddingStrategyConfiguration;
 
 // Create operation.
 $operation = new AdGroupCriterionOperation();
 $operation-operand = $adGroupCriterion;
 $operation-operator = 'SET';

 $operations[] = array($operation);
  $result = $adGroupCriterionService-mutate($operations);


 anything I'm doing wrong here
 I get a : Fault occurred while processing.

 thanks for your help
 cheers
 A.



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/596b661f-9d78-4c54-a91e-b86dd6b2f413%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: updating keyword cpc : Fault occurred while processing

2014-12-02 Thread Josh Radcliff (AdWords API Team)
Hi,

Do the logs provide any more details about the fault?

Thanks,
Josh, AdWords API Team

On Tuesday, December 2, 2014 6:28:20 PM UTC-5, Adrien VIELLIARD wrote:

 thanks for your answer

 tried this already,
 I've got many things working, like adding keywords, negatives etc.
 I just don't get what I'm doing wrong in this particular case.



 On Tuesday, December 2, 2014 11:55:09 PM UTC+1, Josh Radcliff (AdWords API 
 Team) wrote:

 Hi,

 I'm not a PHP expert so I may be off base here, but it looks to me like 
 you are setting the *bids* attribute to a single bid, but that attribute 
 should be an array. Could you try modifying:

 $biddingStrategyConfiguration-bids = $bid;

 to:

 $biddingStrategyConfiguration-*bids[]* = $bid;

 and let me know if that resolves the issue? Also, you may want to check 
 out the AddKeywords.php example 
 https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201409/BasicOperations/AddKeywords.php#L69,
  
 as that shows how to create a new keyword and set its bid. It's a slightly 
 different operation, but many of the same concepts will apply to your use 
 case.

 Thanks,
 Josh, AdWords API Team

 On Tuesday, December 2, 2014 11:27:34 AM UTC-5, Adrien VIELLIARD wrote:

 after several hours can't get this to work
 and the error is not the most helpful.

 simply trying to update the bid for a keyword : 
 using the php client library and api version 201409


 $adGroupCriterionService = $user-GetService('AdGroupCriterionService', 
 ADWORDS_VERSION);
   $operations = array();
 // Create keyword criterion.
 $criterion = new Criterion();
 $criterion-id = $keywordId;

 // Create ad group criterion.
 $adGroupCriterion = new BiddableAdGroupCriterion();
 $adGroupCriterion-adGroupId = $adgroupId;
 $adGroupCriterion-criterion = $criterion;
 
 $bid = new CpcBid(new Money(floatval($newcpc) * 
 AdWordsConstants::MICROS_PER_DOLLAR));
 $biddingStrategyConfiguration = new BiddingStrategyConfiguration();
 $biddingStrategyConfiguration-bids = $bid;
 $adGroupCriterion-biddingStrategyConfiguration = 
 $biddingStrategyConfiguration;
 
 // Create operation.
 $operation = new AdGroupCriterionOperation();
 $operation-operand = $adGroupCriterion;
 $operation-operator = 'SET';

 $operations[] = array($operation);
  $result = $adGroupCriterionService-mutate($operations);


 anything I'm doing wrong here
 I get a : Fault occurred while processing.

 thanks for your help
 cheers
 A.



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/703a9c7b-fae4-4b43-afd4-ea8000ae7674%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: updating keyword cpc : Fault occurred while processing

2014-12-02 Thread Josh Radcliff (AdWords API Team)
I should have mentioned -- if you're not sure how to set up logging or 
where to find the files, see the How Do I Enable Logging section of the 
README 
https://github.com/googleads/googleads-php-lib#user-content-how-do-i-enable-logging
.

-Josh, AdWords API Team

On Tuesday, December 2, 2014 6:31:10 PM UTC-5, Josh Radcliff (AdWords API 
Team) wrote:

 Hi,

 Do the logs provide any more details about the fault?

 Thanks,
 Josh, AdWords API Team

 On Tuesday, December 2, 2014 6:28:20 PM UTC-5, Adrien VIELLIARD wrote:

 thanks for your answer

 tried this already,
 I've got many things working, like adding keywords, negatives etc.
 I just don't get what I'm doing wrong in this particular case.



 On Tuesday, December 2, 2014 11:55:09 PM UTC+1, Josh Radcliff (AdWords 
 API Team) wrote:

 Hi,

 I'm not a PHP expert so I may be off base here, but it looks to me like 
 you are setting the *bids* attribute to a single bid, but that 
 attribute should be an array. Could you try modifying:

 $biddingStrategyConfiguration-bids = $bid;

 to:

 $biddingStrategyConfiguration-*bids[]* = $bid;

 and let me know if that resolves the issue? Also, you may want to check 
 out the AddKeywords.php example 
 https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201409/BasicOperations/AddKeywords.php#L69,
  
 as that shows how to create a new keyword and set its bid. It's a slightly 
 different operation, but many of the same concepts will apply to your use 
 case.

 Thanks,
 Josh, AdWords API Team

 On Tuesday, December 2, 2014 11:27:34 AM UTC-5, Adrien VIELLIARD wrote:

 after several hours can't get this to work
 and the error is not the most helpful.

 simply trying to update the bid for a keyword : 
 using the php client library and api version 201409


 $adGroupCriterionService = $user-GetService('AdGroupCriterionService', 
 ADWORDS_VERSION);
   $operations = array();
 // Create keyword criterion.
 $criterion = new Criterion();
 $criterion-id = $keywordId;

 // Create ad group criterion.
 $adGroupCriterion = new BiddableAdGroupCriterion();
 $adGroupCriterion-adGroupId = $adgroupId;
 $adGroupCriterion-criterion = $criterion;
 
 $bid = new CpcBid(new Money(floatval($newcpc) * 
 AdWordsConstants::MICROS_PER_DOLLAR));
 $biddingStrategyConfiguration = new BiddingStrategyConfiguration();
 $biddingStrategyConfiguration-bids = $bid;
 $adGroupCriterion-biddingStrategyConfiguration = 
 $biddingStrategyConfiguration;
 
 // Create operation.
 $operation = new AdGroupCriterionOperation();
 $operation-operand = $adGroupCriterion;
 $operation-operator = 'SET';

 $operations[] = array($operation);
  $result = 
 $adGroupCriterionService-mutate($operations);


 anything I'm doing wrong here
 I get a : Fault occurred while processing.

 thanks for your help
 cheers
 A.



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d65c152a-1e77-4b38-bd1f-3528e05fb66f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: (502)Bad Gateway

2014-12-02 Thread Danial Klimkin
Hello JAI,


Please let us know the source IP address (external IPs of your servers) *over 
email* (reply to author on the right).


-Danial, AdWords API Team.


On Tuesday, December 2, 2014 3:25:59 PM UTC+3, jai wrote:

 Hi Danial,

 Just now migrated to api to V201409, but getting same issues frequently , 
 please check full stake-trace. could you guys hep me to avoid these type of 
 issues

 faultCode: {http://xml.apache.org/axis/}HTTP 
  faultSubcode:  
  faultString: (502)Bad Gateway 
  faultActor:  
  faultNode:  
  faultDetail:  
 {}:return code:  502 
 lt;!DOCTYPE htmlgt; 
 lt;html lang=engt; 
   lt;meta charset=utf-8gt; 
   lt;meta name=viewport content=quot;initial-scale=1, minimum-scale=1, 
 width=device-widthquot;gt; 
   lt;titlegt;Error 502 (Server Error)!!1lt;/titlegt; 
   lt;stylegt; 
 *{margin:0;padding:0}html,code{font:15px/22px 
 arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% 
 auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* gt; 
 body{background:url(//www.google.com/images/errors/robot.png) 100% 5px 
 no-repeat;padding-right:205px}p{margin:11px 0 
 22px;overflow:hidden}ins{color:#777;text-decoration:none}a 
 img{border:0}@media screen and 
 (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//
 www.google.com/images/errors/logo_sm_2.png) no-repeat}@media only screen 
 and (min-resolution:192dpi){#logo{background:url(//
 www.google.com/images/errors/logo_sm_2_hr.png) no-repeat 0% 0%/100% 
 100%;-moz-border-image:url(//www.google.com/images/errors/logo_sm_2_hr.png) 
 0}}@media only screen and 
 (-webkit-min-device-pixel-ratio:2){#logo{background:url(//
 www.google.com/images/errors/logo_sm_2_hr.png) 
 no-repeat;-webkit-background-size:100% 
 100%}}#logo{display:inline-block;height:55px;width:150px} 
   lt;/stylegt; 
   lt;a href=//www.google.com/gt;lt;span id=logo 
 aria-label=Googlegt;lt;/spangt;lt;/agt; 
   lt;pgt;lt;bgt;502.lt;/bgt; lt;insgt;That’s an error.lt;/insgt; 
   lt;pgt;The server encountered a temporary error and could not complete 
 your request.lt;pgt;Please try again in 30 seconds.  lt;insgt;That’s 
 all we know.lt;/insgt; 
  
 {http://xml.apache.org/axis/}HttpErrorCode:502 
  
 (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.v201409.cm.AdGroupCriterionServiceSoapBindingStub.mutate(AdGroupCriterionServiceSoapBindingStub.java:1679)
  

 at sun.reflect.GeneratedMethodAccessor113.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.$Proxy20.mutate(Unknown Source) 
 at 
 com.adwords.service.UserService.adgroupKeyWordCreation(UserService.java:1331) 

 at 
 com.adwords.service.UserService.createAdgroup(UserService.java:2294) 
 at 
 com.adwords.service.UserService.createCampaign(UserService.java:988) 
 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 
 

Re: Error CANNOT_ATTACH_BIDDING_STRATEGY_TO_ADGROUP /_CAMPAIGN

2014-12-02 Thread Georg Döhring
Thank you for the anwser!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f416d1d8-723e-48a3-8263-85931a7cad20%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.