Hello

I fail to create a hotel campaign with bidding strategy Commission. It says 
it is incompatible with shared budget but it is not possible to remove the 
shared budget.
could you help to find what is wrong
we are using PHP client library V1_3

request with shared budget :

{"customerId":"9392767011","operations":[{"create":{"name":"GHA DE 
CPA","status":"PAUSED","advertisingChannelType":"HOTEL","networkSettings":{"targetGoogleSearch":true},"hotelSetting":{"hotelCenterId":"1299535854"},
*"commission":{"commissionRateMicros":"80000"*}}}]}

answer
Fault
-------
Status code: 3
Details: Request contains an invalid argument.
Failure: {"errors":[{"errorCode":{"fieldError":"REQUIRED"},"message":"*The 
required field was not present*
.","trigger":{"stringValue":""},"location":{"fieldPathElements":[{"fieldName":"operations","index":"0"},{"fieldName":"create"},{"fieldName":"
*campaign_budget*"}]}}]}  



request without shared budget

Request: {"customerId":"9392767011","operations":[{"create":{"name":"GHA DE 
CPA","status":"PAUSED","advertisingChannelType":"HOTEL","networkSettings":{"targetGoogleSearch":true},"hotelSetting":{"hotelCenterId":"1299535854"},"
*campaignBudget":"customers\/9392767011\/campaignBudgets\/2041086374*",
*"commission":{"commissionRateMicros":"80000"*}}}]}

response :
Fault
-------
Status code: 13
Details: Internal error encountered.
Failure: 
{"errors":[{"errorCode":{"internalError":"ERROR_CODE_NOT_PUBLISHED"},"message":"The
 
appropriate error code isn't part of the API 
yet.","trigger":{"stringValue":""},"location":{"fieldPathElements":[{"fieldName":"operations","index":"0"},{"fieldName":"create"},{"fieldName":"campaign_budget"}]},"details":{"unpublishedErrorCode":"BiddingErrors.
*BIDDING_STRATEGY_TYPE_INCOMPATIBLE_WITH_SHARED_BUDGET*"}}]}  

thanks

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/00a22697-1202-4062-bd10-8d5894ae582c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to