Re: Set Standard Strategy with 'Target_Spend' as Bidding Strategy Type

2017-09-20 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi, 

To use TargetSpendBiddingScheme 

 as 
a standard bidding strategy, you just need to use the 
BiddingStrategyConfiguration 

 object. 
The BiddingStrategyService 

 is 
used to create a SharedBiddingStrategy 

 (portfolio 
strategy), which is the reason you encountered the RequiredError.REQUIRED 
error because the name was not specified in the request. Could you try 
using CampaignService 

 
and update the BiddingStrategyConfiguration 

 to 
use the TARGET_SPEND strategy? The AddCampaigns.java 

 example 
shows how to set this field. 

Regards,
Shwetha, AdWords API Team.

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/538490f5-29fb-4278-a9d6-06bdeb9202e6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Set Standard Strategy with 'Target_Spend' as Bidding Strategy Type

2017-09-20 Thread rafa . romero
Hi,

I'm trying to create a Bidding Strategy of Type 'Target Spend' (Maximize 
clicks) with an Standard Strategy as Google Adwords does:




This is the sent request:

http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsd=
"http://www.w3.org/2001/XMLSchema; xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance;>

https://adwords.google.com/api/adwords/cm/v201702; soapenv:mustUnderstand=
"0">
002823492564

REDACTED
xx...@gmail.com (AwApi-Java, 
AdWords-Axis/3.7.0, Common-Java/3.7.0, Axis/1.4, Java/1.8.0_144, maven)

false
true



https://adwords.google.com/api/adwords/cm/v201702;>

ADD

https://adwords.google.com/api/adwords/cm/v201702; xsi:type=
"ns2:TargetSpendBiddingScheme">

1000

true

ENABLED
TARGET_SPEND







This is the response:

http://schemas.xmlsoap.org/soap/envelope/;>

https://adwords.google.com/api/adwords/cm/v201702;>
0005599bc24945500a37a8cf6806a29a
BiddingStrategyService
mutate
1
239




soap:Server
[RequiredError.REQUIRED @ 
operations[0].operand.name]

https://adwords.google.com/api/adwords/cm/v201702;>
[RequiredError.REQUIRED @ 
operations[0].operand.name]
ApiException

http://www.w3.org/2001/XMLSchema-instance; xsi:type="RequiredError">
operations[0].operand.name

operations
0


operand


name


RequiredError.REQUIRED
RequiredError
REQUIRED







It seems that the 'name' field is missing, but I'm not creating a Portfolio 
Strategy.

How can I create a Maximise Click Bidding strategy with Standard strategy 
type?

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/210ed37d-6679-4e29-b2d7-f8dbf47e82c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.