URL character limit

2013-04-18 Thread Omri Cohen
Dear API team,
We came across information that URL character limit has been extended from 
1024 to 2448. Can you confirm that?
Is it only for the {ifmobile}{ifnotmobile} VT parameters or for all URLs in 
general?

Thanks,
Omri.

-- 
This e-mail, as well as any attached document, may contain material which 
is confidential and privileged and may include trademark, copyright and 
other intellectual property rights that are proprietary to Kenshoo Ltd, 
 its subsidiaries or affiliates (Kenshoo). This e-mail and its 
attachments may be read, copied and used only by the addressee for the 
purpose(s) for which it was disclosed herein. If you have received it in 
error, please destroy the message and any attachment, and contact us 
immediately. If you are not the intended recipient, be aware that any 
review, reliance, disclosure, copying, distribution or use of the contents 
of this message without Kenshoo's express permission is strictly prohibited.

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

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

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




a test post

2013-04-18 Thread Tony Day
this is a test post, pls delete me if see it, administrator.

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

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

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




Re: /v201302 InternalApiError.UNEXPECTED_INTERNAL_API_ERROR in SANDBOX

2013-04-18 Thread Anash P. Oommen (AdWords API Team)
Hi Aasaf,

Could you post a sanitized SOAP request and response log? I'll investigate 
this further.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Thursday, April 18, 2013 12:36:14 AM UTC+5:30, assaf wrote:

 Hi,

 I get this error when trying to execute an update of a campaign name or 
 budget?

 Is there a know issue with the test environment at the moment?

 Thanks.

 {https://adwords.google.com/api/adwords/cm/v201302}ApiExceptionFault:message[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
  
 @ com.google.ads.api.services.common.error.InternalApiError


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

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

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




Re: upgrade api to v201302 update campaign budget issue

2013-04-18 Thread Anash P. Oommen (AdWords API Team)
Hi,

You should be using the BudgetService, as shown 
here: 
https://code.google.com/p/google-api-ads-java/source/browse/examples/adwords_axis/src/main/java/adwords/axis/v201302/basicoperations/AddCampaigns.java#80

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Monday, April 15, 2013 10:05:22 PM UTC+5:30, assaf wrote:

 Hi,
  
 After the upgrade I get an error - [BudgetError.CANNOT_EDIT_SHARED_BUDGET 
 @ operations[0].operand.budget.amount]
  
 From what I read I see I mustn't use the CampaignService for the update of 
 the daily budget.
 Should I be using this by updating the CampaignStats with the 
 CampaignSharedSetService?
  
 Where can I find Java code examples for this?
  
 Thanks.


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

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

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




Re: Adgroup's TargetingSetting not retrieved in v201302

2013-04-18 Thread Danial Klimkin
Hi Valeriy,


With the limited set of possible genders and ages, targeting is effectively 
the same thing as excluding all other options. AdGroup-level criterion 
specific bid adjustments are not currently available in the API.


-Danial, AdWords API Team.


On Wednesday, April 3, 2013 10:50:45 PM UTC+4, valeriy wrote:

 Related question, it seems AdWords UI now allows to set targeting settings 
 and bids for Gender and Age. API docs still say Age and Gender are only 
 excludable and not biddable.

 Valeriy

 On Wednesday, April 3, 2013 12:46:11 AM UTC-7, Danial Klimkin wrote:

 Hello Peter, Valeriy,


 I've reproduced this issue now and we are looking into it. Thanks for 
 reporting it.

 Als,o, the default value is false.


 -Danial, AdWords API Team.


 On Tuesday, April 2, 2013 11:25:23 PM UTC+4, valeriy wrote:

 I have same problem AdGroup.Settings (
 https://developers.google.com/adwords/api/docs/reference/v201302/AdGroupService.Setting.html)
   
 are not returned by the service. They are changed to non-default values. 
 They are returned after mutate requests, but not get requests.

  settings xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' 
 xsi:type='TargetingSetting'
   Setting.TypeTargetingSetting/Setting.Type
   details
criterionTypeGroupPLACEMENT/criterionTypeGroup
targetAllfalse/targetAll
   /details
   details
criterionTypeGroupUSER_INTEREST_AND_LIST/criterionTypeGroup
targetAlltrue/targetAll
   /details
   details
criterionTypeGroupVERTICAL/criterionTypeGroup
targetAlltrue/targetAll
   /details
  /settings



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

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

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




QuotaCheckError.INCOMPLETE_SIGNUP @ ; trigger:'null'

2013-04-18 Thread road11
We've had this code in place and working properly for almost a year now. 
All of a sudden, today it chokes on this error (see below). No idea why or 
what trigger:null means. I've checked here in the forums for others who 
have experienced various flavors of this problem. All indicate the problem 
is incomplete data in MCC. Ours has been in place for years without an 
issue, afaik. 

Here's the full barf...

Google.Api.Ads.AdWords.Lib.AdWordsApiException occurred
  HResult=-2146233088
  Message=An API exception has occurred. See ApiException and 
InnerException fields for more details.
  Source=Google.Ads.Common
  StackTrace:
   at Google.Api.Ads.Common.Lib.AdsSoapClient.MakeApiCall(String 
methodName, Object[] parameters) in 
z:\ads-dotnet-library\developer_support\external\client_libs\ads\csharp\adwords\compile\Lib\AdsSoapClient.cs:line
 
232
  InnerException: System.Web.Services.Protocols.SoapException
   HResult=-2146233087
   Message=[QuotaCheckError.INCOMPLETE_SIGNUP @ ; trigger:'null']
   Source=System.Web.Services
   Actor=
   Lang=
   Node=
   Role=
   StackTrace:
at 
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage
 
message, WebResponse response, Stream responseStream, Boolean asyncCall)
at 
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String 
methodName, Object[] parameters)
at Google.Api.Ads.Common.Lib.AdsSoapClient.MakeApiCall(String 
methodName, Object[] parameters) in 
z:\ads-dotnet-library\developer_support\external\client_libs\ads\csharp\adwords\compile\Lib\AdsSoapClient.cs:line
 
211
   InnerException: 

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

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

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




Re: Remarketing guide?

2013-04-18 Thread Jason Stedman
There was a blog post that explained it when the features came out but it 
seems to have been removed from the blog or missed in a migration. 

At the moment at least there are these code examples:

https://code.google.com/p/google-api-ads-java/source/browse/#git%2Fexamples%2Fadwords_axis%2Fsrc%2Fmain%2Fjava%2Fadwords%2Faxis%2Fv201302%2Fremarketing

They don't explain how remarketing works, but show trivial examples of how 
to manipulate the important entities used in remarketing campaigns.

Hope this helps.

On Wednesday, April 17, 2013 11:28:57 AM UTC-4, Steve Wollkind wrote:

 I'm trying to understand remarketing via the AdWords API and finding it 
 more than a little opaque.  Is there any sort of guide for setting this up?

 Thanks
 Steve


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

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

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




Re: upgrade api to v201302 update campaign budget issue

2013-04-18 Thread assaf
 
 
I am implementing in Java - 
Method for updating a campaign -
 

AdWordsServiceLogger.log();

// Get AdWordsUser from ~/adwords.properties.
AdWordsUser user = new AdWordsUser();

// Get the CampaignService.
CampaignServiceInterface campaignService =
user.getService(AdWordsService.V201302.CAMPAIGN_SERVICE);

BudgetServiceInterface budgetService =
 user.getService(AdWordsService.V201302.BUDGET_SERVICE);

long campaignId = Long.parseLong(pMachineID);

// Create campaign with updated budget.
Campaign campaign = new Campaign();
campaign.setId(campaignId);
campaign.setName(pMachineName);

boolean biddingChanged = false;

if (null != pMachineBiddingStrategy  null != 
pOldMachineBiddingStrategy) {
 if (!pMachineBiddingStrategy.equals(pOldMachineBiddingStrategy)) {
  biddingChanged = true;
 }
}
AdServingOptimizationStatus optimStatus = null;
  
  
// set optimization status
if (null != pMachineOptimizationStatus) {
 if (pMachineOptimizationStatus.equals(OPTIMIZE)) {
  optimStatus = AdServingOptimizationStatus.OPTIMIZE;
 }
 if (pMachineOptimizationStatus.equals(CONVERSION_OPTIMIZE)) {
  optimStatus = AdServingOptimizationStatus.CONVERSION_OPTIMIZE;
 }

 if (pMachineOptimizationStatus.equals(ROTATE)) {
  optimStatus = AdServingOptimizationStatus.ROTATE;
 }
 campaign.setAdServingOptimizationStatus(optimStatus);
}
// Create the bids.
   
BiddingStrategyConfiguration biddingConfig = new 
BiddingStrategyConfiguration();

if (null != pMachineBiddingStrategy)  {
 if (pMachineBiddingStrategy.equals(ManualCPC)) {
  ManualCpcBiddingScheme manualCpc = new ManualCpcBiddingScheme();
  manualCpc.setEnhancedCpcEnabled(false);
  biddingConfig.setBiddingScheme(manualCpc);
 }
  if (pMachineBiddingStrategy.equals(ManualCPM)) {
   ManualCpmBiddingScheme manualCpm = new ManualCpmBiddingScheme(); 
  biddingConfig.setBiddingScheme(manualCpm); 
 }
  if (pMachineBiddingStrategy.equals(BudgetOptimizer)) {   
   BudgetOptimizerBiddingScheme budgetOptimizer = new 
BudgetOptimizerBiddingScheme(); 
  biddingConfig.setBiddingScheme(budgetOptimizer);
 }
  if (pMachineBiddingStrategy.equals(PercentCPA)) {   
   PercentCpaBiddingScheme percentCPA = new 
PercentCpaBiddingScheme(); 
  biddingConfig.setBiddingScheme(percentCPA);
 }
  if (pMachineBiddingStrategy.equals(ConversionOptimizer)) {
   ConversionOptimizerBiddingScheme conversionOptimizer = new 
ConversionOptimizerBiddingScheme(); 
  biddingConfig.setBiddingScheme(conversionOptimizer);
 }   
}

campaign.setBiddingStrategyConfiguration(biddingConfig);

if (null != pStatus  pStatus.equals(ACTIVE)) {
 campaign.setStatus(CampaignStatus.ACTIVE);
}
if (null != pStatus  pStatus.equals(PAUSED)) {
 campaign.setStatus(CampaignStatus.PAUSED);
}
  
// Create budget.
Budget budget = new Budget();
Money m = new Money();
m.setMicroAmount(new Long(100 * pAmount));
budget.setAmount(m);
budget.setName(campaign_before+campaignId+-budget+new 
Date().getTime());

if (null != pDeliveryMethod  
pDeliveryMethod.equals(ACCELERATED)) {
 budget.setDeliveryMethod(BudgetBudgetDeliveryMethod.ACCELERATED);
}
if (null != pDeliveryMethod  pDeliveryMethod.equals(STANDARD)) {
 budget.setDeliveryMethod(BudgetBudgetDeliveryMethod.STANDARD);
}

budget.setPeriod(BudgetBudgetPeriod.DAILY);

BudgetOperation budgetOperation = new BudgetOperation();
budgetOperation.setOperand(budget);
budgetOperation.setOperator(Operator.ADD);
// Add the budgetLong 
long budgetId =budgetService.mutate(new BudgetOperation[] 
{budgetOperation}).getValue(0).getBudgetId();

 // Only the budgetId should be sent.
Budget newbudget = new Budget();
newbudget.setBudgetId(budgetId);
newbudget.setName(campaign_after+campaignId+-budget+new 
Date().getTime());

campaign.setBudget(newbudget);
 
// Set the campaign network options to Search and Search Network.
NetworkSetting networkSetting = new NetworkSetting();
   // 
networkSetting.setTargetContentContextual(pTargetContentContextual);
networkSetting.setTargetGoogleSearch(pTargetGoogleSearch);
networkSetting.setTargetSearchNetwork(pTargetSearchNetwork);

Re: /v201302 InternalApiError.UNEXPECTED_INTERNAL_API_ERROR in SANDBOX

2013-04-18 Thread assaf


AdWordsServiceLogger.log();

// Get AdWordsUser from ~/adwords.properties.
AdWordsUser user = new AdWordsUser();

// Get the CampaignService.
CampaignServiceInterface campaignService =
user.getService(AdWordsService.V201302.CAMPAIGN_SERVICE);

BudgetServiceInterface budgetService =
user.getService(AdWordsService.V201302.BUDGET_SERVICE);

long campaignId = Long.parseLong(pMachineID);

// Create campaign with updated budget.
Campaign campaign = new Campaign();
campaign.setId(campaignId);
campaign.setName(pMachineName);

boolean biddingChanged = false;

if (null != pMachineBiddingStrategy  null != pOldMachineBiddingStrategy) {
if (!pMachineBiddingStrategy.equals(pOldMachineBiddingStrategy)) {
biddingChanged = true;
}
}
AdServingOptimizationStatus optimStatus = null;


// set optimization status
if (null != pMachineOptimizationStatus) {
if (pMachineOptimizationStatus.equals(OPTIMIZE)) {
optimStatus = AdServingOptimizationStatus.OPTIMIZE;
}
if (pMachineOptimizationStatus.equals(CONVERSION_OPTIMIZE)) {
optimStatus = AdServingOptimizationStatus.CONVERSION_OPTIMIZE;
}

if (pMachineOptimizationStatus.equals(ROTATE)) {
optimStatus = AdServingOptimizationStatus.ROTATE;
}
campaign.setAdServingOptimizationStatus(optimStatus);
}
// Create the bids.

BiddingStrategyConfiguration biddingConfig = new 
BiddingStrategyConfiguration();

if (null != pMachineBiddingStrategy) { 
if (pMachineBiddingStrategy.equals(ManualCPC)) {
ManualCpcBiddingScheme manualCpc = new ManualCpcBiddingScheme();
manualCpc.setEnhancedCpcEnabled(false);
biddingConfig.setBiddingScheme(manualCpc);
}
if (pMachineBiddingStrategy.equals(ManualCPM)) {
ManualCpmBiddingScheme manualCpm = new ManualCpmBiddingScheme(); 
biddingConfig.setBiddingScheme(manualCpm); 
}
if (pMachineBiddingStrategy.equals(BudgetOptimizer)) { 
BudgetOptimizerBiddingScheme budgetOptimizer = new 
BudgetOptimizerBiddingScheme(); 
biddingConfig.setBiddingScheme(budgetOptimizer);
}
if (pMachineBiddingStrategy.equals(PercentCPA)) { 
PercentCpaBiddingScheme percentCPA = new PercentCpaBiddingScheme(); 
biddingConfig.setBiddingScheme(percentCPA);
}
if (pMachineBiddingStrategy.equals(ConversionOptimizer)) {
ConversionOptimizerBiddingScheme conversionOptimizer = new 
ConversionOptimizerBiddingScheme(); 
biddingConfig.setBiddingScheme(conversionOptimizer);
} 
}

campaign.setBiddingStrategyConfiguration(biddingConfig);

if (null != pStatus  pStatus.equals(ACTIVE)) {
campaign.setStatus(CampaignStatus.ACTIVE);
}
if (null != pStatus  pStatus.equals(PAUSED)) {
campaign.setStatus(CampaignStatus.PAUSED);
}

// Create budget.
Budget budget = new Budget();
Money m = new Money();
m.setMicroAmount(new Long(100 * pAmount));
budget.setAmount(m);
budget.setName(campaign_before+campaignId+-budget+new Date().getTime());

if (null != pDeliveryMethod  pDeliveryMethod.equals(ACCELERATED)) {
budget.setDeliveryMethod(BudgetBudgetDeliveryMethod.ACCELERATED);
}
if (null != pDeliveryMethod  pDeliveryMethod.equals(STANDARD)) {
budget.setDeliveryMethod(BudgetBudgetDeliveryMethod.STANDARD);
}

budget.setPeriod(BudgetBudgetPeriod.DAILY);

BudgetOperation budgetOperation = new BudgetOperation();
budgetOperation.setOperand(budget);
budgetOperation.setOperator(Operator.ADD);
// Add the budgetLong 
long budgetId = budgetService.mutate(new BudgetOperation[] 
{budgetOperation}).getValue(0).getBudgetId();

// Only the budgetId should be sent.
Budget newbudget = new Budget();
newbudget.setBudgetId(budgetId);
newbudget.setName(campaign_after+campaignId+-budget+new 
Date().getTime());

campaign.setBudget(newbudget);

// Set the campaign network options to Search and Search Network.
NetworkSetting networkSetting = new NetworkSetting();
// networkSetting.setTargetContentContextual(pTargetContentContextual);
networkSetting.setTargetGoogleSearch(pTargetGoogleSearch);
networkSetting.setTargetSearchNetwork(pTargetSearchNetwork);
networkSetting.setTargetContentNetwork(pTargetContentNetwork);
networkSetting.setTargetPartnerSearchNetwork(pTargetPartnerSearchNetwork);
campaign.setNetworkSetting(networkSetting);

// Create operations.
CampaignOperation operation = new CampaignOperation();

operation.setOperand(campaign);
operation.setOperator(Operator.SET);

CampaignOperation[] operations = new CampaignOperation[] {operation};

// Update campaign.
CampaignReturnValue result = campaignService.mutate(operations);
When just trying to update the name and budget of the campaign I get the 
exception -

AxisFault
faultCode: 
{*http://schemas.xmlsoap.org/soap/envelope/}Server*http://schemas.xmlsoap.org/soap/envelope/%7DServer
faultSubcode: 
faultString: [InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 
com.google.ads.api.services.common.error.InternalApiError.lt;initgt;(InternalApiErro]
faultActor: 
faultNode: 
faultDetail: 
{*https://adwords.google.com/api/adwords/cm/v201302}ApiExceptionFault*https://adwords.google.com/api/adwords/cm/v201302%7DApiExceptionFault:message[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
 
@ 

Need example code to set PLA Auto Target for AdGroup

2013-04-18 Thread road11
We've got a PLA campaign with serveral thousand adgroups in it. I need to 
programatically set the Auto Target feature through the API. No idea how 
to do this. The object browser in Visual Studio can't find anything called 
an AutoTarget. I saw that a guy back in 2010 had a similar issue, but I 
can't deduce from his code how this is done, and the Google guy who 
responded said he didn't have any example code for it back then. Hoping 
somebody has some now.

Can somebody please paste some C# (I'd even settle for a Java example at 
this point) of how to set an auto target value on an adgroup?

Thank you, thank you, thank you in advance. 

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

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

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




Faulty selector 'TargetCpaBid' - Campaign Service v201302

2013-04-18 Thread Eliya
Hello,

I am getting a SelectorError.INVALID_FIELD_NAME when trying to retrieve 
'TargetCpaBid' in the campaign service. The documentation 
(#1https://developers.google.com/adwords/api/docs/reference/v201302/CampaignService.CpaBid#bid
  
#2https://developers.google.com/adwords/api/docs/appendix/selectorfields#v201302-CampaignService)
 
specifically specifies this selector.
What am I doing wrong?

Thanks a lot,
Eliya.


Attached the SOAP Response:
?xml version=1.0 encoding=UTF-8?
soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
soap:Header
ResponseHeader 
xmlns=https://adwords.google.com/api/adwords/cm/v201302;
requestId0004daa4b2f45f700ae57da251e8/requestId
serviceNameCampaignService/serviceName
methodNameget/methodName
operations0/operations
responseTime382/responseTime
units0/units
/ResponseHeader
/soap:Header
soap:Body
soap:Fault
faultcodesoap:Server/faultcode
faultstring[SelectorError.INVALID_FIELD_NAME @ 
serviceSelector; trigger:'TargetCpaBid']/faultstring
detail
ApiExceptionFault 
xmlns=https://adwords.google.com/api/adwords/cm/v201302;
message[SelectorError.INVALID_FIELD_NAME @ 
serviceSelector; trigger:'TargetCpaBid']/message

ApplicationException.TypeApiException/ApplicationException.Type
errors 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xsi:type=SelectorError
fieldPathserviceSelector/fieldPath
triggerTargetCpaBid/trigger

errorStringSelectorError.INVALID_FIELD_NAME/errorString
ApiError.TypeSelectorError/ApiError.Type
reasonINVALID_FIELD_NAME/reason
/errors
/ApiExceptionFault
/detail
/soap:Fault
/soap:Body
/soap:Envelope

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

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

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




InternalApiError.UNEXPECTED_INTERNAL_API_ERROR Adwords API v201302

2013-04-18 Thread Etienne Lawlor
 I am seeing this error InternalApiError.UNEXPECTED_INTERNAL_API_ERROR. 
 This is happening when i try to make an add_campaign API call in v201302.

Here is the SOAP response I am seeing :

2013/04/15 14:56:03  INFO (Google::Ads::AdWords::Deserializer::deserialize:38) 
- Incoming response:
soap:Envelope 
xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;soap:HeaderResponseHeader
 
xmlns=https://adwords.google.com/api/adwords/cm/v201302;requestId0004da6d51a569800a42670929f0/requestIdserviceNameCampaignService/serviceNamemethodNamemutate/methodNameoperations0/operationsresponseTime349/responseTimeunits0/units/ResponseHeader/soap:Headersoap:Bodysoap:Faultfaultcodesoap:Server/faultcodefaultstring[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
 @ 
com.google.ads.api.services.common.error.InternalApiError.lt;initgt;(InternalApiErro]/faultstringdetailApiExceptionFault
 
xmlns=https://adwords.google.com/api/adwords/cm/v201302;message[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
 @ 
com.google.ads.api.services.common.error.InternalApiError.lt;initgt;(InternalApiErro]/messageApplicationException.TypeApiException/ApplicationException.Typeerrors
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xsi:type=InternalApiErrorfieldPath/fieldPathtrigger/triggererrorStringInternalApiError.UNEXPECTED_INTERNAL_API_ERROR/errorStringApiError.TypeInternalApiError/ApiError.TypereasonUNEXPECTED_INTERNAL_API_ERROR/reason/errors/ApiExceptionFault/detail/soap:Fault/soap:Body/soap:Envelope
2013/04/15 14:56:03  INFO (Google::Ads::AdWords::Deserializer::deserialize:80) 
- auth=ClientLogin:gus+man...@pricegrabber.com client_id=6453545429 
service=CampaignService method=mutate response_time=349 
request_id=0004da6d51a569800a42670929f0 operations= units= is_fault=yes

I have received this same error for a few days now so it does not seem to be 
temporary.

Is there a reason why this error keeps happening?

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

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

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




Re: QuotaCheckError.INCOMPLETE_SIGNUP @ ; trigger:'null'

2013-04-18 Thread Anash P. Oommen (AdWords API Team)
Hi,

Could you post your AdWords API MCC CustomerId? I could investigate this 
further.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Thursday, April 18, 2013 6:28:02 PM UTC+5:30, road11 wrote:

 We've had this code in place and working properly for almost a year now. 
 All of a sudden, today it chokes on this error (see below). No idea why or 
 what trigger:null means. I've checked here in the forums for others who 
 have experienced various flavors of this problem. All indicate the problem 
 is incomplete data in MCC. Ours has been in place for years without an 
 issue, afaik. 

 Here's the full barf...

 Google.Api.Ads.AdWords.Lib.AdWordsApiException occurred
   HResult=-2146233088
   Message=An API exception has occurred. See ApiException and 
 InnerException fields for more details.
   Source=Google.Ads.Common
   StackTrace:
at Google.Api.Ads.Common.Lib.AdsSoapClient.MakeApiCall(String 
 methodName, Object[] parameters) in 
 z:\ads-dotnet-library\developer_support\external\client_libs\ads\csharp\adwords\compile\Lib\AdsSoapClient.cs:line
  
 232
   InnerException: System.Web.Services.Protocols.SoapException
HResult=-2146233087
Message=[QuotaCheckError.INCOMPLETE_SIGNUP @ ; trigger:'null']
Source=System.Web.Services
Actor=
Lang=
Node=
Role=
StackTrace:
 at 
 System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage
  
 message, WebResponse response, Stream responseStream, Boolean asyncCall)
 at 
 System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String 
 methodName, Object[] parameters)
 at Google.Api.Ads.Common.Lib.AdsSoapClient.MakeApiCall(String 
 methodName, Object[] parameters) in 
 z:\ads-dotnet-library\developer_support\external\client_libs\ads\csharp\adwords\compile\Lib\AdsSoapClient.cs:line
  
 211
InnerException: 



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

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

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




Re: upgrade api to v201302 update campaign budget issue

2013-04-18 Thread Anash P. Oommen (AdWords API Team)
Hi,

I'll investigate this further, but most likely it is due to this line:

newbudget.setName(campaign_after+campaignId+-budget+new 
Date().getTime());

Cheers,
Anash

On Monday, April 15, 2013 10:05:22 PM UTC+5:30, assaf wrote:

 Hi,
  
 After the upgrade I get an error - [BudgetError.CANNOT_EDIT_SHARED_BUDGET 
 @ operations[0].operand.budget.amount]
  
 From what I read I see I mustn't use the CampaignService for the update of 
 the daily budget.
 Should I be using this by updating the CampaignStats with the 
 CampaignSharedSetService?
  
 Where can I find Java code examples for this?
  
 Thanks.


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

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

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




Re: InternalApiError.UNEXPECTED_INTERNAL_API_ERROR Adwords API v201302

2013-04-18 Thread Anash P. Oommen (AdWords API Team)
Hi Etienne,

This looks like an issue at our end. I've pulled the relevant logs, I'll 
ask the team to investigate this further.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Friday, April 19, 2013 3:51:39 AM UTC+5:30, Etienne Lawlor wrote:

  I am seeing this error InternalApiError.UNEXPECTED_INTERNAL_API_ERROR. 
  This is happening when i try to make an add_campaign API call in v201302.

 Here is the SOAP response I am seeing :

 2013/04/15 14:56:03  INFO 
 (Google::Ads::AdWords::Deserializer::deserialize:38) - Incoming response:
 soap:Envelope 
 xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;soap:HeaderResponseHeader
  
 xmlns=https://adwords.google.com/api/adwords/cm/v201302;requestId0004da6d51a569800a42670929f0/requestIdserviceNameCampaignService/serviceNamemethodNamemutate/methodNameoperations0/operationsresponseTime349/responseTimeunits0/units/ResponseHeader/soap:Headersoap:Bodysoap:Faultfaultcodesoap:Server/faultcodefaultstring[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
  @ 
 com.google.ads.api.services.common.error.InternalApiError.lt;initgt;(InternalApiErro]/faultstringdetailApiExceptionFault
  
 xmlns=https://adwords.google.com/api/adwords/cm/v201302;message[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
  @ 
 com.google.ads.api.services.common.error.InternalApiError.lt;initgt;(InternalApiErro]/messageApplicationException.TypeApiException/ApplicationException.Typeerrors
  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
 xsi:type=InternalApiErrorfieldPath/fieldPathtrigger/triggererrorStringInternalApiError.UNEXPECTED_INTERNAL_API_ERROR/errorStringApiError.TypeInternalApiError/ApiError.TypereasonUNEXPECTED_INTERNAL_API_ERROR/reason/errors/ApiExceptionFault/detail/soap:Fault/soap:Body/soap:Envelope
 2013/04/15 14:56:03  INFO 
 (Google::Ads::AdWords::Deserializer::deserialize:80) - 
 auth=clientlogin...@pricegrabber.com javascript: client_id=6453545429 
 service=CampaignService method=mutate response_time=349 
 request_id=0004da6d51a569800a42670929f0 operations= units= is_fault=yes

 I have received this same error for a few days now so it does not seem to be 
 temporary.

 Is there a reason why this error keeps happening?



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

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

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