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.


Re: Set TargetingSettingDetail on BiddableAdGroupCriterion

2017-08-16 Thread rafa . romero
It works!

Thank you Shwetha!

El lunes, 14 de agosto de 2017, 20:19:21 (UTC+2), Shwetha Vastrad (AdWords 
API Team) escribió:
>
> Hi, 
>
> You need to set the TargetingSettingDetail at the Campaign 
> 
>  or AdGroup 
> 
>  level 
> using CampaignService 
> 
>  or AdGroupService 
> 
>  respectively. The TargetingSettingDetail will specify if a particular 
> criteria type will be used to restrict targeting or only be used to 
> determine the bid for this Campaign or Ad Group. This guide 
>  shows how Ads will 
> serve based on different targeting combinations. The AddAdGroups 
> 
>  Java 
> example shows how to add targeting restrictions at the AdGroup level for 
> PLACEMENT and VERTICAL criteria. You can perform a similar operation for 
> USER_INTEREST_AND_LIST criteria type group. 
>
> 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/7bcd703c-67a6-4df1-b428-8510129bd16f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Set TargetingSettingDetail on BiddableAdGroupCriterion

2017-08-14 Thread rafa . romero
Hi all,

i'm wondering how to add TargetingSettingDetail on BiddableAdGroupCriterion 
while creating AdGroup Criterion (Segmentation).

This is how I create the AdGroupCriterion:

def adwordsServices = new AdWordsServices()
def adGroupCriterionService = adwordsServices.get(session, 
AdGroupCriterionServiceInterface.class)

def criterion = new CriterionUserList()
criterion.setUserListId(userListId)
criterion.setUserListName(userListName)
criterion.setUserListMembershipStatus(CriterionUserListMembershipStatus.fromValue(userListStatus))

def bidCriterion = new BiddableAdGroupCriterion()
bidCriterion.setAdGroupId(adGroupId)
bidCriterion.setCriterion(criterion)
bidCriterion.setUserStatus(new UserStatus(status))

// Create operations.
def operation = new AdGroupCriterionOperation()
operation.setOperand(bidCriterion)
operation.setOperator(Operator.ADD)

def operations = (AdGroupCriterionOperation[]) [operation]

// Update ad group criteria.
def result = adGroupCriterionService.mutate(operations)


And this the way I build the TargetingSettingDetail

TargetingSettingDetail userTargetDetail = new TargetingSettingDetail();
userTargetDetail.criterionTypeGroup = CriterionTypeGroup.USER_INTEREST_AND_LIST;
userTargetDetail.targetAll = "BOTH".equals(type) ? false : true;

TargetingSetting targetingSetting = new TargetingSetting();
targetingSetting.details = (TargetingSettingDetail[]) [userTargetDetail]


But I don't know how to relate to each other. I'm trying to run the 
operation both to CampaignCriterion and AdGroupCriterion. In 
CampaignCriterion instead of BiddableAdGroupCriterion we 
use CampaignCriterion

Thank you for the help!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/61c88ed9-6276-4d06-9ab4-364315241bd1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: RMF C.710 - Set userlist targeting bid adjustment for search network campaigns and ad groups

2017-08-11 Thread rafa . romero
Hi Shwetha

I'm not sure yet about how to set userlist targeting bid adjustment for 
search network campaigns and ad groups, because the link you sent me it's 
to set bid adjustment for Locations, Ads and Devices but not for 
segmentation created on Audience Tab right?

Or Maybe I'm wrong?

Thank you for your support

El jueves, 10 de agosto de 2017, 19:48:22 (UTC+2), Shwetha Vastrad (AdWords 
API Team) escribió:
>
> Hi, 
>
> In AdWords UI, you can set the bid adjustment as described here 
> . This guide 
>  lists the 
> bid adjustment eligibility for different campaign types. I would suggest 
> that you reach out to AdWords support 
>  and the AdWords 
> Community Forum  for further 
> clarifications about bid adjustments. 
>
> 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/857cf520-3a6e-4807-bd8f-6da5f9534f37%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: RMF C.710 - Set userlist targeting bid adjustment for search network campaigns and ad groups

2017-08-10 Thread rafa . romero
HI Shwetha,

your answer clarifies the technical part, but how does Google Adwords 
platform (not the API) do? We need to know it to implement it in the same 
way

Thank you!

El miércoles, 9 de agosto de 2017, 20:49:48 (UTC+2), Shwetha Vastrad 
(AdWords API Team) escribió:
>
> Hi, 
>
> When you are adding a CriterionUserList to target a UserList at either the 
> Campaign or the AdGroup level using CampaignCriterionService 
> 
>  or AdGroupCriterionService 
> ,
>  
> you can specify the bid adjustment by setting the bidModifier 
> 
>  parameter. 
> This way you can set the bid adjustment when you create a 
> CriterionUserList. 
>
> I hope this helps. For further clarification of this RMF, I would suggest 
> that you contact the AdWords API Compliance team using this form 
> .
>
> 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/6dbc5aa2-9292-485f-b89b-e54b598f1bbd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RMF C.710 - Set userlist targeting bid adjustment for search network campaigns and ad groups

2017-08-09 Thread rafa . romero
Hi!

I'm working on this RMF but I don't know how to implement due I have been 
checking it on Google Adwords but I don't find the way to add userlist 
targeting bid while creating a userlist targeting from Google Adwords





I understand that the RMF M.710 (Edit userlist targeting bid adjustment for 
search network campaigns and ad groups) is related to edit bid once the 
userlist targeting has been created, as the image shows:




What is C.710 RMF related to?


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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/949ffcc4-5114-4315-9316-2ad2ffbd080d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Edit userlist targeting

2017-08-07 Thread rafa . romero
We are getting the "INVALID_USER_STATUS" error, but the UserStatus is being 
created well, we have checked it:

new UserStatus(status)



El lunes, 7 de agosto de 2017, 18:11:37 (UTC+2), rafa@rocketroi.com 
escribió:
>
> Hi!
>
> I'm trying to edit the STATUS of audience remarketing lists but despite 
> I'm not getting any error, the change is not being made on Adwords.
>
> This is the code that I'm using (I'm working with java/grails)
>
> def adwordsServcices = new AdWordsServices()
> def adGroupCriterionService = adwordsServcices.get(session, 
> AdGroupCriterionServiceInterface.class)
>
> def criterion = new CriterionUserList()
> criterion.setId(id)
>
> // Create ad group bid.
> def bidCriterion = new BiddableAdGroupCriterion()
> bidCriterion.setAdGroupId(adGroupId)
> bidCriterion.setCriterion(criterion)
> bidCriterion.setUserStatus(new UserStatus(status))
>
> // Create operations.
> def operation = new AdGroupCriterionOperation()
> operation.setOperand(bidCriterion)
> operation.setOperator(Operator.SET)
>
> def operations = (AdGroupCriterionOperation[]) [operation]
>
> // Update ad group criteria.
> def result = adGroupCriterionService.mutate(operations)
>
>
> And here the request and response:
>
> *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">
> 
> 004707663694
> REDACTED
> ***@gmail.com (AwApi-Java, 
> AdWords-Axis/3.2.0, Common-Java/3.2.0, Axis/1.4, Java/1.8.0_131, 
> maven)
> true
> true
> 
> 
> 
> https://adwords.google.com/api/adwords/cm/v201702;>
> 
> SET
> https://adwords.google.com/api/adwords/cm/v201702; 
> xsi:type="ns2:BiddableAdGroupCriterion">
> 39364874541
> 
> 340920409188
> 
> REMOVED
> 
> 
> 
> 
> 
>
> *Response*:
>
> http://schemas.xmlsoap.org/soap/envelope/;>
> 
> https://adwords.google.com/api/adwords/cm/v201702;>
> 0005562c097bb4080a3706905407d6c0
> AdGroupCriterionService
> mutate
> 0
> 124
> 
> 
> 
> 
> soap:Server
> [AdGroupCriterionError.INVALID_USER_STATUS @ 
> operations[0].operand.userStatus]
> 
> https://adwords.google.com/api/adwords/cm/v201702;>
> [AdGroupCriterionError.INVALID_USER_STATUS @ 
> operations[0].operand.userStatus]
> 
> ApiException
> http://www.w3.org/2001/XMLSchema-instance; 
> xsi:type="AdGroupCriterionError">
> 
> operations[0].operand.userStatus
> 
> operations
> 0
> 
> 
> operand
> 
> 
> userStatus
> 
> 
> 
> AdGroupCriterionError.INVALID_USER_STATUS
> 
> AdGroupCriterionError
> INVALID_USER_STATUS
> 
> 
> 
> 
> 
> 
>
>
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6dd48ebf-b8d8-4627-8c87-0f92a436a0b2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Edit userlist targeting

2017-08-07 Thread rafa . romero
Hi!

I'm trying to edit the STATUS of audience remarketing lists but despite I'm 
not getting any error, the change is not being made on Adwords.

This is the code that I'm using (I'm working with java/grails)

def adwordsServcices = new AdWordsServices()
def adGroupCriterionService = adwordsServcices.get(session, 
AdGroupCriterionServiceInterface.class)

def criterion = new CriterionUserList()
criterion.setId(id)

// Create ad group bid.
def bidCriterion = new BiddableAdGroupCriterion()
bidCriterion.setAdGroupId(adGroupId)
bidCriterion.setCriterion(criterion)
bidCriterion.setUserStatus(new UserStatus(status))

// Create operations.
def operation = new AdGroupCriterionOperation()
operation.setOperand(bidCriterion)
operation.setOperator(Operator.SET)

def operations = (AdGroupCriterionOperation[]) [operation]

// Update ad group criteria.
def result = adGroupCriterionService.mutate(operations)


And here the request and response:

*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">

004707663694
REDACTED
***@gmail.com (AwApi-Java, 
AdWords-Axis/3.2.0, Common-Java/3.2.0, Axis/1.4, Java/1.8.0_131, 
maven)
true
true



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

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

340920409188

REMOVED






*Response*:

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

https://adwords.google.com/api/adwords/cm/v201702;>
0005562c097bb4080a3706905407d6c0
AdGroupCriterionService
mutate
0
124




soap:Server
[AdGroupCriterionError.INVALID_USER_STATUS @ 
operations[0].operand.userStatus]

https://adwords.google.com/api/adwords/cm/v201702;>
[AdGroupCriterionError.INVALID_USER_STATUS @ 
operations[0].operand.userStatus]

ApiException
http://www.w3.org/2001/XMLSchema-instance; 
xsi:type="AdGroupCriterionError">

operations[0].operand.userStatus

operations
0


operand


userStatus



AdGroupCriterionError.INVALID_USER_STATUS
AdGroupCriterionError
INVALID_USER_STATUS










-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/cf3ac7ed-1f8d-488d-8542-ddf6e6ddd0df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Edit userlist targeting bid adjustment

2017-08-07 Thread rafa . romero
Hi!

I'm trying to edit the bid adjustment but despite I'm not getting any 
error, the change is not being made on Adwords.

This is the code that I'm using (I'm working with java/grails)

def adwordsServcices = new AdWordsServices()
def adGroupCriterionService = adwordsServcices.get(session, 
AdGroupCriterionServiceInterface.class)

def criterion = new CriterionUserList()
criterion.setId(id)

// Create ad group bid.
def bidCriterion = new BiddableAdGroupCriterion()
bidCriterion.setAdGroupId(adGroupId)
bidCriterion.setCriterion(criterion)
bidCriterion.setBidModifier(value)

// Create operations.
def operation = new AdGroupCriterionOperation()
operation.setOperand(bidCriterion)
operation.setOperator(Operator.SET)

def operations = (AdGroupCriterionOperation[]) [operation]

// Update ad group criteria.
def result = adGroupCriterionService.mutate(operations)


And here the request and response:

*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">

004707663694
REDACTED
***@gmail.com (AwApi-Java, 
AdWords-Axis/3.2.0, Common-Java/3.2.0, Axis/1.4, Java/1.8.0_131, 
maven)
true
true



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

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

340920409188

1.04







*Response*:

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

https://adwords.google.com/api/adwords/cm/v201702;>
0005562bcf5421480a37c31c590cd23b
AdGroupCriterionService
mutate
0
228



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





-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/93639bee-d667-408e-aaa3-e9e3937e2702%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Keywords and sitelinks issue

2017-06-09 Thread rafa . romero
Hi Sreelakshmi,

after doing more tests, we have acotated a litlle more the issue:

   - It doesn't matter if the extension being created is a Callout or a 
   Sitelink.
   - We have found out that the keyword that is not created is the first 
   one in the operations list, so it has nothing to do with matching option 
   but with position on operation list.
   
Following you can see a sample of our operationList (only 2 operation are 
shown)


>
>
>
> * 00 = {BudgetOperation@53695}  01 = {CampaignOperation@53696}  02 = 
> {CampaignCriterionOperation@53697}  03 = {CampaignCriterionOperation@53698}*

 

>
>
>
>
>
>
>
> * 04 = {AdGroupOperation@53699}  05 = 
> {AdGroupExtensionSettingOperation@53700}  06 = 
> {AdGroupExtensionSettingOperation@53701}  07 = 
> {AdGroupCriterionOperation@53702}  08 = 
> {AdGroupCriterionOperation@53703}  09 = 
> {AdGroupCriterionOperation@53704}  10 = {AdGroupCriterionOperation@53705}*

 

>
>
>
>
>
>
> * 11 = {AdGroupOperation@53706}  12 = 
> {AdGroupExtensionSettingOperation@53707}  13 = 
> {AdGroupExtensionSettingOperation@53708}  14 = 
> {AdGroupCriterionOperation@53709}  15 = 
> {AdGroupCriterionOperation@53710}  16 = 
> {AdGroupCriterionOperation@53711}  17 = {AdGroupCriterionOperation@53712}*


The problem occurs with the first keyword after a failed extension, e.g.

*{AdGroupExtensionSettingOperation@53701} --> Failed (*
> StringLengthError.TOO_SHORT 
> 
> )
>
> *{AdGroupCriterionOperation@53702} --> Not created, but not error 
> shown**{AdGroupCriterionOperation@53703} 
> --> Created*


Hope it helps!

El viernes, 9 de junio de 2017, 11:04:25 (UTC+2), rafa@rocketroi.com 
escribió:
>
> Hi Sreelakshmi,
>
> thanks in advance for your help
>
> we are sure that the problem is not related to Batch Job as we have been 
> able to create sitelink extensions. We have been created extensions filling 
> all the data (not leaving any blank field) even in the case that I 
> described you before, all the extensions and keywords has been created when 
> all the data has been filled.
>
> Besides that we have created extensions for an AdGroup, in an unitarily 
> way.
>
> So it seems  that something is going wrong with keywords (EXACT matching) 
> when trying to create a sitelink with emtpy fields.
>
> Trying to give you a clear picture of the scenario, it is something like 
> this:
>
>
> 
>
>
>
> The third case (for instance) is where is ocurring the issue. Both the 
> Sitelink text and the URL are blank and because that, we don't know why but 
> the keyword with EXACT matching is not being created
>
> Thank you!
>
>
> El jueves, 8 de junio de 2017, 21:14:58 (UTC+2), Sreelakshmi Sasidharan 
> (AdWords API Team) escribió:
>>
>> Hi, 
>>
>> Are you saying that, when a sitelink with a blank name and targeting a 
>> keyword is being created, the keyword is not getting created as the result 
>> of the same operation? As you said, the site link with no value for the 
>> 'siteLinkText' will throw an error StringLengthError.TOO_SHORT 
>> .
>>  
>> If you try to create a sitelink with a valid name and targeting a keyword, 
>> it will still not create a keyword in the AdGroup. Instead the 
>> CampaignExtension will be created and it will target the specific keyword. 
>> If this is not the case, could you please try the same operation outside 
>> the Batch job and pass me the SOAP logs so that I get a clear picture of 
>> the scenario? 
>>
>> You could use *Reply privately to author* while responding.
>>
>> Thanks,
>> Sreelakshmi, 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/b2f37dd4-0483-4f78-bf8c-b934008be93f%40googlegroups.com.
For more options, 

Re: Keywords and sitelinks issue

2017-06-09 Thread rafa . romero
Hi Sreelakshmi,

thanks in advance for your help

we are sure that the problem is not related to Batch Job as we have been 
able to create sitelink extensions. We have been created extensions filling 
all the data (not leaving any blank field) even in the case that I 
described you before, all the extensions and keywords has been created when 
all the data has been filled.

Besides that we have created extensions for an AdGroup, in an unitarily way.

So it seems  that something is going wrong with keywords (EXACT matching) 
when trying to create a sitelink with emtpy fields.

Trying to give you a clear picture of the scenario, it is something like 
this:





The third case (for instance) is where is ocurring the issue. Both the 
Sitelink text and the URL are blank and because that, we don't know why but 
the keyword with EXACT matching is not being created

Thank you!


El jueves, 8 de junio de 2017, 21:14:58 (UTC+2), Sreelakshmi Sasidharan 
(AdWords API Team) escribió:
>
> Hi, 
>
> Are you saying that, when a sitelink with a blank name and targeting a 
> keyword is being created, the keyword is not getting created as the result 
> of the same operation? As you said, the site link with no value for the 
> 'siteLinkText' will throw an error StringLengthError.TOO_SHORT 
> .
>  
> If you try to create a sitelink with a valid name and targeting a keyword, 
> it will still not create a keyword in the AdGroup. Instead the 
> CampaignExtension will be created and it will target the specific keyword. 
> If this is not the case, could you please try the same operation outside 
> the Batch job and pass me the SOAP logs so that I get a clear picture of 
> the scenario? 
>
> You could use *Reply privately to author* while responding.
>
> Thanks,
> Sreelakshmi, 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/4611a0c3-9235-418e-86f0-951e659729b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: v201702 Migration - LocationGroups - IncomeOperand

2017-05-23 Thread rafa . romero
So I undestand that we should remove the feature from our platform, right?

thanks!

El martes, 23 de mayo de 2017, 6:53:18 (UTC+2), Thanet Knack Praneenararat 
(AdWords API Team) escribió:
>
> Hello,
>
> You understand correctly. This is not available in v201702 anymore.
> Let me gather more information about alternative and get back to you soon.
>
> Best,
> Thanet, AdWords API Team
>
> On Monday, May 22, 2017 at 8:07:18 PM UTC+9, rafa@rocketroi.com 
>  wrote:
>>
>> Hello,
>>
>> looking at the Migration Guide (v201702) 
>>  it 
>> says the following about LocationGroups:
>>
>> *The IncomeOperand can no longer be used as 
>>> a FunctionArgumentOperand for LocationGroups. Mutate requests adding new 
>>> operands of this type will result in 
>>> aFunctionError.Reason.INVALID_OPERAND_TYPE error.*
>>
>>
>> What does this mean? We are currently using this functionality in our 
>> platform, so should we remove it? As the Migration Guide is not giving any 
>> alterantive to IncomeOperand we don't know what to do. 
>>
>> We have checked Google Adwords Platform and the functionality is still 
>> available.
>>
>> Thank you!
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/472fa39c-98c1-41ae-b488-e07a4d04db50%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


v201702 Migration - LocationGroups - IncomeOperand

2017-05-22 Thread rafa . romero
Hello,

looking at the Migration Guide (v201702) 
 it 
says the following about LocationGroups:

*The IncomeOperand can no longer be used as 
> a FunctionArgumentOperand for LocationGroups. Mutate requests adding new 
> operands of this type will result in 
> aFunctionError.Reason.INVALID_OPERAND_TYPE error.*


What does this mean? We are currently using this functionality in our 
platform, so should we remove it? As the Migration Guide is not giving any 
alterantive to IncomeOperand we don't know what to do. 

We have checked Google Adwords Platform and the functionality is still 
available.

Thank you!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d396a8d2-55dc-44e9-8f95-6647e970b2ff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Account extensions: Add new extensions

2017-05-11 Thread rafa . romero
I'm creating extensions at account level, but the problem is that when I 
try to create more than on extension of the same type, the ol one ovewrite 
the new one.

I have tried removing the existing extensions, and recreate the removed 
ones and the new ones, but I'm getting an *DUPLICATE_ELEMENT* error. I do 
the following:

   1. Get old extensions and save on an Array (to remove)
   2. Add old extensions to the new extensions array
   3. remove old extensions
   4. add new extensions + old extensions

This is the code that I'm using right now:

static CustomerExtensionSettingReturnValue 
addCustomerExtensions(AdWordsSession session, List extensions) {

AdWordsServices adWordsServices = new AdWordsServices()

CustomerExtensionSettingServiceInterface 
customerExtensionSettingServiceInterface =
adWordsServices.get(session, 
CustomerExtensionSettingServiceInterface.class);

//First, we need to separate the extensions by type
Map lstExtensions = separateExtensions(extensions as List)

CustomerExtensionSettingOperation customerSiteLinkOperation = 
createSiteLinkExtensionOperation(lstExtensions.lstSiteLinkExtensions)
CustomerExtensionSettingOperation customerCalloutOperation  = 
createCalloutExtensionOperation(lstExtensions.lstCalloutExtensions)
CustomerExtensionSettingOperation customerAppOperation  = 
createAppExtensionOperation(lstExtensions.lstAppExtensions)

// Add the extensions.
List lstAllExtensions =  new 
ArrayList();

if (lstExtensions.lstSiteLinkExtensions){
lstAllExtensions.addAll(customerSiteLinkOperation)
}
if (lstExtensions.lstCalloutExtensions){
lstAllExtensions.addAll(customerCalloutOperation)
}
if (lstExtensions.lstAppExtensions){
lstAllExtensions.addAll(customerAppOperation)
}

// Get existing extensions: remove them and add them again
List toRemoveExtensionsList = 
 new ArrayList();
List existingExtensionsList = 
getExtensions(session, "ALL")

if(existingExtensionsList.size() > 0) {
for (CustomerExtensionSetting customerExtensionSetting in 
existingExtensionsList) {
CustomerExtensionSettingOperation operationRemove = new 
CustomerExtensionSettingOperation()
operationRemove.operand = customerExtensionSetting
operationRemove.setOperator(Operator.REMOVE)

toRemoveExtensionsList.add(operationRemove)

CustomerExtensionSettingOperation operationAdd = new 
CustomerExtensionSettingOperation()
operationAdd.operand = customerExtensionSetting
operationAdd.setOperator(Operator.ADD)

lstAllExtensions.add(operationAdd)
}


customerExtensionSettingServiceInterface.mutate((CustomerExtensionSettingOperation[])
 
(toRemoveExtensionsList.toArray()));
}

return 
customerExtensionSettingServiceInterface.mutate((CustomerExtensionSettingOperation[])
 
(lstAllExtensions.toArray()));
}

And this is the response from Adwords:

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

https://adwords.google.com/api/adwords/cm/v201607;>
00054f40df5092300a3741411c00f843
CustomerExtensionSettingService
mutate
4
208




soap:Server
[DistinctError.DUPLICATE_ELEMENT @ 
operations[1]]

https://adwords.google.com/api/adwords/cm/v201607;>
[DistinctError.DUPLICATE_ELEMENT @ 
operations[1]]

ApiException
http://www.w3.org/2001/XMLSchema-instance; 
xsi:type="DistinctError">
operations[1]


DistinctError.DUPLICATE_ELEMENT
DistinctError
DUPLICATE_ELEMENT











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

Remove Sitelink Account extension

2017-05-02 Thread rafa . romero
Hi!

we have managin account extension from our app, and one of the features is 
to remove extensions. The code that "removes" the extensions seems that is 
working, but when we get the extensions from Adwords we are not getting the 
removed extension. Howewer, if we go to our *Account > Shared Library 
> Business Data > Extensions > Sitelink Extensions*, the extension is still 
there and its status is active.

Above you can see the code we are using in each case:

*Remove extension:*

AdWordsServices adWordsServices = new AdWordsServices()
CustomerExtensionSettingServiceInterface service  = adWordsServices.get(
session, CustomerExtensionSettingServiceInterface.class);

SitelinkFeedItem adWordsExtension = new SitelinkFeedItem()
adWordsExtension.setFeedId(item['feedId'] as Long)
adWordsExtension.setFeedItemId(item['feedItemId'] as Long)
adWordsExtension.setFeedType(new FeedType(item['type']))
adWordsExtension.setSitelinkText(item['text'])
adWordsExtension.setSitelinkFinalUrls(item['url'])
adWordsExtension.setSitelinkLine2(item['description1'])
adWordsExtension.setSitelinkLine3(item['description1'])

ExtensionSetting extensionSetting = new ExtensionSetting()
extensionSetting.setExtensions(adWordsExtension)

CustomerExtensionSetting customerExtensionSetting = new 
CustomerExtensionSetting()
customerExtensionSetting.setExtensionSetting(extensionSetting)
customerExtensionSetting.setExtensionType(new FeedType(item['type']))

CustomerExtensionSettingOperation operation = new 
CustomerExtensionSettingOperation()
operation.setOperator(Operator.REMOVE)
CustomerExtensionSettingOperation[] operations = (
CustomerExtensionSettingOperation[]) [operation]
operation.setOperand(customerExtensionSetting);

return service.mutate(operations);

*Adwords Response*

2017-05-02 13:49:54,926 [http-nio-8050-exec-7] INFO  
AdWordsServiceClient.requestInfoLogger 
 - Request made: Service: "CustomerExtensionSettingServiceInterfacePort" 
Method: "mutate" URL: 
"https://adwords.google.com/api/adwords/cm/v201607/CustomerExtensionSettingService;
 
Request ID: "00054e8924c3f3880a3784428302054d"
2017-05-02 13:49:54,987 [http-nio-8050-exec-7] INFO  
AdWordsServiceClient.soapXmlLogger 
 - SOAP 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/v201607; soapenv:mustUnderstand=
"0">
   4707663694
   REDACTED
   rr.mcc.t...@gmail.com (AwApi-Java, AdWords-Axis/
2.19.0, Common-Java/2.19.0, Axis/1.4, Java/1.8.0_131, maven)
   false
   true
   
   
   
   https://adwords.google.com/api/adwords/cm/v201607;>
   
   REMOVE
   
   SITELINK
   
   https://adwords.google.com/api/adwords/cm/v201607; xsi:type=
"ns2:SitelinkFeedItem">
   38539624
   13343759210
   SITELINK
   
   
   
   
   
   


2017-05-02 13:49:54,989 [http-nio-8050-exec-7] INFO  
AdWordsServiceClient.soapXmlLogger 
 - SOAP Response:
http://schemas.xmlsoap.org/soap/envelope/;>
   
   https://adwords.google.com/api/adwords/cm/v201607;>
   00054e8924c3f3880a3784428302054d
   CustomerExtensionSettingService
   mutate
   1
   155
   
   
   
   https://adwords.google.com/api/adwords/cm/
v201607">
   
  
 
CustomerExtensionSettingReturnValue
   
   SITELINK
   
   http://www.w3.org/2001/XMLSchema-instance; 
xsi:type="SitelinkFeedItem">
   38539624
   13343759210
   ENABLED
   SITELINK
  
 SitelinkFeedItem
   texto
   desc1
   desc2
   
   http://www.as3.com
   
   
   NONE
   
   
   
   
   


*Get Extensions*
def adWordsServices = new AdWordsServices()
def customerExtensionSettingsService = adWordsServices.get(session, 
CustomerExtensionSettingServiceInterface.class)

def offset = 0
def hasMorePages = true
def list = new ArrayList()

Selector selector = new Selector()
selector.setFields((String[])["ExtensionType", "Extensions", 
"PlatformRestrictions"].toArray())
selector.setPaging(new Paging(offset, PAGE_SIZE))

if (!type.equals("ALL")){
def predicates = []
predicates.add(new Predicate("ExtensionType", 
PredicateOperator.EQUALS, (String[]) [type].toArray()))

RMF C.525 - Add first (root) product partition

2017-03-30 Thread rafa . romero
Hi!

We are working on this RMF, but we don't know exactly what we have to do.

So far what we have found related (we think) to this RMF is that it is 
related to this option in AdGroup creation within a Shopping Campaign:




And this example from Google Adwords Github site: 
https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201702/shoppingcampaigns/AddProductPartitionTree.java


Despite of tha, we don't know how to connect all together.


Could you help us please?

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3afa6b3b-5c4a-456c-95da-0583792ecaf6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RMF M.18 - Edit ad device preference

2017-03-30 Thread rafa . romero

Hi!

We have realized that the *RMF M.18* is no longer available on the RMF site:

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

It was on the list, at least, at the end of last year (about December 2016)

Has the RMF been deleted? or is there any change related to this RMF?

Thank you!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/4088838c-ac72-4ff5-9514-5c6f0e04d54e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RMF C.600 - Mobile app download campaigns

2017-03-30 Thread rafa . romero
Hi!

We have realized that the *RMF C.600* is no longer available on the RMF 
site:

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

It was on the list, at least, at the end of last year (about December 2016)

Has the RMF been deleted? or is there any change related to this RMF?

Thank you!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/4821e1c3-1648-486e-8203-9628eb21285f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Product Partition Report - Trying to get all products

2017-02-13 Thread rafa . romero
I'm trying to get all product from an AdGroup (from a Shopping Campaign). 

I'm getting the data through the PRODUCT_PARTITION_REPORT 
.
 
We have checked that in Adwords the consulted AdGroup has more than 2k 
products and the feed more than 20k products. Howewer, we are getting no 
more than 1k products in the resulted CSV file.  Besides, we are not 
getting the same number of products for every AdGroup.

Does the report provide all the products or it filters depending on any 
metric o status? We have tryed switching the zeroImpressions flag but the 
result doesn't change.

Thank you!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a51aec13-0920-44f8-adce-d4f3a0c036ed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[SHOPPING] java.lang.IllegalArgumentException: Please use the Builder and call setJsonFactory, setTransport and setClientSecrets

2017-01-23 Thread rafa . romero
I'm getting that error 

java.lang.IllegalArgumentException: Please use the Builder and call 
setJsonFactory, setTransport and setClientSecrets

trying to execute the following line:

credential.setRefreshToken(token.getRefreshToken())

It's very weird because the '*setRefreshToken*' method is waiting for a 
String and the '*token.getRefreshToken()' *is returning a String.

Credential class if form package: *com.google.api.client.auth.oauth2*, and 
'token' it's a custom object taht contains all the data related to Shopping 
access token and refresh token. The token object is arriving full of data 
(not null or with empty data)


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e101f447-76d1-4213-9192-4874f5f6828d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


401 Unauthorized trying to get the products in Merchant Center account

2017-01-23 Thread rafa . romero
I'm trying to get the products from a Merchan Center account but i'm 
getting a 401 Unauthorized error.

My code is:

ShoppingContent.Products.List productsList = content.products().list(
BigInteger.valueOf(merchantId)).setMaxResults(PAGE_SIZE);
ProductsListResponse page = productsList.execute();


And the error I'm getting is:

com.google.api.client.googleapis.json.GoogleJsonResponseException: 401 
Unauthorized
{
  "code" : 401,
  "errors" : [ {
"domain" : "global",
"location" : "Authorization",
"locationType" : "header",
"message" : "Login Required",
"reason" : "required"
  } ],
  "message" : "Login Required"
}

What could be the cause of the problem?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/075051cc-a221-45c8-bbb7-62aa9e34dc52%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to obtain the Google Shopping token to access to merchan data

2016-11-10 Thread rafa . romero
Hi,

we would like to know how is the process to obtain the Google Shopping 
token to access to merchan data.

Given this scenario:

*MCA - Account MCA*

   - Account A
   - Account B
   - ...


*Account X*

Given an *account A* (owner of the merchant data) from* Account MCA*, and 
other *account X* who is trying to access to accountA's merchand data, whom 
does the accountX has to ask to get the permission, the admin from MCA or 
the admin from any of the subaccounts (Account A for example)

Thank you!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/48490c8d-42f4-4da6-9c56-6c8f22b7c5b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


URL, path 1 and path2 validations in ExpandedAds

2016-10-19 Thread rafa . romero
Hi,

what are the guidelines to validate the URL, path1 and path2 in expanded 
Ads? Is it necessary to validate all the URL or just the domain (e.g. 
www.example.com).

What characters are not allowed? Is there any known regex to be used?

Thank you very much!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/796a200e-c8a8-48f1-822b-21d8e87dbc51%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Campaings and Extensions relations

2016-09-06 Thread rafa . romero
If I add more than one extension (no matters what kind of extension is) to 
a campaign, how Google Adwords choose one of these extensions will be shown?

Can I do anything to add priority to one of those extensions?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/27fc1434-a32d-4240-9110-9abe7348d5a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ImageError.LAYOUT_PROBLEM possible causes

2016-08-19 Thread rafa . romero
Hi,

i'm working with *Display Network* and i'm getting this error (
*ImageError.LAYOUT_PROBLEM*) when I try to upload the logo file to Google

AdWordsSession session = GetConnection.getSession(accountId as Long)
MediaServiceInterface mediaService = adWordsServices.get(session, 
MediaServiceInterface.class);

Image image = new Image();
image = (Image) mediaService.upload((Media[]) [image].toArray())[0];

After searching in the internet I discovered that the problem is caused 
because the image include much white space. In fact my logo had lot of 
white.

My question is if are there other any possible reasons that throw this 
error (*ImageError.LAYOUT_PROBLEM*) besides the "much white space", for 
example (I'm making it up) too much black space, or certain colors are not 
allowed

Thank you very much!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/82000625-1e20-49e8-a077-a59e5a2c540d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.