RE: Adding Hotel AdGroupCriterion without bidding value

2019-04-02 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hello Didier, The field negative is immutable, once it is set you cannot modify it via update operation. If you want to bid value you have to remove the criterion and add it with negative field to false. Please give it a try and let me know if you have any further questions. Regards, Sai Teja,

Re: Adding Hotel AdGroupCriterion without bidding value

2019-04-02 Thread Didier Roy
Hello Sai thank you for you answer. I can create an adgroup criterion with negative field to true and it appears as Excluded on the Google Ads Platform. This is good thank you. I am trying now to update the adgroup with a bid value and switching negative to false and I get the error : Google A

RE: Adding Hotel AdGroupCriterion without bidding value

2019-03-29 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hello Didier, You could use the AdGroupCriterionService.MutateAdGroupCriteria and set the negative field to true for the AdGroupCriterion

Re: Adding Hotel AdGroupCriterion without bidding value

2019-03-29 Thread Didier Roy
Hello Sai thank you for this. I still have a question about API. How can we set the bid value of a hotel group to "Exclude" with the API ? thanks Didier ROY -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~

RE: Adding Hotel AdGroupCriterion without bidding value

2019-03-28 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hello Didier, Glad you were able to solve it. Your second question is on the product level. It will be better to ask this question in the Advertisers community forum instead. The product specialists there would be better equ

Re: Adding Hotel AdGroupCriterion without bidding value

2019-03-28 Thread Didier Roy
Hello I have found the answer for question 1 : I use function $adGroupCriterion->setCpcBidMicros(new Int64Value(['value' => $bid*1])); there is still pending question - When hotel group level bidding is disabled ("exclude" on Google Ads dash) for a hotel selection. Is the Adgroup biddin

Re: Adding Hotel AdGroupCriterion without bidding value

2019-03-28 Thread Didier Roy
Hello Sai > > thank you for your answar I understand that PercentCpcBidMicros is mandatory when using PercentCpc bidding strategy. - What to do if the campaign is on Manual CPC? - When hotel group level bidding is disabled for a hotel selection. Is the Adgroup bidding value taken into account in

RE: Adding Hotel AdGroupCriterion without bidding value

2019-03-27 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hello Didier, The field PercentCpcBidMicros is a required field when you use PercentCpc bidding strategy and should be set while creating the listing groups. You could refer the code sample mentioned here